OFFSET
1,5
COMMENTS
For other square roots of positive integers add or subtract more a(n) to formula and start off.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..16
EXAMPLE
For n=5 a(5)= 1/1 + 1/1 + 1/3 = 7/3 (denominator) For n=5 a(5)= 1/(1 + 1 + 1/3) = 3/7 (numerator)
MATHEMATICA
nxt[{a_, b_, c_}]:={b, c, 1/a+1/b+1/c}; Denominator[Transpose[NestList[nxt, {1, 1, 1}, 15]][[1]]] (* Harvey P. Dale, Dec 09 2012 *)
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Mark Dols, Jul 17 2009
EXTENSIONS
More terms from Harvey P. Dale, Dec 09 2012
STATUS
approved