One factor that seems protective against dementia is to start life with high intelligence. Genetics plays a significant role in that. What are the odds a genius will pass his intelligence to his spawn? Not as great as you might think.
Isaac Newton was a smart guy, but “…according to historians none of Newton’s paternal kinsfolk were able to even sign their names.”