Problem

Source: St. Petersburg 2023 11.3

Tags: number theory



The infinite periodic fractions $\frac{a} {b}$ and $\frac{c} {d}$ 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$.