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 A086358 #28 Jan 26 2023 21:21:46 %S A086358 1,1,2,6,6,3,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, %T A086358 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, %U A086358 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9 %N A086358 Digital root of n!. %C A086358 a(n) = 9 for n >= 6. %H A086358 <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (1). %F A086358 a(n) = A010888(n!) = fixed-point of A007953(n!). It equals n! modulo(9); at r = 0 use 9. %F A086358 G.f.: (1 + x^2 + 4*x^3 - 3*x^5 + 6*x^6)/(1 - x). - _Stefano Spezia_, Jan 26 2023 %e A086358 n = 5, 5 != 120, iteration list = {120,3}, a(5) = 3. %t A086358 sud[x_] := Apply[Plus, DeleteCases[IntegerDigits[x], 0]]; Table[FixedPoint[sud, w!], {w, 1, 87}] %Y A086358 Cf. A000142, A086353-A086361, A007953, A010888, A038194, A029898, A004152. %K A086358 nonn,base,easy %O A086358 0,3 %A A086358 _Labos Elemer_, Jul 21 2003 %E A086358 a(0) = 1 prepended by _Alois P. Heinz_, Dec 05 2018