GCD Sum With Index Total — Coding Problem — CareerVerse