#Discrete math - Combinatorics

6 messages · Page 1 of 1 (latest)

steady bolt
#

We have an array of 6 digits, abcdef where digits are 0-9 and we have to find how many numbers there are where a+b+c=d+e+f stands.

heavy coveBOT
#
  1. Wait patiently for a helper to come along.
  2. Once someone helps you, say thank you and close the thread with:
+close
  1. Feel free to nominate the person for helper of the week in #helper-nominations
  2. Do not ping the mods, unless someone is breaking the rules.
  3. If you're happy with the help you got here, and the server overall, you can contribute financially as well:
runic flume
steady bolt
#

yes

#
Quora

Answer (1 of 2): This is equivalent to finding the number of 6-digit codes (including codes with leading zeroes) in which the sum of the first 3 digits is equal to the sum of the last 3 digits. The codes range from 00000 to 999999. Therefore, we have to total of 10^6 = 1,000,000 codes.

Here is a...