一些检查失败了
automerge / automerge (push) Has been cancelled
react-native-android-build-apk / AssembleRelease (push) Has been cancelled
Build macOS M1 / Main (push) Has been cancelled
Joplin Continuous Integration / Main (macos-15-intel) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-11-vs2026-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-2025) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04-arm) (push) Has been cancelled
Joplin UI tests / Main (ubuntu-22.04) (push) Has been cancelled
Joplin UI tests / Main (windows-2025) (push) Has been cancelled
Joplin UI tests / Mobile (push) Has been cancelled
Close stale issues / ProcessStaleIssues (push) Has been cancelled
74 行
2.9 KiB
HTML
74 行
2.9 KiB
HTML
<!-- From https://en.wikipedia.org/wiki/Collatz_conjecture -->
|
|
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle f(n)={\begin{cases}n/2&{\text{if }}n\equiv 0{\pmod {2}},\\3n+1&{\text{if }}n\equiv 1{\pmod {2}}.\end{cases}}}">
|
|
<semantics>
|
|
<mrow class="MJX-TeXAtom-ORD">
|
|
<mstyle displaystyle="true" scriptlevel="0">
|
|
<mi>f</mi>
|
|
<mo stretchy="false">(</mo>
|
|
<mi>n</mi>
|
|
<mo stretchy="false">)</mo>
|
|
<mo>=</mo>
|
|
<mrow class="MJX-TeXAtom-ORD">
|
|
<mrow>
|
|
<mo>{</mo>
|
|
<mtable columnalign="left left" rowspacing=".2em" columnspacing="1em" displaystyle="false">
|
|
<mtr>
|
|
<mtd>
|
|
<mi>n</mi>
|
|
<mrow class="MJX-TeXAtom-ORD">
|
|
<mo>/</mo>
|
|
</mrow>
|
|
<mn>2</mn>
|
|
</mtd>
|
|
<mtd>
|
|
<mrow class="MJX-TeXAtom-ORD">
|
|
<mtext>if </mtext>
|
|
</mrow>
|
|
<mi>n</mi>
|
|
<mo>\u2261</mo>
|
|
<mn>0</mn>
|
|
<mrow class="MJX-TeXAtom-ORD">
|
|
<mspace width="0.444em"></mspace>
|
|
<mo stretchy="false">(</mo>
|
|
<mi>mod</mi>
|
|
<mspace width="0.333em"></mspace>
|
|
<mn>2</mn>
|
|
<mo stretchy="false">)</mo>
|
|
</mrow>
|
|
<mo>,</mo>
|
|
</mtd>
|
|
</mtr>
|
|
<mtr>
|
|
<mtd>
|
|
<mn>3</mn>
|
|
<mi>n</mi>
|
|
<mo>+</mo>
|
|
<mn>1</mn>
|
|
</mtd>
|
|
<mtd>
|
|
<mrow class="MJX-TeXAtom-ORD">
|
|
<mtext>if </mtext>
|
|
</mrow>
|
|
<mi>n</mi>
|
|
<mo>\u2261</mo>
|
|
<mn>1</mn>
|
|
<mrow class="MJX-TeXAtom-ORD">
|
|
<mspace width="0.444em"></mspace>
|
|
<mo stretchy="false">(</mo>
|
|
<mi>mod</mi>
|
|
<mspace width="0.333em"></mspace>
|
|
<mn>2</mn>
|
|
<mo stretchy="false">)</mo>
|
|
</mrow>
|
|
<mo>.</mo>
|
|
</mtd>
|
|
</mtr>
|
|
</mtable>
|
|
<mo fence="true" stretchy="true" symmetric="true"></mo>
|
|
</mrow>
|
|
</mrow>
|
|
</mstyle>
|
|
</mrow>
|
|
<annotation encoding="application/x-tex">{\displaystyle f(n)={\begin{cases}n/2&{\text{if }}n\equiv 0{\pmod {2}},\\3n+1&{\text{if }}n\equiv 1{\pmod {2}}.\end{cases}}}</annotation>
|
|
</semantics>
|
|
</math></span><img src="/some/src/here" class="mwe-math-fallback-image-display mw-invert skin-invert" aria-hidden="true" style="vertical-align: -3.171ex; width:45.735ex; height:7.509ex;"/> |