Sha256: 3076a97ef29c623bb5189cfaee33b965c1ca4f7a1e19a466e472309d008490b4
Contents?: true
Size: 715 Bytes
Versions: 18
Compression:
Stored size: 715 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="20ex" 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} \\[20ex] 3n+1, & \text{if n is odd} \end{cases} </annotation></semantics></math>
Version data entries
18 entries across 18 versions & 1 rubygems