The sum of all numbers between 1 and n = n*(n+1)/2
The sum of all numbers between 1 and 999 = 999*1000/2 = 499500
The sum of all numbers between 1 and 9999 = 9999*10000/2 = 49995000
So, the sum of all numbers between 1000 and 9999 = 49495500
The sum is 22 times the sum of the three digits.
sum
2222
Four different digits that sum to 6 are: 0, 1, 2 & 3. The largest odd number that can be made from these is: 3201.
1010111 1111100 1011101 and many more
494550
Any digit that you like.
The sum is 154.
The sum is 22 times the sum of the three digits.
sum
2222
The greatest three-digit balanced number is 962, because 9 is the sum of 6 and 2.
Four different digits that sum to 6 are: 0, 1, 2 & 3. The largest odd number that can be made from these is: 3201.
The greatest 3-digit number is 999. 9+9+9 = 27 The sum of the greatest 3-digit number is 27.
The units digit of a two digit number exceeds twice the tens digit by 1. Find the number if the sum of its digits is 10.
1010111 1111100 1011101 and many more
You can just add the last digit of each number. Whenever you get a two-digit number, you can discard all digits except the last one. Another alternative is to count how many odd numbers there are - once again, you only need to consider the last digit. If the number of odd numbers is even, the sum is even; otherwise it is odd. (You can ignore even numbers for this calculation.)