working on solution, keeps getting stuck at $D = 61