Fibonacci Sequence
Author: 藍邦偉老師

$ 費伯納西數列 $

A1 = 1
B1 = 1
C1: A1 + B1
C2: B1 + C1
B2: C1
C3: B2 + C2
B3: C2
C4: B3 + C3
B4: C3
C5: B4 + C4
B5: C4
C6: B5 + C5
B6: C5
C7: B6 + C6
B7: C6
C8: B7 + C7
B8: C7
C9: B8 + C8
B9: C8
C10: B9 + C9
B10: C9
C11: B10 + C10
B11: C10
C12: B11 + C11
B12: C11
C13: B12 + C12
B13: C12
C14: B13 + C13
B14: C13
C15: B14 + C14
B15: C14
C16: B15 + C15
B16: C15
C17: B16 + C16
B17: C16
C18: B17 + C17
B18: C17
C19: B18 + C18
B19: C18
C20: B19 + C19
B20: C19
n = 3 (slider from 3 to 40, step 1)
B21: C20
C21: B20 + C20
B22: C21
C22: B21 + C21
B23: C22
C23: B22 + C22
B24: C23
C24: B23 + C23
B25: C24
C25: B24 + C24
B26: C25
C26: B25 + C25
B27: C26
C27: B26 + C26
B28: C27
C28: B27 + C27
B29: C28
C29: B28 + C28
B30: C29
C30: B29 + C29
B31: C30
C31: B30 + C30
B32: C31
C32: B31 + C31
B33: C32
C33: B32 + C32
B34: C33
C34: B33 + C33
B35: C34
C35: B34 + C34
B36: C35
C36: B35 + C35
B37: C36
C37: B36 + C36
B38: C37
C38: B37 + C37
B39: C38
C39: B38 + C38
B40: C39
C40: B39 + C39
list1: {B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, B22, B23, B24, B25, B26, B27, B28, B29, B30, B31, B32, B33, B34, B35, B36, B37, B38, B39, B40}
t_1: "$ a_{" + (LaTeX[n]) + "} =a_{" + (LaTeX[n - 2]) + "}+a_{" + (LaTeX[n - 1]) + "}$
$\;\;\;\;\;=" + (LaTeX[Element[list1, n - 2]]) + "+" + (LaTeX[Element[list1, n - 1]]) + "=" + (LaTeX[Element[list1, n]]) + "$"
list2 = Take(list1, 1, n)
text1: "$\left\lbrace a_n  \right\rbrace = " + (LaTeX[list2]) + " $"