OK - I've re-solved it - new method over 10 times faster than my old
one, not as elegant as
Roger's, naturally. Anyway, it does achieve the required answer,
though I encountered one
or two glitches on the way.
Even when everything looks right, it's difficult to spot primes that
you might have omitted.
I won't post the code here, but am happy to discuss further with Don.
Mike
On 17/01/2018 00:16, Don Guinn wrote:
Has anyone solved problem 111? The web page says my answer is wrong, but I
have checked and double-checked and can find no error. Perhaps I have
misunderstood the problem. Just wanted to talk with someone about it th see
where I am messing up.
Thanks
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm