OFFSET
1,2
COMMENTS
LINKS
David A. Corneth, Table of n, a(n) for n = 1..1000
MATHEMATICA
upto[nd_] := Sort[FromDigits /@ Reverse /@ Select[ Flatten[ IntegerPartitions[#, nd, Range@ 9] & /@ Range[9 nd], 1], Times @@ # <= Plus @@ # &]]; upto[8] (* Giovanni Resta, Jun 20 2016 *)
PROG
(PARI) is(n) = my(d=digits(n)); prod(i=1, #d, d[i]) <= vecsum(d) && vecsort(d) == d
CROSSREFS
KEYWORD
nonn,base
AUTHOR
David A. Corneth, Jun 10 2016
STATUS
approved