Suppose there were
10
levers and each
configuration
of these 10 levers would give you a different painting. You coded a robot that flips a lever, to give you a different painting
each
day
at 7:00. On the
th day, you see a same painting. What is
?
Note: Each lever can only be flipped a maximum of 10 times
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We use the Pigeonhole Principle that:
if n items are put into m containers, with n>m>0, then at least one container must contain more than one item.
We're going to use that principle here with a bit of probability:
There are 2 1 0 configurations of 10 levers, as each lever has two states, On and Off . Because of the pigeonhole principle, we need to find the smallest integer larger than 2 1 0 which is 2 1 0 + 1 .
∴ You have to wait 2 1 0 + 1 = 1 0 2 5 days before a same painting appears again.