All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Sequencing problems (Posted on 2004-10-01) Difficulty: 2 of 5
Consider a sequence of integers in arithmetical progression: A, A+B, A+2B, A+3B, ... A+NB.

Systematically pick any two adjacent numbers, and randomly replace them by their sum or difference. Keep at this until only one number remains. Is this number odd or even? What's the largest value this number can attain?

See The Solution Submitted by Federico Kereki    
Rating: 3.1667 (6 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Answer | Comment 2 of 10 |
The second part first: the maximum is the sum of all numbers: NA + ½N(N+1)B.


The first part second: when you sum/subtract two numbers, the parity of the sum/difference is the same, so the parity of the last number equals the parity of the sum of all numbers. If the sum we found above is odd/even, the last number will be odd/even.
  Posted by Old Original Oskar! on 2004-10-01 11:17:41

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information