OFFSET
1,1
COMMENTS
The complement of A227006.
1807 is the last term in this sequence. - Charles R Greathouse IV, Jun 27 2013
LINKS
J. M. Grau, A. M. Oller-Marcén and J, Sondow, On the congruence 1^n+2^n+...+n^n == d (mod n), where d divides n, arXiv preprint arXiv:1309.7941, 2013
MATHEMATICA
Needs["NumberTheory`NumberTheoryFunctions`"]; Is[2] = True; Is[{}] = True; Is[n_] := Is[n] = If[ListQ[n], Is[n[[1, 1]]] && Is[Rest[n]], SquareFreeQ[n - 1] && Is[fa[n - 1]]]; Select[1 + Range@10000, Is]
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
José María Grau Ribas, Jun 27 2013
STATUS
approved