A249761 Primes p such that there is prime q with sigma(q-1) = p.
3, 7, 31, 131071
Offset: 1
Examples
Prime 31 is in the sequence because there is prime 17 with sigma(17-1) = sigma(16) = 31.
Programs
-
Magma
[a: p in PrimesUpTo(5000000) | IsPrime(a) where a is SumOfDivisors(p-1)]
Comments