login
A154610
Numbers n such that 13n + 5 is prime.
2
0, 2, 6, 8, 18, 24, 32, 38, 44, 56, 62, 66, 72, 74, 78, 84, 86, 92, 98, 108, 114, 128, 132, 134, 144, 162, 164, 174, 176, 182, 186, 198, 204, 206, 224, 228, 246, 248, 254, 258, 266, 272, 276, 282, 284, 296, 302, 318, 324, 326, 336, 342, 368, 378, 386, 392, 396
OFFSET
1,2
LINKS
MATHEMATICA
lst={}; Do[p=13*n+5; If[PrimeQ[p], AppendTo[lst, n]], {n, 0, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jul 01 2009 *)
Select[Range[0, 100], PrimeQ[13#+5]&] (* Vincenzo Librandi, Sep 24 2012 *)
PROG
(Magma) [n: n in [0..410] | IsPrime(13*n+5)]; // Vincenzo Librandi, Sep 24 2012
(PARI) is(n)=isprime(13*n+5) \\ Charles R Greathouse IV, Sep 24 2012
CROSSREFS
Sequence in context: A178758 A024431 A152598 * A053658 A032393 A102656
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 15 2009
EXTENSIONS
More terms from Vladimir Joseph Stephan Orlovsky, Jul 01 2009
STATUS
approved