which number was it?
Yes, thats why I said above "depending on the complexity of the problem". Its still possible for things with a low complexity e.g. numbers between 1 and 10 if I dont tell you the format of the solution.
E.g. I could have hashed:
The solution is the number "one"; today is 2015.08.17
This would require me to reveal the solution at a certain time and everyone can use the hash to check that I did not cheat.
I had the impression that OP wanted to enable users to check themselfes whether a result is correct or not. In this case encryption would not be a possible solution.