OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..150
Amelia Carolina Sparavigna, Some Groupoids and their Representations by Means of Integer Sequences, International Journal of Sciences (2019) Vol. 8, No. 10.
Index entries for linear recurrences with constant coefficients, signature (7,-6).
FORMULA
a(n) = 6*a(n-1) - 5.
a(n) = A000400(n) + 1.
a(n) = 7*a(n-1) - 6*a(n-2).
From Mohammad K. Azarian, Jan 02 2009: (Start)
G.f.: 1/(1-x) + 1/(1-6*x).
E.g.f.: exp(x) + exp(6*x). (End)
MATHEMATICA
6^Range[0, 30] +1
LinearRecurrence[{7, -6}, {2, 7}, 30] (* Harvey P. Dale, Aug 11 2015 *)
PROG
(Magma) [6^n + 1: n in [0..30] ]; // Vincenzo Librandi, Apr 30 2011
(PARI) vector(20, n, n--; 6^n + 1) \\ Michel Marcus, Jun 11 2015
(SageMath) [6^n+1 for n in range(31)] # G. C. Greubel, Mar 11 2023
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Henry Bottomley, Jun 22 2001
STATUS
approved