Observe that:
100+999 =1099, 101 + 998 = 1099 up to 549+550=1099.
So 1099 * (1000-100/2) or 1099 * 450 (450 pairs of numbers that sum to 1099)
or 494,500.
This is a variant of the method exposed in the "Gauss Anecdote"
Chat with our AI personalities
Select all the numbers that $4221462$ is divisible by.
Counting just positive numbers, we have all numbers from 100000 to 999999, the difference is 899,999, but because we count both the starting and ending number, we have to add 1 to this, which makes it 900,000 numbers. Of course if you want to include also negative numbers that makes it 1,800,000. And because we want only EVEN numbers these totals would be divided by 2, so there are 450,000 positive, even, 6 digit numbers and 450,000 negative, even, 6 digit numbers. Total is 900,000. This is considering whole numbers only. If we include ALL numbers than we would also have to count the six digit numbers between 1 and -1... such as .000002 through .999998 thereby doubling again the total to 1.8 million.
That makes:* 8 options for the first digit * 8 options for second digit * 10 options for the third digit * ... etc. Just multiply all the numbers together.
positive integers
234, 243, 324, 342, 423, and 432.