OFFSET
1,2
COMMENTS
For all m the sequence includes 2^m, 10^m, 2*10^m, 10*2^m.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..5000
MATHEMATICA
Join[{1}, Select[Range[10000], PowerMod[9, #, #] == 1 &]] (* Robert Price, Apr 04 2020 *)
PROG
(PARI) isok(n) = Mod(9, n)^n == Mod(1, n); \\ Michel Marcus, May 06 2016
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Mar 05 2002
STATUS
approved