Unexpected Seven Segment Output

Sounds like you've either got a wiring problem or a problem with the pins on the Arduino board. Can you try different IO pins for digits 1 and 3?