次のシーケンスの書き方

次のシーケンスの書き方

次の画像の LaTeX コードの記述を手伝っていただけますか。ここに画像の説明を入力してください

答え1

おそらく、現在の形式では質問に答えるべきではありません。次の質問では、Alan Munn 氏と Peter Wilson 氏のアドバイスを心に留めておいてください。このサイトは初めてではないので、ルールを守ってください。

出発点をお教えしますので、ご自身で完了できると確信しています。 結果

\documentclass{article}
\begin{document}
    \[
        \underbrace{
            \underbrace{
                \underbrace{
                    \underbrace{
                    1}_1
                1}_2
            1}_3
        -1}_2
    \]
\end{document}

答え2

完全な図の解答は次のとおりです。

ここに画像の説明を入力してください

\documentclass{article} % or some other suitable document class
\usepackage{amsmath} % for '\underbrace' macro
\let\ub\underbrace   % handy shortcut macro
\usepackage[lite]{mtpro2} % optional
\begin{document}
$\ub{\ub{\ub{\ub{\ub{\ub{\ub{\ub{1}_1 1}_2 1}_3 -1}_2 1}_3 -1}_2 -1}_1 -1}_0$
\end{document}

補遺-私としては、一番上の行に (マイナス) 記号だけでなく+(プラス) 記号も含まれていれば、図の見栄えがずっと良くなると思います。

ここに画像の説明を入力してください

\documentclass{article} % or some other suitable document class
\usepackage{amsmath} % for '\underbrace' macro
\let\ub\underbrace   % handy shortcut macro
\usepackage[lite]{mtpro2} % optional
\begin{document}
$\ub{{\ub{{\ub{{\ub{{\ub{{\ub{{\ub{{\ub{1}_1} +1}_2} +1}_3} -1}_2} +1}_3} -1}_2} -1}_1} -1}_0$
\end{document}

関連情報