OFFSET
1,2
FORMULA
a(4^m) = 4^m for m >= 0.
PROG
(PARI) a(n) = for(k=1, oo, if(Mod(4, n)^k==k, return(k)));
CROSSREFS
KEYWORD
nonn
AUTHOR
Jinyuan Wang, Apr 14 2020
STATUS
approved