OFFSET
1,1
EXAMPLE
a(1)=2 because (prime(prime(2))=5 mod prime(2)=3)=2=prime.
PROG
(PARI) s=[]; for(n=1, 3000, p=prime(prime(n))%prime(n); if(isprime(p), s=concat(s, p))); s \\ Colin Barker, Jun 28 2014
CROSSREFS
KEYWORD
nonn,less
AUTHOR
Juri-Stepan Gerasimov, Dec 12 2010
EXTENSIONS
Terms corrected by R. J. Mathar, Dec 17 2010
STATUS
approved