Let $C = \{c \in \mathbb{F}^n_2 : Hc=0\}$ be a binary linear code where $H \in \mathbb{F}^{k \times n}_2$ is a block lower-triangular matrix of full rank called the parity-check matrix of $C$. Clearly $C$ has rate $\frac{k}{n}$. Define $A_i(C) = |\{c \in C : ||c||=i\}|$ for all $0 \leq i \leq n$ where $||\cdot||$ denotes the Hamming weight of $c$ i.e. the number of non-zero entries. In general, I am interested in obtaining non-trivial upper-bounds for $|C|$ and $A_i(C)$ however that might prove very difficult without more information about $H$ (or perhaps not, I am open to any suggestions). So consider the following special case. Let $n \in \mathbb{N}$ be even and construct $H \in \mathbb{F}^{\frac{n}{2} \times n}_2$ as follows $$H = \left( \begin{array}{ccccccccc} 1 & 1 & 0 & 0 & 0 & 0 & \cdots & \cdots & 0 \\ 1 & 0 & 1 & 1 & 0 & 0 & \cdots & \cdots & 0\\ 1 & 0 & 1 & 0 & 1 & 1 & \cdots & \cdots & 0\\ \vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots\\ 1 & 0 & 1 & 0 & 1 & 0 & \cdots & 1 & 1\end{array} \right) $$
Simulations have shown (although I have no idea how to prove these results) that $$|C|=2^{\frac{n}{2}}$$ $$A_0(C) = 1$$ $$A_1(C) = 0$$ $$A_2(C) = 1$$ $$A_3(C) = \left\{ \begin{array}{ll} \frac{n}{2} & n \geq 4 \\ 0 & otherwise \\ \end{array} \right. $$ $$A_4(C) = \left\{ \begin{array}{ll} \frac{n}{2}-1 & n \geq 6 \\ 0 & otherwise \\ \end{array} \right. $$ $$A_5(C) = \left\{ \begin{array}{ll} n-4 & n \geq 8 \\ 1 & n=6 \\ 0 & otherwise \end{array} \right. $$
and finally for all $n$ such that $\frac{n}{2}$ is odd, we have $A_{n-\left \lfloor{\frac{n}{4}}\right \rfloor}(C) = 1 $ where $\left \lfloor{\cdot}\right \rfloor$ denotes the floor function. I have seen no other discernible patterns. I am looking for any suggestions or references on how to show exact answers or upper bounds (more likely) for any Hamming weights. Thanks.