Problem

Source: 2021 Israel National Olympiad P1

Tags: combinatorics, number theory, Digits



Sophie wrote on a piece of paper every integer number from 1 to 1000 in decimal notation (including both endpoints). a) Which digit did Sophie write the most? b) Which digit did Sophie write the least?