How many positive integers less than such that the sum of its digits equals to ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
You can use this code to get the answer , I will upload an explanation how to solve this using combinatorics soon ,
include <stdio.h>
int main ()
{
}
The output is 6 6 6