Skip to main content
OlympiadHQ

Browse · MathNet

Print

Thai Mathematical Olympiad

Thailand number theory

Problem

Denote by the exponent of in the prime factorization of . Show that for arbitrary positive integers and there exists an integer for which .
Solution
We will use the well-known fact that . If the base-2 form of the number is , where the digits are all or , then Now we will show that there exists an integer which is relatively prime to , and an infinite sequence of positive integers such that Let where is odd, and consider an arbitrary positive integer for which divides . By the Euler-Fermat theorem, and, due to , The relations (1) and (2) determine the residue class of modulo , and it must be relatively prime to . Since and are relatively prime, there is a positive integer such that . For we achieve

Techniques

Fermat / Euler / Wilson theoremsChinese remainder theoremFloors and ceilings