OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MATHEMATICA
Table[Mod[Prime[2n-1], Prime[n]], {n, 70}] (* Harvey P. Dale, Aug 10 2012 *)
PROG
(PARI) for(n=1, 50, print1(prime(2*n-1) % prime(n), ", ")) \\ G. C. Greubel, Feb 28 2018
(Magma) [NthPrime(2*n-1) mod NthPrime(n): n in [1..50]]; // G. C. Greubel, Feb 28 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved