A199483 6*7^n+1.
7, 43, 295, 2059, 14407, 100843, 705895, 4941259, 34588807, 242121643, 1694851495, 11863960459, 83047723207, 581334062443, 4069338437095, 28485369059659, 199397583417607, 1395783083923243, 9770481587462695, 68393371112238859
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
[6*7^n+1: n in [0..30]];
-
Mathematica
LinearRecurrence[{8,-7},{7,43},30] (* or *) NestList[7#-6&,7,30] (* Harvey P. Dale, Apr 13 2015 *)
Formula
a(n) = 7*a(n-1)-6.
a(n) = 8*a(n-1)-7*a(n-2).
G.f.: (7-13*x)/((1-x)*(1-7*x)).