• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:03
CEST 17:03
KST 00:03
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6Code S RO8 Preview: herO, Zoun, Bunny, Classic7Code S RO8 Preview: Rogue, GuMiho, Solar, Maru3
Community News
Esports World Cup 2025 - Final Player Roster10Weekly Cups (June 16-22): Clem strikes back1Weekly Cups (June 9-15): herO doubles on GSL week4Firefly suspended by EWC, replaced by Lancer12Classic & herO RO8 Interviews: "I think it’s time to teach [Rogue] a lesson."2
StarCraft 2
General
The SCII GOAT: A statistical Evaluation Esports World Cup 2025 - Final Player Roster Classic wins Code S Season 2 (2025) Weekly Cups (June 16-22): Clem strikes back Nexon wins bid to develop StarCraft IP content, distribute Overwatch mobile game
Tourneys
RSL: Revival, a new crowdfunded tournament series EWC 2025 Online Qualifiers (May 28-June 1, June 21-22) Monday Nights Weeklies WardiTV Mondays Sparkling Tuna Cup - Weekly Open Tournament
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers [G] Darkgrid Layout
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady Mutation # 476 Charnel House
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ ASL20 Preliminary Maps Soma Explains: JaeDong's Defense vs Bisu bonjwa.tv: my AI project that translates BW videos Pro gamer house photos
Tourneys
[Megathread] Daily Proleagues [BSL20] ProLeague Bracket Stage - WB Finals & LBR3 [BSL20] ProLeague Bracket Stage - LB Round 4 & 5 [ASL19] Grand Finals
Strategy
I am doing this better than progamers do. Simple Questions, Simple Answers [G] How to get started on ladder as a new Z player
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine Social coupon sites UK Politics Mega-thread
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread Korean Music Discussion
Sports
2024 - 2025 Football Thread TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024 Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
How Pro Gamers Cope with Str…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 32619 users

u cant solve this for sure

Forum Index > Closed
Post a Reply
shucknjivee
Profile Joined December 2012
30 Posts
December 26 2012 06:35 GMT
#1
A certain prince Al-Khizir was in love with the sultan's daughter and asked for her hand in marriage.
"My daughter is bery choosy," said the sultan, "and wantsto marry only someone who shows extraordinary intelligence. So if you want to marry her, you must first pass eight tests."
"What are the tests?" asked the suitor.
"Well, for the first test, you have to write down a number that will be sent to the princess. She will then send back a number to you. If she sends back the very same number that you have sent her, then she will allow you to take the second test. But if her number is different from yours, then you are out."
"Now, how can I possibly know what number to write?" asked the suitor. "How can I guess what number the princess has in mind?"
"Oh, she doesn't have a certain number in mind," said the sultan. "The number she sends back is dependent on the number you send. The number you send completely determines the number she will send back. And if you send the right number, then she will send back the same number."
"Then how can I guess the right number?" asked the suitor.
"It's not a matter of guessing," said the sultan. "You must deduce the correct number from the rules I am about to give you. For any numbers x and y, by xy I mean not x times y but x followed by y, both numbers, of course, written in base ten arabic notation. For example, if x is 5079 and y is 863, then by xy I mean 5079863. Now here are the rules:

Rule 1: For any number x, if you write her 1x2 then she will send you back the number x. For example, if you write 13542, she will write back 354.

Rule 2: For any number x, the repeat of x means xx. For example, the repeat of 692 is 692692. And now, the second rule is that is x brings back y, the 3x will bring back the repeat of y. For example, since 15432 brings back 543, then 315432 will bring back 543543. From which it further follows that if you send her 3315432, you will get 543543543543.

Rule 3: The reverse of a number means the number written backwards. For example, the reverse of 62985 is 58926. The third rule is that if x brings back y, then 4x brings back the reverse of y. For example, since 172962 brings back 7296, the number 4172962 brings back 6927.

Now if we combine the first three rules...
since 316982 brings back 698698, then 4316982 brings back 896896, the reverse of what 316982 brings back.

Rule 4: (The erasure rule) If x brings back y, and if y contains at east two digits, then 5x brings back y with the first digit erased. For example, since 13472 brings back 347, 513472 brings back 47.

Rule 5: (The addition rule(s)) If x brings back y, then 6x brings back 1y and 7x brings back 2y. For example, since 15832 brings back 583, then 615832 brings back 1583 and 715832 brings back 2583.

"Those are the rules," said the sultan, "and from them can be deduced a number x that will bring back the very number x. There are actually an infinite number of solutions, but any single one will suffice for passing the first test."
"Are there any meanings to these numbers?" asked the suitor.
"Ah, that is the princess' secret, but fortunately you don't have to know the meaning in order to pass the first test."

So, can you figure out the number that the prince would have to send that would return itself?

The rest of the tests are as follows, but I don't suggest trying them until you figure out the one before it.

Test 2: For the second test, the suitor had to send the princess a number, x, such that she would send back the repeat of x, (the number xx). What number would work?

Test 3: For the third test, the suitor had to send the princess a number x such that she would send back the reverse of x. What number would work? An extra bonus would be given if the number x contains no more than twelve digits. What number would work?

Test 4: For this test, the suitor had to send a number x such that the princess would send back the number x with its last digit erased. What x would work?

Here is where it gets tricky!

Test 5: For this test, the suitor had to send a number x such that the princess would send back a different number y, which the suitor was to send back to the princess, and she would (hopefully) send back the first number x. What number x would work?

Test 6: The suitor now had to send a number x, get back a number y, return y to the princess, ad get back the reverse of the original number x. What number x would work?

Test 7: The suitor now had to send a number x, get back a number y, return y to the princess, and get back the number x with the first and last digits swapped. What number x would work?

Test 8: For the final test, the suitor was to send a number x, the princess would then send back a number y, the suitor was then to send back the reverse of y, the princess would then send back a number in the form zz (a number z repeated), the suitor was then to bread zz in half (so to speak) and send her back z. The princess would then (hopefully) send back the original number x. What number would work?
SupLilSon
Profile Joined October 2011
Malaysia4123 Posts
December 26 2012 06:36 GMT
#2
69
Plexa
Profile Blog Joined October 2005
Aotearoa39261 Posts
December 26 2012 06:37 GMT
#3
http://www.teamliquid.net/forum/viewmessage.php?topic_id=330277
Administrator~ Spirit will set you free ~
Please log in or register to reply.
Live Events Refresh
Replay Cast
10:00
StarCraft Evolution League #14
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Hui .206
mcanning 127
ProTech71
trigger 42
StarCraft: Brood War
Shuttle 2099
Bisu 1671
EffOrt 1451
BeSt 1074
Mini 489
Stork 486
actioN 425
Snow 351
ZerO 338
Hyuk 285
[ Show more ]
Hyun 237
Rush 147
Dewaltoss 88
Pusan 68
Shinee 64
hero 53
[sc1f]eonzerg 48
Mind 42
JYJ35
Backho 35
Barracks 30
sorry 29
Nal_rA 26
Aegong 21
zelot 20
soO 18
Sacsri 16
HiyA 11
Terrorterran 10
ajuk12(nOOB) 8
Noble 7
Movie 5
Zeus 0
Stormgate
RushiSC27
Dota 2
Gorgc6821
qojqva1623
Counter-Strike
fl0m1341
byalli313
Super Smash Bros
Mew2King114
Other Games
singsing2246
hiko1297
B2W.Neo511
Lowko490
Fuzer 196
ArmadaUGS133
KnowMe93
QueenE48
ZerO(Twitch)16
Organizations
Dota 2
PGL Dota 2 - Main Stream22741
PGL Dota 2 - Secondary Stream9163
StarCraft: Brood War
Kim Chul Min (afreeca) 6
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV347
League of Legends
• Nemesis3389
• Jankos1985
• TFBlade887
Upcoming Events
PiGosaur Monday
8h 57m
OSC
21h 57m
OSC
1d
Replay Cast
1d 8h
The PondCast
1d 18h
Replay Cast
2 days
HomeStory Cup
2 days
HomeStory Cup
3 days
CSO Cup
4 days
BSL: ProLeague
4 days
[ Show More ]
SOOP
4 days
Sparkling Tuna Cup
4 days
HomeStory Cup
4 days
BSL: ProLeague
5 days
Replay Cast
6 days
Liquipedia Results

Completed

Rose Open S1
2025 GSL S2
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.