Talk:Square-free integers

From Rosetta Code
Revision as of 20:30, 6 January 2019 by PureFox (talk | contribs) (Responded to apparent anomaly.)

1000000145 isn't square-free

Am I missing something here?

1000000145 = 5 * 59 * 911 * 61^2

That looks very unsquare-free to me. Why is it that all of the solutions seem to have it included in the list of square-free numbers? The racket solution has unit tests to labour the point that this is wrong. --Tim-brown (talk) 18:46, 6 January 2019 (UTC)

Hi Tim,
The number to be tested is one trillion one hundred forty five i.e. 1,000,000,000,145. Your number is one billion one hundred forty five i.e. 1,000,000,145.--PureFox (talk) 20:30, 6 January 2019 (UTC)