OFFSET
1,1
COMMENTS
The number of digits in these numerators are (beginning at n=1): [1,1,2,4,10,22,52,124,297,717,1729,4173,10074,24319,58709,141735,..].
EXAMPLE
PROG
(PARI) {a(n)=local(M=contfracpnqn(vector(n, k, if(k==1, 2, 2^round(((1+sqrt(2))^(k-1)+(1-sqrt(2))^(k-1))/2) +2^round(((1+sqrt(2))^(k-2)-(1-sqrt(2))^(k-2))/(2*sqrt(2))))))); return(M[1, 1])}
CROSSREFS
KEYWORD
frac,nonn
AUTHOR
Paul D. Hanna, May 26 2006
STATUS
approved