This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A171261 Numbers n such that prime(n)^n-n is prime. 0
 2, 8, 24, 42 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS All terms are even. There is no further term up to 10000. So the prime corresponding to the next term if it exists has more than 50200 digits. 1 and 2 are the only known numbers n (up to 10000) such that prime(n)^n+n is prime. LINKS EXAMPLE prime(2)^2-2=3^2-2=7 is prime, so 2 is in the sequence. MATHEMATICA Do[If[PrimeQ[Prime[n]^n-n], Print[n]], {n, 50000}] CROSSREFS Cf. A000040. Sequence in context: A007346 A062247 A284951 * A084744 A122547 A152132 Adjacent sequences:  A171258 A171259 A171260 * A171262 A171263 A171264 KEYWORD nonn AUTHOR Farideh Firoozbakht, Dec 07 2009 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.

Last modified February 18 01:55 EST 2019. Contains 320237 sequences. (Running on oeis4.)