Problem

Source: 45th International Tournament of Towns, Senior A-Level P2, Fall 2023

Tags: number theory



For which maximal $N$ there exists an $N$-digit number with the following property: among any sequence of its consecutive decimal digits some digit is present once only? Alexey Glebov