Question 6
Number theory BDMO 2022 National
About 5 years ago, Joydip was researching on the number 2017. He understood that 2017 is a prime number. Then he took two integers such that and . He created two sequences and where is the remainder upon dividing by 2017, and is the remainder upon dividing by 2017. Among the numbers count of those that are greater than 2017 is . Prove that .