OFFSET
0,1
COMMENTS
The subsequence of primes begins: 71, 294911, 18874367, 83010348331692982271, no more through a(30). - Jonathan Vos Post, Oct 31 2011
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (9,-8).
FORMULA
a(n) = 8*a(n-1) + 7.
a(n) = 9*a(n-1) - 8*a(n-2), n>1.
G.f.: (8-x)/((1-x)*(1-8*x)). - Vincenzo Librandi, Oct 04 2014
E.g.f.: exp(x)*(9*exp(7*x) - 1). - Elmo R. Oliveira, Aug 10 2024
MATHEMATICA
CoefficientList[Series[(8 - x)/((1-x) (1 - 8 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 04 2014 *)
LinearRecurrence[{9, -8}, {8, 71}, 20] (* Harvey P. Dale, Aug 26 2020 *)
PROG
(Magma) [9*8^n-1: n in [0..30]];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 31 2011
STATUS
approved