OFFSET
1,1
LINKS
Joseph L. Wetherell, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = (A125556(n) - 1)/n.
PROG
(PARI) a(n) = forprime(p=3, , if (!((p-1) % n) && (m = (p-1)/n) && (m > 1) && !((m^m-1) % p), return (m)); ); \\ Michel Marcus, Nov 18 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, May 10 2010
STATUS
approved