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.

A010536 Decimal expansion of square root of 85.

Original entry on oeis.org

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

Views

Author

Keywords

Comments

Continued fraction expansion is 9 followed by {4, 1, 1, 4, 18} repeated. - Harry J. Smith, Jun 10 2009

Examples

			9.219544457292887310002274281762793157246805048722464008007752205442671....
		

Crossrefs

Cf. A010158 (continued fraction). - Harry J. Smith, Jun 10 2009

Programs

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