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 A240962 #32 May 22 2025 10:21:37 %S A240962 0,0,0,0,0,0,0,0,1,10,1,2,2,3,2,2,1,2,1,21,1,0,5,2,3,6,3,1,1,32,6,5,7, %T A240962 7,3,3,6,8,6,42,5,6,10,10,5,11,4,12,11,53,5,6,12,10,8,11,15,9,5,64,12, %U A240962 15,14,16,13,12,13,9,16,79,12,16,15,12,14,15 %N A240962 Number of zeros in the decimal expansion of n^n. %H A240962 Anthony Sand, <a href="/A240962/b240962.txt">Table of n, a(n) for n = 1..1000</a> %F A240962 a(n) = A055641(A000312(n)). - _Michel Marcus_, Aug 07 2014 %e A240962 a(1) = zerocount(1^1) = zerocount(1) = 0. %e A240962 a(8) = zerocount(8^8) = zerocount(16777216) = 0. %e A240962 a(9) = zerocount(9^9) = zerocount(387420489) = 1. %e A240962 a(10) = zerocount(10^10) = zerocount(10000000000) = 10. %p A240962 seq(numboccur(0,convert(n^n,base,10)), n=1 .. 100); # _Robert Israel_, Aug 05 2014 %t A240962 Map[Count[IntegerDigits[#^#], 0] &, Range[2, 100]] (* _Michael De Vlieger_, Aug 06 2014 *) %o A240962 (Python) %o A240962 for n in range(1,10**3): %o A240962 print(str(n**n).count('0'),end=', ') # _Derek Orr_, Aug 05 2014 %o A240962 (PARI) a(n) = my(d = digits(n^n)); sum(i=1, #d, ! d[i]); \\ _Michel Marcus_, Aug 10 2014 %Y A240962 Cf. A000312, A055641, A027870, A066588, A240963. %K A240962 nonn,base %O A240962 1,10 %A A240962 _Anthony Sand_, Aug 05 2014