Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A110026
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A110026 Minimal number of times a rectangular grid of n X n+1 elements can be slid along a 45 degrees line before a rotated version of the initial grid appears. +0
1
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; listen)
OFFSET

0,3

COMMENT

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 (counter clockwise with respect to the letters that aren't moving). All subsequent moves apply the same rule, only rotated 90 degrees counter clockwise 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 3x4, 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).

FORMULA

a(0) = 1 a(1) = 1 a(n) = a(n-2) * (2n-1) / gcd(a(n-2), 2n-1)

CROSSREFS

Sequence in context: A148551 A148552 A148553 this_sequence A153862 A056803 A071706

Adjacent sequences: A110023 A110024 A110025 this_sequence A110027 A110028 A110029

KEYWORD

nonn

AUTHOR

Mark Jeronimus (mark.jeronimus(AT)gmail.com), Mar 31 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research