Primes : Eratosthenes Sieve

{% trans 'Sorry, your browser does not support canvas -- please either update your browser or submit your requirements by phone or email.' %}

Accelerometer

Avatar for Peter Walls Peter Walls

Calculate all the prime numbers between 0 and 24 using Eratosthenes' sieve. The numbers are represented sequentially with 0 in the bottom left and 24 in the top right. When run all the prime numbers are left lit. Doesn't work in the emulator because integer division is used.

Report this project
Back to top