Viridien interview question

A math problemm