OFFSET
1,1
COMMENTS
Numbers whose squarefree kernel (A007947) is the product of 2 or more consecutive primes. - Peter Munn, May 27 2023
LINKS
Harry J. Smith, Table of n, a(n) for n=1..1000
FORMULA
EXAMPLE
75 is included because 75 = 3 * 5^2 and 3 and 5 are consecutive primes.
MATHEMATICA
Select[Range[2, 500], And[! PrimePowerQ@ #, Union@ Differences@ PrimePi[FactorInteger[#][[All, 1]]] == {1}] &] (* Michael De Vlieger, Sep 24 2017 *)
PROG
(PARI) { n=0; for (m=2, 10^9, f=factor(m); b=1; if (matsize(f)[1] == 1, next); for (i=2, matsize(f)[1], if (primepi(f[i, 1]) - primepi(f[i - 1, 1]) > 1, b=0; break)); if (b, write("b066312.txt", n++, " ", m); if (n==1000, return)) ) } \\ Harry J. Smith, Feb 10 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jan 01 2002
EXTENSIONS
OFFSET changed from 0,1 to 1,1 by Harry J. Smith, Feb 10 2010
Name edited by Peter Munn, May 29 2023
STATUS
approved