Updated

An Iraqi-born 16-year-old reportedly has cracked a math puzzle that has gone unsolved for over 300 years.

Mohamed Altoumaimi, who immigrated to Sweden six years ago, took only four months to find a formula that explains a sequence of calculations known as the Bernoulli numbers, a code that had stumped some of the best experts in the field, Agence France-Presse reported.

Altoumaimi said after his high school teachers were skeptical about his work he contacted professors at Uppsala University, one of Sweden's top institutions, who confirmed his formula was correct and offered him a place at the university, AFP reported.

The teen opted to continue his general studies but planned to take courses in advanced mathematics and physics this summer, AFP reported.

Click here for more on this story from Agence France-Presse.