|
|
A178672
|
|
a(n) = 6^n - 6.
|
|
1
|
|
|
0, 30, 210, 1290, 7770, 46650, 279930, 1679610, 10077690, 60466170, 362797050, 2176782330, 13060694010, 78364164090, 470184984570, 2821109907450, 16926659444730, 101559956668410, 609359740010490, 3656158440062970, 21936950640377850, 131621703842267130
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 6*a(n-1) + 30, n>1.
G.f.: 30*x^2 / ( (1-6*x)*(1-x) ). (End)
|
|
MATHEMATICA
|
LinearRecurrence[{7, -6}, {0, 30}, 30] (* Harvey P. Dale, Jul 25 2020 *)
|
|
PROG
|
(Magma) [6^n-6: n in [1..30]]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|