SlideShare a Scribd company logo
1 of 1
Download to read offline
Find all integers n such that 2n - 1 is divisible by n
Solution
Clearly we must have n 0. In fact, n = 0 and n = 1 are solutions. Now consider n >
1, where we will argue reductio ad absurdum. Suppose n divides 2n - 1. Since n > 1, we can
consider p, the smallest prime factor of n. Note that 2n - 1 is odd, so n is odd, and p is odd.
Hence p > 2. Since p is the smallest prime factor of n, the greatest common divisor of n and p - 1
is 1. Hence, by a standard corollary to Euclid's algorithm, there exist integers x and y such that
nx + (p - 1)y = 1. We may therefore write: 2 = 21 = 2nx + (p-1)y = 2nx × 2(p-1)y = (2n)x × (2p-
1)y. Now consider this equation, modulo p. We have 2n 1 (mod 2n - 1), and so 2n 1 (mod n), and
2n 1 (mod p). Also, by Fermat's Little Theorem, since the greatest common divisor of 2 and p is
1, we have 2p-1 1 (mod p). Putting these two results together, we get 2 1x × 1y 1 (mod p); a
contradiction. (Note that this is true even though one of x and y must be negative.) Hence our
original supposition, that there is a p which is the smallest prime factor of n, which divides 2n -
1, is false. Therefore the only integers n such that 2n - 1 is divisible by n, are 0 and 1.

More Related Content

Similar to Find all integers n such that 2n - 1 is divisible by nSolution .pdf

Rational Zeros and Decarte's Rule of Signs
Rational Zeros and Decarte's Rule of SignsRational Zeros and Decarte's Rule of Signs
Rational Zeros and Decarte's Rule of Signs
swartzje
 
QFP k=2 paper write-up
QFP k=2 paper write-upQFP k=2 paper write-up
QFP k=2 paper write-up
Brice Merwine
 
Números repunits de lehmer
Números repunits de lehmerNúmeros repunits de lehmer
Números repunits de lehmer
lenixez
 

Similar to Find all integers n such that 2n - 1 is divisible by nSolution .pdf (20)

Sol80
Sol80Sol80
Sol80
 
Sol80
Sol80Sol80
Sol80
 
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
 
Sol18
Sol18Sol18
Sol18
 
Sol18
Sol18Sol18
Sol18
 
Rational Zeros and Decarte's Rule of Signs
Rational Zeros and Decarte's Rule of SignsRational Zeros and Decarte's Rule of Signs
Rational Zeros and Decarte's Rule of Signs
 
QFP k=2 paper write-up
QFP k=2 paper write-upQFP k=2 paper write-up
QFP k=2 paper write-up
 
Number theory
Number theoryNumber theory
Number theory
 
polynomial
 polynomial  polynomial
polynomial
 
Factorials as sums
Factorials as sumsFactorials as sums
Factorials as sums
 
Number theory
Number theoryNumber theory
Number theory
 
stochastic-processes-1.pdf
stochastic-processes-1.pdfstochastic-processes-1.pdf
stochastic-processes-1.pdf
 
Sol38
Sol38Sol38
Sol38
 
Sol38
Sol38Sol38
Sol38
 
Mathematical induction by Animesh Sarkar
Mathematical induction by Animesh SarkarMathematical induction by Animesh Sarkar
Mathematical induction by Animesh Sarkar
 
Homogeneous Differential Equations- Method to find one solution using another
Homogeneous Differential Equations- Method to find one solution using anotherHomogeneous Differential Equations- Method to find one solution using another
Homogeneous Differential Equations- Method to find one solution using another
 
Imc2016 day1-solutions
Imc2016 day1-solutionsImc2016 day1-solutions
Imc2016 day1-solutions
 
Sol44
Sol44Sol44
Sol44
 
Sol44
Sol44Sol44
Sol44
 
Números repunits de lehmer
Números repunits de lehmerNúmeros repunits de lehmer
Números repunits de lehmer
 

More from anandchemsarma

More from anandchemsarma (15)

find and interpret the fifth decile for the weights.Solution .pdf
find and interpret the fifth decile for the weights.Solution    .pdffind and interpret the fifth decile for the weights.Solution    .pdf
find and interpret the fifth decile for the weights.Solution .pdf
 
Find and describe examples of at least two different measures of cen.pdf
Find and describe examples of at least two different measures of cen.pdfFind and describe examples of at least two different measures of cen.pdf
Find and describe examples of at least two different measures of cen.pdf
 
Find and Classify all Isolated singularities of this function (Z + 3.pdf
Find and Classify all Isolated singularities of this function (Z + 3.pdfFind and Classify all Isolated singularities of this function (Z + 3.pdf
Find and Classify all Isolated singularities of this function (Z + 3.pdf
 
Find an example of an onto group homomorphism from Sn to Z2, and det.pdf
Find an example of an onto group homomorphism from Sn to Z2, and det.pdfFind an example of an onto group homomorphism from Sn to Z2, and det.pdf
Find an example of an onto group homomorphism from Sn to Z2, and det.pdf
 
Find an equation of the tangent line at the given point.So far, I .pdf
Find an equation of the tangent line at the given point.So far, I .pdfFind an equation of the tangent line at the given point.So far, I .pdf
Find an equation of the tangent line at the given point.So far, I .pdf
 
Find an equation of the plane consisting of all points that are equi.pdf
Find an equation of the plane consisting of all points that are equi.pdfFind an equation of the plane consisting of all points that are equi.pdf
Find an equation of the plane consisting of all points that are equi.pdf
 
Find an equation of the line that has slope m and y-intercept b. (Le.pdf
Find an equation of the line that has slope m and y-intercept b. (Le.pdfFind an equation of the line that has slope m and y-intercept b. (Le.pdf
Find an equation of the line that has slope m and y-intercept b. (Le.pdf
 
Find an Equation for the surface consisting of all points P for whic.pdf
Find an Equation for the surface consisting of all points P for whic.pdfFind an Equation for the surface consisting of all points P for whic.pdf
Find an Equation for the surface consisting of all points P for whic.pdf
 
Find all z belonging to the complex numbers such that Find all z bel.pdf
Find all z belonging to the complex numbers such that Find all z bel.pdfFind all z belonging to the complex numbers such that Find all z bel.pdf
Find all z belonging to the complex numbers such that Find all z bel.pdf
 
Find all real solutions to the equation cos(z) = 0 (Please show .pdf
Find all real solutions to the equation cos(z) = 0 (Please show .pdfFind all real solutions to the equation cos(z) = 0 (Please show .pdf
Find all real solutions to the equation cos(z) = 0 (Please show .pdf
 
Find all real solutions of the equation. (Enter your answers as a co.pdf
Find all real solutions of the equation. (Enter your answers as a co.pdfFind all real solutions of the equation. (Enter your answers as a co.pdf
Find all real solutions of the equation. (Enter your answers as a co.pdf
 
Find all possible values if P is 3- 5l 2p-4l -12.Solution3 -.pdf
Find all possible values if P is 3- 5l 2p-4l  -12.Solution3 -.pdfFind all possible values if P is 3- 5l 2p-4l  -12.Solution3 -.pdf
Find all possible values if P is 3- 5l 2p-4l -12.Solution3 -.pdf
 
Find a simplified form of the difference quotient.Then find the valu.pdf
Find a simplified form of the difference quotient.Then find the valu.pdfFind a simplified form of the difference quotient.Then find the valu.pdf
Find a simplified form of the difference quotient.Then find the valu.pdf
 
Find a unit vector thatA. Has the same direction as the vector u=.pdf
Find a unit vector thatA. Has the same direction as the vector u=.pdfFind a unit vector thatA. Has the same direction as the vector u=.pdf
Find a unit vector thatA. Has the same direction as the vector u=.pdf
 
find all functions that are analytic everywhere in the entire comple.pdf
find all functions that are analytic everywhere in the entire comple.pdffind all functions that are analytic everywhere in the entire comple.pdf
find all functions that are analytic everywhere in the entire comple.pdf
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

Find all integers n such that 2n - 1 is divisible by nSolution .pdf

  • 1. Find all integers n such that 2n - 1 is divisible by n Solution Clearly we must have n 0. In fact, n = 0 and n = 1 are solutions. Now consider n > 1, where we will argue reductio ad absurdum. Suppose n divides 2n - 1. Since n > 1, we can consider p, the smallest prime factor of n. Note that 2n - 1 is odd, so n is odd, and p is odd. Hence p > 2. Since p is the smallest prime factor of n, the greatest common divisor of n and p - 1 is 1. Hence, by a standard corollary to Euclid's algorithm, there exist integers x and y such that nx + (p - 1)y = 1. We may therefore write: 2 = 21 = 2nx + (p-1)y = 2nx × 2(p-1)y = (2n)x × (2p- 1)y. Now consider this equation, modulo p. We have 2n 1 (mod 2n - 1), and so 2n 1 (mod n), and 2n 1 (mod p). Also, by Fermat's Little Theorem, since the greatest common divisor of 2 and p is 1, we have 2p-1 1 (mod p). Putting these two results together, we get 2 1x × 1y 1 (mod p); a contradiction. (Note that this is true even though one of x and y must be negative.) Hence our original supposition, that there is a p which is the smallest prime factor of n, which divides 2n - 1, is false. Therefore the only integers n such that 2n - 1 is divisible by n, are 0 and 1.