OFFSET
0,2
COMMENTS
a(n)^3 is palindromic in base 7 (1_7, 1331_7, 1030301_7, 1003003001_7, ...).
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Patrick De Geest, World!Of Numbers
Index entries for linear recurrences with constant coefficients, signature (8,-7).
FORMULA
G.f.: (1-7*x^2)/((1-x)*(1-7*x)).
a(n) = Sum_{k=0..n} binomial(n, k)*0^(k(n-k))*7^k.
a(n) = A034491(n), n > 0. - R. J. Mathar, Aug 28 2008
a(n) = 7*a(n-1) - 6, with a(1)=8. - Vincenzo Librandi, Dec 29 2010
E.g.f.: -1 + exp(x) + exp(7*x). - G. C. Greubel, Jun 22 2021
MATHEMATICA
Table[7^n +1 -Boole[n==0], {n, 0, 30}] (* G. C. Greubel, Jun 22 2021 *)
PROG
(Magma) [1] cat [7^n + 1: n in [1..30]]; // G. C. Greubel, Jun 22 2021
(Sage) [1]+[7^n + 1 for n in (1..30)] # G. C. Greubel, Jun 22 2021
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Feb 07 2005
STATUS
approved