BERLIN — Humans and Neanderthals may have coexisted in Europe for more than 5,000 years, providing ample time for the two species to meet and mix, according to new research.

Using new carbon dating techniques and mathematical models, researchers examined about 200 samples found at 40 sites from Spain to Russia, according to a study published Wednesday in the journal Nature.

They concluded with a high probability that pockets of Neanderthal culture survived until between 41,030 and 39,260 years ago.

Although this puts the disappearance of Neanderthals earlier than some scientists previously thought, the findings support the idea that they lived alongside humans, who arrived in Europe about 45,000-43,000 years ago.

“We believe we now have the first robust timeline that sheds new light on some of the key questions around the possible interactions between Neanderthals and modern humans,” said Thomas Higham, an archaeologist at the University of Oxford who led the study.

While it’s known that Neanderthal genes have survived in the DNA of many modern humans to this day, suggesting that at least some interbreeding took place, scientists are still unclear about the extent of their contact and the reasons why Neanderthals vanished.

“These new results confirm a long-suspected chronological overlap between the last Neanderthals and the first modern humans in Europe,” said Jean-Jacques Hublin, director of the Max Planck Institute for Evolutionary Anthropology in Leipzig, Germany, who wasn’t involved in the study.

Apart from narrowing the length of time that the two species existed alongside each other to between 2,600 and 5,400 years, Higham and his colleagues also believe they have shown that Neanderthals and humans largely kept to themselves.

“What we don’t see is that there is spatial overlap (in where they settled),” said Higham.

This is puzzling, because there is evidence that late-stage Neanderthals were culturally influenced by modern humans. Samples taken from some Neanderthal sites include artifacts that look like those introduced to Europe by humans migrating from Africa. This would point to the possibility that Neanderthalsadopted certain human habits and technologies even as they were being gradually pushed out of their territory.