Intel Corporation interview question

mathematics