The LCM of two number is 40.one of the number is 5.what is the other number?

since 40=2^3*5, the other number must be 2^3=8

no other primes or higher powers of 2 and 5 works.