I have a five-digit TOTAL, a six-digit AMOUNT and several other whole numbers, all expressed in words written in capital bold letters, where dfif letters stand for diff digits and the same letters stands for the same digit.
A few curious properties are noticeable. For instance, if you add ANY amount to my TOTAL, and then divide by say, A value, the result is a whole number.
And if you subtract AN amount from my AMOUNT, and then divide by say ANY value the result of course is ANY amount.
How much is my five-digit VALUE?
I solved it quickly but I realized that I had received the issue almost after a month it was actually sent so I couldn’t take part in their competition draw!
My answer was : VALUE = 89140
After I confirm this answer in the next issue of the magazine I’ll post how I deduced this.
CONFIRMED on Nov 20!
1. First I deduced from second condition that AMOUNT = ANY*ANY + AN
2. Now I wrote this simple perl program to iterate three digit unique values which produce unique six digit sum:
for my $i ( 317 .. 999 )
next if &repeat ($i);
my $s = $i * $i + substr ($i,0,2);
next if &repeat ($s);
next if substr ($s,0,1 ) ne substr ($i,0,1);
next if substr ($s,4,1) ne substr ($i,1,1);
print "ANY=$i : AMOUNT=$s\n";
repeat just checks to make sure there was no duplicate in the number itself.
3. I got two results:
ANY=963 : AMOUNT=927465
ANY=976 : AMOUNT=952673
4. Discarding second one because we have same codes for ‘Y’ and ‘U’.
5. Leaving only only one result! Common sense suggested that V cannot be 0 thus: L=1 M=2 Y=3 U=4 T=5 N=6 O=7 A=9 V=8 E=0
6. Net result was confirmed to be 89140]]>
“To be like a river that flows
silent through the night
not fearing the darkness and
reflecting any stars high in the sky
and if sky is filled with clouds,
the clouds are water like the river, so
without remorse reflect them too
in the calm deep”
- Manuel Bandeira]]>
This is the second-ever blog which I’m doing over a GPRS connection!]]>
Here is some sample text in image form I grabbed off a website:
The number mapping on each frame correponds to the ID of a successful match in the library:
I have a lot of ideas to automate the library expansion process but time is an enemy on this one. There is a huge amount of detail which I’m not posting on the blog at this time.]]>
Here are two computer casings that looked like a vacuum cleaners at first!
There was a dancing stand on one of the stalls which was quite nice. I have uploaded the video.]]>
The first two circuits above are a part of remote control circuitry which operates over RF. The real brain of the circuit is the SCTX2B IC in the fourth picture. We tried tapping into the IC pins, it works on active low and sending signals is a breeze. Finally the third circuit above is an 8-bit parallel port interface on a PCB, which we did in the first year of engineering. It has been practically redone and is enhanced on the circuit level. It’ll allow us to send signals through the parallel port to control the vehicle. We still have to mount the wireless camera over our vehicle and determine an optimum height for it. After that we’ll worry about protecting the camera from movement vibrations, we’ll try to minimize it as much as possible.]]>
0000: V(x) = D: 0000000 S: 0000000
0001: V(x) = D: 0001101 S: 1010001
0010: V(x) = D: 0011010 S: 1110010
0011: V(x) = D: 0010111 S: 0100011
0100: V(x) = D: 0110100 S: 0110100
0101: V(x) = D: 0111001 S: 1100101
0110: V(x) = D: 0101110 S: 1000110
0111: V(x) = D: 0100011 S: 0010111
1000: V(x) = D: 1101000 S: 1101000
1001: V(x) = D: 1100101 S: 0111001
1010: V(x) = D: 1110010 S: 0011010
1011: V(x) = D: 1111111 S: 1001011
1100: V(x) = D: 1011100 S: 1011100
1101: V(x) = D: 1010001 S: 0001101
1110: V(x) = D: 1000110 S: 0101110
1111: V(x) = D: 1001011 S: 1111111
- V(x) is the generated vector (with data/check bits)
- ‘D’ denotes the vector contents for Direct Method and
- ‘S’ denotes the vector contents for the Systematic method
There wasn’t any substantial learning curve in coding this program but playing with modulo-2 was fun and the only tricky part was the repeated division in the Systematic method. I’ll upload the source files here after the assignment deadline is over (which is: July 29, 2006).]]>
I also did a basic review of Microsoft Robotics platform today and concluded that we cannot integrate it with our project at this time. The platform looks promising though.]]>