Question 1186251
r, number of rows
p, number of seats per row
504, number of seats


{{{r*p=504}}}


---------------------------------------------
3 fewer rows than there are seats per row.
---------------------------------------------


{{{p-r=3}}}


System of two equations, two variables
{{{system(rp=504,p-r=3)}}}


Maybe avoid any quadratic equation through factors of 504.
{{{504}}}
{{{9*56}}}
{{{12*42}}}
{{{14*36}}}
{{{21*24}}}-----------these differ by 3.


====================
24 seats per row
21 rows
====================