A206371 a(n) = 31*2^n + 1.
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
Links
- G. C. Greubel, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (3,-2).
Programs
-
Magma
[31*2^n +1 : n in [0..35]];
-
Mathematica
1+31*2^Range[0,50] (* G. C. Greubel, Jan 05 2023 *)
-
PARI
a(n)=31<
Charles R Greathouse IV, Jun 01 2015 -
SageMath
[1+31*2^n for n in range(51)] # G. C. Greubel, Jan 05 2023
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)