[2307.06595] Integer sequences that are generalized weights of a linear code