The function f(n) is defined on the positive integers and takes non-negative integer values. It satisfies (1) f(mn)=f(m)+f(n),(2)f(n)=0 if the last digit of n is 3, (3) f(10)=0. Find f(1985).
A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.
Solution
If f(mn)=0, then f(m)+f(n)=0 (by (1)). But f(m) and f(n) are non-negative, so f(m)=f(n)=0. Thus f(10)=0 implies f(5)=0. Similarly f(3573)=0 by (2), so f(397)=0. Hence f(1985)=f(5)+f(397)=0.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic and difficulty added by this site.