Fun math in action here: these two broods emerge every 13 and 17 years, respectively. Those two numbers are coprime, so their least common multiple, the next time a multiple of one will coincide with a multiple of the other, is 13 * 17 = 221, which subtracted from 2024 is 1803, when Thomas Jefferson was president and the previous time the broods emerged in the same year.