[PD] prime numbers

Pedro Lopes pedro.lopes at ist.utl.pt
Sat Sep 11 23:48:05 CEST 2010


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 at 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 at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>



-- 
Pedro Lopes (ongoing MSc)
contact: pedro.lopes at ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100911/7c31ed40/attachment.htm>


More information about the Pd-list mailing list