File:Sieve of Sundaram Animated.gif

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Sieve_of_Sundaram_Animated.gif (455 × 284 pixels, file size: 63 KB, MIME type: image/gif, looped, 256 frames, 29 s)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Animation that visualizes the "Sieve of Sundaram" algorithm.

The Sieve of Sundaram is an algorithm for finding all prime numbers up to a specified integer. One starts with a list of integers 1 to n. From the list, numbers of the form i + j + 2ij where 1 <= i <= j and i + j + 2ij <= n are removed. The remaining numbers in the list are then doubled and incremented by one.

Various optimizations of the algorithm exist, but this visualization shows the verbatim, unoptimized implementation.

This visualization is inspired by Sebastian Koppehel's visualization of the Sieve of Eratosthenes (link).
Date
Source Own work
Author RedStar24

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current22:37, 7 April 2014Thumbnail for version as of 22:37, 7 April 2014455 × 284 (63 KB)RedStar24 (talk | contribs)Crisper and smaller image
17:45, 7 April 2014Thumbnail for version as of 17:45, 7 April 2014500 × 326 (863 KB)RedStar24 (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: