N for number of objects, P for amount of one type of unique repeating object, Q for number of a second type of unique repeating object. i.e. For the set {w w t w v t} there are six objects (n = 6), the letter w (a unique repeating object in the set) is mentioned three times (p = 3) and the letter t (a second type of unique repeating object) is mentioned twice (q = 2)
Algebra II is chewing me up and spitting me back out... *unenthusiastic* Yay, education.