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

Home > Numbers > Sequences
123…9 door to door (Posted on 2022-10-27) Difficulty: 3 of 5
Consider the sequence of 9 non zero distinct digits arranged in a 3 by 3 grid , like
547
398
162
Clearly there are 9! (=362880) ways to do it.
If we demand that the consecutive numbers are next-door neighbours
( horizontally or vertically) like
167
258
349
then the number is significantly lower, say N.

Find N & provide your reasoning.

See The Solution Submitted by Ady TZIDON    
Rating: 5.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
My KISS solution | Comment 6 of 27 |
Color the grid chessboard-wise with the upper left black,  each move horizontally or vertically changes color and parity<br>
Since 123….89 consists of 5 odd and 4 even digits  one must start and end on black square, I.e, either one of the  4 corners or the Center. 
  There are 5 possible beginnings and correspondingly 4 endings.
Since due to 90 degrees symmetry there are 2 possible choices of routes there are all in all 5*4*2= 40  Ways!
It seems very easy , like d1, but it took considerably long time to simplify it  to chessboard model of parity.


Edited on November 5, 2022, 1:58 am
  Posted by Ady TZIDON on 2022-11-05 01:51:02

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