Problems

Age
Difficulty
Found: 12

How many integers are there from 0 to 999999, in the decimal notation of which there are no two identical numbers next to each other?

A road of length 1 km is lit with streetlights. Each streetlight illuminates a stretch of road of length 1 m. What is the maximum number of streetlights that there could be along the road, if it is known that when any single streetlight is extinguished the street will no longer be fully illuminated?