MathDB
gcd and lcm

Source: 2015 Indonesia Math Olympiad Day 1 Problem 2

June 30, 2017
number theorygreatest common divisorleast common multiple

Problem Statement

For every natural number aa and bb, define the notation [a,b][a,b] as the least common multiple of aa and bb and the notation (a,b)(a,b) as the greatest common divisor of aa and bb. Find all nNn \in \mathbb{N} that satisfies 4k=1n[n,k]=1+k=1n(n,k)+2n2k=1n1(n,k) 4 \sum_{k=1}^{n} [n,k] = 1 + \sum_{k=1}^{n} (n,k) + 2n^2 \sum_{k=1}^{n} \frac{1}{(n,k)}