OFFSET
1,3
LINKS
Matthijs Coster, Some sequences.
FORMULA
a(n) = (A048860(n)-1)/n.
EXAMPLE
a(5)=6 because 5*6+1 = 31 and 5/31 = 1/7 + 1/55 + 1/3979 + 1/23744683 + 1/1127619917796295.
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-1)/n)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Matthijs Coster, Oct 11 2004
EXTENSIONS
Two more terms computed from A048860 by Max Alekseyev, Mar 08 2010
a(20)-a(27) from Robert Gerbicz, Nov 19 2010
STATUS
approved