Author Topic: Challenges  (Read 2686 times)

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #15 on: April 17, 2004, 06:21:42 am »
Indeed, your correct. :)

Logic 4

There are 100 switches numbered 1 to 100.
There are 100 people numbered 1 to 100.
Each person walks past and toggles all switches that are multiples of his number.
All switches are initially off.
For example person 1 toggles 1, 2, 3, ... then 2 toggles 2, 4, 6, ... then 3 toggles 3, 6, 9, ... etc. and at the end, person 100 toggles the 100th switch.

Give the product of the switches which are ON at the end?

Ghostslayer

  • Hydlaa Citizen
  • *
  • Posts: 402
    • View Profile
(No subject)
« Reply #16 on: April 17, 2004, 09:00:32 am »
Logic 4:

The switches On at the end are the switches with numbers that are perfect squares (1,4,9,16,25,36,49,64,81,100).

The product of these numbers is another big number :P
13 168 189 440 000.

Encryption 3:

mvkzgxbqwv ivaemz : bnqpazmaimk

encryption answer : tfihsresaec

uh.. is the last thing supposed to be a word? :P
« Last Edit: April 17, 2004, 09:22:00 am by Ghostslayer »
Blitzers Guild
Hard Work Often Pays Off After Time, but Laziness Always Pays Off Now.

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #17 on: April 17, 2004, 09:22:17 am »
Ok, for the palindromes I get 545 045 040, which is about the right order of magnitude but I haven\'t written a program to check.  Am I close?  I did some of the arithmetic on an RPN calculator, so I quite possibly mis-keyed something.


EDIT:

Here\'s a puzzle.  Find three integers x,y,z, so that x^5 + y^5 = z^5
 :D
« Last Edit: April 17, 2004, 09:23:47 am by dfryer »
Quidquid latine dictum sit, altum sonatur.

Ghostslayer

  • Hydlaa Citizen
  • *
  • Posts: 402
    • View Profile
(No subject)
« Reply #18 on: April 17, 2004, 09:29:31 am »
dfryer: Three integers you could use are: x = 1, y = -1, z = 0 (or anything where z is 0 and x and y are the same number but one of them is negative :P).  Not sure if thats the answer you\'re looking for but it works :D
Blitzers Guild
Hard Work Often Pays Off After Time, but Laziness Always Pays Off Now.

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #19 on: April 17, 2004, 10:48:36 am »
logic and encryption are correct. :) Programming isn\'t. ;) I giving no hints.

Logic 5

Last logic one. :D You guys are doing good.

Give a 10 digit number which has each of the digits from 0 to 9 in it. The number is such that the first digit is divisible by 1. First 2 digits divisible by 2, first 3 by 3, first 4 by 4, so on and finally all ten digits are divisible by 10.

Encryption 4

babba aabaa baaab aabbb aaaaa ababa ababa
ababa aabaa aaaaa baaaa abbaa ababb aaaaa
abbaa babba baaba aabbb abaaa abbaa aabba
baaab. babba abbab baabb aabbb aaaaa baabb
aabaa aaabb abbab abbaa aabaa babaa aabaa
ababa. baaba aabbb aabaa aaaba abbab aaabb
aabaa babaa aabbb abaaa aaaba aabbb aabba
aaaaa abaaa abbaa baaab babba abbab baabb
babba abbab baabb baaaa abbaa aabaa babab
baaba baaab baaba aaaaa baaaa abaaa baaab
: aaaab aaaaa aaaba abbab abbaa

Yes, this is correct, no I\'m not crazy. :D
« Last Edit: April 17, 2004, 10:49:37 am by Xordan »

Ghostslayer

  • Hydlaa Citizen
  • *
  • Posts: 402
    • View Profile
(No subject)
« Reply #20 on: April 18, 2004, 12:38:46 am »
Logic 5:

9216547830 is a number that fits what you said (if i read it right :P)

9/1 = 9;
92/2 = 46;
921/3 = 307;
9216/4 = 2304;
92165/5 = 18433;
921654/6 = 153609;
9216547/7 = 1316650;
92165478/8 = 11520685;
921654783/9 = 102406087;
9216547830/10 = 921654783

Edit: Yup, I\'m an idiot :D.  When doing it in excel, I didn\'t expand the cell large enough and it automatically rounded the figures.  I\'ll try it again later.
« Last Edit: April 18, 2004, 10:02:21 am by Ghostslayer »
Blitzers Guild
Hard Work Often Pays Off After Time, but Laziness Always Pays Off Now.

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #21 on: April 18, 2004, 07:50:04 am »
nope wrong. Check your maths on the 9216547/7 = 1316650;

Sinon

  • Hydlaa Resident
  • *
  • Posts: 74
    • View Profile
(No subject)
« Reply #22 on: April 18, 2004, 10:18:05 pm »
Encryption 4:

Ye shall learn many things.
Yov have done well.
The code which gains you yovr next star is: bacon
\"Live to learn, and you\'ll learn to live.\"

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #23 on: April 18, 2004, 10:21:46 pm »
Excellent. :D Now for the last encryption:

Encryption 5

 :P Click here  :P