OFFSET
1,2
REFERENCES
H. T. Freitag and G. M. Phillips, Sylvester's algorithm and Fibonacci numbers, in Applications of Fibonacci numbers, Vol. 8 (Rochester, NY, 1998), 155-163, Kluwer Acad. Publ., Dordrecht, 1999.
EXAMPLE
a(3) = 7 since 3/7 = 1/3 + 1/11 + 1/231
PROG
(PARI) a(n)=if(n==1, q=1, q=n+1; while(1, c=1; P=n; Q=q; while(Q%P>0, c++; D=Q\P+1; P=P*D-Q; Q*=D); if(c==n, break); q+=n)); return(q)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jeffrey Shallit, Jul 04 2000
EXTENSIONS
a(20)-a(27) from Robert Gerbicz, Nov 19 2010
STATUS
approved