OFFSET
0,1
COMMENTS
Sequence agrees with A010919 for n <= 35 only.
a(36) = 6665569973023362368 and A010919(36) = 6665569973023362367. - Zhuorui He, Nov 08 2025
LINKS
Zhuorui He, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,1,-1,0,-1).
FORMULA
G.f.: (4+x-x^2-x^4)/(1-3*x-x^2+x^3+x^5). - R. J. Mathar, Oct 25 2008
MATHEMATICA
LinearRecurrence[{3, 1, -1, 0, -1}, {4, 13, 42, 135, 433}, 30] (* Paolo Xausa, May 29 2026 *)
PROG
(PARI) a(n)=([0, 1, 0, 0, 0; 0, 0, 1, 0, 0; 0, 0, 0, 1, 0; 0, 0, 0, 0, 1; -1, 0, -1, 1, 3]^n*[4; 13; 42; 135; 433])[1, 1] \\ Charles R Greathouse IV, May 29 2026
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
EXTENSIONS
More terms from Zhuorui He, Nov 08 2025
STATUS
approved
