MathOverflow will be down for maintenance for approximately 3 hours, starting Monday evening (06/24/2013) at approximately 9:00 PM Eastern time (UTC-4).
-2

I want to prove that the positive powers of two, mod 10m, cycle with period 4*5m-1. It's simple to prove that the powers of FIVE cycle with this period (2 is a primitive root mod powers of five), but how do you make the leap to powers of TEN?

I'm sure it's something simple -- perhaps related to the Chinese Remainder Theorem -- but I don't see the connection yet.

Thanks for the help.

flag
It's exactly the Chinese Remainder Theorem. – Qiaochu Yuan Oct 17 2009 at 19:19
Could you elaborate please? – Rick Regan Oct 17 2009 at 20:04
You know that the powers of two have a certain period mod 5^m. What is their period mod 2^m? – Qiaochu Yuan Oct 17 2009 at 21:26
Their ''period'' would always be 1 (powers are always 0). – Rick Regan Oct 17 2009 at 22:02
1 
So if M is a number which leaves a residue of 1 mod 5^k, and a residue of 0 mod 2^k, what residue does it leave mod 10^k? – Alon Amit Oct 17 2009 at 22:59
show 8 more comments

2 Answers

3

And if you insist, let me write this out in detail. All you need is the following lemma.

Lemma: Let f(n) be periodic with period p and let g be injective. Then g(f(n)) is periodic with period p.

Proof. Clearly g(f(n+p)) = g(f(n), so g(f(n)) has some period q dividing p. On the other hand, g(f(n+q)) = g(f(n)) for all n if and only if f(n+q) = f(n) for all n by injectivity, so q = p.

As I remarked above we have bn = b for all but finitely many n and x -> CRT(x, b) is an injection. The result follows.

link|flag
Thanks Qiaochu. (I got another answer at physicsforums.com/… which you might want to check out. It appeals to me more because it uses algebra and exponent arithmetic and does not use the CRT explicitly.) – Rick Regan Oct 28 2009 at 13:47
-1

The answer I like best is based on the proof in the "physics forums" thread linked to in the comments above. I wrote about it in detail here: http://www.exploringbinary.com/cycle-length-of-powers-of-two-mod-powers-of-ten/

link|flag
Not sure about the etiquette of accepting your "own " answer... – Yemon Choi Nov 9 2009 at 20:42
From the FAQ: "It's also perfectly fine to ask and answer your own question... Also, we recommend not answering your own question immediately since leaving the question "open" encourages other people to respond to it. You might discover that somebody else has an even better answer!" I think waiting 23 days for other answers was sufficient. Also, I cited a source upon which I based my answer, but it was given in piecemeal fashion in a forum thread. I wrote an article to try to present the answer clearly -- and it was long with lots of math notation -- so I cited it here instead of copying it. – Rick Regan Nov 9 2009 at 22:29
This is also from the FAQ: "you don't earn any reputation for accepting your own answer to a question". So in other words, they're implying it's OK to accept your own answer. – Rick Regan Nov 9 2009 at 22:32
Fair enough. Reverting (i.e. +1) – Yemon Choi Nov 10 2009 at 18:26

Your Answer

Get an OpenID
or

Not the answer you're looking for? Browse other questions tagged or ask your own question.