# Thread: Four digit number problem?

1. ## Four digit number problem?

Q) In a four digit number,The sum of the digits in the thousands,hundreds and tens is equal to 14 and the sum of the digit in units,tens and hundred is equal to 15.Among all the numbers satisfying these condition.find the number the sum of the squares of whose digit is greatest?

Thanks,

2. Originally Posted by a69356
Q) In a four digit number,The sum of the digits in the thousands,hundreds and tens is equal to 14 and the sum of the digit in units,tens and hundred is equal to 15.Among all the numbers satisfying these condition.find the number the sum of the squares of whose digit is greatest?

Thanks,
Begin by noting that there are only a handful of possibilities for

$\displaystyle n_1+n_2+n_3=14$

And likewise

$\displaystyle n_2+n_3+n_4=15$

once you have your lists, you must determine if and how they overlap. This gives you the possible combinations.

The squaring is easy.

3. Originally Posted by a69356
find the number the sum of the squares of whose digit is greatest?
Could you re-state that?

### in a four digit number the sum of digits in the thousands hundreds

Click on a term to search for related topics.