> The data on the innovators reveal three initial characteristics. First, there is large variation in age: 42 percent of innovations came about when their creators were in their 30s, while 40 percent occurred when the inventors were in their 40s, and 14 percent appeared when the inventors were over 50. Second, there were no great achievements produced by innovators before the age of 19, and only 7 percent were produced by innovators at or before the age of 26 (Einstein's age when he performed his prize winning work). Third, the age distributions for the Nobel Prize winners and the technologists are nearly identical.
From https://www.nber.org/digest/dec05/great-inventions-come-late... which is non-technical summary of https://www.nber.org/papers/w11359
At least considering Nobel prizes (very impactful "inventions") and "outstanding technological innovations", it seems best age is between age 30-50.