'''Primer''' is a [[pattern]] that was constructed by [[Dean Hickerson]] on November 1, {{year|1991}} that produces a stream of [[lightweight spaceship]]s representing [[Prime number|prime numbers]]. N is prime if and only if a lightweight spaceship escapes to the left of the [[pentadecathlon]] at the bottom-left corner of the pattern at [[generation]] {{nowrap|120 N + 100}}.<ref>{{filename|PRIMES.LIF}} from [[Alan Hensel]]'s [http://www.ibiblio.org/lifepatterns/ {{filename|lifep.zip}} pattern collection]. Accessed on July 28, 2009.</ref><ref>{{CiteGollyPatternCollection|four-primers.rle.gz|accessdate=July 28, 2009}}</ref> It was the first known pattern created that computes prime numbers, though others have since been constructed based on the same ideas.<ref name="post6330" />
'''Primer''' is a [[pattern]] that was constructed by [[Dean Hickerson]] on November 1, {{year|1991}} that produces a stream of [[lightweight spaceship]]s representing [[Prime number|prime numbers]]. N is prime if and only if a lightweight spaceship escapes to the left of the [[pentadecathlon]] at the bottom-left corner of the pattern at [[generation]] {{nowrap|120 N + 100}}.<ref>{{filename|PRIMES.LIF}} from [[Alan Hensel]]'s [http://www.ibiblio.org/lifepatterns/ {{filename|lifep.zip}} pattern collection]. Accessed on July 28, 2009.</ref><ref>{{CiteGollyPatternCollection|four-primers.rle.gz|accessdate=July 28, 2009}}</ref> It was the first known pattern created that computes prime numbers, though others have since been constructed based on the same ideas.<ref name="post6330" />
It works by using [[glider]]s to emulate a prime number sieve<ref>{{LinkWikipedia|Sieve_of_Eratosthenes|name=Sieve of Eratosthenes|nobullet=nobullet}}</ref>. Lightweight spaceships that move westward are deleted by gliders that represent positive integers if the lightweight spaceship represents a multiple of that number.
It works by using [[glider]]s to emulate a prime number sieve<ref>{{LinkWikipedia|Sieve_of_Eratosthenes|name=Sieve of Eratosthenes|nobullet=nobullet}}</ref>. Lightweight spaceships that move westward are deleted by gliders that represent positive odd integers if the lightweight spaceship represents a multiple of that number.
Primer is a pattern that was constructed by Dean Hickerson on November 1, 1991 that produces a stream of lightweight spaceships representing prime numbers. N is prime if and only if a lightweight spaceship escapes to the left of the pentadecathlon at the bottom-left corner of the pattern at generation120 N + 100.[1][2] It was the first known pattern created that computes prime numbers, though others have since been constructed based on the same ideas.[3]
It works by using gliders to emulate a prime number sieve[4]. Lightweight spaceships that move westward are deleted by gliders that represent positive odd integers if the lightweight spaceship represents a multiple of that number.