De zeef van Eratosthenes

Sieve of Eratosthenes is a simple algorithm for finding all prime numbers up to any given natural number (in this dynamic worksheet, primes less than 100). Of course, it would be much easier if I've used JavaScript and there would be significantly less lines of code, but I wanted to show what is possible with pure GeoGebra scripting and only one slider... all right... two sliders ;-) Enjoy!

 

chris cambré

 
Resource Type
Activity
Tags
eratostene  eratosthenes  eratóstenes  prime  prime-number  primes  sieve  van  zeef 
Target Group (Age)
10 – 19+
Language
Dutch / Nederlands‎ (België)
 
 
 
© 2024 International GeoGebra Institute