Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Shopping at the store helps maintain the site. Thank you.
Math & English enrichment at SchoolPlus-Online
HoodaMath: games and movies
Sites for teachers
Sites for parents
Terms of use
Awards
Interactive Activities

CTK Exchange
CTK Wiki Math
CTK Insights - a blog
Math Help

III Millennium Olympiad

Games & Puzzles
What Is What
Arithmetic/Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Stories for Young
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Other Math sites
Front Page
Movie shortcuts
Personal info
Privacy Policy

Guest book
News sites

Recommend this site

Games to relax

Sites for teachers
Sites for parents

Education & Parenting

Manifesto: what CTK is about Buying a book is a commitment to learning Table of content Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page

Plus or Minus

In the simple game below you start with a sequence of numbers. Taking turns you and your computer place either plus or minus sign between any two successive numbers. When all empty spaces have been filled, the arithmetic expression is evaluated. You win if the result is odd. If the result is even, your computer is the winner.

There is a button "+" at the bottom of the applet. Pressing it will toggle "+" and "-". This is to tell you what sign will be inserted upon your click. If the Random checkbox is checked, the applet selects randomly the length of the sequence. Otherwise, it's up to you: try playing short (even very short) sequences first.


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?

Explanation

References

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

Copyright © 1996-2009 Alexander Bogomolny

 

 

 

 

 

 

 

 

 

 

Explanation

The parity of the result only depends on the number of odd numbers in the sequence. If the latter is odd the result will be always odd regardless of the distribution of signs. To see this pick up a number A. Add and subtract from it another number B: C1 = A - B and C2 = A + B. Then, since C2 - C1 = 2B, C1 and C2 are always of the same parity, i.e., either both odd or both even. Thus, the selection of signs really does not affect the parity of the result. The latter will be odd iff the sequence contains an odd number of odd members.

Copyright © 1996-2009 Alexander Bogomolny

33061052Page copy protected against web site content infringement by Copyscape


Search:
Keywords:

Google
Web CTK