Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I little help?
#11
Anyone know what the formula

p = 6n +- 1

is?

+- is the little sign thingy.
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#12
I told you how to interpret it above. ???
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#13
you can't use that symbol in most compilers. you're just going to have to make two variables, because it represents 2 answers, like in the quadratic equation (most of the time).

p = 6n + 1
p2 = 6n - 1
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#14
no... i mean what does it do.
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#15
okay, now you lost me. it's just a math symbol that means "plus or minus"
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#16
I now know it means that but does anyone other then me know what the formula is for.
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#17
it's for nothing. that formula is just like any other equation.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#18
nope... It finds prime numbers
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#19
while that's the dumbest thing i've ever heard that primes fall under the equation 6n±1, why did you want to know that then?
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#20
Quote:nope... It finds prime numbers

[Image: bangin.gif]

If I'm reading that correctly, it looks like 35 is a prime. Reminds me of the Cube *shudders at the awfulness of low budget canadian films*
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)