OFFSET
0,3
FORMULA
Equals 10*A021053-1/5 . [From R. J. Mathar, Oct 25 2008]
From Chai Wah Wu, Jul 13 2016: (Start)
a(n) = a(n-1) - a(n-21) + a(n-22) for n > 22.
G.f.: x^2*(-2*x^20 + 2*x^19 - x^18 - 4*x^17 - 2*x^15 - x^13 + 5*x^12 - 6*x^11 + 3*x^10 + 2*x^9 + x^8 - 4*x^7 + x^6 + 3*x^5 - 5*x^4 + 7*x^3 - 8*x^2 + 4*x - 4)/(x^22 - x^21 + x - 1). (End)
MATHEMATICA
PadLeft[First@ #, Length@ First@ # + Abs@ Last@ #] &@ RealDigits[N[1/245, 120]] (* Michael De Vlieger, Jul 13 2016 *)
PROG
(PARI) 1/245. \\ Altug Alkan, Jul 13 2016
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
STATUS
approved