Răspuns:
40%
Explicație pas cu pas:
Cazuri favorabile:
n=1 => 2^1<=3+log(2) 1 => 2<=3 (adevarat)
n=2 => 2^2<=3+log(2) 2 => 4<=3+1 (adevarat)
n=4 => 2^4<=3+log(2) 4 => 16<=3+2 (fals)
n=8 => 2^8<=3+log(2) 8 => 2^8<=3+3 (fals)
n=16 => 2^16<=3+log(2) 16 => 2^16<=3+4 (fals)
Sunt 2 cazuri favorabile.
Cazuri posibile:
cardM=5
Probabilitate=cazuri favorabile/cazuri posibile=2/5=40%