Brain Teasers

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
I think the "G" in pgc stands for Gomory. :-)


I had never heard the name so I looked up the google definition:

Gomory - is a strong and a mighty duchess, she appears as a fair woman, with a duchesses coronet about her middle. Her mount is a camel. ...

and I got worried. :confused:

After a quick search I found, however, a match that made much more sense. :)
 
I didn't know you could find a solution in the web :(

Neither did I.....


If the rook can retrace its steps... then...
Excel Workbook
ABCDEFGH
1Start3456789
212151413121110
31817162324252627
41920212231302928
53635343332434445
63738394041424746
754535251504948/6263
855565758596061End
Sheet1
Excel 2003

OR
Excel Workbook
ABCDEFGH
10Start54/67891011
111231615141312
122019181726272829
132122232425322130
143837363534334647
153940414243444548
165655545352515049
1757585960616263End
Sheet1
Excel 2003<input id="gwProxy" type="hidden"><!--Session data--><input *******="jsCall();" id="jsProxy" type="hidden">
 
I am very sorry Sandeep. I interpreted re-trace as go back the same way, not going back to any square you've been.

I must have been half asleep already when I answered that because it has no sense going back the same way (really dumb :().


So, no, you are not allowed to re-trace or else any path would do.
 
here's what I have (using sandeep's table format :)). I'm assuming that the rook keeps it's jumping abilities since a rook doesn't have to move one square at a time but can actually move several squares at a time. So in the below example, once the rook gets to position 59 it jumps to position 60, then moves back one square then finally down one square:<TABLE style="WIDTH: 164pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=220 border=0 x:str><COLGROUP><COL style="WIDTH: 34pt; mso-width-source: userset; mso-width-alt: 1645" width=45><COL style="WIDTH: 17pt; mso-width-source: userset; mso-width-alt: 841" span=6 width=23><COL style="WIDTH: 28pt; mso-width-source: userset; mso-width-alt: 1353" width=37><TBODY><TR style="HEIGHT: 13.5pt" height=18><TD class=xl22 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black 0.5pt solid; BORDER-LEFT: black 0.5pt solid; WIDTH: 34pt; BORDER-BOTTOM: black 1pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: white" width=45 height=18>Start</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>1</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>2</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>3</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>4</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>5</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>6</TD><TD class=xl25 style="BORDER-RIGHT: #666699 1pt solid; BORDER-TOP: black 1pt solid; BORDER-LEFT: black; WIDTH: 28pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=37 x:num>7</TD></TR><TR style="HEIGHT: 13.5pt" height=18><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black 1pt solid; WIDTH: 34pt; BORDER-BOTTOM: black 1pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: white" width=45 height=18 x:num>27</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>28</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>29</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>30</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>31</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>32</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>33</TD><TD class=xl25 style="BORDER-RIGHT: #666699 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 28pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=37 x:num>8</TD></TR><TR style="HEIGHT: 13.5pt" height=18><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black 1pt solid; WIDTH: 34pt; BORDER-BOTTOM: black 1pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: white" width=45 height=18 x:num>26</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>47</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>48</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>49</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>50</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>51</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>34</TD><TD class=xl25 style="BORDER-RIGHT: #666699 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 28pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=37 x:num>9</TD></TR><TR style="HEIGHT: 13.5pt" height=18><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black 1pt solid; WIDTH: 34pt; BORDER-BOTTOM: black 1pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: white" width=45 height=18 x:num>25</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>46</TD><TD class=xl27 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: yellow" width=23 x:num>59</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>61</TD><TD class=xl27 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: yellow" width=23 x:num>60</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>52</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>35</TD><TD class=xl25 style="BORDER-RIGHT: #666699 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 28pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=37 x:num>10</TD></TR><TR style="HEIGHT: 13.5pt" height=18><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black 1pt solid; WIDTH: 34pt; BORDER-BOTTOM: black 1pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: white" width=45 height=18 x:num>24</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>45</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>58</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>62</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>54</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>53</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>36</TD><TD class=xl25 style="BORDER-RIGHT: #666699 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 28pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=37 x:num>11</TD></TR><TR style="HEIGHT: 13.5pt" height=18><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black 1pt solid; WIDTH: 34pt; BORDER-BOTTOM: black 1pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: white" width=45 height=18 x:num>23</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>44</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>57</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>56</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>55</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>38</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>37</TD><TD class=xl25 style="BORDER-RIGHT: #666699 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 28pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=37 x:num>12</TD></TR><TR style="HEIGHT: 13.5pt" height=18><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black 1pt solid; WIDTH: 34pt; BORDER-BOTTOM: black 1pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: white" width=45 height=18 x:num>22</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>43</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>42</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>41</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>40</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>39</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>14</TD><TD class=xl23 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 28pt; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: white" width=37 x:num>13</TD></TR><TR style="HEIGHT: 13.5pt" height=18><TD class=xl24 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black 1pt solid; WIDTH: 34pt; BORDER-BOTTOM: #666699 1pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: white" width=45 height=18 x:num>21</TD><TD class=xl24 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: #666699 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>20</TD><TD class=xl24 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: #666699 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>19</TD><TD class=xl24 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: #666699 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>18</TD><TD class=xl24 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: #666699 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>17</TD><TD class=xl24 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: #666699 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>16</TD><TD class=xl24 style="BORDER-RIGHT: black 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 17pt; BORDER-BOTTOM: #666699 1pt solid; BACKGROUND-COLOR: white" width=23 x:num>15</TD><TD class=xl26 style="BORDER-RIGHT: #666699 1pt solid; BORDER-TOP: black; BORDER-LEFT: black; WIDTH: 28pt; BORDER-BOTTOM: #666699 1pt solid; BACKGROUND-COLOR: white" width=37>End



Hi Pedro,

Good question!!!

Tried out some basic combos.... always one square left out....

Excel Workbook
ABCDEFGH
1Start3456789
212151413121110
31817162324252627
41920212231302928
53635343332434445
63738394041424746
754535251504948Left Out
855565758596061End
Sheet1
Excel 2003



Need to get in more thinking done i guess :biggrin:
 
Hi crimson_b1ade....

I think the 62 needs to be near End.... either at your current 13 or 15 (or 14??)

If your strategy is allowed then...
Excel Workbook
ABCDEFGH
1Start3456789
212151413121110
31817162324252627
41920212231302928
53635343332434445
63738394041424847
75554535251504946
856575859606162End
Sheet1
Excel 2003

At 45 the rook jumps to 46 and comes back to 47.....<input id="gwProxy" type="hidden"><!--Session data--><input *******="jsCall();" id="jsProxy" type="hidden"><input id="gwProxy" type="hidden"><!--Session data--><input *******="jsCall();" id="jsProxy" type="hidden">
 
Last edited:
I'm assuming that the rook keeps it's jumping abilities since a rook doesn't have to move one square at a time but can actually move several squares at a time.

Hi crimson_b1ade

If the rook moves several squares at a time all the squares between the start and end position will be marked as used.

Remark:

rook keeps it's jumping abilities

I think the rook has no jumping abilities, it must pass by all the squares in between. That's why you cannot move to from a square to another one in the same row or in the same column if there's another piece in between. Only the knight can jump.

P. S. Let's not discuss whether in castling the rook jumps over or dances with the king. :)
 

Forum statistics

Threads
1,223,755
Messages
6,174,318
Members
452,555
Latest member
colc007

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top