Let N>0 be a positive natural number and let k≥0 be natural number with N≥k.Let S be a subset of 1,2,...,k−1. Define the fundamental polynomial in N variables as Fk,S(x1,x2,...,xN):=∑1≤i1≤i2≤⋯≤ik≤N ; j∈S⟹ij<ij+1xi1xi2⋯xik.
Question: Is there an existing command to obtain those polynomials for a given triple (N,k,S) via Sage?
I found a section about quasi-symmetric functions in Sage but it uses the language of Hopf algebras and I am not sure whether this contains the fundamental polynomials already in this form.