Solution #1: d = 3 :: SWord16 c = 41 :: SWord16 m = 56 :: SWord16 This is the only solution.