1 to 30000 printed out as one long string; how often does 2017 appear?

enoimreh7

New member
Joined
Nov 14, 2017
Messages
34
A computer prints consecutively all figures of from 1 to 30000. There originates the following figure row: 123456789101112 ... 2999930000. How often does the annual number 2017 appear in this row?
I can Count them, but how do I prove the logical answer?
 
Last edited by a moderator:
You can prove it by showing how you counted. If you did so in a logical way, that can work as a proof.

Would you like to show what you did, so we can comment on whether it is correct, or how to improve the way you explain it?
 
Top