find the positive integral solutions the equation $$ a+b+c+d+e=20,$$ where $a=b$ and $b,c,d,e$ are distinct.
Need good approach, so I can apply on big number too thanks !
find the positive integral solutions the equation $$ a+b+c+d+e=20,$$ where $a=b$ and $b,c,d,e$ are distinct.
Need good approach, so I can apply on big number too thanks !
Copyright © 2021 JogjaFile Inc.
For moderate numbers (32 bit integers), you could use MiniZinc:
Output: