Mathematics and Applied Mathematics
December 26, 2018
odd, prime, numbers, integral
Above simple MATLAB/Octave program, can detect if a number is prime or not. If the
result is zero (considering zero being less than 1e-5), the number introduced is a prime.
If the result is an integer, this result will tell us how many permutations of two divisors,
the input number has. As you can check, no recurrent division by odd or prime numbers