Search Problems   RSS Feed
projecteuler.net

Arithmetic Derivative

 Published on Saturday, 11th October 2014, 01:00 pm and solved by 667
Difficulty: Level 29 [76%]

Problem 484

The arithmetic derivative is defined by

  • $p^\prime = 1$ for any prime $p$
  • $(ab)^\prime = a^\prime b + ab^\prime$ for all integers $a, b$ (Leibniz rule)

For example, $20^\prime = 24$.

Find $\sum \operatorname{\mathbf{gcd}}(k,k^\prime)$ for $1 \lt k \le 5 \times 10^{15}$.

Note: $\operatorname{\mathbf{gcd}}(x,y)$ denotes the greatest common divisor of $x$ and $y$.



Copied to Clipboard