[go: up one dir, main page]

login
A155651
8^n-6^n+1^n
19
1, 3, 29, 297, 2801, 24993, 215489, 1817217, 15097601, 124140033, 1013275649, 8227137537, 66542694401, 536695119873, 4319682347009, 34714187104257, 278653866803201, 2234873154240513, 17912838552813569, 143505828335845377
OFFSET
0,2
FORMULA
G.f.: 1/(1-8*x)-1/(1-6*x)+1/(1-x). E.g.f.: e^(8*x)-e^(6*x)+e^x.
a(n)=14*a(n-1)-48*a(n-2)+35 with a(0)=1, a(1)=3 - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[8^n-6^n+1, {n, 0, 20}] (* or *) LinearRecurrence[{15, -62, 48}, {1, 3, 29}, 20] (* Harvey P. Dale, Jul 12 2020 *)
PROG
(PARI) a(n)=8^n-6^n+1 \\ Charles R Greathouse IV, Jun 11 2015
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 31 2009
STATUS
approved