OFFSET
1,3
COMMENTS
Compare sequences gcd(x, phi(n)), where x = n-1, n, or n+1.
EXAMPLE
For n = 12, 13, 14, 15:
n+1 = 13, 14, 15, 16;
phi(n) = 4, 12, 12, 8;
a(n) = gcd(13,4), gcd(14,12), gcd(15,12), gcd(16,8) = 1, 2, 3, 8, respectively.
MATHEMATICA
Table[GCD[n+1, EulerPhi[n]], {n, 110}] (* Harvey P. Dale, Nov 17 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Dec 28 2000
EXTENSIONS
Offset corrected by Sean A. Irvine, Aug 11 2022
STATUS
approved