The team then created the Geek Index by scoring the twins geeky traits, when they were 12, by looking at their:

non-verbal IQ

ability to focus on a subject

social aloofness

Those with a high geek score, unsurprisingly, went on to do better at school – particularly in the fields of science, technology, engineering and mathematics.

Possible explanations include:

Geekier dads could be taking longer to start a family and pass on geeky traits to their children

Older men have a home setting (due to stable, better paid jobs giving more access to education or experience from previous children) that encourages geeky traits

New mutations in sperm that affect development

Dr Magdalena Janecka, from King’s College London, told the BBC News website: “Paternal age should not be the main focus when we’re thinking about risk, individual families should not influence their decisions on parenthood based on these findings.”

The gender differences are not fully explained.

It could be the measure of geekiness failed to spot differences in how it emerged in boys and girls, the scientists said. Or it could be down to differences in the way the brains of the boys and girls developed.

Prof Alan Pacey, from the University of Sheffield, said: “Whilst it may be chic to be a geek, I would not recommend that would-be parents delay their plans to start a family to specifically increase the odds of having a child with geek-like qualities.

“The dangers of older parenting are well described, such as an increased risk of infertility, miscarriage, or conceiving a child with a variety of debilitating disorders.

“However, I do find the idea of a ‘geek gene’ quite intriguing, and, given our recent trend to have our children later in life, perhaps we are destined for future society of geniuses that are going to help us solve all the world’s problems.”

The research team also believe some genetic traits being inherited from older fathers could be affecting both geekiness and autism.

Dr Janecka said: “When the child is born only with some of those genes, they may be more likely to succeed in school.

“However, with a higher ‘dose’ of these genes, and when there are other contributing risk factors, they may end up with a higher predisposition for autism.”