ফাংশনের যোগফল | Math Problem

Click here to read the complete problem statement.

why 3470 is not the answer?