MathDB
2023 MOAA Team P14

Source:

October 14, 2023
MOAA 2023

Problem Statement

For a positive integer nn, let function f(n)f(n) denote the number of positive integers ana\leq n such that gcd(a,n)=gcd(a+1,n)=1\gcd(a,n) = \gcd(a+1,n) = 1. Find the sum of all nn such that f(n)=15f(n)=15.
Proposed by Harry Kim