Weird gcd function
Source: St Petersburg 2022 10.5
September 28, 2022
functionnumber theory
Problem Statement
Let be a positive integer and let be all numbers less than and coprime to in increasing order. Find the set of values the function .
Source: St Petersburg 2022 10.5