OFFSET
1,1
COMMENTS
The limit of the sequence of fractions used to generate this sequence is 3.
Essentially the same as A003683. - R. J. Mathar, May 25 2009
REFERENCES
Prime Obsession, John Derbyshire, Joseph Henry Press, April 2004, p. 16.
FORMULA
Given a(0)=1, b(0)=1 then for i>=1, a(i)/b(i) = (a(i-1)+ 9*b(i-1)) / (a(i-1) + b(i-1)).
PROG
(PARI) g(n, k, typ) = /* typ = 1 numerator, 2 denominator, k = multiple of denom */ { local(a, b, x, tmp); a=1; b=1; for(x=1, n, tmp=b; b=a+b; a=k*tmp+a; if(typ==1, print1(a", "), print1(b", ")) ); print(); print(a/b+.) }
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Sep 25 2005
STATUS
approved