75
$\begingroup$

One day, you enter your math classroom. On the board, there are the words POP QUIZ.

Dang it! Was it about fractions? you knew you were bad with fractions.

You look down.

$\begin{array}{|cc|} \hline \text{You can only use your brain, and paper. } \\ \text{The number of digits in this box that are not 1 is} & \text{_______} \\ \text{The number of digits in this box that are not 2 is} & \text{_______} \\ \text{The number of digits in this box that are not 3 is} & \text{_______} \\ \text{The number of digits in this box that are not 4 is} & \text{_______} \\ \text{The number of digits in this box that are not 5 is} & \text{_______} \\ \text{The number of digits in this box that are not 6 is} & \text{_______} \\ \text{The number of digits in this box that are not 7 is} & \text{_______} \\ \text{The number of digits in this box that are not 8 is} & \text{_______} \\ \text{The number of digits in this box that are not 9 is} & \text{_______} \\ \hline \end{array}$

Hint.

All of the blanks are not mostly the same number.

$\endgroup$
9
  • 10
    $\begingroup$ People keep underestimating the work involved here. Cool puzzle. $\endgroup$
    – Solocutor
    Feb 24, 2016 at 23:30
  • 3
    $\begingroup$ Isn't this the same as Puzzle C here: puzzling.stackexchange.com/questions/23554/… - not that it has an answer there! $\endgroup$
    – abligh
    Feb 25, 2016 at 14:46
  • 2
    $\begingroup$ There's also some interesting discussion here : puzzling.stackexchange.com/questions/23557/… $\endgroup$ Feb 25, 2016 at 20:04
  • 6
    $\begingroup$ If this were a real classroom and a real test, I would write out the word "eight" in every blank. But I don't think that's what you're intending... $\endgroup$
    – matt
    Feb 25, 2016 at 20:26
  • 9
    $\begingroup$ duh. the answer's eight (spelled out) $\endgroup$
    – ash4fun
    May 20, 2016 at 18:53

2 Answers 2

52
$\begingroup$

One answer is

1: 25
2: 18
3: 25
4: 24
5: 23
6: 24
7: 26
8: 25
9: 26

To find this, I first noted that each of the blanks must be at least 8, since there are already 8 digits different from the given one. None of the blanks can be 8, though, since that would mean all of the digits in the blanks are the given digit, which would have to be 8, and there can't be 88 digits in the box - at most 27. If a blank were 9, all of the digits would have to be the given digit except, presumably, that 9. But then there would be 24 digits different from 9, which contains two different digits, '2' and '4,' so 9 is ruled out.

Thus, we know every blank is a 2-digit number, so there are indeed 27 digits in total. Thus the average number of digits that aren't a given digit is (9*27 - 27)/9 = 24.

So I started by writing 24 in every blank. I then counted the number of each digit, and wrote what should be in the blanks in that case. Since only '2' and '4' appear in the blanks, the number of non-1 digits is 26, same as 3, 5, 6, 7, 8, and 9, while there are 17 non-2's and 17 non-4's. So I changed the blanks to 26, 17, 26, 17, 26, 26, 26, 26, 26. Then I counted again and corrected. After 11 iterations, I found that I hadn't changed any of the numbers, so I arrived at an answer, which I've written above.

I can't prove that it's unique though. Also, my method may have ended in a cycle, so I was lucky to have found a fixed point.

$\endgroup$
3
  • $\begingroup$ Matches the computer's answer $\endgroup$
    – humn
    Feb 25, 2016 at 8:26
  • 1
    $\begingroup$ Seems to match the computer's algorithm too, after efficiently bypassing some iterations. Thank you for including the number of iterations, Would be interesting to compare with the computer. $\endgroup$
    – humn
    Feb 25, 2016 at 9:06
  • 2
    $\begingroup$ If you would have not started from 24, but with the "empty string" everywhere, you would have finished in fewer iterations. $\endgroup$
    – user10445
    Feb 25, 2016 at 13:55
6
$\begingroup$

An alternative lateral thinking answer:

eight
eight
eight
eight
eight
eight
eight
eight
eight

From what it seems, this doesn't break the rules.

$\endgroup$
5
  • 3
    $\begingroup$ You get a zero on the test $\endgroup$
    – bleh
    Oct 22, 2017 at 21:29
  • $\begingroup$ Is it not correct? $\endgroup$
    – eedrah
    Oct 22, 2017 at 21:30
  • 1
    $\begingroup$ To the teacher it isn't. It's theoretically correct but this is not lateral thinking $\endgroup$
    – bleh
    Oct 22, 2017 at 21:33
  • 1
    $\begingroup$ This was posted already as a comment more than a year ago: "duh. the answer's eight (spelled out) – ash4fun May 20 '16 at 18:53 @ash4fun you see, you can't do that. – bleh May 20 '16 at 20:58" $\endgroup$
    – sumelic
    Oct 23, 2017 at 20:35
  • $\begingroup$ oh woops, I didn't see that. Feel free to delete this if you feel it doesn't contribute. $\endgroup$
    – eedrah
    Oct 24, 2017 at 0:13

Not the answer you're looking for? Browse other questions tagged or ask your own question.