Linear integer function generator
Kakoune, 62 keystrokes
&lt;a-l&gt;&quot;ndd&lt;a-l&gt;S 
&quot;hddQxy&lt;a-p&gt;&lt;a-p&gt;_S 
a*&lt;c-r&gt;h+&lt;a-;&gt; &lt;backspace&gt;&lt;esc&gt;&lt;a-h&gt;|bc
k&lt;a-i&gt;ndd&lt;a-j&gt;Q:ex&lt;tab&gt; &lt;c-r&gt;nq
K&lt;a-x&gt;d%&lt;a-s&gt;&lt;a-h&gt;w&lt;a-l&gt;d&lt;a-j&gt;

(note the trailing spaces on line 1 and 2)
Assumes the input in the following format, with the cursor at the start of the buffer:
number of items
kernel separated with spaces in reverse
seed separated by spaces

Gives the output as the numbers space separated.
Here is a video of the solution in action, with a few minor human errors :)