Imagine that there might be a real number that contains (in an encoded form) the entire works of Shakespeare. Let's call this number a "Shakespeare number".
Can you give an example of an algorithm to generate Shakespeare numbers?
The problem, as originally stated, is too vague. I added more specifics:
1) No tricks... You should not hardcode in your algorithm the entire text of Shakespeare works, or assume prior knowledge.
2) The real number must be well defined.