OFFSET
1,2
COMMENTS
With the exception of only 112,121, and 211, each term of this sequence satisfies (sum of digits) equals (product of digits). For 112, 121, and 211, the sum of the digits is 4, the product of the digits is 2, and the terms qualify because 2^4 equals 4^2. [From Harvey P. Dale, Sep 30 2011]
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..179
EXAMPLE
22 belongs to the sequence because (2*2)^(2+2)=(2+2)^(2*2)
MATHEMATICA
okQ[n_]:=Module[{idn=IntegerDigits[n], t, p}, t= Times@@idn; p=Total[idn]; t^p==p^t]; Select[Range[12500], okQ]
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Felice Russo, Sep 14 2001
EXTENSIONS
More terms from Jason Earls, Dec 04 2001
STATUS
approved