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 A239061 #16 Apr 05 2021 03:54:34 %S A239061 1,1,2,1,2,1,2,1,2,1,3,1,5,2,4,1,4,1,4,1,3,3,2,1,2,3,2,2,4,1,3,1,5,1, %T A239061 6,1,3,2,4,1,5,1,6,3,5,1,2,1,4,1,6,2,3,1,5,2,3,3,3,1,5,3,3,1,9,2,5,1, %U A239061 5,2,4,1,5,3,5,3,10,1,5,1,2,1,3,1,10,3 %N A239061 Number of integers x, 1 <= x <= n, such that x^x == 1 (mod n). %H A239061 Giovanni Resta, <a href="/A239061/b239061.txt">Table of n, a(n) for n = 1..10000</a> %t A239061 gg1[n_] := Sum[If[PowerMod[x, x, n] == Mod[1, n], 1, 0], {x, n}];Array[gg1,200] %Y A239061 Cf. A239062, A239063 (indices of 1's). %K A239061 nonn %O A239061 1,3 %A A239061 _José María Grau Ribas_, Mar 09 2014