OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (1, 0, -1, 1).
FORMULA
From Chai Wah Wu, Oct 03 2016: (Start)
a(n) = a(n-1) - a(n-3) + a(n-4) for n > 5.
G.f.: x^2*(2 + 5*x - 3*x^2 + 5*x^3)/(1 - x + x^3 - x^4). (End)
MATHEMATICA
ConstantArray[0, Abs@ Length@ #]~Join~First@ # &@ RealDigits[N[1/364, 120]] (* Michael De Vlieger, Oct 03 2016 *)
Join[{0, 0}, RealDigits[1/364, 10, 120][[1]]] (* or *) PadRight[{0, 0}, 120, {2, 5, 2, 7, 4, 7}] (* Harvey P. Dale, Apr 20 2018 *)
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
STATUS
approved