PwC interview question

figure out the pattern, etc