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.

A383147 Sum of odd divisors m of n such that there is a divisor d of n with d < m < 2*d.

Original entry on oeis.org

0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 5, 0, 0, 12, 0, 5, 0, 0, 0, 3, 0, 0, 0, 7, 0, 23, 0, 0, 0, 0, 7, 12, 0, 0, 0, 5, 0, 31, 0, 0, 29, 0, 0, 3, 0, 0, 0, 0, 0, 39, 0, 7, 0, 0, 0, 23, 0, 0, 9, 0, 0, 47, 0, 0, 0, 7, 0, 12, 0, 0, 30, 0, 11, 42, 0, 5, 0, 0, 0, 31, 0, 0, 0, 11, 0, 77, 13, 0, 0, 0, 0
Offset: 1

Views

Author

Omar E. Pol, Apr 17 2025

Keywords

Examples

			For n = 18 there are two odd divisors m of 18 such that there is a divisor d of 18 with d < m < 2*d. Those odd divisors are 3 and 9 as shown below:
   d  <  m  <  2*d
--------------------
   1            2
   2     3      4
   3            6
   6     9     12
   9           18
  18           36
.
The sum of both divisors is 3 + 9 = 12, so a(18) = 12.
		

Crossrefs

Programs

  • Mathematica
    a[n_] := Module[{d = Partition[Divisors[n], 2, 1]}, Total[Select[d, OddQ[#[[2]]] && #[[2]] < 2*#[[1]] &][[;; , 2]]]]; Array[a, 100] (* Amiram Eldar, Apr 18 2025 *)

Formula

a(n) = A000593(n) - A379379(n).