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.

This page as a plain text file.
%I A010541 #33 Feb 11 2025 10:02:22
%S A010541 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,
%T A010541 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,
%U A010541 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
%N A010541 Decimal expansion of square root of 90.
%C A010541 Continued fraction expansion is 9 followed by {2, 18} repeated. - _Harry J. Smith_, Jun 11 2009
%H A010541 Harry J. Smith, <a href="/A010541/b010541.txt">Table of n, a(n) for n = 1..20000</a>
%H A010541 <a href="/index/Al#algebraic_02">Index entries for algebraic numbers, degree 2</a>.
%e A010541 9.486832980505137995996680633298155601158665417975650480572514558377783...
%t A010541 RealDigits[N[90^(1/2),200]][[1]] (* _Vladimir Joseph Stephan Orlovsky_, Jan 23 2012 *)
%t A010541 RealDigits[Sqrt[90],10,120][[1]] (* _Harvey P. Dale_, Jan 10 2025 *)
%o A010541 (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
%o A010541 (Python)
%o A010541 from math import isqrt
%o A010541 def aupton(nn): return list(map(int, str(isqrt(90 * 10**(2*nn)))))[:nn]
%o A010541 print(aupton(100)) # _Michael S. Branicky_, Sep 04 2021
%Y A010541 Cf. A040080 (continued fraction).
%K A010541 nonn,cons
%O A010541 1,1
%A A010541 _N. J. A. Sloane_