OFFSET
1,2
COMMENTS
Squarefree terms: 1, 2, 6, 10, 30, 42, 78, 110, 114, 210, 222, ...
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Juri-Stepan Gerasimov, divisors (k^k mod n) of n, SeqFan list, Feb, 13, 2016
EXAMPLE
10 is in this sequence because 10/A268336(10) = 10/2 = 5.
PROG
(PARI) is(n)=my(f=factor(n)[, 1], m=n); for(k=1, #f, m=lcm(m, f[k]-1)); m/=n; m && n%m==0 \\ Charles R Greathouse IV, Feb 22 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Feb 13 2016
EXTENSIONS
a(16) inserted by Charles R Greathouse IV, Feb 22 2016
STATUS
approved