cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A209291 Sum of the refactorable numbers less than or equal to n.

Original entry on oeis.org

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

Views

Author

Wesley Ivan Hurt, Jan 16 2013

Keywords

Comments

A number is refactorable if it is divisible by the number of its divisors.
The first 8 terms are odd. The next odd term after 11 is a(225) = 2395.
600 out of the first 1000 terms are odd, including every term from a(625) up to and including a(1000). - Harvey P. Dale, Aug 07 2019

Crossrefs

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).