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 A331183 #8 Jan 12 2020 23:51:05 %S A331183 1,1,1,2,1,1,1,3,2,2,1,1,1,1,1,4,1,1,1,2,1,2,1,1,1,3,1,1,1,1,1,5,1,3, %T A331183 1,1,1,4,2,2,1,1,1,2,1,1,1,1,2,1,1,3,1,1,1,1,1,2,1,1,1,1,1,6,1,1,1,3, %U A331183 1,1,1,1,1,5,1,4,1,1,1,2,1,6,1,1,2,3,2,2,1,1,1,1,1,2,1,1,1,1,2,1,1,1,1,3,1 %N A331183 Number of values of k, 1 <= k <= n, with A323898(k) = A323898(n). %C A331183 Ordinal transform of A323898, or equally, of the ordered pair [A000120(n), A083254(n)]. %H A331183 Antti Karttunen, <a href="/A331183/b331183.txt">Table of n, a(n) for n = 1..16384</a> %H A331183 Antti Karttunen, <a href="/A331183/a331183.txt">Data supplement: n, a(n) computed for n = 1..65537</a> %H A331183 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a> %o A331183 (PARI) up_to = 16384; %o A331183 ordinal_transform(invec) = { my(om = Map(), outvec = vector(length(invec)), pt); for(i=1, length(invec), if(mapisdefined(om,invec[i]), pt = mapget(om, invec[i]), pt = 0); outvec[i] = (1+pt); mapput(om,invec[i],(1+pt))); outvec; }; %o A331183 A083254(n) = (2*eulerphi(n)-n); %o A331183 A323898aux(n) = [hammingweight(n), A083254(n)]; %o A331183 v331183 = ordinal_transform(vector(up_to,n,A323898aux(n))); %o A331183 A331183(n) = v331183[n]; %Y A331183 Cf. A000120, A083254, A323898. %Y A331183 Cf. also A331182, A331184. %K A331183 nonn %O A331183 1,4 %A A331183 _Antti Karttunen_, Jan 12 2020