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 A371384 #11 Mar 22 2024 17:37:29 %S A371384 1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,1,2,1,2,1,2,1,2,1,2,2,1,2,1, %T A371384 2,1,2,1,2,1,1,2,1,2,1,2,1,2,1,2,2,1,2,1,2,1,2,1,2,1,1,2,1,2,1,2,1,2, %U A371384 1,2,2,1,2,1,2,1,2,1,2,1,1,2,1,2,1,2,1,2,1,2 %N A371384 a(n) is the denominator of the arithmetic mean of the digits of n. %H A371384 Stefano Spezia, <a href="/A371384/b371384.txt">Table of n, a(n) for n = 0..10000</a> %H A371384 <a href="/index/Coi#Colombian">Index entries for Colombian or self numbers and related sequences</a>. %t A371384 a[n_]:=Denominator[Mean[IntegerDigits[n]]]; Array[a,90,0] %o A371384 (Python) %o A371384 from math import gcd %o A371384 def A371384(n): return (l:=len(s:=str(n)))//gcd(l,sum(map(int,s))) # _Chai Wah Wu_, Mar 22 2024 %Y A371384 Cf. A004426, A004427, A007953, A055642, A061383, A371383 (numerator). %K A371384 nonn,base,easy,frac %O A371384 0,11 %A A371384 _Stefano Spezia_, Mar 20 2024