Francesco Totti made Serie A history as Roma beat Genoa 3-1, while Inter Milan moved into fourth place after beating Catania.