离散数学英文课件:DM_lecture4_3 Recursive definitions and structural Induction.pptVIP

  • 6
  • 0
  • 约4.02千字
  • 约 10页
  • 2020-09-24 发布于安徽
  • 举报

离散数学英文课件:DM_lecture4_3 Recursive definitions and structural Induction.ppt

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)

1亿VIP精品文档

相关文档