OFFSET
1,2
EXAMPLE
3344 is in the sequence as its digits are in nondecreasing order and the digital sum is 14 and the digital product is 144. The digits of the latter two are either 1 or 4.
PROG
(PARI) is(n) = {my(d); if(vecsort(d = digits(n)) != d, return(0)); Set(digits(vecprod(d))) == Set(digits(vecsum(d)))}
CROSSREFS
KEYWORD
nonn,base
AUTHOR
David A. Corneth, Oct 18 2020
STATUS
approved