Problem 2180 · Easy

Count Integers With Even Digit Sum

Count positive integers up to a limit whose digits add up to an even number. The visual walks through digit ranges and uses the parity of the digit sum to count them.

Open the interactive visualisation