OFFSET
1,2
COMMENTS
Except for the term 4, the indices of records of A050370.
The corresponding record values are 0, 1, 2, 3, 4, 5, 8, 9, 11, 12, 13, 14, ... (see the link for more values).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..200
Amiram Eldar, Table of n, a(n) and record values for n = 1..200
EXAMPLE
a(1) = 1 since 1 has 0 ways to be factored into composite factors.
a(2) = 4 since 4 is composite and has 1 presentation as a product of composite numbers: 4.
a(3) = 16 since 16 has 2 presentations as a product of composite numbers: 4 * 4 and 16.
a(4) = 36 since 36 has 3 presentations as a product of composite numbers: 6 * 6, 4 * 9 and 36.
MATHEMATICA
f[_, 1] = f[1, _] = 1; f[n_, m_] := f[n, m] = DivisorSum[n, f[n/#, #] &, 1 < # <= m &]; g[n_] := DivisorSum[n, MoebiusMu[n/#]*f[#, #] &]; gm = 0; seq = {1}; Do[g1 = g[n]; If[g1 > gm, gm = g1; AppendTo[seq, n]], {n, 2, 10^5}]; seq
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Nov 11 2021
STATUS
approved