File:Sieve of Sundaram Animated.gif

From testwiki
Jump to navigation Jump to search
    Original file (455 × 284 pixels, file size: 63 KB, MIME type: image/gif, looped, 256 frames, 29 s)
    Note: Due to technical limitations, thumbnails of high resolution GIF images such as this one will not be animated.

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    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

    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.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    7 April 2014

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current23:37, 7 April 2014Thumbnail for version as of 23:37, 7 April 2014455 × 284 (63 KB)wikimediacommons>RedStar24Crisper and smaller image

    There are no pages that use this file.