Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.programming Subject: Re: are you interested in number theory AND programming Date: Wed, 17 Jun 2020 23:11:37 +0100 Organization: A noiseless patient Spider Lines: 16 Message-ID: <87ftasyndq.fsf@bsb.me.uk> References: <2122d884-f04b-42f8-b95a-a257b61fef86o@googlegroups.com> <3a3b6135-9e6e-42f5-8088-2774a660f504o@googlegroups.com> <87wo4bp8xo.fsf@bsb.me.uk> <87k10boswq.fsf@bsb.me.uk> <61c49983-9b6b-4f91-adf8-86aa33ada235o@googlegroups.com> <8b0924a3-e189-400c-825b-407a711f9947o@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="de52cdb855cb4f96ea56a70903045d10"; logging-data="17220"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gxDXbWD5FPJCPMW2xoRsbLzPGDHeF/ag=" Cancel-Lock: sha1:oM6ynoURdJeLtUwhM9XJ3QEIw4g= sha1:pzkgeLgAatKQ0Pvv+ZXypa/a9D0= X-BSB-Auth: 1.0a3a7717d0e8f2aa47e3.20200619001753BST.87ftasyndq.fsf@bsb.me.uk Xref: csiph.com comp.programming:10950 James Dow Allen writes: > On Saturday, June 13, 2020 at 11:02:49 PM UTC+7, Ben Bacarisse wrote: >> The first 10 solution sets this program finds are: > Nitpick on terminology: The quadruplets we are talking about are > SOLUTIONS, not "solution sets." The Solution Set would be the > set of all possible solution quadruplets. My program does not look for these solution quadruplets. It looks for solutions to ab(a+b) and groups them by equal value. That's why I called them "solution sets". There is a filter in main that removes all those "sets" that have only one member. -- Ben.