by a fluke vs inadvertently

by a fluke

inadvertently

adv
  • Unintentionally; because of an oversight. 

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