Prime Number Generator

Prime Number Generator

by Wes64

👁 8,047 ❤️ 243 ⭐ 194 🔄 18
Created: Sep 28, 2014 Last modified: Sep 28, 2014 Shared: Sep 28, 2014

Description

Optimized number generator. Can do approx 10,000 primes in 12 seconds. Larger numbers will result in the program freezing until it is done, so pay attention to the projected calculation time. Runs the fake command-line emulator I developed. This includes options to print text, receive input, receive confirmations of yes and no, and print dividers. Fairly useful way to get output formatted nicely without trying too hard. I guess just an update about me - I now have no idea what is going on on Scratch since I've been gone for a year. I'll be trying to distribute translate projects I make in Python or SmallBasic into Scratch so I can share them. The command-line interface is meant to ease this transition. I may or may not make more powerful games, but now that I know Python I can apply high-powered concepts to Scratch, so it may prove useful. We shall see how this goes.

Instructions

Specify the amount of primes numbers, then say Y when you want it to display. This can also be used offline to generate large lists of primes in the list "primes". It takes a while to print them out nicely, so if you want tens of thousands of prime numbers then just call "getprimes" on whatever number (outside of the existing scripts).

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects

Project thumbnail
View Project

Beat Up Elinor And Xavier Riddle

by newmyles

Project thumbnail
View Project

Numbericons 1-5700 remix

by kieffer244

Project thumbnail
View Project

Endless Alphabet: MY OCs (messing up) remix-2

by splashyideas

Project thumbnail
View Project

Uncanny Numberblocks Band (121-130)

by dylanmedia

Project thumbnail
View Project

New 3 (Update) The Amazing Digital Circus {(Collabs)} talking tom and ben news remix but More Button

by benjamin20321

Project thumbnail
View Project

The Planet Song - 8 Planets of the Solar System Song for Kids | KidsLearningTube modern

by astronautman04

Project thumbnail
View Project

FNF: Proceed (Playable)

by Youneedanamefakit

Project thumbnail
View Project

11 Different Kinds Of Alphabet Lore K

by victor_lev_r

Project thumbnail
View Project

Barney Error Maker

by PGL_19

Project thumbnail
View Project

dog&cat

by ofek22

Project thumbnail
View Project

beat up scratch cat 4

by mikey_mike

Project thumbnail
View Project

beat up 1

by albertnccs

Project thumbnail
View Project

フライト シュミレーター 3D v2.9.7

by kty-20-1-021

Project thumbnail
View Project

☁ Bitcoin Miner ☁

by cs3203402

Project thumbnail
View Project

Server1 ONLINE Minecraft オンライン マインクラフト

by RRR-scratch

Project thumbnail
View Project

FREAK ZONE №39 [ДЕГРАДИМА СИВЧИК]

by RussianMario

Project thumbnail
View Project

beat up refection badge

by dirtotheobjectrises

Project thumbnail
View Project

RUSH E Adofai (discontinued)

by Aqua1289

Project thumbnail
View Project

Super Mario Maker Deluxe (Ver 1.2) demo

by DominicSCK

Project thumbnail
View Project

rush jumpscare #scary #doors #animations

by Ninjaboy402

Project thumbnail
View Project

Tetr-Itch remix

by emirtoraman

Project thumbnail
View Project

Sonic Level Maker

by Peashooter_Password

Project thumbnail
View Project

Bricko makes Cameron cry but Cameron's crying voice is funny

by mynameisjeff8937

Project thumbnail
View Project

RALR cast Ъ Clicker hero remix

by Poland7Boyko