Here's a question from a professor's page:
Decipher the following simple-substitution cryptogram, in which every letter of the message is represented by a number.
8 23 9 26 4 16 24 26 25 8 18 22 24 13 22 7 13 22 8 8 18 19 7
Hint: The most frequent letters in English in descending order are: ETAOINSHRDLU
I solved it by brute force, just guessing letters,
"this sentence is backwards", written backwards
but I'm curious to know if there's a mathematical way to go about solving it on paper?
This particular problem is "out of the box" because it is written backwards. None of the words when solved will appear in a dictionary. Good for you for solving it, but it depends on recognizing that what you found has meaning while another decryption does not.
If it is an honest substitution cipher in English, things are much easier. You can guess a few of the most common letters, substitute them in, and scan your dictionary for words that match the patterns you have found. Then substitute in the letters you find in the new words and the right one will pop out at you. You need to put in some flexibility in case the text has typos or words not in your dictionary. If you take the puzzle from the newspaper, they often play with the letter frequencies. They may carefully not use any E's, for example.