Hey! In this note I'm going to talk about a very cool pattern... in the case of 3, observe the sequence below:
\[\displaystyle { P }_{ 0 }=3\\ { P }_{ 1 }={ 3 }^{ { P }_{ 0 } }=27\\ { P }_{ 2 }={ 3 }^{ { P }_{ 1 } }=...84987\\ { P }_{ 3 }={ 3 }^{ { P }_{ 2 } }=...39387\\ { P }_{ 4 }={ 3 }^{ { P }_{ 3 } }=...55387\\ { P }_{ 5 }={ 3 }^{ { P }_{ 4 } }=...95387\\ { P }_{ 6 }={ 3 }^{ { P }_{ 5 } }=...95387\]
Notice that the digits at the end stay the same! In fact, we add one "fixed" digit every time. The cool part is that this works for every natural number coprime to 1000 - which also implies it works for any prime greater than 5, and that this works 40% of the time! () In this note I'm only covering the special case where has fixed digits -- there are other cases, such as when you use 5, that grow far more quickly.
The first step is to show that if is coprime to 1000 then
This is justified because , where is the Carmichael function which gives the minimum value (for where 100 is) for the equation above. Now, let . Let's compute :
We now have that , and we can induct to show that .
In this section I'll use as a number coprime to 1000. Let be the digit of , and let be the number of digits in . Observe that
Using our previous result, if we evaluate mod , a lot of terms will just become 1 and can be ignored. So we get a new product:
Okay, so really we only care about the last digits of if we're finding the last digits of . (Specifically we raise j to in mod )
Now I can prove the conjecture about the last digits (by induction). The base case is easy, so I'll leap right into showing that the next has fixed digits.
First, we assume that the last digits of are fixed. This means we only need to show that we add another fixed digit in . For this part, let and let be the digit from the end of . We want to show that:
which essentially says that the last digits of will be the last digits of all later terms in the series. The two finds I made earlier make this very easy:
which we may reduce to
We know from earlier that will give , and by definition . Thus the statement we started with is true, and we're done!
Please comment if you have any questions/concerns or any further ideas!
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Yes, this makes good sense! Beautiful!
That's how I think of it: For the Carmichael Lambda we have λ(10m)∣10m−1 for m≥3 . Also, λ(100)=20,λ(20)=4 and λ(4)=2.
Thus, for an odd integer a, we can "work our way up" as follows: a≡1(mod2) , so aa≡a(mod4) so aaa≡aa(mod20) so aaaa≡aaa(mod100) and m+1a≡ma(mod10m−1) for all positive integers m.
Log in to reply
Cool! Do you have any ideas on how the resulting series of fixed digits could be found? I'm trying to find some patterns in them but haven't found anything yet...
Log in to reply
I'm sure you will figure it out ;) Enjoy!
This looks interesting! Thank you for sharing!
It is not hard to see that, for any two positive integers b and n, the "power tower" mb=bbb... eventually becomes stationary modulo n. We can prove this by induction on n; let's assume the claim to be true for integers <n . Then the exponent m−1b of our power tower will eventually become stationary modulo ϕ(n) , so that the whole tower will become stationary modulo n by Euler's Theorem.
In your article, you quantify the "eventually" part of this statement in some cases... I look forward to studying the details when I have some free time.
I think there is a typo you said let a^100=1000b+1 and then took a^1000=(1000b+1)^1000.
Log in to reply
Yeah, I meant to raise it to the 10th. But, the proof still works :)
Log in to reply
Ya worked.BTW great work.Keep it up. xD
I used your note as an inspiration fore one of my Problems. Thanks! Basically, it's about your P2 and P3 in the even case.... when do they end with the same digit? You have probably thought about this already...
yo