(* Content-type: application/vnd.wolfram.mathematica *) (*** Wolfram Notebook File ***) (* http://www.wolfram.com/nb *) (* CreatedBy='Mathematica 12.0' *) (*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 158, 7] NotebookDataLength[ 23661, 398] NotebookOptionsPosition[ 22328, 369] NotebookOutlinePosition[ 22666, 384] CellTagsIndexPosition[ 22623, 381] WindowFrame->Normal*) (* Beginning of Notebook Content *) Notebook[{ Cell["Lots of data contained in the following un-Open cell.", "Text", CellChangeTimes->{{3.822501195789774*^9, 3.822501206196813*^9}},ExpressionUUID->"e5aca7b5-45b8-4062-aff1-\ fa62224df1b4"], Cell[BoxData[ RowBox[{ RowBox[{"s", "=", RowBox[{"{", RowBox[{ "\"\\"", ",", "\"\\"", ",", "\[IndentingNewLine]", "\"\\"", ",", "\"\\"", ",", "\[IndentingNewLine]", "\"\\"", ",", "\[IndentingNewLine]", "\"\\"", ",", "\[IndentingNewLine]", "\"\\"", ",", "\[IndentingNewLine]", "\"\\"", ",", "\[IndentingNewLine]", "\"\\""}], "\[IndentingNewLine]", "}"}]}], ";"}]], "Input", CellOpen->False, CellChangeTimes->{{3.788327478627075*^9, 3.788327482238841*^9}, { 3.7883275163281107`*^9, 3.7883275574939413`*^9}, {3.788327634016327*^9, 3.788327707163948*^9}, {3.788327824264697*^9, 3.7883278255098248`*^9}, { 3.788327861859837*^9, 3.7883279849607973`*^9}}, CellLabel->"In[20]:=",ExpressionUUID->"3261cd16-9da6-4984-af70-d8fbf8373601"], Cell["\<\ And lots more data, this time from the page\[CloseCurlyQuote]s source (not \ displaying directly).\ \>", "Text", CellChangeTimes->{{3.822501261987989*^9, 3.822501272826807*^9}},ExpressionUUID->"09eaa486-1096-409f-b05d-\ 8ff56391e9ce"], Cell[BoxData[ RowBox[{ RowBox[{"numbers", "=", RowBox[{"StringSplit", "[", RowBox[{ "\"\<434203285909121529492351699858568010896672212032596087103693584899938\ 295500191928673654685515776394732832181233227434959359103349439893793967925716\ 934406421392675753141302149004139344716517264183499759568038134785354737130419\ 511915695267199479049762451832960098254760553513192825744015396159623242415539\ 225652248987563299811422414680145585296244710302552272451005909231803120668062\ 547788053609211532374263873371348159607936796288761582173864681307817908560355\ 07731879635110068223\n\ 704535069691257218994199738784815385507620130913341483504800862075077397984633\ 512199311861547399075452552540044872374386224842117367119335920414129579710019\ 230868175034698462310251945883473666910683479614413002176371228729111431124903\ 575580292159282138998947145645297640250545623114100366140505648332587882715501\ 706137522350807042505468936154494182604667651316452523280600373441344107965279\ 550245166552423402684340792413713321003100077890033118203117949959453745909511\ 4566091455917381089681258491114205527146495\n\ 224711641857789488466163148848628091702247121108236006986872825712407947922001\ 657252627808586960822862747085345073459590168125115214086843129445621939389391\ 671156430957114064478348987741095096500383385272309618317511227138038881849120\ 70821710725847605732265929103232617232844274471668730648435417823097913343\n\ 653996952628334664419640714071875639352485221183517515587744354856330060478799\ 634069398698119958847928429592522990501410049241974911342249144246034971846889\ 406908732956816156859213118172099431843734179520708620289122650452140893058646\ 224773974209259988029118218997919686519982874024286209125122047\n\ 386919278893906063546095664402592745674787840900954156815958114353612673231061\ 537537301647806649399210168119192041736033368959126760933959863683765134104951\ 760657961815480191467344248167923533181337021248748276779565529553549439505511\ 113892769107170396121844318246349071555731218624316188040896809028924375733859\ 455928748220846745818999406153569350260984253301615112924705158144649655557204\ 767962014173434567539380685615837032340420577039574772600254570218382357133353\ 512271519464046444662209362158128240713451190212330884844920443259374342721961\ 811670540279763335425232022378349384515580181612520176294354218209748811526163\ 645387742558857287699911127042682774146244607\n\ 326318370092125895846730032069922877287056450412456659759453015973580955579461\ 079729024927063635627015330293736239618827750133258754367742695121124965631607\ 676130282548943608244498321644981179494092511356080393660155599981617808524150\ 797496393912633219162602648573986320963438371318937845049381481227040149733773\ 629590317128229717406564474686914919716046763702617063723402781250789991873211\ 569463366018902598270192153849476362036333274444171707510223862866272545350744\ 531213577084025678004786675310111930574104289541368003044838617286198107119125\ 0611901477000128712730564878749658534379519\n\ 157608024785577916849049410805701926780244112653543988167408370078529746549157\ 016349242039351847916049076529234182143\n\ 457745697060271970690364893308572017003250952766821778295312230851275919557715\ 086191117031964761119386609415351851836954116639068765506916451816756865411859\ 242167560535110836705999835855685476727480660081631160557450034037354181928161\ 041826121681701760472573993569517162754624482353646955367287643142770143156592\ 048905024667165581374728486286921306633645505263263151228818758816217777110983\ 46078207\n\ 220167222401506572266383890825000394729582449398655433009737834636077712715218\ 534125730042826022576704199467346121228872898255202520455295985060846700450860\ 341466337869102080849492156034738613995337893537637371005470210654068070655789\ 551749435003558768479728456164008210918168553985601029835141668172450321329149\ 425134691570444585227686732385019522871509867189546137931553812777341387519499\ 998541197917052098325428146723379786052077153957923851028314168539035975442565\ 859867553894174416504787828421836027199486\>\"", ",", "\"\<\\n\>\""}], "]"}]}], ";"}]], "Input", CellOpen->False, CellChangeTimes->{{3.788327198086376*^9, 3.788327207845333*^9}, { 3.788328735484106*^9, 3.788328751677046*^9}, 3.822501311272709*^9}, CellLabel->"In[23]:=",ExpressionUUID->"baa54d0d-c4e6-41fa-8c62-fb2632ef6fb1"], Cell["\<\ The numbers have useful binary expansions: there are exactly as many bits in \ each number as there are characters in the corresponding paragraph.\ \>", "Text", CellChangeTimes->{{3.822501321325976*^9, 3.82250134539002*^9}, { 3.822501389339737*^9, 3.822501401355956*^9}},ExpressionUUID->"dc34c127-3664-4bb9-b692-\ 84724d23fd7f"], Cell[BoxData[ RowBox[{ RowBox[{"numbers", "=", RowBox[{ RowBox[{ RowBox[{ RowBox[{"IntegerDigits", "[", RowBox[{"#", ",", "2"}], "]"}], "&"}], "@*", "FromDigits"}], "/@", "numbers"}]}], ";"}]], "Input", CellChangeTimes->{{3.822501326781706*^9, 3.822501329844915*^9}}, CellLabel->"In[25]:=",ExpressionUUID->"b6d1f33e-2123-43a5-8b6a-5921f74febcf"], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"StringLength", "/@", "s"}], "==", RowBox[{"Length", "/@", "numbers"}]}]], "Input", CellChangeTimes->{{3.788327558212542*^9, 3.788327560323099*^9}, { 3.78832783194746*^9, 3.788327833041628*^9}, {3.788328770179057*^9, 3.788328770437743*^9}}, CellLabel-> "In[208]:=",ExpressionUUID->"5bde14ce-d407-41aa-929d-cf1501174d5d"], Cell[BoxData["True"], "Output", CellChangeTimes->{ 3.7883275604538937`*^9, 3.788327709202705*^9, 3.788327833450037*^9, 3.7883279169298687`*^9, {3.788327962029283*^9, 3.788327987237184*^9}, { 3.788328765500535*^9, 3.788328770760858*^9}}, CellLabel-> "Out[208]=",ExpressionUUID->"1c7dccf7-33cf-4d2f-8596-a685193a7a42"] }, Open ]], Cell["\<\ There turn out to be very few 0 bits in those numbers, and they indicate \ letters.\ \>", "Text", CellChangeTimes->{{3.82250145610256*^9, 3.822501469622552*^9}},ExpressionUUID->"031e64a2-e956-4b37-98d0-\ 7f3450286bff"], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"StringJoin", "[", RowBox[{"Flatten", "[", RowBox[{ RowBox[{ RowBox[{"Pick", "[", RowBox[{ RowBox[{"Characters", "@", RowBox[{"#", "[", RowBox[{"[", "1", "]"}], "]"}]}], ",", RowBox[{"#", "[", RowBox[{"[", "2", "]"}], "]"}], ",", "0"}], "]"}], "&"}], "/@", RowBox[{"Transpose", "@", RowBox[{"{", RowBox[{"s", ",", "numbers"}], "}"}]}]}], "]"}], "]"}]], "Input", CellChangeTimes->{{3.82250140707827*^9, 3.822501449606085*^9}}, CellLabel->"In[29]:=",ExpressionUUID->"44ebcf57-e6aa-4452-9063-be1ec8cfe4c6"], Cell[BoxData["\<\"Which sMall mammal's name sounds like a typesetting \ measurement? Once you know, find the rooms and trace them.\"\>"], "Output", CellChangeTimes->{{3.8225014408234987`*^9, 3.822501450002359*^9}}, CellLabel->"Out[29]=",ExpressionUUID->"a2997ab2-9183-4328-8f2d-3614ef5a659b"] }, Open ]] }, WindowSize->{1295, 705}, WindowMargins->{{Automatic, 41}, {Automatic, 27}}, FrontEndVersion->"12.0 for Mac OS X x86 (64-bit) (April 8, 2019)", StyleDefinitions->"Default.nb" ] (* End of Notebook Content *) (* Internal cache information *) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[558, 20, 195, 3, 35, "Text",ExpressionUUID->"e5aca7b5-45b8-4062-aff1-fa62224df1b4"], Cell[756, 25, 14267, 193, 19, "Input",ExpressionUUID->"3261cd16-9da6-4984-af70-d8fbf8373601", CellOpen->False], Cell[15026, 220, 248, 6, 35, "Text",ExpressionUUID->"09eaa486-1096-409f-b05d-8ff56391e9ce"], Cell[15277, 228, 4399, 63, 19, "Input",ExpressionUUID->"baa54d0d-c4e6-41fa-8c62-fb2632ef6fb1", CellOpen->False], Cell[19679, 293, 344, 7, 35, "Text",ExpressionUUID->"dc34c127-3664-4bb9-b692-84724d23fd7f"], Cell[20026, 302, 382, 10, 30, "Input",ExpressionUUID->"b6d1f33e-2123-43a5-8b6a-5921f74febcf"], Cell[CellGroupData[{ Cell[20433, 316, 366, 8, 30, "Input",ExpressionUUID->"5bde14ce-d407-41aa-929d-cf1501174d5d"], Cell[20802, 326, 329, 6, 34, "Output",ExpressionUUID->"1c7dccf7-33cf-4d2f-8596-a685193a7a42"] }, Open ]], Cell[21146, 335, 232, 6, 35, "Text",ExpressionUUID->"031e64a2-e956-4b37-98d0-7f3450286bff"], Cell[CellGroupData[{ Cell[21403, 345, 612, 16, 30, "Input",ExpressionUUID->"44ebcf57-e6aa-4452-9063-be1ec8cfe4c6"], Cell[22018, 363, 294, 3, 34, "Output",ExpressionUUID->"a2997ab2-9183-4328-8f2d-3614ef5a659b"] }, Open ]] } ] *)