OFFSET
0,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Paul Bourgarel, Journal de mathématiques élémentaires, (1884), p. 111.
Antreas Hatzipolakis, A sequence, mail to the SeqFan list / google group, Jan. 31, 2025.
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = A102724(n+1) for 1 <= n <= 7, where A102724 = partial sums of A001043(n) = prime(n)+prime(n+1).
From Vincenzo Librandi, Feb 06 2025: (Start)
a(n) = 2* a(n-1) - a(n-2) + 6.
G.f.: (7-8x+7x^2)/ (1-3x+3x^2-x^3). (End)
E.g.f.: exp(x)*(7 + 6*x + 3*x^2). - Stefano Spezia, Feb 06 2025
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {7, 13, 25 }, 58] (* James C. McMahon, Feb 08 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Feb 04 2025
STATUS
approved
