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.
%I A241954 #21 Apr 23 2018 04:05:19 %S A241954 1,0,1,2,0,1,3,4,0,0,0,3,1,2,5,0,0,2,0,1,0,0,0,10,0,0,0,4,0,1,2,4,0,0, %T A241954 0,1,0,1,3,1,0,4,0,1,0,0,0,3,0,0,0,0,0,2,0,9,1,0,0,14,0,1,5,0,0,0,0,1, %U A241954 0,0,0,6,0,1,0,0,0,1,0,3,0,0,0,4,0,0 %N A241954 Number of integers x such that the repeated application of sigma(x)->x leads to n. %C A241954 If n is A007369 (sigma(x) = n has no solution) then a(n) = 0. %C A241954 Obviously a(n) >= A054973(n), number of solutions to sigma(x) = n. %C A241954 The equality is obtained for terms of A007369, but not only: see a(n) for 1, 3, 6, 13, 18, 20, 30, 31, 36, 38 ... %C A241954 The maxima for a(n) are : 1, 2, 3, 4, 5, 10, 14, 15 ... and are obtained for n: 1, 4, 7, 8, 15, 24, 60, 120, ... %H A241954 Jens Kruse Andersen, <a href="/A241954/b241954.txt">Table of n, a(n) for n = 1..10000</a> %H A241954 G. L. Cohen and H. J. J. te Riele, <a href="http://projecteuclid.org/euclid.em/1047565640">Iterating the sum-of-divisors function</a>, Experimental Mathematics, 5 (1996), pp. 93-100 (see p. 97) %e A241954 There is a single integer such that sigma(x) = 1 so a(1) = 1. %e A241954 For n=4, we have only sigma(3) = 4 and sigma(sigma(2)) = 4, so a(4) = 2. %e A241954 For n=7, we have only sigma(4) = 7, sigma(sigma(3)) = 7, and sigma(sigma(sigma(2))) = 7, so a(7) = 3. %o A241954 (PARI) isok(i, n) = {j = i; while((k = sigma(j)) < n, j = k); k == n;} %o A241954 a(n) = {if (n == 1, return (1)); nb = 0; for (i=2, n-1, nb += isok(i, n);); nb;} %Y A241954 Cf. A000203, A007369, A054973, A216200. %K A241954 nonn %O A241954 1,4 %A A241954 _Michel Marcus_, Aug 09 2014