?
Solved

Euler's totient/phi function

Posted on 2006-06-27
5
Medium Priority
?
892 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction On a scale of 1 to 10, how would you rate our Product? Many of us have answered that question time and time again. But only a few of us have had the pleasure of receiving a stack of the filled out surveys and being asked to do somethi…
This article seeks to propel the full implementation of geothermal power plants in Mexico as a renewable energy source.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Suggested Courses

800 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