A066735 Primes p dividing 1 + the product of the primes less than p.
2, 3, 19, 1471, 3001
Offset: 1
Examples
1 + Product of the primes < 19 = 1 + 2*3*5*7*11*13*17 = 510511 = 19*26869; so 19 is a term of the sequence.
Links
- Hisanori Mishima, Factorization results for #Pn (Primorial) + 1
Programs
-
Mathematica
p = 2; Do[q = Prime[n]; If[ IntegerQ[(p + 1)/q], Print[q]]; p = p*q, {n, 2, 86120} ]
-
PARI
a066735(m) =local(k,p); k=1; forprime(p=2,m, if((k+1)%p==0,print1(p,",")); k=k*p)
Comments