Maths & numbers

Kostka number calculator for semistandard Young tableaux

A semistandard Young tableau fills a partition diagram with labels that may repeat.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

A semistandard Young tableau fills a partition diagram with labels that may repeat. Rows are weakly increasing and columns are strictly increasing. The content specifies exactly how often each label occurs. A Kostka number counts fillings satisfying all three requirements,not merely increasing arrangements of distinct entries.

THE FORMULAK_(λ,μ)=sum K_(ν,μ_without_last),where λ/ν is a horizontal strip of the last multiplicity.

A worked example

Shape(3,2),content(2,2,1) has2 tableaux:top112/bottom23 and top113/bottom22.

Good to know

Straight partition shape≤8 rows,total≤30;≤10 nonnegative content counts with equal total;exact horizontal-strip recursion capped at300,000 calls.

Repeated labels change the tableau problem

A semistandard Young tableau fills a partition diagram with labels that may repeat. Rows are weakly increasing and columns are strictly increasing. The content specifies exactly how often each label occurs. A Kostka number counts fillings satisfying all three requirements,not merely increasing arrangements of distinct entries.

The standard-tableau hook-length formula belongs to the special content having one copy of every label. Reusing it for repeated content would usually give the wrong count. This page keeps shape and content separate so the different combinatorial choices remain visible in the input and output.

Kostka number from a shape and content1122311322Shape (3,2),content (2,2,1):two tableaux
Scroll across to see the full diagram.
Shape(3,2),content(2,2,1) has2 tableaux:top112/bottom23 and top113/bottom22.

Compare this with the Standard Young tableaux calculator from partition shape. Count tableaux of a fixed shape with repeated-entry content and semistandard row/column rules,not standard tableaux with distinct entries.

Read shape and content in different ways

The shape is a nonincreasing list of positive row lengths. The content list gives multiplicities of labels one,two,three and so on;its entries need not be sorted. Both totals must agree. Zero multiplicities are allowed because a label may be absent without relabeling the remaining entries.

A content list such as2,2,1 means two ones,two twos and one three. It does not describe another diagram with those row lengths. The calculator accepts up to eight shape rows,ten labels and thirty cells,with an additional explicit recursion cap for difficult instances.

Remove the largest label as a horizontal strip

All cells carrying the largest label lie at row ends. Column strictness prevents two of those cells from occupying one column. Removing them leaves a smaller partition diagram,with the removed cells forming a horizontal strip whose length equals that label's multiplicity.

The recursion enumerates the remaining shapes through interlacing row inequalities. It then repeats for the next-largest label. This is a structural count rather than a trial of every label assignment to every cell,and it naturally preserves the semistandard rules at each removal step.

Memoization keeps the count exact

Different strip-removal choices can lead to the same remaining shape and content. A memo table reuses that subproblem's exact integer count. The empty shape with empty remaining content contributes one,while an impossible removal contributes zero. No floating probability or numerical approximation is used.

A recursion resource limit is not a zero result. If the bound is exceeded,the calculation raises an error rather than returning the count accumulated so far. A returned zero therefore means that the complete supported recursion found no valid filling,not merely that no filling appeared quickly.

Two fillings for the example shape

For shape(3,2) and content(2,2,1),one filling has top row1,1,2 and bottom row2,3. The other has top row1,1,3 and bottom row2,2. Each uses the required multiplicities;both columns with two cells strictly increase and both rows weakly increase.

There are exactly two such tableaux. Drawing the cells makes the rule differences concrete:two twos may sit together in a row,but putting equal labels directly above one another would violate strict column increase. Changing the content can change the answer without changing the shape at all.

Useful consistency checks

When the content has a single nonzero label,the shape must be a single row to admit a filling. When every label occurs once,the Kostka number equals the standard-tableau count for that shape. These are convenient checks of the horizontal-strip recursion and of the label-order convention.

Sorting the content does not supply a replacement tableau,although Schur-function symmetry makes the total invariant under a permutation of multiplicities. A dominance criterion can detect some impossible shape/content pairs before counting. The returned integer,however,comes from the complete strip recurrence rather than that necessary-condition check alone.

What the answer represents

The metric is a count of tableaux with fixed shape and fixed content. It is not the total over all possible contents,nor the number of standard tableaux,nor a Littlewood–Richardson coefficient involving a skew shape and an additional reading-word condition. Similar diagram notation can hide these different problems.

Use the cell drawing and the example to confirm row orientation before comparing software. This interface uses ordinary left-justified diagrams with the longest row at the top. It does not handle skew holes,shifted diagrams,flagged entries or a q-weighted tableau generating polynomial.

A few questions, answered

May labels repeat in a row?

Yes. Rows increase weakly,but columns must increase strictly.

Is content another partition shape?

No. Its jth entry is the number of occurrences of label j+1 and need not be sorted.

When does the hook-length formula apply?

For standard content with one copy of every label;general repeated content needs the semistandard count.

Are skew diagrams supported?

No. The shape must be an ordinary left-justified partition without holes.

Find your calculator

Start typing to explore the library.