MathDB
Bundeswettbewerb Mathematik 1980 Problem 1.1

Source: Bundeswettbewerb Mathematik 1980 Round 1

September 23, 2022
gamenumber theoryDivisibilityDigits

Problem Statement

Six free cells are given in a row. Players AA and BB alternately write digits from 00 to 99 in empty cells, with AA starting. When all the cells are filled, one considers the obtained six-digit number zz. Player BB wins if zz is divisible by a given natural number nn, and loses otherwise. For which values of nn not exceeding 2020 can BB win independently of his opponent’s moves?