|
|
A164285
|
|
a(n) = 7*2^n + 3.
|
|
3
|
|
|
10, 17, 31, 59, 115, 227, 451, 899, 1795, 3587, 7171, 14339, 28675, 57347, 114691, 229379, 458755, 917507, 1835011, 3670019, 7340035, 14680067, 29360131, 58720259, 117440515, 234881027, 469762051, 939524099, 1879048195, 3758096387
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
Contains the primes 17, 31, 59, 227, 57347, 114691, 14680067, 7516192771,..
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 2*a(n-1) - 3.
a(n) = 3*a(n-1) - 2*a(n-2).
G.f.: (10-13*x)/((2*x-1)*(x-1)).
|
|
EXAMPLE
|
At n=0, a(0)=7*2^0+3=10. At n=1, a(1)=7*2^1+3=17.
|
|
MATHEMATICA
|
CoefficientList[Series[(10 - 13 x) / ((2 x - 1) (x - 1)), {x, 0, 40}], x] (* Vincenzo Librandi, Sep 12 2013 *)
LinearRecurrence[{3, -2}, {10, 17}, 40] (* Harvey P. Dale, Aug 29 2017 *)
|
|
PROG
|
(PARI) x='x+O('x^50); Vec((10-13*x)/((2*x-1)*(x-1))) \\ G. C. Greubel, Sep 12 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|