OFFSET
0,3
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..10000
FORMULA
EXAMPLE
666666 is in the sequence because (1) cubed sum of its digits is (6+6+6+6+6+6)^3 = 46656, (2) the product of its digits is 6*6*6*6*6*6=46656; 46656=46656.
MAPLE
MATHEMATICA
Select[Range[0, 156*10^4], Total[IntegerDigits[#]]^3==Times@@IntegerDigits[#]&] (* Harvey P. Dale, Jul 07 2022 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Boris Hostnik (megpplus(AT)siol.net), Jul 14 2009
STATUS
approved