OFFSET
1,3
COMMENTS
PROG
(PARI) isok(n, m=21)={n == 0 || (n^m)%(10^(1+logint(n, 10))) == n}
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Benoit Cloitre, Oct 19 2002
EXTENSIONS
Missing terms inserted by Sean A. Irvine, Oct 05 2024
STATUS
approved