Exact sum-and-product counts

Count ordered nonnegative tuples. Both the sum and product boundaries include equality.

Integer inputs

F₃(6, 6) = 83

At least one zero
64
All coordinates positive
19
Positive sum cap
6

Same S and T, different dimensions

DimensionZeroPositiveTotal
2D131225
3D641983
4D19515210

Reference method: 64 zero-product tuples plus 19 positive triples.

Exact bounded reference, not the fast research algorithm. No native C++ code runs here. Browser time is not a C++ benchmark.

Read the article