@leafiness0: I have another level concept ready. It's rather environmentally friendly (in terms of object conservation) and we only have to import a single enemy from the wild.
Well, you divide by 2 when a=1 (denominator's /2a for quad formula), so this gives you b/2, and a divide by 2 = a divide by 4 inside a sqrt sign, hence (b/2)^2-c. The i occurs because you extracted out one factor of sqrt(-1).
x^2 -4x + 4 + 9 = 0 (x-2)^2 = -9 x-2 = +3i or -3i x = 2+3i or 2-3i So those are the solutions, so necessarily (x-2-3i)(x+2+3i) = original trinomial, since same leading term.
So, (17/91, 78/85, 19/51, 23/38, 29/33, 77/29, 95/23, 77/19, 1/17, 11/13, 13/11, 15/14, 15/2, 55/1) Start with the number n=2. Take the one leftmost that, when multiplied to n, gives an integer, and multiply that number to n and replace. Repeat process indefinitely.
2*(15/2) is the first fraction that gives me an integer when multiplied, Store 15 to n. 15*(55/1) = 825 825*(29/33) = 725 725*(77/29)=1925 1925*(13/11)=2275 2275*(17/91)=425 425*(78/85)=390 390*(11/13)=330 330*(29/33)=290 290*(77/29)=770 Repeating this process gives you 910, 170, 156, 132, 116, 308, 364, 68, 4. 4=2^2. Prime #1 found!
Here's an interesting prime generating algorithm and a nice programming challenge at the same time (figure out how this works!):
(17/91, 78/85, 19/51, 23/38, 29/33, 77/29, 95/23, 77/19, 1/17, 11/13, 13/11, 15/14, 15/2, 55/1) Start with the number n=2. Take the one leftmost that, when multiplied to n, gives an integer, and multiply that number to n and replace. Repeat process indefinitely.
The primes will be the exponents of all powers of two after the initialization step
Strangely enough I made a program on calc and computer that use this formula but I never got it to work.
If I remember correctly, k is prime iff there exists a Diophantine solution on the other variables. (aka: practically, this formula is "computationally useless" ) You'd need to solve for the other 25 or so integer variables such that the inequality holds; not an easy task
Are... those levels even possible to win? The first one, I actually did win after gazillion tries, and the second one, I had no idea what to do, and the third one, I always die on the second row
Otherwise, the overall gameplay seems really really good I would love to play in a bit easier level LOL
I think that his demo is an illustration as to just how diverse Graviter gameplay can be. I can vouch that there will indeed be tutorial and easy levels
I think you use Ramanujan sums? Yeah, these funky summation systems (Abel, Cesaro, Euler, etc) give you results like 1+1+1+1+... = -1/2, 1-1+1-1+1-... = 1/2, and 1-2+3-4+5-6+... = 1/4.
Let's add a geometry theorem: Given a hexagon that has an incircle, its opposite diagonals meet at a single point. (Brianchon)
Well, to be precise, I only found the program; I obviously did not write the (really good) factorizer in the link. (Rehash: link is here -> http://www.alpertron.com.ar/ECM.HTM )
I accidentally truncated the key in an early test run to 42 digits (about 120-ish bits); it factored (or rather didn't factor) the prime in under a second.
Also, there's no way I can directly compare speed otherwise, but I'd say that it'll run somewhere on the magnitude of millions of times faster, if the current algorithm is a straight up divide this, add by two algorithm.