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?