Primes demo

The Primes demo shows how a SPARKL configuration can decide if an integer is a prime number.

To run the Primes demo you have to first download or build it.

Running the Primes demo


  1. Log into the Developer Console.
  2. Download and import the Primes Expressions mix.
  3. On the Navigation Tree panel of the Developer Console select the Primes_expr folder.
  4. Go to the Mix view of the configuration.
  5. Click the CheckPrime operation.
  6. Enter an integer for the field n and click Test.

    Figure: Primes Expressions example - Overview


SPARKL calculates whether the integer you entered is a prime number.

What to do next

  • Download and run other demos
  • Build your own SPARKL mixes with the help of tutorials