This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ds = []; | |
for (var i = 0; i < 40; i++) { | |
ds.push(i); | |
} | |
var w = 800; | |
var h = 800; | |
var p = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//QUESTION | |
//2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. | |
//What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? | |
//SOLUTION | |
// change to 10 to check against PE example | |
var end = 20; | |
//generate sequence | |
var arrSeq = Array |
NewerOlder