Discovering the Unit Digit of Rn: Solving for n = 0 to 5

  • Context: MHB 
  • Thread starter Thread starter veronica1999
  • Start date Start date
  • Tags Tags
    Unit
Click For Summary
SUMMARY

The discussion focuses on calculating the unit digit of the sequence defined by Rn = 1/2(a^n + b^n), where a = 3 + 2√2 and b = 3 - 2√2, for n ranging from 0 to 5. The initial values are R0 = 1, R1 = 3, R2 = 7, and R3 = 9. The sequence follows the recurrence relation Rn+2 = 6Rn+1 - Rn, indicating a periodicity of 6 in the unit digits. Consequently, for n = 12345, the unit digit of R12345 is determined to be 9.

PREREQUISITES
  • Understanding of recurrence relations and sequences
  • Familiarity with the binomial theorem
  • Knowledge of modular arithmetic, particularly mod 10
  • Basic algebra involving roots and exponents
NEXT STEPS
  • Explore the Chinese Remainder Theorem for modular arithmetic applications
  • Study the properties of periodic sequences in number theory
  • Learn about the binomial theorem and its applications in combinatorial problems
  • Investigate the derivation and implications of recurrence relations in sequences
USEFUL FOR

Mathematicians, students studying number theory, and anyone interested in solving recurrence relations and modular arithmetic problems.

veronica1999
Messages
61
Reaction score
0
If Rn = 1/2(a^n + b^n) where a= 3+ 2root2 b= 3 - 2root2 and n= 0,1,2,3,4,5,...
then R12345 is an integer. Its units digit is..
I didn't have any ideas so I started to plug in numbers looking for a pattern.
I am sure this is not the right approach.

R0 = 1

R1 = 3

R2= 7

R3= 9

Could I get some help?
 
Last edited:
Physics news on Phys.org
veronica1999 said:
If Rn = 1/2(a^n + b^n) where a= 3+ 2root2 b= 3 - 2root2 and n= 0,1,2,3,4,5,...
then R12345 is an integer. Its units digit is..
I didn't have any ideas so I started to plug in numbers looking for a pattern.
I am sure this is not the right approach.

R0 = 1

R1 = 3

R2= 7

R3= 9

Could I get some help?

It is not difficult to find that the sequence is the solution of the difference equation...

$\displaystyle R_{n+2}= 6\ R_{n+1} - R_{n}$ (1)

... with the initial conditions $R_{0}=1$ and $R_{1}=3$. The first terms are...

$R_{0}=1\ ,\ R_{1}=3\ ,\ R_{2}= 17\ ,\ R_{3}=99\ ,\ R_{4}= 577\ ,\ R_{5}= 3363\ ,\ R_{6}= 21401\ ,\ ...$

... and that suggests that the last significant digit is periodic of period 6. Because is $12345 = 3\ \text {mod}\ 6$ the last significant digit of $R_{12345}$ should be 9...

Kind regards

$\chi$ $\sigma$
 
veronica1999 said:
If Rn = 1/2(a^n + b^n) where a= 3+ 2root2 b= 3 - 2root2 and n= 0,1,2,3,4,5,...
then R12345 is an integer. Its units digit is..
I didn't have any ideas so I started to plug in numbers looking for a pattern.
I am sure this is not the right approach.

R0 = 1

R1 = 3

R2= 7

R3= 9

Could I get some help?
The following might help although it requires some computation.
Note that $\alpha=3+2\sqrt{2}$ and $\beta=3-2\sqrt{2}$ are roots of $x^2-6x+1=0$.
That is, they are roots of $x^3-6x^2+x=0$. And again, this means they are also roots of $(x^{4115})^3-6(x^{4115})^2+x^{4115}=0$.
The above when simplified gives $x^{12345}=6x^{8230}-x^{4115}$.

Substituting $\alpha$ and $\beta$ in the above and adding we get:

$(3+2\sqrt{2})^{12345}+(3-2\sqrt{2})^{12345}=6((3+2\sqrt{2})^{8230}+(3-2\sqrt{2})^{8230})-((3+2\sqrt{2})^{4115}+(3-2\sqrt{2})^{4115})$

Basically, we now have lower exponents for which we have to calculate. Also, we just need the remainder with $10$. The actual number is really HUGE. If you are familiar with the chinese remainder theorem then you can first find the remainder mod $5$ and then remainder mod $2$ to finally find remainder mod $10$. While finding remainder mod $5$, you can knock the hanging $6$ out. I am not sure if this will solve the question but still.

Another approach which comes to mind is the use of the binomial theorem.
To simplyfy computation observe $3+2\sqrt{2}=(1+\sqrt{2})^2$ and $3-2\sqrt{2}=(1-\sqrt{2})^2$. I was not able to find remainders mod $10$ of the binomial coefficients which come in our way though.

I have to go to class, I will get back to this later. If you are able to solve this using the above mentioned things or otherwise then post it here.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
Replies
12
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K