Primes by Trial Division - A+

5 January 2018

    primes n: {
     found←1⍴2; count←3;
     while (n>⍴found) {
      if (0∈found|count) else found←found,count;
      count←count+1 };
     ←found; }

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026

Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Primes Benchmark Source

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Primes Benchmark Results

Other APL Variants

A+

APL

NIAL