|
|
A164016
|
|
6 times centered hexagonal numbers: 18*n*(n+1) + 6.
|
|
3
|
|
|
6, 42, 114, 222, 366, 546, 762, 1014, 1302, 1626, 1986, 2382, 2814, 3282, 3786, 4326, 4902, 5514, 6162, 6846, 7566, 8322, 9114, 9942, 10806, 11706, 12642, 13614, 14622, 15666, 16746, 17862, 19014, 20202, 21426, 22686, 23982, 25314
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 3*a(n-1)-3*a(n-2)+a(n-3) with a(0)=6, a(1)=42, a(2)=114. - Harvey P. Dale, Dec 16 2012
G.f.: 6*(1 + 4*x + x^2)/(1 - x)^3.
E.g.f.: 6*(1 + 6*x + 3*x^2)*exp(x). (End)
|
|
MATHEMATICA
|
Table[18n(n+1)+6, {n, 0, 40}] (* or *) LinearRecurrence[{3, -3, 1}, {6, 42, 114}, 40] (* Harvey P. Dale, Dec 16 2012 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|