|
|
A006279
|
|
Denominators of convergents to Cahen's constant: a(n+2) = a(n)^2*a(n+1) + a(n).
(Formerly M0914)
|
|
6
|
|
|
1, 1, 2, 3, 14, 129, 25298, 420984147, 269425140741515486, 47749585090209528873482531562977121, 3466137915373323052799848584927709551269254572949111609037058632767202
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Shifted square roots of partial quotients in continued fraction expansion of Cahen's constant: a(n) = sqrt(A006280(n+2)). - Jonathan Sondow, Aug 20 2014
|
|
REFERENCES
|
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
LINKS
|
|
|
MAPLE
|
|
|
MATHEMATICA
|
a[n_] := a[n] = If[n < 2, 1, a[n-2]^2*a[n-1] + a[n-2]];
|
|
PROG
|
(Python)
from itertools import islice
def A006279_gen(): # generator of terms
a, b = 1, 1
yield a
while True:
yield b
a, b = b, a*(a*b+1)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,frac
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|