what :
Home > Objects > S > sadam.prime > author : Adam Siska

sadam.prime

Compute the closest prime numbers to a positive integer.


sadam.prime will compute the closest prime numbers to the absolute value of any integer input. It also reports whether the absolute value of the input is a prime or not. Since the smallest prime number is 2, if the absolute value of the input is smaller than 2, the outlet reporting the closest smaller prime will give false results (it reports the absolute value of the input). The object uses an internal prime table to compute the primes which can be printed to the Max window.
from the library :
The sadam Library
Format : External
Environment : max / Max Runtime / msp
freeware
Max 5.x / 6.x



http://www.sadam.hu

4852 objects and 135 libraries within the database Last entries : November 5th, 2021 Last comments : 0 0 visitor and 9759190 members connected RSS
Site under GNU Free Documentation License