It was through his work for the insurance companies that Gram became close to another Danish mathematician, Thorvald Thiele, who worked as an actuary.
Ito ay sa pamamagitan ng kanyang trabaho para sa mga kompanya ng seguro na Gram ay naging malapit sa isa pang Danish dalubbilang, Thorvald Thiele, na nagtrabaho bilang isang actuary.