A198690 9*7^n-1.
8, 62, 440, 3086, 21608, 151262, 1058840, 7411886, 51883208, 363182462, 2542277240, 17795940686, 124571584808, 872001093662, 6104007655640, 42728053589486, 299096375126408, 2093674625884862, 14655722381194040, 102590056668358286
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (8,-7).
Programs
-
Magma
[9*7^n-1: n in [0..30]]
-
Mathematica
9*7^Range[0,30]-1 (* or *) LinearRecurrence[{8,-7},{8,62},30] (* Harvey P. Dale, Apr 22 2019 *)
Formula
a(n) = 7*a(n-1)+6. a(n) = 8*a(n-1)-7*a(n-2), n>1.
G.f. ( 8-2*x ) / ( (7*x-1)*(x-1) ). - R. J. Mathar, Oct 30 2011