To find out how much each person needs to pay towards the bill, you divide the total bill by the number of people.
The total bill is $52, and there are 4 people (Randy and his 3 friends).
\[ \text{Amount per person} = \frac{\text{Total bill}}{\text{Number of people}} = \frac{52}{4} = 13 \]
Each person needs to pay $13.
So, \( n = 13 \).