OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MAPLE
A140536 := proc(n) local a; if n = 1 then 13; else a := nextprime(procname(n-1)) ; while not a mod 210 in {13, 197} do a := nextprime(a) ; end do: return a; end if; end: seq(A140536(n), n=1..80) ; # R. J. Mathar, Oct 22 2009
MATHEMATICA
Select[Prime[Range[1100]], MemberQ[{13, 197}, Mod[#, 210]]&] (* Harvey P. Dale, May 03 2011 *)
PROG
(Magma)[p: p in PrimesUpTo(9000)|p mod 210 in {13, 197}] // Vincenzo Librandi, Dec 18 2010
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Juri-Stepan Gerasimov, Jul 28 2008
STATUS
approved