幻方吧 关注:781贴子:6,227
  • 5回复贴,共1


这是普通8阶幻方,黄颜色格只能填写小于33的数。


IP属地:四川1楼2024-06-25 22:35回复


    IP属地:四川2楼2024-06-25 22:44
    回复
      1 14 23 28 36 47 54 57
      22 25 4 15 55 60 33 46
      42 37 64 51 11 8 29 18
      61 50 43 40 32 19 10 5
      39 44 49 62 6 9 20 31
      52 63 38 41 17 30 7 12
      16 3 26 21 45 34 59 56
      27 24 13 2 58 53 48 35
      1 23 28 14 38 52 63 41
      29 11 8 18 58 48 35 53
      47 57 54 36 12 30 17 7
      51 37 42 64 24 2 13 27
      50 40 43 61 21 3 16 26
      46 60 55 33 9 31 20 6
      32 10 5 19 59 45 34 56
      4 22 25 15 39 49 62 44
      应该会有很多普通幻方,但是还未找出泛幻方??


      IP属地:四川3楼2024-06-27 07:19
      回复
        8阶幻方 作者: lalawo 时间:2024/8/6 7:29:16
        1 12 47 38 50 59 32 21
        8 13 42 35 55 62 25 20
        30 23 52 57 45 40 3 10
        27 18 53 64 44 33 6 15
        51 58 29 24 4 9 46 39
        54 63 28 17 5 16 43 34
        48 37 2 11 31 22 49 60
        41 36 7 14 26 19 56 61
        横向经演算正确
        竖向经演算正确
        对角经演算正确
        主泛对角线经演算不正确
        次泛对角线经演算不正确
        矩阵×32
        0 0 1 1 1 1 0 0
        0 0 1 1 1 1 0 0
        0 0 1 1 1 1 0 0
        0 0 1 1 1 1 0 0
        1 1 0 0 0 0 1 1
        1 1 0 0 0 0 1 1
        1 1 0 0 0 0 1 1
        1 1 0 0 0 0 1 1
        矩阵×8
        0 1 1 0 0 1 1 0
        0 1 1 0 0 1 1 0
        1 0 0 1 1 0 0 1
        1 0 0 1 1 0 0 1
        0 1 1 0 0 1 1 0
        0 1 1 0 0 1 1 0
        1 0 0 1 1 0 0 1
        1 0 0 1 1 0 0 1
        矩阵×1 + 1
        0 1 0 1 1 0 1 0
        1 0 1 0 0 1 0 1
        1 0 1 0 0 1 0 1
        0 1 0 1 1 0 1 0
        0 1 0 1 1 0 1 0
        1 0 1 0 0 1 0 1
        1 0 1 0 0 1 0 1
        0 1 0 1 1 0 1 0
        矩阵×16
        0 0 0 0 1 1 1 1
        0 0 0 0 1 1 1 1
        1 1 1 1 0 0 0 0
        1 1 1 1 0 0 0 0
        1 1 1 1 0 0 0 0
        1 1 1 1 0 0 0 0
        0 0 0 0 1 1 1 1
        0 0 0 0 1 1 1 1
        矩阵×4
        0 0 1 1 0 0 1 1
        1 1 0 0 1 1 0 0
        1 1 0 0 1 1 0 0
        0 0 1 1 0 0 1 1
        0 0 1 1 0 0 1 1
        1 1 0 0 1 1 0 0
        1 1 0 0 1 1 0 0
        0 0 1 1 0 0 1 1
        矩阵×2
        0 1 1 0 0 1 1 0
        1 0 0 1 1 0 0 1
        0 1 1 0 0 1 1 0
        1 0 0 1 1 0 0 1
        1 0 0 1 1 0 0 1
        0 1 1 0 0 1 1 0
        1 0 0 1 1 0 0 1
        0 1 1 0 0 1 1 0


        IP属地:四川6楼2024-08-06 07:32
        回复
          矩阵×32一定型,就必然是普通幻方。源程序分为泛幻方和普通幻方。


          IP属地:四川7楼2024-08-06 07:38
          回复
            8阶幻方 作者: lalawo 时间:2024/8/6 7:39:08
            1 40 30 59 17 56 14 43
            58 31 37 4 42 15 53 20
            55 18 44 13 39 2 60 29
            16 41 19 54 32 57 3 38
            5 36 26 63 21 52 10 47
            62 27 33 8 46 11 49 24
            51 22 48 9 35 6 64 25
            12 45 23 50 28 61 7 34
            横向经演算正确
            竖向经演算正确
            对角经演算正确
            主泛对角线经演算正确
            次泛对角线经演算正确
            矩阵×32
            0 1 0 1 0 1 0 1
            1 0 1 0 1 0 1 0
            1 0 1 0 1 0 1 0
            0 1 0 1 0 1 0 1
            0 1 0 1 0 1 0 1
            1 0 1 0 1 0 1 0
            1 0 1 0 1 0 1 0
            0 1 0 1 0 1 0 1
            矩阵×2
            0 1 0 1 0 1 0 1
            0 1 0 1 0 1 0 1
            1 0 1 0 1 0 1 0
            1 0 1 0 1 0 1 0
            0 1 0 1 0 1 0 1
            0 1 0 1 0 1 0 1
            1 0 1 0 1 0 1 0
            1 0 1 0 1 0 1 0
            矩阵×4
            0 1 1 0 0 1 1 0
            0 1 1 0 0 1 1 0
            1 0 0 1 1 0 0 1
            1 0 0 1 1 0 0 1
            1 0 0 1 1 0 0 1
            1 0 0 1 1 0 0 1
            0 1 1 0 0 1 1 0
            0 1 1 0 0 1 1 0
            矩阵×1 + 1
            0 1 1 0 0 1 1 0
            1 0 0 1 1 0 0 1
            0 1 1 0 0 1 1 0
            1 0 0 1 1 0 0 1
            0 1 1 0 0 1 1 0
            1 0 0 1 1 0 0 1
            0 1 1 0 0 1 1 0
            1 0 0 1 1 0 0 1
            矩阵×8
            0 0 1 1 0 0 1 1
            1 1 0 0 1 1 0 0
            0 0 1 1 0 0 1 1
            1 1 0 0 1 1 0 0
            0 0 1 1 0 0 1 1
            1 1 0 0 1 1 0 0
            0 0 1 1 0 0 1 1
            1 1 0 0 1 1 0 0
            矩阵×16
            0 0 1 1 1 1 0 0
            1 1 0 0 0 0 1 1
            1 1 0 0 0 0 1 1
            0 0 1 1 1 1 0 0
            0 0 1 1 1 1 0 0
            1 1 0 0 0 0 1 1
            1 1 0 0 0 0 1 1
            0 0 1 1 1 1 0 0
            这是泛幻方


            IP属地:四川8楼2024-08-06 07:40
            回复