← Complete problem index

PROJECT EULER · #0625

Gcd Sum

Statement only · SolvedOriginal problem ↗

G(N)=j=1Ni=1jgcd(i,j).
You are given: G(10)=122.

Find G(1011). Give your answer modulo 998244353.

Write-up coming later

The complete problem is available here. An approach, code, and answer will be added later.