an vs with

an

prep
  • In each; to or for each; per. 

noun
  • The first letter of the Georgian alphabet, ა (Mkhedruli), Ⴀ (Asomtavruli) or ⴀ (Nuskhuri). 

article
  • Used before one and words with initial u, eu. 

  • Used before a vowel sound. 

  • Used before all consonants. 

  • Used before /h/ in an unstressed syllable. 

  • Used before /h/ in a stressed syllable. 

num
  • one 

with

prep
  • In regard to. 

  • Against. 

  • In the company of; alongside, close to; near to. 

  • Having, owning. 

  • In addition to; as an accessory to. 

  • Using as an instrument; by means of. 

  • Used to add supplemental information, especially to indicate simultaneous happening, or immediate succession or consequence. 

  • Prompted by (a certain emotion). 

  • Keeping up with; understanding; following along. 

  • Affected by (a certain emotion or condition). 

  • In the employment of. 

  • In support of. 

adv
  • Along, together with others, in a group, etc. 

How often have the words an and with occurred in a corpus of books? (source: Google Ngram Viewer )