|
|
|
|
2, 20, 218, 2396, 26354, 289892, 3188810, 35076908, 385845986, 4244305844, 46687364282, 513561007100, 5649171078098, 62140881859076, 683549700449834, 7519046704948172, 82709513754429890, 909804651298728788, 10007851164286016666
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 11*a(n-1)-2.
a(n) = 12*a(n-1)-11*a(n-2).
G.f.: 2*(1-2*x)/((1-x)*(1-11*x)).
|
|
MATHEMATICA
|
(9*11^Range[0, 20]+1)/5 (* or *) LinearRecurrence[{12, -11}, {2, 20}, 20] (* Harvey P. Dale, Mar 13 2024 *)
|
|
PROG
|
(Magma) [(9*11^n+1)/5: n in [0..30]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|