A359069 Smallest prime p such that p^(2n-1) - 1 is the product of 2n-1 distinct primes.
3, 59, 47, 79, 347, 6343, 56711, 4523
Offset: 1
Examples
a(3) = 47 since 47^(2*3-1) - 1 = 229345006 = 2*11*23*31*14621 is the product of 5 distinct primes and 47 is the smallest prime number with this property.
Programs
-
PARI
isok(p, n) = my(f=factor(p^(2*n-1)-1)); issquarefree(f) && (omega(f) == 2*n-1); a(n) = my(p=2); while (!isok(p, n), p=nextprime(p+1)); p; \\ Michel Marcus, Dec 15 2022
Comments