login
A199492
11*7^n+1.
1
12, 78, 540, 3774, 26412, 184878, 1294140, 9058974, 63412812, 443889678, 3107227740, 21750594174, 152254159212, 1065779114478, 7460453801340, 52223176609374, 365562236265612, 2558935653859278, 17912549577014940
OFFSET
0,1
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
Sequence in context: A321949 A227707 A189493 * A200055 A230520 A030116
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 07 2011
STATUS
approved