One more property of 31 (which I got from the very cool book by Fran??ois Le Lionnais, Les Nombres Remarquables) is that it is the only prime number known that can be written in two different ways in the form (pr - 1)/ (pd - 1), where p is a prime and r, d are integers with r ??? 3 and d ??? 1.