login
A003539
a(0) = 587, a(n) = 3*a(n-1) + 16 for n > 0 (the first 11 terms are primes).
0
587, 1777, 5347, 16057, 48187, 144577, 433747, 1301257, 3903787, 11711377, 35134147, 105402457, 316207387, 948622177, 2845866547, 8537599657, 25612798987, 76838396977, 230515190947, 691545572857, 2074636718587, 6223910155777, 18671730467347, 56015191402057
OFFSET
0,1
REFERENCES
David Wells, The Penguin Dictionary of Curious and Interesting Numbers, Penguin Books, NY, 1986. Entry 587.
FORMULA
From Stefano Spezia, Sep 15 2024: (Start)
a(n) = 4*a(n-1) - 3*a(n-2) for n > 1.
a(n) = 595*3^n - 8.
G.f.: (587 - 571*x)/((1 - x)*(1 - 3*x)).
E.g.f.: exp(x)*(595*exp(2*x) - 8). (End)
MATHEMATICA
NestList[3#+16 &, 587, 23] (* Stefano Spezia, Sep 15 2024 *)
CROSSREFS
Cf. A000244.
Sequence in context: A343829 A142836 A093229 * A064209 A113509 A252387
KEYWORD
nonn,easy
STATUS
approved