[go: nahoru, domu]

login
A102338
Numbers k such that 10k+3 is prime.
9
0, 1, 2, 4, 5, 7, 8, 10, 11, 16, 17, 19, 22, 23, 26, 28, 29, 31, 35, 37, 38, 43, 44, 46, 50, 52, 56, 59, 61, 64, 65, 67, 68, 73, 74, 77, 82, 85, 86, 88, 95, 98, 101, 103, 106, 109, 110, 112, 115, 116, 119, 121, 122, 128, 130, 137, 142, 143, 145, 148, 149, 152, 154, 155
OFFSET
1,3
LINKS
EXAMPLE
For n=1, 10k+3 = 13 (prime).
For n=26, 10k+3 = 263 (prime).
For n=50, 10k+3 = 503 (prime).
MATHEMATICA
Select[Range[0, 160], PrimeQ[10# + 3] &] (* Ray Chandler, Nov 07 2006 *)
PROG
(Magma) [n: n in [0..1000]| IsPrime(10*n+3)]; // Vincenzo Librandi, Apr 06 2011
(PARI) isok(n) = isprime(10*n+3); \\ Michel Marcus, Sep 08 2016
CROSSREFS
Cf. A023238 (subsequence of primes), A030431, A049508.
Sequence in context: A277121 A325112 A370277 * A285401 A139449 A204399
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Feb 20 2005
EXTENSIONS
Edited and extended by Ray Chandler, Nov 07 2006
STATUS
approved