|
|
A153794
|
|
4 times octagonal numbers: a(n) = 4*n*(3*n-2).
|
|
3
|
|
|
0, 4, 32, 84, 160, 260, 384, 532, 704, 900, 1120, 1364, 1632, 1924, 2240, 2580, 2944, 3332, 3744, 4180, 4640, 5124, 5632, 6164, 6720, 7300, 7904, 8532, 9184, 9860, 10560, 11284, 12032, 12804, 13600, 14420, 15264, 16132, 17024
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Sequence found by reading the segment (0, 4) together with the line from 4, in the direction 4, 32, ..., in the square spiral whose vertices are the generalized octagonal numbers A001082. - Omar E. Pol, Jul 18 2012
|
|
LINKS
|
|
|
FORMULA
|
a(0)=0, a(1)=4, a(2)=32, a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Harvey P. Dale, Jul 14 2011
|
|
MATHEMATICA
|
Table[4n(3n-2), {n, 0, 40}] (* or *) LinearRecurrence[{3, -3, 1}, {0, 4, 32}, 41] (* Harvey P. Dale, Jul 14 2011 *)
|
|
PROG
|
(PARI) a(n) = 12*n^2 - 8*n; \\ Altug Alkan, Aug 29 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|