login
A079594
Primes p such that floor(p^Pi) is prime.
0
3, 73, 109, 131, 277, 397, 617, 739, 857, 911, 1109, 1181, 1237, 1453, 1889, 1999, 2239, 2383, 2393, 2621, 2767, 2801, 2903, 2953, 3259, 3319, 3323, 3967, 4127, 4243, 4603, 5051, 5237, 5407, 5419, 5573, 5749, 5843, 6091, 6317, 6679, 6701, 7691, 7949, 8297, 8377
OFFSET
1,1
EXAMPLE
floor(2^Pi)=8, which is not prime.
floor(3^Pi)=31, which is prime, so a(1)=3.
The next smallest prime p for which floor(p^Pi) is prime is 73, for which floor(73^Pi)=714169, so a(2)=73.
MAPLE
q:= p-> andmap(isprime, [p, floor(p^Pi)]):
select(q, [$2..9000])[]; # Alois P. Heinz, Aug 21 2025
MATHEMATICA
For[i = 1, i < 10000, If[PrimeQ[IntegerPart[Prime[i]^Pi]] == True, Print[Prime[i]]]; i++ ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Neil Fernandez, Jan 27 2003
STATUS
approved