login
A206371
a(n) = 31*2^n + 1.
4
32, 63, 125, 249, 497, 993, 1985, 3969, 7937, 15873, 31745, 63489, 126977, 253953, 507905, 1015809, 2031617, 4063233, 8126465, 16252929, 32505857, 65011713, 130023425, 260046849, 520093697, 1040187393, 2080374785, 4160749569, 8321499137, 16642998273
OFFSET
0,1
FORMULA
a(n) = 31*2^n + 1.
a(n) = A198275(n) + 2*A083686(n).
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