Math -> Berlekamp-Massey / Kitamasa
Recover the shortest linear recurrence from a prefix when needed, then jump to the k-th term by characteristic-polynomial reduction instead of dense matrix powers.
- Topic slug:
math/berlekamp-massey-kitamasa
- Tutorial page: Open tutorial
- Ladder page: Open ladder
- Repo problems currently tagged here:
1
- Repo companion pages:
3
- Curated external problems:
2
Microtopics
- berlekamp-massey
- kitamasa
- linear-recurrence-jump
- characteristic-polynomial
- discrepancy-update
- kth-term
Learning Sources
Practice Sources
Repo Companion Material
Curated External Problems
Core
| Problem |
Source |
Difficulty |
Context |
Style |
Prerequisites |
Tags |
Why it fits |
| K-th Term of Linearly Recurrent Sequence |
Library Checker |
Hard |
Linear Recurrence |
Math; Algebra; Implementation |
Modular Arithmetic; Linear Recurrence Modeling |
Characteristic Polynomial; K-Th Term |
The clean first verifier where the recurrence is already known and the whole point is to trust the O(d^2 log k) jump instead of a dense matrix. |
Stretch
| Problem |
Source |
Difficulty |
Context |
Style |
Prerequisites |
Tags |
Why it fits |
| Find Linear Recurrence |
Library Checker |
Hard |
Berlekamp-Massey, Linear Recurrence |
Math; Algebra; Implementation |
Modular Arithmetic; Discrepancy Updates |
Minimal Recurrence; Sequence Recovery |
The natural sibling verifier where recurrence recovery itself is the task before any future Kitamasa-style jump. |
Repo Problems
| Code |
Title |
Fit |
Difficulty |
Pattern |
Note |
Solution |
KTHTERMOFLINEARLYRECURRENTSEQUENCE |
K-th Term of Linearly Recurrent Sequence |
primary |
hard |
- |
Note |
Code |
Regeneration
python3 scripts/generate_problem_catalog.py