Sha256: a73fa5d79e65b8a6aabbd9631a436b7ccd0102ee44fab83a8443e8b797b24186
Contents?: true
Size: 716 Bytes
Versions: 18
Compression:
Stored size: 716 Bytes
Contents
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><semantics><mrow><mi>f</mi><mo stretchy="false">(</mo><mi>n</mi><mo stretchy="false">)</mo><mo>=</mo><mrow><mo>{</mo><mrow><mtable displaystyle="false" columnalign="left left" rowspacing="0.5ex" rowlines="none none"><mtr><mtd><mfrac><mi>n</mi><mn>2</mn></mfrac><mo>,</mo></mtd> <mtd><mtext>if n is even</mtext></mtd></mtr> <mtr><mtd><mn>3</mn><mi>n</mi><mo>+</mo><mn>1</mn><mo>,</mo></mtd> <mtd><mtext>if n is odd</mtext></mtd></mtr></mtable></mrow></mrow></mrow><annotation encoding='application/x-tex'> f(n) = \begin{cases} \frac{n}{2}, & \text{if n is even} \\ [2ex] 3n+1, & \text{if n is odd} \end{cases} </annotation></semantics></math>
Version data entries
18 entries across 18 versions & 1 rubygems