nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5 values | heuristic stringclasses 2 values |
|---|---|---|---|---|---|---|---|---|
[
62,
30,
19,
6
] | 33 | [
"30*19=570",
"570/6=95",
"95-62=33"
] | Current State: 33:[62, 30, 19, 6], Operations: []
Exploring Operation: 30*19=570, Resulting Numbers: [62, 6, 570]
Generated Node #2: [62, 6, 570] from Operation: 30*19=570
Current State: 33:[62, 6, 570], Operations: ['30*19=570']
Exploring Operation: 570/6=95, Resulting Numbers: [62, 95]
Generated Node #3: [62, 95] from Operation: 570/6=95
Current State: 33:[62, 95], Operations: ['30*19=570', '570/6=95']
Exploring Operation: 95-62=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[62, 30, 19, 6], Operations: []
Exploring Operation: 62-30=32, Resulting Numbers: [19, 6, 32]
Generated Node #0,0: 33:[19, 6, 32] Operation: 62-30=32
Exploring Operation: 62-19=43, Resulting Numbers: [30, 6, 43]
Generated Node #0,1: 33:[30, 6, 43] Operation: 62-19=43
Exploring Operation: 30-19=11, Resulting Numbers: [62, 6, 11]
Generated Node #0,2: 33:[62, 6, 11] Operation: 30-19=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[19, 6, 32], Operations: ['62-30=32']
Exploring Operation: 32-19=13, Resulting Numbers: [6, 13]
Generated Node #0,0,0: 33:[6, 13] Operation: 32-19=13
Exploring Operation: 19-6=13, Resulting Numbers: [32, 13]
Generated Node #0,0,1: 33:[32, 13] Operation: 19-6=13
Exploring Operation: 19+6=25, Resulting Numbers: [32, 25]
Generated Node #0,0,2: 33:[32, 25] Operation: 19+6=25
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[32, 13], Operations: ['62-30=32', '19-6=13']
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,33 unequal: No Solution
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[6, 13], Operations: ['62-30=32', '32-19=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[32, 25], Operations: ['62-30=32', '19+6=25']
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,33 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[30, 6, 43], Operations: ['62-19=43']
Exploring Operation: 30/6=5, Resulting Numbers: [43, 5]
Generated Node #0,1,0: 33:[43, 5] Operation: 30/6=5
Exploring Operation: 43-6=37, Resulting Numbers: [30, 37]
Generated Node #0,1,1: 33:[30, 37] Operation: 43-6=37
Exploring Operation: 43-30=13, Resulting Numbers: [6, 13]
Generated Node #0,1,2: 33:[6, 13] Operation: 43-30=13
Moving to Node #0,1,2
Current State: 33:[6, 13], Operations: ['62-19=43', '43-30=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[30, 37], Operations: ['62-19=43', '43-6=37']
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,33 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[43, 5], Operations: ['62-19=43', '30/6=5']
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,33 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[62, 6, 11], Operations: ['30-19=11']
Exploring Operation: 62-11=51, Resulting Numbers: [6, 51]
Generated Node #0,2,0: 33:[6, 51] Operation: 62-11=51
Exploring Operation: 11-6=5, Resulting Numbers: [62, 5]
Generated Node #0,2,1: 33:[62, 5] Operation: 11-6=5
Exploring Operation: 62-6=56, Resulting Numbers: [11, 56]
Generated Node #0,2,2: 33:[11, 56] Operation: 62-6=56
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[6, 51], Operations: ['30-19=11', '62-11=51']
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[11, 56], Operations: ['30-19=11', '62-6=56']
Exploring Operation: 11*56=616, Resulting Numbers: [616]
616,33 unequal: No Solution
Exploring Operation: 11+56=67, Resulting Numbers: [67]
67,33 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[62, 5], Operations: ['30-19=11', '11-6=5']
Exploring Operation: 62*5=310, Resulting Numbers: [310]
310,33 unequal: No Solution
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
3,
73,
13
] | 12 | [
"44+73=117",
"117/13=9",
"3+9=12"
] | Current State: 12:[44, 3, 73, 13], Operations: []
Exploring Operation: 44+73=117, Resulting Numbers: [3, 13, 117]
Generated Node #2: [3, 13, 117] from Operation: 44+73=117
Current State: 12:[3, 13, 117], Operations: ['44+73=117']
Exploring Operation: 117/13=9, Resulting Numbers: [3, 9]
Generated Node #3: [3, 9] from Operation: 117/13=9
Current State: 12:[3, 9], Operations: ['44+73=117', '117/13=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[44, 3, 73, 13], Operations: []
Exploring Operation: 73-44=29, Resulting Numbers: [3, 13, 29]
Generated Node #0,0: 12:[3, 13, 29] Operation: 73-44=29
Moving to Node #0,0
Current State: 12:[3, 13, 29], Operations: ['73-44=29']
Exploring Operation: 29-13=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 12:[3, 16] Operation: 29-13=16
Moving to Node #0,0,0
Current State: 12:[3, 16], Operations: ['73-44=29', '29-13=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,12 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
22,
44,
4,
76
] | 32 | [
"22*4=88",
"44+76=120",
"120-88=32"
] | Current State: 32:[22, 44, 4, 76], Operations: []
Exploring Operation: 22*4=88, Resulting Numbers: [44, 76, 88]
Generated Node #2: [44, 76, 88] from Operation: 22*4=88
Current State: 32:[44, 76, 88], Operations: ['22*4=88']
Exploring Operation: 44+76=120, Resulting Numbers: [88, 120]
Generated Node #3: [88, 120] from Operation: 44+76=120
Current State: 32:[88, 120], Operations: ['22*4=88', '44+76=120']
Exploring Operation: 120-88=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[22, 44, 4, 76], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [4, 76, 2]
Generated Node #0,0: 32:[4, 76, 2] Operation: 44/22=2
Exploring Operation: 76/4=19, Resulting Numbers: [22, 44, 19]
Generated Node #0,1: 32:[22, 44, 19] Operation: 76/4=19
Exploring Operation: 76-44=32, Resulting Numbers: [22, 4, 32]
Generated Node #0,2: 32:[22, 4, 32] Operation: 76-44=32
Exploring Operation: 76-22=54, Resulting Numbers: [44, 4, 54]
Generated Node #0,3: 32:[44, 4, 54] Operation: 76-22=54
Moving to Node #0,2
Current State: 32:[22, 4, 32], Operations: ['76-44=32']
Exploring Operation: 32-22=10, Resulting Numbers: [4, 10]
Generated Node #0,2,0: 32:[4, 10] Operation: 32-22=10
Exploring Operation: 22+4=26, Resulting Numbers: [32, 26]
Generated Node #0,2,1: 32:[32, 26] Operation: 22+4=26
Exploring Operation: 22-4=18, Resulting Numbers: [32, 18]
Generated Node #0,2,2: 32:[32, 18] Operation: 22-4=18
Exploring Operation: 32/4=8, Resulting Numbers: [22, 8]
Generated Node #0,2,3: 32:[22, 8] Operation: 32/4=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[4, 10], Operations: ['76-44=32', '32-22=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 32:[32, 18], Operations: ['76-44=32', '22-4=18']
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,32 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[32, 26], Operations: ['76-44=32', '22+4=26']
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 32*26=832, Resulting Numbers: [832]
832,32 unequal: No Solution
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 32:[22, 8], Operations: ['76-44=32', '32/4=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 32:[22, 44, 19], Operations: ['76/4=19']
Exploring Operation: 44-19=25, Resulting Numbers: [22, 25]
Generated Node #0,1,0: 32:[22, 25] Operation: 44-19=25
Exploring Operation: 22-19=3, Resulting Numbers: [44, 3]
Generated Node #0,1,1: 32:[44, 3] Operation: 22-19=3
Exploring Operation: 44/22=2, Resulting Numbers: [19, 2]
Generated Node #0,1,2: 32:[19, 2] Operation: 44/22=2
Exploring Operation: 44-22=22, Resulting Numbers: [19, 22]
Generated Node #0,1,3: 32:[19, 22] Operation: 44-22=22
Moving to Node #0,3
Current State: 32:[44, 4, 54], Operations: ['76-22=54']
Exploring Operation: 54-44=10, Resulting Numbers: [4, 10]
Generated Node #0,3,0: 32:[4, 10] Operation: 54-44=10
Exploring Operation: 44/4=11, Resulting Numbers: [54, 11]
Generated Node #0,3,1: 32:[54, 11] Operation: 44/4=11
Exploring Operation: 54-4=50, Resulting Numbers: [44, 50]
Generated Node #0,3,2: 32:[44, 50] Operation: 54-4=50
Exploring Operation: 44-4=40, Resulting Numbers: [54, 40]
Generated Node #0,3,3: 32:[54, 40] Operation: 44-4=40
Moving to Node #0,0
Current State: 32:[4, 76, 2], Operations: ['44/22=2']
Exploring Operation: 76/4=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 32:[2, 19] Operation: 76/4=19
Exploring Operation: 76-4=72, Resulting Numbers: [2, 72]
Generated Node #0,0,1: 32:[2, 72] Operation: 76-4=72
Exploring Operation: 76/2=38, Resulting Numbers: [4, 38]
Generated Node #0,0,2: 32:[4, 38] Operation: 76/2=38
Exploring Operation: 76-2=74, Resulting Numbers: [4, 74]
Generated Node #0,0,3: 32:[4, 74] Operation: 76-2=74
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[2, 19], Operations: ['44/22=2', '76/4=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[4, 38], Operations: ['44/22=2', '76/2=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[2, 72], Operations: ['44/22=2', '76-4=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,32 unequal: No Solution
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,32 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 32:[4, 74], Operations: ['44/22=2', '76-2=74']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,32 unequal: No Solution
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 4*74=296, Resulting Numbers: [296]
296,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 32:[4, 10], Operations: ['76-22=54', '54-44=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[19, 2], Operations: ['76/4=19', '44/22=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[19, 22], Operations: ['76/4=19', '44-22=22']
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,32 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[22, 25], Operations: ['76/4=19', '44-19=25']
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 22*25=550, Resulting Numbers: [550]
550,32 unequal: No Solution
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[44, 3], Operations: ['76/4=19', '22-19=3']
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,32 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[54, 11], Operations: ['76-22=54', '44/4=11']
Exploring Operation: 54*11=594, Resulting Numbers: [594]
594,32 unequal: No Solution
Exploring Operation: 54+11=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[44, 50], Operations: ['76-22=54', '54-4=50']
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,32 unequal: No Solution
Exploring Operation: 44*50=2200, Resulting Numbers: [2200]
2200,32 unequal: No Solution
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[54, 40], Operations: ['76-22=54', '44-4=40']
Exploring Operation: 54*40=2160, Resulting Numbers: [2160]
2160,32 unequal: No Solution
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 54+40=94, Resulting Numbers: [94]
94,32 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
2,
2,
94,
45
] | 91 | [
"94-2=92",
"92/2=46",
"45+46=91"
] | Current State: 91:[2, 2, 94, 45], Operations: []
Exploring Operation: 94-2=92, Resulting Numbers: [45, 92]
Generated Node #2: [45, 92] from Operation: 94-2=92
Current State: 91:[45, 92], Operations: ['94-2=92']
Exploring Operation: 92/2=46, Resulting Numbers: [45, 46]
Generated Node #3: [45, 46] from Operation: 92/2=46
Current State: 91:[45, 46], Operations: ['94-2=92', '92/2=46']
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[2, 2, 94, 45], Operations: []
Exploring Operation: 2*45=90, Resulting Numbers: [2, 94, 90]
Generated Node #0,0: 91:[2, 94, 90] Operation: 2*45=90
Exploring Operation: 2+2=4, Resulting Numbers: [94, 45, 4]
Generated Node #0,1: 91:[94, 45, 4] Operation: 2+2=4
Exploring Operation: 2*2=4, Resulting Numbers: [94, 45, 4]
Generated Node #0,2: 91:[94, 45, 4] Operation: 2*2=4
Exploring Operation: 2*45=90, Resulting Numbers: [2, 94, 90]
Generated Node #0,3: 91:[2, 94, 90] Operation: 2*45=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[2, 94, 90], Operations: ['2*45=90']
Exploring Operation: 2+94=96, Resulting Numbers: [90, 96]
Generated Node #0,0,0: 91:[90, 96] Operation: 2+94=96
Exploring Operation: 90-2=88, Resulting Numbers: [94, 88]
Generated Node #0,0,1: 91:[94, 88] Operation: 90-2=88
Exploring Operation: 2+90=92, Resulting Numbers: [94, 92]
Generated Node #0,0,2: 91:[94, 92] Operation: 2+90=92
Exploring Operation: 94-2=92, Resulting Numbers: [90, 92]
Generated Node #0,0,3: 91:[90, 92] Operation: 94-2=92
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 91:[90, 92], Operations: ['2*45=90', '94-2=92']
Exploring Operation: 90+92=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 90*92=8280, Resulting Numbers: [8280]
8280,91 unequal: No Solution
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[94, 92], Operations: ['2*45=90', '2+90=92']
Exploring Operation: 94-92=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 94*92=8648, Resulting Numbers: [8648]
8648,91 unequal: No Solution
Exploring Operation: 94+92=186, Resulting Numbers: [186]
186,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[90, 96], Operations: ['2*45=90', '2+94=96']
Exploring Operation: 96-90=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 90*96=8640, Resulting Numbers: [8640]
8640,91 unequal: No Solution
Exploring Operation: 90+96=186, Resulting Numbers: [186]
186,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[94, 88], Operations: ['2*45=90', '90-2=88']
Exploring Operation: 94+88=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 94-88=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 94*88=8272, Resulting Numbers: [8272]
8272,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[2, 94, 90], Operations: ['2*45=90']
Exploring Operation: 2+90=92, Resulting Numbers: [94, 92]
Generated Node #0,3,0: 91:[94, 92] Operation: 2+90=92
Exploring Operation: 94-2=92, Resulting Numbers: [90, 92]
Generated Node #0,3,1: 91:[90, 92] Operation: 94-2=92
Exploring Operation: 90-2=88, Resulting Numbers: [94, 88]
Generated Node #0,3,2: 91:[94, 88] Operation: 90-2=88
Exploring Operation: 2+94=96, Resulting Numbers: [90, 96]
Generated Node #0,3,3: 91:[90, 96] Operation: 2+94=96
Moving to Node #0,3,1
Current State: 91:[90, 92], Operations: ['2*45=90', '94-2=92']
Exploring Operation: 90*92=8280, Resulting Numbers: [8280]
8280,91 unequal: No Solution
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 90+92=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[94, 92], Operations: ['2*45=90', '2+90=92']
Exploring Operation: 94+92=186, Resulting Numbers: [186]
186,91 unequal: No Solution
Exploring Operation: 94-92=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 94*92=8648, Resulting Numbers: [8648]
8648,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[90, 96], Operations: ['2*45=90', '2+94=96']
Exploring Operation: 96-90=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 90*96=8640, Resulting Numbers: [8640]
8640,91 unequal: No Solution
Exploring Operation: 90+96=186, Resulting Numbers: [186]
186,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[94, 88], Operations: ['2*45=90', '90-2=88']
Exploring Operation: 94+88=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 94-88=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 94*88=8272, Resulting Numbers: [8272]
8272,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[94, 45, 4], Operations: ['2+2=4']
Exploring Operation: 94-45=49, Resulting Numbers: [4, 49]
Generated Node #0,1,0: 91:[4, 49] Operation: 94-45=49
Exploring Operation: 45-4=41, Resulting Numbers: [94, 41]
Generated Node #0,1,1: 91:[94, 41] Operation: 45-4=41
Exploring Operation: 94-4=90, Resulting Numbers: [45, 90]
Generated Node #0,1,2: 91:[45, 90] Operation: 94-4=90
Exploring Operation: 94+4=98, Resulting Numbers: [45, 98]
Generated Node #0,1,3: 91:[45, 98] Operation: 94+4=98
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[94, 41], Operations: ['2+2=4', '45-4=41']
Exploring Operation: 94*41=3854, Resulting Numbers: [3854]
3854,91 unequal: No Solution
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Exploring Operation: 94+41=135, Resulting Numbers: [135]
135,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 91:[45, 90], Operations: ['2+2=4', '94-4=90']
Exploring Operation: 45*90=4050, Resulting Numbers: [4050]
4050,91 unequal: No Solution
Exploring Operation: 90/45=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 45+90=135, Resulting Numbers: [135]
135,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[4, 49], Operations: ['2+2=4', '94-45=49']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,91 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 91:[45, 98], Operations: ['2+2=4', '94+4=98']
Exploring Operation: 45*98=4410, Resulting Numbers: [4410]
4410,91 unequal: No Solution
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Exploring Operation: 45+98=143, Resulting Numbers: [143]
143,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[94, 45, 4], Operations: ['2*2=4']
Exploring Operation: 94+4=98, Resulting Numbers: [45, 98]
Generated Node #0,2,0: 91:[45, 98] Operation: 94+4=98
Exploring Operation: 94-4=90, Resulting Numbers: [45, 90]
Generated Node #0,2,1: 91:[45, 90] Operation: 94-4=90
Exploring Operation: 45-4=41, Resulting Numbers: [94, 41]
Generated Node #0,2,2: 91:[94, 41] Operation: 45-4=41
Exploring Operation: 94-45=49, Resulting Numbers: [4, 49]
Generated Node #0,2,3: 91:[4, 49] Operation: 94-45=49
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[94, 41], Operations: ['2*2=4', '45-4=41']
Exploring Operation: 94*41=3854, Resulting Numbers: [3854]
3854,91 unequal: No Solution
Exploring Operation: 94+41=135, Resulting Numbers: [135]
135,91 unequal: No Solution
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[45, 90], Operations: ['2*2=4', '94-4=90']
Exploring Operation: 45*90=4050, Resulting Numbers: [4050]
4050,91 unequal: No Solution
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 90/45=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 45+90=135, Resulting Numbers: [135]
135,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[45, 98], Operations: ['2*2=4', '94+4=98']
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Exploring Operation: 45*98=4410, Resulting Numbers: [4410]
4410,91 unequal: No Solution
Exploring Operation: 45+98=143, Resulting Numbers: [143]
143,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 91:[4, 49], Operations: ['2*2=4', '94-45=49']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,91 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
61,
93,
62,
3
] | 30 | [
"62-61=1",
"93/3=31",
"31-1=30"
] | Current State: 30:[61, 93, 62, 3], Operations: []
Exploring Operation: 62-61=1, Resulting Numbers: [93, 3, 1]
Generated Node #2: [93, 3, 1] from Operation: 62-61=1
Current State: 30:[93, 3, 1], Operations: ['62-61=1']
Exploring Operation: 93/3=31, Resulting Numbers: [1, 31]
Generated Node #3: [1, 31] from Operation: 93/3=31
Current State: 30:[1, 31], Operations: ['62-61=1', '93/3=31']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[61, 93, 62, 3], Operations: []
Exploring Operation: 62-61=1, Resulting Numbers: [93, 3, 1]
Generated Node #0,0: 30:[93, 3, 1] Operation: 62-61=1
Exploring Operation: 93-62=31, Resulting Numbers: [61, 3, 31]
Generated Node #0,1: 30:[61, 3, 31] Operation: 93-62=31
Exploring Operation: 93-61=32, Resulting Numbers: [62, 3, 32]
Generated Node #0,2: 30:[62, 3, 32] Operation: 93-61=32
Moving to Node #0,1
Current State: 30:[61, 3, 31], Operations: ['93-62=31']
Exploring Operation: 61-3=58, Resulting Numbers: [31, 58]
Generated Node #0,1,0: 30:[31, 58] Operation: 61-3=58
Exploring Operation: 61-31=30, Resulting Numbers: [3, 30]
Generated Node #0,1,1: 30:[3, 30] Operation: 61-31=30
Exploring Operation: 31-3=28, Resulting Numbers: [61, 28]
Generated Node #0,1,2: 30:[61, 28] Operation: 31-3=28
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[3, 30], Operations: ['93-62=31', '61-31=30']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[31, 58], Operations: ['93-62=31', '61-3=58']
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 31+58=89, Resulting Numbers: [89]
89,30 unequal: No Solution
Exploring Operation: 31*58=1798, Resulting Numbers: [1798]
1798,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[61, 28], Operations: ['93-62=31', '31-3=28']
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Exploring Operation: 61*28=1708, Resulting Numbers: [1708]
1708,30 unequal: No Solution
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 30:[62, 3, 32], Operations: ['93-61=32']
Exploring Operation: 32-3=29, Resulting Numbers: [62, 29]
Generated Node #0,2,0: 30:[62, 29] Operation: 32-3=29
Exploring Operation: 62-32=30, Resulting Numbers: [3, 30]
Generated Node #0,2,1: 30:[3, 30] Operation: 62-32=30
Exploring Operation: 62-3=59, Resulting Numbers: [32, 59]
Generated Node #0,2,2: 30:[32, 59] Operation: 62-3=59
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[3, 30], Operations: ['93-61=32', '62-32=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[32, 59], Operations: ['93-61=32', '62-3=59']
Exploring Operation: 32*59=1888, Resulting Numbers: [1888]
1888,30 unequal: No Solution
Exploring Operation: 59-32=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 32+59=91, Resulting Numbers: [91]
91,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[62, 29], Operations: ['93-61=32', '32-3=29']
Exploring Operation: 62*29=1798, Resulting Numbers: [1798]
1798,30 unequal: No Solution
Exploring Operation: 62+29=91, Resulting Numbers: [91]
91,30 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 30:[93, 3, 1], Operations: ['62-61=1']
Exploring Operation: 93/3=31, Resulting Numbers: [1, 31]
Generated Node #0,0,0: 30:[1, 31] Operation: 93/3=31
Exploring Operation: 93-3=90, Resulting Numbers: [1, 90]
Generated Node #0,0,1: 30:[1, 90] Operation: 93-3=90
Exploring Operation: 93-1=92, Resulting Numbers: [3, 92]
Generated Node #0,0,2: 30:[3, 92] Operation: 93-1=92
Moving to Node #0,0,0
Current State: 30:[1, 31], Operations: ['62-61=1', '93/3=31']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[61, 93, 62, 3], Operations: []
Exploring Operation: 62-61=1, Resulting Numbers: [93, 3, 1]
Generated Node #0,0: 30:[93, 3, 1] Operation: 62-61=1
Moving to Node #0,0
Current State: 30:[93, 3, 1], Operations: ['62-61=1']
Exploring Operation: 93/3=31, Resulting Numbers: [1, 31]
Generated Node #0,0,0: 30:[1, 31] Operation: 93/3=31
Moving to Node #0,0,0
Current State: 30:[1, 31], Operations: ['62-61=1', '93/3=31']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.96875 | hs_3 | mult_heuristic |
[
24,
6,
9,
43
] | 51 | [
"9-6=3",
"24/3=8",
"43+8=51"
] | Current State: 51:[24, 6, 9, 43], Operations: []
Exploring Operation: 9-6=3, Resulting Numbers: [24, 43, 3]
Generated Node #2: [24, 43, 3] from Operation: 9-6=3
Current State: 51:[24, 43, 3], Operations: ['9-6=3']
Exploring Operation: 24/3=8, Resulting Numbers: [43, 8]
Generated Node #3: [43, 8] from Operation: 24/3=8
Current State: 51:[43, 8], Operations: ['9-6=3', '24/3=8']
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[24, 6, 9, 43], Operations: []
Exploring Operation: 24-9=15, Resulting Numbers: [6, 43, 15]
Generated Node #0,0: 51:[6, 43, 15] Operation: 24-9=15
Exploring Operation: 43-24=19, Resulting Numbers: [6, 9, 19]
Generated Node #0,1: 51:[6, 9, 19] Operation: 43-24=19
Exploring Operation: 9+43=52, Resulting Numbers: [24, 6, 52]
Generated Node #0,2: 51:[24, 6, 52] Operation: 9+43=52
Exploring Operation: 24-6=18, Resulting Numbers: [9, 43, 18]
Generated Node #0,3: 51:[9, 43, 18] Operation: 24-6=18
Exploring Operation: 24/6=4, Resulting Numbers: [9, 43, 4]
Generated Node #0,4: 51:[9, 43, 4] Operation: 24/6=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[6, 9, 19], Operations: ['43-24=19']
Exploring Operation: 6+9=15, Resulting Numbers: [19, 15]
Generated Node #0,1,0: 51:[19, 15] Operation: 6+9=15
Exploring Operation: 19-9=10, Resulting Numbers: [6, 10]
Generated Node #0,1,1: 51:[6, 10] Operation: 19-9=10
Exploring Operation: 9-6=3, Resulting Numbers: [19, 3]
Generated Node #0,1,2: 51:[19, 3] Operation: 9-6=3
Exploring Operation: 6*9=54, Resulting Numbers: [19, 54]
Generated Node #0,1,3: 51:[19, 54] Operation: 6*9=54
Exploring Operation: 19-6=13, Resulting Numbers: [9, 13]
Generated Node #0,1,4: 51:[9, 13] Operation: 19-6=13
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[19, 3], Operations: ['43-24=19', '9-6=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[19, 15], Operations: ['43-24=19', '6+9=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 51:[19, 54], Operations: ['43-24=19', '6*9=54']
Exploring Operation: 19*54=1026, Resulting Numbers: [1026]
1026,51 unequal: No Solution
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[6, 10], Operations: ['43-24=19', '19-9=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 51:[9, 13], Operations: ['43-24=19', '19-6=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,51 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[24, 6, 52], Operations: ['9+43=52']
Exploring Operation: 24+6=30, Resulting Numbers: [52, 30]
Generated Node #0,2,0: 51:[52, 30] Operation: 24+6=30
Exploring Operation: 52-6=46, Resulting Numbers: [24, 46]
Generated Node #0,2,1: 51:[24, 46] Operation: 52-6=46
Exploring Operation: 24/6=4, Resulting Numbers: [52, 4]
Generated Node #0,2,2: 51:[52, 4] Operation: 24/6=4
Exploring Operation: 52-24=28, Resulting Numbers: [6, 28]
Generated Node #0,2,3: 51:[6, 28] Operation: 52-24=28
Exploring Operation: 24-6=18, Resulting Numbers: [52, 18]
Generated Node #0,2,4: 51:[52, 18] Operation: 24-6=18
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[52, 4], Operations: ['9+43=52', '24/6=4']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 51:[52, 18], Operations: ['9+43=52', '24-6=18']
Exploring Operation: 52+18=70, Resulting Numbers: [70]
70,51 unequal: No Solution
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 52*18=936, Resulting Numbers: [936]
936,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[24, 46], Operations: ['9+43=52', '52-6=46']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,51 unequal: No Solution
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[52, 30], Operations: ['9+43=52', '24+6=30']
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,51 unequal: No Solution
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[6, 28], Operations: ['9+43=52', '52-24=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[6, 43, 15], Operations: ['24-9=15']
Exploring Operation: 43+15=58, Resulting Numbers: [6, 58]
Generated Node #0,0,0: 51:[6, 58] Operation: 43+15=58
Exploring Operation: 6+15=21, Resulting Numbers: [43, 21]
Generated Node #0,0,1: 51:[43, 21] Operation: 6+15=21
Exploring Operation: 15-6=9, Resulting Numbers: [43, 9]
Generated Node #0,0,2: 51:[43, 9] Operation: 15-6=9
Exploring Operation: 6+43=49, Resulting Numbers: [15, 49]
Generated Node #0,0,3: 51:[15, 49] Operation: 6+43=49
Exploring Operation: 43-15=28, Resulting Numbers: [6, 28]
Generated Node #0,0,4: 51:[6, 28] Operation: 43-15=28
Moving to Node #0,0,3
Current State: 51:[15, 49], Operations: ['24-9=15', '6+43=49']
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,51 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[6, 58], Operations: ['24-9=15', '43+15=58']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 6*58=348, Resulting Numbers: [348]
348,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[43, 21], Operations: ['24-9=15', '6+15=21']
Exploring Operation: 43+21=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 43*21=903, Resulting Numbers: [903]
903,51 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[43, 9], Operations: ['24-9=15', '15-6=9']
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,51 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Moving to Node #0,0,4
Current State: 51:[6, 28], Operations: ['24-9=15', '43-15=28']
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,51 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[9, 43, 18], Operations: ['24-6=18']
Exploring Operation: 9+43=52, Resulting Numbers: [18, 52]
Generated Node #0,3,0: 51:[18, 52] Operation: 9+43=52
Exploring Operation: 43-18=25, Resulting Numbers: [9, 25]
Generated Node #0,3,1: 51:[9, 25] Operation: 43-18=25
Exploring Operation: 18/9=2, Resulting Numbers: [43, 2]
Generated Node #0,3,2: 51:[43, 2] Operation: 18/9=2
Exploring Operation: 43+18=61, Resulting Numbers: [9, 61]
Generated Node #0,3,3: 51:[9, 61] Operation: 43+18=61
Exploring Operation: 18-9=9, Resulting Numbers: [43, 9]
Generated Node #0,3,4: 51:[43, 9] Operation: 18-9=9
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 51:[18, 52], Operations: ['24-6=18', '9+43=52']
Exploring Operation: 18*52=936, Resulting Numbers: [936]
936,51 unequal: No Solution
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 18+52=70, Resulting Numbers: [70]
70,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 51:[43, 2], Operations: ['24-6=18', '18/9=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,51 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[9, 25], Operations: ['24-6=18', '43-18=25']
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,51 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 51:[43, 9], Operations: ['24-6=18', '18-9=9']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 51:[9, 61], Operations: ['24-6=18', '43+18=61']
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 9*61=549, Resulting Numbers: [549]
549,51 unequal: No Solution
Exploring Operation: 9+61=70, Resulting Numbers: [70]
70,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 51:[9, 43, 4], Operations: ['24/6=4']
Exploring Operation: 9-4=5, Resulting Numbers: [43, 5]
Generated Node #0,4,0: 51:[43, 5] Operation: 9-4=5
Exploring Operation: 43+4=47, Resulting Numbers: [9, 47]
Generated Node #0,4,1: 51:[9, 47] Operation: 43+4=47
Exploring Operation: 9+4=13, Resulting Numbers: [43, 13]
Generated Node #0,4,2: 51:[43, 13] Operation: 9+4=13
Exploring Operation: 9+43=52, Resulting Numbers: [4, 52]
Generated Node #0,4,3: 51:[4, 52] Operation: 9+43=52
Exploring Operation: 43-9=34, Resulting Numbers: [4, 34]
Generated Node #0,4,4: 51:[4, 34] Operation: 43-9=34
Moving to Node #0,4,3
Current State: 51:[4, 52], Operations: ['24/6=4', '9+43=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,51 unequal: No Solution
Moving to Node #0,4,1
Current State: 51:[9, 47], Operations: ['24/6=4', '43+4=47']
Exploring Operation: 9*47=423, Resulting Numbers: [423]
423,51 unequal: No Solution
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Moving to Node #0,4,0
Current State: 51:[43, 5], Operations: ['24/6=4', '9-4=5']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,51 unequal: No Solution
Moving to Node #0,4,2
Current State: 51:[43, 13], Operations: ['24/6=4', '9+4=13']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,51 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Moving to Node #0,4,4
Current State: 51:[4, 34], Operations: ['24/6=4', '43-9=34']
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,51 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
69,
1,
47,
78
] | 99 | [
"69-1=68",
"78-47=31",
"68+31=99"
] | Current State: 99:[69, 1, 47, 78], Operations: []
Exploring Operation: 69-1=68, Resulting Numbers: [47, 78, 68]
Generated Node #2: [47, 78, 68] from Operation: 69-1=68
Current State: 99:[47, 78, 68], Operations: ['69-1=68']
Exploring Operation: 78-47=31, Resulting Numbers: [68, 31]
Generated Node #3: [68, 31] from Operation: 78-47=31
Current State: 99:[68, 31], Operations: ['69-1=68', '78-47=31']
Exploring Operation: 68+31=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[69, 1, 47, 78], Operations: []
Exploring Operation: 78-69=9, Resulting Numbers: [1, 47, 9]
Generated Node #0,0: 99:[1, 47, 9] Operation: 78-69=9
Exploring Operation: 69+47=116, Resulting Numbers: [1, 78, 116]
Generated Node #0,1: 99:[1, 78, 116] Operation: 69+47=116
Exploring Operation: 47+78=125, Resulting Numbers: [69, 1, 125]
Generated Node #0,2: 99:[69, 1, 125] Operation: 47+78=125
Exploring Operation: 69-47=22, Resulting Numbers: [1, 78, 22]
Generated Node #0,3: 99:[1, 78, 22] Operation: 69-47=22
Exploring Operation: 78-47=31, Resulting Numbers: [69, 1, 31]
Generated Node #0,4: 99:[69, 1, 31] Operation: 78-47=31
Moving to Node #0,0
Current State: 99:[1, 47, 9], Operations: ['78-69=9']
Exploring Operation: 1*9=9, Resulting Numbers: [47, 9]
Generated Node #0,0,0: 99:[47, 9] Operation: 1*9=9
Exploring Operation: 47-1=46, Resulting Numbers: [9, 46]
Generated Node #0,0,1: 99:[9, 46] Operation: 47-1=46
Exploring Operation: 1*47=47, Resulting Numbers: [9, 47]
Generated Node #0,0,2: 99:[9, 47] Operation: 1*47=47
Exploring Operation: 47-9=38, Resulting Numbers: [1, 38]
Generated Node #0,0,3: 99:[1, 38] Operation: 47-9=38
Exploring Operation: 47/1=47, Resulting Numbers: [9, 47]
Generated Node #0,0,4: 99:[9, 47] Operation: 47/1=47
Moving to Node #0,4
Current State: 99:[69, 1, 31], Operations: ['78-47=31']
Exploring Operation: 69*1=69, Resulting Numbers: [31, 69]
Generated Node #0,4,0: 99:[31, 69] Operation: 69*1=69
Exploring Operation: 69+1=70, Resulting Numbers: [31, 70]
Generated Node #0,4,1: 99:[31, 70] Operation: 69+1=70
Exploring Operation: 69-31=38, Resulting Numbers: [1, 38]
Generated Node #0,4,2: 99:[1, 38] Operation: 69-31=38
Exploring Operation: 69+31=100, Resulting Numbers: [1, 100]
Generated Node #0,4,3: 99:[1, 100] Operation: 69+31=100
Exploring Operation: 1+31=32, Resulting Numbers: [69, 32]
Generated Node #0,4,4: 99:[69, 32] Operation: 1+31=32
Moving to Node #0,3
Current State: 99:[1, 78, 22], Operations: ['69-47=22']
Exploring Operation: 22-1=21, Resulting Numbers: [78, 21]
Generated Node #0,3,0: 99:[78, 21] Operation: 22-1=21
Exploring Operation: 1+78=79, Resulting Numbers: [22, 79]
Generated Node #0,3,1: 99:[22, 79] Operation: 1+78=79
Exploring Operation: 78-22=56, Resulting Numbers: [1, 56]
Generated Node #0,3,2: 99:[1, 56] Operation: 78-22=56
Exploring Operation: 1+22=23, Resulting Numbers: [78, 23]
Generated Node #0,3,3: 99:[78, 23] Operation: 1+22=23
Exploring Operation: 78+22=100, Resulting Numbers: [1, 100]
Generated Node #0,3,4: 99:[1, 100] Operation: 78+22=100
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 99:[1, 100], Operations: ['69-47=22', '78+22=100']
Exploring Operation: 1+100=101, Resulting Numbers: [101]
101,99 unequal: No Solution
Exploring Operation: 100/1=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 100-1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[69, 1, 47, 78], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [1, 78, 22]
Generated Node #0,3: 99:[1, 78, 22] Operation: 69-47=22
Moving to Node #0,3
Current State: 99:[1, 78, 22], Operations: ['69-47=22']
Exploring Operation: 78+22=100, Resulting Numbers: [1, 100]
Generated Node #0,3,4: 99:[1, 100] Operation: 78+22=100
Moving to Node #0,3,4
Current State: 99:[1, 100], Operations: ['69-47=22', '78+22=100']
Exploring Operation: 100-1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
71,
98,
39,
54
] | 42 | [
"98-71=27",
"54-39=15",
"27+15=42"
] | Current State: 42:[71, 98, 39, 54], Operations: []
Exploring Operation: 98-71=27, Resulting Numbers: [39, 54, 27]
Generated Node #2: [39, 54, 27] from Operation: 98-71=27
Current State: 42:[39, 54, 27], Operations: ['98-71=27']
Exploring Operation: 54-39=15, Resulting Numbers: [27, 15]
Generated Node #3: [27, 15] from Operation: 54-39=15
Current State: 42:[27, 15], Operations: ['98-71=27', '54-39=15']
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[71, 98, 39, 54], Operations: []
Exploring Operation: 71-54=17, Resulting Numbers: [98, 39, 17]
Generated Node #0,0: 42:[98, 39, 17] Operation: 71-54=17
Exploring Operation: 98-71=27, Resulting Numbers: [39, 54, 27]
Generated Node #0,1: 42:[39, 54, 27] Operation: 98-71=27
Exploring Operation: 98-54=44, Resulting Numbers: [71, 39, 44]
Generated Node #0,2: 42:[71, 39, 44] Operation: 98-54=44
Exploring Operation: 98-39=59, Resulting Numbers: [71, 54, 59]
Generated Node #0,3: 42:[71, 54, 59] Operation: 98-39=59
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[39, 54, 27], Operations: ['98-71=27']
Exploring Operation: 54/27=2, Resulting Numbers: [39, 2]
Generated Node #0,1,0: 42:[39, 2] Operation: 54/27=2
Exploring Operation: 54-39=15, Resulting Numbers: [27, 15]
Generated Node #0,1,1: 42:[27, 15] Operation: 54-39=15
Exploring Operation: 39-27=12, Resulting Numbers: [54, 12]
Generated Node #0,1,2: 42:[54, 12] Operation: 39-27=12
Exploring Operation: 54-27=27, Resulting Numbers: [39, 27]
Generated Node #0,1,3: 42:[39, 27] Operation: 54-27=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[39, 2], Operations: ['98-71=27', '54/27=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[27, 15], Operations: ['98-71=27', '54-39=15']
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[71, 98, 39, 54], Operations: []
Exploring Operation: 98-71=27, Resulting Numbers: [39, 54, 27]
Generated Node #0,1: 42:[39, 54, 27] Operation: 98-71=27
Moving to Node #0,1
Current State: 42:[39, 54, 27], Operations: ['98-71=27']
Exploring Operation: 54-39=15, Resulting Numbers: [27, 15]
Generated Node #0,1,1: 42:[27, 15] Operation: 54-39=15
Moving to Node #0,1,1
Current State: 42:[27, 15], Operations: ['98-71=27', '54-39=15']
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
90,
21,
87,
2
] | 57 | [
"90-87=3",
"21-2=19",
"3*19=57"
] | Current State: 57:[90, 21, 87, 2], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [21, 2, 3]
Generated Node #2: [21, 2, 3] from Operation: 90-87=3
Current State: 57:[21, 2, 3], Operations: ['90-87=3']
Exploring Operation: 21-2=19, Resulting Numbers: [3, 19]
Generated Node #3: [3, 19] from Operation: 21-2=19
Current State: 57:[3, 19], Operations: ['90-87=3', '21-2=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[90, 21, 87, 2], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [21, 2, 3]
Generated Node #0,0: 57:[21, 2, 3] Operation: 90-87=3
Exploring Operation: 90/2=45, Resulting Numbers: [21, 87, 45]
Generated Node #0,1: 57:[21, 87, 45] Operation: 90/2=45
Exploring Operation: 90-21=69, Resulting Numbers: [87, 2, 69]
Generated Node #0,2: 57:[87, 2, 69] Operation: 90-21=69
Exploring Operation: 87-21=66, Resulting Numbers: [90, 2, 66]
Generated Node #0,3: 57:[90, 2, 66] Operation: 87-21=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[21, 2, 3], Operations: ['90-87=3']
Exploring Operation: 21+2=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 57:[3, 23] Operation: 21+2=23
Exploring Operation: 21-3=18, Resulting Numbers: [2, 18]
Generated Node #0,0,1: 57:[2, 18] Operation: 21-3=18
Exploring Operation: 21-2=19, Resulting Numbers: [3, 19]
Generated Node #0,0,2: 57:[3, 19] Operation: 21-2=19
Exploring Operation: 2+3=5, Resulting Numbers: [21, 5]
Generated Node #0,0,3: 57:[21, 5] Operation: 2+3=5
Moving to Node #0,0,2
Current State: 57:[3, 19], Operations: ['90-87=3', '21-2=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[90, 21, 87, 2], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [21, 2, 3]
Generated Node #0,0: 57:[21, 2, 3] Operation: 90-87=3
Moving to Node #0,0
Current State: 57:[21, 2, 3], Operations: ['90-87=3']
Exploring Operation: 21-2=19, Resulting Numbers: [3, 19]
Generated Node #0,0,2: 57:[3, 19] Operation: 21-2=19
Moving to Node #0,0,2
Current State: 57:[3, 19], Operations: ['90-87=3', '21-2=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
43,
20,
58,
19
] | 80 | [
"58-43=15",
"19-15=4",
"20*4=80"
] | Current State: 80:[43, 20, 58, 19], Operations: []
Exploring Operation: 58-43=15, Resulting Numbers: [20, 19, 15]
Generated Node #2: [20, 19, 15] from Operation: 58-43=15
Current State: 80:[20, 19, 15], Operations: ['58-43=15']
Exploring Operation: 19-15=4, Resulting Numbers: [20, 4]
Generated Node #3: [20, 4] from Operation: 19-15=4
Current State: 80:[20, 4], Operations: ['58-43=15', '19-15=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[43, 20, 58, 19], Operations: []
Exploring Operation: 58-19=39, Resulting Numbers: [43, 20, 39]
Generated Node #0,0: 80:[43, 20, 39] Operation: 58-19=39
Exploring Operation: 58-43=15, Resulting Numbers: [20, 19, 15]
Generated Node #0,1: 80:[20, 19, 15] Operation: 58-43=15
Exploring Operation: 20+58=78, Resulting Numbers: [43, 19, 78]
Generated Node #0,2: 80:[43, 19, 78] Operation: 20+58=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[20, 19, 15], Operations: ['58-43=15']
Exploring Operation: 20-15=5, Resulting Numbers: [19, 5]
Generated Node #0,1,0: 80:[19, 5] Operation: 20-15=5
Exploring Operation: 19-15=4, Resulting Numbers: [20, 4]
Generated Node #0,1,1: 80:[20, 4] Operation: 19-15=4
Exploring Operation: 20+19=39, Resulting Numbers: [15, 39]
Generated Node #0,1,2: 80:[15, 39] Operation: 20+19=39
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[20, 4], Operations: ['58-43=15', '19-15=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[43, 20, 58, 19], Operations: []
Exploring Operation: 58-43=15, Resulting Numbers: [20, 19, 15]
Generated Node #0,1: 80:[20, 19, 15] Operation: 58-43=15
Moving to Node #0,1
Current State: 80:[20, 19, 15], Operations: ['58-43=15']
Exploring Operation: 19-15=4, Resulting Numbers: [20, 4]
Generated Node #0,1,1: 80:[20, 4] Operation: 19-15=4
Moving to Node #0,1,1
Current State: 80:[20, 4], Operations: ['58-43=15', '19-15=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
63,
41,
44,
89
] | 91 | [
"63-41=22",
"44/22=2",
"89+2=91"
] | Current State: 91:[63, 41, 44, 89], Operations: []
Exploring Operation: 63-41=22, Resulting Numbers: [44, 89, 22]
Generated Node #2: [44, 89, 22] from Operation: 63-41=22
Current State: 91:[44, 89, 22], Operations: ['63-41=22']
Exploring Operation: 44/22=2, Resulting Numbers: [89, 2]
Generated Node #3: [89, 2] from Operation: 44/22=2
Current State: 91:[89, 2], Operations: ['63-41=22', '44/22=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[63, 41, 44, 89], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [63, 89, 3]
Generated Node #0,0: 91:[63, 89, 3] Operation: 44-41=3
Moving to Node #0,0
Current State: 91:[63, 89, 3], Operations: ['44-41=3']
Exploring Operation: 63/3=21, Resulting Numbers: [89, 21]
Generated Node #0,0,0: 91:[89, 21] Operation: 63/3=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[89, 21], Operations: ['44-41=3', '63/3=21']
Exploring Operation: 89+21=110, Resulting Numbers: [110]
110,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
91,
37,
1,
30
] | 85 | [
"91-37=54",
"1+30=31",
"54+31=85"
] | Current State: 85:[91, 37, 1, 30], Operations: []
Exploring Operation: 91-37=54, Resulting Numbers: [1, 30, 54]
Generated Node #2: [1, 30, 54] from Operation: 91-37=54
Current State: 85:[1, 30, 54], Operations: ['91-37=54']
Exploring Operation: 1+30=31, Resulting Numbers: [54, 31]
Generated Node #3: [54, 31] from Operation: 1+30=31
Current State: 85:[54, 31], Operations: ['91-37=54', '1+30=31']
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[91, 37, 1, 30], Operations: []
Exploring Operation: 37-30=7, Resulting Numbers: [91, 1, 7]
Generated Node #0,0: 85:[91, 1, 7] Operation: 37-30=7
Moving to Node #0,0
Current State: 85:[91, 1, 7], Operations: ['37-30=7']
Exploring Operation: 91-7=84, Resulting Numbers: [1, 84]
Generated Node #0,0,0: 85:[1, 84] Operation: 91-7=84
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[1, 84], Operations: ['37-30=7', '91-7=84']
Exploring Operation: 1+84=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[91, 37, 1, 30], Operations: []
Exploring Operation: 37-30=7, Resulting Numbers: [91, 1, 7]
Generated Node #0,0: 85:[91, 1, 7] Operation: 37-30=7
Moving to Node #0,0
Current State: 85:[91, 1, 7], Operations: ['37-30=7']
Exploring Operation: 91-7=84, Resulting Numbers: [1, 84]
Generated Node #0,0,0: 85:[1, 84] Operation: 91-7=84
Moving to Node #0,0,0
Current State: 85:[1, 84], Operations: ['37-30=7', '91-7=84']
Exploring Operation: 1+84=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
59,
3,
81,
97
] | 79 | [
"59+81=140",
"97+140=237",
"237/3=79"
] | Current State: 79:[59, 3, 81, 97], Operations: []
Exploring Operation: 59+81=140, Resulting Numbers: [3, 97, 140]
Generated Node #2: [3, 97, 140] from Operation: 59+81=140
Current State: 79:[3, 97, 140], Operations: ['59+81=140']
Exploring Operation: 97+140=237, Resulting Numbers: [3, 237]
Generated Node #3: [3, 237] from Operation: 97+140=237
Current State: 79:[3, 237], Operations: ['59+81=140', '97+140=237']
Exploring Operation: 237/3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[59, 3, 81, 97], Operations: []
Exploring Operation: 97-3=94, Resulting Numbers: [59, 81, 94]
Generated Node #0,0: 79:[59, 81, 94] Operation: 97-3=94
Exploring Operation: 81-3=78, Resulting Numbers: [59, 97, 78]
Generated Node #0,1: 79:[59, 97, 78] Operation: 81-3=78
Exploring Operation: 59-3=56, Resulting Numbers: [81, 97, 56]
Generated Node #0,2: 79:[81, 97, 56] Operation: 59-3=56
Exploring Operation: 59+3=62, Resulting Numbers: [81, 97, 62]
Generated Node #0,3: 79:[81, 97, 62] Operation: 59+3=62
Exploring Operation: 3+81=84, Resulting Numbers: [59, 97, 84]
Generated Node #0,4: 79:[59, 97, 84] Operation: 3+81=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[59, 81, 94], Operations: ['97-3=94']
Exploring Operation: 59+81=140, Resulting Numbers: [94, 140]
Generated Node #0,0,0: 79:[94, 140] Operation: 59+81=140
Exploring Operation: 94-59=35, Resulting Numbers: [81, 35]
Generated Node #0,0,1: 79:[81, 35] Operation: 94-59=35
Exploring Operation: 94-81=13, Resulting Numbers: [59, 13]
Generated Node #0,0,2: 79:[59, 13] Operation: 94-81=13
Exploring Operation: 59+94=153, Resulting Numbers: [81, 153]
Generated Node #0,0,3: 79:[81, 153] Operation: 59+94=153
Exploring Operation: 81-59=22, Resulting Numbers: [94, 22]
Generated Node #0,0,4: 79:[94, 22] Operation: 81-59=22
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[81, 35], Operations: ['97-3=94', '94-59=35']
Exploring Operation: 81+35=116, Resulting Numbers: [116]
116,79 unequal: No Solution
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 81*35=2835, Resulting Numbers: [2835]
2835,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 79:[94, 22], Operations: ['97-3=94', '81-59=22']
Exploring Operation: 94+22=116, Resulting Numbers: [116]
116,79 unequal: No Solution
Exploring Operation: 94-22=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 94*22=2068, Resulting Numbers: [2068]
2068,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[94, 140], Operations: ['97-3=94', '59+81=140']
Exploring Operation: 140-94=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 94+140=234, Resulting Numbers: [234]
234,79 unequal: No Solution
Exploring Operation: 94*140=13160, Resulting Numbers: [13160]
13160,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[81, 153], Operations: ['97-3=94', '59+94=153']
Exploring Operation: 81+153=234, Resulting Numbers: [234]
234,79 unequal: No Solution
Exploring Operation: 153-81=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 81*153=12393, Resulting Numbers: [12393]
12393,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[59, 13], Operations: ['97-3=94', '94-81=13']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[81, 97, 62], Operations: ['59+3=62']
Exploring Operation: 81-62=19, Resulting Numbers: [97, 19]
Generated Node #0,3,0: 79:[97, 19] Operation: 81-62=19
Exploring Operation: 97-81=16, Resulting Numbers: [62, 16]
Generated Node #0,3,1: 79:[62, 16] Operation: 97-81=16
Exploring Operation: 97-62=35, Resulting Numbers: [81, 35]
Generated Node #0,3,2: 79:[81, 35] Operation: 97-62=35
Exploring Operation: 81+62=143, Resulting Numbers: [97, 143]
Generated Node #0,3,3: 79:[97, 143] Operation: 81+62=143
Exploring Operation: 97+62=159, Resulting Numbers: [81, 159]
Generated Node #0,3,4: 79:[81, 159] Operation: 97+62=159
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 79:[81, 35], Operations: ['59+3=62', '97-62=35']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 81*35=2835, Resulting Numbers: [2835]
2835,79 unequal: No Solution
Exploring Operation: 81+35=116, Resulting Numbers: [116]
116,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[97, 19], Operations: ['59+3=62', '81-62=19']
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,79 unequal: No Solution
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 79:[62, 16], Operations: ['59+3=62', '97-81=16']
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 62*16=992, Resulting Numbers: [992]
992,79 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 79:[97, 143], Operations: ['59+3=62', '81+62=143']
Exploring Operation: 143-97=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 97+143=240, Resulting Numbers: [240]
240,79 unequal: No Solution
Exploring Operation: 97*143=13871, Resulting Numbers: [13871]
13871,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 79:[81, 159], Operations: ['59+3=62', '97+62=159']
Exploring Operation: 81+159=240, Resulting Numbers: [240]
240,79 unequal: No Solution
Exploring Operation: 81*159=12879, Resulting Numbers: [12879]
12879,79 unequal: No Solution
Exploring Operation: 159-81=78, Resulting Numbers: [78]
78,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[59, 97, 78], Operations: ['81-3=78']
Exploring Operation: 59+97=156, Resulting Numbers: [78, 156]
Generated Node #0,1,0: 79:[78, 156] Operation: 59+97=156
Exploring Operation: 59+78=137, Resulting Numbers: [97, 137]
Generated Node #0,1,1: 79:[97, 137] Operation: 59+78=137
Exploring Operation: 97-78=19, Resulting Numbers: [59, 19]
Generated Node #0,1,2: 79:[59, 19] Operation: 97-78=19
Exploring Operation: 97-59=38, Resulting Numbers: [78, 38]
Generated Node #0,1,3: 79:[78, 38] Operation: 97-59=38
Exploring Operation: 78-59=19, Resulting Numbers: [97, 19]
Generated Node #0,1,4: 79:[97, 19] Operation: 78-59=19
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 79:[78, 38], Operations: ['81-3=78', '97-59=38']
Exploring Operation: 78*38=2964, Resulting Numbers: [2964]
2964,79 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 78+38=116, Resulting Numbers: [116]
116,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[97, 137], Operations: ['81-3=78', '59+78=137']
Exploring Operation: 137-97=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 97+137=234, Resulting Numbers: [234]
234,79 unequal: No Solution
Exploring Operation: 97*137=13289, Resulting Numbers: [13289]
13289,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[78, 156], Operations: ['81-3=78', '59+97=156']
Exploring Operation: 78*156=12168, Resulting Numbers: [12168]
12168,79 unequal: No Solution
Exploring Operation: 156-78=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 156/78=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 78+156=234, Resulting Numbers: [234]
234,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 79:[97, 19], Operations: ['81-3=78', '78-59=19']
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,79 unequal: No Solution
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[59, 19], Operations: ['81-3=78', '97-78=19']
Exploring Operation: 59*19=1121, Resulting Numbers: [1121]
1121,79 unequal: No Solution
Exploring Operation: 59+19=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[81, 97, 56], Operations: ['59-3=56']
Exploring Operation: 97-56=41, Resulting Numbers: [81, 41]
Generated Node #0,2,0: 79:[81, 41] Operation: 97-56=41
Exploring Operation: 81-56=25, Resulting Numbers: [97, 25]
Generated Node #0,2,1: 79:[97, 25] Operation: 81-56=25
Exploring Operation: 81+56=137, Resulting Numbers: [97, 137]
Generated Node #0,2,2: 79:[97, 137] Operation: 81+56=137
Exploring Operation: 97-81=16, Resulting Numbers: [56, 16]
Generated Node #0,2,3: 79:[56, 16] Operation: 97-81=16
Exploring Operation: 97+56=153, Resulting Numbers: [81, 153]
Generated Node #0,2,4: 79:[81, 153] Operation: 97+56=153
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[81, 41], Operations: ['59-3=56', '97-56=41']
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 81*41=3321, Resulting Numbers: [3321]
3321,79 unequal: No Solution
Exploring Operation: 81+41=122, Resulting Numbers: [122]
122,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[97, 25], Operations: ['59-3=56', '81-56=25']
Exploring Operation: 97*25=2425, Resulting Numbers: [2425]
2425,79 unequal: No Solution
Exploring Operation: 97+25=122, Resulting Numbers: [122]
122,79 unequal: No Solution
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[97, 137], Operations: ['59-3=56', '81+56=137']
Exploring Operation: 137-97=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 97*137=13289, Resulting Numbers: [13289]
13289,79 unequal: No Solution
Exploring Operation: 97+137=234, Resulting Numbers: [234]
234,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 79:[81, 153], Operations: ['59-3=56', '97+56=153']
Exploring Operation: 153-81=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 81+153=234, Resulting Numbers: [234]
234,79 unequal: No Solution
Exploring Operation: 81*153=12393, Resulting Numbers: [12393]
12393,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 79:[56, 16], Operations: ['59-3=56', '97-81=16']
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,79 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 79:[59, 97, 84], Operations: ['3+81=84']
Exploring Operation: 97-84=13, Resulting Numbers: [59, 13]
Generated Node #0,4,0: 79:[59, 13] Operation: 97-84=13
Exploring Operation: 84-59=25, Resulting Numbers: [97, 25]
Generated Node #0,4,1: 79:[97, 25] Operation: 84-59=25
Exploring Operation: 59+84=143, Resulting Numbers: [97, 143]
Generated Node #0,4,2: 79:[97, 143] Operation: 59+84=143
Exploring Operation: 59+97=156, Resulting Numbers: [84, 156]
Generated Node #0,4,3: 79:[84, 156] Operation: 59+97=156
Exploring Operation: 97-59=38, Resulting Numbers: [84, 38]
Generated Node #0,4,4: 79:[84, 38] Operation: 97-59=38
Moving to Node #0,4,4
Current State: 79:[84, 38], Operations: ['3+81=84', '97-59=38']
Exploring Operation: 84*38=3192, Resulting Numbers: [3192]
3192,79 unequal: No Solution
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 84+38=122, Resulting Numbers: [122]
122,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[97, 25], Operations: ['3+81=84', '84-59=25']
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 97*25=2425, Resulting Numbers: [2425]
2425,79 unequal: No Solution
Exploring Operation: 97+25=122, Resulting Numbers: [122]
122,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[97, 143], Operations: ['3+81=84', '59+84=143']
Exploring Operation: 97+143=240, Resulting Numbers: [240]
240,79 unequal: No Solution
Exploring Operation: 97*143=13871, Resulting Numbers: [13871]
13871,79 unequal: No Solution
Exploring Operation: 143-97=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[84, 156], Operations: ['3+81=84', '59+97=156']
Exploring Operation: 156-84=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 84+156=240, Resulting Numbers: [240]
240,79 unequal: No Solution
Exploring Operation: 84*156=13104, Resulting Numbers: [13104]
13104,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[59, 13], Operations: ['3+81=84', '97-84=13']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
16,
32,
2,
7
] | 73 | [
"16-7=9",
"32*2=64",
"9+64=73"
] | Current State: 73:[16, 32, 2, 7], Operations: []
Exploring Operation: 16-7=9, Resulting Numbers: [32, 2, 9]
Generated Node #2: [32, 2, 9] from Operation: 16-7=9
Current State: 73:[32, 2, 9], Operations: ['16-7=9']
Exploring Operation: 32*2=64, Resulting Numbers: [9, 64]
Generated Node #3: [9, 64] from Operation: 32*2=64
Current State: 73:[9, 64], Operations: ['16-7=9', '32*2=64']
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[16, 32, 2, 7], Operations: []
Exploring Operation: 32*2=64, Resulting Numbers: [16, 7, 64]
Generated Node #0,0: 73:[16, 7, 64] Operation: 32*2=64
Exploring Operation: 16*7=112, Resulting Numbers: [32, 2, 112]
Generated Node #0,1: 73:[32, 2, 112] Operation: 16*7=112
Exploring Operation: 2*7=14, Resulting Numbers: [16, 32, 14]
Generated Node #0,2: 73:[16, 32, 14] Operation: 2*7=14
Exploring Operation: 16*2=32, Resulting Numbers: [32, 7, 32]
Generated Node #0,3: 73:[32, 7, 32] Operation: 16*2=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[16, 7, 64], Operations: ['32*2=64']
Exploring Operation: 16*7=112, Resulting Numbers: [64, 112]
Generated Node #0,0,0: 73:[64, 112] Operation: 16*7=112
Exploring Operation: 16+7=23, Resulting Numbers: [64, 23]
Generated Node #0,0,1: 73:[64, 23] Operation: 16+7=23
Exploring Operation: 7+64=71, Resulting Numbers: [16, 71]
Generated Node #0,0,2: 73:[16, 71] Operation: 7+64=71
Exploring Operation: 16-7=9, Resulting Numbers: [64, 9]
Generated Node #0,0,3: 73:[64, 9] Operation: 16-7=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[64, 112], Operations: ['32*2=64', '16*7=112']
Exploring Operation: 64*112=7168, Resulting Numbers: [7168]
7168,73 unequal: No Solution
Exploring Operation: 112-64=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 64+112=176, Resulting Numbers: [176]
176,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[64, 23], Operations: ['32*2=64', '16+7=23']
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 64*23=1472, Resulting Numbers: [1472]
1472,73 unequal: No Solution
Exploring Operation: 64+23=87, Resulting Numbers: [87]
87,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[16, 71], Operations: ['32*2=64', '7+64=71']
Exploring Operation: 71-16=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 16+71=87, Resulting Numbers: [87]
87,73 unequal: No Solution
Exploring Operation: 16*71=1136, Resulting Numbers: [1136]
1136,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 73:[64, 9], Operations: ['32*2=64', '16-7=9']
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[16, 32, 2, 7], Operations: []
Exploring Operation: 32*2=64, Resulting Numbers: [16, 7, 64]
Generated Node #0,0: 73:[16, 7, 64] Operation: 32*2=64
Moving to Node #0,0
Current State: 73:[16, 7, 64], Operations: ['32*2=64']
Exploring Operation: 16-7=9, Resulting Numbers: [64, 9]
Generated Node #0,0,3: 73:[64, 9] Operation: 16-7=9
Moving to Node #0,0,3
Current State: 73:[64, 9], Operations: ['32*2=64', '16-7=9']
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
79,
91,
20,
88
] | 89 | [
"88-79=9",
"20*9=180",
"180-91=89"
] | Current State: 89:[79, 91, 20, 88], Operations: []
Exploring Operation: 88-79=9, Resulting Numbers: [91, 20, 9]
Generated Node #2: [91, 20, 9] from Operation: 88-79=9
Current State: 89:[91, 20, 9], Operations: ['88-79=9']
Exploring Operation: 20*9=180, Resulting Numbers: [91, 180]
Generated Node #3: [91, 180] from Operation: 20*9=180
Current State: 89:[91, 180], Operations: ['88-79=9', '20*9=180']
Exploring Operation: 180-91=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[79, 91, 20, 88], Operations: []
Exploring Operation: 20+88=108, Resulting Numbers: [79, 91, 108]
Generated Node #0,0: 89:[79, 91, 108] Operation: 20+88=108
Exploring Operation: 91+20=111, Resulting Numbers: [79, 88, 111]
Generated Node #0,1: 89:[79, 88, 111] Operation: 91+20=111
Exploring Operation: 79+20=99, Resulting Numbers: [91, 88, 99]
Generated Node #0,2: 89:[91, 88, 99] Operation: 79+20=99
Exploring Operation: 91-20=71, Resulting Numbers: [79, 88, 71]
Generated Node #0,3: 89:[79, 88, 71] Operation: 91-20=71
Exploring Operation: 79-20=59, Resulting Numbers: [91, 88, 59]
Generated Node #0,4: 89:[91, 88, 59] Operation: 79-20=59
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[91, 88, 99], Operations: ['79+20=99']
Exploring Operation: 91-88=3, Resulting Numbers: [99, 3]
Generated Node #0,2,0: 89:[99, 3] Operation: 91-88=3
Exploring Operation: 88+99=187, Resulting Numbers: [91, 187]
Generated Node #0,2,1: 89:[91, 187] Operation: 88+99=187
Exploring Operation: 99-91=8, Resulting Numbers: [88, 8]
Generated Node #0,2,2: 89:[88, 8] Operation: 99-91=8
Exploring Operation: 91+88=179, Resulting Numbers: [99, 179]
Generated Node #0,2,3: 89:[99, 179] Operation: 91+88=179
Exploring Operation: 99-88=11, Resulting Numbers: [91, 11]
Generated Node #0,2,4: 89:[91, 11] Operation: 99-88=11
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 89:[91, 11], Operations: ['79+20=99', '99-88=11']
Exploring Operation: 91-11=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 91+11=102, Resulting Numbers: [102]
102,89 unequal: No Solution
Exploring Operation: 91*11=1001, Resulting Numbers: [1001]
1001,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[88, 8], Operations: ['79+20=99', '99-91=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,89 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[99, 3], Operations: ['79+20=99', '91-88=3']
Exploring Operation: 99*3=297, Resulting Numbers: [297]
297,89 unequal: No Solution
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 99+3=102, Resulting Numbers: [102]
102,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[91, 187], Operations: ['79+20=99', '88+99=187']
Exploring Operation: 91*187=17017, Resulting Numbers: [17017]
17017,89 unequal: No Solution
Exploring Operation: 91+187=278, Resulting Numbers: [278]
278,89 unequal: No Solution
Exploring Operation: 187-91=96, Resulting Numbers: [96]
96,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 89:[99, 179], Operations: ['79+20=99', '91+88=179']
Exploring Operation: 99*179=17721, Resulting Numbers: [17721]
17721,89 unequal: No Solution
Exploring Operation: 99+179=278, Resulting Numbers: [278]
278,89 unequal: No Solution
Exploring Operation: 179-99=80, Resulting Numbers: [80]
80,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[79, 88, 71], Operations: ['91-20=71']
Exploring Operation: 79+88=167, Resulting Numbers: [71, 167]
Generated Node #0,3,0: 89:[71, 167] Operation: 79+88=167
Exploring Operation: 79-71=8, Resulting Numbers: [88, 8]
Generated Node #0,3,1: 89:[88, 8] Operation: 79-71=8
Exploring Operation: 79+71=150, Resulting Numbers: [88, 150]
Generated Node #0,3,2: 89:[88, 150] Operation: 79+71=150
Exploring Operation: 88-71=17, Resulting Numbers: [79, 17]
Generated Node #0,3,3: 89:[79, 17] Operation: 88-71=17
Exploring Operation: 88+71=159, Resulting Numbers: [79, 159]
Generated Node #0,3,4: 89:[79, 159] Operation: 88+71=159
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 89:[88, 150], Operations: ['91-20=71', '79+71=150']
Exploring Operation: 150-88=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 88*150=13200, Resulting Numbers: [13200]
13200,89 unequal: No Solution
Exploring Operation: 88+150=238, Resulting Numbers: [238]
238,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 89:[79, 159], Operations: ['91-20=71', '88+71=159']
Exploring Operation: 159-79=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 79+159=238, Resulting Numbers: [238]
238,89 unequal: No Solution
Exploring Operation: 79*159=12561, Resulting Numbers: [12561]
12561,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 89:[88, 8], Operations: ['91-20=71', '79-71=8']
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,89 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 89:[79, 17], Operations: ['91-20=71', '88-71=17']
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 89:[71, 167], Operations: ['91-20=71', '79+88=167']
Exploring Operation: 167-71=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 71*167=11857, Resulting Numbers: [11857]
11857,89 unequal: No Solution
Exploring Operation: 71+167=238, Resulting Numbers: [238]
238,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[79, 91, 108], Operations: ['20+88=108']
Exploring Operation: 108-79=29, Resulting Numbers: [91, 29]
Generated Node #0,0,0: 89:[91, 29] Operation: 108-79=29
Exploring Operation: 91-79=12, Resulting Numbers: [108, 12]
Generated Node #0,0,1: 89:[108, 12] Operation: 91-79=12
Exploring Operation: 79+91=170, Resulting Numbers: [108, 170]
Generated Node #0,0,2: 89:[108, 170] Operation: 79+91=170
Exploring Operation: 108-91=17, Resulting Numbers: [79, 17]
Generated Node #0,0,3: 89:[79, 17] Operation: 108-91=17
Exploring Operation: 79+108=187, Resulting Numbers: [91, 187]
Generated Node #0,0,4: 89:[91, 187] Operation: 79+108=187
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[91, 29], Operations: ['20+88=108', '108-79=29']
Exploring Operation: 91+29=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 91*29=2639, Resulting Numbers: [2639]
2639,89 unequal: No Solution
Exploring Operation: 91-29=62, Resulting Numbers: [62]
62,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 89:[79, 17], Operations: ['20+88=108', '108-91=17']
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,89 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[108, 12], Operations: ['20+88=108', '91-79=12']
Exploring Operation: 108*12=1296, Resulting Numbers: [1296]
1296,89 unequal: No Solution
Exploring Operation: 108+12=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 108-12=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 108/12=9, Resulting Numbers: [9]
9,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[108, 170], Operations: ['20+88=108', '79+91=170']
Exploring Operation: 108*170=18360, Resulting Numbers: [18360]
18360,89 unequal: No Solution
Exploring Operation: 170-108=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 108+170=278, Resulting Numbers: [278]
278,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 89:[91, 187], Operations: ['20+88=108', '79+108=187']
Exploring Operation: 187-91=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 91+187=278, Resulting Numbers: [278]
278,89 unequal: No Solution
Exploring Operation: 91*187=17017, Resulting Numbers: [17017]
17017,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[79, 88, 111], Operations: ['91+20=111']
Exploring Operation: 111-88=23, Resulting Numbers: [79, 23]
Generated Node #0,1,0: 89:[79, 23] Operation: 111-88=23
Exploring Operation: 79+111=190, Resulting Numbers: [88, 190]
Generated Node #0,1,1: 89:[88, 190] Operation: 79+111=190
Exploring Operation: 79+88=167, Resulting Numbers: [111, 167]
Generated Node #0,1,2: 89:[111, 167] Operation: 79+88=167
Exploring Operation: 111-79=32, Resulting Numbers: [88, 32]
Generated Node #0,1,3: 89:[88, 32] Operation: 111-79=32
Exploring Operation: 88-79=9, Resulting Numbers: [111, 9]
Generated Node #0,1,4: 89:[111, 9] Operation: 88-79=9
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 89:[88, 32], Operations: ['91+20=111', '111-79=32']
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 88*32=2816, Resulting Numbers: [2816]
2816,89 unequal: No Solution
Exploring Operation: 88+32=120, Resulting Numbers: [120]
120,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[79, 23], Operations: ['91+20=111', '111-88=23']
Exploring Operation: 79+23=102, Resulting Numbers: [102]
102,89 unequal: No Solution
Exploring Operation: 79*23=1817, Resulting Numbers: [1817]
1817,89 unequal: No Solution
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[111, 167], Operations: ['91+20=111', '79+88=167']
Exploring Operation: 111+167=278, Resulting Numbers: [278]
278,89 unequal: No Solution
Exploring Operation: 111*167=18537, Resulting Numbers: [18537]
18537,89 unequal: No Solution
Exploring Operation: 167-111=56, Resulting Numbers: [56]
56,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[88, 190], Operations: ['91+20=111', '79+111=190']
Exploring Operation: 88*190=16720, Resulting Numbers: [16720]
16720,89 unequal: No Solution
Exploring Operation: 88+190=278, Resulting Numbers: [278]
278,89 unequal: No Solution
Exploring Operation: 190-88=102, Resulting Numbers: [102]
102,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 89:[111, 9], Operations: ['91+20=111', '88-79=9']
Exploring Operation: 111-9=102, Resulting Numbers: [102]
102,89 unequal: No Solution
Exploring Operation: 111+9=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 111*9=999, Resulting Numbers: [999]
999,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 89:[91, 88, 59], Operations: ['79-20=59']
Exploring Operation: 88+59=147, Resulting Numbers: [91, 147]
Generated Node #0,4,0: 89:[91, 147] Operation: 88+59=147
Exploring Operation: 91+59=150, Resulting Numbers: [88, 150]
Generated Node #0,4,1: 89:[88, 150] Operation: 91+59=150
Exploring Operation: 88-59=29, Resulting Numbers: [91, 29]
Generated Node #0,4,2: 89:[91, 29] Operation: 88-59=29
Exploring Operation: 91-59=32, Resulting Numbers: [88, 32]
Generated Node #0,4,3: 89:[88, 32] Operation: 91-59=32
Exploring Operation: 91-88=3, Resulting Numbers: [59, 3]
Generated Node #0,4,4: 89:[59, 3] Operation: 91-88=3
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 89:[88, 32], Operations: ['79-20=59', '91-59=32']
Exploring Operation: 88+32=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 88*32=2816, Resulting Numbers: [2816]
2816,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 89:[91, 147], Operations: ['79-20=59', '88+59=147']
Exploring Operation: 91+147=238, Resulting Numbers: [238]
238,89 unequal: No Solution
Exploring Operation: 91*147=13377, Resulting Numbers: [13377]
13377,89 unequal: No Solution
Exploring Operation: 147-91=56, Resulting Numbers: [56]
56,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 89:[88, 150], Operations: ['79-20=59', '91+59=150']
Exploring Operation: 150-88=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 88*150=13200, Resulting Numbers: [13200]
13200,89 unequal: No Solution
Exploring Operation: 88+150=238, Resulting Numbers: [238]
238,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 89:[91, 29], Operations: ['79-20=59', '88-59=29']
Exploring Operation: 91*29=2639, Resulting Numbers: [2639]
2639,89 unequal: No Solution
Exploring Operation: 91+29=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 91-29=62, Resulting Numbers: [62]
62,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 89:[59, 3], Operations: ['79-20=59', '91-88=3']
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,89 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
38,
11,
17,
85
] | 75 | [
"38-11=27",
"17+85=102",
"102-27=75"
] | Current State: 75:[38, 11, 17, 85], Operations: []
Exploring Operation: 38-11=27, Resulting Numbers: [17, 85, 27]
Generated Node #2: [17, 85, 27] from Operation: 38-11=27
Current State: 75:[17, 85, 27], Operations: ['38-11=27']
Exploring Operation: 17+85=102, Resulting Numbers: [27, 102]
Generated Node #3: [27, 102] from Operation: 17+85=102
Current State: 75:[27, 102], Operations: ['38-11=27', '17+85=102']
Exploring Operation: 102-27=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[38, 11, 17, 85], Operations: []
Exploring Operation: 38-11=27, Resulting Numbers: [17, 85, 27]
Generated Node #0,0: 75:[17, 85, 27] Operation: 38-11=27
Exploring Operation: 85/17=5, Resulting Numbers: [38, 11, 5]
Generated Node #0,1: 75:[38, 11, 5] Operation: 85/17=5
Exploring Operation: 85-11=74, Resulting Numbers: [38, 17, 74]
Generated Node #0,2: 75:[38, 17, 74] Operation: 85-11=74
Moving to Node #0,0
Current State: 75:[17, 85, 27], Operations: ['38-11=27']
Exploring Operation: 85/17=5, Resulting Numbers: [27, 5]
Generated Node #0,0,0: 75:[27, 5] Operation: 85/17=5
Exploring Operation: 27-17=10, Resulting Numbers: [85, 10]
Generated Node #0,0,1: 75:[85, 10] Operation: 27-17=10
Exploring Operation: 85-17=68, Resulting Numbers: [27, 68]
Generated Node #0,0,2: 75:[27, 68] Operation: 85-17=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[27, 5], Operations: ['38-11=27', '85/17=5']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,75 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[27, 68], Operations: ['38-11=27', '85-17=68']
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,75 unequal: No Solution
Exploring Operation: 27*68=1836, Resulting Numbers: [1836]
1836,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[85, 10], Operations: ['38-11=27', '27-17=10']
Exploring Operation: 85+10=95, Resulting Numbers: [95]
95,75 unequal: No Solution
Exploring Operation: 85*10=850, Resulting Numbers: [850]
850,75 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[38, 11, 17, 85], Operations: []
Exploring Operation: 38-11=27, Resulting Numbers: [17, 85, 27]
Generated Node #0,0: 75:[17, 85, 27] Operation: 38-11=27
Moving to Node #0,0
Current State: 75:[17, 85, 27], Operations: ['38-11=27']
Exploring Operation: 27-17=10, Resulting Numbers: [85, 10]
Generated Node #0,0,1: 75:[85, 10] Operation: 27-17=10
Moving to Node #0,0,1
Current State: 75:[85, 10], Operations: ['38-11=27', '27-17=10']
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
95,
44,
12,
98
] | 59 | [
"95-44=51",
"12+98=110",
"110-51=59"
] | Current State: 59:[95, 44, 12, 98], Operations: []
Exploring Operation: 95-44=51, Resulting Numbers: [12, 98, 51]
Generated Node #2: [12, 98, 51] from Operation: 95-44=51
Current State: 59:[12, 98, 51], Operations: ['95-44=51']
Exploring Operation: 12+98=110, Resulting Numbers: [51, 110]
Generated Node #3: [51, 110] from Operation: 12+98=110
Current State: 59:[51, 110], Operations: ['95-44=51', '12+98=110']
Exploring Operation: 110-51=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[95, 44, 12, 98], Operations: []
Exploring Operation: 98-12=86, Resulting Numbers: [95, 44, 86]
Generated Node #0,0: 59:[95, 44, 86] Operation: 98-12=86
Exploring Operation: 95-12=83, Resulting Numbers: [44, 98, 83]
Generated Node #0,1: 59:[44, 98, 83] Operation: 95-12=83
Exploring Operation: 44+12=56, Resulting Numbers: [95, 98, 56]
Generated Node #0,2: 59:[95, 98, 56] Operation: 44+12=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[95, 44, 86], Operations: ['98-12=86']
Exploring Operation: 86-44=42, Resulting Numbers: [95, 42]
Generated Node #0,0,0: 59:[95, 42] Operation: 86-44=42
Exploring Operation: 95-86=9, Resulting Numbers: [44, 9]
Generated Node #0,0,1: 59:[44, 9] Operation: 95-86=9
Exploring Operation: 95-44=51, Resulting Numbers: [86, 51]
Generated Node #0,0,2: 59:[86, 51] Operation: 95-44=51
Moving to Node #0,0,2
Current State: 59:[86, 51], Operations: ['98-12=86', '95-44=51']
Exploring Operation: 86-51=35, Resulting Numbers: [35]
35,59 unequal: No Solution
Exploring Operation: 86*51=4386, Resulting Numbers: [4386]
4386,59 unequal: No Solution
Exploring Operation: 86+51=137, Resulting Numbers: [137]
137,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[95, 42], Operations: ['98-12=86', '86-44=42']
Exploring Operation: 95*42=3990, Resulting Numbers: [3990]
3990,59 unequal: No Solution
Exploring Operation: 95+42=137, Resulting Numbers: [137]
137,59 unequal: No Solution
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[44, 9], Operations: ['98-12=86', '95-86=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,59 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,59 unequal: No Solution
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[44, 98, 83], Operations: ['95-12=83']
Exploring Operation: 98-83=15, Resulting Numbers: [44, 15]
Generated Node #0,1,0: 59:[44, 15] Operation: 98-83=15
Exploring Operation: 83-44=39, Resulting Numbers: [98, 39]
Generated Node #0,1,1: 59:[98, 39] Operation: 83-44=39
Exploring Operation: 98-44=54, Resulting Numbers: [83, 54]
Generated Node #0,1,2: 59:[83, 54] Operation: 98-44=54
Moving to Node #0,1,2
Current State: 59:[83, 54], Operations: ['95-12=83', '98-44=54']
Exploring Operation: 83*54=4482, Resulting Numbers: [4482]
4482,59 unequal: No Solution
Exploring Operation: 83+54=137, Resulting Numbers: [137]
137,59 unequal: No Solution
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[44, 15], Operations: ['95-12=83', '98-83=15']
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[95, 44, 12, 98], Operations: []
Exploring Operation: 95-12=83, Resulting Numbers: [44, 98, 83]
Generated Node #0,1: 59:[44, 98, 83] Operation: 95-12=83
Moving to Node #0,1
Current State: 59:[44, 98, 83], Operations: ['95-12=83']
Exploring Operation: 98-83=15, Resulting Numbers: [44, 15]
Generated Node #0,1,0: 59:[44, 15] Operation: 98-83=15
Moving to Node #0,1,0
Current State: 59:[44, 15], Operations: ['95-12=83', '98-83=15']
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
7,
87,
70,
2
] | 30 | [
"87-7=80",
"80/2=40",
"70-40=30"
] | Current State: 30:[7, 87, 70, 2], Operations: []
Exploring Operation: 87-7=80, Resulting Numbers: [70, 2, 80]
Generated Node #2: [70, 2, 80] from Operation: 87-7=80
Current State: 30:[70, 2, 80], Operations: ['87-7=80']
Exploring Operation: 80/2=40, Resulting Numbers: [70, 40]
Generated Node #3: [70, 40] from Operation: 80/2=40
Current State: 30:[70, 40], Operations: ['87-7=80', '80/2=40']
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[7, 87, 70, 2], Operations: []
Exploring Operation: 87-70=17, Resulting Numbers: [7, 2, 17]
Generated Node #0,0: 30:[7, 2, 17] Operation: 87-70=17
Exploring Operation: 70/7=10, Resulting Numbers: [87, 2, 10]
Generated Node #0,1: 30:[87, 2, 10] Operation: 70/7=10
Exploring Operation: 70/2=35, Resulting Numbers: [7, 87, 35]
Generated Node #0,2: 30:[7, 87, 35] Operation: 70/2=35
Exploring Operation: 87-7=80, Resulting Numbers: [70, 2, 80]
Generated Node #0,3: 30:[70, 2, 80] Operation: 87-7=80
Moving to Node #0,0
Current State: 30:[7, 2, 17], Operations: ['87-70=17']
Exploring Operation: 17-2=15, Resulting Numbers: [7, 15]
Generated Node #0,0,0: 30:[7, 15] Operation: 17-2=15
Exploring Operation: 7-2=5, Resulting Numbers: [17, 5]
Generated Node #0,0,1: 30:[17, 5] Operation: 7-2=5
Exploring Operation: 17-7=10, Resulting Numbers: [2, 10]
Generated Node #0,0,2: 30:[2, 10] Operation: 17-7=10
Exploring Operation: 7+2=9, Resulting Numbers: [17, 9]
Generated Node #0,0,3: 30:[17, 9] Operation: 7+2=9
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[2, 10], Operations: ['87-70=17', '17-7=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[7, 15], Operations: ['87-70=17', '17-2=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,30 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[17, 5], Operations: ['87-70=17', '7-2=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 30:[17, 9], Operations: ['87-70=17', '7+2=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 30:[87, 2, 10], Operations: ['70/7=10']
Exploring Operation: 87-2=85, Resulting Numbers: [10, 85]
Generated Node #0,1,0: 30:[10, 85] Operation: 87-2=85
Exploring Operation: 87+2=89, Resulting Numbers: [10, 89]
Generated Node #0,1,1: 30:[10, 89] Operation: 87+2=89
Exploring Operation: 10/2=5, Resulting Numbers: [87, 5]
Generated Node #0,1,2: 30:[87, 5] Operation: 10/2=5
Exploring Operation: 87-10=77, Resulting Numbers: [2, 77]
Generated Node #0,1,3: 30:[2, 77] Operation: 87-10=77
Moving to Node #0,2
Current State: 30:[7, 87, 35], Operations: ['70/2=35']
Exploring Operation: 35/7=5, Resulting Numbers: [87, 5]
Generated Node #0,2,0: 30:[87, 5] Operation: 35/7=5
Exploring Operation: 35-7=28, Resulting Numbers: [87, 28]
Generated Node #0,2,1: 30:[87, 28] Operation: 35-7=28
Exploring Operation: 87-7=80, Resulting Numbers: [35, 80]
Generated Node #0,2,2: 30:[35, 80] Operation: 87-7=80
Exploring Operation: 87-35=52, Resulting Numbers: [7, 52]
Generated Node #0,2,3: 30:[7, 52] Operation: 87-35=52
Moving to Node #0,3
Current State: 30:[70, 2, 80], Operations: ['87-7=80']
Exploring Operation: 70/2=35, Resulting Numbers: [80, 35]
Generated Node #0,3,0: 30:[80, 35] Operation: 70/2=35
Exploring Operation: 80-70=10, Resulting Numbers: [2, 10]
Generated Node #0,3,1: 30:[2, 10] Operation: 80-70=10
Exploring Operation: 80/2=40, Resulting Numbers: [70, 40]
Generated Node #0,3,2: 30:[70, 40] Operation: 80/2=40
Exploring Operation: 70-2=68, Resulting Numbers: [80, 68]
Generated Node #0,3,3: 30:[80, 68] Operation: 70-2=68
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 30:[2, 10], Operations: ['87-7=80', '80-70=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 30:[70, 40], Operations: ['87-7=80', '80/2=40']
Exploring Operation: 70+40=110, Resulting Numbers: [110]
110,30 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[7, 87, 70, 2], Operations: []
Exploring Operation: 87-7=80, Resulting Numbers: [70, 2, 80]
Generated Node #0,3: 30:[70, 2, 80] Operation: 87-7=80
Moving to Node #0,3
Current State: 30:[70, 2, 80], Operations: ['87-7=80']
Exploring Operation: 80/2=40, Resulting Numbers: [70, 40]
Generated Node #0,3,2: 30:[70, 40] Operation: 80/2=40
Moving to Node #0,3,2
Current State: 30:[70, 40], Operations: ['87-7=80', '80/2=40']
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_4 | sum_heuristic |
[
60,
51,
21,
37
] | 87 | [
"51*37=1887",
"1887-60=1827",
"1827/21=87"
] | Current State: 87:[60, 51, 21, 37], Operations: []
Exploring Operation: 51*37=1887, Resulting Numbers: [60, 21, 1887]
Generated Node #2: [60, 21, 1887] from Operation: 51*37=1887
Current State: 87:[60, 21, 1887], Operations: ['51*37=1887']
Exploring Operation: 1887-60=1827, Resulting Numbers: [21, 1827]
Generated Node #3: [21, 1827] from Operation: 1887-60=1827
Current State: 87:[21, 1827], Operations: ['51*37=1887', '1887-60=1827']
Exploring Operation: 1827/21=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[60, 51, 21, 37], Operations: []
Exploring Operation: 51-21=30, Resulting Numbers: [60, 37, 30]
Generated Node #0,0: 87:[60, 37, 30] Operation: 51-21=30
Exploring Operation: 60+21=81, Resulting Numbers: [51, 37, 81]
Generated Node #0,1: 87:[51, 37, 81] Operation: 60+21=81
Exploring Operation: 60-37=23, Resulting Numbers: [51, 21, 23]
Generated Node #0,2: 87:[51, 21, 23] Operation: 60-37=23
Exploring Operation: 60-51=9, Resulting Numbers: [21, 37, 9]
Generated Node #0,3: 87:[21, 37, 9] Operation: 60-51=9
Moving to Node #0,3
Current State: 87:[21, 37, 9], Operations: ['60-51=9']
Exploring Operation: 21-9=12, Resulting Numbers: [37, 12]
Generated Node #0,3,0: 87:[37, 12] Operation: 21-9=12
Exploring Operation: 37-21=16, Resulting Numbers: [9, 16]
Generated Node #0,3,1: 87:[9, 16] Operation: 37-21=16
Exploring Operation: 21+9=30, Resulting Numbers: [37, 30]
Generated Node #0,3,2: 87:[37, 30] Operation: 21+9=30
Exploring Operation: 37-9=28, Resulting Numbers: [21, 28]
Generated Node #0,3,3: 87:[21, 28] Operation: 37-9=28
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 87:[37, 30], Operations: ['60-51=9', '21+9=30']
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,87 unequal: No Solution
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,87 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 87:[21, 28], Operations: ['60-51=9', '37-9=28']
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,87 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 87:[37, 12], Operations: ['60-51=9', '21-9=12']
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,87 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 87:[9, 16], Operations: ['60-51=9', '37-21=16']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,87 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 87:[51, 37, 81], Operations: ['60+21=81']
Exploring Operation: 51+37=88, Resulting Numbers: [81, 88]
Generated Node #0,1,0: 87:[81, 88] Operation: 51+37=88
Exploring Operation: 81-37=44, Resulting Numbers: [51, 44]
Generated Node #0,1,1: 87:[51, 44] Operation: 81-37=44
Exploring Operation: 81-51=30, Resulting Numbers: [37, 30]
Generated Node #0,1,2: 87:[37, 30] Operation: 81-51=30
Exploring Operation: 51-37=14, Resulting Numbers: [81, 14]
Generated Node #0,1,3: 87:[81, 14] Operation: 51-37=14
Moving to Node #0,0
Current State: 87:[60, 37, 30], Operations: ['51-21=30']
Exploring Operation: 60+37=97, Resulting Numbers: [30, 97]
Generated Node #0,0,0: 87:[30, 97] Operation: 60+37=97
Exploring Operation: 60/30=2, Resulting Numbers: [37, 2]
Generated Node #0,0,1: 87:[37, 2] Operation: 60/30=2
Exploring Operation: 60-30=30, Resulting Numbers: [37, 30]
Generated Node #0,0,2: 87:[37, 30] Operation: 60-30=30
Exploring Operation: 60-37=23, Resulting Numbers: [30, 23]
Generated Node #0,0,3: 87:[30, 23] Operation: 60-37=23
Moving to Node #0,2
Current State: 87:[51, 21, 23], Operations: ['60-37=23']
Exploring Operation: 51+23=74, Resulting Numbers: [21, 74]
Generated Node #0,2,0: 87:[21, 74] Operation: 51+23=74
Exploring Operation: 51+21=72, Resulting Numbers: [23, 72]
Generated Node #0,2,1: 87:[23, 72] Operation: 51+21=72
Exploring Operation: 51-23=28, Resulting Numbers: [21, 28]
Generated Node #0,2,2: 87:[21, 28] Operation: 51-23=28
Exploring Operation: 51-21=30, Resulting Numbers: [23, 30]
Generated Node #0,2,3: 87:[23, 30] Operation: 51-21=30
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 87:[23, 30], Operations: ['60-37=23', '51-21=30']
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 23*30=690, Resulting Numbers: [690]
690,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[21, 28], Operations: ['60-37=23', '51-23=28']
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,87 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[21, 74], Operations: ['60-37=23', '51+23=74']
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 21+74=95, Resulting Numbers: [95]
95,87 unequal: No Solution
Exploring Operation: 21*74=1554, Resulting Numbers: [1554]
1554,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[23, 72], Operations: ['60-37=23', '51+21=72']
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,87 unequal: No Solution
Exploring Operation: 23*72=1656, Resulting Numbers: [1656]
1656,87 unequal: No Solution
Exploring Operation: 23+72=95, Resulting Numbers: [95]
95,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 87:[81, 88], Operations: ['60+21=81', '51+37=88']
Exploring Operation: 81*88=7128, Resulting Numbers: [7128]
7128,87 unequal: No Solution
Exploring Operation: 81+88=169, Resulting Numbers: [169]
169,87 unequal: No Solution
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[30, 23], Operations: ['51-21=30', '60-37=23']
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[37, 2], Operations: ['51-21=30', '60/30=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,87 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[37, 30], Operations: ['51-21=30', '60-30=30']
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,87 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[37, 30], Operations: ['60+21=81', '81-51=30']
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,87 unequal: No Solution
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,87 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[30, 97], Operations: ['51-21=30', '60+37=97']
Exploring Operation: 30+97=127, Resulting Numbers: [127]
127,87 unequal: No Solution
Exploring Operation: 30*97=2910, Resulting Numbers: [2910]
2910,87 unequal: No Solution
Exploring Operation: 97-30=67, Resulting Numbers: [67]
67,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[81, 14], Operations: ['60+21=81', '51-37=14']
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,87 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,87 unequal: No Solution
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[51, 44], Operations: ['60+21=81', '81-37=44']
Exploring Operation: 51*44=2244, Resulting Numbers: [2244]
2244,87 unequal: No Solution
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 51+44=95, Resulting Numbers: [95]
95,87 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
8,
65,
89,
41
] | 73 | [
"65-8=57",
"89+41=130",
"130-57=73"
] | Current State: 73:[8, 65, 89, 41], Operations: []
Exploring Operation: 65-8=57, Resulting Numbers: [89, 41, 57]
Generated Node #2: [89, 41, 57] from Operation: 65-8=57
Current State: 73:[89, 41, 57], Operations: ['65-8=57']
Exploring Operation: 89+41=130, Resulting Numbers: [57, 130]
Generated Node #3: [57, 130] from Operation: 89+41=130
Current State: 73:[57, 130], Operations: ['65-8=57', '89+41=130']
Exploring Operation: 130-57=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[8, 65, 89, 41], Operations: []
Exploring Operation: 8+65=73, Resulting Numbers: [89, 41, 73]
Generated Node #0,0: 73:[89, 41, 73] Operation: 8+65=73
Exploring Operation: 89-8=81, Resulting Numbers: [65, 41, 81]
Generated Node #0,1: 73:[65, 41, 81] Operation: 89-8=81
Exploring Operation: 8+41=49, Resulting Numbers: [65, 89, 49]
Generated Node #0,2: 73:[65, 89, 49] Operation: 8+41=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[89, 41, 73], Operations: ['8+65=73']
Exploring Operation: 89-41=48, Resulting Numbers: [73, 48]
Generated Node #0,0,0: 73:[73, 48] Operation: 89-41=48
Exploring Operation: 89+41=130, Resulting Numbers: [73, 130]
Generated Node #0,0,1: 73:[73, 130] Operation: 89+41=130
Exploring Operation: 41+73=114, Resulting Numbers: [89, 114]
Generated Node #0,0,2: 73:[89, 114] Operation: 41+73=114
Moving to Node #0,0,0
Current State: 73:[73, 48], Operations: ['8+65=73', '89-41=48']
Exploring Operation: 73+48=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 73*48=3504, Resulting Numbers: [3504]
3504,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[73, 130], Operations: ['8+65=73', '89+41=130']
Exploring Operation: 73+130=203, Resulting Numbers: [203]
203,73 unequal: No Solution
Exploring Operation: 73*130=9490, Resulting Numbers: [9490]
9490,73 unequal: No Solution
Exploring Operation: 130-73=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[89, 114], Operations: ['8+65=73', '41+73=114']
Exploring Operation: 89*114=10146, Resulting Numbers: [10146]
10146,73 unequal: No Solution
Exploring Operation: 114-89=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 89+114=203, Resulting Numbers: [203]
203,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[65, 41, 81], Operations: ['89-8=81']
Exploring Operation: 65-41=24, Resulting Numbers: [81, 24]
Generated Node #0,1,0: 73:[81, 24] Operation: 65-41=24
Exploring Operation: 81-41=40, Resulting Numbers: [65, 40]
Generated Node #0,1,1: 73:[65, 40] Operation: 81-41=40
Exploring Operation: 65+41=106, Resulting Numbers: [81, 106]
Generated Node #0,1,2: 73:[81, 106] Operation: 65+41=106
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[65, 40], Operations: ['89-8=81', '81-41=40']
Exploring Operation: 65+40=105, Resulting Numbers: [105]
105,73 unequal: No Solution
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 65*40=2600, Resulting Numbers: [2600]
2600,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[81, 106], Operations: ['89-8=81', '65+41=106']
Exploring Operation: 106-81=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 81*106=8586, Resulting Numbers: [8586]
8586,73 unequal: No Solution
Exploring Operation: 81+106=187, Resulting Numbers: [187]
187,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[81, 24], Operations: ['89-8=81', '65-41=24']
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 81*24=1944, Resulting Numbers: [1944]
1944,73 unequal: No Solution
Exploring Operation: 81+24=105, Resulting Numbers: [105]
105,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[65, 89, 49], Operations: ['8+41=49']
Exploring Operation: 89-65=24, Resulting Numbers: [49, 24]
Generated Node #0,2,0: 73:[49, 24] Operation: 89-65=24
Exploring Operation: 89-49=40, Resulting Numbers: [65, 40]
Generated Node #0,2,1: 73:[65, 40] Operation: 89-49=40
Exploring Operation: 65+49=114, Resulting Numbers: [89, 114]
Generated Node #0,2,2: 73:[89, 114] Operation: 65+49=114
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[65, 40], Operations: ['8+41=49', '89-49=40']
Exploring Operation: 65+40=105, Resulting Numbers: [105]
105,73 unequal: No Solution
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 65*40=2600, Resulting Numbers: [2600]
2600,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[89, 114], Operations: ['8+41=49', '65+49=114']
Exploring Operation: 114-89=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 89*114=10146, Resulting Numbers: [10146]
10146,73 unequal: No Solution
Exploring Operation: 89+114=203, Resulting Numbers: [203]
203,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[49, 24], Operations: ['8+41=49', '89-65=24']
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,73 unequal: No Solution
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[8, 65, 89, 41], Operations: []
Exploring Operation: 8+41=49, Resulting Numbers: [65, 89, 49]
Generated Node #0,2: 73:[65, 89, 49] Operation: 8+41=49
Moving to Node #0,2
Current State: 73:[65, 89, 49], Operations: ['8+41=49']
Exploring Operation: 89-65=24, Resulting Numbers: [49, 24]
Generated Node #0,2,0: 73:[49, 24] Operation: 89-65=24
Moving to Node #0,2,0
Current State: 73:[49, 24], Operations: ['8+41=49', '89-65=24']
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_3 | mult_heuristic |
[
44,
17,
28,
97
] | 64 | [
"44+17=61",
"28+97=125",
"125-61=64"
] | Current State: 64:[44, 17, 28, 97], Operations: []
Exploring Operation: 44+17=61, Resulting Numbers: [28, 97, 61]
Generated Node #2: [28, 97, 61] from Operation: 44+17=61
Current State: 64:[28, 97, 61], Operations: ['44+17=61']
Exploring Operation: 28+97=125, Resulting Numbers: [61, 125]
Generated Node #3: [61, 125] from Operation: 28+97=125
Current State: 64:[61, 125], Operations: ['44+17=61', '28+97=125']
Exploring Operation: 125-61=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[44, 17, 28, 97], Operations: []
Exploring Operation: 44-28=16, Resulting Numbers: [17, 97, 16]
Generated Node #0,0: 64:[17, 97, 16] Operation: 44-28=16
Exploring Operation: 97-17=80, Resulting Numbers: [44, 28, 80]
Generated Node #0,1: 64:[44, 28, 80] Operation: 97-17=80
Exploring Operation: 97-28=69, Resulting Numbers: [44, 17, 69]
Generated Node #0,2: 64:[44, 17, 69] Operation: 97-28=69
Exploring Operation: 97-44=53, Resulting Numbers: [17, 28, 53]
Generated Node #0,3: 64:[17, 28, 53] Operation: 97-44=53
Exploring Operation: 44+17=61, Resulting Numbers: [28, 97, 61]
Generated Node #0,4: 64:[28, 97, 61] Operation: 44+17=61
Moving to Node #0,3
Current State: 64:[17, 28, 53], Operations: ['97-44=53']
Exploring Operation: 53-28=25, Resulting Numbers: [17, 25]
Generated Node #0,3,0: 64:[17, 25] Operation: 53-28=25
Exploring Operation: 53-17=36, Resulting Numbers: [28, 36]
Generated Node #0,3,1: 64:[28, 36] Operation: 53-17=36
Exploring Operation: 28-17=11, Resulting Numbers: [53, 11]
Generated Node #0,3,2: 64:[53, 11] Operation: 28-17=11
Exploring Operation: 28+53=81, Resulting Numbers: [17, 81]
Generated Node #0,3,3: 64:[17, 81] Operation: 28+53=81
Exploring Operation: 17+53=70, Resulting Numbers: [28, 70]
Generated Node #0,3,4: 64:[28, 70] Operation: 17+53=70
Moving to Node #0,2
Current State: 64:[44, 17, 69], Operations: ['97-28=69']
Exploring Operation: 69-44=25, Resulting Numbers: [17, 25]
Generated Node #0,2,0: 64:[17, 25] Operation: 69-44=25
Exploring Operation: 69-17=52, Resulting Numbers: [44, 52]
Generated Node #0,2,1: 64:[44, 52] Operation: 69-17=52
Exploring Operation: 44+17=61, Resulting Numbers: [69, 61]
Generated Node #0,2,2: 64:[69, 61] Operation: 44+17=61
Exploring Operation: 44-17=27, Resulting Numbers: [69, 27]
Generated Node #0,2,3: 64:[69, 27] Operation: 44-17=27
Exploring Operation: 17+69=86, Resulting Numbers: [44, 86]
Generated Node #0,2,4: 64:[44, 86] Operation: 17+69=86
Moving to Node #0,1
Current State: 64:[44, 28, 80], Operations: ['97-17=80']
Exploring Operation: 44-28=16, Resulting Numbers: [80, 16]
Generated Node #0,1,0: 64:[80, 16] Operation: 44-28=16
Exploring Operation: 28+80=108, Resulting Numbers: [44, 108]
Generated Node #0,1,1: 64:[44, 108] Operation: 28+80=108
Exploring Operation: 44+28=72, Resulting Numbers: [80, 72]
Generated Node #0,1,2: 64:[80, 72] Operation: 44+28=72
Exploring Operation: 80-44=36, Resulting Numbers: [28, 36]
Generated Node #0,1,3: 64:[28, 36] Operation: 80-44=36
Exploring Operation: 80-28=52, Resulting Numbers: [44, 52]
Generated Node #0,1,4: 64:[44, 52] Operation: 80-28=52
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[28, 36], Operations: ['97-17=80', '80-44=36']
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[44, 17, 28, 97], Operations: []
Exploring Operation: 97-17=80, Resulting Numbers: [44, 28, 80]
Generated Node #0,1: 64:[44, 28, 80] Operation: 97-17=80
Moving to Node #0,1
Current State: 64:[44, 28, 80], Operations: ['97-17=80']
Exploring Operation: 80-44=36, Resulting Numbers: [28, 36]
Generated Node #0,1,3: 64:[28, 36] Operation: 80-44=36
Moving to Node #0,1,3
Current State: 64:[28, 36], Operations: ['97-17=80', '80-44=36']
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
44,
40,
13,
24
] | 76 | [
"44-40=4",
"13*4=52",
"24+52=76"
] | Current State: 76:[44, 40, 13, 24], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [13, 24, 4]
Generated Node #2: [13, 24, 4] from Operation: 44-40=4
Current State: 76:[13, 24, 4], Operations: ['44-40=4']
Exploring Operation: 13*4=52, Resulting Numbers: [24, 52]
Generated Node #3: [24, 52] from Operation: 13*4=52
Current State: 76:[24, 52], Operations: ['44-40=4', '13*4=52']
Exploring Operation: 24+52=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[44, 40, 13, 24], Operations: []
Exploring Operation: 44-13=31, Resulting Numbers: [40, 24, 31]
Generated Node #0,0: 76:[40, 24, 31] Operation: 44-13=31
Exploring Operation: 44-24=20, Resulting Numbers: [40, 13, 20]
Generated Node #0,1: 76:[40, 13, 20] Operation: 44-24=20
Exploring Operation: 13+24=37, Resulting Numbers: [44, 40, 37]
Generated Node #0,2: 76:[44, 40, 37] Operation: 13+24=37
Exploring Operation: 44-40=4, Resulting Numbers: [13, 24, 4]
Generated Node #0,3: 76:[13, 24, 4] Operation: 44-40=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[40, 13, 20], Operations: ['44-24=20']
Exploring Operation: 40/20=2, Resulting Numbers: [13, 2]
Generated Node #0,1,0: 76:[13, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [13, 20]
Generated Node #0,1,1: 76:[13, 20] Operation: 40-20=20
Exploring Operation: 20-13=7, Resulting Numbers: [40, 7]
Generated Node #0,1,2: 76:[40, 7] Operation: 20-13=7
Exploring Operation: 13+20=33, Resulting Numbers: [40, 33]
Generated Node #0,1,3: 76:[40, 33] Operation: 13+20=33
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[40, 7], Operations: ['44-24=20', '20-13=7']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[13, 2], Operations: ['44-24=20', '40/20=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[13, 20], Operations: ['44-24=20', '40-20=20']
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,76 unequal: No Solution
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 76:[40, 33], Operations: ['44-24=20', '13+20=33']
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,76 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[44, 40, 37], Operations: ['13+24=37']
Exploring Operation: 44-40=4, Resulting Numbers: [37, 4]
Generated Node #0,2,0: 76:[37, 4] Operation: 44-40=4
Exploring Operation: 40+37=77, Resulting Numbers: [44, 77]
Generated Node #0,2,1: 76:[44, 77] Operation: 40+37=77
Exploring Operation: 44+37=81, Resulting Numbers: [40, 81]
Generated Node #0,2,2: 76:[40, 81] Operation: 44+37=81
Exploring Operation: 44-37=7, Resulting Numbers: [40, 7]
Generated Node #0,2,3: 76:[40, 7] Operation: 44-37=7
Moving to Node #0,2,0
Current State: 76:[37, 4], Operations: ['13+24=37', '44-40=4']
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,76 unequal: No Solution
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[40, 7], Operations: ['13+24=37', '44-37=7']
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,76 unequal: No Solution
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[40, 81], Operations: ['13+24=37', '44+37=81']
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,76 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[44, 77], Operations: ['13+24=37', '40+37=77']
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 44+77=121, Resulting Numbers: [121]
121,76 unequal: No Solution
Exploring Operation: 44*77=3388, Resulting Numbers: [3388]
3388,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[13, 24, 4], Operations: ['44-40=4']
Exploring Operation: 24-13=11, Resulting Numbers: [4, 11]
Generated Node #0,3,0: 76:[4, 11] Operation: 24-13=11
Exploring Operation: 24-4=20, Resulting Numbers: [13, 20]
Generated Node #0,3,1: 76:[13, 20] Operation: 24-4=20
Exploring Operation: 13+24=37, Resulting Numbers: [4, 37]
Generated Node #0,3,2: 76:[4, 37] Operation: 13+24=37
Exploring Operation: 13+4=17, Resulting Numbers: [24, 17]
Generated Node #0,3,3: 76:[24, 17] Operation: 13+4=17
Moving to Node #0,3,2
Current State: 76:[4, 37], Operations: ['44-40=4', '13+24=37']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,76 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[13, 20], Operations: ['44-40=4', '24-4=20']
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,76 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[4, 11], Operations: ['44-40=4', '24-13=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[24, 17], Operations: ['44-40=4', '13+4=17']
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,76 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[40, 24, 31], Operations: ['44-13=31']
Exploring Operation: 40-31=9, Resulting Numbers: [24, 9]
Generated Node #0,0,0: 76:[24, 9] Operation: 40-31=9
Exploring Operation: 31-24=7, Resulting Numbers: [40, 7]
Generated Node #0,0,1: 76:[40, 7] Operation: 31-24=7
Exploring Operation: 40-24=16, Resulting Numbers: [31, 16]
Generated Node #0,0,2: 76:[31, 16] Operation: 40-24=16
Exploring Operation: 40+31=71, Resulting Numbers: [24, 71]
Generated Node #0,0,3: 76:[24, 71] Operation: 40+31=71
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[40, 7], Operations: ['44-13=31', '31-24=7']
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,76 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[24, 9], Operations: ['44-13=31', '40-31=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[31, 16], Operations: ['44-13=31', '40-24=16']
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,76 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 76:[24, 71], Operations: ['44-13=31', '40+31=71']
Exploring Operation: 24*71=1704, Resulting Numbers: [1704]
1704,76 unequal: No Solution
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 24+71=95, Resulting Numbers: [95]
95,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
9,
24,
7,
58
] | 70 | [
"9-7=2",
"24/2=12",
"58+12=70"
] | Current State: 70:[9, 24, 7, 58], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [24, 58, 2]
Generated Node #2: [24, 58, 2] from Operation: 9-7=2
Current State: 70:[24, 58, 2], Operations: ['9-7=2']
Exploring Operation: 24/2=12, Resulting Numbers: [58, 12]
Generated Node #3: [58, 12] from Operation: 24/2=12
Current State: 70:[58, 12], Operations: ['9-7=2', '24/2=12']
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[9, 24, 7, 58], Operations: []
Exploring Operation: 9+58=67, Resulting Numbers: [24, 7, 67]
Generated Node #0,0: 70:[24, 7, 67] Operation: 9+58=67
Exploring Operation: 24+58=82, Resulting Numbers: [9, 7, 82]
Generated Node #0,1: 70:[9, 7, 82] Operation: 24+58=82
Exploring Operation: 24-9=15, Resulting Numbers: [7, 58, 15]
Generated Node #0,2: 70:[7, 58, 15] Operation: 24-9=15
Exploring Operation: 58-24=34, Resulting Numbers: [9, 7, 34]
Generated Node #0,3: 70:[9, 7, 34] Operation: 58-24=34
Exploring Operation: 9+24=33, Resulting Numbers: [7, 58, 33]
Generated Node #0,4: 70:[7, 58, 33] Operation: 9+24=33
Moving to Node #0,3
Current State: 70:[9, 7, 34], Operations: ['58-24=34']
Exploring Operation: 9-7=2, Resulting Numbers: [34, 2]
Generated Node #0,3,0: 70:[34, 2] Operation: 9-7=2
Exploring Operation: 9+7=16, Resulting Numbers: [34, 16]
Generated Node #0,3,1: 70:[34, 16] Operation: 9+7=16
Exploring Operation: 7+34=41, Resulting Numbers: [9, 41]
Generated Node #0,3,2: 70:[9, 41] Operation: 7+34=41
Exploring Operation: 9+34=43, Resulting Numbers: [7, 43]
Generated Node #0,3,3: 70:[7, 43] Operation: 9+34=43
Exploring Operation: 9*7=63, Resulting Numbers: [34, 63]
Generated Node #0,3,4: 70:[34, 63] Operation: 9*7=63
Moving to Node #0,1
Current State: 70:[9, 7, 82], Operations: ['24+58=82']
Exploring Operation: 9+7=16, Resulting Numbers: [82, 16]
Generated Node #0,1,0: 70:[82, 16] Operation: 9+7=16
Exploring Operation: 9-7=2, Resulting Numbers: [82, 2]
Generated Node #0,1,1: 70:[82, 2] Operation: 9-7=2
Exploring Operation: 9*7=63, Resulting Numbers: [82, 63]
Generated Node #0,1,2: 70:[82, 63] Operation: 9*7=63
Exploring Operation: 82-9=73, Resulting Numbers: [7, 73]
Generated Node #0,1,3: 70:[7, 73] Operation: 82-9=73
Exploring Operation: 82-7=75, Resulting Numbers: [9, 75]
Generated Node #0,1,4: 70:[9, 75] Operation: 82-7=75
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 70:[7, 73], Operations: ['24+58=82', '82-9=73']
Exploring Operation: 7+73=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Exploring Operation: 7*73=511, Resulting Numbers: [511]
511,70 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 70:[9, 75], Operations: ['24+58=82', '82-7=75']
Exploring Operation: 9+75=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 9*75=675, Resulting Numbers: [675]
675,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[82, 2], Operations: ['24+58=82', '9-7=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,70 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[82, 16], Operations: ['24+58=82', '9+7=16']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 82+16=98, Resulting Numbers: [98]
98,70 unequal: No Solution
Exploring Operation: 82*16=1312, Resulting Numbers: [1312]
1312,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[82, 63], Operations: ['24+58=82', '9*7=63']
Exploring Operation: 82*63=5166, Resulting Numbers: [5166]
5166,70 unequal: No Solution
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 82+63=145, Resulting Numbers: [145]
145,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 70:[24, 7, 67], Operations: ['9+58=67']
Exploring Operation: 24-7=17, Resulting Numbers: [67, 17]
Generated Node #0,0,0: 70:[67, 17] Operation: 24-7=17
Exploring Operation: 67-7=60, Resulting Numbers: [24, 60]
Generated Node #0,0,1: 70:[24, 60] Operation: 67-7=60
Exploring Operation: 24+7=31, Resulting Numbers: [67, 31]
Generated Node #0,0,2: 70:[67, 31] Operation: 24+7=31
Exploring Operation: 67-24=43, Resulting Numbers: [7, 43]
Generated Node #0,0,3: 70:[7, 43] Operation: 67-24=43
Exploring Operation: 7+67=74, Resulting Numbers: [24, 74]
Generated Node #0,0,4: 70:[24, 74] Operation: 7+67=74
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[67, 17], Operations: ['9+58=67', '24-7=17']
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,70 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[67, 31], Operations: ['9+58=67', '24+7=31']
Exploring Operation: 67*31=2077, Resulting Numbers: [2077]
2077,70 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 70:[7, 43], Operations: ['9+58=67', '67-24=43']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 70:[24, 74], Operations: ['9+58=67', '7+67=74']
Exploring Operation: 24*74=1776, Resulting Numbers: [1776]
1776,70 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 24+74=98, Resulting Numbers: [98]
98,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[24, 60], Operations: ['9+58=67', '67-7=60']
Exploring Operation: 24*60=1440, Resulting Numbers: [1440]
1440,70 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 24+60=84, Resulting Numbers: [84]
84,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 70:[7, 58, 15], Operations: ['24-9=15']
Exploring Operation: 58-7=51, Resulting Numbers: [15, 51]
Generated Node #0,2,0: 70:[15, 51] Operation: 58-7=51
Exploring Operation: 7+58=65, Resulting Numbers: [15, 65]
Generated Node #0,2,1: 70:[15, 65] Operation: 7+58=65
Exploring Operation: 15-7=8, Resulting Numbers: [58, 8]
Generated Node #0,2,2: 70:[58, 8] Operation: 15-7=8
Exploring Operation: 58-15=43, Resulting Numbers: [7, 43]
Generated Node #0,2,3: 70:[7, 43] Operation: 58-15=43
Exploring Operation: 58+15=73, Resulting Numbers: [7, 73]
Generated Node #0,2,4: 70:[7, 73] Operation: 58+15=73
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 70:[7, 73], Operations: ['24-9=15', '58+15=73']
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 7+73=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Exploring Operation: 7*73=511, Resulting Numbers: [511]
511,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[15, 65], Operations: ['24-9=15', '7+58=65']
Exploring Operation: 15+65=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Exploring Operation: 15*65=975, Resulting Numbers: [975]
975,70 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[7, 43], Operations: ['24-9=15', '58-15=43']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,70 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[58, 8], Operations: ['24-9=15', '15-7=8']
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[15, 51], Operations: ['24-9=15', '58-7=51']
Exploring Operation: 15*51=765, Resulting Numbers: [765]
765,70 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 70:[7, 58, 33], Operations: ['9+24=33']
Exploring Operation: 58-7=51, Resulting Numbers: [33, 51]
Generated Node #0,4,0: 70:[33, 51] Operation: 58-7=51
Exploring Operation: 7+58=65, Resulting Numbers: [33, 65]
Generated Node #0,4,1: 70:[33, 65] Operation: 7+58=65
Exploring Operation: 58-33=25, Resulting Numbers: [7, 25]
Generated Node #0,4,2: 70:[7, 25] Operation: 58-33=25
Exploring Operation: 7+33=40, Resulting Numbers: [58, 40]
Generated Node #0,4,3: 70:[58, 40] Operation: 7+33=40
Exploring Operation: 33-7=26, Resulting Numbers: [58, 26]
Generated Node #0,4,4: 70:[58, 26] Operation: 33-7=26
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 70:[33, 65], Operations: ['9+24=33', '7+58=65']
Exploring Operation: 33*65=2145, Resulting Numbers: [2145]
2145,70 unequal: No Solution
Exploring Operation: 33+65=98, Resulting Numbers: [98]
98,70 unequal: No Solution
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 70:[7, 25], Operations: ['9+24=33', '58-33=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,70 unequal: No Solution
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 70:[58, 40], Operations: ['9+24=33', '7+33=40']
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,70 unequal: No Solution
Exploring Operation: 58*40=2320, Resulting Numbers: [2320]
2320,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 70:[33, 51], Operations: ['9+24=33', '58-7=51']
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 33*51=1683, Resulting Numbers: [1683]
1683,70 unequal: No Solution
Exploring Operation: 33+51=84, Resulting Numbers: [84]
84,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 70:[58, 26], Operations: ['9+24=33', '33-7=26']
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 58*26=1508, Resulting Numbers: [1508]
1508,70 unequal: No Solution
Exploring Operation: 58+26=84, Resulting Numbers: [84]
84,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 70:[34, 2], Operations: ['58-24=34', '9-7=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Moving to Node #0,3,1
Current State: 70:[34, 16], Operations: ['58-24=34', '9+7=16']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,70 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Moving to Node #0,3,2
Current State: 70:[9, 41], Operations: ['58-24=34', '7+34=41']
Exploring Operation: 9*41=369, Resulting Numbers: [369]
369,70 unequal: No Solution
Exploring Operation: 9+41=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Moving to Node #0,3,3
Current State: 70:[7, 43], Operations: ['58-24=34', '9+34=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,70 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Moving to Node #0,3,4
Current State: 70:[34, 63], Operations: ['58-24=34', '9*7=63']
Exploring Operation: 34*63=2142, Resulting Numbers: [2142]
2142,70 unequal: No Solution
Exploring Operation: 34+63=97, Resulting Numbers: [97]
97,70 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,70 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
46,
47,
53,
38
] | 91 | [
"47-46=1",
"53+38=91",
"1*91=91"
] | Current State: 91:[46, 47, 53, 38], Operations: []
Exploring Operation: 47-46=1, Resulting Numbers: [53, 38, 1]
Generated Node #2: [53, 38, 1] from Operation: 47-46=1
Current State: 91:[53, 38, 1], Operations: ['47-46=1']
Exploring Operation: 53+38=91, Resulting Numbers: [1, 91]
Generated Node #3: [1, 91] from Operation: 53+38=91
Current State: 91:[1, 91], Operations: ['47-46=1', '53+38=91']
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[46, 47, 53, 38], Operations: []
Exploring Operation: 46+47=93, Resulting Numbers: [53, 38, 93]
Generated Node #0,0: 91:[53, 38, 93] Operation: 46+47=93
Exploring Operation: 53-47=6, Resulting Numbers: [46, 38, 6]
Generated Node #0,1: 91:[46, 38, 6] Operation: 53-47=6
Exploring Operation: 53-46=7, Resulting Numbers: [47, 38, 7]
Generated Node #0,2: 91:[47, 38, 7] Operation: 53-46=7
Moving to Node #0,1
Current State: 91:[46, 38, 6], Operations: ['53-47=6']
Exploring Operation: 46+38=84, Resulting Numbers: [6, 84]
Generated Node #0,1,0: 91:[6, 84] Operation: 46+38=84
Exploring Operation: 46-6=40, Resulting Numbers: [38, 40]
Generated Node #0,1,1: 91:[38, 40] Operation: 46-6=40
Exploring Operation: 46-38=8, Resulting Numbers: [6, 8]
Generated Node #0,1,2: 91:[6, 8] Operation: 46-38=8
Moving to Node #0,2
Current State: 91:[47, 38, 7], Operations: ['53-46=7']
Exploring Operation: 47-7=40, Resulting Numbers: [38, 40]
Generated Node #0,2,0: 91:[38, 40] Operation: 47-7=40
Exploring Operation: 47-38=9, Resulting Numbers: [7, 9]
Generated Node #0,2,1: 91:[7, 9] Operation: 47-38=9
Exploring Operation: 47+38=85, Resulting Numbers: [7, 85]
Generated Node #0,2,2: 91:[7, 85] Operation: 47+38=85
Moving to Node #0,0
Current State: 91:[53, 38, 93], Operations: ['46+47=93']
Exploring Operation: 93-53=40, Resulting Numbers: [38, 40]
Generated Node #0,0,0: 91:[38, 40] Operation: 93-53=40
Exploring Operation: 53-38=15, Resulting Numbers: [93, 15]
Generated Node #0,0,1: 91:[93, 15] Operation: 53-38=15
Exploring Operation: 53+38=91, Resulting Numbers: [93, 91]
Generated Node #0,0,2: 91:[93, 91] Operation: 53+38=91
Moving to Node #0,1,2
Current State: 91:[6, 8], Operations: ['53-47=6', '46-38=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,91 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[93, 91], Operations: ['46+47=93', '53+38=91']
Exploring Operation: 93+91=184, Resulting Numbers: [184]
184,91 unequal: No Solution
Exploring Operation: 93-91=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 93*91=8463, Resulting Numbers: [8463]
8463,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[7, 9], Operations: ['53-46=7', '47-38=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,91 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[93, 15], Operations: ['46+47=93', '53-38=15']
Exploring Operation: 93*15=1395, Resulting Numbers: [1395]
1395,91 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 93+15=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[7, 85], Operations: ['53-46=7', '47+38=85']
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 7+85=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 7*85=595, Resulting Numbers: [595]
595,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[6, 84], Operations: ['53-47=6', '46+38=84']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 6+84=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[38, 40], Operations: ['53-47=6', '46-6=40']
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 38*40=1520, Resulting Numbers: [1520]
1520,91 unequal: No Solution
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[38, 40], Operations: ['53-46=7', '47-7=40']
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 38*40=1520, Resulting Numbers: [1520]
1520,91 unequal: No Solution
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[38, 40], Operations: ['46+47=93', '93-53=40']
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 38*40=1520, Resulting Numbers: [1520]
1520,91 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
41,
6,
49,
79
] | 31 | [
"49-41=8",
"6*8=48",
"79-48=31"
] | Current State: 31:[41, 6, 49, 79], Operations: []
Exploring Operation: 49-41=8, Resulting Numbers: [6, 79, 8]
Generated Node #2: [6, 79, 8] from Operation: 49-41=8
Current State: 31:[6, 79, 8], Operations: ['49-41=8']
Exploring Operation: 6*8=48, Resulting Numbers: [79, 48]
Generated Node #3: [79, 48] from Operation: 6*8=48
Current State: 31:[79, 48], Operations: ['49-41=8', '6*8=48']
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[41, 6, 49, 79], Operations: []
Exploring Operation: 79-41=38, Resulting Numbers: [6, 49, 38]
Generated Node #0,0: 31:[6, 49, 38] Operation: 79-41=38
Exploring Operation: 79-49=30, Resulting Numbers: [41, 6, 30]
Generated Node #0,1: 31:[41, 6, 30] Operation: 79-49=30
Moving to Node #0,1
Current State: 31:[41, 6, 30], Operations: ['79-49=30']
Exploring Operation: 41-6=35, Resulting Numbers: [30, 35]
Generated Node #0,1,0: 31:[30, 35] Operation: 41-6=35
Exploring Operation: 6+30=36, Resulting Numbers: [41, 36]
Generated Node #0,1,1: 31:[41, 36] Operation: 6+30=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[30, 35], Operations: ['79-49=30', '41-6=35']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[41, 36], Operations: ['79-49=30', '6+30=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,31 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 31:[6, 49, 38], Operations: ['79-41=38']
Exploring Operation: 49-6=43, Resulting Numbers: [38, 43]
Generated Node #0,0,0: 31:[38, 43] Operation: 49-6=43
Exploring Operation: 38-6=32, Resulting Numbers: [49, 32]
Generated Node #0,0,1: 31:[49, 32] Operation: 38-6=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[38, 43], Operations: ['79-41=38', '49-6=43']
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 38+43=81, Resulting Numbers: [81]
81,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[49, 32], Operations: ['79-41=38', '38-6=32']
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,31 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
68,
40,
76,
37
] | 48 | [
"68+76=144",
"40-37=3",
"144/3=48"
] | Current State: 48:[68, 40, 76, 37], Operations: []
Exploring Operation: 68+76=144, Resulting Numbers: [40, 37, 144]
Generated Node #2: [40, 37, 144] from Operation: 68+76=144
Current State: 48:[40, 37, 144], Operations: ['68+76=144']
Exploring Operation: 40-37=3, Resulting Numbers: [144, 3]
Generated Node #3: [144, 3] from Operation: 40-37=3
Current State: 48:[144, 3], Operations: ['68+76=144', '40-37=3']
Exploring Operation: 144/3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[68, 40, 76, 37], Operations: []
Exploring Operation: 76-68=8, Resulting Numbers: [40, 37, 8]
Generated Node #0,0: 48:[40, 37, 8] Operation: 76-68=8
Exploring Operation: 76-37=39, Resulting Numbers: [68, 40, 39]
Generated Node #0,1: 48:[68, 40, 39] Operation: 76-37=39
Moving to Node #0,0
Current State: 48:[40, 37, 8], Operations: ['76-68=8']
Exploring Operation: 40+8=48, Resulting Numbers: [37, 48]
Generated Node #0,0,0: 48:[37, 48] Operation: 40+8=48
Exploring Operation: 40-37=3, Resulting Numbers: [8, 3]
Generated Node #0,0,1: 48:[8, 3] Operation: 40-37=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[8, 3], Operations: ['76-68=8', '40-37=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[37, 48], Operations: ['76-68=8', '40+8=48']
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,48 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 48:[68, 40, 39], Operations: ['76-37=39']
Exploring Operation: 68-40=28, Resulting Numbers: [39, 28]
Generated Node #0,1,0: 48:[39, 28] Operation: 68-40=28
Exploring Operation: 68-39=29, Resulting Numbers: [40, 29]
Generated Node #0,1,1: 48:[40, 29] Operation: 68-39=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[39, 28], Operations: ['76-37=39', '68-40=28']
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 39+28=67, Resulting Numbers: [67]
67,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[40, 29], Operations: ['76-37=39', '68-39=29']
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
64,
57,
18,
59
] | 44 | [
"64+57=121",
"18+59=77",
"121-77=44"
] | Current State: 44:[64, 57, 18, 59], Operations: []
Exploring Operation: 64+57=121, Resulting Numbers: [18, 59, 121]
Generated Node #2: [18, 59, 121] from Operation: 64+57=121
Current State: 44:[18, 59, 121], Operations: ['64+57=121']
Exploring Operation: 18+59=77, Resulting Numbers: [121, 77]
Generated Node #3: [121, 77] from Operation: 18+59=77
Current State: 44:[121, 77], Operations: ['64+57=121', '18+59=77']
Exploring Operation: 121-77=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[64, 57, 18, 59], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [57, 18, 5]
Generated Node #0,0: 44:[57, 18, 5] Operation: 64-59=5
Moving to Node #0,0
Current State: 44:[57, 18, 5], Operations: ['64-59=5']
Exploring Operation: 57-18=39, Resulting Numbers: [5, 39]
Generated Node #0,0,0: 44:[5, 39] Operation: 57-18=39
Moving to Node #0,0,0
Current State: 44:[5, 39], Operations: ['64-59=5', '57-18=39']
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[64, 57, 18, 59], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [57, 18, 5]
Generated Node #0,0: 44:[57, 18, 5] Operation: 64-59=5
Moving to Node #0,0
Current State: 44:[57, 18, 5], Operations: ['64-59=5']
Exploring Operation: 57-18=39, Resulting Numbers: [5, 39]
Generated Node #0,0,0: 44:[5, 39] Operation: 57-18=39
Moving to Node #0,0,0
Current State: 44:[5, 39], Operations: ['64-59=5', '57-18=39']
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
96,
78,
14,
14
] | 56 | [
"96-78=18",
"18-14=4",
"14*4=56"
] | Current State: 56:[96, 78, 14, 14], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [14, 14, 18]
Generated Node #2: [14, 14, 18] from Operation: 96-78=18
Current State: 56:[14, 14, 18], Operations: ['96-78=18']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,56 equal: Goal Reached
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[96, 78, 14, 14], Operations: []
Exploring Operation: 78-14=64, Resulting Numbers: [96, 14, 64]
Generated Node #0,0: 56:[96, 14, 64] Operation: 78-14=64
Exploring Operation: 96-14=82, Resulting Numbers: [78, 14, 82]
Generated Node #0,1: 56:[78, 14, 82] Operation: 96-14=82
Exploring Operation: 78-14=64, Resulting Numbers: [96, 14, 64]
Generated Node #0,2: 56:[96, 14, 64] Operation: 78-14=64
Exploring Operation: 96-14=82, Resulting Numbers: [78, 14, 82]
Generated Node #0,3: 56:[78, 14, 82] Operation: 96-14=82
Exploring Operation: 96-78=18, Resulting Numbers: [14, 14, 18]
Generated Node #0,4: 56:[14, 14, 18] Operation: 96-78=18
Moving to Node #0,4
Current State: 56:[14, 14, 18], Operations: ['96-78=18']
Exploring Operation: 18-14=4, Resulting Numbers: [14, 4]
Generated Node #0,4,0: 56:[14, 4] Operation: 18-14=4
Exploring Operation: 14+18=32, Resulting Numbers: [14, 32]
Generated Node #0,4,1: 56:[14, 32] Operation: 14+18=32
Exploring Operation: 14+14=28, Resulting Numbers: [18, 28]
Generated Node #0,4,2: 56:[18, 28] Operation: 14+14=28
Exploring Operation: 14+18=32, Resulting Numbers: [14, 32]
Generated Node #0,4,3: 56:[14, 32] Operation: 14+18=32
Exploring Operation: 18-14=4, Resulting Numbers: [14, 4]
Generated Node #0,4,4: 56:[14, 4] Operation: 18-14=4
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 56:[14, 4], Operations: ['96-78=18', '18-14=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[96, 78, 14, 14], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [14, 14, 18]
Generated Node #0,4: 56:[14, 14, 18] Operation: 96-78=18
Moving to Node #0,4
Current State: 56:[14, 14, 18], Operations: ['96-78=18']
Exploring Operation: 18-14=4, Resulting Numbers: [14, 4]
Generated Node #0,4,0: 56:[14, 4] Operation: 18-14=4
Moving to Node #0,4,0
Current State: 56:[14, 4], Operations: ['96-78=18', '18-14=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
4,
3,
44,
32
] | 32 | [
"4+32=36",
"36/3=12",
"44-12=32"
] | Current State: 32:[4, 3, 44, 32], Operations: []
Exploring Operation: 4+32=36, Resulting Numbers: [3, 44, 36]
Generated Node #2: [3, 44, 36] from Operation: 4+32=36
Current State: 32:[3, 44, 36], Operations: ['4+32=36']
Exploring Operation: 36/3=12, Resulting Numbers: [44, 12]
Generated Node #3: [44, 12] from Operation: 36/3=12
Current State: 32:[44, 12], Operations: ['4+32=36', '36/3=12']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[4, 3, 44, 32], Operations: []
Exploring Operation: 44/4=11, Resulting Numbers: [3, 32, 11]
Generated Node #0,0: 32:[3, 32, 11] Operation: 44/4=11
Exploring Operation: 44-4=40, Resulting Numbers: [3, 32, 40]
Generated Node #0,1: 32:[3, 32, 40] Operation: 44-4=40
Exploring Operation: 44-32=12, Resulting Numbers: [4, 3, 12]
Generated Node #0,2: 32:[4, 3, 12] Operation: 44-32=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[3, 32, 11], Operations: ['44/4=11']
Exploring Operation: 3+11=14, Resulting Numbers: [32, 14]
Generated Node #0,0,0: 32:[32, 14] Operation: 3+11=14
Exploring Operation: 3*11=33, Resulting Numbers: [32, 33]
Generated Node #0,0,1: 32:[32, 33] Operation: 3*11=33
Exploring Operation: 11-3=8, Resulting Numbers: [32, 8]
Generated Node #0,0,2: 32:[32, 8] Operation: 11-3=8
Moving to Node #0,0,2
Current State: 32:[32, 8], Operations: ['44/4=11', '11-3=8']
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[32, 33], Operations: ['44/4=11', '3*11=33']
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,32 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[32, 14], Operations: ['44/4=11', '3+11=14']
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,32 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[4, 3, 12], Operations: ['44-32=12']
Exploring Operation: 12-4=8, Resulting Numbers: [3, 8]
Generated Node #0,2,0: 32:[3, 8] Operation: 12-4=8
Exploring Operation: 4+12=16, Resulting Numbers: [3, 16]
Generated Node #0,2,1: 32:[3, 16] Operation: 4+12=16
Exploring Operation: 12/3=4, Resulting Numbers: [4, 4]
Generated Node #0,2,2: 32:[4, 4] Operation: 12/3=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 32:[4, 4], Operations: ['44-32=12', '12/3=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[3, 8], Operations: ['44-32=12', '12-4=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[3, 16], Operations: ['44-32=12', '4+12=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[3, 32, 40], Operations: ['44-4=40']
Exploring Operation: 40-32=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 32:[3, 8] Operation: 40-32=8
Exploring Operation: 3+32=35, Resulting Numbers: [40, 35]
Generated Node #0,1,1: 32:[40, 35] Operation: 3+32=35
Exploring Operation: 40-3=37, Resulting Numbers: [32, 37]
Generated Node #0,1,2: 32:[32, 37] Operation: 40-3=37
Moving to Node #0,1,0
Current State: 32:[3, 8], Operations: ['44-4=40', '40-32=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[32, 37], Operations: ['44-4=40', '40-3=37']
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,32 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[40, 35], Operations: ['44-4=40', '3+32=35']
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 40+35=75, Resulting Numbers: [75]
75,32 unequal: No Solution
Exploring Operation: 40*35=1400, Resulting Numbers: [1400]
1400,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
30,
89,
32,
3
] | 11 | [
"89-32=57",
"57/3=19",
"30-19=11"
] | Current State: 11:[30, 89, 32, 3], Operations: []
Exploring Operation: 89-32=57, Resulting Numbers: [30, 3, 57]
Generated Node #2: [30, 3, 57] from Operation: 89-32=57
Current State: 11:[30, 3, 57], Operations: ['89-32=57']
Exploring Operation: 57/3=19, Resulting Numbers: [30, 19]
Generated Node #3: [30, 19] from Operation: 57/3=19
Current State: 11:[30, 19], Operations: ['89-32=57', '57/3=19']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[30, 89, 32, 3], Operations: []
Exploring Operation: 89-32=57, Resulting Numbers: [30, 3, 57]
Generated Node #0,0: 11:[30, 3, 57] Operation: 89-32=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[30, 3, 57], Operations: ['89-32=57']
Exploring Operation: 57-30=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 11:[3, 27] Operation: 57-30=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[3, 27], Operations: ['89-32=57', '57-30=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
25,
56,
87,
61
] | 59 | [
"25+87=112",
"112/56=2",
"61-2=59"
] | Current State: 59:[25, 56, 87, 61], Operations: []
Exploring Operation: 25+87=112, Resulting Numbers: [56, 61, 112]
Generated Node #2: [56, 61, 112] from Operation: 25+87=112
Current State: 59:[56, 61, 112], Operations: ['25+87=112']
Exploring Operation: 112/56=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 112/56=2
Current State: 59:[61, 2], Operations: ['25+87=112', '112/56=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[25, 56, 87, 61], Operations: []
Exploring Operation: 87-25=62, Resulting Numbers: [56, 61, 62]
Generated Node #0,0: 59:[56, 61, 62] Operation: 87-25=62
Exploring Operation: 25+56=81, Resulting Numbers: [87, 61, 81]
Generated Node #0,1: 59:[87, 61, 81] Operation: 25+56=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[56, 61, 62], Operations: ['87-25=62']
Exploring Operation: 62-56=6, Resulting Numbers: [61, 6]
Generated Node #0,0,0: 59:[61, 6] Operation: 62-56=6
Exploring Operation: 61-56=5, Resulting Numbers: [62, 5]
Generated Node #0,0,1: 59:[62, 5] Operation: 61-56=5
Moving to Node #0,0,0
Current State: 59:[61, 6], Operations: ['87-25=62', '62-56=6']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[62, 5], Operations: ['87-25=62', '61-56=5']
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[87, 61, 81], Operations: ['25+56=81']
Exploring Operation: 87-81=6, Resulting Numbers: [61, 6]
Generated Node #0,1,0: 59:[61, 6] Operation: 87-81=6
Exploring Operation: 87-61=26, Resulting Numbers: [81, 26]
Generated Node #0,1,1: 59:[81, 26] Operation: 87-61=26
Moving to Node #0,1,0
Current State: 59:[61, 6], Operations: ['25+56=81', '87-81=6']
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[81, 26], Operations: ['25+56=81', '87-61=26']
Exploring Operation: 81+26=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
36,
10,
14,
9
] | 35 | [
"36/9=4",
"10*14=140",
"140/4=35"
] | Current State: 35:[36, 10, 14, 9], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [10, 14, 4]
Generated Node #2: [10, 14, 4] from Operation: 36/9=4
Current State: 35:[10, 14, 4], Operations: ['36/9=4']
Exploring Operation: 10*14=140, Resulting Numbers: [4, 140]
Generated Node #3: [4, 140] from Operation: 10*14=140
Current State: 35:[4, 140], Operations: ['36/9=4', '10*14=140']
Exploring Operation: 140/4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[36, 10, 14, 9], Operations: []
Exploring Operation: 14-10=4, Resulting Numbers: [36, 9, 4]
Generated Node #0,0: 35:[36, 9, 4] Operation: 14-10=4
Moving to Node #0,0
Current State: 35:[36, 9, 4], Operations: ['14-10=4']
Exploring Operation: 9-4=5, Resulting Numbers: [36, 5]
Generated Node #0,0,0: 35:[36, 5] Operation: 9-4=5
Moving to Node #0,0,0
Current State: 35:[36, 5], Operations: ['14-10=4', '9-4=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,35 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
4,
88,
84,
18
] | 19 | [
"88-4=84",
"84/84=1",
"18+1=19"
] | Current State: 19:[4, 88, 84, 18], Operations: []
Exploring Operation: 88-4=84, Resulting Numbers: [84, 18, 84]
Generated Node #2: [84, 18, 84] from Operation: 88-4=84
Current State: 19:[84, 18, 84], Operations: ['88-4=84']
Exploring Operation: 84/84=1, Resulting Numbers: [18, 1]
Generated Node #3: [18, 1] from Operation: 84/84=1
Current State: 19:[18, 1], Operations: ['88-4=84', '84/84=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[4, 88, 84, 18], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [88, 18, 21]
Generated Node #0,0: 19:[88, 18, 21] Operation: 84/4=21
Exploring Operation: 88/4=22, Resulting Numbers: [84, 18, 22]
Generated Node #0,1: 19:[84, 18, 22] Operation: 88/4=22
Exploring Operation: 88-84=4, Resulting Numbers: [4, 18, 4]
Generated Node #0,2: 19:[4, 18, 4] Operation: 88-84=4
Exploring Operation: 88-4=84, Resulting Numbers: [84, 18, 84]
Generated Node #0,3: 19:[84, 18, 84] Operation: 88-4=84
Moving to Node #0,2
Current State: 19:[4, 18, 4], Operations: ['88-84=4']
Exploring Operation: 18+4=22, Resulting Numbers: [4, 22]
Generated Node #0,2,0: 19:[4, 22] Operation: 18+4=22
Exploring Operation: 4+18=22, Resulting Numbers: [4, 22]
Generated Node #0,2,1: 19:[4, 22] Operation: 4+18=22
Exploring Operation: 4+4=8, Resulting Numbers: [18, 8]
Generated Node #0,2,2: 19:[18, 8] Operation: 4+4=8
Exploring Operation: 4*4=16, Resulting Numbers: [18, 16]
Generated Node #0,2,3: 19:[18, 16] Operation: 4*4=16
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 19:[18, 16], Operations: ['88-84=4', '4*4=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,19 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[18, 8], Operations: ['88-84=4', '4+4=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,19 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[4, 22], Operations: ['88-84=4', '18+4=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,19 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[4, 22], Operations: ['88-84=4', '4+18=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,19 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 19:[84, 18, 22], Operations: ['88/4=22']
Exploring Operation: 84-22=62, Resulting Numbers: [18, 62]
Generated Node #0,1,0: 19:[18, 62] Operation: 84-22=62
Exploring Operation: 84-18=66, Resulting Numbers: [22, 66]
Generated Node #0,1,1: 19:[22, 66] Operation: 84-18=66
Exploring Operation: 22-18=4, Resulting Numbers: [84, 4]
Generated Node #0,1,2: 19:[84, 4] Operation: 22-18=4
Exploring Operation: 84+18=102, Resulting Numbers: [22, 102]
Generated Node #0,1,3: 19:[22, 102] Operation: 84+18=102
Moving to Node #0,0
Current State: 19:[88, 18, 21], Operations: ['84/4=21']
Exploring Operation: 88-18=70, Resulting Numbers: [21, 70]
Generated Node #0,0,0: 19:[21, 70] Operation: 88-18=70
Exploring Operation: 21-18=3, Resulting Numbers: [88, 3]
Generated Node #0,0,1: 19:[88, 3] Operation: 21-18=3
Exploring Operation: 88-21=67, Resulting Numbers: [18, 67]
Generated Node #0,0,2: 19:[18, 67] Operation: 88-21=67
Exploring Operation: 88+18=106, Resulting Numbers: [21, 106]
Generated Node #0,0,3: 19:[21, 106] Operation: 88+18=106
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[18, 67], Operations: ['84/4=21', '88-21=67']
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 18*67=1206, Resulting Numbers: [1206]
1206,19 unequal: No Solution
Exploring Operation: 18+67=85, Resulting Numbers: [85]
85,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[21, 70], Operations: ['84/4=21', '88-18=70']
Exploring Operation: 21*70=1470, Resulting Numbers: [1470]
1470,19 unequal: No Solution
Exploring Operation: 21+70=91, Resulting Numbers: [91]
91,19 unequal: No Solution
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[88, 3], Operations: ['84/4=21', '21-18=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,19 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[21, 106], Operations: ['84/4=21', '88+18=106']
Exploring Operation: 106-21=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 21*106=2226, Resulting Numbers: [2226]
2226,19 unequal: No Solution
Exploring Operation: 21+106=127, Resulting Numbers: [127]
127,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 19:[84, 18, 84], Operations: ['88-4=84']
Exploring Operation: 84-18=66, Resulting Numbers: [84, 66]
Generated Node #0,3,0: 19:[84, 66] Operation: 84-18=66
Exploring Operation: 84-84=0, Resulting Numbers: [18, 0]
Generated Node #0,3,1: 19:[18, 0] Operation: 84-84=0
Exploring Operation: 84/84=1, Resulting Numbers: [18, 1]
Generated Node #0,3,2: 19:[18, 1] Operation: 84/84=1
Exploring Operation: 84-18=66, Resulting Numbers: [84, 66]
Generated Node #0,3,3: 19:[84, 66] Operation: 84-18=66
Moving to Node #0,3,2
Current State: 19:[18, 1], Operations: ['88-4=84', '84/84=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[4, 88, 84, 18], Operations: []
Exploring Operation: 88-4=84, Resulting Numbers: [84, 18, 84]
Generated Node #0,3: 19:[84, 18, 84] Operation: 88-4=84
Moving to Node #0,3
Current State: 19:[84, 18, 84], Operations: ['88-4=84']
Exploring Operation: 84/84=1, Resulting Numbers: [18, 1]
Generated Node #0,3,2: 19:[18, 1] Operation: 84/84=1
Moving to Node #0,3,2
Current State: 19:[18, 1], Operations: ['88-4=84', '84/84=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.954861 | hs_4 | mult_heuristic |
[
84,
50,
6,
54
] | 36 | [
"50+6=56",
"54*56=3024",
"3024/84=36"
] | Current State: 36:[84, 50, 6, 54], Operations: []
Exploring Operation: 50+6=56, Resulting Numbers: [84, 54, 56]
Generated Node #2: [84, 54, 56] from Operation: 50+6=56
Current State: 36:[84, 54, 56], Operations: ['50+6=56']
Exploring Operation: 54*56=3024, Resulting Numbers: [84, 3024]
Generated Node #3: [84, 3024] from Operation: 54*56=3024
Current State: 36:[84, 3024], Operations: ['50+6=56', '54*56=3024']
Exploring Operation: 3024/84=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[84, 50, 6, 54], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [6, 54, 34]
Generated Node #0,0: 36:[6, 54, 34] Operation: 84-50=34
Moving to Node #0,0
Current State: 36:[6, 54, 34], Operations: ['84-50=34']
Exploring Operation: 54/6=9, Resulting Numbers: [34, 9]
Generated Node #0,0,0: 36:[34, 9] Operation: 54/6=9
Moving to Node #0,0,0
Current State: 36:[34, 9], Operations: ['84-50=34', '54/6=9']
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,36 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
29,
87,
27,
75
] | 52 | [
"87/29=3",
"75/3=25",
"27+25=52"
] | Current State: 52:[29, 87, 27, 75], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [27, 75, 3]
Generated Node #2: [27, 75, 3] from Operation: 87/29=3
Current State: 52:[27, 75, 3], Operations: ['87/29=3']
Exploring Operation: 75/3=25, Resulting Numbers: [27, 25]
Generated Node #3: [27, 25] from Operation: 75/3=25
Current State: 52:[27, 25], Operations: ['87/29=3', '75/3=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[29, 87, 27, 75], Operations: []
Exploring Operation: 87-75=12, Resulting Numbers: [29, 27, 12]
Generated Node #0,0: 52:[29, 27, 12] Operation: 87-75=12
Exploring Operation: 87-27=60, Resulting Numbers: [29, 75, 60]
Generated Node #0,1: 52:[29, 75, 60] Operation: 87-27=60
Exploring Operation: 87/29=3, Resulting Numbers: [27, 75, 3]
Generated Node #0,2: 52:[27, 75, 3] Operation: 87/29=3
Exploring Operation: 87-29=58, Resulting Numbers: [27, 75, 58]
Generated Node #0,3: 52:[27, 75, 58] Operation: 87-29=58
Moving to Node #0,0
Current State: 52:[29, 27, 12], Operations: ['87-75=12']
Exploring Operation: 29-27=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 52:[12, 2] Operation: 29-27=2
Exploring Operation: 29+27=56, Resulting Numbers: [12, 56]
Generated Node #0,0,1: 52:[12, 56] Operation: 29+27=56
Exploring Operation: 29-12=17, Resulting Numbers: [27, 17]
Generated Node #0,0,2: 52:[27, 17] Operation: 29-12=17
Exploring Operation: 27-12=15, Resulting Numbers: [29, 15]
Generated Node #0,0,3: 52:[29, 15] Operation: 27-12=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[12, 2], Operations: ['87-75=12', '29-27=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[12, 56], Operations: ['87-75=12', '29+27=56']
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,52 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[27, 17], Operations: ['87-75=12', '29-12=17']
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,52 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[29, 15], Operations: ['87-75=12', '27-12=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 52:[27, 75, 3], Operations: ['87/29=3']
Exploring Operation: 75-27=48, Resulting Numbers: [3, 48]
Generated Node #0,2,0: 52:[3, 48] Operation: 75-27=48
Exploring Operation: 75/3=25, Resulting Numbers: [27, 25]
Generated Node #0,2,1: 52:[27, 25] Operation: 75/3=25
Exploring Operation: 27-3=24, Resulting Numbers: [75, 24]
Generated Node #0,2,2: 52:[75, 24] Operation: 27-3=24
Exploring Operation: 75-3=72, Resulting Numbers: [27, 72]
Generated Node #0,2,3: 52:[27, 72] Operation: 75-3=72
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[27, 25], Operations: ['87/29=3', '75/3=25']
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,52 unequal: No Solution
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[29, 87, 27, 75], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [27, 75, 3]
Generated Node #0,2: 52:[27, 75, 3] Operation: 87/29=3
Moving to Node #0,2
Current State: 52:[27, 75, 3], Operations: ['87/29=3']
Exploring Operation: 75/3=25, Resulting Numbers: [27, 25]
Generated Node #0,2,1: 52:[27, 25] Operation: 75/3=25
Moving to Node #0,2,1
Current State: 52:[27, 25], Operations: ['87/29=3', '75/3=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
35,
22,
55,
2
] | 24 | [
"55-35=20",
"22*2=44",
"44-20=24"
] | Current State: 24:[35, 22, 55, 2], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [22, 2, 20]
Generated Node #2: [22, 2, 20] from Operation: 55-35=20
Current State: 24:[22, 2, 20], Operations: ['55-35=20']
Exploring Operation: 22*2=44, Resulting Numbers: [20, 44]
Generated Node #3: [20, 44] from Operation: 22*2=44
Current State: 24:[20, 44], Operations: ['55-35=20', '22*2=44']
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[35, 22, 55, 2], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [22, 2, 20]
Generated Node #0,0: 24:[22, 2, 20] Operation: 55-35=20
Moving to Node #0,0
Current State: 24:[22, 2, 20], Operations: ['55-35=20']
Exploring Operation: 22-20=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 24:[2, 2] Operation: 22-20=2
Moving to Node #0,0,0
Current State: 24:[2, 2], Operations: ['55-35=20', '22-20=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
58,
41,
24,
13
] | 96 | [
"58-41=17",
"17-13=4",
"24*4=96"
] | Current State: 96:[58, 41, 24, 13], Operations: []
Exploring Operation: 58-41=17, Resulting Numbers: [24, 13, 17]
Generated Node #2: [24, 13, 17] from Operation: 58-41=17
Current State: 96:[24, 13, 17], Operations: ['58-41=17']
Exploring Operation: 17-13=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 17-13=4
Current State: 96:[24, 4], Operations: ['58-41=17', '17-13=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[58, 41, 24, 13], Operations: []
Exploring Operation: 58+41=99, Resulting Numbers: [24, 13, 99]
Generated Node #0,0: 96:[24, 13, 99] Operation: 58+41=99
Exploring Operation: 58-24=34, Resulting Numbers: [41, 13, 34]
Generated Node #0,1: 96:[41, 13, 34] Operation: 58-24=34
Exploring Operation: 58-41=17, Resulting Numbers: [24, 13, 17]
Generated Node #0,2: 96:[24, 13, 17] Operation: 58-41=17
Exploring Operation: 58-13=45, Resulting Numbers: [41, 24, 45]
Generated Node #0,3: 96:[41, 24, 45] Operation: 58-13=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[24, 13, 17], Operations: ['58-41=17']
Exploring Operation: 17-13=4, Resulting Numbers: [24, 4]
Generated Node #0,2,0: 96:[24, 4] Operation: 17-13=4
Exploring Operation: 13+17=30, Resulting Numbers: [24, 30]
Generated Node #0,2,1: 96:[24, 30] Operation: 13+17=30
Exploring Operation: 24-17=7, Resulting Numbers: [13, 7]
Generated Node #0,2,2: 96:[13, 7] Operation: 24-17=7
Exploring Operation: 24-13=11, Resulting Numbers: [17, 11]
Generated Node #0,2,3: 96:[17, 11] Operation: 24-13=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[24, 4], Operations: ['58-41=17', '17-13=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[58, 41, 24, 13], Operations: []
Exploring Operation: 58-41=17, Resulting Numbers: [24, 13, 17]
Generated Node #0,2: 96:[24, 13, 17] Operation: 58-41=17
Moving to Node #0,2
Current State: 96:[24, 13, 17], Operations: ['58-41=17']
Exploring Operation: 17-13=4, Resulting Numbers: [24, 4]
Generated Node #0,2,0: 96:[24, 4] Operation: 17-13=4
Moving to Node #0,2,0
Current State: 96:[24, 4], Operations: ['58-41=17', '17-13=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
19,
44,
85,
99
] | 66 | [
"85-19=66",
"44*99=4356",
"4356/66=66"
] | Current State: 66:[19, 44, 85, 99], Operations: []
Exploring Operation: 85-19=66, Resulting Numbers: [44, 99, 66]
Generated Node #2: [44, 99, 66] from Operation: 85-19=66
Current State: 66:[44, 99, 66], Operations: ['85-19=66']
Exploring Operation: 44*99=4356, Resulting Numbers: [66, 4356]
Generated Node #3: [66, 4356] from Operation: 44*99=4356
Current State: 66:[66, 4356], Operations: ['85-19=66', '44*99=4356']
Exploring Operation: 4356/66=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[19, 44, 85, 99], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [19, 44, 14]
Generated Node #0,0: 66:[19, 44, 14] Operation: 99-85=14
Exploring Operation: 99-44=55, Resulting Numbers: [19, 85, 55]
Generated Node #0,1: 66:[19, 85, 55] Operation: 99-44=55
Moving to Node #0,0
Current State: 66:[19, 44, 14], Operations: ['99-85=14']
Exploring Operation: 44-19=25, Resulting Numbers: [14, 25]
Generated Node #0,0,0: 66:[14, 25] Operation: 44-19=25
Exploring Operation: 19+44=63, Resulting Numbers: [14, 63]
Generated Node #0,0,1: 66:[14, 63] Operation: 19+44=63
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[14, 25], Operations: ['99-85=14', '44-19=25']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[14, 63], Operations: ['99-85=14', '19+44=63']
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 66:[19, 85, 55], Operations: ['99-44=55']
Exploring Operation: 85-19=66, Resulting Numbers: [55, 66]
Generated Node #0,1,0: 66:[55, 66] Operation: 85-19=66
Exploring Operation: 85-55=30, Resulting Numbers: [19, 30]
Generated Node #0,1,1: 66:[19, 30] Operation: 85-55=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[19, 30], Operations: ['99-44=55', '85-55=30']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[55, 66], Operations: ['99-44=55', '85-19=66']
Exploring Operation: 55+66=121, Resulting Numbers: [121]
121,66 unequal: No Solution
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
18,
64,
10,
86
] | 94 | [
"18-10=8",
"64/8=8",
"86+8=94"
] | Current State: 94:[18, 64, 10, 86], Operations: []
Exploring Operation: 18-10=8, Resulting Numbers: [64, 86, 8]
Generated Node #2: [64, 86, 8] from Operation: 18-10=8
Current State: 94:[64, 86, 8], Operations: ['18-10=8']
Exploring Operation: 64/8=8, Resulting Numbers: [86, 8]
Generated Node #3: [86, 8] from Operation: 64/8=8
Current State: 94:[86, 8], Operations: ['18-10=8', '64/8=8']
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[18, 64, 10, 86], Operations: []
Exploring Operation: 18+64=82, Resulting Numbers: [10, 86, 82]
Generated Node #0,0: 94:[10, 86, 82] Operation: 18+64=82
Exploring Operation: 18-10=8, Resulting Numbers: [64, 86, 8]
Generated Node #0,1: 94:[64, 86, 8] Operation: 18-10=8
Exploring Operation: 64-18=46, Resulting Numbers: [10, 86, 46]
Generated Node #0,2: 94:[10, 86, 46] Operation: 64-18=46
Moving to Node #0,2
Current State: 94:[10, 86, 46], Operations: ['64-18=46']
Exploring Operation: 10+86=96, Resulting Numbers: [46, 96]
Generated Node #0,2,0: 94:[46, 96] Operation: 10+86=96
Exploring Operation: 10+46=56, Resulting Numbers: [86, 56]
Generated Node #0,2,1: 94:[86, 56] Operation: 10+46=56
Exploring Operation: 86-46=40, Resulting Numbers: [10, 40]
Generated Node #0,2,2: 94:[10, 40] Operation: 86-46=40
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[46, 96], Operations: ['64-18=46', '10+86=96']
Exploring Operation: 46+96=142, Resulting Numbers: [142]
142,94 unequal: No Solution
Exploring Operation: 46*96=4416, Resulting Numbers: [4416]
4416,94 unequal: No Solution
Exploring Operation: 96-46=50, Resulting Numbers: [50]
50,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[10, 40], Operations: ['64-18=46', '86-46=40']
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[86, 56], Operations: ['64-18=46', '10+46=56']
Exploring Operation: 86*56=4816, Resulting Numbers: [4816]
4816,94 unequal: No Solution
Exploring Operation: 86-56=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 86+56=142, Resulting Numbers: [142]
142,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 94:[10, 86, 82], Operations: ['18+64=82']
Exploring Operation: 10+82=92, Resulting Numbers: [86, 92]
Generated Node #0,0,0: 94:[86, 92] Operation: 10+82=92
Exploring Operation: 86-82=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 94:[10, 4] Operation: 86-82=4
Exploring Operation: 10+86=96, Resulting Numbers: [82, 96]
Generated Node #0,0,2: 94:[82, 96] Operation: 10+86=96
Moving to Node #0,1
Current State: 94:[64, 86, 8], Operations: ['18-10=8']
Exploring Operation: 64/8=8, Resulting Numbers: [86, 8]
Generated Node #0,1,0: 94:[86, 8] Operation: 64/8=8
Exploring Operation: 64-8=56, Resulting Numbers: [86, 56]
Generated Node #0,1,1: 94:[86, 56] Operation: 64-8=56
Exploring Operation: 86+8=94, Resulting Numbers: [64, 94]
Generated Node #0,1,2: 94:[64, 94] Operation: 86+8=94
Moving to Node #0,0,0
Current State: 94:[86, 92], Operations: ['18+64=82', '10+82=92']
Exploring Operation: 86+92=178, Resulting Numbers: [178]
178,94 unequal: No Solution
Exploring Operation: 92-86=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 86*92=7912, Resulting Numbers: [7912]
7912,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[10, 4], Operations: ['18+64=82', '86-82=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[82, 96], Operations: ['18+64=82', '10+86=96']
Exploring Operation: 82*96=7872, Resulting Numbers: [7872]
7872,94 unequal: No Solution
Exploring Operation: 82+96=178, Resulting Numbers: [178]
178,94 unequal: No Solution
Exploring Operation: 96-82=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[86, 8], Operations: ['18-10=8', '64/8=8']
Exploring Operation: 86*8=688, Resulting Numbers: [688]
688,94 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,94 unequal: No Solution
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[18, 64, 10, 86], Operations: []
Exploring Operation: 18-10=8, Resulting Numbers: [64, 86, 8]
Generated Node #0,1: 94:[64, 86, 8] Operation: 18-10=8
Moving to Node #0,1
Current State: 94:[64, 86, 8], Operations: ['18-10=8']
Exploring Operation: 64/8=8, Resulting Numbers: [86, 8]
Generated Node #0,1,0: 94:[86, 8] Operation: 64/8=8
Moving to Node #0,1,0
Current State: 94:[86, 8], Operations: ['18-10=8', '64/8=8']
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.967882 | hs_3 | sum_heuristic |
[
76,
38,
15,
2
] | 25 | [
"76-38=38",
"15-2=13",
"38-13=25"
] | Current State: 25:[76, 38, 15, 2], Operations: []
Exploring Operation: 76-38=38, Resulting Numbers: [15, 2, 38]
Generated Node #2: [15, 2, 38] from Operation: 76-38=38
Current State: 25:[15, 2, 38], Operations: ['76-38=38']
Exploring Operation: 15-2=13, Resulting Numbers: [38, 13]
Generated Node #3: [38, 13] from Operation: 15-2=13
Current State: 25:[38, 13], Operations: ['76-38=38', '15-2=13']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[76, 38, 15, 2], Operations: []
Exploring Operation: 76-38=38, Resulting Numbers: [15, 2, 38]
Generated Node #0,0: 25:[15, 2, 38] Operation: 76-38=38
Exploring Operation: 76/2=38, Resulting Numbers: [38, 15, 38]
Generated Node #0,1: 25:[38, 15, 38] Operation: 76/2=38
Exploring Operation: 76/38=2, Resulting Numbers: [15, 2, 2]
Generated Node #0,2: 25:[15, 2, 2] Operation: 76/38=2
Moving to Node #0,2
Current State: 25:[15, 2, 2], Operations: ['76/38=2']
Exploring Operation: 15+2=17, Resulting Numbers: [2, 17]
Generated Node #0,2,0: 25:[2, 17] Operation: 15+2=17
Exploring Operation: 15*2=30, Resulting Numbers: [2, 30]
Generated Node #0,2,1: 25:[2, 30] Operation: 15*2=30
Exploring Operation: 15*2=30, Resulting Numbers: [2, 30]
Generated Node #0,2,2: 25:[2, 30] Operation: 15*2=30
Moving to Node #0,0
Current State: 25:[15, 2, 38], Operations: ['76-38=38']
Exploring Operation: 38-15=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 25:[2, 23] Operation: 38-15=23
Exploring Operation: 38/2=19, Resulting Numbers: [15, 19]
Generated Node #0,0,1: 25:[15, 19] Operation: 38/2=19
Exploring Operation: 15*2=30, Resulting Numbers: [38, 30]
Generated Node #0,0,2: 25:[38, 30] Operation: 15*2=30
Moving to Node #0,1
Current State: 25:[38, 15, 38], Operations: ['76/2=38']
Exploring Operation: 38-15=23, Resulting Numbers: [38, 23]
Generated Node #0,1,0: 25:[38, 23] Operation: 38-15=23
Exploring Operation: 38/38=1, Resulting Numbers: [15, 1]
Generated Node #0,1,1: 25:[15, 1] Operation: 38/38=1
Exploring Operation: 38-38=0, Resulting Numbers: [15, 0]
Generated Node #0,1,2: 25:[15, 0] Operation: 38-38=0
Moving to Node #0,0,0
Current State: 25:[2, 23], Operations: ['76-38=38', '38-15=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[76, 38, 15, 2], Operations: []
Exploring Operation: 76-38=38, Resulting Numbers: [15, 2, 38]
Generated Node #0,0: 25:[15, 2, 38] Operation: 76-38=38
Moving to Node #0,0
Current State: 25:[15, 2, 38], Operations: ['76-38=38']
Exploring Operation: 38-15=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 25:[2, 23] Operation: 38-15=23
Moving to Node #0,0,0
Current State: 25:[2, 23], Operations: ['76-38=38', '38-15=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.985243 | hs_3 | mult_heuristic |
[
68,
75,
87,
50
] | 10 | [
"87*50=4350",
"4350/75=58",
"68-58=10"
] | Current State: 10:[68, 75, 87, 50], Operations: []
Exploring Operation: 87*50=4350, Resulting Numbers: [68, 75, 4350]
Generated Node #2: [68, 75, 4350] from Operation: 87*50=4350
Current State: 10:[68, 75, 4350], Operations: ['87*50=4350']
Exploring Operation: 4350/75=58, Resulting Numbers: [68, 58]
Generated Node #3: [68, 58] from Operation: 4350/75=58
Current State: 10:[68, 58], Operations: ['87*50=4350', '4350/75=58']
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[68, 75, 87, 50], Operations: []
Exploring Operation: 75-68=7, Resulting Numbers: [87, 50, 7]
Generated Node #0,0: 10:[87, 50, 7] Operation: 75-68=7
Exploring Operation: 87-75=12, Resulting Numbers: [68, 50, 12]
Generated Node #0,1: 10:[68, 50, 12] Operation: 87-75=12
Exploring Operation: 87-68=19, Resulting Numbers: [75, 50, 19]
Generated Node #0,2: 10:[75, 50, 19] Operation: 87-68=19
Moving to Node #0,1
Current State: 10:[68, 50, 12], Operations: ['87-75=12']
Exploring Operation: 68-50=18, Resulting Numbers: [12, 18]
Generated Node #0,1,0: 10:[12, 18] Operation: 68-50=18
Exploring Operation: 68-12=56, Resulting Numbers: [50, 56]
Generated Node #0,1,1: 10:[50, 56] Operation: 68-12=56
Exploring Operation: 50-12=38, Resulting Numbers: [68, 38]
Generated Node #0,1,2: 10:[68, 38] Operation: 50-12=38
Moving to Node #0,2
Current State: 10:[75, 50, 19], Operations: ['87-68=19']
Exploring Operation: 75-19=56, Resulting Numbers: [50, 56]
Generated Node #0,2,0: 10:[50, 56] Operation: 75-19=56
Exploring Operation: 50-19=31, Resulting Numbers: [75, 31]
Generated Node #0,2,1: 10:[75, 31] Operation: 50-19=31
Exploring Operation: 75-50=25, Resulting Numbers: [19, 25]
Generated Node #0,2,2: 10:[19, 25] Operation: 75-50=25
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[19, 25], Operations: ['87-68=19', '75-50=25']
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,10 unequal: No Solution
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[50, 56], Operations: ['87-68=19', '75-19=56']
Exploring Operation: 50+56=106, Resulting Numbers: [106]
106,10 unequal: No Solution
Exploring Operation: 50*56=2800, Resulting Numbers: [2800]
2800,10 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[75, 31], Operations: ['87-68=19', '50-19=31']
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 75+31=106, Resulting Numbers: [106]
106,10 unequal: No Solution
Exploring Operation: 75*31=2325, Resulting Numbers: [2325]
2325,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 10:[87, 50, 7], Operations: ['75-68=7']
Exploring Operation: 87-7=80, Resulting Numbers: [50, 80]
Generated Node #0,0,0: 10:[50, 80] Operation: 87-7=80
Exploring Operation: 50-7=43, Resulting Numbers: [87, 43]
Generated Node #0,0,1: 10:[87, 43] Operation: 50-7=43
Exploring Operation: 87-50=37, Resulting Numbers: [7, 37]
Generated Node #0,0,2: 10:[7, 37] Operation: 87-50=37
Moving to Node #0,1,0
Current State: 10:[12, 18], Operations: ['87-75=12', '68-50=18']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[7, 37], Operations: ['75-68=7', '87-50=37']
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,10 unequal: No Solution
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[68, 38], Operations: ['87-75=12', '50-12=38']
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,10 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,10 unequal: No Solution
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[50, 56], Operations: ['87-75=12', '68-12=56']
Exploring Operation: 50+56=106, Resulting Numbers: [106]
106,10 unequal: No Solution
Exploring Operation: 50*56=2800, Resulting Numbers: [2800]
2800,10 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[87, 43], Operations: ['75-68=7', '50-7=43']
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 87*43=3741, Resulting Numbers: [3741]
3741,10 unequal: No Solution
Exploring Operation: 87+43=130, Resulting Numbers: [130]
130,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[50, 80], Operations: ['75-68=7', '87-7=80']
Exploring Operation: 50*80=4000, Resulting Numbers: [4000]
4000,10 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 50+80=130, Resulting Numbers: [130]
130,10 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
64,
36,
51,
94
] | 71 | [
"64-36=28",
"94-51=43",
"28+43=71"
] | Current State: 71:[64, 36, 51, 94], Operations: []
Exploring Operation: 64-36=28, Resulting Numbers: [51, 94, 28]
Generated Node #2: [51, 94, 28] from Operation: 64-36=28
Current State: 71:[51, 94, 28], Operations: ['64-36=28']
Exploring Operation: 94-51=43, Resulting Numbers: [28, 43]
Generated Node #3: [28, 43] from Operation: 94-51=43
Current State: 71:[28, 43], Operations: ['64-36=28', '94-51=43']
Exploring Operation: 28+43=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[64, 36, 51, 94], Operations: []
Exploring Operation: 36+51=87, Resulting Numbers: [64, 94, 87]
Generated Node #0,0: 71:[64, 94, 87] Operation: 36+51=87
Exploring Operation: 94-36=58, Resulting Numbers: [64, 51, 58]
Generated Node #0,1: 71:[64, 51, 58] Operation: 94-36=58
Exploring Operation: 94-51=43, Resulting Numbers: [64, 36, 43]
Generated Node #0,2: 71:[64, 36, 43] Operation: 94-51=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[64, 51, 58], Operations: ['94-36=58']
Exploring Operation: 64+51=115, Resulting Numbers: [58, 115]
Generated Node #0,1,0: 71:[58, 115] Operation: 64+51=115
Exploring Operation: 64-51=13, Resulting Numbers: [58, 13]
Generated Node #0,1,1: 71:[58, 13] Operation: 64-51=13
Exploring Operation: 51+58=109, Resulting Numbers: [64, 109]
Generated Node #0,1,2: 71:[64, 109] Operation: 51+58=109
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[64, 109], Operations: ['94-36=58', '51+58=109']
Exploring Operation: 64+109=173, Resulting Numbers: [173]
173,71 unequal: No Solution
Exploring Operation: 109-64=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 64*109=6976, Resulting Numbers: [6976]
6976,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[58, 115], Operations: ['94-36=58', '64+51=115']
Exploring Operation: 115-58=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 58+115=173, Resulting Numbers: [173]
173,71 unequal: No Solution
Exploring Operation: 58*115=6670, Resulting Numbers: [6670]
6670,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[58, 13], Operations: ['94-36=58', '64-51=13']
Exploring Operation: 58*13=754, Resulting Numbers: [754]
754,71 unequal: No Solution
Exploring Operation: 58+13=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[64, 36, 51, 94], Operations: []
Exploring Operation: 94-36=58, Resulting Numbers: [64, 51, 58]
Generated Node #0,1: 71:[64, 51, 58] Operation: 94-36=58
Moving to Node #0,1
Current State: 71:[64, 51, 58], Operations: ['94-36=58']
Exploring Operation: 64-51=13, Resulting Numbers: [58, 13]
Generated Node #0,1,1: 71:[58, 13] Operation: 64-51=13
Moving to Node #0,1,1
Current State: 71:[58, 13], Operations: ['94-36=58', '64-51=13']
Exploring Operation: 58+13=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
6,
57,
45,
39
] | 41 | [
"57-45=12",
"12/6=2",
"39+2=41"
] | Current State: 41:[6, 57, 45, 39], Operations: []
Exploring Operation: 57-45=12, Resulting Numbers: [6, 39, 12]
Generated Node #2: [6, 39, 12] from Operation: 57-45=12
Current State: 41:[6, 39, 12], Operations: ['57-45=12']
Exploring Operation: 12/6=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 12/6=2
Current State: 41:[39, 2], Operations: ['57-45=12', '12/6=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[6, 57, 45, 39], Operations: []
Exploring Operation: 45-6=39, Resulting Numbers: [57, 39, 39]
Generated Node #0,0: 41:[57, 39, 39] Operation: 45-6=39
Exploring Operation: 57-6=51, Resulting Numbers: [45, 39, 51]
Generated Node #0,1: 41:[45, 39, 51] Operation: 57-6=51
Exploring Operation: 6+39=45, Resulting Numbers: [57, 45, 45]
Generated Node #0,2: 41:[57, 45, 45] Operation: 6+39=45
Exploring Operation: 6+57=63, Resulting Numbers: [45, 39, 63]
Generated Node #0,3: 41:[45, 39, 63] Operation: 6+57=63
Exploring Operation: 6+45=51, Resulting Numbers: [57, 39, 51]
Generated Node #0,4: 41:[57, 39, 51] Operation: 6+45=51
Moving to Node #0,1
Current State: 41:[45, 39, 51], Operations: ['57-6=51']
Exploring Operation: 39+51=90, Resulting Numbers: [45, 90]
Generated Node #0,1,0: 41:[45, 90] Operation: 39+51=90
Exploring Operation: 45+39=84, Resulting Numbers: [51, 84]
Generated Node #0,1,1: 41:[51, 84] Operation: 45+39=84
Exploring Operation: 51-39=12, Resulting Numbers: [45, 12]
Generated Node #0,1,2: 41:[45, 12] Operation: 51-39=12
Exploring Operation: 51-45=6, Resulting Numbers: [39, 6]
Generated Node #0,1,3: 41:[39, 6] Operation: 51-45=6
Exploring Operation: 45-39=6, Resulting Numbers: [51, 6]
Generated Node #0,1,4: 41:[51, 6] Operation: 45-39=6
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[45, 12], Operations: ['57-6=51', '51-39=12']
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 45*12=540, Resulting Numbers: [540]
540,41 unequal: No Solution
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[39, 6], Operations: ['57-6=51', '51-45=6']
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,41 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 41:[51, 6], Operations: ['57-6=51', '45-39=6']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[45, 90], Operations: ['57-6=51', '39+51=90']
Exploring Operation: 90/45=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 45+90=135, Resulting Numbers: [135]
135,41 unequal: No Solution
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 45*90=4050, Resulting Numbers: [4050]
4050,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[51, 84], Operations: ['57-6=51', '45+39=84']
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 51*84=4284, Resulting Numbers: [4284]
4284,41 unequal: No Solution
Exploring Operation: 51+84=135, Resulting Numbers: [135]
135,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 41:[57, 39, 39], Operations: ['45-6=39']
Exploring Operation: 39+39=78, Resulting Numbers: [57, 78]
Generated Node #0,0,0: 41:[57, 78] Operation: 39+39=78
Exploring Operation: 57-39=18, Resulting Numbers: [39, 18]
Generated Node #0,0,1: 41:[39, 18] Operation: 57-39=18
Exploring Operation: 57+39=96, Resulting Numbers: [39, 96]
Generated Node #0,0,2: 41:[39, 96] Operation: 57+39=96
Exploring Operation: 39/39=1, Resulting Numbers: [57, 1]
Generated Node #0,0,3: 41:[57, 1] Operation: 39/39=1
Exploring Operation: 57-39=18, Resulting Numbers: [39, 18]
Generated Node #0,0,4: 41:[39, 18] Operation: 57-39=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[39, 18], Operations: ['45-6=39', '57-39=18']
Exploring Operation: 39*18=702, Resulting Numbers: [702]
702,41 unequal: No Solution
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 41:[39, 18], Operations: ['45-6=39', '57-39=18']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 39*18=702, Resulting Numbers: [702]
702,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[57, 78], Operations: ['45-6=39', '39+39=78']
Exploring Operation: 57*78=4446, Resulting Numbers: [4446]
4446,41 unequal: No Solution
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 57+78=135, Resulting Numbers: [135]
135,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 41:[57, 1], Operations: ['45-6=39', '39/39=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[39, 96], Operations: ['45-6=39', '57+39=96']
Exploring Operation: 39+96=135, Resulting Numbers: [135]
135,41 unequal: No Solution
Exploring Operation: 39*96=3744, Resulting Numbers: [3744]
3744,41 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 41:[57, 45, 45], Operations: ['6+39=45']
Exploring Operation: 45/45=1, Resulting Numbers: [57, 1]
Generated Node #0,2,0: 41:[57, 1] Operation: 45/45=1
Exploring Operation: 45-45=0, Resulting Numbers: [57, 0]
Generated Node #0,2,1: 41:[57, 0] Operation: 45-45=0
Exploring Operation: 57-45=12, Resulting Numbers: [45, 12]
Generated Node #0,2,2: 41:[45, 12] Operation: 57-45=12
Exploring Operation: 57-45=12, Resulting Numbers: [45, 12]
Generated Node #0,2,3: 41:[45, 12] Operation: 57-45=12
Exploring Operation: 57+45=102, Resulting Numbers: [45, 102]
Generated Node #0,2,4: 41:[45, 102] Operation: 57+45=102
Moving to Node #0,3
Current State: 41:[45, 39, 63], Operations: ['6+57=63']
Exploring Operation: 63-39=24, Resulting Numbers: [45, 24]
Generated Node #0,3,0: 41:[45, 24] Operation: 63-39=24
Exploring Operation: 63-45=18, Resulting Numbers: [39, 18]
Generated Node #0,3,1: 41:[39, 18] Operation: 63-45=18
Exploring Operation: 39+63=102, Resulting Numbers: [45, 102]
Generated Node #0,3,2: 41:[45, 102] Operation: 39+63=102
Exploring Operation: 45-39=6, Resulting Numbers: [63, 6]
Generated Node #0,3,3: 41:[63, 6] Operation: 45-39=6
Exploring Operation: 45+39=84, Resulting Numbers: [63, 84]
Generated Node #0,3,4: 41:[63, 84] Operation: 45+39=84
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[45, 24], Operations: ['6+57=63', '63-39=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,41 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[39, 18], Operations: ['6+57=63', '63-45=18']
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 39*18=702, Resulting Numbers: [702]
702,41 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[63, 6], Operations: ['6+57=63', '45-39=6']
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,41 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[45, 102], Operations: ['6+57=63', '39+63=102']
Exploring Operation: 102-45=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 45*102=4590, Resulting Numbers: [4590]
4590,41 unequal: No Solution
Exploring Operation: 45+102=147, Resulting Numbers: [147]
147,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 41:[63, 84], Operations: ['6+57=63', '45+39=84']
Exploring Operation: 63*84=5292, Resulting Numbers: [5292]
5292,41 unequal: No Solution
Exploring Operation: 63+84=147, Resulting Numbers: [147]
147,41 unequal: No Solution
Exploring Operation: 84-63=21, Resulting Numbers: [21]
21,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 41:[57, 39, 51], Operations: ['6+45=51']
Exploring Operation: 57-39=18, Resulting Numbers: [51, 18]
Generated Node #0,4,0: 41:[51, 18] Operation: 57-39=18
Exploring Operation: 57-51=6, Resulting Numbers: [39, 6]
Generated Node #0,4,1: 41:[39, 6] Operation: 57-51=6
Exploring Operation: 51-39=12, Resulting Numbers: [57, 12]
Generated Node #0,4,2: 41:[57, 12] Operation: 51-39=12
Exploring Operation: 39+51=90, Resulting Numbers: [57, 90]
Generated Node #0,4,3: 41:[57, 90] Operation: 39+51=90
Exploring Operation: 57+39=96, Resulting Numbers: [51, 96]
Generated Node #0,4,4: 41:[51, 96] Operation: 57+39=96
Moving to Node #0,2,2
Current State: 41:[45, 12], Operations: ['6+39=45', '57-45=12']
Exploring Operation: 45*12=540, Resulting Numbers: [540]
540,41 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Moving to Node #0,4,0
Current State: 41:[51, 18], Operations: ['6+45=51', '57-39=18']
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,41 unequal: No Solution
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[45, 12], Operations: ['6+39=45', '57-45=12']
Exploring Operation: 45*12=540, Resulting Numbers: [540]
540,41 unequal: No Solution
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Moving to Node #0,4,1
Current State: 41:[39, 6], Operations: ['6+45=51', '57-51=6']
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,41 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Moving to Node #0,4,2
Current State: 41:[57, 12], Operations: ['6+45=51', '51-39=12']
Exploring Operation: 57*12=684, Resulting Numbers: [684]
684,41 unequal: No Solution
Exploring Operation: 57+12=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[57, 1], Operations: ['6+39=45', '45/45=1']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[57, 0], Operations: ['6+39=45', '45-45=0']
Exploring Operation: 57*0=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 57-0=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Moving to Node #0,4,3
Current State: 41:[57, 90], Operations: ['6+45=51', '39+51=90']
Exploring Operation: 90-57=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 57*90=5130, Resulting Numbers: [5130]
5130,41 unequal: No Solution
Exploring Operation: 57+90=147, Resulting Numbers: [147]
147,41 unequal: No Solution
Moving to Node #0,4,4
Current State: 41:[51, 96], Operations: ['6+45=51', '57+39=96']
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 51+96=147, Resulting Numbers: [147]
147,41 unequal: No Solution
Exploring Operation: 51*96=4896, Resulting Numbers: [4896]
4896,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[45, 102], Operations: ['6+39=45', '57+45=102']
Exploring Operation: 45+102=147, Resulting Numbers: [147]
147,41 unequal: No Solution
Exploring Operation: 45*102=4590, Resulting Numbers: [4590]
4590,41 unequal: No Solution
Exploring Operation: 102-45=57, Resulting Numbers: [57]
57,41 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
31,
56,
66,
59
] | 27 | [
"59-56=3",
"31*3=93",
"93-66=27"
] | Current State: 27:[31, 56, 66, 59], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [31, 66, 3]
Generated Node #2: [31, 66, 3] from Operation: 59-56=3
Current State: 27:[31, 66, 3], Operations: ['59-56=3']
Exploring Operation: 31*3=93, Resulting Numbers: [66, 93]
Generated Node #3: [66, 93] from Operation: 31*3=93
Current State: 27:[66, 93], Operations: ['59-56=3', '31*3=93']
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[31, 56, 66, 59], Operations: []
Exploring Operation: 66-59=7, Resulting Numbers: [31, 56, 7]
Generated Node #0,0: 27:[31, 56, 7] Operation: 66-59=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[31, 56, 7], Operations: ['66-59=7']
Exploring Operation: 56-31=25, Resulting Numbers: [7, 25]
Generated Node #0,0,0: 27:[7, 25] Operation: 56-31=25
Moving to Node #0,0,0
Current State: 27:[7, 25], Operations: ['66-59=7', '56-31=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
68,
94,
87,
15
] | 90 | [
"68+94=162",
"87-15=72",
"162-72=90"
] | Current State: 90:[68, 94, 87, 15], Operations: []
Exploring Operation: 68+94=162, Resulting Numbers: [87, 15, 162]
Generated Node #2: [87, 15, 162] from Operation: 68+94=162
Current State: 90:[87, 15, 162], Operations: ['68+94=162']
Exploring Operation: 87-15=72, Resulting Numbers: [162, 72]
Generated Node #3: [162, 72] from Operation: 87-15=72
Current State: 90:[162, 72], Operations: ['68+94=162', '87-15=72']
Exploring Operation: 162-72=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[68, 94, 87, 15], Operations: []
Exploring Operation: 87-68=19, Resulting Numbers: [94, 15, 19]
Generated Node #0,0: 90:[94, 15, 19] Operation: 87-68=19
Moving to Node #0,0
Current State: 90:[94, 15, 19], Operations: ['87-68=19']
Exploring Operation: 19-15=4, Resulting Numbers: [94, 4]
Generated Node #0,0,0: 90:[94, 4] Operation: 19-15=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[94, 4], Operations: ['87-68=19', '19-15=4']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[68, 94, 87, 15], Operations: []
Exploring Operation: 87-68=19, Resulting Numbers: [94, 15, 19]
Generated Node #0,0: 90:[94, 15, 19] Operation: 87-68=19
Moving to Node #0,0
Current State: 90:[94, 15, 19], Operations: ['87-68=19']
Exploring Operation: 19-15=4, Resulting Numbers: [94, 4]
Generated Node #0,0,0: 90:[94, 4] Operation: 19-15=4
Moving to Node #0,0,0
Current State: 90:[94, 4], Operations: ['87-68=19', '19-15=4']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
47,
68,
54,
42
] | 70 | [
"47-42=5",
"68-54=14",
"5*14=70"
] | Current State: 70:[47, 68, 54, 42], Operations: []
Exploring Operation: 47-42=5, Resulting Numbers: [68, 54, 5]
Generated Node #2: [68, 54, 5] from Operation: 47-42=5
Current State: 70:[68, 54, 5], Operations: ['47-42=5']
Exploring Operation: 68-54=14, Resulting Numbers: [5, 14]
Generated Node #3: [5, 14] from Operation: 68-54=14
Current State: 70:[5, 14], Operations: ['47-42=5', '68-54=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[47, 68, 54, 42], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [68, 42, 7]
Generated Node #0,0: 70:[68, 42, 7] Operation: 54-47=7
Moving to Node #0,0
Current State: 70:[68, 42, 7], Operations: ['54-47=7']
Exploring Operation: 42-7=35, Resulting Numbers: [68, 35]
Generated Node #0,0,0: 70:[68, 35] Operation: 42-7=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[68, 35], Operations: ['54-47=7', '42-7=35']
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
36,
81,
77,
19
] | 68 | [
"36-19=17",
"81-77=4",
"17*4=68"
] | Current State: 68:[36, 81, 77, 19], Operations: []
Exploring Operation: 36-19=17, Resulting Numbers: [81, 77, 17]
Generated Node #2: [81, 77, 17] from Operation: 36-19=17
Current State: 68:[81, 77, 17], Operations: ['36-19=17']
Exploring Operation: 81-77=4, Resulting Numbers: [17, 4]
Generated Node #3: [17, 4] from Operation: 81-77=4
Current State: 68:[17, 4], Operations: ['36-19=17', '81-77=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[36, 81, 77, 19], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [36, 19, 4]
Generated Node #0,0: 68:[36, 19, 4] Operation: 81-77=4
Moving to Node #0,0
Current State: 68:[36, 19, 4], Operations: ['81-77=4']
Exploring Operation: 36-19=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 68:[4, 17] Operation: 36-19=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[4, 17], Operations: ['81-77=4', '36-19=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[36, 81, 77, 19], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [36, 19, 4]
Generated Node #0,0: 68:[36, 19, 4] Operation: 81-77=4
Moving to Node #0,0
Current State: 68:[36, 19, 4], Operations: ['81-77=4']
Exploring Operation: 36-19=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 68:[4, 17] Operation: 36-19=17
Moving to Node #0,0,0
Current State: 68:[4, 17], Operations: ['81-77=4', '36-19=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
35,
73,
52,
32
] | 24 | [
"35+73=108",
"52+32=84",
"108-84=24"
] | Current State: 24:[35, 73, 52, 32], Operations: []
Exploring Operation: 35+73=108, Resulting Numbers: [52, 32, 108]
Generated Node #2: [52, 32, 108] from Operation: 35+73=108
Current State: 24:[52, 32, 108], Operations: ['35+73=108']
Exploring Operation: 52+32=84, Resulting Numbers: [108, 84]
Generated Node #3: [108, 84] from Operation: 52+32=84
Current State: 24:[108, 84], Operations: ['35+73=108', '52+32=84']
Exploring Operation: 108-84=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[35, 73, 52, 32], Operations: []
Exploring Operation: 73-32=41, Resulting Numbers: [35, 52, 41]
Generated Node #0,0: 24:[35, 52, 41] Operation: 73-32=41
Exploring Operation: 73-52=21, Resulting Numbers: [35, 32, 21]
Generated Node #0,1: 24:[35, 32, 21] Operation: 73-52=21
Exploring Operation: 73-35=38, Resulting Numbers: [52, 32, 38]
Generated Node #0,2: 24:[52, 32, 38] Operation: 73-35=38
Moving to Node #0,1
Current State: 24:[35, 32, 21], Operations: ['73-52=21']
Exploring Operation: 35-21=14, Resulting Numbers: [32, 14]
Generated Node #0,1,0: 24:[32, 14] Operation: 35-21=14
Exploring Operation: 35-32=3, Resulting Numbers: [21, 3]
Generated Node #0,1,1: 24:[21, 3] Operation: 35-32=3
Exploring Operation: 32-21=11, Resulting Numbers: [35, 11]
Generated Node #0,1,2: 24:[35, 11] Operation: 32-21=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[21, 3], Operations: ['73-52=21', '35-32=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[35, 73, 52, 32], Operations: []
Exploring Operation: 73-52=21, Resulting Numbers: [35, 32, 21]
Generated Node #0,1: 24:[35, 32, 21] Operation: 73-52=21
Moving to Node #0,1
Current State: 24:[35, 32, 21], Operations: ['73-52=21']
Exploring Operation: 35-32=3, Resulting Numbers: [21, 3]
Generated Node #0,1,1: 24:[21, 3] Operation: 35-32=3
Moving to Node #0,1,1
Current State: 24:[21, 3], Operations: ['73-52=21', '35-32=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
13,
16,
86,
68
] | 11 | [
"13+16=29",
"86-68=18",
"29-18=11"
] | Current State: 11:[13, 16, 86, 68], Operations: []
Exploring Operation: 13+16=29, Resulting Numbers: [86, 68, 29]
Generated Node #2: [86, 68, 29] from Operation: 13+16=29
Current State: 11:[86, 68, 29], Operations: ['13+16=29']
Exploring Operation: 86-68=18, Resulting Numbers: [29, 18]
Generated Node #3: [29, 18] from Operation: 86-68=18
Current State: 11:[29, 18], Operations: ['13+16=29', '86-68=18']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[13, 16, 86, 68], Operations: []
Exploring Operation: 86-68=18, Resulting Numbers: [13, 16, 18]
Generated Node #0,0: 11:[13, 16, 18] Operation: 86-68=18
Exploring Operation: 86-16=70, Resulting Numbers: [13, 68, 70]
Generated Node #0,1: 11:[13, 68, 70] Operation: 86-16=70
Moving to Node #0,0
Current State: 11:[13, 16, 18], Operations: ['86-68=18']
Exploring Operation: 18-13=5, Resulting Numbers: [16, 5]
Generated Node #0,0,0: 11:[16, 5] Operation: 18-13=5
Exploring Operation: 18-16=2, Resulting Numbers: [13, 2]
Generated Node #0,0,1: 11:[13, 2] Operation: 18-16=2
Moving to Node #0,1
Current State: 11:[13, 68, 70], Operations: ['86-16=70']
Exploring Operation: 70-68=2, Resulting Numbers: [13, 2]
Generated Node #0,1,0: 11:[13, 2] Operation: 70-68=2
Exploring Operation: 68-13=55, Resulting Numbers: [70, 55]
Generated Node #0,1,1: 11:[70, 55] Operation: 68-13=55
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[13, 2], Operations: ['86-16=70', '70-68=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[13, 16, 86, 68], Operations: []
Exploring Operation: 86-16=70, Resulting Numbers: [13, 68, 70]
Generated Node #0,1: 11:[13, 68, 70] Operation: 86-16=70
Moving to Node #0,1
Current State: 11:[13, 68, 70], Operations: ['86-16=70']
Exploring Operation: 70-68=2, Resulting Numbers: [13, 2]
Generated Node #0,1,0: 11:[13, 2] Operation: 70-68=2
Moving to Node #0,1,0
Current State: 11:[13, 2], Operations: ['86-16=70', '70-68=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
4,
36,
98,
3
] | 55 | [
"4+36=40",
"98-3=95",
"95-40=55"
] | Current State: 55:[4, 36, 98, 3], Operations: []
Exploring Operation: 4+36=40, Resulting Numbers: [98, 3, 40]
Generated Node #2: [98, 3, 40] from Operation: 4+36=40
Current State: 55:[98, 3, 40], Operations: ['4+36=40']
Exploring Operation: 98-3=95, Resulting Numbers: [40, 95]
Generated Node #3: [40, 95] from Operation: 98-3=95
Current State: 55:[40, 95], Operations: ['4+36=40', '98-3=95']
Exploring Operation: 95-40=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[4, 36, 98, 3], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [4, 98, 12]
Generated Node #0,0: 55:[4, 98, 12] Operation: 36/3=12
Exploring Operation: 98-36=62, Resulting Numbers: [4, 3, 62]
Generated Node #0,1: 55:[4, 3, 62] Operation: 98-36=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[4, 3, 62], Operations: ['98-36=62']
Exploring Operation: 62-3=59, Resulting Numbers: [4, 59]
Generated Node #0,1,0: 55:[4, 59] Operation: 62-3=59
Exploring Operation: 62-4=58, Resulting Numbers: [3, 58]
Generated Node #0,1,1: 55:[3, 58] Operation: 62-4=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[4, 59], Operations: ['98-36=62', '62-3=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[4, 36, 98, 3], Operations: []
Exploring Operation: 98-36=62, Resulting Numbers: [4, 3, 62]
Generated Node #0,1: 55:[4, 3, 62] Operation: 98-36=62
Moving to Node #0,1
Current State: 55:[4, 3, 62], Operations: ['98-36=62']
Exploring Operation: 62-3=59, Resulting Numbers: [4, 59]
Generated Node #0,1,0: 55:[4, 59] Operation: 62-3=59
Moving to Node #0,1,0
Current State: 55:[4, 59], Operations: ['98-36=62', '62-3=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
31,
92,
28,
78
] | 33 | [
"92-78=14",
"28/14=2",
"31+2=33"
] | Current State: 33:[31, 92, 28, 78], Operations: []
Exploring Operation: 92-78=14, Resulting Numbers: [31, 28, 14]
Generated Node #2: [31, 28, 14] from Operation: 92-78=14
Current State: 33:[31, 28, 14], Operations: ['92-78=14']
Exploring Operation: 28/14=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 28/14=2
Current State: 33:[31, 2], Operations: ['92-78=14', '28/14=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[31, 92, 28, 78], Operations: []
Exploring Operation: 92-78=14, Resulting Numbers: [31, 28, 14]
Generated Node #0,0: 33:[31, 28, 14] Operation: 92-78=14
Exploring Operation: 92-31=61, Resulting Numbers: [28, 78, 61]
Generated Node #0,1: 33:[28, 78, 61] Operation: 92-31=61
Exploring Operation: 92-28=64, Resulting Numbers: [31, 78, 64]
Generated Node #0,2: 33:[31, 78, 64] Operation: 92-28=64
Exploring Operation: 78-31=47, Resulting Numbers: [92, 28, 47]
Generated Node #0,3: 33:[92, 28, 47] Operation: 78-31=47
Exploring Operation: 78-28=50, Resulting Numbers: [31, 92, 50]
Generated Node #0,4: 33:[31, 92, 50] Operation: 78-28=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[31, 28, 14], Operations: ['92-78=14']
Exploring Operation: 28-14=14, Resulting Numbers: [31, 14]
Generated Node #0,0,0: 33:[31, 14] Operation: 28-14=14
Exploring Operation: 31-28=3, Resulting Numbers: [14, 3]
Generated Node #0,0,1: 33:[14, 3] Operation: 31-28=3
Exploring Operation: 31-14=17, Resulting Numbers: [28, 17]
Generated Node #0,0,2: 33:[28, 17] Operation: 31-14=17
Exploring Operation: 28+14=42, Resulting Numbers: [31, 42]
Generated Node #0,0,3: 33:[31, 42] Operation: 28+14=42
Exploring Operation: 28/14=2, Resulting Numbers: [31, 2]
Generated Node #0,0,4: 33:[31, 2] Operation: 28/14=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[14, 3], Operations: ['92-78=14', '31-28=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 33:[31, 2], Operations: ['92-78=14', '28/14=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[31, 92, 28, 78], Operations: []
Exploring Operation: 92-78=14, Resulting Numbers: [31, 28, 14]
Generated Node #0,0: 33:[31, 28, 14] Operation: 92-78=14
Moving to Node #0,0
Current State: 33:[31, 28, 14], Operations: ['92-78=14']
Exploring Operation: 28/14=2, Resulting Numbers: [31, 2]
Generated Node #0,0,4: 33:[31, 2] Operation: 28/14=2
Moving to Node #0,0,4
Current State: 33:[31, 2], Operations: ['92-78=14', '28/14=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
90,
68,
7,
51
] | 73 | [
"68+51=119",
"119/7=17",
"90-17=73"
] | Current State: 73:[90, 68, 7, 51], Operations: []
Exploring Operation: 68+51=119, Resulting Numbers: [90, 7, 119]
Generated Node #2: [90, 7, 119] from Operation: 68+51=119
Current State: 73:[90, 7, 119], Operations: ['68+51=119']
Exploring Operation: 119/7=17, Resulting Numbers: [90, 17]
Generated Node #3: [90, 17] from Operation: 119/7=17
Current State: 73:[90, 17], Operations: ['68+51=119', '119/7=17']
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[90, 68, 7, 51], Operations: []
Exploring Operation: 90+7=97, Resulting Numbers: [68, 51, 97]
Generated Node #0,0: 73:[68, 51, 97] Operation: 90+7=97
Exploring Operation: 90-7=83, Resulting Numbers: [68, 51, 83]
Generated Node #0,1: 73:[68, 51, 83] Operation: 90-7=83
Exploring Operation: 68+7=75, Resulting Numbers: [90, 51, 75]
Generated Node #0,2: 73:[90, 51, 75] Operation: 68+7=75
Exploring Operation: 7+51=58, Resulting Numbers: [90, 68, 58]
Generated Node #0,3: 73:[90, 68, 58] Operation: 7+51=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[68, 51, 83], Operations: ['90-7=83']
Exploring Operation: 83-51=32, Resulting Numbers: [68, 32]
Generated Node #0,1,0: 73:[68, 32] Operation: 83-51=32
Exploring Operation: 68-51=17, Resulting Numbers: [83, 17]
Generated Node #0,1,1: 73:[83, 17] Operation: 68-51=17
Exploring Operation: 68+51=119, Resulting Numbers: [83, 119]
Generated Node #0,1,2: 73:[83, 119] Operation: 68+51=119
Exploring Operation: 51+83=134, Resulting Numbers: [68, 134]
Generated Node #0,1,3: 73:[68, 134] Operation: 51+83=134
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[68, 32], Operations: ['90-7=83', '83-51=32']
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 68+32=100, Resulting Numbers: [100]
100,73 unequal: No Solution
Exploring Operation: 68*32=2176, Resulting Numbers: [2176]
2176,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[83, 119], Operations: ['90-7=83', '68+51=119']
Exploring Operation: 119-83=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 83*119=9877, Resulting Numbers: [9877]
9877,73 unequal: No Solution
Exploring Operation: 83+119=202, Resulting Numbers: [202]
202,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[83, 17], Operations: ['90-7=83', '68-51=17']
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,73 unequal: No Solution
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,73 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 73:[68, 134], Operations: ['90-7=83', '51+83=134']
Exploring Operation: 68*134=9112, Resulting Numbers: [9112]
9112,73 unequal: No Solution
Exploring Operation: 68+134=202, Resulting Numbers: [202]
202,73 unequal: No Solution
Exploring Operation: 134-68=66, Resulting Numbers: [66]
66,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[90, 68, 58], Operations: ['7+51=58']
Exploring Operation: 90+58=148, Resulting Numbers: [68, 148]
Generated Node #0,3,0: 73:[68, 148] Operation: 90+58=148
Exploring Operation: 68+58=126, Resulting Numbers: [90, 126]
Generated Node #0,3,1: 73:[90, 126] Operation: 68+58=126
Exploring Operation: 90-68=22, Resulting Numbers: [58, 22]
Generated Node #0,3,2: 73:[58, 22] Operation: 90-68=22
Exploring Operation: 90-58=32, Resulting Numbers: [68, 32]
Generated Node #0,3,3: 73:[68, 32] Operation: 90-58=32
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 73:[68, 32], Operations: ['7+51=58', '90-58=32']
Exploring Operation: 68*32=2176, Resulting Numbers: [2176]
2176,73 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 68+32=100, Resulting Numbers: [100]
100,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 73:[58, 22], Operations: ['7+51=58', '90-68=22']
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,73 unequal: No Solution
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 73:[90, 126], Operations: ['7+51=58', '68+58=126']
Exploring Operation: 90*126=11340, Resulting Numbers: [11340]
11340,73 unequal: No Solution
Exploring Operation: 126-90=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 90+126=216, Resulting Numbers: [216]
216,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 73:[68, 148], Operations: ['7+51=58', '90+58=148']
Exploring Operation: 148-68=80, Resulting Numbers: [80]
80,73 unequal: No Solution
Exploring Operation: 68*148=10064, Resulting Numbers: [10064]
10064,73 unequal: No Solution
Exploring Operation: 68+148=216, Resulting Numbers: [216]
216,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[90, 51, 75], Operations: ['68+7=75']
Exploring Operation: 51+75=126, Resulting Numbers: [90, 126]
Generated Node #0,2,0: 73:[90, 126] Operation: 51+75=126
Exploring Operation: 90-51=39, Resulting Numbers: [75, 39]
Generated Node #0,2,1: 73:[75, 39] Operation: 90-51=39
Exploring Operation: 90+51=141, Resulting Numbers: [75, 141]
Generated Node #0,2,2: 73:[75, 141] Operation: 90+51=141
Exploring Operation: 75-51=24, Resulting Numbers: [90, 24]
Generated Node #0,2,3: 73:[90, 24] Operation: 75-51=24
Moving to Node #0,2,1
Current State: 73:[75, 39], Operations: ['68+7=75', '90-51=39']
Exploring Operation: 75+39=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 75*39=2925, Resulting Numbers: [2925]
2925,73 unequal: No Solution
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[90, 24], Operations: ['68+7=75', '75-51=24']
Exploring Operation: 90+24=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 90*24=2160, Resulting Numbers: [2160]
2160,73 unequal: No Solution
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[75, 141], Operations: ['68+7=75', '90+51=141']
Exploring Operation: 75*141=10575, Resulting Numbers: [10575]
10575,73 unequal: No Solution
Exploring Operation: 75+141=216, Resulting Numbers: [216]
216,73 unequal: No Solution
Exploring Operation: 141-75=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[90, 126], Operations: ['68+7=75', '51+75=126']
Exploring Operation: 126-90=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 90*126=11340, Resulting Numbers: [11340]
11340,73 unequal: No Solution
Exploring Operation: 90+126=216, Resulting Numbers: [216]
216,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[68, 51, 97], Operations: ['90+7=97']
Exploring Operation: 68-51=17, Resulting Numbers: [97, 17]
Generated Node #0,0,0: 73:[97, 17] Operation: 68-51=17
Exploring Operation: 97-51=46, Resulting Numbers: [68, 46]
Generated Node #0,0,1: 73:[68, 46] Operation: 97-51=46
Exploring Operation: 97-68=29, Resulting Numbers: [51, 29]
Generated Node #0,0,2: 73:[51, 29] Operation: 97-68=29
Exploring Operation: 68+51=119, Resulting Numbers: [97, 119]
Generated Node #0,0,3: 73:[97, 119] Operation: 68+51=119
Moving to Node #0,0,1
Current State: 73:[68, 46], Operations: ['90+7=97', '97-51=46']
Exploring Operation: 68*46=3128, Resulting Numbers: [3128]
3128,73 unequal: No Solution
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 68+46=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[51, 29], Operations: ['90+7=97', '97-68=29']
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 51+29=80, Resulting Numbers: [80]
80,73 unequal: No Solution
Exploring Operation: 51*29=1479, Resulting Numbers: [1479]
1479,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[97, 119], Operations: ['90+7=97', '68+51=119']
Exploring Operation: 97+119=216, Resulting Numbers: [216]
216,73 unequal: No Solution
Exploring Operation: 119-97=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 97*119=11543, Resulting Numbers: [11543]
11543,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[97, 17], Operations: ['90+7=97', '68-51=17']
Exploring Operation: 97*17=1649, Resulting Numbers: [1649]
1649,73 unequal: No Solution
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,73 unequal: No Solution
Exploring Operation: 97+17=114, Resulting Numbers: [114]
114,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
47,
16,
7,
27
] | 38 | [
"47+27=74",
"16*7=112",
"112-74=38"
] | Current State: 38:[47, 16, 7, 27], Operations: []
Exploring Operation: 47+27=74, Resulting Numbers: [16, 7, 74]
Generated Node #2: [16, 7, 74] from Operation: 47+27=74
Current State: 38:[16, 7, 74], Operations: ['47+27=74']
Exploring Operation: 16*7=112, Resulting Numbers: [74, 112]
Generated Node #3: [74, 112] from Operation: 16*7=112
Current State: 38:[74, 112], Operations: ['47+27=74', '16*7=112']
Exploring Operation: 112-74=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[47, 16, 7, 27], Operations: []
Exploring Operation: 7+27=34, Resulting Numbers: [47, 16, 34]
Generated Node #0,0: 38:[47, 16, 34] Operation: 7+27=34
Exploring Operation: 47-7=40, Resulting Numbers: [16, 27, 40]
Generated Node #0,1: 38:[16, 27, 40] Operation: 47-7=40
Exploring Operation: 47-27=20, Resulting Numbers: [16, 7, 20]
Generated Node #0,2: 38:[16, 7, 20] Operation: 47-27=20
Exploring Operation: 27-7=20, Resulting Numbers: [47, 16, 20]
Generated Node #0,3: 38:[47, 16, 20] Operation: 27-7=20
Exploring Operation: 16+27=43, Resulting Numbers: [47, 7, 43]
Generated Node #0,4: 38:[47, 7, 43] Operation: 16+27=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[16, 7, 20], Operations: ['47-27=20']
Exploring Operation: 20-7=13, Resulting Numbers: [16, 13]
Generated Node #0,2,0: 38:[16, 13] Operation: 20-7=13
Exploring Operation: 16-7=9, Resulting Numbers: [20, 9]
Generated Node #0,2,1: 38:[20, 9] Operation: 16-7=9
Exploring Operation: 20-16=4, Resulting Numbers: [7, 4]
Generated Node #0,2,2: 38:[7, 4] Operation: 20-16=4
Exploring Operation: 16+7=23, Resulting Numbers: [20, 23]
Generated Node #0,2,3: 38:[20, 23] Operation: 16+7=23
Exploring Operation: 16+20=36, Resulting Numbers: [7, 36]
Generated Node #0,2,4: 38:[7, 36] Operation: 16+20=36
Moving to Node #0,2,3
Current State: 38:[20, 23], Operations: ['47-27=20', '16+7=23']
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,38 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Moving to Node #0,2,4
Current State: 38:[7, 36], Operations: ['47-27=20', '16+20=36']
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,38 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[7, 4], Operations: ['47-27=20', '20-16=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[20, 9], Operations: ['47-27=20', '16-7=9']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,38 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[16, 13], Operations: ['47-27=20', '20-7=13']
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,38 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[16, 27, 40], Operations: ['47-7=40']
Exploring Operation: 16+27=43, Resulting Numbers: [40, 43]
Generated Node #0,1,0: 38:[40, 43] Operation: 16+27=43
Exploring Operation: 16+40=56, Resulting Numbers: [27, 56]
Generated Node #0,1,1: 38:[27, 56] Operation: 16+40=56
Exploring Operation: 40-16=24, Resulting Numbers: [27, 24]
Generated Node #0,1,2: 38:[27, 24] Operation: 40-16=24
Exploring Operation: 27-16=11, Resulting Numbers: [40, 11]
Generated Node #0,1,3: 38:[40, 11] Operation: 27-16=11
Exploring Operation: 40-27=13, Resulting Numbers: [16, 13]
Generated Node #0,1,4: 38:[16, 13] Operation: 40-27=13
Moving to Node #0,1,0
Current State: 38:[40, 43], Operations: ['47-7=40', '16+27=43']
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,38 unequal: No Solution
Moving to Node #0,1,4
Current State: 38:[16, 13], Operations: ['47-7=40', '40-27=13']
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,38 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[40, 11], Operations: ['47-7=40', '27-16=11']
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,38 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[27, 24], Operations: ['47-7=40', '40-16=24']
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,38 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[27, 56], Operations: ['47-7=40', '16+40=56']
Exploring Operation: 27*56=1512, Resulting Numbers: [1512]
1512,38 unequal: No Solution
Exploring Operation: 27+56=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[47, 16, 20], Operations: ['27-7=20']
Exploring Operation: 47+16=63, Resulting Numbers: [20, 63]
Generated Node #0,3,0: 38:[20, 63] Operation: 47+16=63
Exploring Operation: 47-16=31, Resulting Numbers: [20, 31]
Generated Node #0,3,1: 38:[20, 31] Operation: 47-16=31
Exploring Operation: 16+20=36, Resulting Numbers: [47, 36]
Generated Node #0,3,2: 38:[47, 36] Operation: 16+20=36
Exploring Operation: 47-20=27, Resulting Numbers: [16, 27]
Generated Node #0,3,3: 38:[16, 27] Operation: 47-20=27
Exploring Operation: 20-16=4, Resulting Numbers: [47, 4]
Generated Node #0,3,4: 38:[47, 4] Operation: 20-16=4
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 38:[20, 31], Operations: ['27-7=20', '47-16=31']
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,38 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 38:[47, 36], Operations: ['27-7=20', '16+20=36']
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 47*36=1692, Resulting Numbers: [1692]
1692,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 38:[16, 27], Operations: ['27-7=20', '47-20=27']
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,38 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 38:[47, 4], Operations: ['27-7=20', '20-16=4']
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,38 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 38:[20, 63], Operations: ['27-7=20', '47+16=63']
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Exploring Operation: 20*63=1260, Resulting Numbers: [1260]
1260,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[47, 16, 34], Operations: ['7+27=34']
Exploring Operation: 16+34=50, Resulting Numbers: [47, 50]
Generated Node #0,0,0: 38:[47, 50] Operation: 16+34=50
Exploring Operation: 47-16=31, Resulting Numbers: [34, 31]
Generated Node #0,0,1: 38:[34, 31] Operation: 47-16=31
Exploring Operation: 34-16=18, Resulting Numbers: [47, 18]
Generated Node #0,0,2: 38:[47, 18] Operation: 34-16=18
Exploring Operation: 47-34=13, Resulting Numbers: [16, 13]
Generated Node #0,0,3: 38:[16, 13] Operation: 47-34=13
Exploring Operation: 47+16=63, Resulting Numbers: [34, 63]
Generated Node #0,0,4: 38:[34, 63] Operation: 47+16=63
Moving to Node #0,0,3
Current State: 38:[16, 13], Operations: ['7+27=34', '47-34=13']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,38 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[47, 18], Operations: ['7+27=34', '34-16=18']
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 47+18=65, Resulting Numbers: [65]
65,38 unequal: No Solution
Exploring Operation: 47*18=846, Resulting Numbers: [846]
846,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[34, 31], Operations: ['7+27=34', '47-16=31']
Exploring Operation: 34*31=1054, Resulting Numbers: [1054]
1054,38 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[47, 50], Operations: ['7+27=34', '16+34=50']
Exploring Operation: 47*50=2350, Resulting Numbers: [2350]
2350,38 unequal: No Solution
Exploring Operation: 47+50=97, Resulting Numbers: [97]
97,38 unequal: No Solution
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Moving to Node #0,0,4
Current State: 38:[34, 63], Operations: ['7+27=34', '47+16=63']
Exploring Operation: 34*63=2142, Resulting Numbers: [2142]
2142,38 unequal: No Solution
Exploring Operation: 34+63=97, Resulting Numbers: [97]
97,38 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 38:[47, 7, 43], Operations: ['16+27=43']
Exploring Operation: 47-7=40, Resulting Numbers: [43, 40]
Generated Node #0,4,0: 38:[43, 40] Operation: 47-7=40
Exploring Operation: 47-43=4, Resulting Numbers: [7, 4]
Generated Node #0,4,1: 38:[7, 4] Operation: 47-43=4
Exploring Operation: 43-7=36, Resulting Numbers: [47, 36]
Generated Node #0,4,2: 38:[47, 36] Operation: 43-7=36
Exploring Operation: 7+43=50, Resulting Numbers: [47, 50]
Generated Node #0,4,3: 38:[47, 50] Operation: 7+43=50
Exploring Operation: 47+7=54, Resulting Numbers: [43, 54]
Generated Node #0,4,4: 38:[43, 54] Operation: 47+7=54
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 38:[43, 40], Operations: ['16+27=43', '47-7=40']
Exploring Operation: 43+40=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Exploring Operation: 43*40=1720, Resulting Numbers: [1720]
1720,38 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 38:[7, 4], Operations: ['16+27=43', '47-43=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 38:[47, 36], Operations: ['16+27=43', '43-7=36']
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 47*36=1692, Resulting Numbers: [1692]
1692,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 38:[47, 50], Operations: ['16+27=43', '7+43=50']
Exploring Operation: 47*50=2350, Resulting Numbers: [2350]
2350,38 unequal: No Solution
Exploring Operation: 47+50=97, Resulting Numbers: [97]
97,38 unequal: No Solution
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 38:[43, 54], Operations: ['16+27=43', '47+7=54']
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 43*54=2322, Resulting Numbers: [2322]
2322,38 unequal: No Solution
Exploring Operation: 43+54=97, Resulting Numbers: [97]
97,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
46,
85,
92,
15
] | 72 | [
"92/46=2",
"85-15=70",
"2+70=72"
] | Current State: 72:[46, 85, 92, 15], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [85, 15, 2]
Generated Node #2: [85, 15, 2] from Operation: 92/46=2
Current State: 72:[85, 15, 2], Operations: ['92/46=2']
Exploring Operation: 85-15=70, Resulting Numbers: [2, 70]
Generated Node #3: [2, 70] from Operation: 85-15=70
Current State: 72:[2, 70], Operations: ['92/46=2', '85-15=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[46, 85, 92, 15], Operations: []
Exploring Operation: 92-85=7, Resulting Numbers: [46, 15, 7]
Generated Node #0,0: 72:[46, 15, 7] Operation: 92-85=7
Exploring Operation: 92-15=77, Resulting Numbers: [46, 85, 77]
Generated Node #0,1: 72:[46, 85, 77] Operation: 92-15=77
Exploring Operation: 92/46=2, Resulting Numbers: [85, 15, 2]
Generated Node #0,2: 72:[85, 15, 2] Operation: 92/46=2
Exploring Operation: 85-46=39, Resulting Numbers: [92, 15, 39]
Generated Node #0,3: 72:[92, 15, 39] Operation: 85-46=39
Exploring Operation: 92-46=46, Resulting Numbers: [85, 15, 46]
Generated Node #0,4: 72:[85, 15, 46] Operation: 92-46=46
Moving to Node #0,0
Current State: 72:[46, 15, 7], Operations: ['92-85=7']
Exploring Operation: 46-15=31, Resulting Numbers: [7, 31]
Generated Node #0,0,0: 72:[7, 31] Operation: 46-15=31
Exploring Operation: 46+15=61, Resulting Numbers: [7, 61]
Generated Node #0,0,1: 72:[7, 61] Operation: 46+15=61
Exploring Operation: 46-7=39, Resulting Numbers: [15, 39]
Generated Node #0,0,2: 72:[15, 39] Operation: 46-7=39
Exploring Operation: 15+7=22, Resulting Numbers: [46, 22]
Generated Node #0,0,3: 72:[46, 22] Operation: 15+7=22
Exploring Operation: 15-7=8, Resulting Numbers: [46, 8]
Generated Node #0,0,4: 72:[46, 8] Operation: 15-7=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[7, 31], Operations: ['92-85=7', '46-15=31']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[15, 39], Operations: ['92-85=7', '46-7=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,72 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 72:[46, 8], Operations: ['92-85=7', '15-7=8']
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,72 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[7, 61], Operations: ['92-85=7', '46+15=61']
Exploring Operation: 7*61=427, Resulting Numbers: [427]
427,72 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 7+61=68, Resulting Numbers: [68]
68,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 72:[46, 22], Operations: ['92-85=7', '15+7=22']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,72 unequal: No Solution
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 72:[85, 15, 2], Operations: ['92/46=2']
Exploring Operation: 85-15=70, Resulting Numbers: [2, 70]
Generated Node #0,2,0: 72:[2, 70] Operation: 85-15=70
Exploring Operation: 85+2=87, Resulting Numbers: [15, 87]
Generated Node #0,2,1: 72:[15, 87] Operation: 85+2=87
Exploring Operation: 15+2=17, Resulting Numbers: [85, 17]
Generated Node #0,2,2: 72:[85, 17] Operation: 15+2=17
Exploring Operation: 15-2=13, Resulting Numbers: [85, 13]
Generated Node #0,2,3: 72:[85, 13] Operation: 15-2=13
Exploring Operation: 85-2=83, Resulting Numbers: [15, 83]
Generated Node #0,2,4: 72:[15, 83] Operation: 85-2=83
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 72:[2, 70], Operations: ['92/46=2', '85-15=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[46, 85, 92, 15], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [85, 15, 2]
Generated Node #0,2: 72:[85, 15, 2] Operation: 92/46=2
Moving to Node #0,2
Current State: 72:[85, 15, 2], Operations: ['92/46=2']
Exploring Operation: 85-15=70, Resulting Numbers: [2, 70]
Generated Node #0,2,0: 72:[2, 70] Operation: 85-15=70
Moving to Node #0,2,0
Current State: 72:[2, 70], Operations: ['92/46=2', '85-15=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
61,
15,
24,
80
] | 75 | [
"61+24=85",
"85-80=5",
"15*5=75"
] | Current State: 75:[61, 15, 24, 80], Operations: []
Exploring Operation: 61+24=85, Resulting Numbers: [15, 80, 85]
Generated Node #2: [15, 80, 85] from Operation: 61+24=85
Current State: 75:[15, 80, 85], Operations: ['61+24=85']
Exploring Operation: 85-80=5, Resulting Numbers: [15, 5]
Generated Node #3: [15, 5] from Operation: 85-80=5
Current State: 75:[15, 5], Operations: ['61+24=85', '85-80=5']
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[61, 15, 24, 80], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [15, 24, 19]
Generated Node #0,0: 75:[15, 24, 19] Operation: 80-61=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[15, 24, 19], Operations: ['80-61=19']
Exploring Operation: 24-19=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 75:[15, 5] Operation: 24-19=5
Moving to Node #0,0,0
Current State: 75:[15, 5], Operations: ['80-61=19', '24-19=5']
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[61, 15, 24, 80], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [15, 24, 19]
Generated Node #0,0: 75:[15, 24, 19] Operation: 80-61=19
Moving to Node #0,0
Current State: 75:[15, 24, 19], Operations: ['80-61=19']
Exploring Operation: 24-19=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 75:[15, 5] Operation: 24-19=5
Moving to Node #0,0,0
Current State: 75:[15, 5], Operations: ['80-61=19', '24-19=5']
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
45,
40,
77,
82
] | 10 | [
"45-40=5",
"82-77=5",
"5+5=10"
] | Current State: 10:[45, 40, 77, 82], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [77, 82, 5]
Generated Node #2: [77, 82, 5] from Operation: 45-40=5
Current State: 10:[77, 82, 5], Operations: ['45-40=5']
Exploring Operation: 82-77=5, Resulting Numbers: [5, 5]
Generated Node #3: [5, 5] from Operation: 82-77=5
Current State: 10:[5, 5], Operations: ['45-40=5', '82-77=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[45, 40, 77, 82], Operations: []
Exploring Operation: 77-40=37, Resulting Numbers: [45, 82, 37]
Generated Node #0,0: 10:[45, 82, 37] Operation: 77-40=37
Exploring Operation: 82-40=42, Resulting Numbers: [45, 77, 42]
Generated Node #0,1: 10:[45, 77, 42] Operation: 82-40=42
Exploring Operation: 82-77=5, Resulting Numbers: [45, 40, 5]
Generated Node #0,2: 10:[45, 40, 5] Operation: 82-77=5
Exploring Operation: 77-45=32, Resulting Numbers: [40, 82, 32]
Generated Node #0,3: 10:[40, 82, 32] Operation: 77-45=32
Exploring Operation: 82-45=37, Resulting Numbers: [40, 77, 37]
Generated Node #0,4: 10:[40, 77, 37] Operation: 82-45=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[45, 40, 5], Operations: ['82-77=5']
Exploring Operation: 40-5=35, Resulting Numbers: [45, 35]
Generated Node #0,2,0: 10:[45, 35] Operation: 40-5=35
Exploring Operation: 45-40=5, Resulting Numbers: [5, 5]
Generated Node #0,2,1: 10:[5, 5] Operation: 45-40=5
Exploring Operation: 45-5=40, Resulting Numbers: [40, 40]
Generated Node #0,2,2: 10:[40, 40] Operation: 45-5=40
Exploring Operation: 40/5=8, Resulting Numbers: [45, 8]
Generated Node #0,2,3: 10:[45, 8] Operation: 40/5=8
Exploring Operation: 45/5=9, Resulting Numbers: [40, 9]
Generated Node #0,2,4: 10:[40, 9] Operation: 45/5=9
Moving to Node #0,2,1
Current State: 10:[5, 5], Operations: ['82-77=5', '45-40=5']
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[45, 40, 77, 82], Operations: []
Exploring Operation: 82-77=5, Resulting Numbers: [45, 40, 5]
Generated Node #0,2: 10:[45, 40, 5] Operation: 82-77=5
Moving to Node #0,2
Current State: 10:[45, 40, 5], Operations: ['82-77=5']
Exploring Operation: 45-40=5, Resulting Numbers: [5, 5]
Generated Node #0,2,1: 10:[5, 5] Operation: 45-40=5
Moving to Node #0,2,1
Current State: 10:[5, 5], Operations: ['82-77=5', '45-40=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
89,
5,
59,
16
] | 19 | [
"89+5=94",
"59+16=75",
"94-75=19"
] | Current State: 19:[89, 5, 59, 16], Operations: []
Exploring Operation: 89+5=94, Resulting Numbers: [59, 16, 94]
Generated Node #2: [59, 16, 94] from Operation: 89+5=94
Current State: 19:[59, 16, 94], Operations: ['89+5=94']
Exploring Operation: 59+16=75, Resulting Numbers: [94, 75]
Generated Node #3: [94, 75] from Operation: 59+16=75
Current State: 19:[94, 75], Operations: ['89+5=94', '59+16=75']
Exploring Operation: 94-75=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[89, 5, 59, 16], Operations: []
Exploring Operation: 89-16=73, Resulting Numbers: [5, 59, 73]
Generated Node #0,0: 19:[5, 59, 73] Operation: 89-16=73
Exploring Operation: 59-5=54, Resulting Numbers: [89, 16, 54]
Generated Node #0,1: 19:[89, 16, 54] Operation: 59-5=54
Exploring Operation: 89-5=84, Resulting Numbers: [59, 16, 84]
Generated Node #0,2: 19:[59, 16, 84] Operation: 89-5=84
Exploring Operation: 59-16=43, Resulting Numbers: [89, 5, 43]
Generated Node #0,3: 19:[89, 5, 43] Operation: 59-16=43
Exploring Operation: 89-59=30, Resulting Numbers: [5, 16, 30]
Generated Node #0,4: 19:[5, 16, 30] Operation: 89-59=30
Moving to Node #0,4
Current State: 19:[5, 16, 30], Operations: ['89-59=30']
Exploring Operation: 16-5=11, Resulting Numbers: [30, 11]
Generated Node #0,4,0: 19:[30, 11] Operation: 16-5=11
Exploring Operation: 30/5=6, Resulting Numbers: [16, 6]
Generated Node #0,4,1: 19:[16, 6] Operation: 30/5=6
Exploring Operation: 30-5=25, Resulting Numbers: [16, 25]
Generated Node #0,4,2: 19:[16, 25] Operation: 30-5=25
Exploring Operation: 5+16=21, Resulting Numbers: [30, 21]
Generated Node #0,4,3: 19:[30, 21] Operation: 5+16=21
Exploring Operation: 5+30=35, Resulting Numbers: [16, 35]
Generated Node #0,4,4: 19:[16, 35] Operation: 5+30=35
Moving to Node #0,1
Current State: 19:[89, 16, 54], Operations: ['59-5=54']
Exploring Operation: 54-16=38, Resulting Numbers: [89, 38]
Generated Node #0,1,0: 19:[89, 38] Operation: 54-16=38
Exploring Operation: 89+16=105, Resulting Numbers: [54, 105]
Generated Node #0,1,1: 19:[54, 105] Operation: 89+16=105
Exploring Operation: 16+54=70, Resulting Numbers: [89, 70]
Generated Node #0,1,2: 19:[89, 70] Operation: 16+54=70
Exploring Operation: 89-54=35, Resulting Numbers: [16, 35]
Generated Node #0,1,3: 19:[16, 35] Operation: 89-54=35
Exploring Operation: 89-16=73, Resulting Numbers: [54, 73]
Generated Node #0,1,4: 19:[54, 73] Operation: 89-16=73
Moving to Node #0,3
Current State: 19:[89, 5, 43], Operations: ['59-16=43']
Exploring Operation: 89-5=84, Resulting Numbers: [43, 84]
Generated Node #0,3,0: 19:[43, 84] Operation: 89-5=84
Exploring Operation: 89-43=46, Resulting Numbers: [5, 46]
Generated Node #0,3,1: 19:[5, 46] Operation: 89-43=46
Exploring Operation: 89+5=94, Resulting Numbers: [43, 94]
Generated Node #0,3,2: 19:[43, 94] Operation: 89+5=94
Exploring Operation: 5+43=48, Resulting Numbers: [89, 48]
Generated Node #0,3,3: 19:[89, 48] Operation: 5+43=48
Exploring Operation: 43-5=38, Resulting Numbers: [89, 38]
Generated Node #0,3,4: 19:[89, 38] Operation: 43-5=38
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[5, 46], Operations: ['59-16=43', '89-43=46']
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,19 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[43, 84], Operations: ['59-16=43', '89-5=84']
Exploring Operation: 43*84=3612, Resulting Numbers: [3612]
3612,19 unequal: No Solution
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 43+84=127, Resulting Numbers: [127]
127,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 19:[89, 38], Operations: ['59-16=43', '43-5=38']
Exploring Operation: 89+38=127, Resulting Numbers: [127]
127,19 unequal: No Solution
Exploring Operation: 89-38=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 89*38=3382, Resulting Numbers: [3382]
3382,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 19:[43, 94], Operations: ['59-16=43', '89+5=94']
Exploring Operation: 43+94=137, Resulting Numbers: [137]
137,19 unequal: No Solution
Exploring Operation: 94-43=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 43*94=4042, Resulting Numbers: [4042]
4042,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 19:[89, 48], Operations: ['59-16=43', '5+43=48']
Exploring Operation: 89+48=137, Resulting Numbers: [137]
137,19 unequal: No Solution
Exploring Operation: 89-48=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 89*48=4272, Resulting Numbers: [4272]
4272,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 19:[5, 59, 73], Operations: ['89-16=73']
Exploring Operation: 5+73=78, Resulting Numbers: [59, 78]
Generated Node #0,0,0: 19:[59, 78] Operation: 5+73=78
Exploring Operation: 5+59=64, Resulting Numbers: [73, 64]
Generated Node #0,0,1: 19:[73, 64] Operation: 5+59=64
Exploring Operation: 59-5=54, Resulting Numbers: [73, 54]
Generated Node #0,0,2: 19:[73, 54] Operation: 59-5=54
Exploring Operation: 73-59=14, Resulting Numbers: [5, 14]
Generated Node #0,0,3: 19:[5, 14] Operation: 73-59=14
Exploring Operation: 73-5=68, Resulting Numbers: [59, 68]
Generated Node #0,0,4: 19:[59, 68] Operation: 73-5=68
Moving to Node #0,2
Current State: 19:[59, 16, 84], Operations: ['89-5=84']
Exploring Operation: 59+16=75, Resulting Numbers: [84, 75]
Generated Node #0,2,0: 19:[84, 75] Operation: 59+16=75
Exploring Operation: 84-16=68, Resulting Numbers: [59, 68]
Generated Node #0,2,1: 19:[59, 68] Operation: 84-16=68
Exploring Operation: 16+84=100, Resulting Numbers: [59, 100]
Generated Node #0,2,2: 19:[59, 100] Operation: 16+84=100
Exploring Operation: 59-16=43, Resulting Numbers: [84, 43]
Generated Node #0,2,3: 19:[84, 43] Operation: 59-16=43
Exploring Operation: 84-59=25, Resulting Numbers: [16, 25]
Generated Node #0,2,4: 19:[16, 25] Operation: 84-59=25
Moving to Node #0,4,2
Current State: 19:[16, 25], Operations: ['89-59=30', '30-5=25']
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,19 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Moving to Node #0,2,4
Current State: 19:[16, 25], Operations: ['89-5=84', '84-59=25']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,19 unequal: No Solution
Moving to Node #0,4,3
Current State: 19:[30, 21], Operations: ['89-59=30', '5+16=21']
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,19 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[16, 6], Operations: ['89-59=30', '30/5=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[16, 35], Operations: ['59-5=54', '89-54=35']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[89, 5, 59, 16], Operations: []
Exploring Operation: 59-5=54, Resulting Numbers: [89, 16, 54]
Generated Node #0,1: 19:[89, 16, 54] Operation: 59-5=54
Moving to Node #0,1
Current State: 19:[89, 16, 54], Operations: ['59-5=54']
Exploring Operation: 89-54=35, Resulting Numbers: [16, 35]
Generated Node #0,1,3: 19:[16, 35] Operation: 89-54=35
Moving to Node #0,1,3
Current State: 19:[16, 35], Operations: ['59-5=54', '89-54=35']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.946181 | hs_5 | sum_heuristic |
[
37,
50,
75,
8
] | 54 | [
"50-37=13",
"75-8=67",
"67-13=54"
] | Current State: 54:[37, 50, 75, 8], Operations: []
Exploring Operation: 50-37=13, Resulting Numbers: [75, 8, 13]
Generated Node #2: [75, 8, 13] from Operation: 50-37=13
Current State: 54:[75, 8, 13], Operations: ['50-37=13']
Exploring Operation: 75-8=67, Resulting Numbers: [13, 67]
Generated Node #3: [13, 67] from Operation: 75-8=67
Current State: 54:[13, 67], Operations: ['50-37=13', '75-8=67']
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[37, 50, 75, 8], Operations: []
Exploring Operation: 75-37=38, Resulting Numbers: [50, 8, 38]
Generated Node #0,0: 54:[50, 8, 38] Operation: 75-37=38
Exploring Operation: 75-50=25, Resulting Numbers: [37, 8, 25]
Generated Node #0,1: 54:[37, 8, 25] Operation: 75-50=25
Exploring Operation: 50-37=13, Resulting Numbers: [75, 8, 13]
Generated Node #0,2: 54:[75, 8, 13] Operation: 50-37=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[37, 8, 25], Operations: ['75-50=25']
Exploring Operation: 37+25=62, Resulting Numbers: [8, 62]
Generated Node #0,1,0: 54:[8, 62] Operation: 37+25=62
Exploring Operation: 37-8=29, Resulting Numbers: [25, 29]
Generated Node #0,1,1: 54:[25, 29] Operation: 37-8=29
Exploring Operation: 37-25=12, Resulting Numbers: [8, 12]
Generated Node #0,1,2: 54:[8, 12] Operation: 37-25=12
Moving to Node #0,1,1
Current State: 54:[25, 29], Operations: ['75-50=25', '37-8=29']
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[37, 50, 75, 8], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [37, 8, 25]
Generated Node #0,1: 54:[37, 8, 25] Operation: 75-50=25
Moving to Node #0,1
Current State: 54:[37, 8, 25], Operations: ['75-50=25']
Exploring Operation: 37-8=29, Resulting Numbers: [25, 29]
Generated Node #0,1,1: 54:[25, 29] Operation: 37-8=29
Moving to Node #0,1,1
Current State: 54:[25, 29], Operations: ['75-50=25', '37-8=29']
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
96,
15,
89,
74
] | 82 | [
"96-15=81",
"89+74=163",
"163-81=82"
] | Current State: 82:[96, 15, 89, 74], Operations: []
Exploring Operation: 96-15=81, Resulting Numbers: [89, 74, 81]
Generated Node #2: [89, 74, 81] from Operation: 96-15=81
Current State: 82:[89, 74, 81], Operations: ['96-15=81']
Exploring Operation: 89+74=163, Resulting Numbers: [81, 163]
Generated Node #3: [81, 163] from Operation: 89+74=163
Current State: 82:[81, 163], Operations: ['96-15=81', '89+74=163']
Exploring Operation: 163-81=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[96, 15, 89, 74], Operations: []
Exploring Operation: 96-89=7, Resulting Numbers: [15, 74, 7]
Generated Node #0,0: 82:[15, 74, 7] Operation: 96-89=7
Exploring Operation: 96-15=81, Resulting Numbers: [89, 74, 81]
Generated Node #0,1: 82:[89, 74, 81] Operation: 96-15=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[89, 74, 81], Operations: ['96-15=81']
Exploring Operation: 81-74=7, Resulting Numbers: [89, 7]
Generated Node #0,1,0: 82:[89, 7] Operation: 81-74=7
Exploring Operation: 89-74=15, Resulting Numbers: [81, 15]
Generated Node #0,1,1: 82:[81, 15] Operation: 89-74=15
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[89, 7], Operations: ['96-15=81', '81-74=7']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[96, 15, 89, 74], Operations: []
Exploring Operation: 96-15=81, Resulting Numbers: [89, 74, 81]
Generated Node #0,1: 82:[89, 74, 81] Operation: 96-15=81
Moving to Node #0,1
Current State: 82:[89, 74, 81], Operations: ['96-15=81']
Exploring Operation: 81-74=7, Resulting Numbers: [89, 7]
Generated Node #0,1,0: 82:[89, 7] Operation: 81-74=7
Moving to Node #0,1,0
Current State: 82:[89, 7], Operations: ['96-15=81', '81-74=7']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
94,
69,
45,
3
] | 10 | [
"94-69=25",
"45/3=15",
"25-15=10"
] | Current State: 10:[94, 69, 45, 3], Operations: []
Exploring Operation: 94-69=25, Resulting Numbers: [45, 3, 25]
Generated Node #2: [45, 3, 25] from Operation: 94-69=25
Current State: 10:[45, 3, 25], Operations: ['94-69=25']
Exploring Operation: 45/3=15, Resulting Numbers: [25, 15]
Generated Node #3: [25, 15] from Operation: 45/3=15
Current State: 10:[25, 15], Operations: ['94-69=25', '45/3=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[94, 69, 45, 3], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [69, 3, 49]
Generated Node #0,0: 10:[69, 3, 49] Operation: 94-45=49
Exploring Operation: 94-69=25, Resulting Numbers: [45, 3, 25]
Generated Node #0,1: 10:[45, 3, 25] Operation: 94-69=25
Moving to Node #0,1
Current State: 10:[45, 3, 25], Operations: ['94-69=25']
Exploring Operation: 45-25=20, Resulting Numbers: [3, 20]
Generated Node #0,1,0: 10:[3, 20] Operation: 45-25=20
Exploring Operation: 45/3=15, Resulting Numbers: [25, 15]
Generated Node #0,1,1: 10:[25, 15] Operation: 45/3=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[3, 20], Operations: ['94-69=25', '45-25=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[25, 15], Operations: ['94-69=25', '45/3=15']
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[94, 69, 45, 3], Operations: []
Exploring Operation: 94-69=25, Resulting Numbers: [45, 3, 25]
Generated Node #0,1: 10:[45, 3, 25] Operation: 94-69=25
Moving to Node #0,1
Current State: 10:[45, 3, 25], Operations: ['94-69=25']
Exploring Operation: 45/3=15, Resulting Numbers: [25, 15]
Generated Node #0,1,1: 10:[25, 15] Operation: 45/3=15
Moving to Node #0,1,1
Current State: 10:[25, 15], Operations: ['94-69=25', '45/3=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
84,
26,
92,
22
] | 81 | [
"92-26=66",
"66/22=3",
"84-3=81"
] | Current State: 81:[84, 26, 92, 22], Operations: []
Exploring Operation: 92-26=66, Resulting Numbers: [84, 22, 66]
Generated Node #2: [84, 22, 66] from Operation: 92-26=66
Current State: 81:[84, 22, 66], Operations: ['92-26=66']
Exploring Operation: 66/22=3, Resulting Numbers: [84, 3]
Generated Node #3: [84, 3] from Operation: 66/22=3
Current State: 81:[84, 3], Operations: ['92-26=66', '66/22=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[84, 26, 92, 22], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [26, 22, 8]
Generated Node #0,0: 81:[26, 22, 8] Operation: 92-84=8
Moving to Node #0,0
Current State: 81:[26, 22, 8], Operations: ['92-84=8']
Exploring Operation: 26-22=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 81:[8, 4] Operation: 26-22=4
Moving to Node #0,0,0
Current State: 81:[8, 4], Operations: ['92-84=8', '26-22=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,81 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
17,
69,
8,
11
] | 40 | [
"11-8=3",
"69/3=23",
"17+23=40"
] | Current State: 40:[17, 69, 8, 11], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [17, 69, 3]
Generated Node #2: [17, 69, 3] from Operation: 11-8=3
Current State: 40:[17, 69, 3], Operations: ['11-8=3']
Exploring Operation: 69/3=23, Resulting Numbers: [17, 23]
Generated Node #3: [17, 23] from Operation: 69/3=23
Current State: 40:[17, 23], Operations: ['11-8=3', '69/3=23']
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[17, 69, 8, 11], Operations: []
Exploring Operation: 69-11=58, Resulting Numbers: [17, 8, 58]
Generated Node #0,0: 40:[17, 8, 58] Operation: 69-11=58
Exploring Operation: 69-8=61, Resulting Numbers: [17, 11, 61]
Generated Node #0,1: 40:[17, 11, 61] Operation: 69-8=61
Exploring Operation: 69-17=52, Resulting Numbers: [8, 11, 52]
Generated Node #0,2: 40:[8, 11, 52] Operation: 69-17=52
Moving to Node #0,2
Current State: 40:[8, 11, 52], Operations: ['69-17=52']
Exploring Operation: 52-11=41, Resulting Numbers: [8, 41]
Generated Node #0,2,0: 40:[8, 41] Operation: 52-11=41
Exploring Operation: 52-8=44, Resulting Numbers: [11, 44]
Generated Node #0,2,1: 40:[11, 44] Operation: 52-8=44
Exploring Operation: 8+11=19, Resulting Numbers: [52, 19]
Generated Node #0,2,2: 40:[52, 19] Operation: 8+11=19
Moving to Node #0,0
Current State: 40:[17, 8, 58], Operations: ['69-11=58']
Exploring Operation: 58-8=50, Resulting Numbers: [17, 50]
Generated Node #0,0,0: 40:[17, 50] Operation: 58-8=50
Exploring Operation: 17-8=9, Resulting Numbers: [58, 9]
Generated Node #0,0,1: 40:[58, 9] Operation: 17-8=9
Exploring Operation: 58-17=41, Resulting Numbers: [8, 41]
Generated Node #0,0,2: 40:[8, 41] Operation: 58-17=41
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 40:[8, 41], Operations: ['69-11=58', '58-17=41']
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[17, 50], Operations: ['69-11=58', '58-8=50']
Exploring Operation: 17*50=850, Resulting Numbers: [850]
850,40 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 17+50=67, Resulting Numbers: [67]
67,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[58, 9], Operations: ['69-11=58', '17-8=9']
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,40 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 40:[17, 11, 61], Operations: ['69-8=61']
Exploring Operation: 17-11=6, Resulting Numbers: [61, 6]
Generated Node #0,1,0: 40:[61, 6] Operation: 17-11=6
Exploring Operation: 61-17=44, Resulting Numbers: [11, 44]
Generated Node #0,1,1: 40:[11, 44] Operation: 61-17=44
Exploring Operation: 61-11=50, Resulting Numbers: [17, 50]
Generated Node #0,1,2: 40:[17, 50] Operation: 61-11=50
Moving to Node #0,2,0
Current State: 40:[8, 41], Operations: ['69-17=52', '52-11=41']
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[11, 44], Operations: ['69-17=52', '52-8=44']
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[11, 44], Operations: ['69-8=61', '61-17=44']
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[52, 19], Operations: ['69-17=52', '8+11=19']
Exploring Operation: 52*19=988, Resulting Numbers: [988]
988,40 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[17, 50], Operations: ['69-8=61', '61-11=50']
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 17+50=67, Resulting Numbers: [67]
67,40 unequal: No Solution
Exploring Operation: 17*50=850, Resulting Numbers: [850]
850,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[61, 6], Operations: ['69-8=61', '17-11=6']
Exploring Operation: 61*6=366, Resulting Numbers: [366]
366,40 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,40 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
58,
15,
71,
41
] | 82 | [
"58+15=73",
"73-71=2",
"41*2=82"
] | Current State: 82:[58, 15, 71, 41], Operations: []
Exploring Operation: 58+15=73, Resulting Numbers: [71, 41, 73]
Generated Node #2: [71, 41, 73] from Operation: 58+15=73
Current State: 82:[71, 41, 73], Operations: ['58+15=73']
Exploring Operation: 73-71=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 73-71=2
Current State: 82:[41, 2], Operations: ['58+15=73', '73-71=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[58, 15, 71, 41], Operations: []
Exploring Operation: 58-15=43, Resulting Numbers: [71, 41, 43]
Generated Node #0,0: 82:[71, 41, 43] Operation: 58-15=43
Exploring Operation: 58+15=73, Resulting Numbers: [71, 41, 73]
Generated Node #0,1: 82:[71, 41, 73] Operation: 58+15=73
Exploring Operation: 15+71=86, Resulting Numbers: [58, 41, 86]
Generated Node #0,2: 82:[58, 41, 86] Operation: 15+71=86
Exploring Operation: 71-15=56, Resulting Numbers: [58, 41, 56]
Generated Node #0,3: 82:[58, 41, 56] Operation: 71-15=56
Exploring Operation: 71-58=13, Resulting Numbers: [15, 41, 13]
Generated Node #0,4: 82:[15, 41, 13] Operation: 71-58=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[71, 41, 43], Operations: ['58-15=43']
Exploring Operation: 43-41=2, Resulting Numbers: [71, 2]
Generated Node #0,0,0: 82:[71, 2] Operation: 43-41=2
Exploring Operation: 71-41=30, Resulting Numbers: [43, 30]
Generated Node #0,0,1: 82:[43, 30] Operation: 71-41=30
Exploring Operation: 71-43=28, Resulting Numbers: [41, 28]
Generated Node #0,0,2: 82:[41, 28] Operation: 71-43=28
Exploring Operation: 71+41=112, Resulting Numbers: [43, 112]
Generated Node #0,0,3: 82:[43, 112] Operation: 71+41=112
Exploring Operation: 41+43=84, Resulting Numbers: [71, 84]
Generated Node #0,0,4: 82:[71, 84] Operation: 41+43=84
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[71, 2], Operations: ['58-15=43', '43-41=2']
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,82 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[43, 30], Operations: ['58-15=43', '71-41=30']
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,82 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[41, 28], Operations: ['58-15=43', '71-43=28']
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,82 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 82:[71, 84], Operations: ['58-15=43', '41+43=84']
Exploring Operation: 71*84=5964, Resulting Numbers: [5964]
5964,82 unequal: No Solution
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 71+84=155, Resulting Numbers: [155]
155,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 82:[43, 112], Operations: ['58-15=43', '71+41=112']
Exploring Operation: 112-43=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 43+112=155, Resulting Numbers: [155]
155,82 unequal: No Solution
Exploring Operation: 43*112=4816, Resulting Numbers: [4816]
4816,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[71, 41, 73], Operations: ['58+15=73']
Exploring Operation: 71+41=112, Resulting Numbers: [73, 112]
Generated Node #0,1,0: 82:[73, 112] Operation: 71+41=112
Exploring Operation: 73-71=2, Resulting Numbers: [41, 2]
Generated Node #0,1,1: 82:[41, 2] Operation: 73-71=2
Exploring Operation: 71-41=30, Resulting Numbers: [73, 30]
Generated Node #0,1,2: 82:[73, 30] Operation: 71-41=30
Exploring Operation: 41+73=114, Resulting Numbers: [71, 114]
Generated Node #0,1,3: 82:[71, 114] Operation: 41+73=114
Exploring Operation: 73-41=32, Resulting Numbers: [71, 32]
Generated Node #0,1,4: 82:[71, 32] Operation: 73-41=32
Moving to Node #0,1,1
Current State: 82:[41, 2], Operations: ['58+15=73', '73-71=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[58, 15, 71, 41], Operations: []
Exploring Operation: 58+15=73, Resulting Numbers: [71, 41, 73]
Generated Node #0,1: 82:[71, 41, 73] Operation: 58+15=73
Moving to Node #0,1
Current State: 82:[71, 41, 73], Operations: ['58+15=73']
Exploring Operation: 73-71=2, Resulting Numbers: [41, 2]
Generated Node #0,1,1: 82:[41, 2] Operation: 73-71=2
Moving to Node #0,1,1
Current State: 82:[41, 2], Operations: ['58+15=73', '73-71=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
10,
40,
26,
32
] | 100 | [
"32-26=6",
"10*6=60",
"40+60=100"
] | Current State: 100:[10, 40, 26, 32], Operations: []
Exploring Operation: 32-26=6, Resulting Numbers: [10, 40, 6]
Generated Node #2: [10, 40, 6] from Operation: 32-26=6
Current State: 100:[10, 40, 6], Operations: ['32-26=6']
Exploring Operation: 10*6=60, Resulting Numbers: [40, 60]
Generated Node #3: [40, 60] from Operation: 10*6=60
Current State: 100:[40, 60], Operations: ['32-26=6', '10*6=60']
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[10, 40, 26, 32], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [10, 26, 8]
Generated Node #0,0: 100:[10, 26, 8] Operation: 40-32=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[10, 26, 8], Operations: ['40-32=8']
Exploring Operation: 10-8=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 100:[26, 2] Operation: 10-8=2
Moving to Node #0,0,0
Current State: 100:[26, 2], Operations: ['40-32=8', '10-8=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
11,
89,
45,
40
] | 95 | [
"11+89=100",
"45-40=5",
"100-5=95"
] | Current State: 95:[11, 89, 45, 40], Operations: []
Exploring Operation: 11+89=100, Resulting Numbers: [45, 40, 100]
Generated Node #2: [45, 40, 100] from Operation: 11+89=100
Current State: 95:[45, 40, 100], Operations: ['11+89=100']
Exploring Operation: 45-40=5, Resulting Numbers: [100, 5]
Generated Node #3: [100, 5] from Operation: 45-40=5
Current State: 95:[100, 5], Operations: ['11+89=100', '45-40=5']
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[11, 89, 45, 40], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [11, 89, 5]
Generated Node #0,0: 95:[11, 89, 5] Operation: 45-40=5
Exploring Operation: 45+40=85, Resulting Numbers: [11, 89, 85]
Generated Node #0,1: 95:[11, 89, 85] Operation: 45+40=85
Moving to Node #0,0
Current State: 95:[11, 89, 5], Operations: ['45-40=5']
Exploring Operation: 11+89=100, Resulting Numbers: [5, 100]
Generated Node #0,0,0: 95:[5, 100] Operation: 11+89=100
Exploring Operation: 11-5=6, Resulting Numbers: [89, 6]
Generated Node #0,0,1: 95:[89, 6] Operation: 11-5=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[5, 100], Operations: ['45-40=5', '11+89=100']
Exploring Operation: 100/5=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[11, 89, 45, 40], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [11, 89, 5]
Generated Node #0,0: 95:[11, 89, 5] Operation: 45-40=5
Moving to Node #0,0
Current State: 95:[11, 89, 5], Operations: ['45-40=5']
Exploring Operation: 11+89=100, Resulting Numbers: [5, 100]
Generated Node #0,0,0: 95:[5, 100] Operation: 11+89=100
Moving to Node #0,0,0
Current State: 95:[5, 100], Operations: ['45-40=5', '11+89=100']
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
54,
95,
93,
45
] | 97 | [
"95-54=41",
"93+45=138",
"138-41=97"
] | Current State: 97:[54, 95, 93, 45], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [93, 45, 41]
Generated Node #2: [93, 45, 41] from Operation: 95-54=41
Current State: 97:[93, 45, 41], Operations: ['95-54=41']
Exploring Operation: 93+45=138, Resulting Numbers: [41, 138]
Generated Node #3: [41, 138] from Operation: 93+45=138
Current State: 97:[41, 138], Operations: ['95-54=41', '93+45=138']
Exploring Operation: 138-41=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[54, 95, 93, 45], Operations: []
Exploring Operation: 54+45=99, Resulting Numbers: [95, 93, 99]
Generated Node #0,0: 97:[95, 93, 99] Operation: 54+45=99
Moving to Node #0,0
Current State: 97:[95, 93, 99], Operations: ['54+45=99']
Exploring Operation: 95+93=188, Resulting Numbers: [99, 188]
Generated Node #0,0,0: 97:[99, 188] Operation: 95+93=188
Moving to Node #0,0,0
Current State: 97:[99, 188], Operations: ['54+45=99', '95+93=188']
Exploring Operation: 188-99=89, Resulting Numbers: [89]
89,97 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
6,
9,
11
] | 22 | [
"9-6=3",
"33/3=11",
"11+11=22"
] | Current State: 22:[33, 6, 9, 11], Operations: []
Exploring Operation: 9-6=3, Resulting Numbers: [33, 11, 3]
Generated Node #2: [33, 11, 3] from Operation: 9-6=3
Current State: 22:[33, 11, 3], Operations: ['9-6=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11, 11]
Generated Node #3: [11, 11] from Operation: 33/3=11
Current State: 22:[11, 11], Operations: ['9-6=3', '33/3=11']
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[33, 6, 9, 11], Operations: []
Exploring Operation: 33-9=24, Resulting Numbers: [6, 11, 24]
Generated Node #0,0: 22:[6, 11, 24] Operation: 33-9=24
Exploring Operation: 33-11=22, Resulting Numbers: [6, 9, 22]
Generated Node #0,1: 22:[6, 9, 22] Operation: 33-11=22
Moving to Node #0,0
Current State: 22:[6, 11, 24], Operations: ['33-9=24']
Exploring Operation: 24-6=18, Resulting Numbers: [11, 18]
Generated Node #0,0,0: 22:[11, 18] Operation: 24-6=18
Exploring Operation: 24/6=4, Resulting Numbers: [11, 4]
Generated Node #0,0,1: 22:[11, 4] Operation: 24/6=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[11, 4], Operations: ['33-9=24', '24/6=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[11, 18], Operations: ['33-9=24', '24-6=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 22:[6, 9, 22], Operations: ['33-11=22']
Exploring Operation: 6+9=15, Resulting Numbers: [22, 15]
Generated Node #0,1,0: 22:[22, 15] Operation: 6+9=15
Exploring Operation: 9-6=3, Resulting Numbers: [22, 3]
Generated Node #0,1,1: 22:[22, 3] Operation: 9-6=3
Moving to Node #0,1,1
Current State: 22:[22, 3], Operations: ['33-11=22', '9-6=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[22, 15], Operations: ['33-11=22', '6+9=15']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,22 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
16,
90,
93
] | 87 | [
"16-1=15",
"90/15=6",
"93-6=87"
] | Current State: 87:[1, 16, 90, 93], Operations: []
Exploring Operation: 16-1=15, Resulting Numbers: [90, 93, 15]
Generated Node #2: [90, 93, 15] from Operation: 16-1=15
Current State: 87:[90, 93, 15], Operations: ['16-1=15']
Exploring Operation: 90/15=6, Resulting Numbers: [93, 6]
Generated Node #3: [93, 6] from Operation: 90/15=6
Current State: 87:[93, 6], Operations: ['16-1=15', '90/15=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[1, 16, 90, 93], Operations: []
Exploring Operation: 93-16=77, Resulting Numbers: [1, 90, 77]
Generated Node #0,0: 87:[1, 90, 77] Operation: 93-16=77
Exploring Operation: 16-1=15, Resulting Numbers: [90, 93, 15]
Generated Node #0,1: 87:[90, 93, 15] Operation: 16-1=15
Exploring Operation: 93-90=3, Resulting Numbers: [1, 16, 3]
Generated Node #0,2: 87:[1, 16, 3] Operation: 93-90=3
Exploring Operation: 1+16=17, Resulting Numbers: [90, 93, 17]
Generated Node #0,3: 87:[90, 93, 17] Operation: 1+16=17
Moving to Node #0,0
Current State: 87:[1, 90, 77], Operations: ['93-16=77']
Exploring Operation: 1*90=90, Resulting Numbers: [77, 90]
Generated Node #0,0,0: 87:[77, 90] Operation: 1*90=90
Exploring Operation: 90-77=13, Resulting Numbers: [1, 13]
Generated Node #0,0,1: 87:[1, 13] Operation: 90-77=13
Exploring Operation: 90-1=89, Resulting Numbers: [77, 89]
Generated Node #0,0,2: 87:[77, 89] Operation: 90-1=89
Exploring Operation: 1+77=78, Resulting Numbers: [90, 78]
Generated Node #0,0,3: 87:[90, 78] Operation: 1+77=78
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[1, 13], Operations: ['93-16=77', '90-77=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[77, 89], Operations: ['93-16=77', '90-1=89']
Exploring Operation: 89-77=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 77+89=166, Resulting Numbers: [166]
166,87 unequal: No Solution
Exploring Operation: 77*89=6853, Resulting Numbers: [6853]
6853,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 87:[90, 78], Operations: ['93-16=77', '1+77=78']
Exploring Operation: 90+78=168, Resulting Numbers: [168]
168,87 unequal: No Solution
Exploring Operation: 90*78=7020, Resulting Numbers: [7020]
7020,87 unequal: No Solution
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[77, 90], Operations: ['93-16=77', '1*90=90']
Exploring Operation: 77+90=167, Resulting Numbers: [167]
167,87 unequal: No Solution
Exploring Operation: 90-77=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 77*90=6930, Resulting Numbers: [6930]
6930,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 87:[1, 16, 3], Operations: ['93-90=3']
Exploring Operation: 16-3=13, Resulting Numbers: [1, 13]
Generated Node #0,2,0: 87:[1, 13] Operation: 16-3=13
Exploring Operation: 1+16=17, Resulting Numbers: [3, 17]
Generated Node #0,2,1: 87:[3, 17] Operation: 1+16=17
Exploring Operation: 16+3=19, Resulting Numbers: [1, 19]
Generated Node #0,2,2: 87:[1, 19] Operation: 16+3=19
Exploring Operation: 16-1=15, Resulting Numbers: [3, 15]
Generated Node #0,2,3: 87:[3, 15] Operation: 16-1=15
Moving to Node #0,3
Current State: 87:[90, 93, 17], Operations: ['1+16=17']
Exploring Operation: 93-17=76, Resulting Numbers: [90, 76]
Generated Node #0,3,0: 87:[90, 76] Operation: 93-17=76
Exploring Operation: 90+17=107, Resulting Numbers: [93, 107]
Generated Node #0,3,1: 87:[93, 107] Operation: 90+17=107
Exploring Operation: 90-17=73, Resulting Numbers: [93, 73]
Generated Node #0,3,2: 87:[93, 73] Operation: 90-17=73
Exploring Operation: 93-90=3, Resulting Numbers: [17, 3]
Generated Node #0,3,3: 87:[17, 3] Operation: 93-90=3
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 87:[17, 3], Operations: ['1+16=17', '93-90=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 87:[90, 76], Operations: ['1+16=17', '93-17=76']
Exploring Operation: 90*76=6840, Resulting Numbers: [6840]
6840,87 unequal: No Solution
Exploring Operation: 90-76=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 90+76=166, Resulting Numbers: [166]
166,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 87:[93, 73], Operations: ['1+16=17', '90-17=73']
Exploring Operation: 93+73=166, Resulting Numbers: [166]
166,87 unequal: No Solution
Exploring Operation: 93*73=6789, Resulting Numbers: [6789]
6789,87 unequal: No Solution
Exploring Operation: 93-73=20, Resulting Numbers: [20]
20,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 87:[93, 107], Operations: ['1+16=17', '90+17=107']
Exploring Operation: 93+107=200, Resulting Numbers: [200]
200,87 unequal: No Solution
Exploring Operation: 93*107=9951, Resulting Numbers: [9951]
9951,87 unequal: No Solution
Exploring Operation: 107-93=14, Resulting Numbers: [14]
14,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 87:[90, 93, 15], Operations: ['16-1=15']
Exploring Operation: 93-90=3, Resulting Numbers: [15, 3]
Generated Node #0,1,0: 87:[15, 3] Operation: 93-90=3
Exploring Operation: 90-15=75, Resulting Numbers: [93, 75]
Generated Node #0,1,1: 87:[93, 75] Operation: 90-15=75
Exploring Operation: 93-15=78, Resulting Numbers: [90, 78]
Generated Node #0,1,2: 87:[90, 78] Operation: 93-15=78
Exploring Operation: 90/15=6, Resulting Numbers: [93, 6]
Generated Node #0,1,3: 87:[93, 6] Operation: 90/15=6
Moving to Node #0,1,3
Current State: 87:[93, 6], Operations: ['16-1=15', '90/15=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[1, 16, 90, 93], Operations: []
Exploring Operation: 16-1=15, Resulting Numbers: [90, 93, 15]
Generated Node #0,1: 87:[90, 93, 15] Operation: 16-1=15
Moving to Node #0,1
Current State: 87:[90, 93, 15], Operations: ['16-1=15']
Exploring Operation: 90/15=6, Resulting Numbers: [93, 6]
Generated Node #0,1,3: 87:[93, 6] Operation: 90/15=6
Moving to Node #0,1,3
Current State: 87:[93, 6], Operations: ['16-1=15', '90/15=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.956597 | hs_4 | sum_heuristic |
[
20,
47,
79,
34
] | 86 | [
"47-20=27",
"79+34=113",
"113-27=86"
] | Current State: 86:[20, 47, 79, 34], Operations: []
Exploring Operation: 47-20=27, Resulting Numbers: [79, 34, 27]
Generated Node #2: [79, 34, 27] from Operation: 47-20=27
Current State: 86:[79, 34, 27], Operations: ['47-20=27']
Exploring Operation: 79+34=113, Resulting Numbers: [27, 113]
Generated Node #3: [27, 113] from Operation: 79+34=113
Current State: 86:[27, 113], Operations: ['47-20=27', '79+34=113']
Exploring Operation: 113-27=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[20, 47, 79, 34], Operations: []
Exploring Operation: 34-20=14, Resulting Numbers: [47, 79, 14]
Generated Node #0,0: 86:[47, 79, 14] Operation: 34-20=14
Exploring Operation: 20+79=99, Resulting Numbers: [47, 34, 99]
Generated Node #0,1: 86:[47, 34, 99] Operation: 20+79=99
Exploring Operation: 79-34=45, Resulting Numbers: [20, 47, 45]
Generated Node #0,2: 86:[20, 47, 45] Operation: 79-34=45
Exploring Operation: 20+34=54, Resulting Numbers: [47, 79, 54]
Generated Node #0,3: 86:[47, 79, 54] Operation: 20+34=54
Exploring Operation: 79-20=59, Resulting Numbers: [47, 34, 59]
Generated Node #0,4: 86:[47, 34, 59] Operation: 79-20=59
Moving to Node #0,3
Current State: 86:[47, 79, 54], Operations: ['20+34=54']
Exploring Operation: 54-47=7, Resulting Numbers: [79, 7]
Generated Node #0,3,0: 86:[79, 7] Operation: 54-47=7
Exploring Operation: 79-47=32, Resulting Numbers: [54, 32]
Generated Node #0,3,1: 86:[54, 32] Operation: 79-47=32
Exploring Operation: 79-54=25, Resulting Numbers: [47, 25]
Generated Node #0,3,2: 86:[47, 25] Operation: 79-54=25
Exploring Operation: 47+54=101, Resulting Numbers: [79, 101]
Generated Node #0,3,3: 86:[79, 101] Operation: 47+54=101
Exploring Operation: 47+79=126, Resulting Numbers: [54, 126]
Generated Node #0,3,4: 86:[54, 126] Operation: 47+79=126
Moving to Node #0,0
Current State: 86:[47, 79, 14], Operations: ['34-20=14']
Exploring Operation: 79-47=32, Resulting Numbers: [14, 32]
Generated Node #0,0,0: 86:[14, 32] Operation: 79-47=32
Exploring Operation: 47-14=33, Resulting Numbers: [79, 33]
Generated Node #0,0,1: 86:[79, 33] Operation: 47-14=33
Exploring Operation: 79+14=93, Resulting Numbers: [47, 93]
Generated Node #0,0,2: 86:[47, 93] Operation: 79+14=93
Exploring Operation: 47+14=61, Resulting Numbers: [79, 61]
Generated Node #0,0,3: 86:[79, 61] Operation: 47+14=61
Exploring Operation: 79-14=65, Resulting Numbers: [47, 65]
Generated Node #0,0,4: 86:[47, 65] Operation: 79-14=65
Moving to Node #0,2
Current State: 86:[20, 47, 45], Operations: ['79-34=45']
Exploring Operation: 45-20=25, Resulting Numbers: [47, 25]
Generated Node #0,2,0: 86:[47, 25] Operation: 45-20=25
Exploring Operation: 47-45=2, Resulting Numbers: [20, 2]
Generated Node #0,2,1: 86:[20, 2] Operation: 47-45=2
Exploring Operation: 47-20=27, Resulting Numbers: [45, 27]
Generated Node #0,2,2: 86:[45, 27] Operation: 47-20=27
Exploring Operation: 47+45=92, Resulting Numbers: [20, 92]
Generated Node #0,2,3: 86:[20, 92] Operation: 47+45=92
Exploring Operation: 20+47=67, Resulting Numbers: [45, 67]
Generated Node #0,2,4: 86:[45, 67] Operation: 20+47=67
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[20, 2], Operations: ['79-34=45', '47-45=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,86 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,86 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[45, 27], Operations: ['79-34=45', '47-20=27']
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,86 unequal: No Solution
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 86:[45, 67], Operations: ['79-34=45', '20+47=67']
Exploring Operation: 45*67=3015, Resulting Numbers: [3015]
3015,86 unequal: No Solution
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,86 unequal: No Solution
Exploring Operation: 45+67=112, Resulting Numbers: [112]
112,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[47, 25], Operations: ['79-34=45', '45-20=25']
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,86 unequal: No Solution
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[20, 92], Operations: ['79-34=45', '47+45=92']
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 20*92=1840, Resulting Numbers: [1840]
1840,86 unequal: No Solution
Exploring Operation: 20+92=112, Resulting Numbers: [112]
112,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 86:[47, 34, 99], Operations: ['20+79=99']
Exploring Operation: 47+34=81, Resulting Numbers: [99, 81]
Generated Node #0,1,0: 86:[99, 81] Operation: 47+34=81
Exploring Operation: 47-34=13, Resulting Numbers: [99, 13]
Generated Node #0,1,1: 86:[99, 13] Operation: 47-34=13
Exploring Operation: 99-47=52, Resulting Numbers: [34, 52]
Generated Node #0,1,2: 86:[34, 52] Operation: 99-47=52
Exploring Operation: 99-34=65, Resulting Numbers: [47, 65]
Generated Node #0,1,3: 86:[47, 65] Operation: 99-34=65
Exploring Operation: 34+99=133, Resulting Numbers: [47, 133]
Generated Node #0,1,4: 86:[47, 133] Operation: 34+99=133
Moving to Node #0,4
Current State: 86:[47, 34, 59], Operations: ['79-20=59']
Exploring Operation: 34+59=93, Resulting Numbers: [47, 93]
Generated Node #0,4,0: 86:[47, 93] Operation: 34+59=93
Exploring Operation: 47-34=13, Resulting Numbers: [59, 13]
Generated Node #0,4,1: 86:[59, 13] Operation: 47-34=13
Exploring Operation: 59-34=25, Resulting Numbers: [47, 25]
Generated Node #0,4,2: 86:[47, 25] Operation: 59-34=25
Exploring Operation: 59-47=12, Resulting Numbers: [34, 12]
Generated Node #0,4,3: 86:[34, 12] Operation: 59-47=12
Exploring Operation: 47+34=81, Resulting Numbers: [59, 81]
Generated Node #0,4,4: 86:[59, 81] Operation: 47+34=81
Moving to Node #0,0,2
Current State: 86:[47, 93], Operations: ['34-20=14', '79+14=93']
Exploring Operation: 47+93=140, Resulting Numbers: [140]
140,86 unequal: No Solution
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 47*93=4371, Resulting Numbers: [4371]
4371,86 unequal: No Solution
Moving to Node #0,4,0
Current State: 86:[47, 93], Operations: ['79-20=59', '34+59=93']
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 47+93=140, Resulting Numbers: [140]
140,86 unequal: No Solution
Exploring Operation: 47*93=4371, Resulting Numbers: [4371]
4371,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[79, 7], Operations: ['20+34=54', '54-47=7']
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 79*7=553, Resulting Numbers: [553]
553,86 unequal: No Solution
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[20, 47, 79, 34], Operations: []
Exploring Operation: 20+34=54, Resulting Numbers: [47, 79, 54]
Generated Node #0,3: 86:[47, 79, 54] Operation: 20+34=54
Moving to Node #0,3
Current State: 86:[47, 79, 54], Operations: ['20+34=54']
Exploring Operation: 54-47=7, Resulting Numbers: [79, 7]
Generated Node #0,3,0: 86:[79, 7] Operation: 54-47=7
Moving to Node #0,3,0
Current State: 86:[79, 7], Operations: ['20+34=54', '54-47=7']
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.948785 | hs_5 | mult_heuristic |
[
46,
22,
5,
23
] | 97 | [
"46-22=24",
"5*24=120",
"120-23=97"
] | Current State: 97:[46, 22, 5, 23], Operations: []
Exploring Operation: 46-22=24, Resulting Numbers: [5, 23, 24]
Generated Node #2: [5, 23, 24] from Operation: 46-22=24
Current State: 97:[5, 23, 24], Operations: ['46-22=24']
Exploring Operation: 5*24=120, Resulting Numbers: [23, 120]
Generated Node #3: [23, 120] from Operation: 5*24=120
Current State: 97:[23, 120], Operations: ['46-22=24', '5*24=120']
Exploring Operation: 120-23=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[46, 22, 5, 23], Operations: []
Exploring Operation: 22*5=110, Resulting Numbers: [46, 23, 110]
Generated Node #0,0: 97:[46, 23, 110] Operation: 22*5=110
Moving to Node #0,0
Current State: 97:[46, 23, 110], Operations: ['22*5=110']
Exploring Operation: 46+23=69, Resulting Numbers: [110, 69]
Generated Node #0,0,0: 97:[110, 69] Operation: 46+23=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[110, 69], Operations: ['22*5=110', '46+23=69']
Exploring Operation: 110-69=41, Resulting Numbers: [41]
41,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
5,
58,
65,
76
] | 25 | [
"76-58=18",
"5*18=90",
"90-65=25"
] | Current State: 25:[5, 58, 65, 76], Operations: []
Exploring Operation: 76-58=18, Resulting Numbers: [5, 65, 18]
Generated Node #2: [5, 65, 18] from Operation: 76-58=18
Current State: 25:[5, 65, 18], Operations: ['76-58=18']
Exploring Operation: 5*18=90, Resulting Numbers: [65, 90]
Generated Node #3: [65, 90] from Operation: 5*18=90
Current State: 25:[65, 90], Operations: ['76-58=18', '5*18=90']
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[5, 58, 65, 76], Operations: []
Exploring Operation: 65/5=13, Resulting Numbers: [58, 76, 13]
Generated Node #0,0: 25:[58, 76, 13] Operation: 65/5=13
Exploring Operation: 76-65=11, Resulting Numbers: [5, 58, 11]
Generated Node #0,1: 25:[5, 58, 11] Operation: 76-65=11
Exploring Operation: 65-58=7, Resulting Numbers: [5, 76, 7]
Generated Node #0,2: 25:[5, 76, 7] Operation: 65-58=7
Exploring Operation: 76-58=18, Resulting Numbers: [5, 65, 18]
Generated Node #0,3: 25:[5, 65, 18] Operation: 76-58=18
Moving to Node #0,1
Current State: 25:[5, 58, 11], Operations: ['76-65=11']
Exploring Operation: 58-5=53, Resulting Numbers: [11, 53]
Generated Node #0,1,0: 25:[11, 53] Operation: 58-5=53
Exploring Operation: 58-11=47, Resulting Numbers: [5, 47]
Generated Node #0,1,1: 25:[5, 47] Operation: 58-11=47
Exploring Operation: 5+11=16, Resulting Numbers: [58, 16]
Generated Node #0,1,2: 25:[58, 16] Operation: 5+11=16
Exploring Operation: 11-5=6, Resulting Numbers: [58, 6]
Generated Node #0,1,3: 25:[58, 6] Operation: 11-5=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[5, 47], Operations: ['76-65=11', '58-11=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,25 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[11, 53], Operations: ['76-65=11', '58-5=53']
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 11+53=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 11*53=583, Resulting Numbers: [583]
583,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[58, 6], Operations: ['76-65=11', '11-5=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[58, 16], Operations: ['76-65=11', '5+11=16']
Exploring Operation: 58*16=928, Resulting Numbers: [928]
928,25 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 25:[5, 65, 18], Operations: ['76-58=18']
Exploring Operation: 65/5=13, Resulting Numbers: [18, 13]
Generated Node #0,3,0: 25:[18, 13] Operation: 65/5=13
Exploring Operation: 65-18=47, Resulting Numbers: [5, 47]
Generated Node #0,3,1: 25:[5, 47] Operation: 65-18=47
Exploring Operation: 65-5=60, Resulting Numbers: [18, 60]
Generated Node #0,3,2: 25:[18, 60] Operation: 65-5=60
Exploring Operation: 5+18=23, Resulting Numbers: [65, 23]
Generated Node #0,3,3: 25:[65, 23] Operation: 5+18=23
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 25:[18, 13], Operations: ['76-58=18', '65/5=13']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 25:[5, 47], Operations: ['76-58=18', '65-18=47']
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,25 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 25:[18, 60], Operations: ['76-58=18', '65-5=60']
Exploring Operation: 18*60=1080, Resulting Numbers: [1080]
1080,25 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 25:[65, 23], Operations: ['76-58=18', '5+18=23']
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,25 unequal: No Solution
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,25 unequal: No Solution
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 25:[5, 76, 7], Operations: ['65-58=7']
Exploring Operation: 5+76=81, Resulting Numbers: [7, 81]
Generated Node #0,2,0: 25:[7, 81] Operation: 5+76=81
Exploring Operation: 76-5=71, Resulting Numbers: [7, 71]
Generated Node #0,2,1: 25:[7, 71] Operation: 76-5=71
Exploring Operation: 7-5=2, Resulting Numbers: [76, 2]
Generated Node #0,2,2: 25:[76, 2] Operation: 7-5=2
Exploring Operation: 76-7=69, Resulting Numbers: [5, 69]
Generated Node #0,2,3: 25:[5, 69] Operation: 76-7=69
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 25:[5, 69], Operations: ['65-58=7', '76-7=69']
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,25 unequal: No Solution
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,25 unequal: No Solution
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[7, 71], Operations: ['65-58=7', '76-5=71']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 7*71=497, Resulting Numbers: [497]
497,25 unequal: No Solution
Exploring Operation: 7+71=78, Resulting Numbers: [78]
78,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[76, 2], Operations: ['65-58=7', '7-5=2']
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,25 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,25 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[7, 81], Operations: ['65-58=7', '5+76=81']
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,25 unequal: No Solution
Exploring Operation: 7*81=567, Resulting Numbers: [567]
567,25 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 25:[58, 76, 13], Operations: ['65/5=13']
Exploring Operation: 76-58=18, Resulting Numbers: [13, 18]
Generated Node #0,0,0: 25:[13, 18] Operation: 76-58=18
Exploring Operation: 76-13=63, Resulting Numbers: [58, 63]
Generated Node #0,0,1: 25:[58, 63] Operation: 76-13=63
Exploring Operation: 58+13=71, Resulting Numbers: [76, 71]
Generated Node #0,0,2: 25:[76, 71] Operation: 58+13=71
Exploring Operation: 58-13=45, Resulting Numbers: [76, 45]
Generated Node #0,0,3: 25:[76, 45] Operation: 58-13=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[13, 18], Operations: ['65/5=13', '76-58=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,25 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[58, 63], Operations: ['65/5=13', '76-13=63']
Exploring Operation: 58*63=3654, Resulting Numbers: [3654]
3654,25 unequal: No Solution
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 58+63=121, Resulting Numbers: [121]
121,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 25:[76, 45], Operations: ['65/5=13', '58-13=45']
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 76+45=121, Resulting Numbers: [121]
121,25 unequal: No Solution
Exploring Operation: 76*45=3420, Resulting Numbers: [3420]
3420,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[76, 71], Operations: ['65/5=13', '58+13=71']
Exploring Operation: 76*71=5396, Resulting Numbers: [5396]
5396,25 unequal: No Solution
Exploring Operation: 76-71=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 76+71=147, Resulting Numbers: [147]
147,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
24,
92,
57,
41
] | 100 | [
"24+92=116",
"57-41=16",
"116-16=100"
] | Current State: 100:[24, 92, 57, 41], Operations: []
Exploring Operation: 24+92=116, Resulting Numbers: [57, 41, 116]
Generated Node #2: [57, 41, 116] from Operation: 24+92=116
Current State: 100:[57, 41, 116], Operations: ['24+92=116']
Exploring Operation: 57-41=16, Resulting Numbers: [116, 16]
Generated Node #3: [116, 16] from Operation: 57-41=16
Current State: 100:[116, 16], Operations: ['24+92=116', '57-41=16']
Exploring Operation: 116-16=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[24, 92, 57, 41], Operations: []
Exploring Operation: 57-41=16, Resulting Numbers: [24, 92, 16]
Generated Node #0,0: 100:[24, 92, 16] Operation: 57-41=16
Exploring Operation: 57+41=98, Resulting Numbers: [24, 92, 98]
Generated Node #0,1: 100:[24, 92, 98] Operation: 57+41=98
Exploring Operation: 92-41=51, Resulting Numbers: [24, 57, 51]
Generated Node #0,2: 100:[24, 57, 51] Operation: 92-41=51
Moving to Node #0,2
Current State: 100:[24, 57, 51], Operations: ['92-41=51']
Exploring Operation: 57-24=33, Resulting Numbers: [51, 33]
Generated Node #0,2,0: 100:[51, 33] Operation: 57-24=33
Exploring Operation: 51-24=27, Resulting Numbers: [57, 27]
Generated Node #0,2,1: 100:[57, 27] Operation: 51-24=27
Exploring Operation: 57-51=6, Resulting Numbers: [24, 6]
Generated Node #0,2,2: 100:[24, 6] Operation: 57-51=6
Moving to Node #0,1
Current State: 100:[24, 92, 98], Operations: ['57+41=98']
Exploring Operation: 24+92=116, Resulting Numbers: [98, 116]
Generated Node #0,1,0: 100:[98, 116] Operation: 24+92=116
Exploring Operation: 92-24=68, Resulting Numbers: [98, 68]
Generated Node #0,1,1: 100:[98, 68] Operation: 92-24=68
Exploring Operation: 98-92=6, Resulting Numbers: [24, 6]
Generated Node #0,1,2: 100:[24, 6] Operation: 98-92=6
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[24, 6], Operations: ['57+41=98', '98-92=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[98, 116], Operations: ['57+41=98', '24+92=116']
Exploring Operation: 98*116=11368, Resulting Numbers: [11368]
11368,100 unequal: No Solution
Exploring Operation: 116-98=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 98+116=214, Resulting Numbers: [214]
214,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[98, 68], Operations: ['57+41=98', '92-24=68']
Exploring Operation: 98-68=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 98+68=166, Resulting Numbers: [166]
166,100 unequal: No Solution
Exploring Operation: 98*68=6664, Resulting Numbers: [6664]
6664,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 100:[24, 92, 16], Operations: ['57-41=16']
Exploring Operation: 24+16=40, Resulting Numbers: [92, 40]
Generated Node #0,0,0: 100:[92, 40] Operation: 24+16=40
Exploring Operation: 92+16=108, Resulting Numbers: [24, 108]
Generated Node #0,0,1: 100:[24, 108] Operation: 92+16=108
Exploring Operation: 24-16=8, Resulting Numbers: [92, 8]
Generated Node #0,0,2: 100:[92, 8] Operation: 24-16=8
Moving to Node #0,2,2
Current State: 100:[24, 6], Operations: ['92-41=51', '57-51=6']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[57, 27], Operations: ['92-41=51', '51-24=27']
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 57+27=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 57*27=1539, Resulting Numbers: [1539]
1539,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[51, 33], Operations: ['92-41=51', '57-24=33']
Exploring Operation: 51*33=1683, Resulting Numbers: [1683]
1683,100 unequal: No Solution
Exploring Operation: 51+33=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[24, 108], Operations: ['57-41=16', '92+16=108']
Exploring Operation: 24+108=132, Resulting Numbers: [132]
132,100 unequal: No Solution
Exploring Operation: 24*108=2592, Resulting Numbers: [2592]
2592,100 unequal: No Solution
Exploring Operation: 108-24=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[92, 8], Operations: ['57-41=16', '24-16=8']
Exploring Operation: 92+8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[24, 92, 57, 41], Operations: []
Exploring Operation: 57-41=16, Resulting Numbers: [24, 92, 16]
Generated Node #0,0: 100:[24, 92, 16] Operation: 57-41=16
Moving to Node #0,0
Current State: 100:[24, 92, 16], Operations: ['57-41=16']
Exploring Operation: 24-16=8, Resulting Numbers: [92, 8]
Generated Node #0,0,2: 100:[92, 8] Operation: 24-16=8
Moving to Node #0,0,2
Current State: 100:[92, 8], Operations: ['57-41=16', '24-16=8']
Exploring Operation: 92+8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.967014 | hs_3 | mult_heuristic |
[
76,
7,
20,
80
] | 88 | [
"76-20=56",
"56/7=8",
"80+8=88"
] | Current State: 88:[76, 7, 20, 80], Operations: []
Exploring Operation: 76-20=56, Resulting Numbers: [7, 80, 56]
Generated Node #2: [7, 80, 56] from Operation: 76-20=56
Current State: 88:[7, 80, 56], Operations: ['76-20=56']
Exploring Operation: 56/7=8, Resulting Numbers: [80, 8]
Generated Node #3: [80, 8] from Operation: 56/7=8
Current State: 88:[80, 8], Operations: ['76-20=56', '56/7=8']
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[76, 7, 20, 80], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [76, 7, 4]
Generated Node #0,0: 88:[76, 7, 4] Operation: 80/20=4
Exploring Operation: 76+7=83, Resulting Numbers: [20, 80, 83]
Generated Node #0,1: 88:[20, 80, 83] Operation: 76+7=83
Exploring Operation: 80-76=4, Resulting Numbers: [7, 20, 4]
Generated Node #0,2: 88:[7, 20, 4] Operation: 80-76=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[7, 20, 4], Operations: ['80-76=4']
Exploring Operation: 7+4=11, Resulting Numbers: [20, 11]
Generated Node #0,2,0: 88:[20, 11] Operation: 7+4=11
Exploring Operation: 20-7=13, Resulting Numbers: [4, 13]
Generated Node #0,2,1: 88:[4, 13] Operation: 20-7=13
Exploring Operation: 20/4=5, Resulting Numbers: [7, 5]
Generated Node #0,2,2: 88:[7, 5] Operation: 20/4=5
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[20, 11], Operations: ['80-76=4', '7+4=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,88 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[4, 13], Operations: ['80-76=4', '20-7=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[7, 5], Operations: ['80-76=4', '20/4=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[76, 7, 4], Operations: ['80/20=4']
Exploring Operation: 76/4=19, Resulting Numbers: [7, 19]
Generated Node #0,0,0: 88:[7, 19] Operation: 76/4=19
Exploring Operation: 76+4=80, Resulting Numbers: [7, 80]
Generated Node #0,0,1: 88:[7, 80] Operation: 76+4=80
Exploring Operation: 76+7=83, Resulting Numbers: [4, 83]
Generated Node #0,0,2: 88:[4, 83] Operation: 76+7=83
Moving to Node #0,0,0
Current State: 88:[7, 19], Operations: ['80/20=4', '76/4=19']
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[4, 83], Operations: ['80/20=4', '76+7=83']
Exploring Operation: 4*83=332, Resulting Numbers: [332]
332,88 unequal: No Solution
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[7, 80], Operations: ['80/20=4', '76+4=80']
Exploring Operation: 7+80=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 7*80=560, Resulting Numbers: [560]
560,88 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[20, 80, 83], Operations: ['76+7=83']
Exploring Operation: 20+80=100, Resulting Numbers: [83, 100]
Generated Node #0,1,0: 88:[83, 100] Operation: 20+80=100
Exploring Operation: 83-80=3, Resulting Numbers: [20, 3]
Generated Node #0,1,1: 88:[20, 3] Operation: 83-80=3
Exploring Operation: 80/20=4, Resulting Numbers: [83, 4]
Generated Node #0,1,2: 88:[83, 4] Operation: 80/20=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[20, 3], Operations: ['76+7=83', '83-80=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 88:[83, 4], Operations: ['76+7=83', '80/20=4']
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,88 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[83, 100], Operations: ['76+7=83', '20+80=100']
Exploring Operation: 83*100=8300, Resulting Numbers: [8300]
8300,88 unequal: No Solution
Exploring Operation: 83+100=183, Resulting Numbers: [183]
183,88 unequal: No Solution
Exploring Operation: 100-83=17, Resulting Numbers: [17]
17,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
57,
76,
34,
12
] | 41 | [
"76-57=19",
"34-12=22",
"19+22=41"
] | Current State: 41:[57, 76, 34, 12], Operations: []
Exploring Operation: 76-57=19, Resulting Numbers: [34, 12, 19]
Generated Node #2: [34, 12, 19] from Operation: 76-57=19
Current State: 41:[34, 12, 19], Operations: ['76-57=19']
Exploring Operation: 34-12=22, Resulting Numbers: [19, 22]
Generated Node #3: [19, 22] from Operation: 34-12=22
Current State: 41:[19, 22], Operations: ['76-57=19', '34-12=22']
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[57, 76, 34, 12], Operations: []
Exploring Operation: 76-12=64, Resulting Numbers: [57, 34, 64]
Generated Node #0,0: 41:[57, 34, 64] Operation: 76-12=64
Exploring Operation: 57-12=45, Resulting Numbers: [76, 34, 45]
Generated Node #0,1: 41:[76, 34, 45] Operation: 57-12=45
Exploring Operation: 76-34=42, Resulting Numbers: [57, 12, 42]
Generated Node #0,2: 41:[57, 12, 42] Operation: 76-34=42
Moving to Node #0,0
Current State: 41:[57, 34, 64], Operations: ['76-12=64']
Exploring Operation: 57-34=23, Resulting Numbers: [64, 23]
Generated Node #0,0,0: 41:[64, 23] Operation: 57-34=23
Exploring Operation: 64-34=30, Resulting Numbers: [57, 30]
Generated Node #0,0,1: 41:[57, 30] Operation: 64-34=30
Exploring Operation: 64-57=7, Resulting Numbers: [34, 7]
Generated Node #0,0,2: 41:[34, 7] Operation: 64-57=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[57, 30], Operations: ['76-12=64', '64-34=30']
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[64, 23], Operations: ['76-12=64', '57-34=23']
Exploring Operation: 64+23=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 64*23=1472, Resulting Numbers: [1472]
1472,41 unequal: No Solution
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[57, 76, 34, 12], Operations: []
Exploring Operation: 76-12=64, Resulting Numbers: [57, 34, 64]
Generated Node #0,0: 41:[57, 34, 64] Operation: 76-12=64
Moving to Node #0,0
Current State: 41:[57, 34, 64], Operations: ['76-12=64']
Exploring Operation: 57-34=23, Resulting Numbers: [64, 23]
Generated Node #0,0,0: 41:[64, 23] Operation: 57-34=23
Moving to Node #0,0,0
Current State: 41:[64, 23], Operations: ['76-12=64', '57-34=23']
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
66,
60,
5,
35
] | 44 | [
"5+35=40",
"66*40=2640",
"2640/60=44"
] | Current State: 44:[66, 60, 5, 35], Operations: []
Exploring Operation: 5+35=40, Resulting Numbers: [66, 60, 40]
Generated Node #2: [66, 60, 40] from Operation: 5+35=40
Current State: 44:[66, 60, 40], Operations: ['5+35=40']
Exploring Operation: 66*40=2640, Resulting Numbers: [60, 2640]
Generated Node #3: [60, 2640] from Operation: 66*40=2640
Current State: 44:[60, 2640], Operations: ['5+35=40', '66*40=2640']
Exploring Operation: 2640/60=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[66, 60, 5, 35], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [5, 35, 6]
Generated Node #0,0: 44:[5, 35, 6] Operation: 66-60=6
Moving to Node #0,0
Current State: 44:[5, 35, 6], Operations: ['66-60=6']
Exploring Operation: 35+6=41, Resulting Numbers: [5, 41]
Generated Node #0,0,0: 44:[5, 41] Operation: 35+6=41
Moving to Node #0,0,0
Current State: 44:[5, 41], Operations: ['66-60=6', '35+6=41']
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,44 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
45,
23,
62,
10
] | 25 | [
"62*10=620",
"620-45=575",
"575/23=25"
] | Current State: 25:[45, 23, 62, 10], Operations: []
Exploring Operation: 62*10=620, Resulting Numbers: [45, 23, 620]
Generated Node #2: [45, 23, 620] from Operation: 62*10=620
Current State: 25:[45, 23, 620], Operations: ['62*10=620']
Exploring Operation: 620-45=575, Resulting Numbers: [23, 575]
Generated Node #3: [23, 575] from Operation: 620-45=575
Current State: 25:[23, 575], Operations: ['62*10=620', '620-45=575']
Exploring Operation: 575/23=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[45, 23, 62, 10], Operations: []
Exploring Operation: 62-45=17, Resulting Numbers: [23, 10, 17]
Generated Node #0,0: 25:[23, 10, 17] Operation: 62-45=17
Exploring Operation: 62-23=39, Resulting Numbers: [45, 10, 39]
Generated Node #0,1: 25:[45, 10, 39] Operation: 62-23=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[23, 10, 17], Operations: ['62-45=17']
Exploring Operation: 17-10=7, Resulting Numbers: [23, 7]
Generated Node #0,0,0: 25:[23, 7] Operation: 17-10=7
Exploring Operation: 10+17=27, Resulting Numbers: [23, 27]
Generated Node #0,0,1: 25:[23, 27] Operation: 10+17=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[23, 7], Operations: ['62-45=17', '17-10=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[23, 27], Operations: ['62-45=17', '10+17=27']
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 23+27=50, Resulting Numbers: [50]
50,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[45, 10, 39], Operations: ['62-23=39']
Exploring Operation: 45-10=35, Resulting Numbers: [39, 35]
Generated Node #0,1,0: 25:[39, 35] Operation: 45-10=35
Exploring Operation: 45-39=6, Resulting Numbers: [10, 6]
Generated Node #0,1,1: 25:[10, 6] Operation: 45-39=6
Moving to Node #0,1,1
Current State: 25:[10, 6], Operations: ['62-23=39', '45-39=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[39, 35], Operations: ['62-23=39', '45-10=35']
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
86,
20,
54,
69
] | 62 | [
"86+54=140",
"140/20=7",
"69-7=62"
] | Current State: 62:[86, 20, 54, 69], Operations: []
Exploring Operation: 86+54=140, Resulting Numbers: [20, 69, 140]
Generated Node #2: [20, 69, 140] from Operation: 86+54=140
Current State: 62:[20, 69, 140], Operations: ['86+54=140']
Exploring Operation: 140/20=7, Resulting Numbers: [69, 7]
Generated Node #3: [69, 7] from Operation: 140/20=7
Current State: 62:[69, 7], Operations: ['86+54=140', '140/20=7']
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[86, 20, 54, 69], Operations: []
Exploring Operation: 86-69=17, Resulting Numbers: [20, 54, 17]
Generated Node #0,0: 62:[20, 54, 17] Operation: 86-69=17
Exploring Operation: 86-20=66, Resulting Numbers: [54, 69, 66]
Generated Node #0,1: 62:[54, 69, 66] Operation: 86-20=66
Exploring Operation: 86-54=32, Resulting Numbers: [20, 69, 32]
Generated Node #0,2: 62:[20, 69, 32] Operation: 86-54=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[54, 69, 66], Operations: ['86-20=66']
Exploring Operation: 69-54=15, Resulting Numbers: [66, 15]
Generated Node #0,1,0: 62:[66, 15] Operation: 69-54=15
Exploring Operation: 69-66=3, Resulting Numbers: [54, 3]
Generated Node #0,1,1: 62:[54, 3] Operation: 69-66=3
Exploring Operation: 66-54=12, Resulting Numbers: [69, 12]
Generated Node #0,1,2: 62:[69, 12] Operation: 66-54=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[54, 3], Operations: ['86-20=66', '69-66=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[66, 15], Operations: ['86-20=66', '69-54=15']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 62:[69, 12], Operations: ['86-20=66', '66-54=12']
Exploring Operation: 69*12=828, Resulting Numbers: [828]
828,62 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[20, 69, 32], Operations: ['86-54=32']
Exploring Operation: 32-20=12, Resulting Numbers: [69, 12]
Generated Node #0,2,0: 62:[69, 12] Operation: 32-20=12
Exploring Operation: 69-20=49, Resulting Numbers: [32, 49]
Generated Node #0,2,1: 62:[32, 49] Operation: 69-20=49
Exploring Operation: 20+32=52, Resulting Numbers: [69, 52]
Generated Node #0,2,2: 62:[69, 52] Operation: 20+32=52
Moving to Node #0,2,1
Current State: 62:[32, 49], Operations: ['86-54=32', '69-20=49']
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 32+49=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 32*49=1568, Resulting Numbers: [1568]
1568,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[69, 12], Operations: ['86-54=32', '32-20=12']
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 69*12=828, Resulting Numbers: [828]
828,62 unequal: No Solution
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[69, 52], Operations: ['86-54=32', '20+32=52']
Exploring Operation: 69*52=3588, Resulting Numbers: [3588]
3588,62 unequal: No Solution
Exploring Operation: 69-52=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 69+52=121, Resulting Numbers: [121]
121,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[20, 54, 17], Operations: ['86-69=17']
Exploring Operation: 20+17=37, Resulting Numbers: [54, 37]
Generated Node #0,0,0: 62:[54, 37] Operation: 20+17=37
Exploring Operation: 54-20=34, Resulting Numbers: [17, 34]
Generated Node #0,0,1: 62:[17, 34] Operation: 54-20=34
Exploring Operation: 20-17=3, Resulting Numbers: [54, 3]
Generated Node #0,0,2: 62:[54, 3] Operation: 20-17=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 62:[54, 3], Operations: ['86-69=17', '20-17=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[54, 37], Operations: ['86-69=17', '20+17=37']
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,62 unequal: No Solution
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 62:[17, 34], Operations: ['86-69=17', '54-20=34']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
67,
1,
95,
67
] | 97 | [
"67/67=1",
"1+95=96",
"1+96=97"
] | Current State: 97:[67, 1, 95, 67], Operations: []
Exploring Operation: 67/67=1, Resulting Numbers: [1, 95, 1]
Generated Node #2: [1, 95, 1] from Operation: 67/67=1
Current State: 97:[1, 95, 1], Operations: ['67/67=1']
Exploring Operation: 1+95=96, Resulting Numbers: [96]
96,97 equal: Goal Reached
Exploring Operation: 1+96=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[67, 1, 95, 67], Operations: []
Exploring Operation: 1+95=96, Resulting Numbers: [67, 67, 96]
Generated Node #0,0: 97:[67, 67, 96] Operation: 1+95=96
Exploring Operation: 67+1=68, Resulting Numbers: [95, 67, 68]
Generated Node #0,1: 97:[95, 67, 68] Operation: 67+1=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[67, 67, 96], Operations: ['1+95=96']
Exploring Operation: 67+96=163, Resulting Numbers: [67, 163]
Generated Node #0,0,0: 97:[67, 163] Operation: 67+96=163
Exploring Operation: 67+67=134, Resulting Numbers: [96, 134]
Generated Node #0,0,1: 97:[96, 134] Operation: 67+67=134
Moving to Node #0,0,1
Current State: 97:[96, 134], Operations: ['1+95=96', '67+67=134']
Exploring Operation: 96+134=230, Resulting Numbers: [230]
230,97 unequal: No Solution
Exploring Operation: 134-96=38, Resulting Numbers: [38]
38,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[67, 163], Operations: ['1+95=96', '67+96=163']
Exploring Operation: 163-67=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 67+163=230, Resulting Numbers: [230]
230,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[95, 67, 68], Operations: ['67+1=68']
Exploring Operation: 95+67=162, Resulting Numbers: [68, 162]
Generated Node #0,1,0: 97:[68, 162] Operation: 95+67=162
Exploring Operation: 67+68=135, Resulting Numbers: [95, 135]
Generated Node #0,1,1: 97:[95, 135] Operation: 67+68=135
Moving to Node #0,1,1
Current State: 97:[95, 135], Operations: ['67+1=68', '67+68=135']
Exploring Operation: 95+135=230, Resulting Numbers: [230]
230,97 unequal: No Solution
Exploring Operation: 135-95=40, Resulting Numbers: [40]
40,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[68, 162], Operations: ['67+1=68', '95+67=162']
Exploring Operation: 162-68=94, Resulting Numbers: [94]
94,97 unequal: No Solution
Exploring Operation: 68+162=230, Resulting Numbers: [230]
230,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
32,
62,
51,
43
] | 22 | [
"62-32=30",
"51-43=8",
"30-8=22"
] | Current State: 22:[32, 62, 51, 43], Operations: []
Exploring Operation: 62-32=30, Resulting Numbers: [51, 43, 30]
Generated Node #2: [51, 43, 30] from Operation: 62-32=30
Current State: 22:[51, 43, 30], Operations: ['62-32=30']
Exploring Operation: 51-43=8, Resulting Numbers: [30, 8]
Generated Node #3: [30, 8] from Operation: 51-43=8
Current State: 22:[30, 8], Operations: ['62-32=30', '51-43=8']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[32, 62, 51, 43], Operations: []
Exploring Operation: 62-51=11, Resulting Numbers: [32, 43, 11]
Generated Node #0,0: 22:[32, 43, 11] Operation: 62-51=11
Exploring Operation: 62-43=19, Resulting Numbers: [32, 51, 19]
Generated Node #0,1: 22:[32, 51, 19] Operation: 62-43=19
Moving to Node #0,0
Current State: 22:[32, 43, 11], Operations: ['62-51=11']
Exploring Operation: 43-11=32, Resulting Numbers: [32, 32]
Generated Node #0,0,0: 22:[32, 32] Operation: 43-11=32
Exploring Operation: 43-32=11, Resulting Numbers: [11, 11]
Generated Node #0,0,1: 22:[11, 11] Operation: 43-32=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[11, 11], Operations: ['62-51=11', '43-32=11']
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[32, 62, 51, 43], Operations: []
Exploring Operation: 62-51=11, Resulting Numbers: [32, 43, 11]
Generated Node #0,0: 22:[32, 43, 11] Operation: 62-51=11
Moving to Node #0,0
Current State: 22:[32, 43, 11], Operations: ['62-51=11']
Exploring Operation: 43-32=11, Resulting Numbers: [11, 11]
Generated Node #0,0,1: 22:[11, 11] Operation: 43-32=11
Moving to Node #0,0,1
Current State: 22:[11, 11], Operations: ['62-51=11', '43-32=11']
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
19,
42,
13,
14
] | 34 | [
"19+42=61",
"13+14=27",
"61-27=34"
] | Current State: 34:[19, 42, 13, 14], Operations: []
Exploring Operation: 19+42=61, Resulting Numbers: [13, 14, 61]
Generated Node #2: [13, 14, 61] from Operation: 19+42=61
Current State: 34:[13, 14, 61], Operations: ['19+42=61']
Exploring Operation: 13+14=27, Resulting Numbers: [61, 27]
Generated Node #3: [61, 27] from Operation: 13+14=27
Current State: 34:[61, 27], Operations: ['19+42=61', '13+14=27']
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[19, 42, 13, 14], Operations: []
Exploring Operation: 42-13=29, Resulting Numbers: [19, 14, 29]
Generated Node #0,0: 34:[19, 14, 29] Operation: 42-13=29
Exploring Operation: 42/14=3, Resulting Numbers: [19, 13, 3]
Generated Node #0,1: 34:[19, 13, 3] Operation: 42/14=3
Moving to Node #0,1
Current State: 34:[19, 13, 3], Operations: ['42/14=3']
Exploring Operation: 19+13=32, Resulting Numbers: [3, 32]
Generated Node #0,1,0: 34:[3, 32] Operation: 19+13=32
Exploring Operation: 13+3=16, Resulting Numbers: [19, 16]
Generated Node #0,1,1: 34:[19, 16] Operation: 13+3=16
Moving to Node #0,0
Current State: 34:[19, 14, 29], Operations: ['42-13=29']
Exploring Operation: 19+14=33, Resulting Numbers: [29, 33]
Generated Node #0,0,0: 34:[29, 33] Operation: 19+14=33
Exploring Operation: 29-14=15, Resulting Numbers: [19, 15]
Generated Node #0,0,1: 34:[19, 15] Operation: 29-14=15
Moving to Node #0,1,0
Current State: 34:[3, 32], Operations: ['42/14=3', '19+13=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[19, 16], Operations: ['42/14=3', '13+3=16']
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[19, 15], Operations: ['42-13=29', '29-14=15']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[19, 42, 13, 14], Operations: []
Exploring Operation: 42-13=29, Resulting Numbers: [19, 14, 29]
Generated Node #0,0: 34:[19, 14, 29] Operation: 42-13=29
Moving to Node #0,0
Current State: 34:[19, 14, 29], Operations: ['42-13=29']
Exploring Operation: 29-14=15, Resulting Numbers: [19, 15]
Generated Node #0,0,1: 34:[19, 15] Operation: 29-14=15
Moving to Node #0,0,1
Current State: 34:[19, 15], Operations: ['42-13=29', '29-14=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
25,
47,
70,
29
] | 31 | [
"25+47=72",
"70-29=41",
"72-41=31"
] | Current State: 31:[25, 47, 70, 29], Operations: []
Exploring Operation: 25+47=72, Resulting Numbers: [70, 29, 72]
Generated Node #2: [70, 29, 72] from Operation: 25+47=72
Current State: 31:[70, 29, 72], Operations: ['25+47=72']
Exploring Operation: 70-29=41, Resulting Numbers: [72, 41]
Generated Node #3: [72, 41] from Operation: 70-29=41
Current State: 31:[72, 41], Operations: ['25+47=72', '70-29=41']
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[25, 47, 70, 29], Operations: []
Exploring Operation: 70-25=45, Resulting Numbers: [47, 29, 45]
Generated Node #0,0: 31:[47, 29, 45] Operation: 70-25=45
Exploring Operation: 70-47=23, Resulting Numbers: [25, 29, 23]
Generated Node #0,1: 31:[25, 29, 23] Operation: 70-47=23
Exploring Operation: 47-25=22, Resulting Numbers: [70, 29, 22]
Generated Node #0,2: 31:[70, 29, 22] Operation: 47-25=22
Exploring Operation: 70-29=41, Resulting Numbers: [25, 47, 41]
Generated Node #0,3: 31:[25, 47, 41] Operation: 70-29=41
Moving to Node #0,1
Current State: 31:[25, 29, 23], Operations: ['70-47=23']
Exploring Operation: 25+23=48, Resulting Numbers: [29, 48]
Generated Node #0,1,0: 31:[29, 48] Operation: 25+23=48
Exploring Operation: 25+29=54, Resulting Numbers: [23, 54]
Generated Node #0,1,1: 31:[23, 54] Operation: 25+29=54
Exploring Operation: 25-23=2, Resulting Numbers: [29, 2]
Generated Node #0,1,2: 31:[29, 2] Operation: 25-23=2
Exploring Operation: 29+23=52, Resulting Numbers: [25, 52]
Generated Node #0,1,3: 31:[25, 52] Operation: 29+23=52
Moving to Node #0,3
Current State: 31:[25, 47, 41], Operations: ['70-29=41']
Exploring Operation: 25+47=72, Resulting Numbers: [41, 72]
Generated Node #0,3,0: 31:[41, 72] Operation: 25+47=72
Exploring Operation: 47-41=6, Resulting Numbers: [25, 6]
Generated Node #0,3,1: 31:[25, 6] Operation: 47-41=6
Exploring Operation: 41-25=16, Resulting Numbers: [47, 16]
Generated Node #0,3,2: 31:[47, 16] Operation: 41-25=16
Exploring Operation: 47-25=22, Resulting Numbers: [41, 22]
Generated Node #0,3,3: 31:[41, 22] Operation: 47-25=22
Moving to Node #0,0
Current State: 31:[47, 29, 45], Operations: ['70-25=45']
Exploring Operation: 47+29=76, Resulting Numbers: [45, 76]
Generated Node #0,0,0: 31:[45, 76] Operation: 47+29=76
Exploring Operation: 47-29=18, Resulting Numbers: [45, 18]
Generated Node #0,0,1: 31:[45, 18] Operation: 47-29=18
Exploring Operation: 47-45=2, Resulting Numbers: [29, 2]
Generated Node #0,0,2: 31:[29, 2] Operation: 47-45=2
Exploring Operation: 45-29=16, Resulting Numbers: [47, 16]
Generated Node #0,0,3: 31:[47, 16] Operation: 45-29=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[45, 18], Operations: ['70-25=45', '47-29=18']
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,31 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 31:[29, 2], Operations: ['70-25=45', '47-45=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[25, 47, 70, 29], Operations: []
Exploring Operation: 70-25=45, Resulting Numbers: [47, 29, 45]
Generated Node #0,0: 31:[47, 29, 45] Operation: 70-25=45
Moving to Node #0,0
Current State: 31:[47, 29, 45], Operations: ['70-25=45']
Exploring Operation: 47-45=2, Resulting Numbers: [29, 2]
Generated Node #0,0,2: 31:[29, 2] Operation: 47-45=2
Moving to Node #0,0,2
Current State: 31:[29, 2], Operations: ['70-25=45', '47-45=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
12,
15,
22,
50
] | 75 | [
"15-12=3",
"22+50=72",
"3+72=75"
] | Current State: 75:[12, 15, 22, 50], Operations: []
Exploring Operation: 15-12=3, Resulting Numbers: [22, 50, 3]
Generated Node #2: [22, 50, 3] from Operation: 15-12=3
Current State: 75:[22, 50, 3], Operations: ['15-12=3']
Exploring Operation: 22+50=72, Resulting Numbers: [3, 72]
Generated Node #3: [3, 72] from Operation: 22+50=72
Current State: 75:[3, 72], Operations: ['15-12=3', '22+50=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[12, 15, 22, 50], Operations: []
Exploring Operation: 22+50=72, Resulting Numbers: [12, 15, 72]
Generated Node #0,0: 75:[12, 15, 72] Operation: 22+50=72
Moving to Node #0,0
Current State: 75:[12, 15, 72], Operations: ['22+50=72']
Exploring Operation: 72/12=6, Resulting Numbers: [15, 6]
Generated Node #0,0,0: 75:[15, 6] Operation: 72/12=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[15, 6], Operations: ['22+50=72', '72/12=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
17,
19,
72,
36
] | 18 | [
"17+19=36",
"72/36=2",
"36/2=18"
] | Current State: 18:[17, 19, 72, 36], Operations: []
Exploring Operation: 17+19=36, Resulting Numbers: [72, 36, 36]
Generated Node #2: [72, 36, 36] from Operation: 17+19=36
Current State: 18:[72, 36, 36], Operations: ['17+19=36']
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,18 equal: Goal Reached
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[17, 19, 72, 36], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [17, 19, 2]
Generated Node #0,0: 18:[17, 19, 2] Operation: 72/36=2
Exploring Operation: 72-19=53, Resulting Numbers: [17, 36, 53]
Generated Node #0,1: 18:[17, 36, 53] Operation: 72-19=53
Exploring Operation: 72-36=36, Resulting Numbers: [17, 19, 36]
Generated Node #0,2: 18:[17, 19, 36] Operation: 72-36=36
Moving to Node #0,0
Current State: 18:[17, 19, 2], Operations: ['72/36=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17, 17]
Generated Node #0,0,0: 18:[17, 17] Operation: 19-2=17
Exploring Operation: 17+2=19, Resulting Numbers: [19, 19]
Generated Node #0,0,1: 18:[19, 19] Operation: 17+2=19
Exploring Operation: 19-17=2, Resulting Numbers: [2, 2]
Generated Node #0,0,2: 18:[2, 2] Operation: 19-17=2
Moving to Node #0,2
Current State: 18:[17, 19, 36], Operations: ['72-36=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19, 19]
Generated Node #0,2,0: 18:[19, 19] Operation: 36-17=19
Exploring Operation: 36-19=17, Resulting Numbers: [17, 17]
Generated Node #0,2,1: 18:[17, 17] Operation: 36-19=17
Exploring Operation: 19-17=2, Resulting Numbers: [36, 2]
Generated Node #0,2,2: 18:[36, 2] Operation: 19-17=2
Moving to Node #0,1
Current State: 18:[17, 36, 53], Operations: ['72-19=53']
Exploring Operation: 53-17=36, Resulting Numbers: [36, 36]
Generated Node #0,1,0: 18:[36, 36] Operation: 53-17=36
Exploring Operation: 53-36=17, Resulting Numbers: [17, 17]
Generated Node #0,1,1: 18:[17, 17] Operation: 53-36=17
Exploring Operation: 36-17=19, Resulting Numbers: [53, 19]
Generated Node #0,1,2: 18:[53, 19] Operation: 36-17=19
Moving to Node #0,0,2
Current State: 18:[2, 2], Operations: ['72/36=2', '19-17=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[19, 19], Operations: ['72/36=2', '17+2=19']
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[17, 17], Operations: ['72-19=53', '53-36=17']
Exploring Operation: 17-17=0, Resulting Numbers: [0]
0,18 unequal: No Solution
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[17, 17], Operations: ['72/36=2', '19-2=17']
Exploring Operation: 17-17=0, Resulting Numbers: [0]
0,18 unequal: No Solution
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[17, 17], Operations: ['72-36=36', '36-19=17']
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 17-17=0, Resulting Numbers: [0]
0,18 unequal: No Solution
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[19, 19], Operations: ['72-36=36', '36-17=19']
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[36, 2], Operations: ['72-36=36', '19-17=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[17, 19, 72, 36], Operations: []
Exploring Operation: 72-36=36, Resulting Numbers: [17, 19, 36]
Generated Node #0,2: 18:[17, 19, 36] Operation: 72-36=36
Moving to Node #0,2
Current State: 18:[17, 19, 36], Operations: ['72-36=36']
Exploring Operation: 19-17=2, Resulting Numbers: [36, 2]
Generated Node #0,2,2: 18:[36, 2] Operation: 19-17=2
Moving to Node #0,2,2
Current State: 18:[36, 2], Operations: ['72-36=36', '19-17=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.969618 | hs_3 | mult_heuristic |
[
78,
54,
65,
36
] | 31 | [
"78+54=132",
"65+36=101",
"132-101=31"
] | Current State: 31:[78, 54, 65, 36], Operations: []
Exploring Operation: 78+54=132, Resulting Numbers: [65, 36, 132]
Generated Node #2: [65, 36, 132] from Operation: 78+54=132
Current State: 31:[65, 36, 132], Operations: ['78+54=132']
Exploring Operation: 65+36=101, Resulting Numbers: [132, 101]
Generated Node #3: [132, 101] from Operation: 65+36=101
Current State: 31:[132, 101], Operations: ['78+54=132', '65+36=101']
Exploring Operation: 132-101=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[78, 54, 65, 36], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [65, 36, 24]
Generated Node #0,0: 31:[65, 36, 24] Operation: 78-54=24
Exploring Operation: 78-65=13, Resulting Numbers: [54, 36, 13]
Generated Node #0,1: 31:[54, 36, 13] Operation: 78-65=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[65, 36, 24], Operations: ['78-54=24']
Exploring Operation: 65-36=29, Resulting Numbers: [24, 29]
Generated Node #0,0,0: 31:[24, 29] Operation: 65-36=29
Exploring Operation: 65-24=41, Resulting Numbers: [36, 41]
Generated Node #0,0,1: 31:[36, 41] Operation: 65-24=41
Moving to Node #0,0,0
Current State: 31:[24, 29], Operations: ['78-54=24', '65-36=29']
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,31 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[36, 41], Operations: ['78-54=24', '65-24=41']
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,31 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[54, 36, 13], Operations: ['78-65=13']
Exploring Operation: 54-36=18, Resulting Numbers: [13, 18]
Generated Node #0,1,0: 31:[13, 18] Operation: 54-36=18
Exploring Operation: 54-13=41, Resulting Numbers: [36, 41]
Generated Node #0,1,1: 31:[36, 41] Operation: 54-13=41
Moving to Node #0,1,1
Current State: 31:[36, 41], Operations: ['78-65=13', '54-13=41']
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,31 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[13, 18], Operations: ['78-65=13', '54-36=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[78, 54, 65, 36], Operations: []
Exploring Operation: 78-65=13, Resulting Numbers: [54, 36, 13]
Generated Node #0,1: 31:[54, 36, 13] Operation: 78-65=13
Moving to Node #0,1
Current State: 31:[54, 36, 13], Operations: ['78-65=13']
Exploring Operation: 54-36=18, Resulting Numbers: [13, 18]
Generated Node #0,1,0: 31:[13, 18] Operation: 54-36=18
Moving to Node #0,1,0
Current State: 31:[13, 18], Operations: ['78-65=13', '54-36=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
62,
72,
27,
38
] | 21 | [
"72-62=10",
"38-27=11",
"10+11=21"
] | Current State: 21:[62, 72, 27, 38], Operations: []
Exploring Operation: 72-62=10, Resulting Numbers: [27, 38, 10]
Generated Node #2: [27, 38, 10] from Operation: 72-62=10
Current State: 21:[27, 38, 10], Operations: ['72-62=10']
Exploring Operation: 38-27=11, Resulting Numbers: [10, 11]
Generated Node #3: [10, 11] from Operation: 38-27=11
Current State: 21:[10, 11], Operations: ['72-62=10', '38-27=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[62, 72, 27, 38], Operations: []
Exploring Operation: 72-62=10, Resulting Numbers: [27, 38, 10]
Generated Node #0,0: 21:[27, 38, 10] Operation: 72-62=10
Exploring Operation: 62-38=24, Resulting Numbers: [72, 27, 24]
Generated Node #0,1: 21:[72, 27, 24] Operation: 62-38=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[27, 38, 10], Operations: ['72-62=10']
Exploring Operation: 38-10=28, Resulting Numbers: [27, 28]
Generated Node #0,0,0: 21:[27, 28] Operation: 38-10=28
Exploring Operation: 38-27=11, Resulting Numbers: [10, 11]
Generated Node #0,0,1: 21:[10, 11] Operation: 38-27=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[10, 11], Operations: ['72-62=10', '38-27=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[62, 72, 27, 38], Operations: []
Exploring Operation: 72-62=10, Resulting Numbers: [27, 38, 10]
Generated Node #0,0: 21:[27, 38, 10] Operation: 72-62=10
Moving to Node #0,0
Current State: 21:[27, 38, 10], Operations: ['72-62=10']
Exploring Operation: 38-27=11, Resulting Numbers: [10, 11]
Generated Node #0,0,1: 21:[10, 11] Operation: 38-27=11
Moving to Node #0,0,1
Current State: 21:[10, 11], Operations: ['72-62=10', '38-27=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
10,
67,
46,
59
] | 23 | [
"67-10=57",
"59-57=2",
"46/2=23"
] | Current State: 23:[10, 67, 46, 59], Operations: []
Exploring Operation: 67-10=57, Resulting Numbers: [46, 59, 57]
Generated Node #2: [46, 59, 57] from Operation: 67-10=57
Current State: 23:[46, 59, 57], Operations: ['67-10=57']
Exploring Operation: 59-57=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 59-57=2
Current State: 23:[46, 2], Operations: ['67-10=57', '59-57=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[10, 67, 46, 59], Operations: []
Exploring Operation: 46-10=36, Resulting Numbers: [67, 59, 36]
Generated Node #0,0: 23:[67, 59, 36] Operation: 46-10=36
Exploring Operation: 67-10=57, Resulting Numbers: [46, 59, 57]
Generated Node #0,1: 23:[46, 59, 57] Operation: 67-10=57
Exploring Operation: 67-59=8, Resulting Numbers: [10, 46, 8]
Generated Node #0,2: 23:[10, 46, 8] Operation: 67-59=8
Exploring Operation: 67-46=21, Resulting Numbers: [10, 59, 21]
Generated Node #0,3: 23:[10, 59, 21] Operation: 67-46=21
Exploring Operation: 59-46=13, Resulting Numbers: [10, 67, 13]
Generated Node #0,4: 23:[10, 67, 13] Operation: 59-46=13
Moving to Node #0,2
Current State: 23:[10, 46, 8], Operations: ['67-59=8']
Exploring Operation: 10+8=18, Resulting Numbers: [46, 18]
Generated Node #0,2,0: 23:[46, 18] Operation: 10+8=18
Exploring Operation: 46-10=36, Resulting Numbers: [8, 36]
Generated Node #0,2,1: 23:[8, 36] Operation: 46-10=36
Exploring Operation: 46-8=38, Resulting Numbers: [10, 38]
Generated Node #0,2,2: 23:[10, 38] Operation: 46-8=38
Exploring Operation: 10-8=2, Resulting Numbers: [46, 2]
Generated Node #0,2,3: 23:[46, 2] Operation: 10-8=2
Exploring Operation: 46+8=54, Resulting Numbers: [10, 54]
Generated Node #0,2,4: 23:[10, 54] Operation: 46+8=54
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[46, 18], Operations: ['67-59=8', '10+8=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[8, 36], Operations: ['67-59=8', '46-10=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[10, 38], Operations: ['67-59=8', '46-8=38']
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,23 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[46, 2], Operations: ['67-59=8', '10-8=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[10, 67, 46, 59], Operations: []
Exploring Operation: 67-59=8, Resulting Numbers: [10, 46, 8]
Generated Node #0,2: 23:[10, 46, 8] Operation: 67-59=8
Moving to Node #0,2
Current State: 23:[10, 46, 8], Operations: ['67-59=8']
Exploring Operation: 10-8=2, Resulting Numbers: [46, 2]
Generated Node #0,2,3: 23:[46, 2] Operation: 10-8=2
Moving to Node #0,2,3
Current State: 23:[46, 2], Operations: ['67-59=8', '10-8=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
80,
66,
7,
72
] | 70 | [
"80-66=14",
"14/7=2",
"72-2=70"
] | Current State: 70:[80, 66, 7, 72], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [7, 72, 14]
Generated Node #2: [7, 72, 14] from Operation: 80-66=14
Current State: 70:[7, 72, 14], Operations: ['80-66=14']
Exploring Operation: 14/7=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 14/7=2
Current State: 70:[72, 2], Operations: ['80-66=14', '14/7=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[80, 66, 7, 72], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [7, 72, 14]
Generated Node #0,0: 70:[7, 72, 14] Operation: 80-66=14
Moving to Node #0,0
Current State: 70:[7, 72, 14], Operations: ['80-66=14']
Exploring Operation: 14-7=7, Resulting Numbers: [72, 7]
Generated Node #0,0,0: 70:[72, 7] Operation: 14-7=7
Moving to Node #0,0,0
Current State: 70:[72, 7], Operations: ['80-66=14', '14-7=7']
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,70 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
46,
11,
69,
58
] | 46 | [
"46+11=57",
"69-58=11",
"57-11=46"
] | Current State: 46:[46, 11, 69, 58], Operations: []
Exploring Operation: 46+11=57, Resulting Numbers: [69, 58, 57]
Generated Node #2: [69, 58, 57] from Operation: 46+11=57
Current State: 46:[69, 58, 57], Operations: ['46+11=57']
Exploring Operation: 69-58=11, Resulting Numbers: [57, 11]
Generated Node #3: [57, 11] from Operation: 69-58=11
Current State: 46:[57, 11], Operations: ['46+11=57', '69-58=11']
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[46, 11, 69, 58], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [46, 11, 11]
Generated Node #0,0: 46:[46, 11, 11] Operation: 69-58=11
Exploring Operation: 69-46=23, Resulting Numbers: [11, 58, 23]
Generated Node #0,1: 46:[11, 58, 23] Operation: 69-46=23
Moving to Node #0,0
Current State: 46:[46, 11, 11], Operations: ['69-58=11']
Exploring Operation: 11+11=22, Resulting Numbers: [46, 22]
Generated Node #0,0,0: 46:[46, 22] Operation: 11+11=22
Exploring Operation: 11/11=1, Resulting Numbers: [46, 1]
Generated Node #0,0,1: 46:[46, 1] Operation: 11/11=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[46, 22], Operations: ['69-58=11', '11+11=22']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[46, 1], Operations: ['69-58=11', '11/11=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[46, 11, 69, 58], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [46, 11, 11]
Generated Node #0,0: 46:[46, 11, 11] Operation: 69-58=11
Moving to Node #0,0
Current State: 46:[46, 11, 11], Operations: ['69-58=11']
Exploring Operation: 11/11=1, Resulting Numbers: [46, 1]
Generated Node #0,0,1: 46:[46, 1] Operation: 11/11=1
Moving to Node #0,0,1
Current State: 46:[46, 1], Operations: ['69-58=11', '11/11=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
88,
82,
4,
73
] | 71 | [
"88-82=6",
"4+73=77",
"77-6=71"
] | Current State: 71:[88, 82, 4, 73], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [4, 73, 6]
Generated Node #2: [4, 73, 6] from Operation: 88-82=6
Current State: 71:[4, 73, 6], Operations: ['88-82=6']
Exploring Operation: 4+73=77, Resulting Numbers: [6, 77]
Generated Node #3: [6, 77] from Operation: 4+73=77
Current State: 71:[6, 77], Operations: ['88-82=6', '4+73=77']
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[88, 82, 4, 73], Operations: []
Exploring Operation: 73-4=69, Resulting Numbers: [88, 82, 69]
Generated Node #0,0: 71:[88, 82, 69] Operation: 73-4=69
Exploring Operation: 88-4=84, Resulting Numbers: [82, 73, 84]
Generated Node #0,1: 71:[82, 73, 84] Operation: 88-4=84
Exploring Operation: 82-4=78, Resulting Numbers: [88, 73, 78]
Generated Node #0,2: 71:[88, 73, 78] Operation: 82-4=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[82, 73, 84], Operations: ['88-4=84']
Exploring Operation: 84-73=11, Resulting Numbers: [82, 11]
Generated Node #0,1,0: 71:[82, 11] Operation: 84-73=11
Exploring Operation: 84-82=2, Resulting Numbers: [73, 2]
Generated Node #0,1,1: 71:[73, 2] Operation: 84-82=2
Exploring Operation: 82-73=9, Resulting Numbers: [84, 9]
Generated Node #0,1,2: 71:[84, 9] Operation: 82-73=9
Moving to Node #0,1,0
Current State: 71:[82, 11], Operations: ['88-4=84', '84-73=11']
Exploring Operation: 82*11=902, Resulting Numbers: [902]
902,71 unequal: No Solution
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[88, 82, 4, 73], Operations: []
Exploring Operation: 88-4=84, Resulting Numbers: [82, 73, 84]
Generated Node #0,1: 71:[82, 73, 84] Operation: 88-4=84
Moving to Node #0,1
Current State: 71:[82, 73, 84], Operations: ['88-4=84']
Exploring Operation: 84-73=11, Resulting Numbers: [82, 11]
Generated Node #0,1,0: 71:[82, 11] Operation: 84-73=11
Moving to Node #0,1,0
Current State: 71:[82, 11], Operations: ['88-4=84', '84-73=11']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
13,
39,
73,
61
] | 38 | [
"39-13=26",
"73-61=12",
"26+12=38"
] | Current State: 38:[13, 39, 73, 61], Operations: []
Exploring Operation: 39-13=26, Resulting Numbers: [73, 61, 26]
Generated Node #2: [73, 61, 26] from Operation: 39-13=26
Current State: 38:[73, 61, 26], Operations: ['39-13=26']
Exploring Operation: 73-61=12, Resulting Numbers: [26, 12]
Generated Node #3: [26, 12] from Operation: 73-61=12
Current State: 38:[26, 12], Operations: ['39-13=26', '73-61=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[13, 39, 73, 61], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [13, 39, 12]
Generated Node #0,0: 38:[13, 39, 12] Operation: 73-61=12
Moving to Node #0,0
Current State: 38:[13, 39, 12], Operations: ['73-61=12']
Exploring Operation: 13-12=1, Resulting Numbers: [39, 1]
Generated Node #0,0,0: 38:[39, 1] Operation: 13-12=1
Moving to Node #0,0,0
Current State: 38:[39, 1], Operations: ['73-61=12', '13-12=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[13, 39, 73, 61], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [13, 39, 12]
Generated Node #0,0: 38:[13, 39, 12] Operation: 73-61=12
Moving to Node #0,0
Current State: 38:[13, 39, 12], Operations: ['73-61=12']
Exploring Operation: 13-12=1, Resulting Numbers: [39, 1]
Generated Node #0,0,0: 38:[39, 1] Operation: 13-12=1
Moving to Node #0,0,0
Current State: 38:[39, 1], Operations: ['73-61=12', '13-12=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
25,
19,
51,
2
] | 18 | [
"25*2=50",
"51-19=32",
"50-32=18"
] | Current State: 18:[25, 19, 51, 2], Operations: []
Exploring Operation: 25*2=50, Resulting Numbers: [19, 51, 50]
Generated Node #2: [19, 51, 50] from Operation: 25*2=50
Current State: 18:[19, 51, 50], Operations: ['25*2=50']
Exploring Operation: 51-19=32, Resulting Numbers: [50, 32]
Generated Node #3: [50, 32] from Operation: 51-19=32
Current State: 18:[50, 32], Operations: ['25*2=50', '51-19=32']
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[25, 19, 51, 2], Operations: []
Exploring Operation: 25-19=6, Resulting Numbers: [51, 2, 6]
Generated Node #0,0: 18:[51, 2, 6] Operation: 25-19=6
Exploring Operation: 51-2=49, Resulting Numbers: [25, 19, 49]
Generated Node #0,1: 18:[25, 19, 49] Operation: 51-2=49
Exploring Operation: 51-25=26, Resulting Numbers: [19, 2, 26]
Generated Node #0,2: 18:[19, 2, 26] Operation: 51-25=26
Exploring Operation: 51-19=32, Resulting Numbers: [25, 2, 32]
Generated Node #0,3: 18:[25, 2, 32] Operation: 51-19=32
Exploring Operation: 25-2=23, Resulting Numbers: [19, 51, 23]
Generated Node #0,4: 18:[19, 51, 23] Operation: 25-2=23
Moving to Node #0,2
Current State: 18:[19, 2, 26], Operations: ['51-25=26']
Exploring Operation: 26-19=7, Resulting Numbers: [2, 7]
Generated Node #0,2,0: 18:[2, 7] Operation: 26-19=7
Exploring Operation: 19-2=17, Resulting Numbers: [26, 17]
Generated Node #0,2,1: 18:[26, 17] Operation: 19-2=17
Exploring Operation: 26/2=13, Resulting Numbers: [19, 13]
Generated Node #0,2,2: 18:[19, 13] Operation: 26/2=13
Exploring Operation: 26-2=24, Resulting Numbers: [19, 24]
Generated Node #0,2,3: 18:[19, 24] Operation: 26-2=24
Exploring Operation: 19+2=21, Resulting Numbers: [26, 21]
Generated Node #0,2,4: 18:[26, 21] Operation: 19+2=21
Moving to Node #0,3
Current State: 18:[25, 2, 32], Operations: ['51-19=32']
Exploring Operation: 25-2=23, Resulting Numbers: [32, 23]
Generated Node #0,3,0: 18:[32, 23] Operation: 25-2=23
Exploring Operation: 32/2=16, Resulting Numbers: [25, 16]
Generated Node #0,3,1: 18:[25, 16] Operation: 32/2=16
Exploring Operation: 32-2=30, Resulting Numbers: [25, 30]
Generated Node #0,3,2: 18:[25, 30] Operation: 32-2=30
Exploring Operation: 25+2=27, Resulting Numbers: [32, 27]
Generated Node #0,3,3: 18:[32, 27] Operation: 25+2=27
Exploring Operation: 32-25=7, Resulting Numbers: [2, 7]
Generated Node #0,3,4: 18:[2, 7] Operation: 32-25=7
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 18:[2, 7], Operations: ['51-19=32', '32-25=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[25, 16], Operations: ['51-19=32', '32/2=16']
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,18 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,18 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[32, 23], Operations: ['51-19=32', '25-2=23']
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,18 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[25, 30], Operations: ['51-19=32', '32-2=30']
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 25*30=750, Resulting Numbers: [750]
750,18 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[32, 27], Operations: ['51-19=32', '25+2=27']
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,18 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 18:[51, 2, 6], Operations: ['25-19=6']
Exploring Operation: 6-2=4, Resulting Numbers: [51, 4]
Generated Node #0,0,0: 18:[51, 4] Operation: 6-2=4
Exploring Operation: 51-2=49, Resulting Numbers: [6, 49]
Generated Node #0,0,1: 18:[6, 49] Operation: 51-2=49
Exploring Operation: 2+6=8, Resulting Numbers: [51, 8]
Generated Node #0,0,2: 18:[51, 8] Operation: 2+6=8
Exploring Operation: 6/2=3, Resulting Numbers: [51, 3]
Generated Node #0,0,3: 18:[51, 3] Operation: 6/2=3
Exploring Operation: 51-6=45, Resulting Numbers: [2, 45]
Generated Node #0,0,4: 18:[2, 45] Operation: 51-6=45
Moving to Node #0,1
Current State: 18:[25, 19, 49], Operations: ['51-2=49']
Exploring Operation: 49-19=30, Resulting Numbers: [25, 30]
Generated Node #0,1,0: 18:[25, 30] Operation: 49-19=30
Exploring Operation: 25-19=6, Resulting Numbers: [49, 6]
Generated Node #0,1,1: 18:[49, 6] Operation: 25-19=6
Exploring Operation: 25+19=44, Resulting Numbers: [49, 44]
Generated Node #0,1,2: 18:[49, 44] Operation: 25+19=44
Exploring Operation: 25+49=74, Resulting Numbers: [19, 74]
Generated Node #0,1,3: 18:[19, 74] Operation: 25+49=74
Exploring Operation: 49-25=24, Resulting Numbers: [19, 24]
Generated Node #0,1,4: 18:[19, 24] Operation: 49-25=24
Moving to Node #0,4
Current State: 18:[19, 51, 23], Operations: ['25-2=23']
Exploring Operation: 19+23=42, Resulting Numbers: [51, 42]
Generated Node #0,4,0: 18:[51, 42] Operation: 19+23=42
Exploring Operation: 51-19=32, Resulting Numbers: [23, 32]
Generated Node #0,4,1: 18:[23, 32] Operation: 51-19=32
Exploring Operation: 51-23=28, Resulting Numbers: [19, 28]
Generated Node #0,4,2: 18:[19, 28] Operation: 51-23=28
Exploring Operation: 19+51=70, Resulting Numbers: [23, 70]
Generated Node #0,4,3: 18:[23, 70] Operation: 19+51=70
Exploring Operation: 23-19=4, Resulting Numbers: [51, 4]
Generated Node #0,4,4: 18:[51, 4] Operation: 23-19=4
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 18:[19, 28], Operations: ['25-2=23', '51-23=28']
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 19+28=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 19*28=532, Resulting Numbers: [532]
532,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 18:[23, 32], Operations: ['25-2=23', '51-19=32']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 18:[51, 4], Operations: ['25-2=23', '23-19=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 18:[51, 42], Operations: ['25-2=23', '19+23=42']
Exploring Operation: 51*42=2142, Resulting Numbers: [2142]
2142,18 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 51+42=93, Resulting Numbers: [93]
93,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 18:[23, 70], Operations: ['25-2=23', '19+51=70']
Exploring Operation: 23*70=1610, Resulting Numbers: [1610]
1610,18 unequal: No Solution
Exploring Operation: 23+70=93, Resulting Numbers: [93]
93,18 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 18:[2, 7], Operations: ['51-25=26', '26-19=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[19, 13], Operations: ['51-25=26', '26/2=13']
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,18 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[19, 24], Operations: ['51-25=26', '26-2=24']
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,18 unequal: No Solution
Moving to Node #0,1,4
Current State: 18:[19, 24], Operations: ['51-2=49', '49-25=24']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[26, 17], Operations: ['51-25=26', '19-2=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,18 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[26, 21], Operations: ['51-25=26', '19+2=21']
Exploring Operation: 26*21=546, Resulting Numbers: [546]
546,18 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[25, 30], Operations: ['51-2=49', '49-19=30']
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 25*30=750, Resulting Numbers: [750]
750,18 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Moving to Node #0,0,4
Current State: 18:[2, 45], Operations: ['25-19=6', '51-6=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,18 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[6, 49], Operations: ['25-19=6', '51-2=49']
Exploring Operation: 6*49=294, Resulting Numbers: [294]
294,18 unequal: No Solution
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[49, 6], Operations: ['51-2=49', '25-19=6']
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[51, 3], Operations: ['25-19=6', '6/2=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,18 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,18 unequal: No Solution
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[51, 4], Operations: ['25-19=6', '6-2=4']
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,18 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[51, 8], Operations: ['25-19=6', '2+6=8']
Exploring Operation: 51+8=59, Resulting Numbers: [59]
59,18 unequal: No Solution
Exploring Operation: 51*8=408, Resulting Numbers: [408]
408,18 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[19, 74], Operations: ['51-2=49', '25+49=74']
Exploring Operation: 19*74=1406, Resulting Numbers: [1406]
1406,18 unequal: No Solution
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 19+74=93, Resulting Numbers: [93]
93,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[49, 44], Operations: ['51-2=49', '25+19=44']
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,18 unequal: No Solution
Exploring Operation: 49*44=2156, Resulting Numbers: [2156]
2156,18 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
6,
56,
82,
98
] | 78 | [
"6+56=62",
"98-82=16",
"62+16=78"
] | Current State: 78:[6, 56, 82, 98], Operations: []
Exploring Operation: 6+56=62, Resulting Numbers: [82, 98, 62]
Generated Node #2: [82, 98, 62] from Operation: 6+56=62
Current State: 78:[82, 98, 62], Operations: ['6+56=62']
Exploring Operation: 98-82=16, Resulting Numbers: [62, 16]
Generated Node #3: [62, 16] from Operation: 98-82=16
Current State: 78:[62, 16], Operations: ['6+56=62', '98-82=16']
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[6, 56, 82, 98], Operations: []
Exploring Operation: 82-56=26, Resulting Numbers: [6, 98, 26]
Generated Node #0,0: 78:[6, 98, 26] Operation: 82-56=26
Exploring Operation: 98-56=42, Resulting Numbers: [6, 82, 42]
Generated Node #0,1: 78:[6, 82, 42] Operation: 98-56=42
Exploring Operation: 56-6=50, Resulting Numbers: [82, 98, 50]
Generated Node #0,2: 78:[82, 98, 50] Operation: 56-6=50
Exploring Operation: 98-82=16, Resulting Numbers: [6, 56, 16]
Generated Node #0,3: 78:[6, 56, 16] Operation: 98-82=16
Moving to Node #0,1
Current State: 78:[6, 82, 42], Operations: ['98-56=42']
Exploring Operation: 42-6=36, Resulting Numbers: [82, 36]
Generated Node #0,1,0: 78:[82, 36] Operation: 42-6=36
Exploring Operation: 82-6=76, Resulting Numbers: [42, 76]
Generated Node #0,1,1: 78:[42, 76] Operation: 82-6=76
Exploring Operation: 82-42=40, Resulting Numbers: [6, 40]
Generated Node #0,1,2: 78:[6, 40] Operation: 82-42=40
Exploring Operation: 42/6=7, Resulting Numbers: [82, 7]
Generated Node #0,1,3: 78:[82, 7] Operation: 42/6=7
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 78:[6, 40], Operations: ['98-56=42', '82-42=40']
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,78 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[42, 76], Operations: ['98-56=42', '82-6=76']
Exploring Operation: 42+76=118, Resulting Numbers: [118]
118,78 unequal: No Solution
Exploring Operation: 42*76=3192, Resulting Numbers: [3192]
3192,78 unequal: No Solution
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 78:[82, 7], Operations: ['98-56=42', '42/6=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,78 unequal: No Solution
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[82, 36], Operations: ['98-56=42', '42-6=36']
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,78 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 78:[6, 56, 16], Operations: ['98-82=16']
Exploring Operation: 6+56=62, Resulting Numbers: [16, 62]
Generated Node #0,3,0: 78:[16, 62] Operation: 6+56=62
Exploring Operation: 56-16=40, Resulting Numbers: [6, 40]
Generated Node #0,3,1: 78:[6, 40] Operation: 56-16=40
Exploring Operation: 56+16=72, Resulting Numbers: [6, 72]
Generated Node #0,3,2: 78:[6, 72] Operation: 56+16=72
Exploring Operation: 56-6=50, Resulting Numbers: [16, 50]
Generated Node #0,3,3: 78:[16, 50] Operation: 56-6=50
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 78:[6, 40], Operations: ['98-82=16', '56-16=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,78 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 78:[6, 72], Operations: ['98-82=16', '56+16=72']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[6, 56, 82, 98], Operations: []
Exploring Operation: 98-82=16, Resulting Numbers: [6, 56, 16]
Generated Node #0,3: 78:[6, 56, 16] Operation: 98-82=16
Moving to Node #0,3
Current State: 78:[6, 56, 16], Operations: ['98-82=16']
Exploring Operation: 56+16=72, Resulting Numbers: [6, 72]
Generated Node #0,3,2: 78:[6, 72] Operation: 56+16=72
Moving to Node #0,3,2
Current State: 78:[6, 72], Operations: ['98-82=16', '56+16=72']
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
60,
11,
41,
68
] | 76 | [
"60-11=49",
"68-41=27",
"49+27=76"
] | Current State: 76:[60, 11, 41, 68], Operations: []
Exploring Operation: 60-11=49, Resulting Numbers: [41, 68, 49]
Generated Node #2: [41, 68, 49] from Operation: 60-11=49
Current State: 76:[41, 68, 49], Operations: ['60-11=49']
Exploring Operation: 68-41=27, Resulting Numbers: [49, 27]
Generated Node #3: [49, 27] from Operation: 68-41=27
Current State: 76:[49, 27], Operations: ['60-11=49', '68-41=27']
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[60, 11, 41, 68], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [11, 41, 8]
Generated Node #0,0: 76:[11, 41, 8] Operation: 68-60=8
Moving to Node #0,0
Current State: 76:[11, 41, 8], Operations: ['68-60=8']
Exploring Operation: 11+8=19, Resulting Numbers: [41, 19]
Generated Node #0,0,0: 76:[41, 19] Operation: 11+8=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[41, 19], Operations: ['68-60=8', '11+8=19']
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
60,
45,
50
] | 85 | [
"3*60=180",
"45+50=95",
"180-95=85"
] | Current State: 85:[3, 60, 45, 50], Operations: []
Exploring Operation: 3*60=180, Resulting Numbers: [45, 50, 180]
Generated Node #2: [45, 50, 180] from Operation: 3*60=180
Current State: 85:[45, 50, 180], Operations: ['3*60=180']
Exploring Operation: 45+50=95, Resulting Numbers: [180, 95]
Generated Node #3: [180, 95] from Operation: 45+50=95
Current State: 85:[180, 95], Operations: ['3*60=180', '45+50=95']
Exploring Operation: 180-95=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[3, 60, 45, 50], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [3, 60, 5]
Generated Node #0,0: 85:[3, 60, 5] Operation: 50-45=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[3, 60, 5], Operations: ['50-45=5']
Exploring Operation: 60/3=20, Resulting Numbers: [5, 20]
Generated Node #0,0,0: 85:[5, 20] Operation: 60/3=20
Moving to Node #0,0,0
Current State: 85:[5, 20], Operations: ['50-45=5', '60/3=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
31,
21,
5,
19
] | 67 | [
"21-19=2",
"31*2=62",
"5+62=67"
] | Current State: 67:[31, 21, 5, 19], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [31, 5, 2]
Generated Node #2: [31, 5, 2] from Operation: 21-19=2
Current State: 67:[31, 5, 2], Operations: ['21-19=2']
Exploring Operation: 31*2=62, Resulting Numbers: [5, 62]
Generated Node #3: [5, 62] from Operation: 31*2=62
Current State: 67:[5, 62], Operations: ['21-19=2', '31*2=62']
Exploring Operation: 5+62=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[31, 21, 5, 19], Operations: []
Exploring Operation: 5*19=95, Resulting Numbers: [31, 21, 95]
Generated Node #0,0: 67:[31, 21, 95] Operation: 5*19=95
Exploring Operation: 21*5=105, Resulting Numbers: [31, 19, 105]
Generated Node #0,1: 67:[31, 19, 105] Operation: 21*5=105
Exploring Operation: 31+5=36, Resulting Numbers: [21, 19, 36]
Generated Node #0,2: 67:[21, 19, 36] Operation: 31+5=36
Exploring Operation: 31+19=50, Resulting Numbers: [21, 5, 50]
Generated Node #0,3: 67:[21, 5, 50] Operation: 31+19=50
Exploring Operation: 31+21=52, Resulting Numbers: [5, 19, 52]
Generated Node #0,4: 67:[5, 19, 52] Operation: 31+21=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[31, 21, 95], Operations: ['5*19=95']
Exploring Operation: 31-21=10, Resulting Numbers: [95, 10]
Generated Node #0,0,0: 67:[95, 10] Operation: 31-21=10
Exploring Operation: 95-31=64, Resulting Numbers: [21, 64]
Generated Node #0,0,1: 67:[21, 64] Operation: 95-31=64
Exploring Operation: 95-21=74, Resulting Numbers: [31, 74]
Generated Node #0,0,2: 67:[31, 74] Operation: 95-21=74
Exploring Operation: 21+95=116, Resulting Numbers: [31, 116]
Generated Node #0,0,3: 67:[31, 116] Operation: 21+95=116
Exploring Operation: 31+21=52, Resulting Numbers: [95, 52]
Generated Node #0,0,4: 67:[95, 52] Operation: 31+21=52
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[31, 74], Operations: ['5*19=95', '95-21=74']
Exploring Operation: 31*74=2294, Resulting Numbers: [2294]
2294,67 unequal: No Solution
Exploring Operation: 31+74=105, Resulting Numbers: [105]
105,67 unequal: No Solution
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 67:[95, 52], Operations: ['5*19=95', '31+21=52']
Exploring Operation: 95*52=4940, Resulting Numbers: [4940]
4940,67 unequal: No Solution
Exploring Operation: 95+52=147, Resulting Numbers: [147]
147,67 unequal: No Solution
Exploring Operation: 95-52=43, Resulting Numbers: [43]
43,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[21, 64], Operations: ['5*19=95', '95-31=64']
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 21*64=1344, Resulting Numbers: [1344]
1344,67 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[95, 10], Operations: ['5*19=95', '31-21=10']
Exploring Operation: 95*10=950, Resulting Numbers: [950]
950,67 unequal: No Solution
Exploring Operation: 95+10=105, Resulting Numbers: [105]
105,67 unequal: No Solution
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 67:[31, 116], Operations: ['5*19=95', '21+95=116']
Exploring Operation: 116-31=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 31*116=3596, Resulting Numbers: [3596]
3596,67 unequal: No Solution
Exploring Operation: 31+116=147, Resulting Numbers: [147]
147,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[31, 19, 105], Operations: ['21*5=105']
Exploring Operation: 105-31=74, Resulting Numbers: [19, 74]
Generated Node #0,1,0: 67:[19, 74] Operation: 105-31=74
Exploring Operation: 19+105=124, Resulting Numbers: [31, 124]
Generated Node #0,1,1: 67:[31, 124] Operation: 19+105=124
Exploring Operation: 31+19=50, Resulting Numbers: [105, 50]
Generated Node #0,1,2: 67:[105, 50] Operation: 31+19=50
Exploring Operation: 31-19=12, Resulting Numbers: [105, 12]
Generated Node #0,1,3: 67:[105, 12] Operation: 31-19=12
Exploring Operation: 105-19=86, Resulting Numbers: [31, 86]
Generated Node #0,1,4: 67:[31, 86] Operation: 105-19=86
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[19, 74], Operations: ['21*5=105', '105-31=74']
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 19*74=1406, Resulting Numbers: [1406]
1406,67 unequal: No Solution
Exploring Operation: 19+74=93, Resulting Numbers: [93]
93,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[105, 50], Operations: ['21*5=105', '31+19=50']
Exploring Operation: 105*50=5250, Resulting Numbers: [5250]
5250,67 unequal: No Solution
Exploring Operation: 105-50=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 105+50=155, Resulting Numbers: [155]
155,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 67:[31, 86], Operations: ['21*5=105', '105-19=86']
Exploring Operation: 31+86=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Exploring Operation: 31*86=2666, Resulting Numbers: [2666]
2666,67 unequal: No Solution
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[31, 124], Operations: ['21*5=105', '19+105=124']
Exploring Operation: 124-31=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 124/31=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 31+124=155, Resulting Numbers: [155]
155,67 unequal: No Solution
Exploring Operation: 31*124=3844, Resulting Numbers: [3844]
3844,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[105, 12], Operations: ['21*5=105', '31-19=12']
Exploring Operation: 105+12=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Exploring Operation: 105-12=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 105*12=1260, Resulting Numbers: [1260]
1260,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[21, 19, 36], Operations: ['31+5=36']
Exploring Operation: 21+36=57, Resulting Numbers: [19, 57]
Generated Node #0,2,0: 67:[19, 57] Operation: 21+36=57
Exploring Operation: 21+19=40, Resulting Numbers: [36, 40]
Generated Node #0,2,1: 67:[36, 40] Operation: 21+19=40
Exploring Operation: 19+36=55, Resulting Numbers: [21, 55]
Generated Node #0,2,2: 67:[21, 55] Operation: 19+36=55
Exploring Operation: 36-19=17, Resulting Numbers: [21, 17]
Generated Node #0,2,3: 67:[21, 17] Operation: 36-19=17
Exploring Operation: 21-19=2, Resulting Numbers: [36, 2]
Generated Node #0,2,4: 67:[36, 2] Operation: 21-19=2
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[19, 57], Operations: ['31+5=36', '21+36=57']
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 19*57=1083, Resulting Numbers: [1083]
1083,67 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[36, 40], Operations: ['31+5=36', '21+19=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,67 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[21, 55], Operations: ['31+5=36', '19+36=55']
Exploring Operation: 21*55=1155, Resulting Numbers: [1155]
1155,67 unequal: No Solution
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[21, 17], Operations: ['31+5=36', '36-19=17']
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,67 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 67:[36, 2], Operations: ['31+5=36', '21-19=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[21, 5, 50], Operations: ['31+19=50']
Exploring Operation: 21+50=71, Resulting Numbers: [5, 71]
Generated Node #0,3,0: 67:[5, 71] Operation: 21+50=71
Exploring Operation: 21+5=26, Resulting Numbers: [50, 26]
Generated Node #0,3,1: 67:[50, 26] Operation: 21+5=26
Exploring Operation: 21-5=16, Resulting Numbers: [50, 16]
Generated Node #0,3,2: 67:[50, 16] Operation: 21-5=16
Exploring Operation: 5+50=55, Resulting Numbers: [21, 55]
Generated Node #0,3,3: 67:[21, 55] Operation: 5+50=55
Exploring Operation: 21*5=105, Resulting Numbers: [50, 105]
Generated Node #0,3,4: 67:[50, 105] Operation: 21*5=105
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 67:[50, 105], Operations: ['31+19=50', '21*5=105']
Exploring Operation: 105-50=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 50*105=5250, Resulting Numbers: [5250]
5250,67 unequal: No Solution
Exploring Operation: 50+105=155, Resulting Numbers: [155]
155,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 67:[50, 26], Operations: ['31+19=50', '21+5=26']
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,67 unequal: No Solution
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 67:[21, 55], Operations: ['31+19=50', '5+50=55']
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 21*55=1155, Resulting Numbers: [1155]
1155,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 67:[5, 71], Operations: ['31+19=50', '21+50=71']
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 5*71=355, Resulting Numbers: [355]
355,67 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 67:[50, 16], Operations: ['31+19=50', '21-5=16']
Exploring Operation: 50+16=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 50*16=800, Resulting Numbers: [800]
800,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 67:[5, 19, 52], Operations: ['31+21=52']
Exploring Operation: 19+52=71, Resulting Numbers: [5, 71]
Generated Node #0,4,0: 67:[5, 71] Operation: 19+52=71
Exploring Operation: 19-5=14, Resulting Numbers: [52, 14]
Generated Node #0,4,1: 67:[52, 14] Operation: 19-5=14
Exploring Operation: 5*19=95, Resulting Numbers: [52, 95]
Generated Node #0,4,2: 67:[52, 95] Operation: 5*19=95
Exploring Operation: 5+52=57, Resulting Numbers: [19, 57]
Generated Node #0,4,3: 67:[19, 57] Operation: 5+52=57
Exploring Operation: 5+19=24, Resulting Numbers: [52, 24]
Generated Node #0,4,4: 67:[52, 24] Operation: 5+19=24
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 67:[52, 95], Operations: ['31+21=52', '5*19=95']
Exploring Operation: 52*95=4940, Resulting Numbers: [4940]
4940,67 unequal: No Solution
Exploring Operation: 95-52=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 52+95=147, Resulting Numbers: [147]
147,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 67:[19, 57], Operations: ['31+21=52', '5+52=57']
Exploring Operation: 19*57=1083, Resulting Numbers: [1083]
1083,67 unequal: No Solution
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 67:[52, 24], Operations: ['31+21=52', '5+19=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 67:[5, 71], Operations: ['31+21=52', '19+52=71']
Exploring Operation: 5*71=355, Resulting Numbers: [355]
355,67 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 67:[52, 14], Operations: ['31+21=52', '19-5=14']
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,67 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
77,
7,
12,
2
] | 64 | [
"77-7=70",
"12/2=6",
"70-6=64"
] | Current State: 64:[77, 7, 12, 2], Operations: []
Exploring Operation: 77-7=70, Resulting Numbers: [12, 2, 70]
Generated Node #2: [12, 2, 70] from Operation: 77-7=70
Current State: 64:[12, 2, 70], Operations: ['77-7=70']
Exploring Operation: 12/2=6, Resulting Numbers: [70, 6]
Generated Node #3: [70, 6] from Operation: 12/2=6
Current State: 64:[70, 6], Operations: ['77-7=70', '12/2=6']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[77, 7, 12, 2], Operations: []
Exploring Operation: 77-7=70, Resulting Numbers: [12, 2, 70]
Generated Node #0,0: 64:[12, 2, 70] Operation: 77-7=70
Exploring Operation: 77-12=65, Resulting Numbers: [7, 2, 65]
Generated Node #0,1: 64:[7, 2, 65] Operation: 77-12=65
Exploring Operation: 77/7=11, Resulting Numbers: [12, 2, 11]
Generated Node #0,2: 64:[12, 2, 11] Operation: 77/7=11
Moving to Node #0,1
Current State: 64:[7, 2, 65], Operations: ['77-12=65']
Exploring Operation: 7+2=9, Resulting Numbers: [65, 9]
Generated Node #0,1,0: 64:[65, 9] Operation: 7+2=9
Exploring Operation: 7-2=5, Resulting Numbers: [65, 5]
Generated Node #0,1,1: 64:[65, 5] Operation: 7-2=5
Exploring Operation: 65-2=63, Resulting Numbers: [7, 63]
Generated Node #0,1,2: 64:[7, 63] Operation: 65-2=63
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[65, 9], Operations: ['77-12=65', '7+2=9']
Exploring Operation: 65*9=585, Resulting Numbers: [585]
585,64 unequal: No Solution
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[65, 5], Operations: ['77-12=65', '7-2=5']
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[7, 63], Operations: ['77-12=65', '65-2=63']
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 7+63=70, Resulting Numbers: [70]
70,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 64:[12, 2, 11], Operations: ['77/7=11']
Exploring Operation: 12-11=1, Resulting Numbers: [2, 1]
Generated Node #0,2,0: 64:[2, 1] Operation: 12-11=1
Exploring Operation: 12-2=10, Resulting Numbers: [11, 10]
Generated Node #0,2,1: 64:[11, 10] Operation: 12-2=10
Exploring Operation: 12+2=14, Resulting Numbers: [11, 14]
Generated Node #0,2,2: 64:[11, 14] Operation: 12+2=14
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[2, 1], Operations: ['77/7=11', '12-11=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[11, 10], Operations: ['77/7=11', '12-2=10']
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,64 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[11, 14], Operations: ['77/7=11', '12+2=14']
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,64 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 64:[12, 2, 70], Operations: ['77-7=70']
Exploring Operation: 12+2=14, Resulting Numbers: [70, 14]
Generated Node #0,0,0: 64:[70, 14] Operation: 12+2=14
Exploring Operation: 70-12=58, Resulting Numbers: [2, 58]
Generated Node #0,0,1: 64:[2, 58] Operation: 70-12=58
Exploring Operation: 70/2=35, Resulting Numbers: [12, 35]
Generated Node #0,0,2: 64:[12, 35] Operation: 70/2=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[2, 58], Operations: ['77-7=70', '70-12=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[12, 35], Operations: ['77-7=70', '70/2=35']
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[70, 14], Operations: ['77-7=70', '12+2=14']
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
80,
3,
28,
11
] | 25 | [
"80+28=108",
"108/3=36",
"36-11=25"
] | Current State: 25:[80, 3, 28, 11], Operations: []
Exploring Operation: 80+28=108, Resulting Numbers: [3, 11, 108]
Generated Node #2: [3, 11, 108] from Operation: 80+28=108
Current State: 25:[3, 11, 108], Operations: ['80+28=108']
Exploring Operation: 108/3=36, Resulting Numbers: [11, 36]
Generated Node #3: [11, 36] from Operation: 108/3=36
Current State: 25:[11, 36], Operations: ['80+28=108', '108/3=36']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[80, 3, 28, 11], Operations: []
Exploring Operation: 80-28=52, Resulting Numbers: [3, 11, 52]
Generated Node #0,0: 25:[3, 11, 52] Operation: 80-28=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[3, 11, 52], Operations: ['80-28=52']
Exploring Operation: 52-11=41, Resulting Numbers: [3, 41]
Generated Node #0,0,0: 25:[3, 41] Operation: 52-11=41
Moving to Node #0,0,0
Current State: 25:[3, 41], Operations: ['80-28=52', '52-11=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
10,
51,
4
] | 39 | [
"65+51=116",
"116/4=29",
"10+29=39"
] | Current State: 39:[65, 10, 51, 4], Operations: []
Exploring Operation: 65+51=116, Resulting Numbers: [10, 4, 116]
Generated Node #2: [10, 4, 116] from Operation: 65+51=116
Current State: 39:[10, 4, 116], Operations: ['65+51=116']
Exploring Operation: 116/4=29, Resulting Numbers: [10, 29]
Generated Node #3: [10, 29] from Operation: 116/4=29
Current State: 39:[10, 29], Operations: ['65+51=116', '116/4=29']
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[65, 10, 51, 4], Operations: []
Exploring Operation: 65-10=55, Resulting Numbers: [51, 4, 55]
Generated Node #0,0: 39:[51, 4, 55] Operation: 65-10=55
Exploring Operation: 65-51=14, Resulting Numbers: [10, 4, 14]
Generated Node #0,1: 39:[10, 4, 14] Operation: 65-51=14
Moving to Node #0,1
Current State: 39:[10, 4, 14], Operations: ['65-51=14']
Exploring Operation: 10+4=14, Resulting Numbers: [14, 14]
Generated Node #0,1,0: 39:[14, 14] Operation: 10+4=14
Exploring Operation: 10*4=40, Resulting Numbers: [14, 40]
Generated Node #0,1,1: 39:[14, 40] Operation: 10*4=40
Moving to Node #0,0
Current State: 39:[51, 4, 55], Operations: ['65-10=55']
Exploring Operation: 51-4=47, Resulting Numbers: [55, 47]
Generated Node #0,0,0: 39:[55, 47] Operation: 51-4=47
Exploring Operation: 55-51=4, Resulting Numbers: [4, 4]
Generated Node #0,0,1: 39:[4, 4] Operation: 55-51=4
Moving to Node #0,1,0
Current State: 39:[14, 14], Operations: ['65-51=14', '10+4=14']
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[4, 4], Operations: ['65-10=55', '55-51=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[14, 40], Operations: ['65-51=14', '10*4=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[55, 47], Operations: ['65-10=55', '51-4=47']
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 55+47=102, Resulting Numbers: [102]
102,39 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
44,
21,
48,
42
] | 29 | [
"44-21=23",
"48-42=6",
"23+6=29"
] | Current State: 29:[44, 21, 48, 42], Operations: []
Exploring Operation: 44-21=23, Resulting Numbers: [48, 42, 23]
Generated Node #2: [48, 42, 23] from Operation: 44-21=23
Current State: 29:[48, 42, 23], Operations: ['44-21=23']
Exploring Operation: 48-42=6, Resulting Numbers: [23, 6]
Generated Node #3: [23, 6] from Operation: 48-42=6
Current State: 29:[23, 6], Operations: ['44-21=23', '48-42=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[44, 21, 48, 42], Operations: []
Exploring Operation: 44-21=23, Resulting Numbers: [48, 42, 23]
Generated Node #0,0: 29:[48, 42, 23] Operation: 44-21=23
Exploring Operation: 42-21=21, Resulting Numbers: [44, 48, 21]
Generated Node #0,1: 29:[44, 48, 21] Operation: 42-21=21
Exploring Operation: 48-21=27, Resulting Numbers: [44, 42, 27]
Generated Node #0,2: 29:[44, 42, 27] Operation: 48-21=27
Exploring Operation: 48-44=4, Resulting Numbers: [21, 42, 4]
Generated Node #0,3: 29:[21, 42, 4] Operation: 48-44=4
Moving to Node #0,2
Current State: 29:[44, 42, 27], Operations: ['48-21=27']
Exploring Operation: 44-42=2, Resulting Numbers: [27, 2]
Generated Node #0,2,0: 29:[27, 2] Operation: 44-42=2
Exploring Operation: 44-27=17, Resulting Numbers: [42, 17]
Generated Node #0,2,1: 29:[42, 17] Operation: 44-27=17
Exploring Operation: 42-27=15, Resulting Numbers: [44, 15]
Generated Node #0,2,2: 29:[44, 15] Operation: 42-27=15
Exploring Operation: 44+27=71, Resulting Numbers: [42, 71]
Generated Node #0,2,3: 29:[42, 71] Operation: 44+27=71
Moving to Node #0,0
Current State: 29:[48, 42, 23], Operations: ['44-21=23']
Exploring Operation: 48-23=25, Resulting Numbers: [42, 25]
Generated Node #0,0,0: 29:[42, 25] Operation: 48-23=25
Exploring Operation: 42-23=19, Resulting Numbers: [48, 19]
Generated Node #0,0,1: 29:[48, 19] Operation: 42-23=19
Exploring Operation: 48-42=6, Resulting Numbers: [23, 6]
Generated Node #0,0,2: 29:[23, 6] Operation: 48-42=6
Exploring Operation: 48+23=71, Resulting Numbers: [42, 71]
Generated Node #0,0,3: 29:[42, 71] Operation: 48+23=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[42, 25], Operations: ['44-21=23', '48-23=25']
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,29 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[48, 19], Operations: ['44-21=23', '42-23=19']
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,29 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[44, 21, 48, 42], Operations: []
Exploring Operation: 44-21=23, Resulting Numbers: [48, 42, 23]
Generated Node #0,0: 29:[48, 42, 23] Operation: 44-21=23
Moving to Node #0,0
Current State: 29:[48, 42, 23], Operations: ['44-21=23']
Exploring Operation: 42-23=19, Resulting Numbers: [48, 19]
Generated Node #0,0,1: 29:[48, 19] Operation: 42-23=19
Moving to Node #0,0,1
Current State: 29:[48, 19], Operations: ['44-21=23', '42-23=19']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
68,
10,
14,
42
] | 26 | [
"68+10=78",
"42/14=3",
"78/3=26"
] | Current State: 26:[68, 10, 14, 42], Operations: []
Exploring Operation: 68+10=78, Resulting Numbers: [14, 42, 78]
Generated Node #2: [14, 42, 78] from Operation: 68+10=78
Current State: 26:[14, 42, 78], Operations: ['68+10=78']
Exploring Operation: 42/14=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 42/14=3
Current State: 26:[78, 3], Operations: ['68+10=78', '42/14=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[68, 10, 14, 42], Operations: []
Exploring Operation: 68-10=58, Resulting Numbers: [14, 42, 58]
Generated Node #0,0: 26:[14, 42, 58] Operation: 68-10=58
Exploring Operation: 68-14=54, Resulting Numbers: [10, 42, 54]
Generated Node #0,1: 26:[10, 42, 54] Operation: 68-14=54
Exploring Operation: 42/14=3, Resulting Numbers: [68, 10, 3]
Generated Node #0,2: 26:[68, 10, 3] Operation: 42/14=3
Exploring Operation: 42-14=28, Resulting Numbers: [68, 10, 28]
Generated Node #0,3: 26:[68, 10, 28] Operation: 42-14=28
Exploring Operation: 68-42=26, Resulting Numbers: [10, 14, 26]
Generated Node #0,4: 26:[10, 14, 26] Operation: 68-42=26
Start Sub Search at level 1: Moving to Node #0,4
Current State: 26:[10, 14, 26], Operations: ['68-42=26']
Exploring Operation: 10+26=36, Resulting Numbers: [14, 36]
Generated Node #0,4,0: 26:[14, 36] Operation: 10+26=36
Exploring Operation: 26-14=12, Resulting Numbers: [10, 12]
Generated Node #0,4,1: 26:[10, 12] Operation: 26-14=12
Exploring Operation: 14-10=4, Resulting Numbers: [26, 4]
Generated Node #0,4,2: 26:[26, 4] Operation: 14-10=4
Exploring Operation: 26-10=16, Resulting Numbers: [14, 16]
Generated Node #0,4,3: 26:[14, 16] Operation: 26-10=16
Exploring Operation: 10+14=24, Resulting Numbers: [26, 24]
Generated Node #0,4,4: 26:[26, 24] Operation: 10+14=24
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 26:[26, 4], Operations: ['68-42=26', '14-10=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 26:[26, 24], Operations: ['68-42=26', '10+14=24']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 26:[10, 12], Operations: ['68-42=26', '26-14=12']
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,26 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 26:[14, 16], Operations: ['68-42=26', '26-10=16']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 26:[14, 36], Operations: ['68-42=26', '10+26=36']
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,26 unequal: No Solution
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[68, 10, 3], Operations: ['42/14=3']
Exploring Operation: 10+3=13, Resulting Numbers: [68, 13]
Generated Node #0,2,0: 26:[68, 13] Operation: 10+3=13
Exploring Operation: 10-3=7, Resulting Numbers: [68, 7]
Generated Node #0,2,1: 26:[68, 7] Operation: 10-3=7
Exploring Operation: 68-3=65, Resulting Numbers: [10, 65]
Generated Node #0,2,2: 26:[10, 65] Operation: 68-3=65
Exploring Operation: 10*3=30, Resulting Numbers: [68, 30]
Generated Node #0,2,3: 26:[68, 30] Operation: 10*3=30
Exploring Operation: 68-10=58, Resulting Numbers: [3, 58]
Generated Node #0,2,4: 26:[3, 58] Operation: 68-10=58
Moving to Node #0,2,4
Current State: 26:[3, 58], Operations: ['42/14=3', '68-10=58']
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,26 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[10, 65], Operations: ['42/14=3', '68-3=65']
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,26 unequal: No Solution
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[68, 13], Operations: ['42/14=3', '10+3=13']
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,26 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[68, 30], Operations: ['42/14=3', '10*3=30']
Exploring Operation: 68*30=2040, Resulting Numbers: [2040]
2040,26 unequal: No Solution
Exploring Operation: 68+30=98, Resulting Numbers: [98]
98,26 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[68, 7], Operations: ['42/14=3', '10-3=7']
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,26 unequal: No Solution
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[10, 42, 54], Operations: ['68-14=54']
Exploring Operation: 42-10=32, Resulting Numbers: [54, 32]
Generated Node #0,1,0: 26:[54, 32] Operation: 42-10=32
Exploring Operation: 54-42=12, Resulting Numbers: [10, 12]
Generated Node #0,1,1: 26:[10, 12] Operation: 54-42=12
Exploring Operation: 54-10=44, Resulting Numbers: [42, 44]
Generated Node #0,1,2: 26:[42, 44] Operation: 54-10=44
Exploring Operation: 10+42=52, Resulting Numbers: [54, 52]
Generated Node #0,1,3: 26:[54, 52] Operation: 10+42=52
Exploring Operation: 10+54=64, Resulting Numbers: [42, 64]
Generated Node #0,1,4: 26:[42, 64] Operation: 10+54=64
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[10, 12], Operations: ['68-14=54', '54-42=12']
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,26 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[54, 32], Operations: ['68-14=54', '42-10=32']
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 54*32=1728, Resulting Numbers: [1728]
1728,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 26:[42, 44], Operations: ['68-14=54', '54-10=44']
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 26:[54, 52], Operations: ['68-14=54', '10+42=52']
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,26 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 26:[42, 64], Operations: ['68-14=54', '10+54=64']
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 42+64=106, Resulting Numbers: [106]
106,26 unequal: No Solution
Exploring Operation: 42*64=2688, Resulting Numbers: [2688]
2688,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[68, 10, 28], Operations: ['42-14=28']
Exploring Operation: 68+10=78, Resulting Numbers: [28, 78]
Generated Node #0,3,0: 26:[28, 78] Operation: 68+10=78
Exploring Operation: 68-10=58, Resulting Numbers: [28, 58]
Generated Node #0,3,1: 26:[28, 58] Operation: 68-10=58
Exploring Operation: 28-10=18, Resulting Numbers: [68, 18]
Generated Node #0,3,2: 26:[68, 18] Operation: 28-10=18
Exploring Operation: 10+28=38, Resulting Numbers: [68, 38]
Generated Node #0,3,3: 26:[68, 38] Operation: 10+28=38
Exploring Operation: 68-28=40, Resulting Numbers: [10, 40]
Generated Node #0,3,4: 26:[10, 40] Operation: 68-28=40
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 26:[10, 40], Operations: ['42-14=28', '68-28=40']
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 26:[28, 58], Operations: ['42-14=28', '68-10=58']
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 28*58=1624, Resulting Numbers: [1624]
1624,26 unequal: No Solution
Exploring Operation: 28+58=86, Resulting Numbers: [86]
86,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 26:[68, 18], Operations: ['42-14=28', '28-10=18']
Exploring Operation: 68+18=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 68*18=1224, Resulting Numbers: [1224]
1224,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[28, 78], Operations: ['42-14=28', '68+10=78']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,26 unequal: No Solution
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 26:[68, 38], Operations: ['42-14=28', '10+28=38']
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,26 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,26 unequal: No Solution
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[14, 42, 58], Operations: ['68-10=58']
Exploring Operation: 14+42=56, Resulting Numbers: [58, 56]
Generated Node #0,0,0: 26:[58, 56] Operation: 14+42=56
Exploring Operation: 58-42=16, Resulting Numbers: [14, 16]
Generated Node #0,0,1: 26:[14, 16] Operation: 58-42=16
Exploring Operation: 42-14=28, Resulting Numbers: [58, 28]
Generated Node #0,0,2: 26:[58, 28] Operation: 42-14=28
Exploring Operation: 58-14=44, Resulting Numbers: [42, 44]
Generated Node #0,0,3: 26:[42, 44] Operation: 58-14=44
Exploring Operation: 42/14=3, Resulting Numbers: [58, 3]
Generated Node #0,0,4: 26:[58, 3] Operation: 42/14=3
Moving to Node #0,0,1
Current State: 26:[14, 16], Operations: ['68-10=58', '58-42=16']
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,26 unequal: No Solution
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Moving to Node #0,0,4
Current State: 26:[58, 3], Operations: ['68-10=58', '42/14=3']
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,26 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[58, 28], Operations: ['68-10=58', '42-14=28']
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[42, 44], Operations: ['68-10=58', '58-14=44']
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,26 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[58, 56], Operations: ['68-10=58', '14+42=56']
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,26 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.