Number Theory: Divisibility and Prime Numbers: Difficult Problems with Solutions

Problem 1
Find the greatest common divisor of the numbers [tex]2^{2002}-1[/tex] and [tex]2^{2004}-1[/tex].
Problem 2
Find the last two digits of the number [tex]666^{666}[/tex].
Problem 3
Find all prime numbers [tex]p[/tex] for which the number [tex]p^2+11[/tex] has exactly [tex]6[/tex] positive divisors (including [tex]1[/tex] and the number itself).
Problem 4
How many ordered pairs [tex](x, y)[/tex] of natural numbers are there such that the least common multiple of [tex]x[/tex] and [tex]y[/tex] equals [tex]2^3\times 3^4\times 5^6[/tex]?
Problem 5
Prove that for every natural number [tex]n[/tex] the number [tex]a_n=20^{2n}+16^{2n}-3^{2n}-1[/tex] is divisible by [tex]323[/tex].
Problem 6
Prove that for no natural number [tex]n[/tex] is the number [tex]n^2+3n+5[/tex] divisible by [tex]121[/tex].
Problem 7
The natural numbers [tex]x[/tex] and [tex]y[/tex] are coprime. Find the greatest possible value of the greatest common divisor of the numbers [tex]20x+17y[/tex] and [tex]20y+17x[/tex].
Problem 8
How many of the numbers [tex]5000, 5001, 5002, \ldots, 8000[/tex] have exactly [tex]9[/tex] positive divisors?
Problem 9
Find the greatest common divisor of all numbers of the form [tex]9n^{5}-5n^{3}-4n[/tex], where [tex]n[/tex] is a natural number.
Problem 10
Prove that for every integer [tex]a[/tex] the number [tex]P=a^3\left(a^2-7\right)^2-36a[/tex] is divisible by [tex]5040[/tex].

Problem 11
Find all odd primes [tex]p[/tex] for which the number [tex]5^{\frac{p-1}{2}}+10[/tex] is divisible by [tex]p[/tex].
Problem 12
Find all three-digit numbers [tex]x=\overline{abc}[/tex] whose square [tex]x^2[/tex] ends with the digits [tex]a[/tex], [tex]b[/tex], [tex]c[/tex] in this order.
Problem 13
What is the least number of numbers that must be crossed out from the numbers [tex]1, 2, 3, \ldots, 26[/tex] so that the remaining numbers can be divided into two groups with equal products?
Problem 14
The four-digit numbers [tex]2009, 2010, 2011, \ldots, 2019[/tex] are written one after another in some order, forming a [tex]44[/tex]-digit number. Prove that, whatever the order, the resulting number is not prime.
Problem 15
A city has [tex]14[/tex] prisons. In each of them the number of floors, the number of cells on each floor and the number of prisoners in each cell are equal (for example, a prison with [tex]8[/tex] floors, [tex]8[/tex] cells on each floor and [tex]8[/tex] prisoners in each cell; a prison with one floor, one cell and one prisoner is also possible). Every year the state pays for each prisoner as many dollars as there are floors in the prison where he is held. An official calculated that the total annual cost of the prisons in the city is [tex]1\,599\,999[/tex] dollars. Prove that the official made a mistake.
Correct:
Wrong:
Unsolved problems:
Suggest a problem on this page

Feedback   Contact email:
Follow us on   X   Facebook

Copyright © 2005 - 2026.