#StackBounty: #math-mode #polynom #polynomials How to visualize (polynomial) long division with infinite fractions only for the first n…

Bounty: 50

I have the following fraction `(1+2z^{-1})(1+2z^{-1}+4z^{-3})` which I want to calculate and visualize with the `polynom`-package. However, if I execute the following code:

``````documentclass{article}
usepackage[utf8]{inputenc}
usepackage{amsmath}
usepackage{amsmath}
usepackage{polynom}

title{st-7}
author{abc}
date{June 2019}

begin{document}

maketitle

section{Polynomial Long Division}

polyset{style=C, div=:,vars=z}
polylongdiv{1+2z^{-1}}{1+2z^{-1}+4z^{-3}}

end{document}
``````

I will only get the exact solution:

How can I output the first n fractions, like `1-4z^(-3)+8z^(-4)-16z(-5)+...` (in this case) with respect to intermediate steps, that will be made in order to obtain these fractions? (If this doesn’t work with the `polynom`-package I would be glad if you could mention packages, which will do the job!)

Get this bounty!!!

This site uses Akismet to reduce spam. Learn how your comment data is processed.