login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
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: A062247 A284951 A357635 * A084744 A122547 A152132
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 29 04:03 EDT 2023. Contains 363029 sequences. (Running on oeis4.)