IntersectionNumber

IntersectionNumber(R, i, j, k) returns the intersection number $p_{ij}^k$ of R.