OFFSET
0,6
COMMENTS
Conjecture: for n > 0, the n-th row has 2^(n-1)-1 descents.
Using T(n,k) we always can construct semimagic square of size 2^n X 2^n for n >= 0 (with a single exception at n = 1). To do this, take a square matrix M of size 2^n X 2^n and apply M(i,j) = 1 + ((j-i) mod 2^n)*2^n + [(j-i) even]*s(n,i) + [(j-i) odd]*(2^n - s(n,i) - 1) for 0 <= i,j < 2^n where T(n,s(n,k)) = k (see Jack Edward Tisdell link). - Mikhail Kurkov, Feb 06 2026
LINKS
Peter Kagey, Table of n, a(n) for n = 0..8190 (first 12 rows)
Jack Edward Tisdell, Simple method to construct semimagic square of size 2^m X 2^m, answer to question on MathOverflow, 2026.
EXAMPLE
Table begins:
0;
0, 1;
0, 1, 3, 2;
0, 1, 3, 6, 2, 7, 5, 4;
0, 1, 3, 6, 10, 15, 5, 12, 4, 13, 7, 2, 14, 11, 9, 8;
...
MAPLE
T:= (n, k)-> irem(k*(k+1)/2, 2^n):
seq(seq(T(n, k), k=0..2^n-1), n=0..6); # Alois P. Heinz, Jan 08 2020
CROSSREFS
KEYWORD
AUTHOR
Peter Kagey, Nov 11 2019
STATUS
approved
