I don't now if I've worded the title correctly, that's probably not the name of what I'm looking for so I'll just describe it. I want to get the most equal integer divisors of a given even number. For example for 12 I would want 3 and 4 (or 4 and 3) and not 6 and 2 and not 12 and 1. I call them 'square' because 3 and 4 would make a more square shape than 6 and 2.
Other examples:
30 -> 5 and 6
48 -> 6 and 8
28 -> 7 and 4
I only want to find these divisors and no others.
\lfoor30is. The numbers would all be under 100. You mean a rounded down (floor) square root? – Hasen Oct 02 '22 at 13:08