Menu Close

Given-L-n-0-if-n-1-L-n-2-1-if-n-gt-1-find-L-25-




Question Number 92197 by jagoll last updated on 05/May/20
Given L(n) =  { ((0 , if n = 1)),((L ⌊(n/2)⌋ +1 , if n > 1)) :}  find L(25)
GivenL(n)={0,ifn=1Ln2+1,ifn>1findL(25)
Commented by john santu last updated on 05/May/20
L(25)= L(12)+1  = [ L(6) + 1 ] +1 = L(6) +2  = [ L(3)+1 ] +2 = L(3) +3   = [ L(1)+1 ] +3 = L(1) +4   = 0 + 4 = 4
L(25)=L(12)+1=[L(6)+1]+1=L(6)+2=[L(3)+1]+2=L(3)+3=[L(1)+1]+3=L(1)+4=0+4=4

Leave a Reply

Your email address will not be published. Required fields are marked *