Sums and Products

On the left side of the applet there is a list of random integers. You select two at a time. (While selecting the second number, hold the Ctrl key down.) When selected, the two integers, say, A and B are replaced with another one computed as (A·B + A + B). The process ends when only one number remains. Controls allow you to select the starting number of integers and maximum possible integer that may be randomly selected into the game.

The final number is not quite random. Can you see whether it's possible to determine it ahead of time?


If you are reading this, your browser is not set to run Java applets. Try IE11 or Safari and declare the site https://www.cut-the-knot.org as trusted in the Java setup.

Sums and Products


What if applet does not run?

|Contact| |Front page| |Contents| |Algebra| |Store|

Copyright © 1996-2017 Alexander Bogomolny

Explanation

Assume at a certain stage of the process we have a sequence S of integers, S = {A1, A2, ..., An}. Let P stand for the product of all integers present, each increased by 1 less 1: P = (A1+1)(A2+1)...(An+1) - 1. When two numbers A and B are replaced with (A·B + A + B) the product P does not change. Indeed, it loses two factors (A+1)(B+1) but gains another one (A·B + A + B + 1). The two are of course equal.

It then follows that P is an invariant quantity that does not change in the course of the game. It could be computed at the very beginning. For example, if we are given the sequence 1, 2, 3, 4, 5, 6 then P = 7! - 1 which you can easily verify.

References

  1. D. Fomin, S. Genkin, I. Itenberg, Mathematical Circles (Russian Experience), AMS, 1996

Related material
Read more...

  • 3-Term Arithmetic Progression
  • Aliquot game (An Interactive Gizmo)
  • Euclid's Game (An Interactive Gizmo)
  • Euclid's Game on a Square Grid
  • Sums and Products, a Generalization
  • Sums, Products, and 1-1 Functions
  • Zeros and Nines
  • A Candy Game: Integer Iterations
  • A Candy Game (Change Discharged)
  • Heads and Tails
  • Loop or Halt - An Interactive Gizmo
  • Breaking Chocolate Bars (An Interactive Gizmo)
  • |Contact| |Front page| |Contents| |Algebra| |Up| |Store|

    Copyright © 1996-2017 Alexander Bogomolny

     62338518

    Search by google: