OFFSET
1,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
EXAMPLE
If n=33 then 10*n + 103 = 433 (prime).
MATHEMATICA
Select[Range[0, 300], PrimeQ[10*# +103] &] (* G. C. Greubel, Oct 21 2023 *)
PROG
(Magma) [n: n in [0..300] |IsPrime(10*n + 103)]
- Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(10*n+103) \\ Charles R Greathouse IV, Jun 13 2017
(SageMath) [n for n in (0..300) if is_prime(10*n+103)] # G. C. Greubel, Oct 21 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jul 05 2005
STATUS
approved