5th
2 , 4 , 6 .....100 ..............1>
so total 50
n
5 , 15 , 25 , ,,,,,,,95 ...........2>
total
add 1> and 2>
3125
5th
2 , 4 , 6 .....100 ..............1>
so total 50
n
5 , 15 , 25 , ,,,,,,,95 ...........2>
total
add 1> and 2>
3125
take all multiples of 2 sum is : 2+4+...100 = 51x50 = 2550
sum of multiples of 5 not a multiple of 2
= 5+15+....95
= 5(1+3+5.....19)
=5x100 = 500
total sum is 3050
f(x+y) = f(x)f(y)
f(2x) = f(x)2
also f(n)=f(1)n (Something that i am leaving for you to fill in)
hence the total sum is
f(1)+f(2).... (n) = 120
so 3+32+33+34=120
thus n=4