All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 View from Perplexus Tower (Posted on 2006-04-27)
Levik has invested a lot in real estate, and now owns all the land on one side of Flooble Blvd, ending with his very own Perplexus Tower. He now has 10 clients who each want to lease some land in order to build.

Each client plans to build something with a different number of stories from 1 to 10. Levik wants to be able to see all these buildings from the top of Perplexus Tower. This is impossible if any building is immediately behind another that is two or more stories higher.

In how many different orders can Levik lease the narrow strip of land to his 10 clients? What if, after building Perplexus Tower even higher, buildings can only be obscured if the one directly in front of it is three or more stories higher? Four? More?

 See The Solution Submitted by Tristan Rating: 4.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
 The rest of them. | Comment 3 of 9 |

If 3 or more stories higher obscures (2 story limit):

For 3 buildings any order is allowed to 3! orders
To add a fourth it can go in front of 2, 3 or in the back.
Building n+1 can go in front of n, n-1 or in the back.
So for 10 buildings we have 3!*3^7 = 13122 orders

Similar reasoning yields:
3 story limit: 4!*4^6 = 98304
4 story limit: 5!*5^5 = 375000
5 story limit: 6!*6^4 = 933120
6 story limit: 7!*7^3 = 1728720
7 story limit: 8!*8^2 = 2580480
8 story limit: 9!*9^1 = 3265920
9 story limit: 10! = 3628800 (no actual limitations at all)

 Posted by Jer on 2006-04-27 13:06:05

 Search: Search body:
Forums (0)
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "http://perplexus.info/show.php?pid=4620&cid=32046", "fetch_time": 1545051390000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2018-51/segments/1544376828507.57/warc/CC-MAIN-20181217113255-20181217135255-00236.warc.gz", "warc_record_offset": 218275728, "warc_record_length": 4584, "token_count": 486, "char_count": 1687, "score": 3.5625, "int_score": 4, "crawl": "CC-MAIN-2018-51", "snapshot_type": "latest", "language": "en", "language_score": 0.9051648378372192, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00033-of-00064.parquet"}