|
|
A010159
|
|
Continued fraction for sqrt(86).
|
|
3
|
|
|
9, 3, 1, 1, 1, 8, 1, 1, 1, 3, 18, 3, 1, 1, 1, 8, 1, 1, 1, 3, 18, 3, 1, 1, 1, 8, 1, 1, 1, 3, 18, 3, 1, 1, 1, 8, 1, 1, 1, 3, 18, 3, 1, 1, 1, 8, 1, 1, 1, 3, 18, 3, 1, 1, 1, 8, 1, 1, 1, 3, 18, 3, 1, 1, 1, 8, 1, 1, 1, 3, 18, 3, 1, 1, 1, 8, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,1).
|
|
EXAMPLE
|
9.273618495495703752516416073... = 9 + 1/(3 + 1/(1 + 1/(1 + 1/(1 + ...)))). - Harry J. Smith, Jun 10 2009
|
|
MATHEMATICA
|
PadRight[{9}, 120, {18, 3, 1, 1, 1, 8, 1, 1, 1, 3}] (* Harvey P. Dale, Dec 13 2018 *)
|
|
PROG
|
(Python)
from sympy import sqrt
from sympy.ntheory.continued_fraction import continued_fraction_iterator
def aupton(terms):
gen = continued_fraction_iterator(sqrt(86))
return [next(gen) for i in range(terms)]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,cofr
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|