We have a special function with two key properties that we need to use strategically.
We have:
- f(xy)=f(x)f(y)+f(x)+f(y) for all x,y
- f(p)=1 for every prime number p
Since we know the value of f for all primes, we can build up to find f(160000) by breaking it into prime factors.
160000=16×10000
=24×(102)2
=24×(2×5)4
=24×24×54
=28×54
Since f(2)=1 and f(5)=1, let's find values for their powers.
For powers of 2:
Using the functional equation with x=y=2:
f(4)=f(2×2)=f(2)f(2)+f(2)+f(2)=1×1+1+1=3
The functional equation tells us how to combine two numbers. When we multiply the same number by itself, we substitute both x and y with that number.
f(16)=f(4×4)=f(4)f(4)+f(4)+f(4)=3×3+3+3=15
f(256)=f(16×16)=f(16)f(16)+f(16)+f(16)=15×15+15+15=255
For powers of 5:
f(25)=f(5×5)=f(5)f(5)+f(5)+f(5)=1×1+1+1=3
f(625)=f(25×25)=f(25)f(25)+f(25)+f(25)=3×3+3+3=15
Notice that:
f(p1)=1=21−1
f(p2)=3=22−1
f(p4)=15=24−1
f(p8)=255=28−1
Pattern: f(pn)=2n−1 for any prime p
This pattern emerges because our functional equation has the structure that builds up exponentially.
Since 160000=28×54=256×625:
f(160000)=f(256×625)=f(256)f(625)+f(256)+f(625)
f(160000)=255×15+255+15
f(160000)=3825+270=4095
Therefore, f(160000)=4095.