OFFSET
1,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
Table[Mod[Prime[3 n], Prime[n]], {n, 100}] (* Vincenzo Librandi, Dec 09 2014 *)
PROG
(PARI) a(n) = prime(3*n) % prime(n); \\ Michel Marcus, Sep 30 2013
(Magma) [NthPrime(3*n) mod NthPrime(n): n in [1..90]]; // Vincenzo Librandi, Dec 09 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved