OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
FORMULA
A prime p belongs to the sequence iff p/log(p) - q/log(q) < 1 where q is the preceding prime.
EXAMPLE
11 is in the sequence because 11/log(11) - 7/log(7) = 0.990... < 1.
PROG
(PARI) { default(realprecision, 100); n=0; s=2/log(2); forprime (p=3, 12583, if ((r=p/log(p)) - s < 1, write("b060770.txt", n++, " ", p); ); s=r; ) } \\ Harry J. Smith, Jul 11 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Ulrich Schimke (ulrschimke(AT)aol.com)
STATUS
approved