--- title: "Examining Prime Numbers: Two Programs" type: "article" slug: "examining-prime-numbers-two-programs" url: "http://localhost/article/examining-prime-numbers-two-programs/" markdown_url: "http://localhost/article/examining-prime-numbers-two-programs.md" published_at: "2020-10-27T17:18:42+00:00" modified_at: "2024-06-23T00:43:30+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "The first of the two programs below tests a set of numbers to see which members of the set are primes. The program asks for (and enters with INPUT statements) the beginning and the end of the set and displays those numbers in the chosen set which are primes." category: - name: "SYNC" slug: "sync" taxonomy: "category" url: "http://localhost/category/periodicals/sync/" post_tag: - name: "1981" slug: "year-1981" taxonomy: "post_tag" url: "http://localhost/tag/year-1981/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" - name: "ZX80" slug: "zx80" taxonomy: "post_tag" url: "http://localhost/tag/zx80/" model: - name: "Sinclair ZX80" slug: "zx80" taxonomy: "model" url: "http://localhost/model/zx80/" indiv: - name: "George Repicky" slug: "george-repicky" taxonomy: "indiv" url: "http://localhost/indiv/george-repicky/" publication: "Sync" publication_r: id: 10243 title: "SYNC" type: "periodical" url: "http://localhost/periodical/sync-magazine/" authors: "George Repicky" volume: "1" issue: "5" issues_articles: - id: 26639 title: "SYNC v1 n5" type: "issue" url: "http://localhost/issue/sync-v1-n5/" pages: "34-35" pubdate: "September/October 1981" archive_link: false volumeissue: "v1n5" --- # Examining Prime Numbers: Two Programs The first of the two programs below tests a set of numbers to see which members of the set are primes. The program asks for (and enters with INPUT statements) the beginning and the end of the set and displays those numbers in the chosen set which are primes.