title: Repeated function application in APL
body: <p>Given the integers <em>p</em>, <em>q</em> and <em>n</em> I would like to generate a vector of length <em>n</em> with the elements</p>
  
  <pre><code>(⌊p ÷ q) (⌊(⌊p ÷ q) ÷ q) ...
  </code></pre>
  
  <p>In other words I want to construct a vector where the <em>i</em>:th element is <code>{⌊⍵ ÷ q}</code> applied <em>i</em> times on <em>p</em>. How can I do that in APL?</p>