News for hackers. Stuff that matters.
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:

  n = 0 + <ascending_solution_n>
without any additional consideration. Similarly for descending solution:

  n = <descending_solution_n> + 0
The descending case also looks like it'll produce a crap ton of solutions for n = 1 of the form:

  1 = <arbitrary_descending_permutation> ^ 0
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