MathDB
Problems
Contests
National and Regional Contests
Israel Contests
Grosman Mathematical Olympiad
2022 Grosman Mathematical Olympiad
P2
P2
Part of
2022 Grosman Mathematical Olympiad
Problems
(1)
Avoiding all $m$ strings of bits
Source: 2022 Grosman Mathematical Olympiad P2
9/22/2022
We call a sequence of length
n
n
n
of zeros and ones a "string of length
n
n
n
" and the elements of the same sequence "bits". Let
m
,
n
m,n
m
,
n
be two positive integers so that
m
<
2
n
m<2^n
m
<
2
n
. Arik holds
m
m
m
strings of length
n
n
n
. Giora wants to find a new string of length
n
n
n
different from all those Arik holds. For this Giora may ask Arik questions of the form:"What is the value of bit number
i
i
i
in string number
j
j
j
?"where
1
≤
i
≤
n
1\leq i\leq n
1
≤
i
≤
n
and
1
≤
j
≤
m
1\leq j\leq m
1
≤
j
≤
m
. What is the smallest number of questions needed for Giora to complete his task when: a)
m
=
n
m=n
m
=
n
? b)
m
=
n
+
1
m=n+1
m
=
n
+
1
?
combinatorics