- 6
- 0
- 约4.02千字
- 约 10页
- 2020-09-24 发布于安徽
- 举报
Discrete Mathematics * Hui Gao Discrete Mathematics * Hui Gao §4.3: Recursive definitions and structural Induction Recursive (or inductive ) def.: Define value of objects (sequences, functions, sets, ...) in terms of themselves (smaller similar ones). Ex: The factorial function f(n) = n! 1. f(0) = 1 2. f(n) = n x f(n-1) for all n 0. Ex: the sequence 1,2,4,... (an = 2n) can be defined recursively as follows: 1. a0 = 1; 2. an+1 = 2 x an for n 0. Bad recursive definiti
原创力文档

文档评论(0)