3 struct1 [shape=record, label="...|<ak> $a_k$ | <akp1> $a_{k+1}$| <akp2> $a_{k+2}$ | <akpd1> ... | <akpd2> ... |<akprm1> $a_{k+r-1}$ |<akpr> $a_{k+r}$|...",pos="2,2!"];
5 q0 [label="$q_0$",pos="0,1!"]
6 q1 [label="$q_1$",pos="0.8,1!"]
7 q2 [label="$q_2$",pos="1.6,1!"]
8 qd1 [label="...",pos="2.4,1!"]
9 qd2 [label="...",pos="3.2,1!"]
10 qrm1 [label="$q_{r-1}$",pos="4.06,1!"]
12 s [label="$\sum$", pos="6,0!"]
18 struct1:akprm1 -> qrm1
29 s -> struct1:akpr:s [label="$\mod p$"]