Truncated formal power series algebra under an NTT-friendly prime, with FPS inverse as the first exact route and log/exp/pow as follow-ups.
- Topic slug:
math/polynomial-fps
- Tutorial page: Open tutorial
- Ladder page: Open ladder
- Repo problems currently tagged here:
1
- Repo companion pages:
4
- Curated external problems:
4
Microtopics
- formal-power-series
- polynomial-inverse
- newton-doubling
- truncation-mod-xn
- ntt-backed-convolution
- fps-log-exp-pow
Learning Sources
Practice Sources
Repo Companion Material
Curated External Problems
Core
| Problem |
Source |
Difficulty |
Context |
Style |
Prerequisites |
Tags |
Why it fits |
| Inv of Formal Power Series |
Library Checker |
Hard |
Formal Power Series, NTT |
Implementation; Algebra |
Exact Convolution; Formal Power Series Mod X^n |
Inverse; Newton Iteration |
The clean first benchmark where the entire task is one truncated FPS inverse and Newton doubling is the exact intended route. |
Stretch
| Problem |
Source |
Difficulty |
Context |
Style |
Prerequisites |
Tags |
Why it fits |
| Log of Formal Power Series |
Library Checker |
Hard |
Formal Power Series, NTT |
Implementation; Algebra |
Fps Inverse; Derivative And Integral |
Logarithm; Derivative; Inverse |
The natural follow-up once the inverse route is trusted, because FPS log is just derivative, inverse, product, and integral glued together. |
Challenge
| Problem |
Source |
Difficulty |
Context |
Style |
Prerequisites |
Tags |
Why it fits |
| Exp of Formal Power Series |
Library Checker |
Hard |
Formal Power Series, NTT |
Implementation; Advanced Algebra |
Fps Inverse; Fps Log |
Exponential; Newton Iteration; Advanced |
A major step up where the same FPS worldview survives but the contract grows beyond plain inversion. |
| Pow of Formal Power Series |
Library Checker |
Hard |
Formal Power Series, NTT |
Implementation; Advanced Algebra |
Fps Log; Fps Exp |
Power; Log-Exp; Advanced |
A good later verifier once inverse/log/exp are in place and FPS algebra starts to feel compositional instead of magical. |
Repo Problems
| Code |
Title |
Fit |
Difficulty |
Pattern |
Note |
Solution |
INVOFFORMALPOWERSERIES |
Inv of Formal Power Series |
primary |
hard |
- |
Note |
Code |
Regeneration
python3 scripts/generate_problem_catalog.py