#set theory syntax?
8 messages · Page 1 of 1 (latest)
The bracket notation is shorthand for continued fractions
$[a; b, c, d] = a + \frac{1}{b + \frac{1}{c + \frac{1}{d}}}$
GabeDoubleU
And the []=1 is just addressing an edge case in the algorithim the alternate solution uses
Which honestly may be overkill for AMC 10s but whatever
.close