Taking into account that 987 = 3*7*47 is the primary decomposition of the number 987, I can state that three such numbers satisfying the conditions of the post are 1, 7, and 3*47 = 141.