Riddle #812

logicshort

The Missing Servant

A king has 100 identical servants, each with a different rank between 1 and 100. At the end of each day, each servant comes into the king's quarters, one-by-one, in a random order, and announces his rank to let the king know that he is done working for the day. For example, servant 14 comes in and says "Servant 14, reporting in." One day, the king's aide comes in and tells the king that one of the servants is missing, though he isn't sure which one. Before the other servants begin reporting in for the night, the king asks for a piece of paper to write on to help him figure out which servant is missing. Unfortunately, all that's available is a very small piece that can only hold one number at a time. The king is free to erase what he writes and write something new as many times as he likes, but he can only have one number written down at a time. The king's memory is bad and he won't be able to remember all the exact numbers as the servants report in, so he must use the paper to help him. How can he use the paper such that once the final servant has reported in, he'll know exactly which servant is missing?
When the first servant comes in, the king should write down his number. For each other servant that reports in, the king should add that servant's number to the current number written on the paper, and then write this new number on the paper. Once the final servant has reported in, the number on the paper should equal (1 + 2 + 3 + ... + 99 + 100) - MissingServantsNumber Since (1 + 2 + 3 + ... + 99 + 100) = 5050, we can rephrase this to say that the number on the paper should equal 5050 - MissingServantsNumber So to figure out the missing servant's number, the king simply needs to subtract the number written on his paper from 5050: MissingServantsNumber = 5050 - NumberWrittenOnThePaper
87.71 %
46 votes

Similar riddles

See also best riddles or new riddles.

cleanlogicshort

Cowboy

How could the cowboy travel on friday, then sleep two days and then travel back home on friday.
If the horse was named Friday.
94.69 %
48 votes

logicshort

The mystery of Cindy

The day before yesterday Cindy was 17. Next year she will be 20. How can this be?
The statement was made on January 1. Cindy's birthday is on December 31. She was 17 the day before yesterday (Dec 30). She was 18 yesterday. She will be 19 this year (Dec 31) and 20 next year.
93.98 %
42 votes

logicmathshort

Half of two plus two

Is half of two plus two equal to two or three?
Three. It seems that it could almost be either, but if you follow the mathematical orders of operation, division is performed before addition. So... half of two is one. Then add two, and the answer is three.
93.98 %
42 votes

cleanlogicshortwhat am I

I have billions of eyes

I have billions of eyes, yet i live in darkness. I have millions of ears, yet only four lobes. I have no muscle, yet i rule two hemispheres. What am I?
I am the human brain. The brain has billions of optic and auditory nerves, four lobes and two hemispheres, and is an organ of the human body.
93.84 %
41 votes

logicshort

Word rebus

What word does this rebus represents? meta meta meta meta
Metaphor (Meta 4).
93.84 %
41 votes

logicmathshort

Square root of the number

We all know that square root of number 121 is 11. But do you know what si the square root of the number "12345678987654321" ?
111111111 Explanation: It's a maths magical square root series as : Square root of number 121 is 11 Square root of number 12321 is 111 Square root of number 1234321 is 1111 Square root of number 123454321 is 11111 Square root of number 12345654321 is 111111 Square root of number 1234567654321 is 1111111 Square root of number 123456787654321 is 11111111 Square root of number 12345678987654321 is 111111111 (answer)
93.84 %
41 votes