OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..2000
FORMULA
a(n) = 1000*A105106(n)+101. - R. J. Mathar, Nov 13 2009
MAPLE
select(isprime, [seq(1000*k+101, k=0..1000)]); # Robert Israel, Jul 07 2014
MATHEMATICA
Select[Prime@Range[200000], Mod[#, 1000]==101 &] (* Vincenzo Librandi, Jul 07 2014 *)
Select[Table[1000n+101, {n, 0, 200}], PrimeQ] (* Harvey P. Dale, Mar 22 2020 *)
PROG
(Magma) [n: n in PrimesUpTo(160000) | n mod 1000 eq 101]; // Vincenzo Librandi, Jul 07 2014
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Mark A. Thomas, Nov 07 2009
STATUS
approved