Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - phenomist

Pages: 1 ... 5 6 [7] 8 9 10
91
Try clearing out your cache, then refreshing the page.

(Go to the wrench > options > under the hood > clear browsing data > clear the cache

92
Graviter / Re: Graviter - Axe
« on: March 11, 2011, 12:29:57 am »
@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.

93
original
[-b+/-rt(b^2-4ac)]/2a

Let a=1


[-b+/-rt(b^2-4c)]/2

-b/2 +/- rt(b^2-4c)/2

-b/2 +/- rt((b^2-4c)/4)

-b/2 +/- rt(b^2 / 4 - c)

- b/2 +/- rt((b/2)^2 - c)

- b/2 +/- i*rt(c-(b/2)^2)

Meh, I usually omit the sqrt( sign because it's annoying to type. It should be self-evident though.

94
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).




95
Yeah, that's the quadratic formula, with a=1.

The "formal" way would be to complete the square.

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.

96
Portal X / Re: Portal X
« on: March 09, 2011, 08:12:01 pm »
leafiness0 came up with a good idea for one button on two doors (not sure if it's compatible with your code though): stack the two buttons together.

97
Math and Science / Re: Favorite math theory/rules/law/et cetera.
« on: March 07, 2011, 06:48:40 pm »
You pick the leftmost fraction that can give you an integer. Since 15/2 is to the left of 55/1, it has precedence.

98
Math and Science / Re: Favorite math theory/rules/law/et cetera.
« on: March 07, 2011, 12:47:48 am »
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!

99
Math and Science / Re: Favorite math theory/rules/law/et cetera.
« on: March 05, 2011, 12:03:41 am »
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 :D

100
Math and Science / Re: Favorite math theory/rules/law/et cetera.
« on: March 04, 2011, 09:13:56 pm »
Formula for finding prime numbers.

(k + 2)(1 −
[wz + h + j − q]2 −
[(gk + 2g + k + 1)(h + j) + h − z]2 −
[16(k + 1)3(k + 2)(n + 1)2 + 1 − f2]2 −
[2n + p + q + z − e]2 −
[e3(e + 2)(a + 1)2 + 1 − o2]2 −
[(a2 − 1)y2 + 1 − x2]2 −
[16r2y4(a2 − 1) + 1 − u2]2 −
[n + l + v − y]2 −
[(a2 − 1)l2 + 1 − m2]2 −
[ai + k + 1 − l − i]2 −
[((a + u2(u2 − a))2 − 1)(n + 4dy)2 + 1 − (x + cu)2]2 −
[p + l(a − n − 1) + b(2an + 2a − n2 − 2n − 2) − m]2 −
[q + y(a − p − 1) + s(2ap + 2a − p2 − 2p − 2) − x]2 −
[z + pl(a − p) + t(2ap − p2 − 1) − pm]2)
> 0

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" :P) You'd need to solve for the other 25 or so integer variables such that the inequality holds; not an easy task :P

101
Graviter / Re: Graviter - Axe
« on: March 04, 2011, 09:03:48 pm »
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 :P

102
Math and Science / Re: Favorite math theory/rules/law/et cetera.
« on: March 02, 2011, 06:48:20 pm »
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)

103
Other / Re: TI-Nspire Key Brute Forcer
« on: March 01, 2011, 02:16:23 am »
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 )
Spoiler For key in decimal:
137426454337521899137502452525605466748829534697526357946510356073439963309278587906732336287048350193565270671049611558935534759741894429581138110991019864818898792610752419053602832785246554297841481080233597667469592742563152706207467933515159107380059434427511231769817853007350965081930222294271540538551

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.

104
Other / Re: TI-Nspire Key Brute Forcer
« on: March 01, 2011, 12:03:48 am »
What algorithm are you using? ECM has breezed through a 64 bit range in less than 2 hours.
Spoiler For ECM curve progress:
* = Paused Progress
Spoiler For Curves 0 - 10000:
0-1000 - phenomist
x0yy: finished, x1yy: finished, x2yy: finished, x3yy: 33% done*, x4yy: done, x5yy: done, x6yy: 37% done, x7yy: ns, x8yy: ns, x9yy: ns

1000-2000
2000-3000
3000-4000
4000-5000
5000-6000
6000-7000
7000-8000
8000-9000
9000-10000
10000+ (once assigned, categories will be written out)
Spoiler For curve = 10000+:

Starting at 421337: phenomist (up to 421345)

105
Other / Re: TI-Nspire Key Brute Forcer
« on: February 28, 2011, 10:15:59 pm »
This seems like a better algorithm than the every number and divide algorithm :P

http://www.alpertron.com.ar/ECM.HTM.

I call Curves 0 - 1000.

Pages: 1 ... 5 6 [7] 8 9 10