A010171 Continued fraction for sqrt(103).
10, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..999
- G. Xiao, Contfrac
- Index entries for continued fractions for constants
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,0,0,1).
Crossrefs
Cf. A187768 (sqrt(103)).
Programs
-
Mathematica
ContinuedFraction[Sqrt[103],300] (* Vladimir Joseph Stephan Orlovsky, Mar 10 2011 *) PadRight[{10},120,{20,6,1,2,1,1,9,1,1,2,1,6}] (* Harvey P. Dale, Mar 25 2024 *)
-
Python
from sympy import sqrt from sympy.ntheory.continued_fraction import continued_fraction_iterator def aupton(terms): gen = continued_fraction_iterator(sqrt(103)) return [next(gen) for i in range(terms)] print(aupton(85)) # Michael S. Branicky, Oct 06 2021