An algebra class has 21 students who all participate in a welcome activity introducing themselves to each other in pairs. One student wants to know how many introductions were made.Need to find the values of n and r .