A236128 Primes p such that gpf(gpf(2^p-1)-1) = p.
2, 3, 5, 7, 11, 13, 29, 53
Offset: 1
Examples
For prime p=2, 2^p-1=3, gpf(3)=3, gpf(3-1)=2, so 2 is in the sequence. For prime p=3, 2^p-1=7, gpf(7)=7, gpf(7-1)=3, so 3 is in the sequence.
Links
- GIMPS, Exponent Status
Programs
-
Mathematica
Select[Prime[Range[25]], FactorInteger[FactorInteger[2^# - 1][[-1, 1]] - 1][[-1, 1]] == # &] (* Alonso del Arte, Jan 19 2014 *)
-
PARI
isok(p) = isprime(p) && (q = (vecmax(factor(2^p-1)[,1]))) && (vecmax(factor(q-1)[,1]) == p); \\ Michel Marcus, Jan 19 2014
Comments