login
A105139
Numbers n such that 512n+257 is prime.
2
0, 1, 6, 15, 18, 27, 28, 43, 45, 52, 60, 61, 70, 73, 78, 81, 85, 90, 96, 97, 111, 112, 117, 138, 147, 151, 153, 165, 172, 178, 187, 192, 196, 202, 208, 210, 211, 213, 216, 222, 228, 231, 235, 243, 250, 252, 253, 255, 262, 265, 270, 280, 291, 298, 301, 312, 325, 328, 330, 337
OFFSET
1,3
LINKS
MATHEMATICA
Select[Range[0, 500], PrimeQ[512 # + 257]&] (* Vincenzo Librandi, Jan 08 2013 *)
PROG
(Magma) [n: n in [0..350] | IsPrime(512*n + 257)]; // Vincenzo Librandi, Jan 08 2013
(PARI) is(n)=isprime(512*n+257) \\ Charles R Greathouse IV, Jun 06 2017
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, based on correspondence from Marco Matosic, Apr 11 2005
STATUS
approved