OFFSET
1,2
COMMENTS
The corresponding record values are 0, 2, 3, 8, 14, 16, 41, 56, 84, 87, 112, ...
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..500
EXAMPLE
The first 9 values of A348271(k) for k = 1 to 9 are: 0, 0, 0, 2, 0, 0, 0, 0 and 3. The record values, 0, 2 and 3, occur at 1, 4 and 9, the first 3 terms of this sequence.
MATHEMATICA
f[p_, e_] := Module[{b = IntegerDigits[e, 2], m}, m = Length[b]; Product[If[b[[j]] > 0, 1 + p^(2^(m - j)), 1], {j, 1, m}]]; isigma[1] = 1; isigma[n_] := Times @@ f @@@ FactorInteger[n]; s[n_] := DivisorSigma[1, n] - isigma[n]; seq={}; sm = -1; Do[s1 = s[n]; If[s1 > sm, sm= s1; AppendTo[seq, n]], {n, 1, 10^4}]; seq
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Oct 09 2021
STATUS
approved