### Part (a)
We need to prove that there are no injective functions f:N→N∪{0} such that
f(mn)=f(m)+f(n)∀m,n∈N.
1. Initial Conditions:
- Let m=1. Then f(mn)=f(n) implies f(1⋅n)=f(1)+f(n). Hence, f(n)=f(1)+f(n).
- This implies f(1)=0.
2. Prime Powers:
- For any prime p and non-negative integer a, we have:
f(pa)=af(p).
- This follows by induction. For a=1, it is trivially true. Assume it holds for a, then:
f(pa+1)=f(p⋅pa)=f(p)+f(pa)=f(p)+af(p)=(a+1)f(p).
3. Distinct Primes:
- For pairwise distinct primes p1,p2,…,pk and non-negative integers a1,a2,…,ak, we have:
f(p1a1p2a2⋯pkak)=a1f(p1)+a2f(p2)+⋯+akf(pk).
- This follows from the multiplicative property of f and the fact that f is additive over products of distinct primes.
4. Contradiction:
- Assume f is injective. Then f(2)=0 and f(3)=0.
- Consider f(2f(3)) and f(3f(2)):
f(2f(3))=f(2)⋅f(3)andf(3f(2))=f(3)⋅f(2).
- Since f is injective, 2f(3)=3f(2). However, f(2f(3))=f(3f(2)) implies 2f(3)=3f(2), which is a contradiction.
Thus, no such injective function f exists.
■
### Part (b)
We need to prove that for all positive integers k, there exist injective functions f:{1,2,…,k}→N∪{0} such that f(mn)=f(m)+f(n) for all m,n∈{1,2,…,k} with mn≤k.
1. **Choice of Prime p:**
- Let k be given, and let p be a prime greater than all the exponents appearing in the prime decompositions of the numbers 1,2,…,k.
2. Function Definition:
- Define f(1)=0.
- Let p1,p2,…,pm be the primes not greater than k. Thus, each of the numbers 2,3,…,k only decomposes with the pi's.
- For each i, let f(pi)=pi.
3. Non-prime Numbers:
- For all non-primes t≤k, define f(t) using the property:
f(p1a1p2a2⋯pmam)=a1f(p1)+a2f(p2)+⋯+amf(pm).
4. Verification:
- It is clear that f(mn)=f(m)+f(n) for all m,n such that mn≤k.
- Using the uniqueness of the decomposition in base p, the equality f(t)=f(t′) is equivalent to the fact that t and t′ have the same prime decompositions, which implies t=t′. Hence, f is injective.
■