cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Registration open for Discovery Summit Europe. User Group Members benefit from a 25% discount with the code: DSEUgroup24
Choose Language Hide Translation Bar
alan_ruttle
Level II

Prime Numbers

Does anyone know if there is a way to search for prime numbers in JMP?

1 ACCEPTED SOLUTION

Accepted Solutions
ian_jmp
Staff

Re: Prime Numbers

Not that I know of, though I guess you could code something if you have the knowledge and know what you want.

 

Not sure it's worth it, though - See for example. You can download their software and 'win a cash prize' (?!) apparently . . .

View solution in original post

5 REPLIES 5
ian_jmp
Staff

Re: Prime Numbers

Not that I know of, though I guess you could code something if you have the knowledge and know what you want.

 

Not sure it's worth it, though - See for example. You can download their software and 'win a cash prize' (?!) apparently . . .

alan_ruttle
Level II

Re: Prime Numbers

Thanks Ian,

I figured as much, I knew it was a long shot :) . I would be looking to find prime numbers within a fixed range and I know there are some algorithims out there I could use. 

Re: Prime Numbers

Hi Alan, 

 

 

Robert Anderson has found in the JMP 14 documentation a script for this:

https://www.jmp.com/support/help/14/create-an-interactive-program.shtml

 

The script only works for numbers up to 100, if you want to look for primes above that, you would have to modify the script.

 

Regards, 

Maria

ian_jmp
Staff

Re: Prime Numbers

Unfortunately that script assumes you already know the answer (since it contains a list of primes).

alan_ruttle
Level II

Re: Prime Numbers

Thanks Maria, I would be looking at up to 90 digits.