Solution:
Let the number of undergraduate students be "n"
Let the number of graduate students be "g"
Given that,
The number of graduate students was approximately 21,000 fewer than the number of undergraduate students
number of graduate students = number of undergraduate students - 21000
g = n - 21000
Thus, n - 21000 is the number of graduate students who attended the university A