P135
projecteuler.net

Same Differences

ℹ️Published on Friday, 29th December 2006, 06:00 pm; Solved by 7211;
Difficulty rating: 45%

Given the positive integers, x, y, and z, are consecutive terms of an arithmetic progression, the least value of the positive integer, n, for which the equation, x2y2z2=n, has exactly two solutions is n=27: 342272202=1229262=27.

It turns out that n=1155 is the least value which has exactly ten solutions.

How many values of n less than one million have exactly ten distinct solutions?



Soluzione

Last modified: May 27, 2025. Website built with Franklin.jl and the lovely Julia programming language.