% Figure 2: from factorials to the inert prime sum (toy model, a = 1000, p = 5). \input{figures/figstyle} \begin{figure}[tbp] \centering \begin{tikzpicture}[fig, x=0.5mm, y=7.5mm] % axis \draw (0,0.4) -- (0,-4.5); \draw (0,0.4) -- (215,0.4); \foreach \v in {0,50,100,150,200} {\draw (\v,0.4) -- (\v,0.55) node[above, font=\footnotesize] {\v};} % bars: e = 1..4, value floor(1000/5^e) \foreach \e/\v/\st in {1/200/odd, 2/40/even, 3/8/odd, 4/1/even} { \pgfmathsetmacro{\yy}{-\e+0.0} \ifnum\e=1 \fill[figdark!80] (0,\yy+0.3) rectangle (\v,\yy-0.3); \fi \ifnum\e=3 \fill[figdark!80] (0,\yy+0.3) rectangle (\v,\yy-0.3); \fi \ifnum\e=2 \fill[pattern=north east lines, pattern color=figmid] (0,\yy+0.3) rectangle (\v,\yy-0.3); \draw[figmid, line width=0.8pt] (0,\yy+0.3) rectangle (\v,\yy-0.3); \fi \ifnum\e=4 \fill[pattern=north east lines, pattern color=figmid] (0,\yy+0.3) rectangle (\v,\yy-0.3); \draw[figmid, line width=0.8pt] (0,\yy+0.3) rectangle (\v,\yy-0.3); \fi \node[anchor=east] at (0,\yy) {$e=\e$:\ \ $\lfloor 1000/5^{\e}\rfloor$}; \node[anchor=west] at (\v+2,\yy) {$\v$}; } % legend / totals \node[anchor=west, align=left] at (45,-3.45) {% \tikz\fill[figdark!80] (0,0) rectangle (4mm,2.5mm);\ odd $e$:\ $200+8=208$\\[3pt] \tikz{\fill[pattern=north east lines, pattern color=figmid] (0,0) rectangle (4mm,2.5mm); \draw[figmid, line width=0.8pt] (0,0) rectangle (4mm,2.5mm);}\ even $e$:\ $40+1=41$\\[3pt] all $e$:\ $v_5(1000!)=200+40+8+1=249$}; \end{tikzpicture} \caption{From factorials to the inert prime sum (toy model, $a=1000$, $p=5$). Legendre's formula counts $\lfloor a/p^e\rfloor$ for each $e$; for $p$ inert, Bhargava's factorial of $\mathcal O_K$ removes the even powers, leaving the odd part $208$ (Remark~\ref{rem:toy}). For a height-two formal group this count is only a \emph{lower bound} for valuations of derivatives of integral functions, and the proof uses the weaker $a\,p/(p^2-1)-\lg_p(a)=203.3$ (Proposition~\ref{prop:jet}).} \label{fig:factorial} \end{figure}