A209291 Sum of the refactorable numbers less than or equal to n.
1, 3, 3, 3, 3, 3, 3, 11, 20, 20, 20, 32, 32, 32, 32, 32, 32, 50, 50, 50, 50, 50, 50, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 110, 110, 110, 110, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 206, 206, 206, 206, 266
Offset: 1
Keywords
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
- Eric Weisstein's World of Mathematics, Refactorable Number
Programs
-
Maple
with(numtheory); a:= n -> add(i * (1 + floor(i/tau(i)) - ceil(i/tau(i))), i = 1..n):
-
Mathematica
Accumulate[Table[If[Divisible[n,DivisorSigma[0,n]],n,0],{n,60}]] (* Harvey P. Dale, Aug 07 2019 *)
Formula
a(n) = Sum_{i=1..n} i*(1 + floor(i/d(i)) - ceiling(i/d(i))) where d(n) is the number of divisors of n (A000005).
Comments