OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
EXAMPLE
7 is a term since 8 = 2^3, 9 = 3^3, 10 = 2*5 are the numbers between 7 and the next prime 11; 149 is a term since 150 = 2*3*5^2 is the only number between 149 and the next prime 151.
PROG
(PARI) {forprime(p=2, 24000000, q=nextprime(p+1); m=0; j=p+1; while(j<q&&m<=5, f=factor(j); a=f[matsize(f)[1], 1]; if(m<a, m=a); j++); if(m==5, print1(p, ", ")))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Feb 10 2003
STATUS
approved