Re:Numbers 0 to 11111 in terms of Increasing and Decreasing ...
by metaphor on Wednesday January 11, 2017 @01:50AM
(#13372254)
For ascending solution taking a lazy approach, it appears to be a trivial inclusion, considering for any n with a solution using 1-9, a solution which includes 0 will simply take the form:
without any additional consideration. Similarly for descending solution:
The descending case also looks like it'll produce a crap ton of solutions for n = 1 of the form:
[ Parent
| on HN ]
Re:Numbers 0 to 11111 in terms of Increasing and Decreasing ...
by 7373737373 on Wednesday January 11, 2017 @03:56PM
(#13377417)
Multiplication makes a difference here