login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A198858
a(n) = 11*8^n-1.
1
10, 87, 703, 5631, 45055, 360447, 2883583, 23068671, 184549375, 1476395007, 11811160063, 94489280511, 755914244095, 6047313952767, 48378511622143, 387028092977151, 3096224743817215, 24769797950537727, 198158383604301823
OFFSET
0,1
FORMULA
a(n) = 8*a(n-1)+7. a(n) = 9*a(n-1)-8*a(n-2), n>1.
G.f.: ( 10-3*x ) / ( (8*x-1)*(x-1) ). - R. J. Mathar, Oct 31 2011
MAPLE
A198858:=n->11*8^n-1: seq(A198858(n), n=0..30); # Wesley Ivan Hurt, Jan 22 2017
MATHEMATICA
11*8^Range[0, 20]-1 (* or *) LinearRecurrence[{9, -8}, {10, 87}, 20] (* Harvey P. Dale, May 19 2021 *)
PROG
(Magma) [11*8^n-1: n in [0..30]]
(PARI) a(n)=11*8^n-1 \\ Charles R Greathouse IV, Jan 23 2017
CROSSREFS
Sequence in context: A264174 A218894 A251193 * A331793 A121115 A292998
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 31 2011
STATUS
approved