[go: up one dir, main page]

login
A010536
Decimal expansion of square root of 85.
7
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,1
COMMENTS
Continued fraction expansion is 9 followed by {4, 1, 1, 4, 18} repeated. - Harry J. Smith, Jun 10 2009
EXAMPLE
9.219544457292887310002274281762793157246805048722464008007752205442671....
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 *)
PROG
(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
CROSSREFS
Cf. A010158 (continued fraction). - Harry J. Smith, Jun 10 2009
Sequence in context: A197488 A197757 A293258 * A239908 A293171 A334689
KEYWORD
nonn,cons
STATUS
approved