in reply to Re^2: Tricky math problem ...
in thread Tricky math problem ...
> I need to know how many of these squares are in the space and all their coordinates (tuples).
You are implying there is only one solution, that's wrong because you exclude overlaps.
Maybe you have an "optimal" solution in mind, but you didn't tell us the criteria.
Like
otherwise the solution is trivial, just take all "squares" with length 1.
Give us your solution for your OP maybe we can guess what you really want.
Smells like an XY problem to me.
Rectangles instead of squares would be much easier.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Tricky math problem ...
by bliako (Abbot) on May 04, 2019 at 14:57 UTC | |
|
Re^4: Tricky math problem ...
by baxy77bax (Deacon) on May 04, 2019 at 11:30 UTC | |
by roboticus (Chancellor) on May 04, 2019 at 12:29 UTC |