Yep, zexy will do the trick.<div><br></div><div><div> *</div><div> * zexy - implementation file</div><div> *</div><div> * copyleft (c) IOhannes m zmölnig</div><div> *</div><div> *   1999:forum::für::umläute:2004</div><div>


 *</div><div> *   institute of electronic music and acoustics (iem)</div><div><br></div><div>/* get the n-th prime number */ &lt;- what you need, right?</div><div><br></div><div><br></div><div><br></div><div>I guess IOhannes m zmölnig could help you more than me on that matter :)</div>


<div><br></div><div><br></div><div>Best regards,</div><div>Pedro </div><div>p.s.: sorry for the triple-posted message... I&#39;m slow today.</div><div><br></div><br><div class="gmail_quote">On Sat, Sep 11, 2010 at 10:50 PM, Pedro Lopes <span dir="ltr">&lt;<a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>pedro@arkana:~/Apps/pure-data/externals$ find . -name &quot;*prime*&quot; -type f -print 2&gt;/dev/null</div><div>


./zexy/tests/help-msg/prime.pd</div><div>./zexy/tests/help-msg/.svn/text-base/prime.pd.svn-base</div><div>
./zexy/src/prime.c</div><div>./zexy/src/.svn/text-base/prime.c.svn-base</div><div>./zexy/reference/prime-help.pd</div><div>./zexy/reference/.svn/text-base/prime-help.pd.svn-base</div><div>./zexy/reference/.svn/prop-base/prime-help.pd.svn-base</div>



<div><br></div><div>Seems that there are some prime related stuff (not sure what they do.. have to look further into them)  in pd-externals, maybe one can do the trick.</div><div><div></div><div><br><div class="gmail_quote">


On Sat, Sep 11, 2010 at 10:48 PM, Pedro Lopes <span dir="ltr">&lt;<a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>I have no clue if it exists in a pd-object, but its easy to compile and external with some generator from the web:</div>



<div><br></div><div>- <a href="http://snippets.dzone.com/posts/show/4247" target="_blank">http://snippets.dzone.com/posts/show/4247</a> or <a href="http://snipplr.com/view/1219/c-prime-number-generator/" target="_blank">http://snipplr.com/view/1219/c-prime-number-generator/</a> (do you want it to output numbers on bang? all at the same time - I tested that code just now... seems fine and can be tuned to how many primes you want.)</div>





<div><br></div>other way to go: you could grab them from a file (of stored primes) or from an online prime generator =P<div><div></div><div><br><br><div class="gmail_quote">On Sat, Sep 11, 2010 at 9:33 PM, Kim Cascone <span dir="ltr">&lt;<a href="mailto:kim@anechoicmedia.com" target="_blank">kim@anechoicmedia.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">is there a Pd object for generating prime numbers?<br>
<br>
currently I&#39;m:<br>
<br>
[1 2 3 5 7 9...97]<br>
                      |<br>
                      |                       [metro]           |<br>
|                      |<br>
[list=dripslow]<br>
|<br>
[foo]<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Pedro Lopes (ongoing MSc)<br>contact: <a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> <br>






</font></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes (ongoing MSc)<br>contact: <a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> <br>




</div></div></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes (ongoing MSc)<br>contact: <a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> <br>



</div>