n, an integer, the dimension of ambient projective space
Outputs:
an integer, the number of lines on a general hypersurface of degree 2n - 3 in \mathbb P^n
Description
Computes the number of lines on a general hypersurface of degree 2n - 3 in \mathbb P^n.
i1 : time for n from 2 to 10 list linesHypersurface(n)
-- used 0.0239989s (cpu); 0.0243404s (thread); 0s (gc)
o1 = {1, 27, 2875, 698005, 305093061, 210480374951, 210776836330775,
------------------------------------------------------------------------
289139638632755625, 520764738758073845321}
o1 : List