liujoycec / prime-numbers-array-javascript Goto Github PK
View Code? Open in Web Editor NEWFirst part creates an array, "prime", of boolean variables, such that running "prime[n]" will return true if n is prime, for any n less than a pre-specified maximum. Second part of code creates function to find prime factorization of any n less than the pre-specified maximum.