Rosetta Problems

Find Linear Recurrence

https://judge.yosupo.jp/problem/find_linear_recurrence