mouse moving on plane returns to origin
Source: IMOC 2017 N6
August 14, 2021
number theory
Problem Statement
A mouse walks on a plane. At time , it could do nothing or turn right, then it moves meters forward, where is the -th prime. Is it possible that the mouse moves back to the starting point?