A380087 The sum of the unitary divisors of n that are terms in A276078.
1, 3, 4, 1, 6, 12, 8, 1, 10, 18, 12, 4, 14, 24, 24, 1, 18, 30, 20, 6, 32, 36, 24, 4, 26, 42, 1, 8, 30, 72, 32, 1, 48, 54, 48, 10, 38, 60, 56, 6, 42, 96, 44, 12, 60, 72, 48, 4, 50, 78, 72, 14, 54, 3, 72, 8, 80, 90, 60, 24, 62, 96, 80, 1, 84, 144, 68, 18, 96, 144
Offset: 1
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
f[p_, e_] := If[e <= PrimePi[p], p^e, 0] + 1; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
-
PARI
a(n) = {my(f = factor(n)); prod(i = 1, #f~, if(f[i,2] <= primepi(f[i,1]), f[i,1]^f[i,2], 0) + 1);}