digitalmars.D - OT: maths can be so cool...
- Regan Heath (6/6) Mar 09 2005 Hi,
- brad domain.invalid (3/11) Mar 09 2005 Doesn't work if you pick a number with the same digits - ie 555
- Regan Heath (4/12) Mar 09 2005 No surprises there :)
- pragma (4/9) Mar 09 2005 Isn't that kind of like asking someone to "draw an 'S', and then a more
- Paul Bonser (8/24) Mar 10 2005 And maybe a wing...you know..if it's a ... wing-a-ling dragon...
- clayasaurus (3/11) Mar 09 2005 would be better if the flash wasn't as annoying :-/ hard to read with
- Regan Heath (4/13) Mar 09 2005 Yeah.. Don't blame me, I didn't write it :)
- zwang (11/19) Mar 09 2005 Here's my solution in D :)
- Unknown W. Brackets (26/34) Mar 09 2005 I remember these from... like 10 years ago or more. It's pretty simple....
- Regan Heath (4/6) Mar 13 2005 Yes.
- Unknown W. Brackets (5/15) Mar 13 2005 Yea!
Hi, This little trick is quite cool. 10 points to the first person to post the 'reason' why this always works. http://digicc.com/fido/ (click the little guy in the bottom right to proceed to next page etc) Regan
Mar 09 2005
Regan Heath wrote:Hi, This little trick is quite cool. 10 points to the first person to post the 'reason' why this always works. http://digicc.com/fido/ (click the little guy in the bottom right to proceed to next page etc) ReganDoesn't work if you pick a number with the same digits - ie 555 Brad
Mar 09 2005
On Thu, 10 Mar 2005 10:47:24 +1300, <brad domain.invalid> wrote:Regan Heath wrote:No surprises there :) It does ask for a 4 digit number with "lots of different digits" in it. ReganHi, This little trick is quite cool. 10 points to the first person to post the 'reason' why this always works. http://digicc.com/fido/ (click the little guy in the bottom right to proceed to next page etc) ReganDoesn't work if you pick a number with the same digits - ie 555
Mar 09 2005
In article <opsnef8ijt23k2f5 nrage.netwin.co.nz>, Regan Heath says...On Thu, 10 Mar 2005 10:47:24 +1300, <brad domain.invalid> wrote:Isn't that kind of like asking someone to "draw an 'S', and then a more different 'S'"? - Eric Anderton at yahooRegan Heath wrote: Doesn't work if you pick a number with the same digits - ie 555No surprises there :) It does ask for a 4 digit number with "lots of different digits" in it.
Mar 09 2005
pragma wrote:In article <opsnef8ijt23k2f5 nrage.netwin.co.nz>, Regan Heath says...And maybe a wing...you know..if it's a ... wing-a-ling dragon... And put one of those beefy arms back on for good measure :P -- -PIB -- "C++ also supports the notion of *friends*: cooperative classes that are permitted to see each other's private parts." - Grady BoochOn Thu, 10 Mar 2005 10:47:24 +1300, <brad domain.invalid> wrote:Isn't that kind of like asking someone to "draw an 'S', and then a more different 'S'"? - Eric Anderton at yahooRegan Heath wrote: Doesn't work if you pick a number with the same digits - ie 555No surprises there :) It does ask for a 4 digit number with "lots of different digits" in it.
Mar 10 2005
Regan Heath wrote:Hi, This little trick is quite cool. 10 points to the first person to post the 'reason' why this always works. http://digicc.com/fido/ (click the little guy in the bottom right to proceed to next page etc) Reganwould be better if the flash wasn't as annoying :-/ hard to read with all those distractions in the background and constant sound effects
Mar 09 2005
On Wed, 09 Mar 2005 18:28:29 -0500, clayasaurus <clayasaurus gmail.com> wrote:Regan Heath wrote:Yeah.. Don't blame me, I didn't write it :) ReganHi, This little trick is quite cool. 10 points to the first person to post the 'reason' why this always works. http://digicc.com/fido/ (click the little guy in the bottom right to proceed to next page etc) Reganwould be better if the flash wasn't as annoying :-/ hard to read with all those distractions in the background and constant sound effects
Mar 09 2005
Regan Heath wrote:Hi, This little trick is quite cool. 10 points to the first person to post the 'reason' why this always works. http://digicc.com/fido/ (click the little guy in the bottom right to proceed to next page etc) ReganHere's my solution in D :) int marked(int[] num){ assert(num.length); int j; foreach(int i; num){ assert(1<=i && i<=9); j+=i; } return 9-j%9; }
Mar 09 2005
I remember these from... like 10 years ago or more. It's pretty simple. First I'll walk through it: Let's say you're given 1234 and 3412. You subtract: 3412 - 1234 = 2178 So the possibles are 1, 2, 7, 8. Let's say you picked "2".... so 1, 7, and 8. And it gets 2. Amazing, you think? Watch me with some other numbers: 4321 - 1234 = 3087 4231 - 1234 = 2997 4123 - 1234 = 2889 4132 - 1234 = 2898 Okay, that's enough of a sample. Let's add now, a step it skips for you: 2 + 1 + 7 + 8 = 18 3 + 0 + 8 + 7 = 18 2 + 9 + 9 + 7 = 27 2 + 8 + 8 + 9 = 27 2 + 8 + 9 + 8 = 27 The real trick is, people think it knows your number. It doesn't... it just knows the digits HAVE to add up to a multiple of nine, because you're subtracting digits from themselves (even in a funky order.) The only problem is if you circle a NINE or a ZERO, you can't tell the difference. That's why you're not allowed to circle zeros, which makes it certain that you're only circling 9's in that case. I knew how this worked before I even learned real algebra ;). Do I get 10 points now :P? -[Unknown]Hi, This little trick is quite cool. 10 points to the first person to post the 'reason' why this always works. http://digicc.com/fido/ (click the little guy in the bottom right to proceed to next page etc) Regan
Mar 09 2005
On Wed, 09 Mar 2005 23:03:46 -0800, Unknown W. Brackets <unknown simplemachines.org> wrote:I knew how this worked before I even learned real algebra ;). Do I get 10 points now :P?Yes. Regan
Mar 13 2005
Yea! Heh... I probably didn't even explain it that well. But, it is a very interesting concept that the numbers could be so predictable. I spent hours thinking about it back when I first figured it out. -[Unknown]On Wed, 09 Mar 2005 23:03:46 -0800, Unknown W. Brackets <unknown simplemachines.org> wrote:I knew how this worked before I even learned real algebra ;). Do I get 10 points now :P?Yes. Regan
Mar 13 2005