![]() |
![]() |
#1 |
Dec 2005
22·72 Posts |
![]()
The numbers 1,2,...,100 are written in cells of a table 10 x 10, each number is written once. By one move, we may interchange numbers in any two cells.
After how many moves may we get a table, in which the sum of numbers in every two adjacent (by side) cells is composite. I can prove an easy upperbound, but I think it can be sharpened |
![]() |
![]() |
![]() |
#2 |
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
23·569 Posts |
![]()
1. Are we starting with the numbers in order Left to right, top to bottom?
2. Can we only exchange adjacent numbers (side-by-side or one above the other)? 3. Does the same adjacent rule as in 2 apply for the final result? |
![]() |
![]() |
![]() |
#3 | |
"Lucan"
Dec 2006
England
2·3·13·83 Posts |
![]() Quote:
1. No 2. No 3. Yes |
|
![]() |
![]() |
![]() |
#4 |
Dec 2005
22·72 Posts |
![]()
1) numbers are randomly placed
2) exchange between any two numbers is possible, not just adjacently placed numbers 3) final result applies to adjacent numbers |
![]() |
![]() |
![]() |
#5 |
May 2004
New York City
23·232 Posts |
![]()
I can produce the desired configuration in (at most) 45 exchanges.
Is that even close to your upper bound? Here's how: Step 1: Separate the grid into two halves consisting of five rows of even numbers next to five rows of odd numbers. This takes at most 25 exchanges, and leaves all adjacent squares either both even or both odd (except along the boundary between evens and odds) so that their sum is even hence composite. Step 2: In at most 10 exchanges, place even multiples of 3 on that boundary row of evens, and in at most 10 exchanges place odd multiples of 3 on that adjacent boundary row of odds. This leaves the two halves even and odd, and makes the sums across the boundary multiples of 3 hence composite. Thus in at most 25+10+10 = 45 exchanges, all adjacent cells sum to a composite number. |
![]() |
![]() |
![]() |
#6 |
Jun 2003
23×607 Posts |
![]()
The 10 swaps of the even "boundary" values can be avoided if we swap just the odds using the formula 99-<even counterpart>
|
![]() |
![]() |
![]() |
#7 |
Dec 2005
22×72 Posts |
![]()
I get to 35 too as upperbound but I would be surprised if there were a configuration where 35 moves are actually needed
|
![]() |
![]() |
![]() |
#8 | |
"Lucan"
Dec 2006
England
145128 Posts |
![]() Quote:
at least five(?) of the boundary pieces will be involved. By doing these first, surely we can get the cross boundary sum associated with these pieces to be composite, reducing the 10 boundary swaps subsequently needed. David |
|
![]() |
![]() |
![]() |
#9 |
"Lucan"
Dec 2006
England
2×3×13×83 Posts |
![]() |
![]() |
![]() |
![]() |
#10 |
Jun 2003
The Texas Hill Country
32×112 Posts |
![]() |
![]() |
![]() |
![]() |
#11 |
Jun 2003
The Texas Hill Country
32×112 Posts |
![]()
Leave it to the last.
There are 10 odd tokens whose value is a multiple of 5. At most 9 of them could be otherwise required on the boundary. Therefore there is at least one available to be paired with "100" Last fiddled with by Wacky on 2007-11-14 at 20:21 Reason: Clarify that I was referring to only the tokens on the "odd" side |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
is M21934219 composite ? | S485122 | Data | 50 | 2011-01-10 10:28 |
S_N cycles in LL done on composite M(p) | tichy | Math | 1 | 2010-12-23 16:47 |
The composite conjecture | Carl Fischbach | Miscellaneous Math | 8 | 2010-07-02 08:03 |
F10,21=10^(2^21)+1 is composite | Shaopu Lin | Factoring | 2 | 2004-10-31 13:48 |
Checkerboard Problem | Kevin | Puzzles | 4 | 2003-07-27 01:11 |