OFFSET
1,3
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
MATHEMATICA
Table[GCD[Prime[w]-1, w-1], {w, 1, 128}]
PROG
(PARI) a(n) = gcd(prime(n)-1, n-1); \\ Michel Marcus, May 04 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 13 2003
STATUS
approved