login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010173 Continued fraction for sqrt(107). 4
10, 2, 1, 9, 1, 2, 20, 2, 1, 9, 1, 2, 20, 2, 1, 9, 1, 2, 20, 2, 1, 9, 1, 2, 20, 2, 1, 9, 1, 2, 20, 2, 1, 9, 1, 2, 20, 2, 1, 9, 1, 2, 20, 2, 1, 9, 1, 2, 20, 2, 1, 9, 1, 2, 20, 2, 1, 9, 1, 2, 20, 2, 1, 9, 1, 2, 20, 2, 1, 9, 1, 2, 20, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
G. Xiao, Contfrac
FORMULA
G.f.: (-10*x^6 - 2*x^5 - x^4 - 9*x^3 - x^2 - 2*x - 10)/(x^6 - 1). - Chai Wah Wu, Oct 02 2021
MATHEMATICA
ContinuedFraction[Sqrt[107], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 11 2011 *)
PROG
(Python)
from sympy import sqrt
from sympy.ntheory.continued_fraction import continued_fraction_iterator
def aupton(terms):
gen = continued_fraction_iterator(sqrt(107))
return [next(gen) for i in range(terms)]
print(aupton(82)) # Michael S. Branicky, Oct 02 2021
CROSSREFS
Cf. A177935 (decimal expansion), A041192/A041193 (convergents).
Sequence in context: A040097 A010174 A073755 * A357339 A259712 A343103
KEYWORD
nonn,cofr,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 04:58 EDT 2024. Contains 370952 sequences. (Running on oeis4.)