CEMC Banner

Problem of the Week
Problem E
Everything but a Seven

The integer \(107\) contains the digit \(7.\) The integer \(358\) does not contain the digit \(7\).

Determine the sum of all integers from \(1\) to \(2024\) that do not contain the digit \(7.\)