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!)
A329404 Interleave 2*n*(3*n-1), (2*n+1)*(6*n+1) for n >= 0. 1
0, 1, 4, 21, 20, 65, 48, 133, 88, 225, 140, 341, 204, 481, 280, 645, 368, 833, 468, 1045, 580, 1281, 704, 1541, 840, 1825, 988, 2133, 1148, 2465, 1320, 2821, 1504, 3201, 1700, 3605, 1908, 4033, 2128, 4485, 2360, 4961 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
a(n) + a(n+3) = 21, 21, 69, 69, 153, 153, ...
Hexagonal spiral for A026741:
.
33--17--35--18
/
16 8--17---9--19
/ / \
31 15 5---3---7 10
/ / / \ \
15 7 2 0===1===4==21==>
\ \ \ / / /
29 13 3---1 9 11
\ \ / /
14 6--11---5 23
\ /
27--13--25--12
.
a(n) is the horizontal sequence from 0.
LINKS
FORMULA
a(n) = n * A165355(n-1).
From Colin Barker, Nov 13 2019: (Start)
G.f.: x*(1 + 4*x + 18*x^2 + 8*x^3 + 5*x^4) / ((1 - x)^3*(1 + x)^3).
a(n) = 3*a(n-2) - 3*a(n-4) + a(n-6) for n > 5.
a(n) = (1/4)*(-1)*((-3 + (-1)^n)*n*(-2+3*n)).
(End)
MATHEMATICA
LinearRecurrence[{0, 3, 0, -3, 0, 1}, {0, 1, 4, 21, 20, 65}, 100] (* Paolo Xausa, Nov 13 2023 *)
PROG
(PARI) concat(0, Vec(x*(1 + 4*x + 18*x^2 + 8*x^3 + 5*x^4) / ((1 - x)^3*(1 + x)^3) + O(x^45))) \\ Colin Barker, Nov 13 2019
CROSSREFS
Sequence in context: A144292 A338421 A365101 * A370979 A076943 A138228
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Nov 13 2019
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 June 9 18:06 EDT 2024. Contains 373248 sequences. (Running on oeis4.)