login
A068146
Primes of the form a^a - b^b.
4
3, 23, 229, 3121, 776887, 16774091, 275311670611, 302875106545597, 437893890380859119, 808793517812627212561, 827240252970236315921, 1978419655651397488675723, 20880467999847900922348207352551
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..76
FORMULA
The sum of the reciprocals converges to 0.38150016336280165719931278557192073226416041392427864458688292865... - Cino Hilliard, Dec 15 2002
EXAMPLE
229 = 4^4 - 3^3 is a prime.
MATHEMATICA
Select[ Union[ Flatten[ Table[a^a - b^b, {a, 1, 40}, {b, 1, a - 1} ]]], PrimeQ ]
PROG
(PARI) v=[]; for(a=2, 400, forstep(b=a-1, 1, -2, if(ispseudoprime(t=a^a-b^b), v=concat(v, t)))); v \\ Charles R Greathouse IV, Feb 14 2011
CROSSREFS
Cf. A068145.
Sequence in context: A068955 A151393 A007781 * A162591 A278745 A122009
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Feb 23 2002
EXTENSIONS
Edited and extended by Robert G. Wilson v and Sascha Kurz, Mar 01 2002
STATUS
approved