OFFSET
2,1
COMMENTS
a(n) is growing roughly like prime(n). a(n) < a(n+1) except for n = 12. (Is this the only exception?)
a(n) < a(n+1) except for n = 12, 108, 266, ... - Boris Gourevitch (boris(AT)pi314.net), Dec 04 2001
Conjecture: a(n)+n > prime(n).
LINKS
Harry J. Smith, Table of n, a(n) for n=2..800
FORMULA
Asymptotic (conjectured) formula: a(n)=n*log(n)+o(log(n)).
EXAMPLE
a(5) = 9 because 9 is the first integer satisfying floor((6/5)^(9+1))/floor((6/5)^9) = 6/5.
PROG
(PARI) a(n) = { my(k=1, f=(n + 1)/n); while((floor(f^(k + 1))/floor(f^k)) != f, k++); k } \\ Harry J. Smith, Oct 22 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Nov 29 2001
EXTENSIONS
Terms a(53) - a(61) from Harry J. Smith, Oct 22 2009
STATUS
approved