login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A110026 Minimal number of times a rectangular grid of n X n+1 elements can be slid along a 45-degree line before a rotated version of the initial grid appears. 0
1, 1, 3, 5, 21, 45, 231, 585, 1155, 9945, 21945, 69615, 504735, 348075, 4542615, 10094175, 140821065, 111035925, 140821065, 4108329225, 1830673845, 168441498225, 78718975335, 168441498225, 3699791840745, 1179090487575 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
For example, take this n=3 grid:
.................BCF..........................
ABC.....ABCF.....AHI.....BCFI......CFI.....CFIL
DEF.-->.DEHI.-->.DEL.-->.AHEL.-->..BEL.-->.BEHK (done)
GHI.....GJKL.....GJK.....DGJK......AHK.....ADGJ
JKL................................DGJ.........
The diagonal in the leftmost arrangement is the line beginning between G and J and ending between C and F. The triangle containing F, H, I, J, K AND L is moved to the upper right (counterclockwise with respect to the letters that aren't moving). All subsequent moves apply the same rule, only rotated 90 degrees counterclockwise compared to the previous move.
All the elements on the outer ring stay on the outer ring and they seem to be walking (or rotating) in one direction. For a rectangle of 3 X 4, there are 2((width-1)+(height-1)) = 10 elements on the outer ring. Being symmetric over 180 degrees, after 5 of these outer-ring rotations, the pattern seems identical.
A matrix of 5 X 6 elements has a core of the same shape as a 3 X 4 matrix, with a 'ring' added around it. As this core undergoes exactly the same permutations during each shift as a separate 3 X 4 matrix, this means that the total number of moves must be a multiple of 5.
Because the outer ring now contains 18 elements, this total number of moves must also be a multiple of 9. The generator must be one that takes (or calculates) the numbers 5 and 9 and finds the smallest number that divides by both 5 and 9. Such a formula is 5*9/gcd(5,9). The number of rotations on the outer ring is 2*((width-1)+(height-1))/2 = 2n-1. The total number of moves of matrix under the 'shell' is f(n-2).
LINKS
FORMULA
a(0) = 1 a(1) = 1 a(n) = a(n-2) * (2n-1) / gcd(a(n-2), 2n-1).
CROSSREFS
Sequence in context: A239795 A261272 A319488 * A235136 A153862 A266203
KEYWORD
nonn
AUTHOR
Mark Jeronimus, Mar 31 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)