Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A135933
Primes whose integer square root remainder is not a prime.
1
2, 5, 13, 17, 29, 31, 37, 53, 59, 61, 73, 79, 89, 97, 101, 109, 127, 131, 137, 139, 173, 179, 181, 191, 193, 197, 211, 223, 229, 233, 239, 241, 251, 257, 271, 277, 281, 283, 293, 307, 311, 313, 317, 349, 359, 367, 373, 379, 383, 389, 397, 401, 409, 421, 433
OFFSET
1,1
COMMENTS
The integer square root of an integer x >= 0 can be defined as floor(sqrt(x)) and the remainder of this as x - (floor(sqrt(x)))^2.
LINKS
MATHEMATICA
Select[Prime[Range[100]], !PrimeQ[#-Floor[Sqrt[#]]^2]&] (* Harvey P. Dale, May 29 2024 *)
PROG
(PARI) { forprime(p=2, 2000, isr = sqrtint(p); Rem = p - isr*isr; if (!isprime(Rem), print1(p, ", ") ) ) }
CROSSREFS
Sequence in context: A317964 A075451 A109515 * A086807 A002313 A233346
KEYWORD
nonn
AUTHOR
Harry J. Smith, Dec 07 2007
STATUS
approved