Project Euler problem 966

ID: project-euler-problem-966

GPT-5 produced some C++ code, we told it it was wrong and second try worked:
29337152.09
Programs:

New to topics? Read the docs here!