Problem

Source: St. Petersburg 2023 11.3

Tags: number theory



The infinite periodic fractions ab and cd with (a,b)=(c,d)=1 are such that every finite block of digits in the first fraction after the decimal point appears in the second fraction as well (again after the decimal point). Show that b=d.