, the indefinite article) can serve as the article for more than one noun without any problem. an earthquake or explosion = an earthquake or an explosion an apple or pear = an apple or a pear On the other hand, expressions like "hundreds of", "thousands of", etc. all take a plural, so it has to be "thousands of kilometers".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.