← Complete problem index

PROJECT EULER · #0136

Singleton Difference

Statement only · SolvedOriginal problem ↗

The positive integers, x, y, and z, are consecutive terms of an arithmetic progression. Given that n is a positive integer, the equation, x2y2z2=n, has exactly one solution when n=20: 13210272=20.

In fact there are twenty-five values of n below one hundred for which the equation has a unique solution.

How many values of n less than fifty million have exactly one solution?

Write-up coming later

The complete problem is available here. An approach, code, and answer will be added later.