Infosys Interview Question

upper left triangle with no. printed from 1-5