Math, asked by Rahulkumar000, 5 months ago

The sum of total counting number is............ .​

Answers

Answered by Anonymous
1

Step-by-step explanation:

Given two integers ‘n’ and ‘sum’, find count of all n digit numbers with sum of digits as ‘sum’. Leading 0’s are not counted as digits.

1 <= n <= 100 and

1 <= sum <= 500

Example:

Input: n = 2, sum = 2

Output: 2

Explanation: Numbers are 11 and 20

Input: n = 2, sum = 5

Output: 5

Explanation: Numbers are 14, 23, 32, 41 and 50

Input: m=6


Rahulkumar000: not helpful
Answered by harshitasingh270606
2

Answer:

Step-by-step explanation:

here is the formula to find sum of nth term = n/2 (a+(n-1)d) hope it helps :)

Similar questions