OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
EXAMPLE
If n=33 then 10*n + 101 = 431 (prime).
MAPLE
a:=proc(n) if isprime(10*n+101)=true then n else fi end: seq(a(n), n=0..200); # Emeric Deutsch, Jul 13 2005
MATHEMATICA
Select[Range[0, 300], PrimeQ[10*# +101] &] (* G. C. Greubel, Oct 21 2023 *)
PROG
(PARI) is(n)=isprime(10*n+101) \\ Charles R Greathouse IV, Jun 13 2017
(Magma) [n: n in [0..300] | IsPrime(10*n+101)]; // G. C. Greubel, Oct 21 2023
(SageMath) [n for n in (0..300) if is_prime(10*n+101)] # G. C. Greubel, Oct 21 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jul 05 2005
EXTENSIONS
More terms from Emeric Deutsch, Jul 13 2005
STATUS
approved