Hi, I have a simple question about Plonk whitepaper

I was able to carry out the calculations of the protocol in Sage using Z/101Z and EC y2=x3+3

for a simple circuit of 4 gates.

plonk.pdf (44.1 KB)

On page 26 of the whitepaper,

The EC has order 17 and 4 roots of unity: (1, 16, 4, 13).

Later,

Both definitions of n match for my test circuit.

But what should I do if the circuit has fewer or more gates?

For example, x^3+x+5 has 3 gates.

Thanks,

–h