by henderson, Dec 16, 2016, 3:48 PM

Arnaldo and Bernaldo play the following game: given a fixed finite set of positive integers

known by both players, Arnaldo picks a number

but doesn't tell it to anyone. Bernaldo thens pick an arbitrary positive integer

(not necessarily in
). Then Arnaldo tells the number of divisors of
. Show that Bernaldo can choose

in a way that he can find out the number

chosen by Arnaldo.
(Brazil MO 2013)

Let us say the primes that divide at least one element from

are
. An element

can be represented then as
, with
. When
, the number of divisors of

is
. Let us plug in
; then

is a polynomial in

of degree
, where the coefficient of

is precisely
. In fact, if we take
, then

is the writing in basis

of some (huge) integer, and all "digits" can be determined, namely also the values
. So all is left to do is to take
, where
, and
.
This post has been edited 3 times. Last edited by henderson, Jan 4, 2017, 2:42 PM