|
|
|
|
6, 36, 246, 1716, 12006, 84036, 588246, 4117716, 28824006, 201768036, 1412376246, 9886633716, 69206436006, 484445052036, 3391115364246, 23737807549716, 166164652848006, 1163152569936036, 8142067989552246, 56994475926865716
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 7*a(n-1)-6.
a(n) = 8*a(n-1)-7*a(n-2).
G.f.: 6*(1-2*x)/((1-x)*(1-7*x)).
|
|
MATHEMATICA
|
5*7^Range[0, 20]+1 (* or *) LinearRecurrence[{8, -7}, {6, 36}, 20] (* Harvey P. Dale, Dec 23 2012 *)
|
|
PROG
|
(Magma) [5*7^n+1: n in [0..30]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|