Hamlet Monkey Number

The Hamlet Monkey Number is equivalent to the odds of a monkey randomly typing the Shakespearean play Hamlet perfectly on its first try on a 48-key keyboard. It is approximately \(1.0391 \times 10^{307,383}\).

To calculate this number, one must calculate \(48^{182,831}\) since there are 182,831 characters in the whole text of the play.