[go: up one dir, main page]

login
A155655
a(n) = 8^n + 7^n - 1^n.
20
1, 14, 112, 854, 6496, 49574, 379792, 2920694, 22542016, 174571334, 1356217072, 10567261334, 82560763936, 646644824294, 5076269583952, 39931933598774, 314707907280256, 2484430327672454, 19642812107392432, 155514083261229014
OFFSET
0,2
FORMULA
G.f.: 1/(1-8*x)+1/(1-7*x)-1/(1-x).
E.g.f.: e^(8*x)+e^(7*x)-e^x.
a(n) = 15*a(n-1)-56*a(n-2)-42 with a(0)=1, a(1)=14. - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[8^n + 7^n - 1, {n, 0, 25}] (* Paolo Xausa, Jul 26 2024 *)
PROG
(PARI) a(n)=8^n+7^n-1 \\ Charles R Greathouse IV, Jun 11 2015
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 31 2009
STATUS
approved