I'm unclear if this is one giant number or if it's three numbers.
The factors of 30p4q3r are three 2's, two 3's, one 5, one p, one q, and one r.
The factors of 42p2r are one 2, one 3, one 7, and one r.
The factors of 18p2q2r are three 2's, two 3's, one p, one q, and one r.
If this is one giant number all multiplied together, then the factors are seven 2's, five 3's, one 5, one 7, two p's, two q's, and three r's.
6p2r(5p2q3 - 3q2 + 7)
I'm unclear if this is one giant number or if it's three numbers. The factors of 30p4q3r are three 2's, two 3's, one 5, one p, one q, and one r. The factors of 42p2r are one 2, one 3, one 7, and one r. The factors of 18p2q2r are three 2's, two 3's, one p, one q, and one r. If this is one giant number all multiplied together, then the factors are seven 2's, five 3's, one 5, one 7, two p's, two q's, and three r's.