I believe this is redundant now. Thank you so much for your time.
Let me guess, you are a student. It is a question from one of your professor … I think it could be better you tried to resolve the equations, but that’s your live.
Some solution there
@Joseph_Oster for sure they didn’t search, but I think there are many answers to the questions asked. I answer with one more circle after each row. There could be other algorithms like the ones @HS_Kim gave on the 2nd thread.
Just trying some others options on a given rectangle, a given number of rows