OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-2).
FORMULA
a(n) = 31*2^n + 1.
From G. C. Greubel, Jan 05 2023: (Start)
a(n) = 31*A000079(n) + 1.
a(n) = A257548(n) + 1, for n > 5.
G.f.: (32-33*x)/((1-x)*(1-2*x)).
E.g.f.: exp(x) + 31*exp(2*x). (End)
MATHEMATICA
1+31*2^Range[0, 50] (* G. C. Greubel, Jan 05 2023 *)
PROG
(Magma) [31*2^n +1 : n in [0..35]];
(PARI) a(n)=31<<n + 1 \\ Charles R Greathouse IV, Jun 01 2015
(SageMath) [1+31*2^n for n in range(51)] # G. C. Greubel, Jan 05 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Brad Clardy, Feb 07 2012
STATUS
approved