Got I hate these things...

Ok now that I've got that out of the way, I really need help with the following two problems. Not really as much interested in the actual answers as I am in the way you would solve this. Any hints at all would be of great help.

1. Let n = p1^k1 * p2^k2 ... * pm^km where p1, p2, ..., pm are distinct prime numbers and k1, k2, ..., km are positive integers. How many ways can n be written as a product of two positive integers that have no common factors?
a) Assuming that order matters, so 8*15 and 15*8 are regarded as different?
b) Assuming that order does not matter?

2. A calculator has an n-digit display and a decimal point that is located at the extreme right of the number displayed, at the extreme left, or between any pair of digits. The calculator can also display a minus sign at the extreme left of the number. How many distinct numbers can the calculator display? Also note that 1.9, 1.90, and 01.900 should all be considered the same number.

Like I said, don’t care about the answers, I just have no idea how to even approach either of these. Please help me out.