login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A068146 Primes of the form a^a - b^b. 4
3, 23, 229, 3121, 776887, 16774091, 275311670611, 302875106545597, 437893890380859119, 808793517812627212561, 827240252970236315921, 1978419655651397488675723, 20880467999847900922348207352551 (list; graph; refs; listen; history; text; internal format)
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

Adjacent sequences:  A068143 A068144 A068145 * A068147 A068148 A068149

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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 17 14:21 EDT 2021. Contains 345083 sequences. (Running on oeis4.)