Suppose \(g(n) = \sum\limits_{i=1}^n f(i)\) then \(f(n) = ?\)
@ikram002p @imqwerty
g(n) is multiplicative or f(n) ?
g(n) is just a partial sum g or f need not be multiplicative
Suppose \(g(n) = \sum\limits_{i=1}^n f(i)\) then \(f(n) = ?\)
basically we want to express \(f\) as a function of \(g\)
in other words, we want the \function, \(f\), back
ok g(n)=f(1)+f(2)+...+f(n) g(n)-f(n)=f(1)+...+f(n-1) f(n)=g(n-1)-g(n)
Perfect!
wait, there seems to be a sign error... check again
:o this is how we do it :) thanks!! :D
wait no i have made some mistake f(n)=g(n)-g(n-1) :P
Yes :) its a trivial problem... but I think it is a very good problem to enter the beautiful world of mobius inversion and stuff!
its recursive formula ok keep going
In light of above result, try finding below : Suppose \(g(n) = \sum\limits_{d\mid n} f(d)\) then \(f(n) = ?\)
then i need a shower lol
its not going to be trivial
you're euler if you're able to figure out \(f(n)\) on your own!
shower may not help that much..
here is the complete theorem :
well i start to think of it as this. if \( n=p_1p_2...p_k\) \(g(n)=\sum_{d|n} f(n)= f(p_1)f(p_2)...f(p_k)\)
Theorem : If \(g(n) = \sum\limits_{d\mid n} f(d)\) then \(f(n)\) is given by \[f(n) = \sum\limits_{d\mid n}\mu(d)g(n/d) \]
oh i was so close to that :P
i ws thinking like how we solved the previous problem if we do that we get this-\[g(n)-\left[ f(d_1)+f(d_2)+f(d_3).. \right]=f(n)\] so we need some g(n) which must equal \(f(d_1)+f(d_2)+f(d_3)..\) so as to express f(n) in terms of g(n)
here is an interesting result based on that theorem : we know that \(\tau(n) = \sum\limits_{d\mid n}1\) applying previous theorem gives \(1 = \sum\limits_{d\mid n} \mu(d)\tau(n/d)\)
impressive! ok brb
that is a nice start !
it took me several weeks to wrap my head around this theorem... I would be amazed if somebody gets this on the first day itself !
ikram, f and g need not be multiplicative...
lol m getting dizzy now xD i'll be back after i finish my home wrk :)
ermm i know, that property i used earlier which seems i'm the only one who use it xD
we had a lot of number theory for one day haha maybe lets get back on this tomorrow
sure!
ermmm lol i hope it won't take me that much.
Join our real-time social learning platform and learn together with your friends!