by coincidence vs inadvertently

by coincidence

inadvertently

adv
  • Unintentionally; because of an oversight. 

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