MathDB
IMC 2017 Problem 3

Source:

August 2, 2017
imc 2017IMCnumber theory

Problem Statement

For any positive integer mm, denote by P(m)P(m) the product of positive divisors of mm (e.g P(6)=36P(6)=36). For every positive integer nn define the sequence a_1(n)=n,\qquad a_{k+1}(n)=P(a_k(n))  (k=1,2,\dots,2016) Determine whether for every set S{1,2,,2017}S\subset\{1,2,\dots,2017\}, there exists a positive integer nn such that the following condition is satisfied:
For every kk with 1k20171\leq k\leq 2017, the number ak(n)a_k(n) is a perfect square if and only if kSk\in S.