|
|
A317324
|
|
Multiples of 24 and odd numbers interleaved.
|
|
4
|
|
|
0, 1, 24, 3, 48, 5, 72, 7, 96, 9, 120, 11, 144, 13, 168, 15, 192, 17, 216, 19, 240, 21, 264, 23, 288, 25, 312, 27, 336, 29, 360, 31, 384, 33, 408, 35, 432, 37, 456, 39, 480, 41, 504, 43, 528, 45, 552, 47, 576, 49, 600, 51, 624, 53, 648, 55, 672, 57, 696, 59, 720, 61, 744, 63, 768, 65, 792, 67, 816, 69
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Partial sums give the generalized 28-gonal numbers (A303812).
a(n) is also the length of the n-th line segment of the rectangular spiral whose vertices are the generalized 28-gonal numbers.
|
|
LINKS
|
|
|
FORMULA
|
a(2n) = 24*n, a(2n+1) = 2*n + 1.
a(n) = 2*a(n-2) - a(n-4) for n>3. - Colin Barker, Jul 29 2018
Multiplicative with a(2^e) = 3*2^(e+2), and a(p^e) = p^e for an odd prime p. - Amiram Eldar, Oct 14 2023
Dirichlet g.f.: zeta(s-1) * (1 + 11*2^(1-s)). - Amiram Eldar, Oct 26 2023
|
|
MATHEMATICA
|
With[{nn=40}, Riffle[24*Range[0, nn], 2*Range[0, nn]+1]] (* or *) LinearRecurrence[ {0, 2, 0, -1}, {0, 1, 24, 3}, 80] (* Harvey P. Dale, Jul 06 2019 *)
|
|
PROG
|
(PARI) concat(0, Vec(x*(1 + 24*x + x^2) / ((1 - x)^2*(1 + x)^2) + O(x^60))) \\ Colin Barker, Jul 29 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,mult
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|