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.

A213856 Least m such that m!*5^m >= n!.

This page as a plain text file.
%I A213856 #7 Sep 23 2018 16:01:09
%S A213856 1,1,2,2,3,3,4,5,5,6,7,8,8,9,10,10,11,12,13,13,14,15,15,16,17,18,18,
%T A213856 19,20,21,21,22,23,23,24,25,26,26,27,28,29,29,30,31,32,32,33,34,35,36,
%U A213856 36,37,38,39,39,40,41,42,42,43,44,45,45,46
%N A213856 Least m such that m!*5^m >= n!.
%H A213856 Clark Kimberling, <a href="/A213856/b213856.txt">Table of n, a(n) for n = 1..1000</a>
%e A213856 a(6) = 3 because (5^2)*2! < 6! <= (5^3)*3!.
%t A213856 Table[m=1; While[n!>(5^m)*m!, m++]; m, {n,1,100}]
%t A213856 Module[{nn=70,m},mt=Table[{m,m! 5^m},{m,nn}];Table[SelectFirst[mt,#[[2]] >= n!&],{n,nn}]][[All,1]] (* _Harvey P. Dale_, Sep 23 2018 *)
%Y A213856 Cf. A213855.
%K A213856 nonn,easy
%O A213856 1,3
%A A213856 _Clark Kimberling_, Jul 17 2012