OFFSET
1,2
COMMENTS
f(n)-> sqrt(2n), a slowly converging sequence.
The next term in the sequence (a(14)) has 120 digits. - Harvey P. Dale, Nov 29 2011
EXAMPLE
f(3) = 2/f(2) + 1/f(1) = 2/2 + 1/1 = 2/1, so a(3) = 2.
MATHEMATICA
Numerator[RecurrenceTable[{a[1]==1, a[2]==2, a[n]==(n-1)/a[n-1]+(n-2)/ a[n-2]}, a, {n, 13}]] (* Harvey P. Dale, Nov 29 2011 *)
PROG
(Maxima)
a[1]:1$
a[2]:2$
a[n]:=(n-1)/a[n-1]+(n-2)/a[n-2];
makelist(ratnumer(a[n]), n, 1, 15); /* Martin Ettl, Oct 30 2012 */
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Zak Seidov, Oct 24 2002
EXTENSIONS
One more term from Harvey P. Dale, Nov 29 2011
STATUS
approved