2020 PUMaC Team 6
Source:
January 1, 2022
number theory
Problem Statement
We say that a string of digits from to is valid if the following conditions hold: First, for , no consecutive run of digits sums to a multiple of . Second, between any two s, there are at least other digits. Find the last four digits of the number of valid strings of length .