cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A021420 Decimal expansion of 1/416.

Original entry on oeis.org

0, 0, 2, 4, 0, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6, 1, 5, 3, 8, 4, 6
Offset: 0

Views

Author

Keywords

Comments

Period 6: after 0.00240, 384615 repeats endlessly. - Alonso del Arte, Apr 26 2018

Examples

			0.002403846153846153846153846...
		

Crossrefs

Cf. A021212 (1/208).

Programs

  • Mathematica
    Join[{0, 0}, RealDigits[1/416,10, 104][[1]]] (* Alonso del Arte, Apr 26 2018 *)
    PadRight[{0,0,2,4,0},120,{8,4,6,1,5,3}] (* Harvey P. Dale, May 25 2018 *)

Formula

From Chai Wah Wu, Sep 04 2025: (Start)
a(n) = a(n-1) - a(n-3) + a(n-4) for n > 8.
G.f.: x^2*(-5*x^6 + 8*x^5 - 7*x^4 - 5*x^3 + 4*x^2 - 2*x - 2)/(x^4 - x^3 + x - 1). (End)