OFFSET
1,2
EXAMPLE
a(6) = 28 because there are 7 primes between n = 28 and 2n = 56: 29, 31, 37, 41, 43, 47, 53; and the largest prime dividing 28 is 7.
MAPLE
with(numtheory): a:=proc(n) if pi(2*n)-pi(n-1)=factorset(n)[nops(factorset(n))] then n else fi end: 1, seq(a(n), n=2..1000); # Emeric Deutsch, Feb 05 2006
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Sep 08 2002
EXTENSIONS
More terms from Emeric Deutsch, Feb 05 2006
a(24)-a(34) from Donovan Johnson, Apr 23 2010
STATUS
approved