login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A276650 Primes of the form prime(n)^n - PrimePi(n). 0
2, 2399, 1801152661459, 73885357344138503765443 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Searched up to n = 1000.

Searched up to n = 5000, and found no additional entries. - Ethan Beihl, Oct 15 2016

LINKS

Table of n, a(n) for n=1..4.

Farideh Firoozbakht, Prime Curios: Prime(14)^14 - pi(14) is prime

EXAMPLE

2 is in the sequence because 2 is prime and 2 = prime(1)^1 - PrimePi(1) = 2^1 - 0.

2399 is in the sequence because 2399 is prime and 2399 = prime(4)^4 - PrimePi(4) = 7^4 - 2.

1801152661459 is in the sequence because 1801152661459 is prime and 1801152661459 = prime(9)^9 - PrimePi(9) = 23^9 - 4.

73885357344138503765443 is in the sequence because 73885357344138503765443 is prime and 73885357344138503765443 = prime(14)^14 - PrimePi(14) = 43^14 - 6.

MATHEMATICA

Select[Map[Prime[#]^# - PrimePi@ # &, Range@ 1500], PrimeQ] (* Michael De Vlieger, Sep 26 2016 *)

PROG

(Sage)

max_n = 20

seq = []

for n in range(1, max_n+1):

    p = nth_prime(n)^n - prime_pi(n)

    if is_prime(p):

        seq.append(p)

print seq

CROSSREFS

Cf. A000720, A062457.

Sequence in context: A288164 A133074 A280312 * A135234 A274962 A199948

Adjacent sequences:  A276647 A276648 A276649 * A276651 A276652 A276653

KEYWORD

nonn,more

AUTHOR

Robert C. Lyons, Sep 09 2016

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 August 25 05:19 EDT 2019. Contains 326318 sequences. (Running on oeis4.)