I have no clue if it exists in a pd-object, but its easy to compile and external with some generator from the web:

http://snippets.dzone.com/posts/show/4247 or http://snipplr.com/view/1219/c-prime-number-generator/ (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.)

other way to go: you could grab them from a file (of stored primes) or from an online prime generator =P

On Sat, Sep 11, 2010 at 9:33 PM, Kim Cascone <kim@anechoicmedia.com> wrote:
is there a Pd object for generating prime numbers?

currently I'm:

[1 2 3 5 7 9...97]
                     |
                     |                       [metro]           |
|                      |
[list=dripslow]
|
[foo]

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



--
Pedro Lopes (ongoing MSc)
contact: pedro.lopes@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes