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.

A010541 Decimal expansion of square root of 90.

Original entry on oeis.org

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

Views

Author

Keywords

Comments

Continued fraction expansion is 9 followed by {2, 18} repeated. - Harry J. Smith, Jun 11 2009

Examples

			9.486832980505137995996680633298155601158665417975650480572514558377783...
		

Crossrefs

Cf. A040080 (continued fraction).

Programs

  • Mathematica
    RealDigits[N[90^(1/2),200]][[1]] (* Vladimir Joseph Stephan Orlovsky, Jan 23 2012 *)
    RealDigits[Sqrt[90],10,120][[1]] (* Harvey P. Dale, Jan 10 2025 *)
  • PARI
    { default(realprecision, 20080); x=sqrt(90); for (n=1, 20000, d=floor(x); x=(x-d)*10; write("b010541.txt", n, " ", d)); } \\ Harry J. Smith, Jun 11 2009
    
  • Python
    from math import isqrt
    def aupton(nn): return list(map(int, str(isqrt(90 * 10**(2*nn)))))[:nn]
    print(aupton(100)) # Michael S. Branicky, Sep 04 2021