Polynomial / Formal Power Series Ladder¶
This ladder is for the narrow contest route where:
- coefficients live modulo one NTT-friendly prime
- the statement wants truncated FPS algebra
- and plain convolution is only the starting layer
Who This Is For¶
Use this lane if:
- FFT And NTT already feels stable
- you can trust one exact NTT convolution
- you now need inverse / log / exp / pow style series operations
Warm-Up¶
- plain exact convolution -> Convolution
Target skill:
- trust the multiplication layer before trying Newton-style FPS algebra
Core¶
- exact starter ->
fps-inv-newton.cpp - exact flagship -> Inv of Formal Power Series
Target skill:
- work modulo
x^n - spot the condition
a_0 != 0 - use Newton doubling with NTT-backed multiplication
Stretch¶
- logarithm follow-up -> Library Checker - Log of Formal Power Series
- exponential follow-up -> Library Checker - Exp of Formal Power Series
- power follow-up -> Library Checker - Pow of Formal Power Series
- square-root follow-up -> Library Checker - Sqrt of Formal Power Series
Target skill:
- distinguish "same FPS family" from "same exact starter contract"
Retrieval Layer¶
- quick sheet -> Polynomial / FPS hot sheet
- exact starter ->
fps-inv-newton.cpp - parent routers -> Modular Arithmetic hot sheet, Math ladders
Repo Anchors And Compare Points¶
- topic page -> Polynomial / Formal Power Series
- compare point -> FFT And NTT
- flagship rep -> Inv of Formal Power Series
The cleanest in-repo loop here is:
- trust the convolution layer in FFT And NTT
- learn the inverse contract from Polynomial / Formal Power Series
- verify the route on Inv of Formal Power Series
Exit Criteria¶
You are ready to move on when:
- you can say why
a_0 != 0is necessary - you know the Newton step
B <- B(2 - AB) - you remember to truncate every intermediate product
- you can explain why this lane is more than one plain convolution
External Practice¶
- Library Checker - Inv of Formal Power Series
- Library Checker - Log of Formal Power Series
- Library Checker - Exp of Formal Power Series
- Library Checker - Pow of Formal Power Series