There are 367 such quadruplets.
For an explanation, refer to the solution submitted by Charlie in this location.
if a, b, c and d were required to be unique (no repeated integer), then there are 95 such quadruplets
. This has been succinctly explained by Charlie in this location.
|