Answer the question
In order to leave comments, you need to log in
How to generate numbers whose sum of digits is equal to a given number?
The task is: Given an input number, output a set of numbers whose sum of digits is equal to this number, and the numbers must be different.
I ask for help in building an algorithm for generating such numbers, Or, if it has already been decided somewhere, links to this resource.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question