PUMaC 2016 · 数论(B 组) · 第 5 题
PUMaC 2016 — Number Theory (Division B) — Problem 5
题目详情
- For odd positive integers n , define f ( n ) to be the smallest odd integer greater than n that is not relatively prime to n . Compute the smallest n such that f ( f ( n )) is not divisible by 3.
解析
- Observe that if n is divisible by 3 then so is f ( n ). Thus, n and f ( n ) must not be divisible by