Skip to main content
Commonmark migration
Source Link

TI-BASIC (nspire), 15 bytes

f(n):=isPrime(n 

#TI-BASIC (nspire), 15 bytes f(n):=isPrime(n UsesUses the CAS isPrime() builtin. The environment by default adds an extra parenthesis on the end of the input, making it f(n):=isPrime(n) when the function is defined in the interpreter.

#TI-BASIC (nspire), 15 bytes f(n):=isPrime(n Uses the CAS isPrime() builtin. The environment by default adds an extra parenthesis on the end of the input, making it f(n):=isPrime(n) when the function is defined in the interpreter.

TI-BASIC (nspire), 15 bytes

f(n):=isPrime(n 

Uses the CAS isPrime() builtin. The environment by default adds an extra parenthesis on the end of the input, making it f(n):=isPrime(n) when the function is defined in the interpreter.

added 156 characters in body
Source Link
user50198
user50198

#TI-BASIC (nspire), 1615 bytes f(n):=isPrime(n) Uses the CAS isPrime() builtin. The environment by default adds an extra parenthesis on the end of the input, making it f(n):=isPrime(n) when the function is defined in the interpreter.

#TI-BASIC (nspire), 16 bytes f(n):=isPrime(n) Uses the CAS isPrime() builtin.

#TI-BASIC (nspire), 15 bytes f(n):=isPrime(n Uses the CAS isPrime() builtin. The environment by default adds an extra parenthesis on the end of the input, making it f(n):=isPrime(n) when the function is defined in the interpreter.

Source Link
user50198
user50198

#TI-BASIC (nspire), 16 bytes f(n):=isPrime(n) Uses the CAS isPrime() builtin.