MathDB
A nice number theory problem.

Source: 2021 China Second Round Olympiad(A1) P2

October 7, 2021
number theoryfunction

Problem Statement

Find a necessary and sufficient condition of a,b,nNa,b,n\in\mathbb{N^*} such that for S={a+btt=0,1,2,,n1}S=\{a+bt\mid t=0,1,2,\cdots,n-1\}, there exists a one-to-one mapping f:SSf: S\to S such that for all xSx\in S, gcd(x,f(x))=1\gcd(x,f(x))=1.