1. His mother was a painter and a pianist.

2. His mother was a painter and pianist.

Which one is grammatical? Two a's or one a?