Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions content/maths/reference/equations.typ
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ $ cases(a x + b y = e, c x + d y = f) arrow.double x = (e d - b f)/(a d - b c),
*Recurrences:* If $a_n = c_1 a_(n-1) + dots.c + c_k a_(n-k)$ and $r_1, dots, r_k$ are distinct roots of $x^k - c_1 x^(k-1) - dots.c - c_k$, then:
$ a_n = d_1 r_1^n + dots.c + d_k r_k^n $
Non-distinct root $r$ becomes polynomial factor, e.g. $a_n = (d_1 n + d_2) r^n$.

*Grundy number for nim L to R:*
$ f(x) = floor((x mod (L+R))/L) $