similar problem from Rosen
@ankitgupta.1729
yes base condition will be
$T(0)=0$
$T(1)=01$
right??
@srestha mam, $a_1=2$ because 0 and 1 are possible strings of size 1 where no consecutive 1 occurs
64.3k questions
77.9k answers
244k comments
80.0k users