MathDB
2021 TCS Problem 2

Source:

March 2, 2021
number theoryalgebra

Problem Statement

You are initially given the number n=1n=1. Each turn, you may choose any positive divisor dnd\mid n, and multiply nn by d+1d+1. For instance, on the first turn, you must select d=1d=1, giving n=1(1+1)=2n=1\cdot(1+1)=2 as your new value of nn. On the next turn, you can select either d=1d=1 or 22, giving n=2(1+1)=4n=2\cdot(1+1)=4 or n=2(2+1)=6n=2\cdot(2+1)=6, respectively, and so on.
Find an algorithm that, in at most kk steps, results in nn being divisible by the number 20212021202112021^{2021^{2021}} - 1.
An algorithm that completes in at most kk steps will be awarded:
1 pt for k>202120212021k>2021^{2021^{2021}} 20 pts for k=202120212021k=2021^{2021^{2021}} 50 pts for k=10104k=10^{10^4} 75 pts for k=1010k=10^{10} 90 pts for k=105k=10^5 95 pts for k=6104k=6\cdot10^4 100 pts for k=5104k=5\cdot10^4