consequently vs necessarily

consequently

adv
  • As a result or consequence of something; subsequently. 

necessarily

adv
  • Inevitably; of necessity. 

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