Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Use mathematical induction to show that if \(n\) is a positive integers, the sequence 2 mod \(n\), \({2^2}\)mod \(n\), \({2^{{2^2}}}\)mod \(n\), \({2^{{2^{{2^2}}}}}\)mod \(n\), ….. is eventually constant (that is, all terms after a finite number of terms are all the same).

Short Answer

Expert verified

By mathematical induction, the result \(P\left( n \right)\) is true for all positive integers \(n\).

Step by step solution

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

Over 22 million students worldwide already upgrade their learning with Vaia!

01

To recall the concepts and principles

Mathematical Induction: -The mathematical induction is defined as follows:

Step 1 (Base step): In this step, to prove that the statement is true for n=1.

Step 2(Inductive step): In this case, if the statement is true for nth iteration, then to prove it is also true for (n+1)st iteration.

02

To prove the result using principle of mathematical induction

Let the \(P\left( n \right)\) be the statement: The sequence 2 mod \(n\),\({2^2}\) mod \(n\), \({2^{{2^2}}}\)mod \(n\), \({2^{{2^{{2^2}}}}}\) mod \(n\)….. is eventually constant.

Then by principle of mathematical induction,

For \(n = 1,\,\,n = 2\):

\({2^{2{ \cdots ^2}}}\)mod 1 = 0.

\({2^{2{ \cdots ^2}}}\)mod 2 = 0.

Thus, the result is true for\(n = 1,\,\,n = 2\).

Hence, \(P\left( 1 \right),\,P\left( 2 \right)\) is true.

Let the result be true for \(n = k\) for \(k \ge 2\).

It means, 2 mod \(i\) ,\({2^2}\) mod\(i\), \({2^{{2^2}}}\)mod\(i\), \({2^{{2^{{2^2}}}}}\) mod \(i\)….. for \(i = 1,\,2,\, \cdots ,\,k\).

Thus, \(P\left( k \right)\) is true.

Let us prove the result for \(n = k + 1\).

Let \({a_r}\) be the rth term modulo \(r\) in the sequence 2 mod \(\left( {k + 1} \right)\),\({2^2}\) mod\(\left( {k + 1} \right)\), \({2^{{2^2}}}\)mod \(\left( {k + 1} \right)\), \({2^{{2^{{2^2}}}}}\) mod \(\left( {k + 1} \right)\)…….

When \(\left( {k + 1} \right)\) is even then there exists a positive integer \(x\) and an odd positive integer \(y\) such that \(k + 1 = {2^x}y\).

For sufficiently large \(j\), \({a_j} \ge x\).

Thus, \({a_j}\) is multiple of \({2^x}\)\( \Rightarrow {a_j}\) mod \({2^x} = 0\).

Since \(P\left( k \right)\) is true, \({a_1},\,{a_2},......\) is eventually constant modulo \(y\).

Thus, it is written as,

\(\begin{aligned}{l}y|{a_{j + 1}} - {a_j}\\ \Rightarrow {2^x}y|{a_{j + 1}} - {a_j}\end{aligned}\).

Therefore, \({a_j}\) mod \(\left( {k + 1} \right)\)=\({a_j}\)mod \({2^x}y\) =0, for sufficiently large \(j\).

When \(\left( {k + 1} \right)\) is odd, then \({2^{\varphi \left( {k + 1} \right)}}\) mod \(\left( {k + 1} \right)\)=1, by Euler’s Theorem.

Since \(\varphi \left( {k + 1} \right) < k\) and it is a positive integer, \(P\left( {\varphi \left( {k + 1} \right)} \right)\) is true.

Thus, the sequence \({a_1},\,{a_2},......\) is eventually constant modulo \(\varphi \left( {k + 1} \right)\).

When this constant is \(c\) then, \({a_i} = {t_i}\varphi \left( {k + 1} \right) + c\) , for sufficiently large \(j\).

Therefore, it is written as,

\(\begin{aligned}{c}{a_{i + 1}} = {2^{{a_i}}}\\ &= {2^{{t_i}\varphi \left( {k + 1} \right) + c}}\\ &= {2^c}{\left( {{2^{\varphi \left( {k + 1} \right)}}} \right)^{{t_i}}}\\ &= {2^c}{1^{{t_i}}}\\ = {2^c}\left( {\bmod \left( {k + 1} \right)} \right)\end{aligned}\)

Further solve the above expression,

\(\therefore {a_{i + 1}} = {2^c}\left( {\bmod \left( {k + 1} \right)} \right)\)

This implies that the sequence \({a_1},\,{a_2},......\) is eventually constant modulo \(\left( {k + 1} \right)\).

Hence, \(P\left( {k + 1} \right)\) is true.

Hence, by the principle of mathematical induction, the result \(P\left( n \right)\) is true for all positive integers \(n\).

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

In the proof of Lemma 1 we mentioned that many incorrect methods for finding a vertex such that the line segment is an interior diagonal of have been published. This exercise presents some of the incorrect ways has been chosen in these proofs. Show, by considering one of the polygons drawn here, that for each of these choices of , the line segment is not necessarily an interior diagonal of .

a) p is the vertex of P such that the angleabpis smallest.

b) p is the vertex of P with the least -coordinate (other than ).

c) p is the vertex of P that is closest to .

Trace Algorithm 3 when it finds gcd (12,17) . That is, show all the steps used by Algorithm 3 to find gcd (12,17).

Prove that the first player has a winning strategy for the game of Chomp, introduced in Example 12 in Section 1.8, if the initial board is square. [Hint: Use strong induction to show that this strategy works. For the first move, the first player chomps all cookies except those in the left and top edges. On subsequent moves, after the second player has chomped cookies on either the top or left edge, the first player chomps cookies in the same relative positions in the left or top edge, respectively.]

Prove that 5 divides n5n whenever n is a non negative integer.

Show that ifa1,a2,...,an are distinct real numbers, exactlyn -1 multiplications are used to compute the product of thesen numbers no matter how parentheses are inserted into their product. [Hint: Use strong induction and consider the last multiplication.]

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free