The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A195033 Multiples of 21 and of 20 interleaved: a(2n-1) = 21n, a(2n) = 20n. 7
21, 20, 42, 40, 63, 60, 84, 80, 105, 100, 126, 120, 147, 140, 168, 160, 189, 180, 210, 200, 231, 220, 252, 240, 273, 260, 294, 280, 315, 300, 336, 320, 357, 340, 378, 360, 399, 380, 420, 400, 441, 420, 462, 440, 483, 460, 504, 480, 525, 500, 546, 520, 567, 540 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
First differences of A195034.
a(n) is also the length of the n-th edge of a square spiral in which the first two edges are the legs of the primitive Pythagorean triple [21, 20, 29]. Zero together with partial sums give A195034, the vertices of the spiral.
LINKS
Eric Weisstein's World of Mathematics, Pythagorean Triple
FORMULA
From Bruno Berselli, Sep 29 2011: (Start)
G.f.: x*(21+20*x)/((1-x)^2*(1+x)^2).
a(n) = A010693(n)*A010718(n)*A029578(n+1) = (41*n-(n+21)*(-1)^n+21)/4.
a(n) = 2*a(n-2) - a(n-4). (End)
MATHEMATICA
Riffle[21*#, 20*#] & [Range[50]] (* Paolo Xausa, Mar 21 2024 *)
PROG
(Magma) &cat[[21*n, 20*n]: n in [1..27]]; // Bruno Berselli, Sep 29 2011
(PARI) a(n)=(n+1)\2*if(n%2, 21, 20) \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
Sequence in context: A022977 A023463 A004462 * A267147 A154352 A291433
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Sep 12 2011
EXTENSIONS
More terms from Bruno Berselli, Sep 29 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 18 19:35 EDT 2024. Contains 372665 sequences. (Running on oeis4.)