Popular Posts

이은한. Powered by Blogger.

레이블이 Math인 게시물을 표시합니다. 모든 게시물 표시
레이블이 Math인 게시물을 표시합니다. 모든 게시물 표시

2022년 2월 17일 목요일

what is Fibonacci sequence


Definition

Certain patterns of numbers.
first and second numbers are always 0,1. next number is addition of previous two numbers

The List of Fibonacci numbers

0,1,1,2,3,5,8,13,21,34,55...0,1,1,2,3,5,8,13,21,34,55...

Recurrence Relation

F0=0F_0=0
F1=1F_1=1
Fn=Fn1+Fn2F_n=F_{n-1}+F_{n-2}

Example

indexfibonacci numberscalculation
000
111
210+1
321+1
431+2
552+3
683+5
7135+8
8218+13
93413+21
105521+34
118934+55
1214455+89
1323389+144
14377144+233
15610233+377
16987377+610

2022년 1월 31일 월요일

what is exclusive


Definition

Exclude the last number in array

Explanation

If a function will compute 2i2^i where i=1,2,...,ni = 1, 2, ..., n
i can have values from 1 up to and excluding the value n.
We says, n is exclude in exclusive

Example

1 through 10 (exclusive) = [1, 10)
1 2 3 4 5 6 7 8 9

what is inclusive


Definition

Include the last number in array

Explanation

If a function will compute 2i2^i where i=1,2,...,ni = 1, 2, ..., n.
i can have values from 1 up to and including the value n.
We says, n is Include in Inclusive

Example

1 through 10 (inclusive) = [1, 10]
1 2 3 4 5 6 7 8 9 10