#proving phi
1 messages · Page 1 of 1 (latest)
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close
- Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
i just manged to write
p = kj
ϕ(p) = (k − 1)(j − 1)
ϕ(p) = kj -k-j+1
ϕ(p) = p-(k+j)+1
remember that j and k are prime
and the phi function returns how many numbers are coprime to a certain n and are smaller than that n
wait
now, a prime number has only 2 factors, 1 and itself
so it's GCD with any natural number smaller than it must be 1.
and there are n-1 natural numbers smaller than a given natural number n
i think i got it
also, phi(nm) = phi(n)*phi(m)
there's a proof for that too, but it's on wiki and I do not understand the wiki
i can send the page here though
is this a proof ?
no unfortunately
yeah
i get the logic
idk how to frame that in hieroglyphics
so, you basically have to prove that
$\phi(p) = p-1$ if p is prime
$\phi(mn) = \phi(m)\phi(n)$
No Lifer #GTFOanemia
first one is pretty easy i think
just use the definition of the phi function
btw
$\phi(k) = k\prod_{p|k}\qty(1-\frac{1}{p})$
No Lifer #GTFOanemia
k+j = the number of integers that have a GCD > 1
?
3x7 =21
we have 3, 6, 7 ,9,12,14,15,18,21
i was thinking of applying the inclusion-exclusion principle
now if k is prime, its only prime divisor is itself
so the pseudo-infinite product simplifies down to
$\phi(k) = k\qty(1-\frac{1}{k})$ if k is prime
No Lifer #GTFOanemia
$\phi(k) = k-1$ if k is prime
No Lifer #GTFOanemia
i just need to prove the first one really
i just did that