Solved

Euler's totient/phi function

Posted on 2006-06-27
5
872 Views
Last Modified: 2012-05-05
If gcd(a,n) = 1 and gcd(a-1,n) = 1 then prove that

1 + a + a^2 + a^3 + ... + a^(phi-1) = 0 (mod n)

Where phi = phi(n) is the Euler phi/totient function.

= means "is congruent to"

I can prove this if n is a prime number, but I need the proof for any n > 1.

a and n are integers, of course.
0
Comment
Question by:acerola
  • 2
5 Comments
 
LVL 5

Expert Comment

by:bastibartel
ID: 17044565
Hi there ?

I don't exactly undertand your notation:
1 + a + a^2 + a^3 + ... + a^(phi-1) = 0 (mod n)

the part w/o (mod n) does not depend on n

Secondly, can you prove it for n=1 ?

Cheers,
Sebastian
0
 
LVL 1

Author Comment

by:acerola
ID: 17046672
phi = phi(n) (phi is a function of n)

For n=1 it is trivial, since all numbers are congruent to zero modulus 1.

I have already solved it. The sum is a geometric series. The first element is 1 and the scale facor is a, so:

a^0 + a^1 + a^2 + a^3 + ... + a^(phi-1) = (a^(phi) - 1)/(a - 1)

We know that:

a^(phi(n)) = 1 (mod n)

So:

a^(phi) - 1 = 0 (mod n)
since gcd(a-1,n) = 1, we can divide both sides by (a-1)
(a^(phi) - 1)/(a-1) = 0 (mod n)

That's it. I didn't realize that it was a geometric series. I was trying to solve it using Newton's binomial...
0
 
LVL 5

Expert Comment

by:bastibartel
ID: 17046716
*closed* :-)
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 17076348
Closed, 250 points refunded.
Netminder
Site Admin
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

How to Win a Jar of Candy Corn: A Scientific Approach! I love mathematics. If you love mathematics also, you may enjoy this tip on how to use math to win your own jar of candy corn and to impress your friends. As I said, I love math, but I gu…
Have you ever thought of installing a power system that generates solar electricity to power your house? Some may say yes, while others may tell me no. But have you noticed that people around you are now considering installing such systems in their …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now