login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A333263
Numbers k such that the sum of iterations of the alternating sum of divisors function A071324 starting from k is equal to 2*k.
0
5, 447, 700, 3122, 20649, 25816, 70221, 205701, 408624, 2574176, 3827656, 4753563, 12129928, 118200807
OFFSET
1,1
EXAMPLE
5 is a term since the iterations of A071324 with a starting value of 5 give A071324(5) = 4, A071324(4) = 3, A071324(3) = 2, and A071324(2) = 1, whose sum is 4 + 3 + 2 + 1 = 10 = 2 * 5.
MATHEMATICA
f[n_] := Plus @@ (-(d = Divisors[n])*(-1)^(Range[Length[d], 1, -1])); seqQ[n_]:=Plus @@ FixedPointList[f, n] == 3n + 1; Select[Range[10000], seqQ]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, Mar 13 2020
STATUS
approved