OFFSET
1,1
MAPLE
A140841 := proc(n) local a; if n = 1 then 13; else a := nextprime(procname(n-1)) ; while not a mod 210 in {13} do a := nextprime(a) ; end do: return a; end if; end: seq(A140841(n), n=1..80) ; # R. J. Mathar, Oct 22 2009
MATHEMATICA
Select[13+210Range[0, 150], PrimeQ] (* Ray Chandler, Apr 29 2010 *)
PROG
(PARI) forprime(p=1, 1e4, if(p%210==13, print1(p", "))) \\ Charles R Greathouse IV, Dec 21 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jul 04 2008
EXTENSIONS
More terms from R. J. Mathar, Oct 22 2009
STATUS
approved