• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 05:32
CEST 11:32
KST 18:32
  • 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
ByuL, and the Limitations of Standard Play1Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12TL.net Map Contest #22 - Voting & Ladder Map Selection7Code S Season 2 (2026) - RO8 Preview8
Community News
[TLMC] Summer 2026 Ladder Map Rotation05.0.16 patch for SC2 goes live (8 worker start)77ZeroSpace at Steam NextFest - Last free demo36Weekly Cups (June 8-14): Clem and Solar double, PTR tested0RSL: S6 Finals played at BlizzCon 202611
StarCraft 2
General
Is the larve respawn broken? 5.0.16 patch for SC2 goes live (8 worker start) Daily SC2 Player Grid - feedback wanted The Death of Cheese: From a Professional Cheeser Mizenhauer's Douyu Cup Preview
Tourneys
Maestros of The Game 2 announcement and schedule ! Douyu Cup 2026: $20,000 Legends Event (June 26-28) RSL Revival: Season 6 - Qualifiers and Main Event INu's Battles#17 <BO.9> Sparkling Tuna Cup - Weekly Open Tournament
Strategy
[G] Having the right mentality to improve
Custom Maps
New Map Maker - Looking for Advice - Love or Hate Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
The PondCast: SC2 News & Results Mutation # 531 Experimental Artillery Mutation # 530 One For All Mutation # 529 Opportunities Unleashed
Brood War
General
ASL 22 Proposed Map Pool Best thing happen to StarCraft since Remastered? Fact based Zerg Upgrade Tier List BGH Auto Balance -> http://bghmmr.eu/ Quality of life changes in BW that you will like ?
Tourneys
[Megathread] Daily Proleagues [ASL21] Grand Finals The Casual Games of the Week Thread [BSL22] GosuLeague Casts - Tue & Thu 22:00 CEST
Strategy
Simple Questions, Simple Answers Creating a full chart of Zerg builds Relatively freeroll strategies Why doesn't anyone use restoration?
Other Games
General Games
ZeroSpace at Steam NextFest - Last free demo Nintendo Switch Thread Path of Exile Stormgate/Frost Giant Megathread Beyond All Reason
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread The Games Industry And ATVI Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread
Fan Clubs
The HerO Fan Club! The herO Fan Club!
Media & Entertainment
Movie Discussion! Series you have seen recently... [Req][Books] Good Fantasy/SciFi books [TV/BOOK] *SPOILERS* Game of Thrones Discussion
Sports
McBoner: A hockey love story 2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 Cricket [SPORT]
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Listen To The Coaches!
TrAiDoS
An Exploration of th…
waywardstrategy
I'm an arrogant trash talke…
FlaShFTW
Gauntlet SC2: A Retrospectiv…
Ctone23
ramps on octagon
StaticNine
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 10116 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
Douyu Cup 2020
06:00
2026 - Day 4
Scarlett vs Oliveira
Ryung 957
WardiTV860
IndyStarCraft 210
CranKy Ducklings122
CranKy Ducklings SOOP19
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Ryung 957
IndyStarCraft 210
ProTech11
StarCraft: Brood War
Larva 408
Jaedong 366
Soma 155
Mong 145
Dewaltoss 112
sorry 60
Hm[arnc] 20
EffOrt 18
Noble 10
NaDa 9
[ Show more ]
Purpose 9
JulyZerg 7
Dota 2
XcaliburYe1
League of Legends
JimRising 740
Counter-Strike
kRYSTAL_98
Super Smash Bros
Mew2King129
Other Games
Hui .185
NotJumperer9
Organizations
Other Games
BasetradeTV237
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 10 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Upcoming Events
BSL22 NKC (BSL vs China)
4h 28m
Mihu vs TBD
Online Event
5h 28m
RSL Revival
16h 28m
WardiTV Weekly
1d 1h
RSL Revival
2 days
RSL Revival
2 days
Bombastic Starleague
2 days
Kung Fu Cup
3 days
OSC
3 days
CrankTV Team League
4 days
[ Show More ]
Bombastic Starleague
4 days
Replay Cast
4 days
The PondCast
5 days
HomeStory Cup
5 days
Replay Cast
5 days
HomeStory Cup
6 days
Replay Cast
6 days
Liquipedia Results

Completed

CSL Season 21: Qualifier 1
Maestros of the Game 2
Heroes Pulsing #2

Ongoing

IPSL Spring 2026
Acropolis #4
CSCL: Masked Kings S4
YSL S3
BSL 22 Non-Korean Championship
CSL Season 21: Qualifier 2
SCTL 2026 Spring
Douyu Cup 2026
Murky Cup 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026

Upcoming

CSL 2026 Summer (S21)
ASL Season 22:Wild Card Qualifier
CSLAN 4
Blizzard Classic Cup 2026
Kung Fu Cup 2026 Grand Finals
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
HSC XXIX
BCC 2026
Light Tournament 2026
Eternal Conflict S2 Finale
Eternal Conflict S2 E1
Heroes Pulsing #3
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
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 © 2026 TLnet. All Rights Reserved.