Very few can solve this puzzle. How many squares?

Поділитися
Вставка
  • Опубліковано 2 чер 2024
  • How many squares can be made, using any 4 points as corners?
    0:00 problem
    0:30 solution
    3:24 animation
    puzzling.stackexchange.com/qu...
    Subscribe: ua-cam.com/users/MindYour...
    Send me suggestions by email (address at end of many videos). I may not reply but I do consider all ideas!
    If you purchase through these links, I may be compensated for purchases made on Amazon. As an Amazon Associate I earn from qualifying purchases. This does not affect the price you pay.
    If you purchase through these links, I may be compensated for purchases made on Amazon. As an Amazon Associate I earn from qualifying purchases. This does not affect the price you pay.
    Book ratings are from January 2023.
    My Books (worldwide links)
    mindyourdecisions.com/blog/my...
    My Books (US links)
    Mind Your Decisions: Five Book Compilation
    amzn.to/2pbJ4wR
    A collection of 5 books:
    "The Joy of Game Theory" rated 4.3/5 stars on 290 reviews
    amzn.to/1uQvA20
    "The Irrationality Illusion: How To Make Smart Decisions And Overcome Bias" rated 4.1/5 stars on 33 reviews
    amzn.to/1o3FaAg
    "40 Paradoxes in Logic, Probability, and Game Theory" rated 4.2/5 stars on 54 reviews
    amzn.to/1LOCI4U
    "The Best Mental Math Tricks" rated 4.3/5 stars on 116 reviews
    amzn.to/18maAdo
    "Multiply Numbers By Drawing Lines" rated 4.4/5 stars on 37 reviews
    amzn.to/XRm7M4
    Mind Your Puzzles: Collection Of Volumes 1 To 3
    amzn.to/2mMdrJr
    A collection of 3 books:
    "Math Puzzles Volume 1" rated 4.4/5 stars on 112 reviews
    amzn.to/1GhUUSH
    "Math Puzzles Volume 2" rated 4.2/5 stars on 33 reviews
    amzn.to/1NKbyCs
    "Math Puzzles Volume 3" rated 4.2/5 stars on 29 reviews
    amzn.to/1NKbGlp
    2017 Shorty Awards Nominee. Mind Your Decisions was nominated in the STEM category (Science, Technology, Engineering, and Math) along with eventual winner Bill Nye; finalists Adam Savage, Dr. Sandra Lee, Simone Giertz, Tim Peake, Unbox Therapy; and other nominees Elon Musk, Gizmoslip, Hope Jahren, Life Noggin, and Nerdwriter.
    My Blog
    mindyourdecisions.com/blog/
    Twitter
    / preshtalwalkar
    Instagram
    / preshtalwalkar
    Merch
    teespring.com/stores/mind-you...
    Patreon
    / mindyourdecisions
    Press
    mindyourdecisions.com/blog/press
  • Наука та технологія

КОМЕНТАРІ • 409

  • @globalincident694
    @globalincident694 13 днів тому +151

    You don't need to check every set of four points. Since every square is uniquely defined by two opposing corners, you only need to check pairs of points. And you can also use the symmetries of the shape to save you some time.

    • @onradioactivewaves
      @onradioactivewaves 13 днів тому +11

      That's how I did it, it was pretty easy that way.

    • @teambellavsteamalice
      @teambellavsteamalice 13 днів тому

      Exactly

    • @vinching926
      @vinching926 12 днів тому +5

      He just brute force every point combos for the sake of it

    • @qc1okay
      @qc1okay 12 днів тому +1

      Correct, just check all sets of two points, and keep a list of all squares already found so that when you get to the other diag of a square you've found the first diag of, you don't recount it. This video's idea of checking zillions of sets of four points, and then saying it's surprising no one ever did that, is silly. To check two points, simply see whether a 3rd point exists at the corresponding corner location, and if so, same for 4th point.

    • @gafjr
      @gafjr 12 днів тому +2

      Also, there's 4 quadrants. Whatever you get for one, multiply by 4. The only square that seems to repeat itself is dead center of the original 9. At least that's how I got it, (3*4) + 9. Of course it may have been a lucky guess.

  • @opinionhaver574
    @opinionhaver574 13 днів тому +116

    I'm sure you named your algorithm animation "The Square Dance."

  • @shoot_game718
    @shoot_game718 13 днів тому +53

    I found all 9, of course, and also the 4 that are at odd angles. Somehow, I managed to find those ones while forgetting to check for the 45-degree rotated squares.

  • @mortoopz
    @mortoopz 13 днів тому +316

    So, only 1% of people consider rotated squares?... I find that hard to believe.

    • @vetinaris1297
      @vetinaris1297 13 днів тому +34

      Presumably 99% think rotated sqaures are diamonds or another shape so the brain doesn't look for it. That's my excuse anyway. At least this one doesn't feel like cheating 😂

    • @zlac
      @zlac 13 днів тому +93

      or they find 17 because they only search for 45° rotated squares

    • @jetx_47
      @jetx_47 13 днів тому +15

      I’m in the 99% crowd.

    • @abhishankpaul
      @abhishankpaul 13 днів тому +2

      Me too dude. Tis hard to believe

    • @migssdz7287
      @migssdz7287 13 днів тому +24

      ​@@zlacyeah I got 17. I actually thought of other rotations but for.some reason it seemed obvious to me that there couldn't be any square like this
      I am in the 99% :`(

  • @staircase72
    @staircase72 13 днів тому +12

    There is a more efficient brute force method than trying every single combination of 4 points. Once you have two ordered points, the other two points that would make up a clockwise oriented square. Assuming you take all ordered pairs of points and then check if the other points are valid, you will find all edges of all squares, or 4 times the number of squares with only n^2 tries (where n is the number of points we have). If you have a rule that lets you only try one side of each square, then you can do it in n^2/4 attempts.

  • @yippee8570
    @yippee8570 13 днів тому +1

    I love the fact you wrote a program to affirm what you already figured out! I used to draw dots in various sized grids and join them in as many different ways as possible when I was a child. I think that was probably my first foray into probability.

  • @DigDug_The1975
    @DigDug_The1975 13 днів тому +33

    Grrrrr. I paused this for almost 3 minutes and came up with 22. Soooo close. Great puzzle. Keep em coming with your brilliance on HOW to solve complex problems!

    • @ThePowerfulOne07
      @ThePowerfulOne07 13 днів тому +4

      How does the 22th square look??? Which points did you use?

    • @nicknike
      @nicknike 13 днів тому +4

      22? I came up with 21 and I'm now playing the rest of the video. 😶

    • @The_Cali_Dude_88
      @The_Cali_Dude_88 13 днів тому +1

      I got 20... rectangles aren't 'squares' and I told them that. True squares are equal all sides period🎉

    • @siliconslice
      @siliconslice 13 днів тому

      @@The_Cali_Dude_88 yes

    • @nicknike
      @nicknike 13 днів тому +3

      @@The_Cali_Dude_88 You can get 21 squares. Which one of them do you consider a rectangle?

  • @sidkemp4672
    @sidkemp4672 13 днів тому +2

    Nicely done. Most often, you show a known solution or say you learned part of the solution from someone else. Clearly, this time, you found all 21 squares yourself and then validated it with a computational method. And, as always, excellent presentation. And your approach to both finding and explaining squares by creating right triangles and identifying side lengths to test was brilliant. Kudos!
    I did think of diagonal squares, but only found four of them. So I found 13 boxes in all. I thought my way out of the smallest box, but not out of the next box up.

  • @HopUpOutDaBed
    @HopUpOutDaBed 13 днів тому +9

    then there's me counting all the rotated squares, but then forgetting to count all of the 9 obvious cross squares other than the center.

    • @wiseoldfool
      @wiseoldfool 12 днів тому

      Don't you hate it when you over think things? I don't.

  • @purplealarmclocker
    @purplealarmclocker 13 днів тому +6

    That animation was remarkably satisfying

  • @r.j.d3923
    @r.j.d3923 12 днів тому +2

    I think it is at least 30 squares:
    Look at @2:14 and @2:54; both solutions you made use of the dots as cornerpoints, but 4 additional small squares occur when you draw the 4 squares.
    So by drawing 21 squares you get 30 squares. Maybe I overlooked some more?

    • @s3m527
      @s3m527 11 днів тому

      Yeah, but those small squares are not connected to a point on each corner 🤓

  • @aleksandersaski5387
    @aleksandersaski5387 13 днів тому +4

    Nailed it!

  • @strangebird5974
    @strangebird5974 13 днів тому +3

    The more interesting question would be how to form a concise proof that there are only 21 possible squares to construct. I would start by noting that, apart from repeating pattern and mirroring, there are only 3 distinct "kinds" of dots in the pattern (the dot closest to the middle, the dot one out from the middle and the dot furthest away from the middle). Thus, we would only need to show the exhaustive number of kinds of squares with each of these 3 dots as a corner. That is pretty doable.

    • @MichaelRothwell1
      @MichaelRothwell1 12 днів тому +1

      That is my question too. Someone already pointed out that a square is defined by its opposite corners, so you only have to consider pairs of points, then simplify further using the symmetry of the shape.

  • @krzysztof_jablonski
    @krzysztof_jablonski 13 днів тому +1

    My initial guess is 21, but instead of lengths like you do in the video I select a vector which is the first side of a square (select a point as 1st vertex, add the vector to get a 2nd vertex, add the vector rotated 90° to get the 3rd vertex, then add the vector rotated 180° to get the 4th vertex; all 4 form a square, you get the idea). Since the dots can be placed on discrete two dimensional grid of size 6x6 there's only a handful of vectors to choose from. Since the square has a rotational symmetry of order 4 we can consider only vectors with both coordinates being non-negative integers (Quadrant I) and still miss no cases.
    Here's my dissection of possible first square side vectors along with the number of dots that would form a square with all 4 vertices lying on the dots:
    (0,1) - 9
    (1,1) - 4
    (2,2) - 4
    (1,2) - 1
    (2,1) - 1
    (2,3) - 1
    (3,2) - 1
    I believe it could be easier to program with this approach, as you wouldn't have to check if the 4 points combination forms a square, but instead given a square verify if all it's vertices belongs to a set of points provided as input. Also it would decrease the computational complexity, because there's only 35 such vectors possible in a 6x6 grid (plus a trivial (0,0) vector but those squares don't count) and check all of them against every one of the 20 points you only have 700 cases to run. That's already significantly lower than C(20,4).
    The number can be further shaved down if discard the vectors that are available in a full 6x6 grid but not in the input set. It can be easily proved visually, that for first coordinate of [number on the left] the second coordinate can only go as high as [number on the right]:
    0, 5
    1, 5
    2, 3
    3, 3
    4, 1
    5, 1
    Considering only vectors of
    (0,1) through (0,5) // skipping the trivial (0,0) for the total of 5
    (1,0) through (1,5) // 6
    (2,0) through (2,3) // 4
    (3,0) through (3,3) // 4
    (4,0) through (4,1) // 2
    (5,0) through (5,1) // 2
    we get the grand total of 23 vectors to check against 20 points for 460 combinations. Over 10x less than C(20,4).

  • @WhiteGandalfs
    @WhiteGandalfs 13 днів тому

    That was one of the first computer games we made ourselves on a "home computer" at college, using a version that accepted only straight squares as template and generalizing it to arbitrarily positioned squares - 40 years ago. Was a nice exercise for the introduction into 2D vectors. Nostalgie :D

  • @marvhollingworth663
    @marvhollingworth663 11 днів тому

    Nice, I got it right! I was about to declare 9 as my answer, but then thought "Hang on, what about diagonals?" Went for 21 but expected him to keep going beyond 21 with some I missed. Was really pleased when he didn't.

  • @The_Commandblock
    @The_Commandblock 12 днів тому +3

    Thank you for making me feel smart lol

  • @OneTrueBadShoe
    @OneTrueBadShoe 13 днів тому

    I made use of the symmetry. I graphed them and put the origin of the cartesian plane in the center. I only check to see if there is a side between (1,y) quadrant 1 and points within (-y,y) if that makes sense.
    I check
    (1,1) to (-1,1) is the side of a square. The diagonal passes through the center, so I count 1 square
    (1,2) to (-1,1) is a side. The diagonal does not cross through the center, I count 4
    (1,2) to (-2,1) is a side. The diagonal crosses through the center. I count 2
    (1,2) to (-1,2) is a side. The diagonal does not cross through the center. I count 4.
    (1,3) to (-1,1) is not a side
    (1,3) to (-2,1) is a side. The diagonal does not cross through the center, I count 4
    (1,3) to (-3,1) is a side, The diagonal crosses through the center, I count 2
    (1,3) to (-1,2) is not a side
    (1,3) to (-1,3) is a side. The diagonal does not cross through the center. I count 4
    Total of 21

  • @cmuller1441
    @cmuller1441 12 днів тому +1

    Instead of trying all 4 points, you can just test all pairs with the first point being higher or more left than the second and test if the 2 remaining points for a square (clockwise travel) are in the set.

  • @hafez591
    @hafez591 13 днів тому

    Great that you could computationally check all of the possibilities!👍

    • @randombrian256
      @randombrian256 13 днів тому

      Yes but I think he only checked combinations when he should have checked permutations just to be sure! 😄

  • @Anti_Woke
    @Anti_Woke 11 днів тому

    Programing always turns out to be harder than expected. Good job.

  • @dylan9013
    @dylan9013 13 днів тому +1

    I haven't done a problem like this since I've been in college (I graduated seven years ago), so I'm pleasantly surprised I solved this one with ease. I found the 1 squares first, followed by the root 2 squares, then the root 13 squares, then the root 5 squares, and lastly the 2 root 2 squares. I had no math behind it. I just visualized it!

    • @RobiBue
      @RobiBue 13 днів тому +1

      I love to do these problems. This one didn’t take math but noting which squares were already counted. Got all 21 but did it on paper with 3 patterns for the different angles.

    • @Tiqerboy
      @Tiqerboy 13 днів тому +1

      I could NOT visualize ALL the tilted squares without tracing them out. My mind was going numb trying to trace them out on the grid and then keep track of them. I had to methodically draw them all out to get the right answer. This is true for problem solving in general. I have to put pen to paper. I run into trouble if I try to do anything complex like this in my head.

    • @dylan9013
      @dylan9013 12 днів тому

      @@Tiqerboy But you still got the right answer! That's what matters!

    • @dylan9013
      @dylan9013 12 днів тому

      @@RobiBue Very nice!

  • @ToBeUs_ToniBeranger
    @ToBeUs_ToniBeranger День тому

    Maybe the first time I was able to figure out the correct answer of one of your problems without any help!
    I'm pretty good in mathematics and also help students with that, but nevertheless I can still learn very much from your videos, thx therefore! :D

  • @eliechaya9690
    @eliechaya9690 12 днів тому

    I like that your title is so different of the actual question discussed

  • @laurenmilson7102
    @laurenmilson7102 12 днів тому

    This was super interesting 👍 thanks

  • @hippophile
    @hippophile 13 днів тому +1

    I got this. So I am in the putative 1%. Really it just requires care and probably helps to have seen something vaguely similar to find the skew ones. I find it hard to believe it is only 1% of us though, there wasn't anything really surprising there. Double counting was the main thing I found I needed to avoid... book-keeping skill...

  • @sintaxera
    @sintaxera 12 днів тому +1

    I found them in about 15 seconds, thought I was missing something. I didnt even watch the video, just from the thumbnail 😂

  • @robdielemans9189
    @robdielemans9189 12 днів тому

    I missed 2 of them. great video!

  • @JamesWanders
    @JamesWanders 13 днів тому

    With your code, you could also tally rectangles, kites, rhombi, trapezoids, parallelograms etc... be interesting to see how they compare.

  • @ricks7469
    @ricks7469 День тому

    There are 21. If you number the dots from top to bottom, left to right; there are 9 like 1:3:4:2, 4 like 4:7:14:9, 4 like 3:12:18:9, 2 like 2:6:18:10, and 2 like 1:9:20:8.

  • @RobShawGB
    @RobShawGB 13 днів тому +2

    It would be interesting to know if there is a general rule here for shaped like this. If this was considered of order 2, an order of 3 equivalent would be made up of five 3x3 squares. Or even look at cubes in a 3d version?!

  • @noelwest8234
    @noelwest8234 11 днів тому

    My first count was 10, but I had a feeling there were more. I just could not see them. Thanks for the early morning headache.

  • @FirasFaleh-oj2ex
    @FirasFaleh-oj2ex 12 днів тому +1

    Can you make a video about this problem:
    Let ABC be a triangle and M be a point inside it
    1) let a, b and c be three strictly positive real numbers
    we put:
    x=(a+b)/c, y=(b+c)/a, z=(c+a)/b
    check that xyz=x+y+z+2
    2) the lines (AM), (BM) and (CM) intersect respectively at A', B' and C':
    to show that:
    (MA/MA') • (MB/MB')
    • (MC/MC') = MA/MA' + MB/MB' + MC/MC' + 2

  • @warny1978
    @warny1978 13 днів тому

    There's an optimisation for your algorithm.
    Once you have choosen 2 points, which can't be horizontally aligned, you can consider it is the side of the square abd that you'll only search far squares that are on right and bottom of your 2 points. If the square missing vertices matches two points, you have found a new square. You'll find all squares with less tests.

  • @pramodsingh7569
    @pramodsingh7569 13 днів тому

    Thanks

  • @daboffey
    @daboffey 8 днів тому

    A more efficient way of counting would be choosing two points at a time and checking whether a square with them as opposite corners is on the grid. Then divide by two, as the squares would be double counted.

  • @keeplearning6
    @keeplearning6 День тому

    Thank you for making this video. Just wanted to know which language/tool you used to program the possibilities. It would be great if you can share the code as well.

  • @smylesg
    @smylesg 13 днів тому

    4:51 I wish when the music started, he played a different tone for each point touched. He found enhance it by leaving the initial points playing while looking for the other possibilities.

  • @dimitrilemeur7703
    @dimitrilemeur7703 13 днів тому

    I will call the big cross C, and the big cross with the eight border points excluded C'. There is a trick : the points of Z^2 strictly inside the considered squares (not in the sides) must be in C'. This is because the interior of the convex hull C intersected with Z^2 is equal to C'. It is easier to see if the interior points of a square is included in C' to see if the four corners of it belongs to C.
    For a square formed with the vector (a,b), the number of strictly inside points equals a^2 + b^2 - 1 if a,b coprime, thus a^2 + b^2 \leq 13 in this case. If a,b not coprime, a^2 + b^2 cannot be too big either. Etc.

  • @davebashford3753
    @davebashford3753 13 днів тому

    I'm curious how you tested for or sorted for "non-intersecting polygons" [3:56] and is that the same as convex polygons? Some 20+ years ago, we had regular terrain data points that required 2 triangles for each 4 points to render. I tried to optimize the terrain into fewer points, but got stuck on the test/sort that you solved. A short description or pointer would be appreciated.

  • @Thorsten.Youtube
    @Thorsten.Youtube 2 дні тому

    Yeah, took me some thinking but paused the video at 0:20 and found 21 without difficulty, seriously I found it pretty easy, albeit interesting.

  • @MateusMuila
    @MateusMuila 12 днів тому

    Only 1% could solve it indeed , thanks for sharing your knowledge Sir.

  • @CubeEarthTheory
    @CubeEarthTheory 7 днів тому

    Well, there are 20 dots, and it takes 4 to make a square. 20/4=5. 5 "squared" is 25, subtract 4 for what makes a square: 25-4=21.

  • @pieffe8
    @pieffe8 13 днів тому

    In the automated counting of the squares, instead of considering each choice of 4 points, I'd have selected only 2 as two consecutive vertices of a square in clockwise order. At this point you can compute the coordinates of the other two vertices and see if they are valid. (You can find the third and fourth vertices by taking the vector between the two first vertices, rotate it 90 degrees clockwise, and apply it to the first and second vertices.) You can remove duplicates by only considering vectors going "right" (increasing x), and whose y coordinate doesn't decrease.

  • @panlomito
    @panlomito 13 днів тому

    I first did it on paper but opened AutoCad that will provide distances between points. That was much easier and probably the 1% having the right tools to solve this challenge.

  • @Inspirator_AG112
    @Inspirator_AG112 12 днів тому +1

    I counted 21, after looking for all possible ways to create squares connect-the-dots-style with the points given.

    • @mattc3581
      @mattc3581 10 днів тому +1

      Indeed takes about 30 secs at most to count them all, so anything more than counting is a little overkill unless you don't feel confident in picking out all the different types.

  • @antoinedragnir142
    @antoinedragnir142 12 днів тому

    I didn't see the last two squares.
    Nice problem !
    I guess we could also consider more points to create an harder question.

  • @bakrantz
    @bakrantz 11 днів тому

    Finding the total number of rectangles would be interesting as well.

  • @pierreardouin6441
    @pierreardouin6441 9 днів тому

    There are fundamentally 3 different types of points. Type A (8 points) belong to 3 squares, Type B (8 points) belong to 5 squares and type C (4 points) to 5. So thz number of squares is (8×3 + 8×5 + 4×5)÷4 = 21.

  • @chandranisahanone
    @chandranisahanone 13 днів тому +3

    I am following u since 3years , and I am totally obsessed by your ability of solving any problem, U are great 👑👑👑👑

    • @douglaswolfen7820
      @douglaswolfen7820 13 днів тому +1

      Ah, but you've got a logical fallacy there. We don't know that he can solve every problem
      For all we know, he only solves one out of every ten problems he finds. He just doesn't make videos about the other nine

    • @chandranisahanone
      @chandranisahanone 12 днів тому

      @@douglaswolfen7820 No matter what he does but he is the goat!

  • @perekman3570
    @perekman3570 13 днів тому +2

    May i ask what software/library was used to do the animation and render the video?

    • @cheweh842
      @cheweh842 13 днів тому +1

      Looks like 3b1b/manim

  • @sweepingpage1845
    @sweepingpage1845 11 днів тому

    If you don't restrict it to requiring the points be the corners, you can draw 9 more squares that form from intersecting lines.

  • @TuSkoFskY
    @TuSkoFskY 9 днів тому

    Hi Presh! I was wondering if you gave a thoutgh about the numbers in which correct combinations are occuring? Are they forming any pattern? For sure it depends on the shape of points on the lattice. But maybe there is some regularity behind that? Would be nice to make another use of that algorithm :)

  • @WRSomsky
    @WRSomsky 13 днів тому

    I would have left the 2*Sqrt(2) as the "improper" Sqrt(8) Makes the progression more evident.

  • @kylaxial
    @kylaxial 13 днів тому

    I came up with 9, then paused the video shortly after the explanation started, because I had remembered diagonal squares. I counted 21, but I miscounted 2 more odd angle ones and missed 2 45 degree angle ones.

  • @romain.guillaume
    @romain.guillaume 9 днів тому

    I got it. I just search for every possible side lengths :
    9 of 1
    Sqrt(2) and 2sqrt(2) (45°) are basically the same at a scale factor with 4 squares each
    Same for sqrt(5) and sqrt(13) with only 2 each

  • @gm2407
    @gm2407 13 днів тому

    Finally, one I got the answer first time.

  • @EugeneMayevski
    @EugeneMayevski 12 днів тому

    I found all the squares easily, but to me, the text is a bit vague. When a square must use four points at corners, does this mean that it may or may not have other points on its sides? I read the text the way that it may not (and then some of the found squares must be excluded).

  • @paulrandig
    @paulrandig 11 днів тому

    It is kind of satisfying but also an overkill to check ALL combinations.
    It would be simpler to have two points and add a third point.
    IF the distance 1-2 is not equal to the distance 2-3, there cannot be a square.
    IF the distance 1-2 is equal but the lines do not form a right angle, there cannot be a square.
    Only if those two conditions do apply, you have to check a 4th point at all.
    BUT: It would be very interesting what the average area of all those polygons is and other statistics like the lenghth of all lines and so on.

  • @billbucktube
    @billbucktube 13 днів тому

    Like it‼️

  • @JKenny44
    @JKenny44 14 годин тому

    I got 25 ... I found all 21 and counted all of the root5 ones twice.
    Probably if I had pen and paper I wouldn't overcount.

  • @rohitchakra9280
    @rohitchakra9280 8 днів тому

    I am impressed by the animation; how to generate? any suggestions?

  • @bledlbledlbledl
    @bledlbledlbledl 13 днів тому

    screenshotted the dots, scribbled some squares on them, and found 21 pretty quickly ... and then spent way more time than that looking for more squares because of what it said on the thumbnail-pic

  • @clonefighter1996
    @clonefighter1996 12 днів тому

    I missed 8 of the trivial squares... these types of things sure can mix you up

  • @user-or5ke5yn4w
    @user-or5ke5yn4w 11 днів тому

    Got it right, pretty easy.

  • @Shirazmatas
    @Shirazmatas 13 днів тому

    How would you solve it if the question asked for how many rectangles rather than squares, is there a way without just computing?

  • @Vienticus
    @Vienticus 12 днів тому

    You could've just made a complete grid and exclude 16 points from the list. That would allow you to put a value between points, then do math to figure out if they're squares.

  • @wiseoldfool
    @wiseoldfool 12 днів тому

    I love the animation and the music, but I'm going to say (for fun) that there are only 9 squares, the other 4-corner shapes are diamonds.

  • @former-time-trio_fan
    @former-time-trio_fan 10 днів тому

    before watching i tried solve this by myself, and got the right answer

  • @Toztabud
    @Toztabud 13 днів тому

    What tune is that at 5:00? I recognise it. Is it Tetris or Snake or something?

  • @markwallen6570
    @markwallen6570 3 години тому

    I also came up with the answer of 17; missed the 4 obscure squares.

  • @Patrik6920
    @Patrik6920 10 днів тому

    actually, thers atleast 23 as the question is asked,
    if u draw lines trom the outer most points
    nr 22:
    L upper point- down to R 45 deg edge point
    R upper point- down to L 45 deg edge point
    L lower point - upp to R 45 deq edge point
    R lower point -to- upp L 45 deg edge point
    ..the resulting squere will have a side of 2(√2) units, and a starting point 0.5 units from the edges
    nr 23: a smaller one one step in with the side √2
    ..cant atm see any more...

  • @Nikioko
    @Nikioko 11 днів тому

    The answer with 17 squares only counted the 9 normal squares and the 8 diamonds, but not the 4 tilted squares.

  • @kilroy987
    @kilroy987 12 днів тому

    I found the easy 9 and the diagonal 4. I didn't realize how many more there were.

  • @3characterhandlerequired
    @3characterhandlerequired 13 днів тому

    I found all of them quite quickly in just few minutes, but I didn't trust that I have found them all and also thought that I might have counted few multiple times.

  • @mistyking627
    @mistyking627 12 днів тому

    Solved it in 30 secs :). Finnaly a problem I got right.

  • @Nikioko
    @Nikioko 11 днів тому

    It's 9 squares standing on their sides and 8 diamonds. And another 4 with odd angles. So, 21 squares overall.

  • @limitedrespawns
    @limitedrespawns 9 днів тому

    If you think in 3 dimensions, there could be squares that don't look like squares on this plane

  • @alexharkler
    @alexharkler 12 днів тому

    guessing before watching. I got 21. 9 trivial small. 4 small at 45deg, 4 large at 45deg, and 4 centered using the outer 4 dots with radial symmetry

  • @luismigueluribe914
    @luismigueluribe914 8 днів тому

    It's 9 small squares, 2 sizes of 4 tilted (at 45°) squares, and 2 sizes of 4 tilted (not at 45°) squares; a total of 25 squares.

    • @luismigueluribe914
      @luismigueluribe914 8 днів тому

      I made a mistake !!!
      The last are 2 sizes of 2 tilted (not at 45°)

  • @rustybarrel516
    @rustybarrel516 13 днів тому

    I GOT ONE!!! I don’t BELIEVE it! This is better than the day the new phone book arrived! (But not as good as the day I discovered my special purpose).

  • @Pocketfarmer1
    @Pocketfarmer1 12 днів тому

    It could be argued that the four 2√2 are not legitimate for the problem because their side pass through another of the given points. None of the other squares do this. If the problem is to make squares from one point to a second ,then the 2√2 lines stop before completing the square . So 17 would be the right answer.

    • @leoc.9341
      @leoc.9341 12 днів тому

      That is the answer I got for the very same reason.

  • @USAltefore
    @USAltefore 13 днів тому

    I found 21 squares and promptly convinced myself that I must have overlooked something incredibly obvious.

  • @rapid13
    @rapid13 13 днів тому

    As soon as you used the magic word "any" I knew there'd be way more than 9 lol!

  • @richardnel-boland7070
    @richardnel-boland7070 13 днів тому

    I wrote the code to find all 4 points that have an equal distance from each other at the same time. Got 21.

  • @MichaelPaoli
    @MichaelPaoli 10 днів тому

    How many squares using any four points?
    Would be sum of all the squares using any four points.
    So, let's sum them up.
    We'll only count each square once for any given set of four points.
    Let's start with smallest integral side length squares and go up from
    there.
    For reference, let's label each point,
    we'll use a Cartesian-like reference, similar to (x,y),
    but for brevity we'll omit all but xy, so instead of,
    e.g. (2,1) we'll just use 21.
    We'll label the points as follows,
    with x ranging from 0 through 5, all integers, and likewise for
    y, so, these are the labels for our points, shown graphically to
    correlate to their positions (and - for unfilled space/points):
    ------52-53------
    ------42-43------
    30-31-32-33-34-35
    20-21-22-23-24-25
    ------12-13------
    ------02-03------
    So, smallest squares have side 1, and there are
    9 of those.
    We have no squares of integral side lengths of 2 through 5 nor larger,
    nor smaller than 1, so what about other sizes between?
    Sides of (square) root 2 ... we have
    4 of those (may be easier to visualize by rotating image 90 degrees).
    Sides of (square) root 5? ... again, rotating may aid visualization,
    and we have ...
    2 of those (don't forget both non-redundant rotation sets).
    Sides of 2 root 2? ...
    4 of those (think of these,
    squares having adjacent corners 02 and 20 x 4 for symmetry = 4,
    each consumes a pair of the most extreme horizontal (x) and
    vertical (y) points, and there are only 8 of those to consume, so that
    gives us our 4 squares of 2 root 2 sides.
    )
    Next side size we can consider is root(2*2+3*3)=root 13 ...
    2 of those only and exactly, due to what fits + symmetry/rotation
    Next we have side size 3 root 2,
    ... and we don't have anything that size or larger that fits all four
    square sides.
    So, add 'em up, 9+4+2+4+2=
    21 squares.

  • @kmktruthserum9328
    @kmktruthserum9328 7 днів тому

    23 squares? I counted this is my guess. (Counted 4 where there were 2... Hard to do in your head but I found them all)
    I used to do these as a kid with different boxes using lines and not dots and you would have to count the squares. And it's actually funny because I made this exact puzzle with dots when I was younger and I remember erasing it because I only counted nine! Crazy I got 23 this time lol. I wonder if my IQ went up or down since then😅

  • @Tony-hs8mu
    @Tony-hs8mu 3 дні тому

    The question mislead the analysis. I did it with tooth picks which proved very difficult, i finally drew them 21

  • @Narikvp
    @Narikvp 12 днів тому

    I only found 17. Missed the four squares that don’t have a point in the center of each side ( sqrt 5 and sqrt 13).

  • @rogerlie4176
    @rogerlie4176 2 дні тому

    Using symmetries I got n = 9 + 2*2 + 2*3 + 2*1 = 21

  • @zkeletonz001
    @zkeletonz001 12 днів тому

    I think you made a new screen saver.

  • @aukword6255
    @aukword6255 11 днів тому +1

    Arguably, there are actually 84 possible squares. As humans, we just naturally tend to collapse the 4 different starting points for each square down to a single solution. A machine would consider them distinct.

    • @adamperdue3178
      @adamperdue3178 10 днів тому +1

      Just because a machine would say so, doesn't make the machine correct. If I look at my house from a different angle, it isn't a new house.

    • @aukword6255
      @aukword6255 10 днів тому +1

      @@adamperdue3178 Reasonable, it's just a matter of definition. It's not a new house, but it is a new VIEW of a house.
      Every entity must operate on what IT considers an important instance. There are also cases in human endeavour where the starting corner is important.

  • @mescalinum
    @mescalinum 10 днів тому

    Brute force… the old golden hammer of mathematics

  • @RCassinello
    @RCassinello 12 днів тому

    I got 23 because in my head, I could see 4 of the root 5 ones. :)

  • @richcolour
    @richcolour 13 днів тому +9

    Wooo I'm in the 1% club! Where's my £100,000?

    • @TheChamp1971
      @TheChamp1971 13 днів тому +3

      I found all 21 also, so you're going to have to share it with me!! 🤪

    • @DoomRutabaga
      @DoomRutabaga 13 днів тому +1

      Hey I found all 21 as well, I want some of that money!!

    • @rojer9542
      @rojer9542 13 днів тому +1

      I’m sure the check is in the mail. 😁

    • @DoomRutabaga
      @DoomRutabaga 13 днів тому +1

      @@rojer9542 real :D

  • @derwolf7810
    @derwolf7810 12 днів тому

    20 squares with sidelength of 0 and
    21 squares with non-zero sidelength.

  • @christopherg2347
    @christopherg2347 13 днів тому

    Maths used to be purely theoretical answers.
    Computers however alllow us to do actual experimental answers. If the answer space is limited.

  • @JaggerG
    @JaggerG 12 днів тому

    At first, I accidentally multiplied the rt5 squares by 4 and got 23, but then rethunk and got 21.

  • @pickleballer1729
    @pickleballer1729 13 днів тому

    I got them, too, within 3 minutes. I thought I might have missed some because it was so easy, but no.

  • @asandax6
    @asandax6 12 днів тому

    The first 14 were easy to find. The rest were a little puzzling.