lucas numbers - take the previous two numbers and add them together (starting with 1 and 3) fibonacci numbers - take the previous two numbers and add them together (starting with 0 and 1) lehmer numbers - don't know. lucas-lehmer numbers - In the project. I explain below, but see if you can figure out the pattern before reading the solution.
I couldn't even get another minute and a half through the video before making another project. https://www.youtube.com/watch?v=lEvXcTYqtKU (previously, on Scratch: Lucas Pseudoprimes - https://scratch.mit.edu/projects/94979755/ ) can you guess the pattern? SOLUTION BELOW. basically you just take the previous number, square it, subtract 2. when it comes to squaring, it's pretty easy to get some phenomenal numbers. so just 7 numbers in and Scratch has already given up. Then 11 numbers in Scratch has bit the dust. darn kid's programming language not doing complicated maths like i want it to.