A192134 Difference between n-th prime power and its arithmetic derivative.
1, 1, 2, 0, 4, 6, -4, 3, 10, 12, -16, 16, 18, 22, 15, 0, 28, 30, -48, 36, 40, 42, 46, 35, 52, 58, 60, -128, 66, 70, 72, 78, -27, 82, 88, 96, 100, 102, 106, 108, 112, 99, 50, 126, -320, 130, 136, 138, 148, 150, 156, 162, 166, 143, 172, 178, 180, 190, 192, 196
Offset: 1
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Haskell
a192134 n = a000961 n - a192015 n -- Reinhard Zumkeller, Apr 16 2014
-
Mathematica
f[n_] := If[n == 1, 1, If[PrimePowerQ[n], {p, e} = FactorInteger[n][[1]]; n - e*p^(e-1), Nothing]]; Array[f, 300] (* Amiram Eldar, Apr 11 2025 *)