A258218 Number of length (4*n-1) bit patterns with 2*n ones that form circulant core of Hadamard matrices of size 4*n.
3, 14, 22, 30, 38, 46, 0, 248, 70, 0, 344, 94
Offset: 1
Examples
a(1)=3=1*(4*1-1), a(2)=14=2*(4*2-1), a(3)=22=2*(4*3-1), a(4)=30=2*15, a(7)=0, a(8)=248=8*31, a(9)=70=2*35, a(10)=0, a(11)=344=8*43, a(12)=94=2*47.
Links
- Minfeng Wang, C++ code for A258218
- Wikipedia, Hadamard matrix
Crossrefs
Formula
a(n) = k(n)*(4*n-1), where k(n) is an algorithmically defined function of n yielding 0, 1, or even integers. The algorithm for k(n) consists of enumeration of all combinations C(4*n-1,2*n) with counting of bit patterns that yield Hamming distances between the 2*n-1 circularly shifted pairs of exactly 2*n.
Extensions
a(1)-a(9) confirmed and a(10)-a(12) extended by Minfeng Wang, Apr 25 2024
Comments