Invia SMS: Combinatorics and algebra