Advent calendar 2023
10 December
How many integers are there between 100 and 1000 whose digits add up to an even number?
Show answer
Hide answer
Between 100 and 109 (inclusive), there are 5 integers whose digits add up to an even number, and 5 whose digits add up to an odd number.
Between 110 and 119 (inclusive), there are 5 integers whose digits add up to an even number, and 5 whose digits add up to an odd number...
In general, between \(10n\) and \(10n+9\) (inclusive), there are 5 integers whose digits add up to an even number, and 5 whose digits add up to an odd number.
The integers from 100 to 999 (inclusive) can be split into 45 sets of integers from \(10n\) to \(10n+9\) (and the digits of 1000 don't add to an even number), so there are
450 integers between 100 and 1000 whose digits add up to an even number.