OFFSET
1,2
COMMENTS
EXAMPLE
202 is a term because 202, 202^2=4008004 and 202^3=8024024008 all use only even digits.
PROG
(PARI) evdigs(n) = {if (n==0, return (1)); digs = digits(n); for (i = 1, #digs, if (digs[i] % 2, return (0)); ); return (1); }
isok(n) = evdigs(n) && evdigs(n^2) && evdigs(n^3); \\ Michel Marcus, Oct 04 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Jul 06 2003
EXTENSIONS
More terms from Michel Marcus and Jon E. Schoenfield, Oct 04 2013
STATUS
approved