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.

Showing 1-2 of 2 results.

A362802 a(n) is the number of ways in which the set of divisors of n can be partitioned into disjoint parts, all of length > 1 and with integer harmonic mean.

Original entry on oeis.org

0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 4, 0, 0, 0, 1, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 15, 0, 0, 0, 0, 0, 3, 0, 1, 0, 0, 0, 175, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 188, 0
Offset: 1

Views

Author

Amiram Eldar, May 04 2023

Keywords

Examples

			 n  a(n)  partitions
==  ====  ==========
 6     1  {{1, 2, 3, 6}}
12     1  {{1, 2, 3, 6}, {4, 12}}
24     4  {{1, 2, 3, 6}, {4, 8, 12, 24}}, {{1, 2, 4, 8, 12, 24}, {3, 6}},
          {{1, 3, 6}, {2, 4, 8, 12, 24}}, {{1, 2, 3, 6}, {4, 12}, {8, 24}}
		

Crossrefs

Cf. A339453, A339665, A362801, A362803 (indices of records).

Programs

  • Mathematica
    harmQ[s_] := AllTrue[s, Length[#] > 1 && IntegerQ[HarmonicMean[#]] &]; a[n_] := Module[{d = Divisors[n], r}, r = ResourceFunction["SetPartitions"][d]; Count[r, _?harmQ]]; Array[a, 119]

Formula

a(A362801(n)) > 0.

A362803 Indices of records in A362802.

Original entry on oeis.org

1, 6, 24, 48, 60, 84
Offset: 1

Views

Author

Amiram Eldar, May 04 2023

Keywords

Comments

The corresponding record values are 0, 1, 4, 15, 175, 188, ... .
a(7) >= 120.

Crossrefs

Showing 1-2 of 2 results.