[go: up one dir, main page]

login
A105135
Numbers n such that 32n+17 is prime.
1
0, 3, 7, 10, 12, 13, 18, 27, 30, 31, 37, 40, 42, 46, 48, 55, 58, 66, 67, 75, 81, 87, 88, 90, 96, 97, 100, 103, 115, 117, 118, 121, 126, 130, 132, 133, 135, 142, 145, 147, 150, 156, 163, 165, 168, 172, 195, 198, 201, 202, 205, 208, 210, 213, 217, 220, 222, 235, 243, 250, 252
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[0, 260], PrimeQ[32 # + 17]&] (* Harvey P. Dale, Apr 26 2011 *)
PROG
(Magma) [n: n in [0..500] | IsPrime(32*n+17)]; // Vincenzo Librandi, Jan 07 2013
(PARI) is(n)=isprime(32*n+17) \\ 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