Viridien Interview Question

Questions about maths and logic