OFFSET
1,2
COMMENTS
Conjecture: For n > 1, k^n == 1-k (mod n) has an infinite number of positive solutions.
No term can be a multiple of 2, 3, 5, 7, or 13. Also 4879573990210017348077958628152400091281634488825721395187 is a term. - Giovanni Resta, Oct 07 2019
Also 6788776064693081883870036833 is a term. - Max Alekseyev, Dec 27 2024
FORMULA
a(n) > 15n for large enough n. (Surely the sequence grows superlinearly, but I can't prove it.) - Charles R Greathouse IV, Dec 27 2024
PROG
(Magma) [1] cat [n: n in [1..10^8] | Modexp(9, n, n) + 8 eq n];
(PARI) isok(n) = Mod(9, n)^n==-8; \\ Michel Marcus, Oct 05 2019
CROSSREFS
KEYWORD
nonn,more,changed
AUTHOR
Juri-Stepan Gerasimov, Oct 04 2019
EXTENSIONS
a(7) from Giovanni Resta confirmed and a(6) added by Max Alekseyev, Dec 27 2024
STATUS
approved