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 A256464 #6 Mar 31 2015 00:20:58 %S A256464 1,2,5,4,13,6,23,9,19,13,43,12,59,22,27,19,79,19,97,22,41,35,113,24, %T A256464 89,43,59,33,157,31,173,41,77,61,101,36,211,71,95,45,239,46,257,59,71, %U A256464 86,281,48,209,73,127,73,331,62,167,67,143,111,373,60,389,121 %N A256464 a(n) is the index, in the A256440 triangle, of the first row where n is the n-th term of the row. %C A256464 The integers for which a(n)=n are 1, 2, 4, 6, 12, 24, 36, 48, 60, ... : A004394. %C A256464 The integers for which a(n)=n-1 are 3, 8, 18, 30, 72, ...: A247022 (except 3). %e A256464 Triangle A256440 starts: %e A256464 1; %e A256464 1, 2; %e A256464 1, 3, 2; %e A256464 1, 3, 2, 4; %e A256464 1, 5, 3, 2, 4; %e A256464 1, 5, 3, 2, 4, 6; %e A256464 1, 7, 5, 3, 2, 4, 6; %e A256464 ... %e A256464 a(1)=1 because row 1 is the first row where 1 is the 1st term of the row. %e A256464 a(2)=2 because row 2 is the first row where 2 is the 2nd term of the row. %e A256464 a(3)=5 because row 5 is the first row where 3 is the 3rd term of the row. %o A256464 (PARI) posf(n) = {i = n; stop = 0; while (! stop, v = vector(i, k, sigma(k)/k); w = vecsort(v, , 1); pos = posv(n, w); if (pos == n, stop=1, i++);); i;} %Y A256464 Cf. A004394, A247022, A256440. %K A256464 nonn %O A256464 1,2 %A A256464 _Michel Marcus_, Mar 30 2015