We're given that f(mn)=f(m)f(n) for all positive integers m and n.
This means that the function value of a product equals the product of the function values. This is called a multiplicative function.
Let's use the given property with m=1 and n=2:
f(1×2)=f(1)×f(2)
f(2)=f(1)×f(2)
Since f(2) is a positive integer, we can divide both sides by f(2) to get:
1=f(1)
Therefore, f(1)=1.
Since we know f(1)=1 and f(1)<f(2), we have f(2)>1.
Let's call:
f(2)=a (where a is a positive integer greater than 1)
f(3)=b (where b is a positive integer)
Using f(mn)=f(m)f(n), we can find:
For f(4):
f(4)=f(2×2)=f(2)×f(2)=a2
For f(6):
f(6)=f(2×3)=f(2)×f(3)=ab
For f(24):
Since 24=23×3=8×3:
f(24)=f(8)×f(3)
But f(8)=f(23)=f(2×2×2)=f(2)3=a3
So: f(24)=a3×b=a3b
We know that f(24)=54, so:
a3b=54
We need to find positive integer values of a and b such that a3b=54.
Let's factor 54: 54=2×33=2×27
Testing values:
If a=3: then 33×b=27b=54, so b=2
If a=2: then 23×b=8b=54, so b=6.75 (not an integer)
Therefore: a=3 and b=2
This means f(2)=3 and f(3)=2.
Since 18=2×32:
f(18)=f(2×32)=f(2)×f(32)
And f(32)=f(3×3)=f(3)×f(3)=b2=22=4
Therefore:
f(18)=f(2)×f(32)=3×4=12
Therefore, f(18)=12