How this calculation works
Compute the full polynomial K_lambda,mu(t) by tableau charge, rather than the ungraded integer tableau count K_lambda,mu(1). Requires a new charge algorithm and produces coefficient-by-degree data.
K_{λμ}(t)=Σ_{T∈SSYT(λ,μ)}t^{charge(T)}; K_{λμ}(1)=K_{λμ}.A worked example
For shape (2,2) and content (1,1,1,1), K(t)=t²+t⁴. Evaluating at t=1 gives 2, the number of standard tableaux of that shape.
Good to know
Partitions lambda and mu of equal total n≤10; ≤100,000 semistandard tableaux enumerated and ≤2 million charge operations. Initial mu must be a partition, not arbitrary composition.
Reference: SageMath: Kostka-Foulkes polynomials (opens in a new tab) ↗
Graded versus ordinary Kostka numbers
An ordinary Kostka number counts semistandard tableaux of a shape and content. The Kostka–Foulkes polynomial refines that total by assigning each tableau an integer charge degree.
Its coefficient of t^d counts tableaux with charge d. Evaluating at one forgets the grading and recovers the ordinary count, providing a strong check against an independent ungraded tableau engine.
Compare this with the Kostka number calculator for semistandard Young tableaux. Compute the full polynomial K_lambda,mu(t) by tableau charge, rather than the ungraded integer tableau count K_lambda,mu(1). Requires a new charge algorithm and produces coefficient-by-degree data.
Partition-shape and content conventions
The shape and initial content are partitions of the same total. Rows of a semistandard tableau are weakly increasing, columns strictly increasing, and content records each label’s multiplicity.
Zero content entries should be normalized consistently before the computation. Arbitrary composition content introduces reading and convention issues that are excluded by the initial partition-content contract. The default shape(2,2) with standard content(1,1,1,1) has two tableaux and polynomial t²+t⁴. Evaluating at t=1 gives the ordinary Kostka count two, but the exponent distribution carries additional information. This makes the page more than a new display format for ungraded tableau enumeration. The content must be a partition here; arbitrary composition content would require an explicitly defined extension of the charge convention rather than silently sorting observations with a different interpretation.
Semistandard tableau enumeration
Enumerate tableaux satisfying both shape and content, rather than all words with the right multiplicities. Local row and column inequalities prune impossible fillings before a complete tableau is formed.
Every surviving tableau contributes exactly once. Its charge is calculated from the declared reading word using a fixed standard-subword procedure; changing the convention without adjustment can reverse or shift polynomial degrees.
Reading-word charge definition
Charge computation repeatedly extracts suitable subwords and sums their index contributions. The implementation must state the reading direction and verify it against published normalization examples.
The result should expose the coefficient list or charge distribution alongside the symbolic polynomial. This makes zero coefficients and degree gaps visible instead of hiding them in a single evaluation. A semistandard tableau has weakly increasing rows and strictly increasing columns. The implementation enumerates all tableaux of the chosen shape and content, reads rows from bottom to top and computes charge by cyclic right-to-left extraction. When the next required symbol cannot be found to the left, the extraction wraps and the charge index increases. These conventions are important: using the opposite reading word can exchange charge and cocharge or alter the polynomial normalization while leaving the t=1 count unchanged.
Accumulating the polynomial
For shape (2,2) with four distinct labels, the two tableaux contribute degrees two and four. Their sum is t²+t⁴, whose value at one is two.
The degree gap matters: replacing the polynomial by 2t³ would preserve its total and average degree while reporting the wrong charge distribution. Polynomial fixtures therefore need complete coefficients.
Worked two-tableau charge example
The standard-content q-hook identity supplies independent fixtures without reusing tableau charge code. For example, shape (2,1) has polynomial t+t², while shape (3,1) has t³+t⁴+t⁵.
A nonstandard-content normalization check is K_(2,2),(2,1,1)=t. It comes from the unique tableau with first row 1,1 and second row 2,3, and tests beyond standard-content hook formulas. A complete validation checks nonnegative integer coefficients, the ungraded sum and special known shapes, not just one numeric evaluation at an arbitrary t. The calculator returns coefficients by degree rather than estimating a polynomial from sampled values. It has a tableau and operation cap; if enumeration stops early, neither the coefficient list nor the t=1 sum is presented as complete. This implementation does not construct Hall–Littlewood symmetric functions or claim a general symbolic-function engine.
Degree identities and finite enumeration limits
The initial engine uses bounded tableau enumeration, so its supported total is smaller than an ungraded dynamic-programming count. That smaller limit reflects the extra statistic rather than an equivalent calculator preset.
If the enumeration or charge-operation cap is reached, partial coefficient totals are not the polynomial. A complete result must also agree with the ordinary Kostka count at t=1 and respect dominance-based zero cases.
A few questions, answered
How is this related to a Kostka number?
Set t=1 to recover the ordinary Kostka number.
Why must content be a partition initially?
The initial charge convention and validation are specified for partition content.
Can polynomial coefficients be negative?
No. In the tableau-charge interpretation, coefficients count tableaux and are nonnegative integers.
What fixes the charge convention?
The declared reading-word/subword algorithm is checked against published complete-polynomial examples.