Lesser Digits

How many positive integers less than or equal to 4000 can be written down without using the digits 7, 8 or 9?
Exploring and noticing Working systematically Conjecturing and generalising Visualising and representing Reasoning, convincing and proving
Being curious Being resourceful Being resilient Being collaborative

Problem

How many positive integers less than or equal to 4000 can be written down without using the digits 7, 8 or 9?