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 A281664 #18 Jan 27 2017 13:04:26 %S A281664 1,2,6,10,18,22,30,42,46,58,66,70,78,82,102,106,126,130,138,150,162, %T A281664 166,178,190,198,210,222,226,238,250,262,270,282,306,310,330,346,358, %U A281664 366,378,382,418,430,438,442,462,466,478,486,490,498,502,522,546,562 %N A281664 Numbers k such that A000005(k) = A000005(A000217(k)). %C A281664 Numbers k such that the number of divisors of k is equal to the number of divisors of k*(k+1)/2. %H A281664 Colin Barker, <a href="/A281664/b281664.txt">Table of n, a(n) for n = 1..1000</a> %F A281664 a(n) = A045326(n) - 1. - _Alois P. Heinz_, Jan 27 2017 %p A281664 a:= proc(n) option remember; local p; p:= a(n-1)+2; %p A281664 while irem(p, 4)<>3 do p:= nextprime(p) od; p-1 %p A281664 end: a(1):=1: %p A281664 seq(a(n), n=1..100); # _Alois P. Heinz_, Jan 27 2017 %t A281664 Select[Range@ 562, DivisorSigma[0, #] == DivisorSigma[0, PolygonalNumber@ #] &] (* _Michael De Vlieger_, Jan 27 2017, Version 10.4 *) %o A281664 (PARI) select(n->numdiv(n)==numdiv(n*(n+1)/2), vector(1000, n, n)) %Y A281664 Cf. A000005, A000217, A006093, A045326. %K A281664 nonn %O A281664 1,2 %A A281664 _Colin Barker_, Jan 26 2017