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?


This applet requires Sun's Java VM 2 which your browser may perceive as a popup. Which it is not. If you want to see the applet work, visit Sun's website at http://www.java.com/en/download/index.jsp, download and install Java VM and enjoy the applet.


Buy this applet
What if applet does not run?

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

Copyright © 1996-2015 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-2015 Alexander Bogomolny

     49551874

    Google
    Web CTK