cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

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.

Original entry on oeis.org

5, 447, 700, 3122, 20649, 25816, 70221, 205701, 408624, 2574176, 3827656, 4753563, 12129928, 118200807
Offset: 1

Views

Author

Amiram Eldar, Mar 13 2020

Keywords

Examples

			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.
		

Crossrefs

Programs

  • 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]
Showing 1-1 of 1 results.