I have no idea if anyone else has done this before but I decided to answer this once and for all.
You know where Marvin the Paranoid Android is demonstrating his intelligence to the mattress and asks it to pick a number between 1 and 10, and the matress says (IIRC) 7 and Marvin crushingly points out that it's wrong and how stupid the mattress is? Well I thought I'd work it out.
The answer is 2
And I'll hide the reasoning so that others have a chance to think about it and tell my why I'm wrong and why they they are smarter than Marvin.
Spoiler (click to show/hide)
First we have to work out some rules. The fact that a robot asks it would mean it's safe to presume there is a correct answer.
Also, it's important to note that it's NOT 1 and 10 INCLUSIVE
Now, the only way there can be a correct answer is if there is only one number between 1 and 10. Which means that the question must be in a context that only allows this. The simplest context is if it is in base 3 (trinary) so the counting numbers would be 0,1,2,10,11,12,20, etc
In this case, the answer is 2.
Very simple.
Also, it's important to note that it's NOT 1 and 10 INCLUSIVE
Now, the only way there can be a correct answer is if there is only one number between 1 and 10. Which means that the question must be in a context that only allows this. The simplest context is if it is in base 3 (trinary) so the counting numbers would be 0,1,2,10,11,12,20, etc
In this case, the answer is 2.
Very simple.



















