complexite.py

Created by condouarthur

Created on June 02, 2022

311 Bytes


# Type your text here
initialisa°:k=0
fact0=1
k!=0!=1 =>fact0=0! propriété vraie au rg 0
hérédité:
supp que la prop soit vr à la fin de la (k-1)ème itéra°
factk-1=(k-1)!
d'après la ligne 12, on a factk=factk-1*k=k!
donc la prop est vrai ap la kèm itéra°
dc factk=k! est un invariant

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.