Envoyer par SMS: Proofs and generalizations of the pythagorean theorem