[go: up one dir, main page]

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”).

A111226
Numbers n such that 5*n + 12 is prime.
0
1, 5, 7, 11, 17, 19, 23, 25, 29, 31, 37, 43, 49, 53, 59, 61, 65, 67, 71, 77, 89, 91, 95, 107, 109, 113, 115, 119, 121, 127, 133, 143, 149, 155, 157, 163, 169, 173, 175, 179, 185, 187, 191, 193, 197, 215, 217, 221, 235, 241, 245, 253, 257, 259, 263, 271, 283, 287
OFFSET
1,2
EXAMPLE
If n=109 then 5*n + 12 = 557 (prime).
MATHEMATICA
Select[Range[300], PrimeQ[5 # + 12] &]
PROG
(Magma) [n: n in [0..100000] |IsPrime(5*n+12)]; // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(5*n+12) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Oct 26 2005
STATUS
approved