OFFSET
1,1
EXAMPLE
Prime(42)=181, prime(43)=191. This is the first pair of successive primes both ending with 1.
MATHEMATICA
ra=Range[2000]; cnd=Mod[Prime[ # ], 10]==Mod[Prime[ #+1], 10]==1&; se=Select[ra, cnd]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Jun 04 2005
STATUS
approved