- #71
- 19,739
- 25,743
That is a good suspicion! Such numbers are called coprime.fbs7 said:Hmmm... s(2)=1+2=3, s(3)=1+3=4, s(2*3)=s(6)=1+2+3+6=12=s(2)*s(3)... in the same way s(2)=1+2=3, s(4)=1+2+4=7, s(2*4)=s(8)=1+2+4+8=15... holy choo-choo, that's different than s(2)*s(4)! I forgot something! Thanks Lord that they don't let high-schoolers design homes, otherwise they would forget something like the doors and everybody would have to enter through the roof!
I suspect s(a*b)=s(a)*s(b) only if a and b have no common divisors other than 1 (no common factors).
Your proof is a bit dizzy for my taste. It is better to work with the definition of primes and the fundamental theorem of arithmetics, rather than the linear order.How to prove... for s(2) and s(4), the factors are {1,2} and {1,2,4}, therefore the ##x_i*y_j## forms would be {1*1, 1*2, 1*4, 2*1, 2*2, 2*4} = {1,2,4,2,4,8}... so the 2 and 4 are counted twice... that's because ##x_i1*y_j1## = ##x_i2*y_i2## for some i1 <> i2. If we separate these double-counted forms, then s(2)*(4)-(2+4)=(1+2+4+8)=15=s(8), so s(2*4) = s(2)*s(4) - M. So I suspect in general s(a*b) = s(a)*s(b) - M.
So, two troubles: how to prove M=0 if a and b have no common factors, and how to prove that if d|(x*y) then ##d=x_i*y_j##. Hmm... let's try this without cheating (I cheated too much already by spying on Euler's!).
Defining ##d|z## is true if d is a divisor of z.
I) if d|(x*y) then d is a product of a factor of x and a factor of y; this can be proved by logical arguments (not sure how to prove it an algebraically correct way), as:
expressing z=x*y,d,x,y as the product of primes (notice these are different than ##x_i, y_i## and ##z_i## from the previous post!: ##z=2^{z_2}*3^{z_3}*5^{z_5}*..., d=2^{d_2}*3^{d_3}*5^{d_5}*..., x=2^{x_2}*3^{x_3}*5^{x_5}, y=2^{y_2}*3^{y_3}*5^{y_5}##, then for every prime factor p, ##z_p=x_p+y_p##
as ##d|z##, ##d_p<=z_p##, ie ##d_p<=x_p+y_p##; define:
##dx_p = min( x_p, d_p )##, what makes ##p^{dx_p}|x##
##dy_p = d_p - dx_p##, what makes ##p^{dy_p}|y## [Note]
[Note: ##d_p <= x_p+y_p##, if ##dx_p=d_p## then ##dy_p=0## ie ##p^{dy_p}|y##; otherwise if ##dx_p=x_p## that means ##d_p - dx_p <= x_p+y_p - x_p = y_p##, or ##dy_p - dx_p <= y_p## therefore ##p^{dy_p}|y##]
then name
## u=2^{dx_2}*3^{dx_3}*...##, that makes ##u|d## and ##u|x##
## v=2^{dy_2}*3^{dy_3}*...##, that means ##v|d## and ##v|y##
we get d=u*v for the reason that ##dx_p+dy_p=d_p##
so, if ##d|(x*y)##, then there exists two numbers u and v, such that ##d=u*v## and ##u|x## and ##v|z##. This holds true even if they have common factors.
The fundamental theorem of arithmetic says, that any integer can be written as a product of primes (and of course any number of factors ##\pm 1## which we do not count here).
A prime ##p## is a number, such if ##p## divides a product ##a\cdot b##, then it divides necessarily one of the factors ##a## or ##b##.
(Again, we rule out the units: ##p\neq \pm 1## and of course, ##p## can still divide both, ##a## and ##b##, but it has to divide at least one of them.)
Now let us write ##d = p_1^{r_1}\cdot \ldots \cdot p_m^{r_m}##. Then ##p_1\,|\,d\,|\,(x\cdot y)## and thus e.g. ##p_1\,|\, x##. Now we can cancel ##p_1## and proceed with the next prime. At the end they are all either divisors of ##x## or of ##y##. Since ##x## and ##y## are coprime, they do not share a prime and we have partitioned all divisors of ##p##, either in the ##x-##bucket or the ##y-##bucket and most of all, did not count the same factor twice.
Hence you are allowed to apply the formula to ##z=2^{k-1}\cdot x\, , \,x \text{ odd }##. The condition ##x## odd makes the factors coprime and the formula holds.
Can you explain the last statement, that ##s(x) = 1+a+b+c+...+x = x+y ## implies ##a =b=c=\ldots =0##, i.e. that ##a>1## is not possible?
Last edited: