0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【001_フィボナッチ数列】コマ大数学科

Last updated at Posted at 2021-01-12

【001_フィボナッチ数列】コマ大数学科

15段の階段がある。階段を上がるのには1段ずつ上がるのと2段ずつ上がるのと2通りの上がり方がある。この上がり方を組み合わせてちょうど15段上がるのは通りの登り方があるか。

image.png

\begin{tikzpicture}
  % ==階段,放物線,
  % 線を引く
  \draw (-1,0)--(0,0);
  \draw (-1,0)--(0,0);
  \foreach \x in {0,0.5,1,...,7.5}
  \foreach \y in {0,1,2,...,15}
{
  \draw ({\x},{\x})-|({(\x)+(0.5)},{(\x)+(0.5)});
  \coordinate (\y) at ({\y/2+0.25},{\y/2});
  \node at ({\y/2},{\y/2})[below right]{\y};
}	
\draw [->](0) parabola bend ($(0)+(0.25,0.75)$) (1);  % 1段飛ばし
\draw [->](1) parabola bend ($(1)+(0.5,1.5)$)(3);     % 2段飛ばし
\draw [->](3) parabola bend ($(3)+(0.25,0.75)$) (4);  % 1段飛ばし
\draw [->](4) parabola bend ($(4)+(0.5,1.5)$)(6);     % 2段飛ばし

\end{tikzpicture}


0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?