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.)
Puzzle Answer | Comment 9 of 10 |
The largest value that the number can attain is the sum of all the numbers, or: NA + ½N(N+1)B.
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.

Edited on September 13, 2023, 9:42 pm
  Posted by K Sengupta on 2023-09-13 21:40:37

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 (3)
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