Chapter

Algebraic Number Problems

The module connects algebra and number theory: divisibility of expressions, integer roots, Vieta's formulas, equations in integers, and modular checks.
Log in to track solved progress and bookmarks.

Theory

Key idea

Algebraic problems with integers are usually solved not by blind search, but by changing the form: factorization, passing to the sum and product of roots, working modulo a number, or bounding possible divisors.

This module connects algebra with number theory: an identity gives divisibility, Vieta's formulas give integer restrictions, and modular arithmetic quickly rules out impossible equations.

Basic facts

The product of several consecutive integers is often divisible by a factorial: for example, \(n(n+1)\) is divisible by \(2\), and \(n(n+1)(n+2)\) is divisible by \(6\).

If an integer \(r\) is a root of a monic polynomial with integer coefficients, then \(r\) divides the constant term. For a quadratic equation with integer roots, Vieta's formulas are useful: the sum of the roots is \(-b\), and their product is \(c\).

Squares modulo \(4\) give only residues \(0\) and \(1\), and squares modulo \(3\) also give only \(0\) and \(1\). This often proves that integer solutions are impossible.

When to use this method

If an equation contains \(x^2-y^2\), look for a difference of squares. If there is a rational expression with integer variables, try to transform it into a product such as \((x-a)(y-b)=N\). If a polynomial must have an integer root, first check the divisors of the constant term.

How to recognise the method

The words “integers”, “positive integers”, “divisible by”, and “find all solutions” almost always mean that the possibilities must be restricted. Divisibility restricts factors, modular arithmetic restricts residues, and Vieta turns unknown roots into a sum and product.

Typical mistakes

Do not check only positive divisors if variables may be negative. Do not cancel \(a\) from \(ab\mid ac\) without considering \(a=0\). In modular problems, all possible residues must be checked, not just one example.

Mini-checklist

1. Can the expression be factored? 2. Which residues are possible modulo \(3\), \(4\), \(5\)? 3. If there is an integer root, which divisors must be checked? 4. Can Vieta's formulas be applied? 5. Have negative solutions been included?

Examples

Example 1. Product of neighboring integers

Problem. Prove that \(n^3-n\) is divisible by \(6\) for every integer \(n\).

Solution.

Factor: \(n^3-n=n(n-1)(n+1)\). This is the product of three consecutive integers. One of them is divisible by \(3\), and at least one is divisible by \(2\), so the whole product is divisible by \(6\).

Example 2. Integer root of a polynomial

Problem. Find the integer roots of \(x^3-2x^2-5x+6\).

Solution.

An integer root must divide \(6\), so we check \(\pm1,\pm2,\pm3,\pm6\). The roots are \(1,2,-3\). Hence \(x^3-2x^2-5x+6=(x-1)(x-2)(x+3)\).

Example 3. Vieta over integers

Problem. Integers \(x,y\) satisfy \(x+y=9\), \(xy=20\). Find \(x,y\).

Solution.

The numbers \(x,y\) are roots of \(t^2-9t+20=0\). The factorization \(t^2-9t+20=(t-4)(t-5)\) gives \(\{x,y\}=\{4,5\}\).

Example 4. A fraction becomes a product

Problem. Find positive integers \(x,y\) such that \(\frac{1}{x}+\frac{1}{y}=\frac{1}{5}\).

Solution.

Multiply by \(5xy\): \(5x+5y=xy\). Thus \(xy-5x-5y=0\), so \((x-5)(y-5)=25\). Checking positive divisors of \(25\), we get \((x,y)=(6,30),(10,10),(30,6)\).

Example 5. Modular check

Problem. Prove that \(x^2+1=3y\) has no integer solutions.

Solution.

Modulo \(3\), a square has residue \(0\) or \(1\). Hence \(x^2+1\) has residue \(1\) or \(2\), while \(3y\) has residue \(0\). Contradiction.

Example 6. Difference of squares

Problem. Find integer solutions of \(x^2-y^2=21\).

Solution.

\((x-y)(x+y)=21\). The factors \(x-y\) and \(x+y\) have the same parity, and \(21\) is odd, so both are odd. Checking factor pairs \(1\cdot21\), \(3\cdot7\), and the negative pairs, we get \((x,y)=(11,10),(11,-10),(5,2),(5,-2),(-11,-10),(-11,10),(-5,-2),(-5,2)\).

Example 7. A quadratic form

Problem. Find integers \(x,y\) such that \(x^2-xy+y^2=1\).

Solution.

Use \(4(x^2-xy+y^2)=(2x-y)^2+3y^2\). Then \((2x-y)^2+3y^2=4\), so \(y\in\{-1,0,1\}\). Checking gives \((1,0),(-1,0),(0,1),(0,-1),(1,1),(-1,-1)\).

Example 8. First descent

Problem. Prove that \(x^2+y^2=5xy\) has no positive integer solutions.

Solution.

Assume a solution exists and choose one with minimal \(x+y\). Let \(x\ge y\). Consider the equation as a quadratic in \(x\): \(X^2-5yX+y^2=0\). The other root is \(x'=5y-x\), it is an integer, and since the product of the roots is \(y^2\), \(x'=\frac{y^2}{x}>0\). If \(x>y\), then \(x'

Problems

Problems

#9.1
#9.1

Product of two neighboring integers

Divisibility Grade 8 Grade 9 ★☆☆☆☆

Prove that \(n^2-n\) is divisible by \(2\) for every integer \(n\).

Details
Problem: ALG-B1-M09-P001
Difficulty: Level 1 of 5
Tag: Divisibility
Grade: Grade 8, Grade 9
#9.2
#9.2

Cube minus the number

Divisibility Grade 8 Grade 9 ★☆☆☆☆

Prove that \(n^3-n\) is divisible by \(6\) for every integer \(n\).

Details
Problem: ALG-B1-M09-P002
Difficulty: Level 1 of 5
Tag: Divisibility
Grade: Grade 8, Grade 9
#9.3
#9.3

Integer roots of a quadratic

Factorisation Grade 8 Grade 9 ★☆☆☆☆

Find the integer roots of \(x^2-5x+6=0\).

Details
Problem: ALG-B1-M09-P003
Difficulty: Level 1 of 5
Tag: Factorisation
Grade: Grade 8, Grade 9
#9.4
#9.4

Checking divisors

Polynomial Grade 8 Grade 9 ★☆☆☆☆

Prove that the polynomial \(x^3-4x+2\) has no integer roots.

Details
Problem: ALG-B1-M09-P004
Difficulty: Level 1 of 5
Tag: Polynomial
Grade: Grade 8, Grade 9
#9.5
#9.5

Simple product

Factorisation Grade 8 Grade 9 ★☆☆☆☆

Find all positive integer pairs \((x,y)\) such that \(xy=12\).

Details
Problem: ALG-B1-M09-P005
Difficulty: Level 1 of 5
Tag: Factorisation
Grade: Grade 8, Grade 9
#9.6
#9.6

Fifth power

Divisibility Grade 8 Grade 9 ★★☆☆☆

Prove that \(n^5-n\) is divisible by \(5\) for every integer \(n\).

Details
Problem: ALG-B1-M09-P006
Difficulty: Level 2 of 5
Tag: Divisibility
Grade: Grade 8, Grade 9
#9.7
#9.7

Difference of squares

Factorisation Grade 8 Grade 9 ★★☆☆☆

Find all integer solutions of \(x^2-y^2=15\).

Details
Problem: ALG-B1-M09-P007
Difficulty: Level 2 of 5
Tag: Factorisation
Grade: Grade 8, Grade 9
#9.8
#9.8

Sum and product

Vieta Grade 8 Grade 9 ★★☆☆☆

Integers \(x,y\) satisfy \(x+y=10\), \(xy=21\). Find \(x,y\).

Details
Problem: ALG-B1-M09-P008
Difficulty: Level 2 of 5
Tag: Vieta
Grade: Grade 8, Grade 9
#9.9
#9.9

Modulo 3 obstruction

Modular Arithmetic Grade 8 Grade 9 ★★☆☆☆

Prove that \(x^2+1=3y\) has no integer solutions.

Details
Problem: ALG-B1-M09-P009
Difficulty: Level 2 of 5
Tag: Modular Arithmetic
Grade: Grade 8, Grade 9
#9.10
#9.10

Difference of squares with coefficient

Factorisation Grade 8 Grade 9 ★★☆☆☆

Find all integer solutions of \(x^2-4y^2=12\).

Details
Problem: ALG-B1-M09-P010
Difficulty: Level 2 of 5
Tag: Factorisation
Grade: Grade 8, Grade 9
#9.11
#9.11

Three consecutive integers

Consecutive Integers Grade 8 Grade 9 Grade 10 ★★★☆☆

Prove that \(n^3+3n^2+2n\) is divisible by \(6\) for every integer \(n\).

Details
Problem: ALG-B1-M09-P011
Difficulty: Level 3 of 5
Tag: Consecutive Integers
Grade: Grade 8, Grade 9, Grade 10
#9.12
#9.12

Quadratic form equals 7

Integer Equation Grade 8 Grade 9 Grade 10 ★★★☆☆

Find all integer pairs \((x,y)\) such that \(x^2+xy+y^2=7\).

Details
Problem: ALG-B1-M09-P012
Difficulty: Level 3 of 5
Tag: Integer Equation
Grade: Grade 8, Grade 9, Grade 10
#9.13
#9.13

Monic polynomial

Polynomial Grade 8 Grade 9 Grade 10 ★★★☆☆

Find all integers \(a\) for which the polynomial \(x^2+ax+12\) has two integer roots.

Details
Problem: ALG-B1-M09-P013
Difficulty: Level 3 of 5
Tag: Polynomial
Grade: Grade 8, Grade 9, Grade 10
#9.14
#9.14

Egyptian fraction

Factorisation Grade 8 Grade 9 Grade 10 ★★★☆☆

Find positive integer solutions of \(\frac{1}{x}+\frac{1}{y}=\frac{1}{6}\).

Details
Problem: ALG-B1-M09-P014
Difficulty: Level 3 of 5
Tag: Factorisation
Grade: Grade 8, Grade 9, Grade 10
#9.15
#9.15

Prime divides a square

Modular Arithmetic Grade 8 Grade 9 Grade 10 ★★★☆☆

Let \(p\) be prime and \(p\mid a^2\). Prove that \(p\mid a\).

Details
Problem: ALG-B1-M09-P015
Difficulty: Level 3 of 5
Tag: Modular Arithmetic
Grade: Grade 8, Grade 9, Grade 10
#9.16
#9.16

Discriminant as a square

Vieta Grade 8 Grade 9 Grade 10 ★★★☆☆

Find all integers \(k\) for which \(x^2-6x+k=0\) has integer roots.

Details
Problem: ALG-B1-M09-P016
Difficulty: Level 3 of 5
Tag: Vieta
Grade: Grade 8, Grade 9, Grade 10
#9.17
#9.17

Difference equals one

Factorisation Grade 9 Grade 10 ★★★★☆

Find all integer solutions of \(x^2+y^2=2xy+1\).

Details
Problem: ALG-B1-M09-P017
Difficulty: Level 4 of 5
Tag: Factorisation
Grade: Grade 9, Grade 10
#9.18
#9.18

Modulo 4 obstruction

Modular Arithmetic Grade 9 Grade 10 ★★★★☆

Prove that \(x^2+y^2=4z+3\) has no integer solutions.

Details
Problem: ALG-B1-M09-P018
Difficulty: Level 4 of 5
Tag: Modular Arithmetic
Grade: Grade 9, Grade 10
#9.19
#9.19

Form equals one

Integer Equation Grade 9 Grade 10 ★★★★☆

Find all integer pairs \((x,y)\) such that \(x^2-xy+y^2=1\).

Details
Problem: ALG-B1-M09-P019
Difficulty: Level 4 of 5
Tag: Integer Equation
Grade: Grade 9, Grade 10
#9.20
#9.20

Three differences

Squares Grade 9 Grade 10 ★★★★☆

Find all integer triples \((x,y,z)\) such that \(x^2+y^2+z^2=xy+yz+zx+2\).

Details
Problem: ALG-B1-M09-P020
Difficulty: Level 4 of 5
Tag: Squares
Grade: Grade 9, Grade 10
#9.21
#9.21

Rational root of a monic polynomial

Integer Roots Grade 9 Grade 10 ★★★★☆

Prove that if a rational number \(\frac{p}{q}\) in lowest terms is a root of a monic polynomial with integer coefficients, then \(q=1\).

Details
Problem: ALG-B1-M09-P021
Difficulty: Level 4 of 5
Tag: Integer Roots
Grade: Grade 9, Grade 10
#9.22
#9.22

Sum of squares of roots

Vieta Grade 9 Grade 10 ★★★★☆

Let integers \(x,y\) be the roots of \(t^2-st+p=0\), where \(s,p\in\mathbb Z\), and suppose \(x^2+y^2=25\), \(xy=12\). Find \(s\).

Details
Problem: ALG-B1-M09-P022
Difficulty: Level 4 of 5
Tag: Vieta
Grade: Grade 9, Grade 10
#9.23
#9.23

Squares around a center

Factorisation Grade 9 Grade 10 ★★★★★

Find all integer pairs \((x,y)\) such that \(x^2+y^2=3(x+y)\).

Details
Problem: ALG-B1-M09-P023
Difficulty: Level 5 of 5
Tag: Factorisation
Grade: Grade 9, Grade 10
#9.24
#9.24

First Vieta descent

Descent Grade 9 Grade 10 ★★★★★

Prove that \(x^2+y^2=5xy\) has no positive integer solutions.

Details
Problem: ALG-B1-M09-P024
Difficulty: Level 5 of 5
Tag: Descent
Grade: Grade 9, Grade 10

Ladders

No published ladders were found.
Previous Chapter
Next Chapter