 This involves the absurd notion of negative coconuts; so we add 15625 to -4 and add 1024 to -1 to get the smallest positive solution "(15621, 1023)".The negative coconuts approach doesn't apply to the Williams version, at least not for any reasonably small |"N"|, so a more systematic approach is needed.The search space can be reduced by a series of increasingly larger factors by observing the structure of the problem so that a bit of trial and error finds the solution.