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!)
A191467 9^n - 7^n. 2
0, 2, 32, 386, 4160, 42242, 413792, 3959426, 37281920, 347066882, 3204309152, 29403732866, 268588249280, 2444976817922, 22198569382112, 201143570584706, 1819787258282240, 16444551185679362, 148466221699088672, 1339452822487618946 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = 16*a(n-1) - 63*a(n-2).
G.f.: 2*x/((1-7*x)*(1-9*x)). - Vincenzo Librandi, Oct 05 2014
a(n+1) = 2*A016178(n). - Vincenzo Librandi, Oct 05 2014
MATHEMATICA
Table[9^n-7^n, {n, 0, 20}] (* or *) LinearRecurrence[{16, -63}, {0, 2}, 20] (* Harvey P. Dale, Jun 21 2014 *)
CoefficientList[Series[2 x/((1 - 7 x) (1 - 9 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 05 2014 *)
PROG
(Magma) [9^n - 7^n: n in [0..20]]:
(PARI) a(n)=9^n-7^n \\ Charles R Greathouse IV, Jun 08 2011
CROSSREFS
Sequence in context: A270445 A199019 A127697 * A370828 A282881 A230567
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jun 03 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.)