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.

A021444 Decimal expansion of 1/440.

Original entry on oeis.org

0, 0, 2, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7, 2, 7
Offset: 0

Views

Author

Keywords

Examples

			0.002272727272727272727272727272727272727272727272727...
		

Crossrefs

Cf. A010697.

Programs

  • Mathematica
    First[RealDigits[1/440, 10, 100, -1]] (* or *)
    PadRight[{0, 0, 2}, 100, {7, 2}] (* Paolo Xausa, Aug 14 2025 *)
  • PARI
    1/440. \\ Charles R Greathouse IV, Jul 13 2016
    
  • Scheme
    (define (A021444 n) (cond ((<= n 1) 0) ((= 2 n) n) ((even? n) 7) (else 2))) ;; Antti Karttunen, Sep 14 2017