login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A105138
Numbers n such that 256n+129 is prime.
2
2, 4, 5, 10, 13, 17, 19, 25, 28, 37, 38, 40, 44, 47, 52, 53, 59, 62, 70, 74, 77, 79, 82, 83, 103, 110, 115, 119, 124, 130, 137, 140, 149, 152, 158, 170, 173, 178, 179, 193, 200, 205, 208, 209, 212, 217, 230, 235, 238, 242, 247, 248, 257, 268, 269, 272, 275, 280, 283, 299, 307
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[0, 500], PrimeQ[256 # + 129]&] (* Vincenzo Librandi, Jan 08 2013 *)
PROG
(Magma) [n: n in [0..350] | IsPrime(256*n+129)]; // Vincenzo Librandi, Jan 08 2013
(PARI) is(n)=isprime(256*n+129) \\ Charles R Greathouse IV, Jun 12 2017
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, based on correspondence from Marco Matosic, Apr 11 2005
STATUS
approved