#Matlab/Octave 24
Matlab/Octave 24
It is just using a builtin function, using a sieve.
disp(isprime(input('')))
You could also use this:
isprime(input(''))
Which would print the output as the last result in the console, but I am not sure whether this is allowed.