Digit sum

How many are three-digit numbers that have a digit sum of 6?

Result

n =  21

Solution:

Solution in text n =

The equations have the following integer solutions:
6 = a+b+c
a>0

a=1, b=5, c=0
a=1, b=4, c=1
a=1, b=3, c=2
a=1, b=2, c=3
a=1, b=1, c=4
a=1, b=0, c=5
a=2, b=4, c=0
a=2, b=3, c=1
a=2, b=2, c=2
a=2, b=1, c=3
a=2, b=0, c=4
a=3, b=3, c=0
a=3, b=2, c=1
a=3, b=1, c=2
a=3, b=0, c=3
a=4, b=2, c=0
a=4, b=1, c=1
a=4, b=0, c=2
a=5, b=1, c=0
a=5, b=0, c=1
a=6, b=0, c=0

Number of solutions found: 21

Calculated by our Diofant problems and integer equations.







Leave us a comment of example and its solution (i.e. if it is still somewhat unclear...):

Showing 0 comments:
1st comment
Be the first to comment!
avatar




Would you like to compute count of combinations? See also our permutations calculator. Do you solve Diofant problems and looking for a calculator of Diofant integer equations?

Next similar examples:

  1. Divisible by 5
    175px-5th_MarDiv How many three-digit odd numbers divisible by 5, which are in place ten's number 3?
  2. Tunnels
    Mysky Mice had built an underground house consisting of chambers and tunnels: • each tunnel leading from the chamber to the chamber (none is blind) • from each chamber lead just three tunnels into three distinct chambers, • from each chamber mice can get to any
  3. Tram
    tramvaj-skoda In the three-part tram went 206 passengers in front of others, 226 after others and in the middle half of all. How many passengers went in tram total?
  4. Logik game
    logik-game Letter game Logik is a two player game, which has the following rules: 1. The first player thinks five-letter word in which no letter is not repeated. 2. The second player writes a five-letter word. 3. The first player answers two numbers - the first numbe
  5. Pages of book
    books_2 Lenka calculated that if every day to read 16 pages of the book, read a book a day earlier than had read only 14 pages a day. How many pages has this book?
  6. Farm2
    pecene_kure The farm bred turkeys, geese, hens and chickens. Everything is 400. Turkeys and geese a hen are 150. No hen has more than one chicken, but some hens has no chick. Half of them is also a quarter of the chickens. When the turkey subtracting 15, we get 75. Ho
  7. Football league
    football_1 In the 2nd football league plays each of the 16 participants with each opponent twice. For every victory gets 3 points, 1 point for a draw, a defeat none. After the competition was team with 54 points and 12 defeats at 9th place. How many times have won?
  8. Mushrooms
    mushrooms-01 For five days, we have collected 410 mushrooms. Interestingly every day we have collected 10 mushrooms more than the preceding day. How many mushrooms we have collected during 4th day?
  9. Candy
    friends Peter had a sachet of candy. He wanted to share with his friends. If he gave them 30 candies, he would have 62 candies. If he gave them 40 candies, he would miss 8 candies. How many friends did Peter have?
  10. Children
    car_game Less than 20 children is played various games on the yard. They can create a pairs, triso and quartets. How many children were in the yard when Annie came to them?
  11. Apples 2
    apples_2 How many apples were originally on the tree, if the first day fell one third, the second day quarter of the rest and on tree remained 45 apples?
  12. Buttons
    knofliky Shirt has 6 buttons, blouse has 4 buttons. All buttons are 176. Shirts and blouses are together 36. How many are the shirts and blouses?
  13. Donuts
    buchty_1 In the dining room at one table sit Thomas, Filip and Martin. Together they eat 36 donuts. How many donuts eaten everyone, when Filip ate twice as much as Thomas and Martin even half over Filip?
  14. Driving school
    bmw-autoskola Driving final exam involving 10 attendants. The exam consists of three parts. 2 fails at test (quiz) and 6 students fails on car skills test on playground (slalom between the cone). The practical part of the test - driving in town in the real traffic - al
  15. Remainder
    numbers2_35 A is an arbitrary integer that gives remainder 1 in the division with 6. B is an arbitrary integer that gives remainder 2 the division by. What makes remainder in division by 3 product of numbers A x B ?
  16. Magic number
    prof_einstein_1 The number 135 split to two addends so that one addend was 30 greater than 2/5 the addend.
  17. Divisibility
    numbers_29 Write all the integers x divisible by seven and eight at the same time for which the following applies: 100