I wanted to create list of n Fibonaci numbers. This is my code so far:
\newcount\n \n=5 \newcount\a \newcount\b \newcount\i \a = 1 \b = 1 \i = 0 $a = \the\a$ \par $b = \the\b$ \par $i = \the\i$ \par \vskip 15mm \hrule \loop $\the\b$ \advance\b by \a \multiply\a by -1 \advance\a by \b \advance\i by 1 \ifnum\i<\n \repeat \bye
I'd like to have all numbers on a separate lines but TeX doesn't allow
\loop ... \repeat construction. Do you have any idea how to achieve this?
Thanks for any directions.