OFFSET
1,2
COMMENTS
17 divides a(n) for n > 1.
a(n) = 17^(n-1) for n < 7.
a(7) = 20231*17^2.
PROG
(PARI) is(n)=Mod(18, n)^n==1 \\ Charles R Greathouse IV, Nov 04 2016
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
Alexander Adamchuk, Mar 01 2007
EXTENSIONS
a(8)-a(10) from Farideh Firoozbakht, Mar 05 2007
a(11)-a(19) from Ryan Propper, Dec 31 2007
a(20)-a(24) from Alexander Adamchuk, May 17 2010
STATUS
approved