Skip to content

Commit 04a5dec

Browse files
authored
nim L to R (#89)
1 parent 98841bd commit 04a5dec

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

content/maths/reference/equations.typ

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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),
99
*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:
1010
$ a_n = d_1 r_1^n + dots.c + d_k r_k^n $
1111
Non-distinct root $r$ becomes polynomial factor, e.g. $a_n = (d_1 n + d_2) r^n$.
12+
13+
*Grundy number for nim L to R:*
14+
$ f(x) = floor((x mod (L+R))/L) $

0 commit comments

Comments
 (0)