Envoyer par SMS: Arithmetic, geometry, and coding theory