OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,-1,1).
FORMULA
From Chai Wah Wu, Apr 18 2024: (Start)
a(n) = a(n-1) - a(n-3) + a(n-4) for n > 5.
G.f.: x^2*(-5*x^3 - 2*x^2 + x - 3)/(x^4 - x^3 + x - 1). (End)
EXAMPLE
0.00324675324675324...
MATHEMATICA
Join[{0, 0}, RealDigits[1/308, 10, 120][[1]]] (* or *) PadRight[{0, 0}, 120, {7, 5, 3, 2, 4, 6}] (* Harvey P. Dale, Mar 22 2016 *)
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved