OFFSET
1,1
PROG
(Sage) A004648 = lambda n: nth_prime(n) % n
(PARI) s=[]; forprime(n=2, 5000, if(prime(n-1)%(n-1) == prime(n)%n-1, s=concat(s, n))); s \\ Colin Barker, Jun 27 2014
CROSSREFS
KEYWORD
nonn,less
AUTHOR
Juri-Stepan Gerasimov, Dec 12 2010
EXTENSIONS
Corrected and extended by D. S. McNeil, Dec 12 2010
STATUS
approved