incidentally vs pertinently

incidentally

adv
  • In an incidental manner; not of central or critical importance. 

  • By chance; in an unplanned way. 

  • Parenthetically, by the way. 

pertinently

adv
  • In a pertinent manner; relevantly. 

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