A269789 Primes p such that 2*p + 59 is a square.
11, 31, 83, 151, 191, 283, 811, 983, 1171, 1483, 1831, 2083, 2351, 3251, 3583, 3931, 4111, 4483, 4871, 5483, 6131, 8291, 9631, 11071, 12611, 14251, 14591, 15991, 18211, 20983, 24391, 27583, 29983, 30971, 34031, 35083, 36151, 36691, 37783, 38891, 39451, 40583
Offset: 1
Keywords
Examples
a(1) = 11 because 2*11 + 59 = 81, which is a square.
Programs
-
Magma
[p: p in PrimesUpTo(50000) | IsSquare(2*p+59)];
-
Mathematica
Select[Prime[Range[4500]], IntegerQ[Sqrt[2 # + 59]] &]
-
PARI
lista(nn) = {forprime(p=2, nn, if(issquare(2*p + 59), print1(p, ", "))); } \\ Altug Alkan, Mar 24 2016
Comments