Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A109043
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A109043 LCM(n,2). +0
4
0, 2, 2, 6, 4, 10, 6, 14, 8, 18, 10, 22, 12, 26, 14, 30, 16, 34, 18, 38, 20, 42, 22, 46, 24, 50, 26, 54, 28, 58, 30, 62, 32, 66, 34, 70, 36, 74, 38, 78, 40, 82, 42, 86, 44, 90, 46, 94, 48, 98, 50, 102, 52, 106, 54, 110, 56, 114, 58, 118, 60, 122, 62, 126, 64, 130, 66, 134 (list; graph; listen)
OFFSET

0,2

FORMULA

a(n) = n*2/GCD(n, 2).

a(n)=-(n*((-1)^n-3))/2 - Stephen Crowley (crow(AT)crowlogic.net), Feb 11 2007

a(n)=A066043(n), n>1. a(n)=2*A026741(n). O.g.f.: 2x(1+x+x^2)/((1-x)^2*(1+x)^2). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 20 2008]

MAPLE

a:=n->add(2+add((-1)^j, j=1..n), j=2..n):seq(a(n), n=1..69); # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Dec 13 2008]

PROGRAM

(Other) sage: [lcm(n, 2)for n in xrange(0, 68)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jun 07 2009]

CROSSREFS

Cf. A109042.

Sequence in context: A061108 A053213 A140524 this_sequence A054585 A046203 A100495

Adjacent sequences: A109040 A109041 A109042 this_sequence A109044 A109045 A109046

KEYWORD

nonn,easy

AUTHOR

Mitch Harris (Harris.Mitchell(AT)mgh.harvard.edu), Jun 18 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research