OFFSET
1,1
COMMENTS
Let PS(n) be product of digits of n minus sum of digits of n (=-A062329(n)). Then a(n) is PS(A037344(m)) ordered by PS(n) for values of m such that A037344 has its digits in nondecreasing order. If PS(m) some nonzero term m of A002276 exceed some bound, all positive integers t larger than that term without zeros and ones exceed have a larger value for PS(t).
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10696
David A. Corneth, PARI program
EXAMPLE
Suppose we want to order the nondecreasing integers without zeros and ones up to PS(m) = 50. We see that 222222 has PS(222222) = 52, so we only have to check such nondecreasing integers up to 222222. Not all of those must be checked, which is used in the program.
PROG
(PARI) \\ See program in link "PARI program".
CROSSREFS
KEYWORD
nonn,base
AUTHOR
David A. Corneth, Jun 10 2016
STATUS
approved
