OFFSET
1,2
COMMENTS
The corresponding record values are 0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 15, 16, ... (see the link for more values).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..75
Amiram Eldar, Table of n, a(n), A349258(a(n)) for n = 1..75
EXAMPLE
The first 6 terms of A349258 are 0, 1, 1, 1, 1 and 2, The record values, 0, 1 and 2, occur at 1, 2 and 6, the first 3 terms of this sequence.
MATHEMATICA
f[p_, e_] := 2^DigitCount[e, 2, 1] - 1; c[1] = 0; c[n_] := Plus @@ f @@@ FactorInteger[n]; cm = -1; s = {}; Do[c1 = c[n]; If[c1 > cm, cm = c1; AppendTo[s, n]], {n, 1, 10^5}]; s
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Nov 12 2021
STATUS
approved