[Jprogramming] Quora Problem
Roger Hui
rogerhui.canada at gmail.com
Sun May 20 06:36:25 UTC 2018
> sets of three positive integers that sum to 1,000,000
That's a partition of size 3 (of 1e6).
http://en.wikipedia.org/wiki/Partition_(number_theory)
On Sat, May 19, 2018 at 11:17 PM, Skip Cave <skip at caveconsulting.com> wrote:
> The problem is to find and count all of the unique sets of three positive
> integers that sum to 1,000,000. For example, one of the triples is:
>
> +/333332 333333 333335
>
> 1000000
>
> ...
>
More information about the Programming
mailing list