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!)
A276449 Number of 1-orbits of the cyclic group C_4 for a bi-colored square n X n grid with n squares of one color. 4

%I #37 Nov 30 2016 01:18:13

%S 1,0,0,4,6,0,0,120,190,0,0,7140,11480,0,0,635376,1028790,0,0,75287520,

%T 122391522,0,0,11143364232,18161699556,0,0,1978369382080,

%U 3230129794320,0,0,409663695276000,669741609663270,0,0,96930293990660064,158625578809472060

%N Number of 1-orbits of the cyclic group C_4 for a bi-colored square n X n grid with n squares of one color.

%C The old name was: Number of ways to choose n points from an n X n grid so that they have 90-degree rotational symmetry.

%C Consider a square n X n grid with n^2 squares. Each of the n^2 squares comes in two colors.

%C (E.g., an n X n chessboard with only two black fields, or a binary n X n matrix).

%C There are N(n) = binomial(n^2,n) = A014062(n) such 2-color grids. We are interested in configurations where n squares are colored in one way, say black, and the remaining ones stay white. Only colored grids modulo rotation around some axis perpendicular to the board through its center are of interest. These rotations represent the cyclic group C_4. Under C_4 operations R(90)^k, k=1..4, there will only be orbits of order 1 (colored grids invariant under R(90)^1, hence any rotation) order 2 (two different grids each not invariant under R(90)^1 but R(90)^2 operation, transforming into each other) and order 4 (four different grids each not invariant under R(90)^k for k=1,2,3, but under R(4)^4, transforming into each other). The orbit structure is denoted by 1^(e(n,1)) 2^(e(n,2)) 4^(e(n,4)) with e(n, 2^j) nonnegative integers for j=0,1,2. One has Sum_{j=0,1,2} 2^j*e(n,2^j) = N(n), and Sum_{j=0,1,2} e(n,2^j) which is the total number of orbits, given in A276454(n).

%C For example, one of the four 1-orbits of 4 X 4 board. (o) white, (+) black:

%C + o o +

%C o o o o

%C o o o o

%C + o o + ,

%C an example of a 2-orbit,

%C + o + o o o o +

%C o o o o + o o o

%C o o o o o o o +

%C o + o + + o o o ,

%C an example of a 4-orbit,

%C + + + + o o o + o o o o + o o o

%C o o o o o o o + o o o o + o o o

%C o o o o o o o + o o o o + o o o

%C o o o o o o o + + + + + + o o o .

%C The present sequence a(n) gives the number of 1-orbits of such 2-colored boards with n squares of one color under C_4.

%H Hong-Chang Wang, <a href="/A276449/b276449.txt">Table of n, a(n) for n = 1..100</a>

%F a(n) = binomial((2*i)^2,i), for n = 4*i,

%F a(n) = binomial((2*i)*(2*i+1),i), for n = 4*i+1,

%F a(n) = 0, for others.

%e a(4) = 4, the arrangements are as follows:

%e + o o + o + o o o o + o o o o o

%e o o o o o o o + + o o o o + + o

%e o o o o + o o o o o o + o + + o

%e + o o + o o + o o + o o o o o o

%e a(5) = 6, the arrangements are as follows:

%e + o o o + o + o o o o o + o o

%e o o o o o o o o o + o o o o o

%e o o + o o o o + o o + o + o +

%e o o o o o + o o o o o o o o o

%e + o o o + o o o + o o o + o o

%e and

%e o o o + o o o o o o o o o o o

%e + o o o o o + o + o o O + o o

%e O o + o o o o + o o o + + + o

%e o o o o + o + O + O o o + o o

%e o + o o o o o o o o o o o o o

%e reformatted - _Wolfdieter Lang_, Oct 02 2016

%p seq(op([binomial(2*i*(2*i+1),i),0,0,binomial(4*(i+1)^2,i+1)]),i=0..30); # _Robert Israel_, Sep 05 2016

%t Table[If[MemberQ[{2, 3}, #], 0, Function[i, Binomial[(2 i) (2 i + #), i]]@ Floor[n/4]] &@ Mod[n, 4], {n, 37}] (* _Michael De Vlieger_, Sep 07 2016 *)

%o (Python)

%o import math

%o def nCr(n,r):

%o f = math.factorial

%o return f(n) / f(r) / f(n-r)

%o # main program

%o for j in range(101):

%o if j%4 == 0:

%o a = nCr((j*j/4),(j/4))

%o elif j%4 == 1:

%o a = nCr(((j-1)/2)*((j-1)/2+1),((j-1)/4))

%o else:

%o a = 0

%o print(str(j)+" "+str(a))

%Y Cf. A014062, A276451, A276452, A276454.

%K nonn,easy

%O 1,4

%A _Jason Y.S. Chiu_, _Chiang, Tung-Ying_, _Hsiang-An Wang_, _Hong-Chang Wang_, Sep 02 2016

%E Edited: New name. Old name as a comment. Text substantially changed. _Wolfdieter Lang_, Oct 02 2016

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 July 13 21:17 EDT 2024. Contains 374288 sequences. (Running on oeis4.)