Initial implementation for numbers 1 -> 10,000