The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.29 (Linux)
|
![]() |
Vote for Us! (July) - Printable Version +- Omni Archive (https://omni.zulenka.com) +-- Forum: Discussion Forums (https://omni.zulenka.com/forumdisplay.php?fid=3) +--- Forum: The Staff Room (https://omni.zulenka.com/forumdisplay.php?fid=29) +---- Forum: Bookkeeping Archive (https://omni.zulenka.com/forumdisplay.php?fid=32) +---- Thread: Vote for Us! (July) (/showthread.php?tid=6485) |
RE: Vote for Us! (July) - Arle Nadja - 07-06-2017 Vote 8 RE: Vote for Us! (July) - Amaterasu - 07-07-2017 Vote 6 (110/97/2169/766) RE: Vote for Us! (July) - Cell - 07-07-2017 5 RE: Vote for Us! (July) - Omni - 07-07-2017 #4 RE: Vote for Us! (July) - Summer - 07-07-2017 Vote 7! RE: Vote for Us! (July) - Lord Dominator - 07-07-2017 Vote 2 RE: Vote for Us! (July) - Dane Regan - 07-07-2017 Voted The square root of the number of winnable lines in a 3 by 3 by 3 nought and crosses (tic tac toe) game (i.e. number of ways to get 3 Xs in a row on cube grid, diagonals allowed). You can do it without counting the lines. [spoiler]7 This one is pretty cool, so I'm going to generalise it. Suppose you've got a grid of n dimensions and side length k (picture it as a cube or square if it makes it easier for you). Now, surround that grid with an outer layer that's 1 cell thick (so you've now got a new grid with a side length of k+2). Each winnable line in the original grid will go through a distinct pair of cells in the outer layer that was just added. So the number of winnable lines is therefore [(k+2)^n - k^n]/2. Specifically to the cube case in the question: surround that 3x3x3 grid with a layer of cells that is 1 thick. So now you've got a 5x5x5 grid. Each line in the 3x3x3 grid will go through a distinct pair of cells (one on each side of the new outer layer). So, that would equal (5^3 - 3^3)/2 lines. Which give 49. The square root of 49 is 7. Pretty cool right? I have a super complicated proof for it as well. And a less complicated one. But I figured the geometric/visual one was probably best for you guys. I spend like half a year of my life dicking about with noughts and crosses so I'm damn well subjecting you guys to it.[/spoiler] RE: Vote for Us! (July) - Makoto Yuki - 07-07-2017 Voted: 9 RE: Vote for Us! (July) - Little Ghost - 07-07-2017 Voted 8! RE: Vote for Us! (July) - Mark - 07-07-2017 Vote 3 118/104/2177/774 RE: Vote for Us! (July) - Guu - 07-07-2017 Vote: 7 RE: Vote for Us! (July) - Arle Nadja - 07-07-2017 Vote 9 RE: Vote for Us! (July) - Freeza - 07-07-2017 7 RE: Vote for Us! (July) - Kaylee - 07-07-2017 Voted 5 RE: Vote for Us! (July) - Tamsin Suzaku - 07-07-2017 Voted: 6 (124/109/2181/778) RE: Vote for Us! (July) - Handsome Jack - 07-07-2017 Voted:5 RE: Vote for Us! (July) - Lord Dominator - 07-08-2017 Vote 3, achieved! RE: Vote for Us! (July) - Makoto Yuki - 07-08-2017 Voted: 10 RE: Vote for Us! (July) - Omni - 07-08-2017 #5 RE: Vote for Us! (July) - Amaterasu - 07-08-2017 Vote 7 (130/110/2186/784) |