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 A062181 #10 Feb 16 2025 08:32:44 %S A062181 3,26,33,62,236,244,263,326,333,362,424,442,623,632,1999,2266,2336, %T A062181 2344,2363,2434,2443,2626,2633,2662,3236,3244,3263,3326,3333,3362, %U A062181 3424,3442,3623,3632,4234,4243,4324,4342,4423,4432,6226,6233,6262,6323,6332 %N A062181 Harmonic mean of digits is 3. %H A062181 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/HarmonicMean.html">Harmonic Mean</a>. %H A062181 Wikipedia, <a href="http://www.wikipedia.org/wiki/Harmonic_mean">Harmonic mean</a>. %t A062181 Do[ h = IntegerDigits[n]; If[ Sort[h][[1]] != 0 && Length[h]/Apply[Plus, 1/h] == 3, Print[n]], {n, 1, 10^4}] %o A062181 (Python) %o A062181 from fractions import Fraction %o A062181 def hm(n): %o A062181 s = str(n) %o A062181 return None if '0' in s else len(s)/sum(Fraction(1, int(d)) for d in s) %o A062181 def aupto(limit): return [m for m in range(limit+1) if hm(m) == 3] %o A062181 print(aupto(6332)) # _Michael S. Branicky_, Mar 26 2021 %Y A062181 Cf. A062179-A062185, A061383-A061388, A061423-A061425. %K A062181 base,easy,nonn %O A062181 1,1 %A A062181 _Vladeta Jovovic_, Jun 12 2001 %E A062181 More terms from _Henry Bottomley_, Jul 25 2001