OFFSET
1,6
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MATHEMATICA
Table[GCD[n, Prime[n]+2], {n, 200}]
PROG
(Magma) [GCD(n, NthPrime(n) +2): n in [1..110]]; // G. C. Greubel, Mar 12 2023
(SageMath) [gcd(nth_prime(n) + 2, n) for n in range(1, 111)] # G. C. Greubel, Mar 12 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Aug 15 2010
STATUS
approved