Quadratic residues mod n under 1+floor(n)
Source: 2012 Indonesia Round 2 TST 1 Problem 4
February 26, 2012
quadraticsfloor functionsearchmodular arithmeticinductionpigeonhole principlenumber theory
Problem Statement
Determine all natural numbers such that for each natural number relatively prime with and there exists some integer with .Remark: "Natural numbers" is the set of positive integers.