login
A329979
Prime numbers which can be represented as p^i * q^j - (p + q) where p and q are odd primes and i,j > 0.
0
7, 11, 19, 23, 31, 37, 43, 47, 53, 59, 67, 71, 79, 83, 101, 103, 107, 127, 131, 137, 139, 149, 163, 167, 179, 181, 191, 199, 211, 223, 229, 233, 239, 251, 263, 271, 283, 293, 307, 311, 331, 347, 349, 359, 367, 373, 379, 383, 397, 419, 421, 431, 439, 443, 463, 467, 479, 491, 499
OFFSET
1,1
COMMENTS
Numbers of this form are an attempt to generalize Mersenne numbers (see link).
PROG
(PARI) z=[]; forprime(a=3, 1000, forprime(b=a+2, 1000, for(i=1, 10, for(j=1, 10, y=a+b; x=a^i*b^j-y; if(x<500 && isprime(x) && setsearch(z, x)==0, z=setunion(z, [x])) )))); print(z)
CROSSREFS
Sequence in context: A106081 A329857 A168489 * A129899 A129842 A065312
KEYWORD
nonn
AUTHOR
Craig J. Beisel, Nov 26 2019
STATUS
approved