Lesson Find the last three digits of these numbers
Algebra
->
Divisibility and Prime Numbers
->
Lessons
-> Lesson Find the last three digits of these numbers
Log On
Algebra: Divisibility and Prime Numbers
Section
Solvers
Solvers
Lessons
Lessons
Answers archive
Answers
Source code of 'Find the last three digits of these numbers'
This Lesson (Find the last three digits of these numbers)
was created by by
ikleyn(52824)
:
View Source
,
Show
About ikleyn
:
<H2>Find the last three digits of these numbers</H2> <H3>Problem 1</H3>Using binomial theorem, find the Last three digits of the number {{{27^27}}}. <B>Solution</B> <pre> 1. {{{27^27}}} = {{{((27^3)^3)^3}}}. Let us go up on this upstairs from the bottom to the top step by step. 2. First consider the number {{{27^3}}}. It is 19683: {{{27^3}}} = 19683. Write it in the form {{{27^3}}} = {{{19*10^3 + 683}}}. It is clear that for {{{(27^3)^3}}} and for {{{((27^3)^3)^3}}} the last three digits are determined by last three digits "683" of the number {{{19*10^3 + 683}}}. The part {{{19*10^3}}} does not affect the last three digits of the number {{{(27^3)^3}}}. It is exactly what the binomial theorem says and provides in this situation. Therefore, in finding the three last digits of the number {{{(27^3)^3}}} we can track only for {{{683^3}}} and do not concern about other terms. It implies that the last three digits of the number {{{(27^3)^3}}} are exactly the same as the last three digits of the number {{{683^3}}}. The number {{{683^3}}} = 318611987, as easy to calculate (I used Excel in my computer), so its last three digits are 987. 3. Now we can make the next (and the last) step up on this upstairs in the same way. The last three digits of the number {{{((27^3)^3)^3}}} are the same as the last three digits of the number {{{987^3}}}, and it is easy to calculate. {{{987^3}}} = 961504803, and its last three digits are 803. Therefore, the last three digits of the number {{{27^27}}} are 803. </pre> <H3>Problem 2</H3>Find the last three digits of the number {{{126^2018}}}. <B>Solution</B> <U>Intermediate statement</U>. The last three digits of the number {{{126^n}}} are 376, for any n >= 3. <pre> First consider the number {{{126^2}}}. It is 15876. Next {{{126^3}}}. It is 2000376. Next {{{126^4}}}. It is 252047376. Notice that {{{126^3}}} and {{{126^4}}} have the last 3 digits 376. Now it is clear that for {{{126^(n+1)}}} the last three digits are determined by last three digits of the number {{{126^n}}}. To prove it, write {{{126^n}}} in the form {{{126^n}}} = 1000*N + 376, and notice that 376*126 = 47376 has the three last digits 376. It implies, by the method of Mathematical induction, that ALL the numbers {{{126^n}}} have the three lest numbers 376, starting from n = 3. </pre> Thus the intermediate statement is proved, and the solution to the problem is completed. My other lessons in this site on miscellaneous problems on divisibility of integer numbers are - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Light-flashes-on-a-Christmas-tree-and--a-Least-Common-Multiple.lesson>Light flashes on a Christmas tree and a Least Common Multiple</A> - <A HREF=http://www.algebra.com/algebra/homework/divisibility/lessons/The-number-that-leaves-a-remainder-1-when-divided-by-2-by-3-by-4-by-5-and-so-on-until-9.lesson>The number that leaves a remainder 1 when divided by 2, by 3, by 4, by 5 and so on until 9</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/The-number-rem4-mod7-rem5-mod8-and-rem6-mod9.lesson>The number which gives remainder 4 when divided by 7, remainder 5 when divided by 8 and remainder 6 when divided by 9</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/Introductory-problems-on-divisibility-numbers.lesson>Introductory problems on divisibility of integer numbers</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Finding-Greatest-Common-Divisor-of-integer-numbers.lesson>Finding Greatest Common Divisor of integer numbers</A> - <A HREF=http://www.algebra.com/algebra/homework/divisibility/lessons/Relativity-prime-numbers-help-to-solve-the-problem.lesson>Relatively prime numbers help to solve the problem</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Solving-equations-in-integer-numbers.lesson>Solving equations in integer numbers</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Quadratic-polynomial-with-odd-integer-coefs-can-not-have-a-rational-root.lesson>Quadratic polynomial with odd integer coefficients can not have a rational root</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/Proving-the-equation-has-no-integer-solutions.lesson>Proving an equation has no integer solutions</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Composite-number-of-the-form-%284n%2B3%29-must--have-a-prime-divisor-of-the-form-%284n%2B3%29.lesson>Composite number of the form (4n+3) must have a prime divisor of the form (4n+3)</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Problems-on-divisors-of-a-given-number.lesson>Problems on divisors of a given number</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/How-many-three-digit-numbers-are-multiples-of-both-5-and-7.lesson>How many three-digit numbers are multiples of both 5 and 7?</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/How-many-3-digit-numbers-are-not-dvsbl-by-2-not-dvsbl-by-3-notdvsbl-by-either-2-or-3.lesson>How many 3-digit numbers are not divisible by 2; not divisible by 3; not divisible by either 2 or 3</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/How-many-integer-numbers-in-the-range-1-300-are-divisible-by.lesson>How many integer numbers in the range 1-300 are divisible by at least one of the integers 4, 6 and 15 ?</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Find-the-remainder-of-division.lesson>Find the remainder of division </A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Why-3%5En%2B7%5En-2-is-divisible-by-8-for-all-positive-integer-n.lesson>Why 3^n + 7^n - 2 is divisible by 8 for all positive integer n ?</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/What-is--the-last-digit-of-the-number-a%5En.lesson>What is the last digit of the number a^n ?</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Find-the-two-last-digits-of-the-number-3%5E123%2B7%5E123%2B9%5E123.lesson>Find the last two digits of the number 3^123 + 7^123 + 9^123</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/Find-the-last-two-digits-of-%281%21-%2B-2%21-%2B-3%21-%2B-%2B-2024%21%29%5E2024.lesson>Find the last two digits of (1! + 2! + 3! + ... + 2024!)^2024</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Find-n-th-term-of-a-sequence.lesson>Find n-th term of a sequence</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Solving-one-Diofantine-equation.lesson>Solving Diophantine equations</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Determine-the-number-of-integer-solutions-to-equation-n%5E2%2B18n%2B3=m%5E2.lesson>How many integers of the form n^2 + 18n + 13 are perfect squares</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Miscellaneous-problems-on-divisibility-numbers.lesson>Miscellaneous problems on divisibility numbers</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Find-the-sum-of-digits-of-integer-numbers.lesson>Find the sum of digits of integer numbers</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Two-digit-numbers-with-digit-9.lesson>Two-digit numbers with digit "9"</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Find-a-triangle-with-integer-side-lengths-and-integer-area.lesson>Find a triangle with integer side lengths and integer area</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Math-circle-level-problem-on-the-hundred-handed-monster-Briareus.lesson>Math circle level problem on the hundred-handed monster Briareus</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Math-Citcle-level-problem-on-lockers-and-divisors.lesson>Math Circle level problem on lockers and divisors of integer numbers</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Nice-entertaiment-problem-What-numbers-John-is-thinking-about.lesson>Nice entertainment problems related to divisibility property</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Solving-problems-on-modular-arithmetic.lesson>Solving problems on modular arithmetic</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Using-the-little-Fermat-theorem-to-solve-a-problem-on-modular-arithmetic.lesson#google_vignette>Using the little Fermat's theorem to solve a problem on modular arithmetic</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/OVERVIEW-of-miscellanious-solved-problems-on-divisibility-of-numbers.lesson>OVERVIEW of miscellaneous solved problems on divisibility of integer numbers</A>