Numbers between 0 and 9 that have four factors are 6 and 8. So the number in the ones place is either 6 or 8.
Prime numbers between 0 and 9 are : 2, 3, 5 and 7.
The only combination of those numbers that has a factor of 8 would be 56
(56/7 = 8)
The number is 56