OFFSET
1,2
COMMENTS
From M. F. Hasler, Oct 29 2014: (Start)
This is the subsequence of terms of A034710 with digits in nondecreasing order, which is meant by "smallest": For example, 132 also has sum of digits = product of digits, but is already "represented" by 123. The word "set" in the definition actually means "multiset".
The sequence is infinite: for any number N whose digits form a nondecreasing sequence whose sum of digits S is not larger than the product of digits P (i.e., N in A062998), a term of the sequence is obtained by prefixing N with P-S digits '1'. (End)
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..667 (terms n=1..134 from T. D. Noe).
Sean A. Irvine, Java program (github)
EXAMPLE
1124 is a term since 1 + 1 + 2 + 4 = 1*1*2*4 = 8.
PROG
(PARI) is_A061672(n)={vecsort(n=digits(n))==n && normlp(n, 1)==prod(i=1, #n, n[i])} \\ M. F. Hasler, Oct 29 2014
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, Jun 26 2001
EXTENSIONS
Corrected and extended by Larry Reeves (larryr(AT)acm.org), Jun 27 2001
Corrected by Franklin T. Adams-Watters, Oct 25 2006
Further corrections from T. D. Noe, Oct 12 2007
STATUS
approved