# expectedBetti(ZZ,ZZ,ZZ) -- compute the expected betti table from the Hilbert numerator

## Synopsis

• Function: expectedBetti
• Usage:
B=expectedBetti(g,r,d)
• Inputs:
• Outputs:
• B, , a Betti table that has Hilbert numerator the same as for a nondegenerate maximal-rank curve of genus g and degree d in $\PP^{ r}$, with O_C(2) non-special.

## Description

 i1 : betti expectedBetti(0,4,4) 0 1 2 3 o1 = total: 1 6 8 3 0: 1 . . . 1: . 6 8 3 o1 : BettiTally i2 : betti expectedBetti(16,3,15) 0 1 2 3 o2 = total: 1 9 12 4 0: 1 . . . 1: . . . . 2: . . . . 3: . . . . 4: . . . . 5: . 9 6 . 6: . . 6 4 o2 : BettiTally