In a dusty archive at King's College, Cambridge, a six-page handwritten scrap of paper sat unnoticed for decades. Now, that fragment is rewriting what we thought we knew about Alan Turing, the mathematician who helped crack the Nazis' Enigma code during World War Two.

Professor Sarah Dillon, a literature expert at Cambridge, recently transcribed and studied the short story called "Pryce's Buoy" for the first time. Her findings, published in the academic journal The Review of English Studies, reveal a Turing far removed from the socially awkward genius depicted in films like The Imitation Game.

"We've distilled a version of Turing that is a two-dimensional stereotype," Dillon said. "He's come to be seen as socially unaware, entirely concerned with logic and numbers, and pretty isolated. His short story reveals a very different man: playful, funny, cheeky, literary and someone who really liked sex."

Dillon believes Turing wrote the story in late 1952 or early 1953, just a few years before his death at age 41. The story centers on Ron Miller, a working-class young man who exchanges sex for money, and Alec Pryce, a homosexual scientist whose famous invention earned him fame in his twenties. The character of Alec is clearly Turing himself.

Dillon has no doubt the story directly fictionalizes an actual encounter Turing had in late 1951, the same encounter that would later lead to his arrest under Britain's anti-gay laws. The fragment shows two men spotting each other on the street, agreeing to go to a restaurant together, and then abruptly cutting off mid-sentence with the words: "Ron wouldn't."

Dillon describes the story's power in capturing the tension of a potential romantic or sexual encounter. "I love the hesitancy, the way it evokes the uncertainty," she said. "'Am I reading this situation wrong?' 'Am I going to put my foot in it?' Turing gets those tensions, the leaning in and backing out. He does it really well."

The story also revealed an unexpected connection. Dillon identified Angus Wilson, another Bletchley Park veteran who later became a famous novelist, as the inspiration behind the story. The two men didn't meet during the war but became acquaintances afterward through King's College social circles.

Dillon sees the fragment as evidence that literature offered Turing something his mathematical work could not. "This was the moment when he really felt a release, a chance to be more creative and playful," she said. Whether the rest of the story was lost, censored by his mother, or simply never finished remains a mystery.

"There was clearly more, and that's so frustrating," Dillon admitted. "But everything else is so exciting."