login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A021508
Decimal expansion of 1/504.
0
0, 0, 1, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6, 9, 8, 4, 1, 2, 6
OFFSET
0,4
FORMULA
From Chai Wah Wu, Aug 10 2020: (Start)
a(n) = 2*a(n-1) - 2*a(n-2) + a(n-3) for n > 5.
G.f.: x^2*(-5*x^3 + 8*x^2 - 7*x - 1)/((x - 1)*(x^2 - x + 1)). (End)
CROSSREFS
Sequence in context: A086306 A094139 A330380 * A346931 A199862 A019720
KEYWORD
nonn,cons
AUTHOR
STATUS
approved