cp's OEIS Frontend

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.

A181573 Impossible numbers of trailing zeros in the decimal representation of a factorial of any prime.

This page as a plain text file.
%I A181573 #8 Sep 17 2024 16:23:12
%S A181573 5,11,17,21,23,27,28,29,30,34,36,42,45,48,49,50,52,54,59,60,61,67,70,
%T A181573 72,73,74,78,79,80,83,85,88,91,92,96,98,101,104,105,110,111,115,116,
%U A181573 118,122,123,126,127,129,130,131,132,135,136,141,143,147,152,153,154,155
%N A181573 Impossible numbers of trailing zeros in the decimal representation of a factorial of any prime.
%C A181573 No entry of A039716 ends with 5, 11, 17, 21,... consecutive zeros.
%t A181573 f[n_] := IntegerExponent[Prime@n!, 10]; Complement[ Range[0, 157], Array[f, 115]] (* _Robert G. Wilson v_, Nov 05 2010 *)
%t A181573 zOF[n_Integer?Positive]:=Module[{maxpow=0},While[5^maxpow<=n,maxpow++];Plus@@Table[ Quotient[n,5^i],{i,maxpow-1}]]; Attributes[zOF]={Listable}; With[{z=Union[zOF[Prime[Range[ 150]]]]},Complement[ Range[Max[z]],z]] (* _Harvey P. Dale_, Sep 17 2024 *)
%Y A181573 Cf. A000966.
%K A181573 base,nonn
%O A181573 1,1
%A A181573 _Lekraj Beedassy_, Oct 31 2010
%E A181573 Definition rephrased, keyword:base added by _R. J. Mathar_, Nov 03 2010
%E A181573 More terms from _Robert G. Wilson v_, Nov 05 2010