OFFSET
1,2
COMMENTS
k must be odd since any power of 5 plus 4 is odd. - Robert G. Wilson v, Nov 14 2006
a(9) > 10^15. - Max Alekseyev, Oct 17 2016
Large term (may not be the next one): 3014733401203184049549. - Max Alekseyev, Oct 18 2013
MATHEMATICA
Do[ If[ PowerMod[5, 2n - 1, 2n - 1] + 5 == 2n, Print[2n - 1]], {n, 10^9}] (* Robert G. Wilson v *)
PROG
(PARI) is(n)=Mod(5, n)^n==-4 \\ Charles R Greathouse IV, Nov 04 2016
CROSSREFS
KEYWORD
hard,more,nonn
AUTHOR
Alexander Adamchuk, Nov 04 2006
EXTENSIONS
a(4) and a(5) from Robert G. Wilson v, Nov 14 2006
a(7) from Ryan Propper, Mar 23 2007
a(8) from Max Alekseyev, Oct 17 2016
STATUS
approved