For example:
An RLC circuit is composed of resistor, inductor, and capacitor elements.
Or:
An RLC circuit is composed of a resistor, an inductor, and a capacitor elements.
Which one is grammatically correct?
The part that confuses me is at the end of the list ".. and a capacitor elements." I know that the word "elements" refers to the items of the list (plural); but being right after a singular countable noun makes me feel something is wrong.