Skip to content

Commit 65c395b

Browse files
committed
use pandoc superscript syntax
1 parent a60bab2 commit 65c395b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source_md/recursion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Recursion is actually a way of defining functions in which the function is appli
1717
Definitions in mathematics are often given recursively.
1818
For instance, the fibonacci sequence is defined recursively.
1919
First, we define the first two fibonacci numbers non-recursively.
20-
We say that $F(0) = 0$ and $F(1) = 1$, meaning that the 0<sup>th</sup> and 1<sup>st</sup> fibonacci numbers are $0$ and $1$, respectively.
20+
We say that $F(0) = 0$ and $F(1) = 1$, meaning that the 0^th^ and 1^st^ fibonacci numbers are $0$ and $1$, respectively.
2121
Then we say that for any other natural number, that fibonacci number is the sum of the previous two fibonacci numbers.
2222
So $F(n) = F(n-1) + F(n-2)$.
2323
That way, $F(3)$ is $F(2) + F(1)$, which is $(F(1) + F(0)) + F(1)$.

0 commit comments

Comments
 (0)