Ques 33,31, 29, 20, 19,11, 8

not able to find the algorithm in this questions