|
|
|
|
12, 78, 540, 3774, 26412, 184878, 1294140, 9058974, 63412812, 443889678, 3107227740, 21750594174, 152254159212, 1065779114478, 7460453801340, 52223176609374, 365562236265612, 2558935653859278, 17912549577014940
(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*(2-3*x)/((1-x)*(1-7*x)).
|
|
MATHEMATICA
|
11*7^Range[0, 20]+1 (* or *) LinearRecurrence[{8, -7}, {12, 78}, 20] (* Harvey P. Dale, Oct 11 2023 *)
|
|
PROG
|
(Magma) [11*7^n+1: n in [0..30]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|