Any half-decent CAS will let you iterate over all divisors of a given integer, and it's easy to go from there. For example in PARI/GP:


? n = 480000
%5 = 480000
? fordiv(n, w, h = n\w; r = w/h;...