Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Search: a145908 -id:a145908
     Sort: relevance | references | number | modified | created      Format: long | short | data
Primes p such that p + ceiling(sqrt(p)) is also prime.
+10
2
3, 13, 31, 53, 59, 97, 127, 137, 139, 179, 241, 293, 313, 389, 457, 547, 563, 569, 647, 733, 769, 853, 857, 877, 881, 977, 1019, 1117, 1129, 1153, 1283, 1291, 1409, 1433, 1531, 1543, 1567, 1579, 1597, 1699, 1741, 1747, 1759, 1889, 1907, 2053, 2083, 2221
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
For p = 13; 13 + ceiling(sqrt(13)) = 17, which is prime.
MATHEMATICA
Select[Prime[Range[400]], PrimeQ[#+Ceiling[Sqrt[#]]]&] (* Harvey P. Dale, Aug 17 2019 *)
PROG
(PARI) isok(n) = isprime(n) && isprime(n + sqrtint(n) + 1); \\ Michel Marcus, Aug 15 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Kyle D. Balliet, Oct 24 2008, Nov 06 2008
EXTENSIONS
More terms from R. J. Mathar, Oct 31 2008
STATUS
approved

Search completed in 0.005 seconds