math_fact: 1031 is the length of the largest repunit that is known to be prime.
trivia: 1031 is a number for which we're missing a fact (submit one to numbersapi at google mail!).
historical_date: October 27th is the day in 1838 that Missouri governor Lilburn Boggs issues the Extermination Order, which orders all Mormons to leave the state or be exterminated.