Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 2.1.26 (The product of three consecutive integers is divisible by $504$ if the middle one is a cube)

Exercise 2.1.26 (The product of three consecutive integers is divisible by $504$ if the middle one is a cube)

Show that the product of three consecutive integers is divisible by 504 if the middle one is a cube.

Answers

Proof. If we write n 3 the central cube, the product of the three consecutive integers is

P = ( n 3 1 ) n 3 ( n 3 + 1 ) .

The factorisation of P is

P = n 3 ( n 1 ) ( n 2 + n + 1 ) ( n + 1 ) ( n 2 n + 1 ) .

Since 504 = 8 × 7 × 9 = 2 3 3 2 7 , we must prove 7 P , 2 3 P , 3 2 P .

By (little) Fermat’s theorem,

7 n 7 n = n ( n 3 1 ) ( n 3 + 1 ) ,  so  7 P = ( n 3 1 ) n 3 ( n 3 + 1 ) .

  • If n is even, 2 3 n 3 , thus 2 3 P .
  • If n is odd, 2 n 1 , 2 n + 1 and 2 n 2 + n + 1 , thus 2 3 P .
  • If n 0 ( mod 3 ) , 3 3 n 3 , thus 3 3 P = n 3 ( n 6 n ) .
  • If n 1 ( mod 3 ) , 3 x 1 and 3 x 2 + x + 1 , thus 3 2 P = n 3 ( n 1 ) ( n 2 + n + 1 ) ( n + 1 ) ( n 2 n + 1 ) .
  • If n 1 ( mod 3 ) , 3 x + 1 and 3 x 2 x + 1 , thus 3 2 P .

    Since 7 P , 2 3 P , 3 2 P , where 7 , 2 3 , 3 2 are relatively prime by pairs, we obtain

    504 = 2 3 3 2 7 ( n 3 1 ) n 3 ( n 3 + 1 ) .

    The product of three consecutive integers is divisible by 504 if the middle one is a cube.

User profile picture
2024-07-31 07:56
Comments