OFFSET
1,2
COMMENTS
Alternating integers are in A030141.
Corresponding records of number of alternating divisors are 1, 2, 3, 4, 6, 7, 9, 11, ...
EXAMPLE
MATHEMATICA
q[n_] := ! MemberQ[Differences[Mod[IntegerDigits[n], 2]], 0]; f[n_] := DivisorSum[n, 1 &, q[#] &]; fm = 0; s = {}; Do[fn = f[n]; If[fn > fm, fm = fn; AppendTo[s, n]], {n, 1, 10^5}]; s (* Amiram Eldar, Jul 08 2022 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Jul 08 2022
EXTENSIONS
a(21)-a(36) from Amiram Eldar, Jul 08 2022
a(37)-a(50) from Charles R Greathouse IV, Jul 08 2022
STATUS
approved