Skip to main content
OlympiadHQ

Browse · MathNet

Print

IMO Problem Shortlist

counting and probability

Problem

A positive integer is called balanced, if or if can be written as a product of an even number of not necessarily distinct primes. Given positive integers and , consider the polynomial defined by .

a. Prove that there exist distinct positive integers and such that all the numbers are balanced.

b. Prove that if is balanced for all positive integers , then .
Solution
Define a function on the set of positive integers by if is balanced and otherwise. Clearly, for all positive integers .

a. Now for each positive integer consider the binary sequence . As there are only different such sequences there are two different positive integers and such that But this implies that for the polynomial all the numbers are balanced, since for all we have .

b. Now suppose is balanced for all positive integers and . Set for sufficiently large , such that is positive. Then , and this number can only be balanced, if holds. Thus, the sequence must become constant for sufficiently large . But this is not possible, as for every prime we have and for every square we have . Hence .

Techniques

Pigeonhole principlePrime numbersOther