login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A198965 7*9^n-1. 1
6, 62, 566, 5102, 45926, 413342, 3720086, 33480782, 301327046, 2711943422, 24407490806, 219667417262, 1977006755366, 17793060798302, 160137547184726, 1441237924662542, 12971141321962886, 116740271897665982, 1050662447078993846 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = 9*a(n-1)+8.
a(n) = 10*a(n-1)-9*a(n-2), n>1.
G.f.: 2*(3 + x)/(1 - 10*x + 9*x^2). - Vincenzo Librandi, Jan 03 2013
MATHEMATICA
CoefficientList[Series[2 (3 + x)/(1 - 10 x + 9 x^2), {x, 0, 30}], x] (* Vincenzo Librandi, Jan 03 2013 *)
NestList[9#+8&, 6, 20] (* or *) LinearRecurrence[{10, -9}, {6, 62}, 20] (* Harvey P. Dale, Feb 26 2015 *)
PROG
(Magma) [7*9^n-1: n in [0..20]];
CROSSREFS
Sequence in context: A272956 A243643 A200803 * A342959 A144063 A186670
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 01 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)