Comando TestPrimo

Da GeoGebra Manual.

Questo comando funziona solo nella Vista CAS.


TestPrimo[Numero]
Restituisce true se il numero è primo, false in caso contrario.
Esempio:
  • TestPrimo[10] restituisce false
  • TestPrimo[11] restituisce true.
© 2024 International GeoGebra Institute