A276511 Primes that are equal to the sum of the prime factors of some perfect number.
5, 11, 139, 170141183460469231731687303715884105979
Offset: 1
Examples
a(1) = 5 because 2^2-1 = 3 and 2^2+2*2-3 = 5 are primes, a(2) = 11 because 2^3-1 = 7 and 2^3+2*3-3 = 11 are primes, a(3) = 139 because 2^7-1 = 127 and 2^7+2*7-3 = 139 are primes.
Programs
-
Magma
[2^n+2*n-3: n in [1..200] | IsPrime(2^n-1) and IsPrime(2^n+2*n-3)];
-
Maple
A276511:=n->`if`(isprime(2^n-1) and isprime(2^n+2*n-3), 2^n+2*n-3, NULL): seq(A276511(n), n=1..10^3); # Wesley Ivan Hurt, Sep 07 2016
Extensions
Name suggested by Michel Marcus, Sep 07 2016
Comments