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 |
|---|---|---|---|---|---|---|---|---|
[
40,
6,
3,
11
] | 91 | [
"40*6=240",
"240/3=80",
"11+80=91"
] | Current State: 91:[40, 6, 3, 11], Operations: []
Exploring Operation: 40*6=240, Resulting Numbers: [3, 11, 240]
Generated Node #2: [3, 11, 240] from Operation: 40*6=240
Current State: 91:[3, 11, 240], Operations: ['40*6=240']
Exploring Operation: 240/3=80, Resulting Numbers: [11, 80]
Generated Node #3: [11, 80] from Operation: 240/3=80
Current State: 91:[11, 80], Operations: ['40*6=240', '240/3=80']
Exploring Operation: 11+80=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[40, 6, 3, 11], Operations: []
Exploring Operation: 40-6=34, Resulting Numbers: [3, 11, 34]
Generated Node #0,0: 91:[3, 11, 34] Operation: 40-6=34
Exploring Operation: 40-3=37, Resulting Numbers: [6, 11, 37]
Generated Node #0,1: 91:[6, 11, 37] Operation: 40-3=37
Exploring Operation: 40-11=29, Resulting Numbers: [6, 3, 29]
Generated Node #0,2: 91:[6, 3, 29] Operation: 40-11=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[6, 3, 29], Operations: ['40-11=29']
Exploring Operation: 29-3=26, Resulting Numbers: [6, 26]
Generated Node #0,2,0: 91:[6, 26] Operation: 29-3=26
Exploring Operation: 3*29=87, Resulting Numbers: [6, 87]
Generated Node #0,2,1: 91:[6, 87] Operation: 3*29=87
Exploring Operation: 29-6=23, Resulting Numbers: [3, 23]
Generated Node #0,2,2: 91:[3, 23] Operation: 29-6=23
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[6, 87], Operations: ['40-11=29', '3*29=87']
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 6*87=522, Resulting Numbers: [522]
522,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:[6, 26], Operations: ['40-11=29', '29-3=26']
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,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,2
Current State: 91:[3, 23], Operations: ['40-11=29', '29-6=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,91 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,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,0
Current State: 91:[3, 11, 34], Operations: ['40-6=34']
Exploring Operation: 3*34=102, Resulting Numbers: [11, 102]
Generated Node #0,0,0: 91:[11, 102] Operation: 3*34=102
Exploring Operation: 34-3=31, Resulting Numbers: [11, 31]
Generated Node #0,0,1: 91:[11, 31] Operation: 34-3=31
Exploring Operation: 34-11=23, Resulting Numbers: [3, 23]
Generated Node #0,0,2: 91:[3, 23] Operation: 34-11=23
Moving to Node #0,0,0
Current State: 91:[11, 102], Operations: ['40-6=34', '3*34=102']
Exploring Operation: 102-11=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[40, 6, 3, 11], Operations: []
Exploring Operation: 40-6=34, Resulting Numbers: [3, 11, 34]
Generated Node #0,0: 91:[3, 11, 34] Operation: 40-6=34
Moving to Node #0,0
Current State: 91:[3, 11, 34], Operations: ['40-6=34']
Exploring Operation: 3*34=102, Resulting Numbers: [11, 102]
Generated Node #0,0,0: 91:[11, 102] Operation: 3*34=102
Moving to Node #0,0,0
Current State: 91:[11, 102], Operations: ['40-6=34', '3*34=102']
Exploring Operation: 102-11=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
60,
13,
10,
24
] | 94 | [
"60-24=36",
"13*10=130",
"130-36=94"
] | Current State: 94:[60, 13, 10, 24], Operations: []
Exploring Operation: 60-24=36, Resulting Numbers: [13, 10, 36]
Generated Node #2: [13, 10, 36] from Operation: 60-24=36
Current State: 94:[13, 10, 36], Operations: ['60-24=36']
Exploring Operation: 13*10=130, Resulting Numbers: [36, 130]
Generated Node #3: [36, 130] from Operation: 13*10=130
Current State: 94:[36, 130], Operations: ['60-24=36', '13*10=130']
Exploring Operation: 130-36=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[60, 13, 10, 24], Operations: []
Exploring Operation: 24-13=11, Resulting Numbers: [60, 10, 11]
Generated Node #0,0: 94:[60, 10, 11] Operation: 24-13=11
Exploring Operation: 60-13=47, Resulting Numbers: [10, 24, 47]
Generated Node #0,1: 94:[10, 24, 47] Operation: 60-13=47
Exploring Operation: 60+24=84, Resulting Numbers: [13, 10, 84]
Generated Node #0,2: 94:[13, 10, 84] Operation: 60+24=84
Exploring Operation: 60-24=36, Resulting Numbers: [13, 10, 36]
Generated Node #0,3: 94:[13, 10, 36] Operation: 60-24=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[13, 10, 84], Operations: ['60+24=84']
Exploring Operation: 13+84=97, Resulting Numbers: [10, 97]
Generated Node #0,2,0: 94:[10, 97] Operation: 13+84=97
Exploring Operation: 10+84=94, Resulting Numbers: [13, 94]
Generated Node #0,2,1: 94:[13, 94] Operation: 10+84=94
Exploring Operation: 13+10=23, Resulting Numbers: [84, 23]
Generated Node #0,2,2: 94:[84, 23] Operation: 13+10=23
Exploring Operation: 13-10=3, Resulting Numbers: [84, 3]
Generated Node #0,2,3: 94:[84, 3] Operation: 13-10=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 94:[10, 97], Operations: ['60+24=84', '13+84=97']
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,94 unequal: No Solution
Exploring Operation: 10*97=970, Resulting Numbers: [970]
970,94 unequal: No Solution
Exploring Operation: 10+97=107, Resulting Numbers: [107]
107,94 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: 94:[13, 94], Operations: ['60+24=84', '10+84=94']
Exploring Operation: 13+94=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 94-13=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Exploring Operation: 13*94=1222, Resulting Numbers: [1222]
1222,94 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: 94:[84, 3], Operations: ['60+24=84', '13-10=3']
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,94 unequal: No Solution
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,94 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,94 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: 94:[84, 23], Operations: ['60+24=84', '13+10=23']
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 84*23=1932, Resulting Numbers: [1932]
1932,94 unequal: No Solution
Exploring Operation: 84+23=107, Resulting Numbers: [107]
107,94 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: 94:[60, 10, 11], Operations: ['24-13=11']
Exploring Operation: 60/10=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 94:[11, 6] Operation: 60/10=6
Exploring Operation: 60-10=50, Resulting Numbers: [11, 50]
Generated Node #0,0,1: 94:[11, 50] Operation: 60-10=50
Exploring Operation: 60-11=49, Resulting Numbers: [10, 49]
Generated Node #0,0,2: 94:[10, 49] Operation: 60-11=49
Exploring Operation: 11-10=1, Resulting Numbers: [60, 1]
Generated Node #0,0,3: 94:[60, 1] Operation: 11-10=1
Moving to Node #0,0,2
Current State: 94:[10, 49], Operations: ['24-13=11', '60-11=49']
Exploring Operation: 10*49=490, Resulting Numbers: [490]
490,94 unequal: No Solution
Exploring Operation: 10+49=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[11, 50], Operations: ['24-13=11', '60-10=50']
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,94 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[11, 6], Operations: ['24-13=11', '60/10=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,94 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[60, 1], Operations: ['24-13=11', '11-10=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,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,1
Current State: 94:[10, 24, 47], Operations: ['60-13=47']
Exploring Operation: 24+47=71, Resulting Numbers: [10, 71]
Generated Node #0,1,0: 94:[10, 71] Operation: 24+47=71
Exploring Operation: 10+24=34, Resulting Numbers: [47, 34]
Generated Node #0,1,1: 94:[47, 34] Operation: 10+24=34
Exploring Operation: 24-10=14, Resulting Numbers: [47, 14]
Generated Node #0,1,2: 94:[47, 14] Operation: 24-10=14
Exploring Operation: 47-24=23, Resulting Numbers: [10, 23]
Generated Node #0,1,3: 94:[10, 23] Operation: 47-24=23
Moving to Node #0,1,2
Current State: 94:[47, 14], Operations: ['60-13=47', '24-10=14']
Exploring Operation: 47*14=658, Resulting Numbers: [658]
658,94 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[47, 34], Operations: ['60-13=47', '10+24=34']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 47+34=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Exploring Operation: 47*34=1598, Resulting Numbers: [1598]
1598,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[10, 23], Operations: ['60-13=47', '47-24=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[10, 71], Operations: ['60-13=47', '24+47=71']
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 10+71=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Exploring Operation: 10*71=710, Resulting Numbers: [710]
710,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,3
Current State: 94:[13, 10, 36], Operations: ['60-24=36']
Exploring Operation: 13+36=49, Resulting Numbers: [10, 49]
Generated Node #0,3,0: 94:[10, 49] Operation: 13+36=49
Exploring Operation: 10+36=46, Resulting Numbers: [13, 46]
Generated Node #0,3,1: 94:[13, 46] Operation: 10+36=46
Exploring Operation: 13-10=3, Resulting Numbers: [36, 3]
Generated Node #0,3,2: 94:[36, 3] Operation: 13-10=3
Exploring Operation: 36-13=23, Resulting Numbers: [10, 23]
Generated Node #0,3,3: 94:[10, 23] Operation: 36-13=23
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 94:[10, 49], Operations: ['60-24=36', '13+36=49']
Exploring Operation: 10+49=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 10*49=490, Resulting Numbers: [490]
490,94 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,94 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: 94:[13, 46], Operations: ['60-24=36', '10+36=46']
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 13*46=598, Resulting Numbers: [598]
598,94 unequal: No Solution
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,94 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: 94:[36, 3], Operations: ['60-24=36', '13-10=3']
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,94 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,94 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: 94:[10, 23], Operations: ['60-24=36', '36-13=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,94 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 |
[
92,
90,
62,
64
] | 91 | [
"92+90=182",
"64-62=2",
"182/2=91"
] | Current State: 91:[92, 90, 62, 64], Operations: []
Exploring Operation: 92+90=182, Resulting Numbers: [62, 64, 182]
Generated Node #2: [62, 64, 182] from Operation: 92+90=182
Current State: 91:[62, 64, 182], Operations: ['92+90=182']
Exploring Operation: 64-62=2, Resulting Numbers: [182, 2]
Generated Node #3: [182, 2] from Operation: 64-62=2
Current State: 91:[182, 2], Operations: ['92+90=182', '64-62=2']
Exploring Operation: 182/2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[92, 90, 62, 64], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [92, 90, 2]
Generated Node #0,0: 91:[92, 90, 2] Operation: 64-62=2
Moving to Node #0,0
Current State: 91:[92, 90, 2], Operations: ['64-62=2']
Exploring Operation: 92-2=90, Resulting Numbers: [90, 90]
Generated Node #0,0,0: 91:[90, 90] Operation: 92-2=90
Moving to Node #0,0,0
Current State: 91:[90, 90], Operations: ['64-62=2', '92-2=90']
Exploring Operation: 90/90=1, Resulting Numbers: [1]
1,91 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
34,
16,
47,
5
] | 93 | [
"47-34=13",
"16*5=80",
"13+80=93"
] | Current State: 93:[34, 16, 47, 5], Operations: []
Exploring Operation: 47-34=13, Resulting Numbers: [16, 5, 13]
Generated Node #2: [16, 5, 13] from Operation: 47-34=13
Current State: 93:[16, 5, 13], Operations: ['47-34=13']
Exploring Operation: 16*5=80, Resulting Numbers: [13, 80]
Generated Node #3: [13, 80] from Operation: 16*5=80
Current State: 93:[13, 80], Operations: ['47-34=13', '16*5=80']
Exploring Operation: 13+80=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[34, 16, 47, 5], Operations: []
Exploring Operation: 47-16=31, Resulting Numbers: [34, 5, 31]
Generated Node #0,0: 93:[34, 5, 31] Operation: 47-16=31
Moving to Node #0,0
Current State: 93:[34, 5, 31], Operations: ['47-16=31']
Exploring Operation: 34-5=29, Resulting Numbers: [31, 29]
Generated Node #0,0,0: 93:[31, 29] Operation: 34-5=29
Moving to Node #0,0,0
Current State: 93:[31, 29], Operations: ['47-16=31', '34-5=29']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,93 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
13,
3,
82
] | 53 | [
"64+13=77",
"82+77=159",
"159/3=53"
] | Current State: 53:[64, 13, 3, 82], Operations: []
Exploring Operation: 64+13=77, Resulting Numbers: [3, 82, 77]
Generated Node #2: [3, 82, 77] from Operation: 64+13=77
Current State: 53:[3, 82, 77], Operations: ['64+13=77']
Exploring Operation: 82+77=159, Resulting Numbers: [3, 159]
Generated Node #3: [3, 159] from Operation: 82+77=159
Current State: 53:[3, 159], Operations: ['64+13=77', '82+77=159']
Exploring Operation: 159/3=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[64, 13, 3, 82], Operations: []
Exploring Operation: 64-3=61, Resulting Numbers: [13, 82, 61]
Generated Node #0,0: 53:[13, 82, 61] Operation: 64-3=61
Exploring Operation: 13+3=16, Resulting Numbers: [64, 82, 16]
Generated Node #0,1: 53:[64, 82, 16] Operation: 13+3=16
Exploring Operation: 82-13=69, Resulting Numbers: [64, 3, 69]
Generated Node #0,2: 53:[64, 3, 69] Operation: 82-13=69
Exploring Operation: 13*3=39, Resulting Numbers: [64, 82, 39]
Generated Node #0,3: 53:[64, 82, 39] Operation: 13*3=39
Moving to Node #0,3
Current State: 53:[64, 82, 39], Operations: ['13*3=39']
Exploring Operation: 82-39=43, Resulting Numbers: [64, 43]
Generated Node #0,3,0: 53:[64, 43] Operation: 82-39=43
Exploring Operation: 64-39=25, Resulting Numbers: [82, 25]
Generated Node #0,3,1: 53:[82, 25] Operation: 64-39=25
Exploring Operation: 82-64=18, Resulting Numbers: [39, 18]
Generated Node #0,3,2: 53:[39, 18] Operation: 82-64=18
Exploring Operation: 64+39=103, Resulting Numbers: [82, 103]
Generated Node #0,3,3: 53:[82, 103] Operation: 64+39=103
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[64, 43], Operations: ['13*3=39', '82-39=43']
Exploring Operation: 64+43=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Exploring Operation: 64*43=2752, Resulting Numbers: [2752]
2752,53 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,53 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: 53:[39, 18], Operations: ['13*3=39', '82-64=18']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 39*18=702, Resulting Numbers: [702]
702,53 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: 53:[82, 25], Operations: ['13*3=39', '64-39=25']
Exploring Operation: 82*25=2050, Resulting Numbers: [2050]
2050,53 unequal: No Solution
Exploring Operation: 82+25=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,53 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: 53:[82, 103], Operations: ['13*3=39', '64+39=103']
Exploring Operation: 82+103=185, Resulting Numbers: [185]
185,53 unequal: No Solution
Exploring Operation: 82*103=8446, Resulting Numbers: [8446]
8446,53 unequal: No Solution
Exploring Operation: 103-82=21, Resulting Numbers: [21]
21,53 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: 53:[64, 82, 16], Operations: ['13+3=16']
Exploring Operation: 82+16=98, Resulting Numbers: [64, 98]
Generated Node #0,1,0: 53:[64, 98] Operation: 82+16=98
Exploring Operation: 82-16=66, Resulting Numbers: [64, 66]
Generated Node #0,1,1: 53:[64, 66] Operation: 82-16=66
Exploring Operation: 64+16=80, Resulting Numbers: [82, 80]
Generated Node #0,1,2: 53:[82, 80] Operation: 64+16=80
Exploring Operation: 64-16=48, Resulting Numbers: [82, 48]
Generated Node #0,1,3: 53:[82, 48] Operation: 64-16=48
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[64, 66], Operations: ['13+3=16', '82-16=66']
Exploring Operation: 64+66=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 64*66=4224, Resulting Numbers: [4224]
4224,53 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: 53:[82, 48], Operations: ['13+3=16', '64-16=48']
Exploring Operation: 82*48=3936, Resulting Numbers: [3936]
3936,53 unequal: No Solution
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,53 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: 53:[64, 98], Operations: ['13+3=16', '82+16=98']
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 64+98=162, Resulting Numbers: [162]
162,53 unequal: No Solution
Exploring Operation: 64*98=6272, Resulting Numbers: [6272]
6272,53 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: 53:[82, 80], Operations: ['13+3=16', '64+16=80']
Exploring Operation: 82+80=162, Resulting Numbers: [162]
162,53 unequal: No Solution
Exploring Operation: 82*80=6560, Resulting Numbers: [6560]
6560,53 unequal: No Solution
Exploring Operation: 82-80=2, Resulting Numbers: [2]
2,53 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: 53:[13, 82, 61], Operations: ['64-3=61']
Exploring Operation: 61-13=48, Resulting Numbers: [82, 48]
Generated Node #0,0,0: 53:[82, 48] Operation: 61-13=48
Exploring Operation: 13+61=74, Resulting Numbers: [82, 74]
Generated Node #0,0,1: 53:[82, 74] Operation: 13+61=74
Exploring Operation: 13+82=95, Resulting Numbers: [61, 95]
Generated Node #0,0,2: 53:[61, 95] Operation: 13+82=95
Exploring Operation: 82-13=69, Resulting Numbers: [61, 69]
Generated Node #0,0,3: 53:[61, 69] Operation: 82-13=69
Moving to Node #0,2
Current State: 53:[64, 3, 69], Operations: ['82-13=69']
Exploring Operation: 69-3=66, Resulting Numbers: [64, 66]
Generated Node #0,2,0: 53:[64, 66] Operation: 69-3=66
Exploring Operation: 64+3=67, Resulting Numbers: [69, 67]
Generated Node #0,2,1: 53:[69, 67] Operation: 64+3=67
Exploring Operation: 3+69=72, Resulting Numbers: [64, 72]
Generated Node #0,2,2: 53:[64, 72] Operation: 3+69=72
Exploring Operation: 64-3=61, Resulting Numbers: [69, 61]
Generated Node #0,2,3: 53:[69, 61] Operation: 64-3=61
Moving to Node #0,0,3
Current State: 53:[61, 69], Operations: ['64-3=61', '82-13=69']
Exploring Operation: 61*69=4209, Resulting Numbers: [4209]
4209,53 unequal: No Solution
Exploring Operation: 61+69=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[69, 61], Operations: ['82-13=69', '64-3=61']
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 69+61=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 69*61=4209, Resulting Numbers: [4209]
4209,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[64, 66], Operations: ['82-13=69', '69-3=66']
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 64*66=4224, Resulting Numbers: [4224]
4224,53 unequal: No Solution
Exploring Operation: 64+66=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[69, 67], Operations: ['82-13=69', '64+3=67']
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 69*67=4623, Resulting Numbers: [4623]
4623,53 unequal: No Solution
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[64, 72], Operations: ['82-13=69', '3+69=72']
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,53 unequal: No Solution
Exploring Operation: 64*72=4608, Resulting Numbers: [4608]
4608,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[82, 48], Operations: ['64-3=61', '61-13=48']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 82*48=3936, Resulting Numbers: [3936]
3936,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[61, 95], Operations: ['64-3=61', '13+82=95']
Exploring Operation: 95-61=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 61*95=5795, Resulting Numbers: [5795]
5795,53 unequal: No Solution
Exploring Operation: 61+95=156, Resulting Numbers: [156]
156,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[82, 74], Operations: ['64-3=61', '13+61=74']
Exploring Operation: 82+74=156, Resulting Numbers: [156]
156,53 unequal: No Solution
Exploring Operation: 82-74=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 82*74=6068, Resulting Numbers: [6068]
6068,53 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
99,
48,
1,
91
] | 56 | [
"99+48=147",
"1*91=91",
"147-91=56"
] | Current State: 56:[99, 48, 1, 91], Operations: []
Exploring Operation: 99+48=147, Resulting Numbers: [1, 91, 147]
Generated Node #2: [1, 91, 147] from Operation: 99+48=147
Current State: 56:[1, 91, 147], Operations: ['99+48=147']
Exploring Operation: 1*91=91, Resulting Numbers: [147, 91]
Generated Node #3: [147, 91] from Operation: 1*91=91
Current State: 56:[147, 91], Operations: ['99+48=147', '1*91=91']
Exploring Operation: 147-91=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[99, 48, 1, 91], Operations: []
Exploring Operation: 99-1=98, Resulting Numbers: [48, 91, 98]
Generated Node #0,0: 56:[48, 91, 98] Operation: 99-1=98
Exploring Operation: 48+1=49, Resulting Numbers: [99, 91, 49]
Generated Node #0,1: 56:[99, 91, 49] Operation: 48+1=49
Exploring Operation: 99-91=8, Resulting Numbers: [48, 1, 8]
Generated Node #0,2: 56:[48, 1, 8] Operation: 99-91=8
Exploring Operation: 99-48=51, Resulting Numbers: [1, 91, 51]
Generated Node #0,3: 56:[1, 91, 51] Operation: 99-48=51
Exploring Operation: 91-48=43, Resulting Numbers: [99, 1, 43]
Generated Node #0,4: 56:[99, 1, 43] Operation: 91-48=43
Moving to Node #0,2
Current State: 56:[48, 1, 8], Operations: ['99-91=8']
Exploring Operation: 48*1=48, Resulting Numbers: [8, 48]
Generated Node #0,2,0: 56:[8, 48] Operation: 48*1=48
Exploring Operation: 48/1=48, Resulting Numbers: [8, 48]
Generated Node #0,2,1: 56:[8, 48] Operation: 48/1=48
Exploring Operation: 48/8=6, Resulting Numbers: [1, 6]
Generated Node #0,2,2: 56:[1, 6] Operation: 48/8=6
Exploring Operation: 48+1=49, Resulting Numbers: [8, 49]
Generated Node #0,2,3: 56:[8, 49] Operation: 48+1=49
Exploring Operation: 48+8=56, Resulting Numbers: [1, 56]
Generated Node #0,2,4: 56:[1, 56] Operation: 48+8=56
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 56:[1, 56], Operations: ['99-91=8', '48+8=56']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 1+56=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Exploring Operation: 1*56=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[99, 48, 1, 91], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [48, 1, 8]
Generated Node #0,2: 56:[48, 1, 8] Operation: 99-91=8
Moving to Node #0,2
Current State: 56:[48, 1, 8], Operations: ['99-91=8']
Exploring Operation: 48+8=56, Resulting Numbers: [1, 56]
Generated Node #0,2,4: 56:[1, 56] Operation: 48+8=56
Moving to Node #0,2,4
Current State: 56:[1, 56], Operations: ['99-91=8', '48+8=56']
Exploring Operation: 1*56=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
5,
6,
15,
12
] | 38 | [
"5+6=11",
"15+12=27",
"11+27=38"
] | Current State: 38:[5, 6, 15, 12], Operations: []
Exploring Operation: 5+6=11, Resulting Numbers: [15, 12, 11]
Generated Node #2: [15, 12, 11] from Operation: 5+6=11
Current State: 38:[15, 12, 11], Operations: ['5+6=11']
Exploring Operation: 15+12=27, Resulting Numbers: [11, 27]
Generated Node #3: [11, 27] from Operation: 15+12=27
Current State: 38:[11, 27], Operations: ['5+6=11', '15+12=27']
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[5, 6, 15, 12], Operations: []
Exploring Operation: 6+12=18, Resulting Numbers: [5, 15, 18]
Generated Node #0,0: 38:[5, 15, 18] Operation: 6+12=18
Exploring Operation: 15-12=3, Resulting Numbers: [5, 6, 3]
Generated Node #0,1: 38:[5, 6, 3] Operation: 15-12=3
Exploring Operation: 5+12=17, Resulting Numbers: [6, 15, 17]
Generated Node #0,2: 38:[6, 15, 17] Operation: 5+12=17
Exploring Operation: 12/6=2, Resulting Numbers: [5, 15, 2]
Generated Node #0,3: 38:[5, 15, 2] Operation: 12/6=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[5, 15, 2], Operations: ['12/6=2']
Exploring Operation: 5-2=3, Resulting Numbers: [15, 3]
Generated Node #0,3,0: 38:[15, 3] Operation: 5-2=3
Exploring Operation: 15+2=17, Resulting Numbers: [5, 17]
Generated Node #0,3,1: 38:[5, 17] Operation: 15+2=17
Exploring Operation: 5+15=20, Resulting Numbers: [2, 20]
Generated Node #0,3,2: 38:[2, 20] Operation: 5+15=20
Exploring Operation: 15/5=3, Resulting Numbers: [2, 3]
Generated Node #0,3,3: 38:[2, 3] Operation: 15/5=3
Moving to Node #0,3,2
Current State: 38:[2, 20], Operations: ['12/6=2', '5+15=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[2, 3], Operations: ['12/6=2', '15/5=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[5, 17], Operations: ['12/6=2', '15+2=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[15, 3], Operations: ['12/6=2', '5-2=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,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,0
Current State: 38:[5, 15, 18], Operations: ['6+12=18']
Exploring Operation: 5+18=23, Resulting Numbers: [15, 23]
Generated Node #0,0,0: 38:[15, 23] Operation: 5+18=23
Exploring Operation: 5+15=20, Resulting Numbers: [18, 20]
Generated Node #0,0,1: 38:[18, 20] Operation: 5+15=20
Exploring Operation: 18-15=3, Resulting Numbers: [5, 3]
Generated Node #0,0,2: 38:[5, 3] Operation: 18-15=3
Exploring Operation: 15/5=3, Resulting Numbers: [18, 3]
Generated Node #0,0,3: 38:[18, 3] Operation: 15/5=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[18, 20], Operations: ['6+12=18', '5+15=20']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,38 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[5, 6, 15, 12], Operations: []
Exploring Operation: 6+12=18, Resulting Numbers: [5, 15, 18]
Generated Node #0,0: 38:[5, 15, 18] Operation: 6+12=18
Moving to Node #0,0
Current State: 38:[5, 15, 18], Operations: ['6+12=18']
Exploring Operation: 5+15=20, Resulting Numbers: [18, 20]
Generated Node #0,0,1: 38:[18, 20] Operation: 5+15=20
Moving to Node #0,0,1
Current State: 38:[18, 20], Operations: ['6+12=18', '5+15=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
34,
44,
3,
48
] | 42 | [
"34+44=78",
"48+78=126",
"126/3=42"
] | Current State: 42:[34, 44, 3, 48], Operations: []
Exploring Operation: 34+44=78, Resulting Numbers: [3, 48, 78]
Generated Node #2: [3, 48, 78] from Operation: 34+44=78
Current State: 42:[3, 48, 78], Operations: ['34+44=78']
Exploring Operation: 48+78=126, Resulting Numbers: [3, 126]
Generated Node #3: [3, 126] from Operation: 48+78=126
Current State: 42:[3, 126], Operations: ['34+44=78', '48+78=126']
Exploring Operation: 126/3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[34, 44, 3, 48], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [34, 44, 16]
Generated Node #0,0: 42:[34, 44, 16] Operation: 48/3=16
Exploring Operation: 34+3=37, Resulting Numbers: [44, 48, 37]
Generated Node #0,1: 42:[44, 48, 37] Operation: 34+3=37
Exploring Operation: 48-44=4, Resulting Numbers: [34, 3, 4]
Generated Node #0,2: 42:[34, 3, 4] Operation: 48-44=4
Exploring Operation: 44-34=10, Resulting Numbers: [3, 48, 10]
Generated Node #0,3: 42:[3, 48, 10] Operation: 44-34=10
Exploring Operation: 48-34=14, Resulting Numbers: [44, 3, 14]
Generated Node #0,4: 42:[44, 3, 14] Operation: 48-34=14
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[44, 3, 14], Operations: ['48-34=14']
Exploring Operation: 3*14=42, Resulting Numbers: [44, 42]
Generated Node #0,4,0: 42:[44, 42] Operation: 3*14=42
Exploring Operation: 3+14=17, Resulting Numbers: [44, 17]
Generated Node #0,4,1: 42:[44, 17] Operation: 3+14=17
Exploring Operation: 44+3=47, Resulting Numbers: [14, 47]
Generated Node #0,4,2: 42:[14, 47] Operation: 44+3=47
Exploring Operation: 14-3=11, Resulting Numbers: [44, 11]
Generated Node #0,4,3: 42:[44, 11] Operation: 14-3=11
Exploring Operation: 44-3=41, Resulting Numbers: [14, 41]
Generated Node #0,4,4: 42:[14, 41] Operation: 44-3=41
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 42:[14, 41], Operations: ['48-34=14', '44-3=41']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 14+41=55, Resulting Numbers: [55]
55,42 unequal: No Solution
Exploring Operation: 14*41=574, Resulting Numbers: [574]
574,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,4,0
Current State: 42:[44, 42], Operations: ['48-34=14', '3*14=42']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,42 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,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,4,1
Current State: 42:[44, 17], Operations: ['48-34=14', '3+14=17']
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,42 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 44*17=748, Resulting Numbers: [748]
748,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,4,2
Current State: 42:[14, 47], Operations: ['48-34=14', '44+3=47']
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 14*47=658, Resulting Numbers: [658]
658,42 unequal: No Solution
Exploring Operation: 14+47=61, Resulting Numbers: [61]
61,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,4,3
Current State: 42:[44, 11], Operations: ['48-34=14', '14-3=11']
Exploring Operation: 44*11=484, Resulting Numbers: [484]
484,42 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,42 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: 42:[34, 3, 4], Operations: ['48-44=4']
Exploring Operation: 34+4=38, Resulting Numbers: [3, 38]
Generated Node #0,2,0: 42:[3, 38] Operation: 34+4=38
Exploring Operation: 34+3=37, Resulting Numbers: [4, 37]
Generated Node #0,2,1: 42:[4, 37] Operation: 34+3=37
Exploring Operation: 4-3=1, Resulting Numbers: [34, 1]
Generated Node #0,2,2: 42:[34, 1] Operation: 4-3=1
Exploring Operation: 3+4=7, Resulting Numbers: [34, 7]
Generated Node #0,2,3: 42:[34, 7] Operation: 3+4=7
Exploring Operation: 34-4=30, Resulting Numbers: [3, 30]
Generated Node #0,2,4: 42:[3, 30] Operation: 34-4=30
Moving to Node #0,2,0
Current State: 42:[3, 38], Operations: ['48-44=4', '34+4=38']
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[4, 37], Operations: ['48-44=4', '34+3=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,42 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[34, 7], Operations: ['48-44=4', '3+4=7']
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,42 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[34, 1], Operations: ['48-44=4', '4-3=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Moving to Node #0,2,4
Current State: 42:[3, 30], Operations: ['48-44=4', '34-4=30']
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,42 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,42 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: 42:[3, 48, 10], Operations: ['44-34=10']
Exploring Operation: 3+10=13, Resulting Numbers: [48, 13]
Generated Node #0,3,0: 42:[48, 13] Operation: 3+10=13
Exploring Operation: 10-3=7, Resulting Numbers: [48, 7]
Generated Node #0,3,1: 42:[48, 7] Operation: 10-3=7
Exploring Operation: 48-3=45, Resulting Numbers: [10, 45]
Generated Node #0,3,2: 42:[10, 45] Operation: 48-3=45
Exploring Operation: 48/3=16, Resulting Numbers: [10, 16]
Generated Node #0,3,3: 42:[10, 16] Operation: 48/3=16
Exploring Operation: 48-10=38, Resulting Numbers: [3, 38]
Generated Node #0,3,4: 42:[3, 38] Operation: 48-10=38
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 42:[3, 38], Operations: ['44-34=10', '48-10=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,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,3,3
Current State: 42:[10, 16], Operations: ['44-34=10', '48/3=16']
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,42 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,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,3,1
Current State: 42:[48, 7], Operations: ['44-34=10', '10-3=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,42 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,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,3,2
Current State: 42:[10, 45], Operations: ['44-34=10', '48-3=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,42 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,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,3,0
Current State: 42:[48, 13], Operations: ['44-34=10', '3+10=13']
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,42 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,42 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: 42:[34, 44, 16], Operations: ['48/3=16']
Exploring Operation: 44-16=28, Resulting Numbers: [34, 28]
Generated Node #0,0,0: 42:[34, 28] Operation: 44-16=28
Exploring Operation: 44-34=10, Resulting Numbers: [16, 10]
Generated Node #0,0,1: 42:[16, 10] Operation: 44-34=10
Exploring Operation: 44+16=60, Resulting Numbers: [34, 60]
Generated Node #0,0,2: 42:[34, 60] Operation: 44+16=60
Exploring Operation: 34+16=50, Resulting Numbers: [44, 50]
Generated Node #0,0,3: 42:[44, 50] Operation: 34+16=50
Exploring Operation: 34-16=18, Resulting Numbers: [44, 18]
Generated Node #0,0,4: 42:[44, 18] Operation: 34-16=18
Moving to Node #0,0,1
Current State: 42:[16, 10], Operations: ['48/3=16', '44-34=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,42 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Moving to Node #0,0,4
Current State: 42:[44, 18], Operations: ['48/3=16', '34-16=18']
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 44*18=792, Resulting Numbers: [792]
792,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[44, 50], Operations: ['48/3=16', '34+16=50']
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Exploring Operation: 44*50=2200, Resulting Numbers: [2200]
2200,42 unequal: No Solution
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[34, 28], Operations: ['48/3=16', '44-16=28']
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 34*28=952, Resulting Numbers: [952]
952,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[34, 60], Operations: ['48/3=16', '44+16=60']
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 34*60=2040, Resulting Numbers: [2040]
2040,42 unequal: No Solution
Exploring Operation: 34+60=94, Resulting Numbers: [94]
94,42 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: 42:[44, 48, 37], Operations: ['34+3=37']
Exploring Operation: 44-37=7, Resulting Numbers: [48, 7]
Generated Node #0,1,0: 42:[48, 7] Operation: 44-37=7
Exploring Operation: 48-44=4, Resulting Numbers: [37, 4]
Generated Node #0,1,1: 42:[37, 4] Operation: 48-44=4
Exploring Operation: 44+37=81, Resulting Numbers: [48, 81]
Generated Node #0,1,2: 42:[48, 81] Operation: 44+37=81
Exploring Operation: 48-37=11, Resulting Numbers: [44, 11]
Generated Node #0,1,3: 42:[44, 11] Operation: 48-37=11
Exploring Operation: 48+37=85, Resulting Numbers: [44, 85]
Generated Node #0,1,4: 42:[44, 85] Operation: 48+37=85
Moving to Node #0,1,3
Current State: 42:[44, 11], Operations: ['34+3=37', '48-37=11']
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,42 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 44*11=484, Resulting Numbers: [484]
484,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[37, 4], Operations: ['34+3=37', '48-44=4']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[48, 7], Operations: ['34+3=37', '44-37=7']
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,42 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[48, 81], Operations: ['34+3=37', '44+37=81']
Exploring Operation: 48+81=129, Resulting Numbers: [129]
129,42 unequal: No Solution
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 48*81=3888, Resulting Numbers: [3888]
3888,42 unequal: No Solution
Moving to Node #0,1,4
Current State: 42:[44, 85], Operations: ['34+3=37', '48+37=85']
Exploring Operation: 44+85=129, Resulting Numbers: [129]
129,42 unequal: No Solution
Exploring Operation: 44*85=3740, Resulting Numbers: [3740]
3740,42 unequal: No Solution
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,42 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 |
[
56,
44,
24,
27
] | 49 | [
"56+44=100",
"24+27=51",
"100-51=49"
] | Current State: 49:[56, 44, 24, 27], Operations: []
Exploring Operation: 56+44=100, Resulting Numbers: [24, 27, 100]
Generated Node #2: [24, 27, 100] from Operation: 56+44=100
Current State: 49:[24, 27, 100], Operations: ['56+44=100']
Exploring Operation: 24+27=51, Resulting Numbers: [100, 51]
Generated Node #3: [100, 51] from Operation: 24+27=51
Current State: 49:[100, 51], Operations: ['56+44=100', '24+27=51']
Exploring Operation: 100-51=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[56, 44, 24, 27], Operations: []
Exploring Operation: 24+27=51, Resulting Numbers: [56, 44, 51]
Generated Node #0,0: 49:[56, 44, 51] Operation: 24+27=51
Exploring Operation: 27-24=3, Resulting Numbers: [56, 44, 3]
Generated Node #0,1: 49:[56, 44, 3] Operation: 27-24=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[56, 44, 51], Operations: ['24+27=51']
Exploring Operation: 56-51=5, Resulting Numbers: [44, 5]
Generated Node #0,0,0: 49:[44, 5] Operation: 56-51=5
Exploring Operation: 56-44=12, Resulting Numbers: [51, 12]
Generated Node #0,0,1: 49:[51, 12] Operation: 56-44=12
Moving to Node #0,0,0
Current State: 49:[44, 5], Operations: ['24+27=51', '56-51=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[56, 44, 24, 27], Operations: []
Exploring Operation: 24+27=51, Resulting Numbers: [56, 44, 51]
Generated Node #0,0: 49:[56, 44, 51] Operation: 24+27=51
Moving to Node #0,0
Current State: 49:[56, 44, 51], Operations: ['24+27=51']
Exploring Operation: 56-51=5, Resulting Numbers: [44, 5]
Generated Node #0,0,0: 49:[44, 5] Operation: 56-51=5
Moving to Node #0,0,0
Current State: 49:[44, 5], Operations: ['24+27=51', '56-51=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
6,
4,
26,
96
] | 46 | [
"6*4=24",
"96-26=70",
"70-24=46"
] | Current State: 46:[6, 4, 26, 96], Operations: []
Exploring Operation: 6*4=24, Resulting Numbers: [26, 96, 24]
Generated Node #2: [26, 96, 24] from Operation: 6*4=24
Current State: 46:[26, 96, 24], Operations: ['6*4=24']
Exploring Operation: 96-26=70, Resulting Numbers: [24, 70]
Generated Node #3: [24, 70] from Operation: 96-26=70
Current State: 46:[24, 70], Operations: ['6*4=24', '96-26=70']
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[6, 4, 26, 96], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [4, 26, 16]
Generated Node #0,0: 46:[4, 26, 16] Operation: 96/6=16
Exploring Operation: 96-26=70, Resulting Numbers: [6, 4, 70]
Generated Node #0,1: 46:[6, 4, 70] Operation: 96-26=70
Exploring Operation: 96/4=24, Resulting Numbers: [6, 26, 24]
Generated Node #0,2: 46:[6, 26, 24] Operation: 96/4=24
Moving to Node #0,2
Current State: 46:[6, 26, 24], Operations: ['96/4=24']
Exploring Operation: 24/6=4, Resulting Numbers: [26, 4]
Generated Node #0,2,0: 46:[26, 4] Operation: 24/6=4
Exploring Operation: 26-24=2, Resulting Numbers: [6, 2]
Generated Node #0,2,1: 46:[6, 2] Operation: 26-24=2
Exploring Operation: 26-6=20, Resulting Numbers: [24, 20]
Generated Node #0,2,2: 46:[24, 20] Operation: 26-6=20
Moving to Node #0,0
Current State: 46:[4, 26, 16], Operations: ['96/6=16']
Exploring Operation: 26+16=42, Resulting Numbers: [4, 42]
Generated Node #0,0,0: 46:[4, 42] Operation: 26+16=42
Exploring Operation: 16/4=4, Resulting Numbers: [26, 4]
Generated Node #0,0,1: 46:[26, 4] Operation: 16/4=4
Exploring Operation: 4+16=20, Resulting Numbers: [26, 20]
Generated Node #0,0,2: 46:[26, 20] Operation: 4+16=20
Moving to Node #0,1
Current State: 46:[6, 4, 70], Operations: ['96-26=70']
Exploring Operation: 70-4=66, Resulting Numbers: [6, 66]
Generated Node #0,1,0: 46:[6, 66] Operation: 70-4=66
Exploring Operation: 6-4=2, Resulting Numbers: [70, 2]
Generated Node #0,1,1: 46:[70, 2] Operation: 6-4=2
Exploring Operation: 70-6=64, Resulting Numbers: [4, 64]
Generated Node #0,1,2: 46:[4, 64] Operation: 70-6=64
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[4, 64], Operations: ['96-26=70', '70-6=64']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 4+64=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,1,0
Current State: 46:[6, 66], Operations: ['96-26=70', '70-4=66']
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,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,1,1
Current State: 46:[70, 2], Operations: ['96-26=70', '6-4=2']
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 46:[6, 2], Operations: ['96/4=24', '26-24=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[24, 20], Operations: ['96/4=24', '26-6=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[26, 4], Operations: ['96/4=24', '24/6=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,46 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[26, 4], Operations: ['96/6=16', '16/4=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,46 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[26, 20], Operations: ['96/6=16', '4+16=20']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[6, 4, 26, 96], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [4, 26, 16]
Generated Node #0,0: 46:[4, 26, 16] Operation: 96/6=16
Moving to Node #0,0
Current State: 46:[4, 26, 16], Operations: ['96/6=16']
Exploring Operation: 4+16=20, Resulting Numbers: [26, 20]
Generated Node #0,0,2: 46:[26, 20] Operation: 4+16=20
Moving to Node #0,0,2
Current State: 46:[26, 20], Operations: ['96/6=16', '4+16=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.966146 | hs_3 | mult_heuristic |
[
5,
14,
54,
3
] | 81 | [
"14-5=9",
"3*9=27",
"54+27=81"
] | Current State: 81:[5, 14, 54, 3], Operations: []
Exploring Operation: 14-5=9, Resulting Numbers: [54, 3, 9]
Generated Node #2: [54, 3, 9] from Operation: 14-5=9
Current State: 81:[54, 3, 9], Operations: ['14-5=9']
Exploring Operation: 3*9=27, Resulting Numbers: [54, 27]
Generated Node #3: [54, 27] from Operation: 3*9=27
Current State: 81:[54, 27], Operations: ['14-5=9', '3*9=27']
Exploring Operation: 54+27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[5, 14, 54, 3], Operations: []
Exploring Operation: 14+54=68, Resulting Numbers: [5, 3, 68]
Generated Node #0,0: 81:[5, 3, 68] Operation: 14+54=68
Exploring Operation: 54-14=40, Resulting Numbers: [5, 3, 40]
Generated Node #0,1: 81:[5, 3, 40] Operation: 54-14=40
Moving to Node #0,0
Current State: 81:[5, 3, 68], Operations: ['14+54=68']
Exploring Operation: 5+68=73, Resulting Numbers: [3, 73]
Generated Node #0,0,0: 81:[3, 73] Operation: 5+68=73
Exploring Operation: 3+68=71, Resulting Numbers: [5, 71]
Generated Node #0,0,1: 81:[5, 71] Operation: 3+68=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[3, 73], Operations: ['14+54=68', '5+68=73']
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,81 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,81 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: 81:[5, 71], Operations: ['14+54=68', '3+68=71']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,81 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: 81:[5, 3, 40], Operations: ['54-14=40']
Exploring Operation: 40-5=35, Resulting Numbers: [3, 35]
Generated Node #0,1,0: 81:[3, 35] Operation: 40-5=35
Exploring Operation: 40/5=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 81:[3, 8] Operation: 40/5=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[3, 8], Operations: ['54-14=40', '40/5=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,81 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: 81:[3, 35], Operations: ['54-14=40', '40-5=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,81 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 |
[
24,
31,
57,
94
] | 44 | [
"31-24=7",
"94-57=37",
"7+37=44"
] | Current State: 44:[24, 31, 57, 94], Operations: []
Exploring Operation: 31-24=7, Resulting Numbers: [57, 94, 7]
Generated Node #2: [57, 94, 7] from Operation: 31-24=7
Current State: 44:[57, 94, 7], Operations: ['31-24=7']
Exploring Operation: 94-57=37, Resulting Numbers: [7, 37]
Generated Node #3: [7, 37] from Operation: 94-57=37
Current State: 44:[7, 37], Operations: ['31-24=7', '94-57=37']
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[24, 31, 57, 94], Operations: []
Exploring Operation: 94-57=37, Resulting Numbers: [24, 31, 37]
Generated Node #0,0: 44:[24, 31, 37] Operation: 94-57=37
Exploring Operation: 94-24=70, Resulting Numbers: [31, 57, 70]
Generated Node #0,1: 44:[31, 57, 70] Operation: 94-24=70
Exploring Operation: 94-31=63, Resulting Numbers: [24, 57, 63]
Generated Node #0,2: 44:[24, 57, 63] Operation: 94-31=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[24, 31, 37], Operations: ['94-57=37']
Exploring Operation: 37-31=6, Resulting Numbers: [24, 6]
Generated Node #0,0,0: 44:[24, 6] Operation: 37-31=6
Exploring Operation: 31-24=7, Resulting Numbers: [37, 7]
Generated Node #0,0,1: 44:[37, 7] Operation: 31-24=7
Exploring Operation: 37-24=13, Resulting Numbers: [31, 13]
Generated Node #0,0,2: 44:[31, 13] Operation: 37-24=13
Moving to Node #0,0,0
Current State: 44:[24, 6], Operations: ['94-57=37', '37-31=6']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[37, 7], Operations: ['94-57=37', '31-24=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[24, 31, 57, 94], Operations: []
Exploring Operation: 94-57=37, Resulting Numbers: [24, 31, 37]
Generated Node #0,0: 44:[24, 31, 37] Operation: 94-57=37
Moving to Node #0,0
Current State: 44:[24, 31, 37], Operations: ['94-57=37']
Exploring Operation: 31-24=7, Resulting Numbers: [37, 7]
Generated Node #0,0,1: 44:[37, 7] Operation: 31-24=7
Moving to Node #0,0,1
Current State: 44:[37, 7], Operations: ['94-57=37', '31-24=7']
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
56,
54,
23,
74
] | 60 | [
"56-54=2",
"74/2=37",
"23+37=60"
] | Current State: 60:[56, 54, 23, 74], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [23, 74, 2]
Generated Node #2: [23, 74, 2] from Operation: 56-54=2
Current State: 60:[23, 74, 2], Operations: ['56-54=2']
Exploring Operation: 74/2=37, Resulting Numbers: [23, 37]
Generated Node #3: [23, 37] from Operation: 74/2=37
Current State: 60:[23, 37], Operations: ['56-54=2', '74/2=37']
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[56, 54, 23, 74], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [56, 23, 20]
Generated Node #0,0: 60:[56, 23, 20] Operation: 74-54=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[56, 23, 20], Operations: ['74-54=20']
Exploring Operation: 56-23=33, Resulting Numbers: [20, 33]
Generated Node #0,0,0: 60:[20, 33] Operation: 56-23=33
Moving to Node #0,0,0
Current State: 60:[20, 33], Operations: ['74-54=20', '56-23=33']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,60 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 |
[
9,
91,
6,
9
] | 15 | [
"9/9=1",
"91-1=90",
"90/6=15"
] | Current State: 15:[9, 91, 6, 9], Operations: []
Exploring Operation: 9/9=1, Resulting Numbers: [91, 6, 1]
Generated Node #2: [91, 6, 1] from Operation: 9/9=1
Current State: 15:[91, 6, 1], Operations: ['9/9=1']
Exploring Operation: 91-1=90, Resulting Numbers: [6, 90]
Generated Node #3: [6, 90] from Operation: 91-1=90
Current State: 15:[6, 90], Operations: ['9/9=1', '91-1=90']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[9, 91, 6, 9], Operations: []
Exploring Operation: 91-9=82, Resulting Numbers: [6, 9, 82]
Generated Node #0,0: 15:[6, 9, 82] Operation: 91-9=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[6, 9, 82], Operations: ['91-9=82']
Exploring Operation: 82-9=73, Resulting Numbers: [6, 73]
Generated Node #0,0,0: 15:[6, 73] Operation: 82-9=73
Moving to Node #0,0,0
Current State: 15:[6, 73], Operations: ['91-9=82', '82-9=73']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,15 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 |
[
34,
45,
28,
37
] | 99 | [
"45-34=11",
"37-28=9",
"11*9=99"
] | Current State: 99:[34, 45, 28, 37], Operations: []
Exploring Operation: 45-34=11, Resulting Numbers: [28, 37, 11]
Generated Node #2: [28, 37, 11] from Operation: 45-34=11
Current State: 99:[28, 37, 11], Operations: ['45-34=11']
Exploring Operation: 37-28=9, Resulting Numbers: [11, 9]
Generated Node #3: [11, 9] from Operation: 37-28=9
Current State: 99:[11, 9], Operations: ['45-34=11', '37-28=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[34, 45, 28, 37], Operations: []
Exploring Operation: 45-37=8, Resulting Numbers: [34, 28, 8]
Generated Node #0,0: 99:[34, 28, 8] Operation: 45-37=8
Exploring Operation: 37-28=9, Resulting Numbers: [34, 45, 9]
Generated Node #0,1: 99:[34, 45, 9] Operation: 37-28=9
Exploring Operation: 45-34=11, Resulting Numbers: [28, 37, 11]
Generated Node #0,2: 99:[28, 37, 11] Operation: 45-34=11
Exploring Operation: 45-28=17, Resulting Numbers: [34, 37, 17]
Generated Node #0,3: 99:[34, 37, 17] Operation: 45-28=17
Moving to Node #0,0
Current State: 99:[34, 28, 8], Operations: ['45-37=8']
Exploring Operation: 28+8=36, Resulting Numbers: [34, 36]
Generated Node #0,0,0: 99:[34, 36] Operation: 28+8=36
Exploring Operation: 34-8=26, Resulting Numbers: [28, 26]
Generated Node #0,0,1: 99:[28, 26] Operation: 34-8=26
Exploring Operation: 34-28=6, Resulting Numbers: [8, 6]
Generated Node #0,0,2: 99:[8, 6] Operation: 34-28=6
Exploring Operation: 28-8=20, Resulting Numbers: [34, 20]
Generated Node #0,0,3: 99:[34, 20] Operation: 28-8=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[34, 36], Operations: ['45-37=8', '28+8=36']
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,99 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,99 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: 99:[8, 6], Operations: ['45-37=8', '34-28=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,99 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: 99:[34, 20], Operations: ['45-37=8', '28-8=20']
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,99 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,99 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: 99:[28, 26], Operations: ['45-37=8', '34-8=26']
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,99 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,99 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: 99:[28, 37, 11], Operations: ['45-34=11']
Exploring Operation: 28-11=17, Resulting Numbers: [37, 17]
Generated Node #0,2,0: 99:[37, 17] Operation: 28-11=17
Exploring Operation: 37-11=26, Resulting Numbers: [28, 26]
Generated Node #0,2,1: 99:[28, 26] Operation: 37-11=26
Exploring Operation: 28+11=39, Resulting Numbers: [37, 39]
Generated Node #0,2,2: 99:[37, 39] Operation: 28+11=39
Exploring Operation: 37-28=9, Resulting Numbers: [11, 9]
Generated Node #0,2,3: 99:[11, 9] Operation: 37-28=9
Moving to Node #0,3
Current State: 99:[34, 37, 17], Operations: ['45-28=17']
Exploring Operation: 37-17=20, Resulting Numbers: [34, 20]
Generated Node #0,3,0: 99:[34, 20] Operation: 37-17=20
Exploring Operation: 34-17=17, Resulting Numbers: [37, 17]
Generated Node #0,3,1: 99:[37, 17] Operation: 34-17=17
Exploring Operation: 37-34=3, Resulting Numbers: [17, 3]
Generated Node #0,3,2: 99:[17, 3] Operation: 37-34=3
Exploring Operation: 34/17=2, Resulting Numbers: [37, 2]
Generated Node #0,3,3: 99:[37, 2] Operation: 34/17=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 99:[37, 2], Operations: ['45-28=17', '34/17=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,99 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,99 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,99 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: 99:[17, 3], Operations: ['45-28=17', '37-34=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,99 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: 99:[34, 20], Operations: ['45-28=17', '37-17=20']
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,99 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,99 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: 99:[37, 17], Operations: ['45-28=17', '34-17=17']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,99 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: 99:[34, 45, 9], Operations: ['37-28=9']
Exploring Operation: 45-34=11, Resulting Numbers: [9, 11]
Generated Node #0,1,0: 99:[9, 11] Operation: 45-34=11
Exploring Operation: 34+45=79, Resulting Numbers: [9, 79]
Generated Node #0,1,1: 99:[9, 79] Operation: 34+45=79
Exploring Operation: 45-9=36, Resulting Numbers: [34, 36]
Generated Node #0,1,2: 99:[34, 36] Operation: 45-9=36
Exploring Operation: 45/9=5, Resulting Numbers: [34, 5]
Generated Node #0,1,3: 99:[34, 5] Operation: 45/9=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[9, 11], Operations: ['37-28=9', '45-34=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[34, 45, 28, 37], Operations: []
Exploring Operation: 37-28=9, Resulting Numbers: [34, 45, 9]
Generated Node #0,1: 99:[34, 45, 9] Operation: 37-28=9
Moving to Node #0,1
Current State: 99:[34, 45, 9], Operations: ['37-28=9']
Exploring Operation: 45-34=11, Resulting Numbers: [9, 11]
Generated Node #0,1,0: 99:[9, 11] Operation: 45-34=11
Moving to Node #0,1,0
Current State: 99:[9, 11], Operations: ['37-28=9', '45-34=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_4 | sum_heuristic |
[
34,
24,
37,
33
] | 54 | [
"34+24=58",
"37-33=4",
"58-4=54"
] | Current State: 54:[34, 24, 37, 33], Operations: []
Exploring Operation: 34+24=58, Resulting Numbers: [37, 33, 58]
Generated Node #2: [37, 33, 58] from Operation: 34+24=58
Current State: 54:[37, 33, 58], Operations: ['34+24=58']
Exploring Operation: 37-33=4, Resulting Numbers: [58, 4]
Generated Node #3: [58, 4] from Operation: 37-33=4
Current State: 54:[58, 4], Operations: ['34+24=58', '37-33=4']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[34, 24, 37, 33], Operations: []
Exploring Operation: 34-33=1, Resulting Numbers: [24, 37, 1]
Generated Node #0,0: 54:[24, 37, 1] Operation: 34-33=1
Exploring Operation: 37-33=4, Resulting Numbers: [34, 24, 4]
Generated Node #0,1: 54:[34, 24, 4] Operation: 37-33=4
Exploring Operation: 37-34=3, Resulting Numbers: [24, 33, 3]
Generated Node #0,2: 54:[24, 33, 3] Operation: 37-34=3
Moving to Node #0,2
Current State: 54:[24, 33, 3], Operations: ['37-34=3']
Exploring Operation: 33-24=9, Resulting Numbers: [3, 9]
Generated Node #0,2,0: 54:[3, 9] Operation: 33-24=9
Exploring Operation: 24+33=57, Resulting Numbers: [3, 57]
Generated Node #0,2,1: 54:[3, 57] Operation: 24+33=57
Exploring Operation: 33/3=11, Resulting Numbers: [24, 11]
Generated Node #0,2,2: 54:[24, 11] Operation: 33/3=11
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[3, 9], Operations: ['37-34=3', '33-24=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,54 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: 54:[3, 57], Operations: ['37-34=3', '24+33=57']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[34, 24, 37, 33], Operations: []
Exploring Operation: 37-34=3, Resulting Numbers: [24, 33, 3]
Generated Node #0,2: 54:[24, 33, 3] Operation: 37-34=3
Moving to Node #0,2
Current State: 54:[24, 33, 3], Operations: ['37-34=3']
Exploring Operation: 24+33=57, Resulting Numbers: [3, 57]
Generated Node #0,2,1: 54:[3, 57] Operation: 24+33=57
Moving to Node #0,2,1
Current State: 54:[3, 57], Operations: ['37-34=3', '24+33=57']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
76,
38,
49,
32
] | 34 | [
"76/38=2",
"49-32=17",
"2*17=34"
] | Current State: 34:[76, 38, 49, 32], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [49, 32, 2]
Generated Node #2: [49, 32, 2] from Operation: 76/38=2
Current State: 34:[49, 32, 2], Operations: ['76/38=2']
Exploring Operation: 49-32=17, Resulting Numbers: [2, 17]
Generated Node #3: [2, 17] from Operation: 49-32=17
Current State: 34:[2, 17], Operations: ['76/38=2', '49-32=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[76, 38, 49, 32], Operations: []
Exploring Operation: 76-49=27, Resulting Numbers: [38, 32, 27]
Generated Node #0,0: 34:[38, 32, 27] Operation: 76-49=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[38, 32, 27], Operations: ['76-49=27']
Exploring Operation: 32-27=5, Resulting Numbers: [38, 5]
Generated Node #0,0,0: 34:[38, 5] Operation: 32-27=5
Moving to Node #0,0,0
Current State: 34:[38, 5], Operations: ['76-49=27', '32-27=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,34 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 |
[
19,
3,
29,
57
] | 84 | [
"57/19=3",
"3*29=87",
"87-3=84"
] | Current State: 84:[19, 3, 29, 57], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [3, 29, 3]
Generated Node #2: [3, 29, 3] from Operation: 57/19=3
Current State: 84:[3, 29, 3], Operations: ['57/19=3']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,84 equal: Goal Reached
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[19, 3, 29, 57], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [3, 29, 3]
Generated Node #0,0: 84:[3, 29, 3] Operation: 57/19=3
Exploring Operation: 57/3=19, Resulting Numbers: [19, 29, 19]
Generated Node #0,1: 84:[19, 29, 19] Operation: 57/3=19
Exploring Operation: 57-29=28, Resulting Numbers: [19, 3, 28]
Generated Node #0,2: 84:[19, 3, 28] Operation: 57-29=28
Exploring Operation: 29+57=86, Resulting Numbers: [19, 3, 86]
Generated Node #0,3: 84:[19, 3, 86] Operation: 29+57=86
Exploring Operation: 57-19=38, Resulting Numbers: [3, 29, 38]
Generated Node #0,4: 84:[3, 29, 38] Operation: 57-19=38
Moving to Node #0,0
Current State: 84:[3, 29, 3], Operations: ['57/19=3']
Exploring Operation: 3/3=1, Resulting Numbers: [29, 1]
Generated Node #0,0,0: 84:[29, 1] Operation: 3/3=1
Exploring Operation: 3+3=6, Resulting Numbers: [29, 6]
Generated Node #0,0,1: 84:[29, 6] Operation: 3+3=6
Exploring Operation: 29-3=26, Resulting Numbers: [3, 26]
Generated Node #0,0,2: 84:[3, 26] Operation: 29-3=26
Exploring Operation: 29-3=26, Resulting Numbers: [3, 26]
Generated Node #0,0,3: 84:[3, 26] Operation: 29-3=26
Exploring Operation: 3*29=87, Resulting Numbers: [3, 87]
Generated Node #0,0,4: 84:[3, 87] Operation: 3*29=87
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[29, 6], Operations: ['57/19=3', '3+3=6']
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,84 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,84 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: 84:[29, 1], Operations: ['57/19=3', '3/3=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,84 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: 84:[3, 26], Operations: ['57/19=3', '29-3=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,84 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: 84:[3, 26], Operations: ['57/19=3', '29-3=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,84 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: 84:[3, 87], Operations: ['57/19=3', '3*29=87']
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 3*87=261, Resulting Numbers: [261]
261,84 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[19, 3, 29, 57], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [3, 29, 3]
Generated Node #0,0: 84:[3, 29, 3] Operation: 57/19=3
Moving to Node #0,0
Current State: 84:[3, 29, 3], Operations: ['57/19=3']
Exploring Operation: 3*29=87, Resulting Numbers: [3, 87]
Generated Node #0,0,4: 84:[3, 87] Operation: 3*29=87
Moving to Node #0,0,4
Current State: 84:[3, 87], Operations: ['57/19=3', '3*29=87']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
[
61,
82,
29,
31
] | 23 | [
"82-61=21",
"31-29=2",
"21+2=23"
] | Current State: 23:[61, 82, 29, 31], Operations: []
Exploring Operation: 82-61=21, Resulting Numbers: [29, 31, 21]
Generated Node #2: [29, 31, 21] from Operation: 82-61=21
Current State: 23:[29, 31, 21], Operations: ['82-61=21']
Exploring Operation: 31-29=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 31-29=2
Current State: 23:[21, 2], Operations: ['82-61=21', '31-29=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[61, 82, 29, 31], Operations: []
Exploring Operation: 82-61=21, Resulting Numbers: [29, 31, 21]
Generated Node #0,0: 23:[29, 31, 21] Operation: 82-61=21
Exploring Operation: 82-31=51, Resulting Numbers: [61, 29, 51]
Generated Node #0,1: 23:[61, 29, 51] Operation: 82-31=51
Exploring Operation: 61-31=30, Resulting Numbers: [82, 29, 30]
Generated Node #0,2: 23:[82, 29, 30] Operation: 61-31=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[29, 31, 21], Operations: ['82-61=21']
Exploring Operation: 31-29=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 23:[21, 2] Operation: 31-29=2
Exploring Operation: 31-21=10, Resulting Numbers: [29, 10]
Generated Node #0,0,1: 23:[29, 10] Operation: 31-21=10
Exploring Operation: 29-21=8, Resulting Numbers: [31, 8]
Generated Node #0,0,2: 23:[31, 8] Operation: 29-21=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[29, 10], Operations: ['82-61=21', '31-21=10']
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 29*10=290, Resulting Numbers: [290]
290,23 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: 23:[21, 2], Operations: ['82-61=21', '31-29=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[61, 82, 29, 31], Operations: []
Exploring Operation: 82-61=21, Resulting Numbers: [29, 31, 21]
Generated Node #0,0: 23:[29, 31, 21] Operation: 82-61=21
Moving to Node #0,0
Current State: 23:[29, 31, 21], Operations: ['82-61=21']
Exploring Operation: 31-29=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 23:[21, 2] Operation: 31-29=2
Moving to Node #0,0,0
Current State: 23:[21, 2], Operations: ['82-61=21', '31-29=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
9,
92,
2,
84
] | 91 | [
"9+84=93",
"92*2=184",
"184-93=91"
] | Current State: 91:[9, 92, 2, 84], Operations: []
Exploring Operation: 9+84=93, Resulting Numbers: [92, 2, 93]
Generated Node #2: [92, 2, 93] from Operation: 9+84=93
Current State: 91:[92, 2, 93], Operations: ['9+84=93']
Exploring Operation: 92*2=184, Resulting Numbers: [93, 184]
Generated Node #3: [93, 184] from Operation: 92*2=184
Current State: 91:[93, 184], Operations: ['9+84=93', '92*2=184']
Exploring Operation: 184-93=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[9, 92, 2, 84], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [9, 2, 8]
Generated Node #0,0: 91:[9, 2, 8] Operation: 92-84=8
Exploring Operation: 9+84=93, Resulting Numbers: [92, 2, 93]
Generated Node #0,1: 91:[92, 2, 93] Operation: 9+84=93
Exploring Operation: 9-2=7, Resulting Numbers: [92, 84, 7]
Generated Node #0,2: 91:[92, 84, 7] Operation: 9-2=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[9, 2, 8], Operations: ['92-84=8']
Exploring Operation: 9+2=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 91:[8, 11] Operation: 9+2=11
Exploring Operation: 9-2=7, Resulting Numbers: [8, 7]
Generated Node #0,0,1: 91:[8, 7] Operation: 9-2=7
Exploring Operation: 8-2=6, Resulting Numbers: [9, 6]
Generated Node #0,0,2: 91:[9, 6] Operation: 8-2=6
Moving to Node #0,0,1
Current State: 91:[8, 7], Operations: ['92-84=8', '9-2=7']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[8, 11], Operations: ['92-84=8', '9+2=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[9, 6], Operations: ['92-84=8', '8-2=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,91 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,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:[92, 2, 93], Operations: ['9+84=93']
Exploring Operation: 93-2=91, Resulting Numbers: [92, 91]
Generated Node #0,1,0: 91:[92, 91] Operation: 93-2=91
Exploring Operation: 92-2=90, Resulting Numbers: [93, 90]
Generated Node #0,1,1: 91:[93, 90] Operation: 92-2=90
Exploring Operation: 92+2=94, Resulting Numbers: [93, 94]
Generated Node #0,1,2: 91:[93, 94] Operation: 92+2=94
Moving to Node #0,1,0
Current State: 91:[92, 91], Operations: ['9+84=93', '93-2=91']
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 92*91=8372, Resulting Numbers: [8372]
8372,91 unequal: No Solution
Exploring Operation: 92+91=183, Resulting Numbers: [183]
183,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[93, 90], Operations: ['9+84=93', '92-2=90']
Exploring Operation: 93+90=183, Resulting Numbers: [183]
183,91 unequal: No Solution
Exploring Operation: 93*90=8370, Resulting Numbers: [8370]
8370,91 unequal: No Solution
Exploring Operation: 93-90=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[93, 94], Operations: ['9+84=93', '92+2=94']
Exploring Operation: 93+94=187, Resulting Numbers: [187]
187,91 unequal: No Solution
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 93*94=8742, Resulting Numbers: [8742]
8742,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,2
Current State: 91:[92, 84, 7], Operations: ['9-2=7']
Exploring Operation: 84/7=12, Resulting Numbers: [92, 12]
Generated Node #0,2,0: 91:[92, 12] Operation: 84/7=12
Exploring Operation: 84+7=91, Resulting Numbers: [92, 91]
Generated Node #0,2,1: 91:[92, 91] Operation: 84+7=91
Exploring Operation: 92-84=8, Resulting Numbers: [7, 8]
Generated Node #0,2,2: 91:[7, 8] Operation: 92-84=8
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[92, 91], Operations: ['9-2=7', '84+7=91']
Exploring Operation: 92*91=8372, Resulting Numbers: [8372]
8372,91 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 92+91=183, Resulting Numbers: [183]
183,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,2
Current State: 91:[7, 8], Operations: ['9-2=7', '92-84=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,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:[92, 12], Operations: ['9-2=7', '84/7=12']
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,91 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,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_3 | mult_heuristic |
[
40,
46,
96,
44
] | 60 | [
"46-40=6",
"96/6=16",
"44+16=60"
] | Current State: 60:[40, 46, 96, 44], Operations: []
Exploring Operation: 46-40=6, Resulting Numbers: [96, 44, 6]
Generated Node #2: [96, 44, 6] from Operation: 46-40=6
Current State: 60:[96, 44, 6], Operations: ['46-40=6']
Exploring Operation: 96/6=16, Resulting Numbers: [44, 16]
Generated Node #3: [44, 16] from Operation: 96/6=16
Current State: 60:[44, 16], Operations: ['46-40=6', '96/6=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[40, 46, 96, 44], Operations: []
Exploring Operation: 96-40=56, Resulting Numbers: [46, 44, 56]
Generated Node #0,0: 60:[46, 44, 56] Operation: 96-40=56
Moving to Node #0,0
Current State: 60:[46, 44, 56], Operations: ['96-40=56']
Exploring Operation: 46-44=2, Resulting Numbers: [56, 2]
Generated Node #0,0,0: 60:[56, 2] Operation: 46-44=2
Moving to Node #0,0,0
Current State: 60:[56, 2], Operations: ['96-40=56', '46-44=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,60 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
1,
77,
53
] | 28 | [
"3+1=4",
"77-53=24",
"4+24=28"
] | Current State: 28:[3, 1, 77, 53], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [77, 53, 4]
Generated Node #2: [77, 53, 4] from Operation: 3+1=4
Current State: 28:[77, 53, 4], Operations: ['3+1=4']
Exploring Operation: 77-53=24, Resulting Numbers: [4, 24]
Generated Node #3: [4, 24] from Operation: 77-53=24
Current State: 28:[4, 24], Operations: ['3+1=4', '77-53=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[3, 1, 77, 53], Operations: []
Exploring Operation: 77-3=74, Resulting Numbers: [1, 53, 74]
Generated Node #0,0: 28:[1, 53, 74] Operation: 77-3=74
Exploring Operation: 3-1=2, Resulting Numbers: [77, 53, 2]
Generated Node #0,1: 28:[77, 53, 2] Operation: 3-1=2
Exploring Operation: 3+1=4, Resulting Numbers: [77, 53, 4]
Generated Node #0,2: 28:[77, 53, 4] Operation: 3+1=4
Exploring Operation: 77-53=24, Resulting Numbers: [3, 1, 24]
Generated Node #0,3: 28:[3, 1, 24] Operation: 77-53=24
Exploring Operation: 53-3=50, Resulting Numbers: [1, 77, 50]
Generated Node #0,4: 28:[1, 77, 50] Operation: 53-3=50
Moving to Node #0,3
Current State: 28:[3, 1, 24], Operations: ['77-53=24']
Exploring Operation: 24/3=8, Resulting Numbers: [1, 8]
Generated Node #0,3,0: 28:[1, 8] Operation: 24/3=8
Exploring Operation: 3+1=4, Resulting Numbers: [24, 4]
Generated Node #0,3,1: 28:[24, 4] Operation: 3+1=4
Exploring Operation: 3+24=27, Resulting Numbers: [1, 27]
Generated Node #0,3,2: 28:[1, 27] Operation: 3+24=27
Exploring Operation: 3-1=2, Resulting Numbers: [24, 2]
Generated Node #0,3,3: 28:[24, 2] Operation: 3-1=2
Exploring Operation: 1+24=25, Resulting Numbers: [3, 25]
Generated Node #0,3,4: 28:[3, 25] Operation: 1+24=25
Moving to Node #0,4
Current State: 28:[1, 77, 50], Operations: ['53-3=50']
Exploring Operation: 77-50=27, Resulting Numbers: [1, 27]
Generated Node #0,4,0: 28:[1, 27] Operation: 77-50=27
Exploring Operation: 77/1=77, Resulting Numbers: [50, 77]
Generated Node #0,4,1: 28:[50, 77] Operation: 77/1=77
Exploring Operation: 77-1=76, Resulting Numbers: [50, 76]
Generated Node #0,4,2: 28:[50, 76] Operation: 77-1=76
Exploring Operation: 50-1=49, Resulting Numbers: [77, 49]
Generated Node #0,4,3: 28:[77, 49] Operation: 50-1=49
Exploring Operation: 1*77=77, Resulting Numbers: [50, 77]
Generated Node #0,4,4: 28:[50, 77] Operation: 1*77=77
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 28:[1, 27], Operations: ['53-3=50', '77-50=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[3, 1, 77, 53], Operations: []
Exploring Operation: 53-3=50, Resulting Numbers: [1, 77, 50]
Generated Node #0,4: 28:[1, 77, 50] Operation: 53-3=50
Moving to Node #0,4
Current State: 28:[1, 77, 50], Operations: ['53-3=50']
Exploring Operation: 77-50=27, Resulting Numbers: [1, 27]
Generated Node #0,4,0: 28:[1, 27] Operation: 77-50=27
Moving to Node #0,4,0
Current State: 28:[1, 27], Operations: ['53-3=50', '77-50=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
72,
3,
94,
61
] | 86 | [
"72-3=69",
"94+61=155",
"155-69=86"
] | Current State: 86:[72, 3, 94, 61], Operations: []
Exploring Operation: 72-3=69, Resulting Numbers: [94, 61, 69]
Generated Node #2: [94, 61, 69] from Operation: 72-3=69
Current State: 86:[94, 61, 69], Operations: ['72-3=69']
Exploring Operation: 94+61=155, Resulting Numbers: [69, 155]
Generated Node #3: [69, 155] from Operation: 94+61=155
Current State: 86:[69, 155], Operations: ['72-3=69', '94+61=155']
Exploring Operation: 155-69=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[72, 3, 94, 61], Operations: []
Exploring Operation: 72+3=75, Resulting Numbers: [94, 61, 75]
Generated Node #0,0: 86:[94, 61, 75] Operation: 72+3=75
Exploring Operation: 72-61=11, Resulting Numbers: [3, 94, 11]
Generated Node #0,1: 86:[3, 94, 11] Operation: 72-61=11
Exploring Operation: 94-61=33, Resulting Numbers: [72, 3, 33]
Generated Node #0,2: 86:[72, 3, 33] Operation: 94-61=33
Moving to Node #0,1
Current State: 86:[3, 94, 11], Operations: ['72-61=11']
Exploring Operation: 11-3=8, Resulting Numbers: [94, 8]
Generated Node #0,1,0: 86:[94, 8] Operation: 11-3=8
Exploring Operation: 94-3=91, Resulting Numbers: [11, 91]
Generated Node #0,1,1: 86:[11, 91] Operation: 94-3=91
Exploring Operation: 94-11=83, Resulting Numbers: [3, 83]
Generated Node #0,1,2: 86:[3, 83] Operation: 94-11=83
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[3, 83], Operations: ['72-61=11', '94-11=83']
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[72, 3, 94, 61], Operations: []
Exploring Operation: 72-61=11, Resulting Numbers: [3, 94, 11]
Generated Node #0,1: 86:[3, 94, 11] Operation: 72-61=11
Moving to Node #0,1
Current State: 86:[3, 94, 11], Operations: ['72-61=11']
Exploring Operation: 94-11=83, Resulting Numbers: [3, 83]
Generated Node #0,1,2: 86:[3, 83] Operation: 94-11=83
Moving to Node #0,1,2
Current State: 86:[3, 83], Operations: ['72-61=11', '94-11=83']
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
98,
56,
24,
64
] | 88 | [
"98*64=6272",
"6272/56=112",
"112-24=88"
] | Current State: 88:[98, 56, 24, 64], Operations: []
Exploring Operation: 98*64=6272, Resulting Numbers: [56, 24, 6272]
Generated Node #2: [56, 24, 6272] from Operation: 98*64=6272
Current State: 88:[56, 24, 6272], Operations: ['98*64=6272']
Exploring Operation: 6272/56=112, Resulting Numbers: [24, 112]
Generated Node #3: [24, 112] from Operation: 6272/56=112
Current State: 88:[24, 112], Operations: ['98*64=6272', '6272/56=112']
Exploring Operation: 112-24=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[98, 56, 24, 64], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [98, 24, 8]
Generated Node #0,0: 88:[98, 24, 8] Operation: 64-56=8
Exploring Operation: 24+64=88, Resulting Numbers: [98, 56, 88]
Generated Node #0,1: 88:[98, 56, 88] Operation: 24+64=88
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[98, 24, 8], Operations: ['64-56=8']
Exploring Operation: 24/8=3, Resulting Numbers: [98, 3]
Generated Node #0,0,0: 88:[98, 3] Operation: 24/8=3
Exploring Operation: 98-8=90, Resulting Numbers: [24, 90]
Generated Node #0,0,1: 88:[24, 90] Operation: 98-8=90
Moving to Node #0,0,1
Current State: 88:[24, 90], Operations: ['64-56=8', '98-8=90']
Exploring Operation: 24+90=114, Resulting Numbers: [114]
114,88 unequal: No Solution
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[98, 3], Operations: ['64-56=8', '24/8=3']
Exploring Operation: 98+3=101, Resulting Numbers: [101]
101,88 unequal: No Solution
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,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:[98, 56, 88], Operations: ['24+64=88']
Exploring Operation: 98-56=42, Resulting Numbers: [88, 42]
Generated Node #0,1,0: 88:[88, 42] Operation: 98-56=42
Exploring Operation: 98-88=10, Resulting Numbers: [56, 10]
Generated Node #0,1,1: 88:[56, 10] Operation: 98-88=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[88, 42], Operations: ['24+64=88', '98-56=42']
Exploring Operation: 88+42=130, Resulting Numbers: [130]
130,88 unequal: No Solution
Exploring Operation: 88-42=46, Resulting Numbers: [46]
46,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,1
Current State: 88:[56, 10], Operations: ['24+64=88', '98-88=10']
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,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_2 | mult_heuristic |
[
96,
37,
5,
99
] | 33 | [
"37-5=32",
"96/32=3",
"99/3=33"
] | Current State: 33:[96, 37, 5, 99], Operations: []
Exploring Operation: 37-5=32, Resulting Numbers: [96, 99, 32]
Generated Node #2: [96, 99, 32] from Operation: 37-5=32
Current State: 33:[96, 99, 32], Operations: ['37-5=32']
Exploring Operation: 96/32=3, Resulting Numbers: [99, 3]
Generated Node #3: [99, 3] from Operation: 96/32=3
Current State: 33:[99, 3], Operations: ['37-5=32', '96/32=3']
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[96, 37, 5, 99], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [37, 5, 3]
Generated Node #0,0: 33:[37, 5, 3] Operation: 99-96=3
Exploring Operation: 99-37=62, Resulting Numbers: [96, 5, 62]
Generated Node #0,1: 33:[96, 5, 62] Operation: 99-37=62
Exploring Operation: 96-5=91, Resulting Numbers: [37, 99, 91]
Generated Node #0,2: 33:[37, 99, 91] Operation: 96-5=91
Exploring Operation: 96-37=59, Resulting Numbers: [5, 99, 59]
Generated Node #0,3: 33:[5, 99, 59] Operation: 96-37=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[37, 5, 3], Operations: ['99-96=3']
Exploring Operation: 5+3=8, Resulting Numbers: [37, 8]
Generated Node #0,0,0: 33:[37, 8] Operation: 5+3=8
Exploring Operation: 37-3=34, Resulting Numbers: [5, 34]
Generated Node #0,0,1: 33:[5, 34] Operation: 37-3=34
Exploring Operation: 37-5=32, Resulting Numbers: [3, 32]
Generated Node #0,0,2: 33:[3, 32] Operation: 37-5=32
Exploring Operation: 5-3=2, Resulting Numbers: [37, 2]
Generated Node #0,0,3: 33:[37, 2] Operation: 5-3=2
Moving to Node #0,0,2
Current State: 33:[3, 32], Operations: ['99-96=3', '37-5=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,33 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[5, 34], Operations: ['99-96=3', '37-3=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[37, 2], Operations: ['99-96=3', '5-3=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,33 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[37, 8], Operations: ['99-96=3', '5+3=8']
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,33 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,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,1
Current State: 33:[96, 5, 62], Operations: ['99-37=62']
Exploring Operation: 96+5=101, Resulting Numbers: [62, 101]
Generated Node #0,1,0: 33:[62, 101] Operation: 96+5=101
Exploring Operation: 96-5=91, Resulting Numbers: [62, 91]
Generated Node #0,1,1: 33:[62, 91] Operation: 96-5=91
Exploring Operation: 96-62=34, Resulting Numbers: [5, 34]
Generated Node #0,1,2: 33:[5, 34] Operation: 96-62=34
Exploring Operation: 62-5=57, Resulting Numbers: [96, 57]
Generated Node #0,1,3: 33:[96, 57] Operation: 62-5=57
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[5, 34], Operations: ['99-37=62', '96-62=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,33 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,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,1,1
Current State: 33:[62, 91], Operations: ['99-37=62', '96-5=91']
Exploring Operation: 62+91=153, Resulting Numbers: [153]
153,33 unequal: No Solution
Exploring Operation: 91-62=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 62*91=5642, Resulting Numbers: [5642]
5642,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,1,3
Current State: 33:[96, 57], Operations: ['99-37=62', '62-5=57']
Exploring Operation: 96-57=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 96+57=153, Resulting Numbers: [153]
153,33 unequal: No Solution
Exploring Operation: 96*57=5472, Resulting Numbers: [5472]
5472,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,1,0
Current State: 33:[62, 101], Operations: ['99-37=62', '96+5=101']
Exploring Operation: 101-62=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 62*101=6262, Resulting Numbers: [6262]
6262,33 unequal: No Solution
Exploring Operation: 62+101=163, Resulting Numbers: [163]
163,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,3
Current State: 33:[5, 99, 59], Operations: ['96-37=59']
Exploring Operation: 59-5=54, Resulting Numbers: [99, 54]
Generated Node #0,3,0: 33:[99, 54] Operation: 59-5=54
Exploring Operation: 5+99=104, Resulting Numbers: [59, 104]
Generated Node #0,3,1: 33:[59, 104] Operation: 5+99=104
Exploring Operation: 99-59=40, Resulting Numbers: [5, 40]
Generated Node #0,3,2: 33:[5, 40] Operation: 99-59=40
Exploring Operation: 99-5=94, Resulting Numbers: [59, 94]
Generated Node #0,3,3: 33:[59, 94] Operation: 99-5=94
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 33:[5, 40], Operations: ['96-37=59', '99-59=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,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,3,0
Current State: 33:[99, 54], Operations: ['96-37=59', '59-5=54']
Exploring Operation: 99*54=5346, Resulting Numbers: [5346]
5346,33 unequal: No Solution
Exploring Operation: 99-54=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 99+54=153, Resulting Numbers: [153]
153,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,3,3
Current State: 33:[59, 94], Operations: ['96-37=59', '99-5=94']
Exploring Operation: 94-59=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 59+94=153, Resulting Numbers: [153]
153,33 unequal: No Solution
Exploring Operation: 59*94=5546, Resulting Numbers: [5546]
5546,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,3,1
Current State: 33:[59, 104], Operations: ['96-37=59', '5+99=104']
Exploring Operation: 59*104=6136, Resulting Numbers: [6136]
6136,33 unequal: No Solution
Exploring Operation: 59+104=163, Resulting Numbers: [163]
163,33 unequal: No Solution
Exploring Operation: 104-59=45, Resulting Numbers: [45]
45,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,2
Current State: 33:[37, 99, 91], Operations: ['96-5=91']
Exploring Operation: 99-37=62, Resulting Numbers: [91, 62]
Generated Node #0,2,0: 33:[91, 62] Operation: 99-37=62
Exploring Operation: 37+99=136, Resulting Numbers: [91, 136]
Generated Node #0,2,1: 33:[91, 136] Operation: 37+99=136
Exploring Operation: 91-37=54, Resulting Numbers: [99, 54]
Generated Node #0,2,2: 33:[99, 54] Operation: 91-37=54
Exploring Operation: 99-91=8, Resulting Numbers: [37, 8]
Generated Node #0,2,3: 33:[37, 8] Operation: 99-91=8
Moving to Node #0,2,3
Current State: 33:[37, 8], Operations: ['96-5=91', '99-91=8']
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,33 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[99, 54], Operations: ['96-5=91', '91-37=54']
Exploring Operation: 99+54=153, Resulting Numbers: [153]
153,33 unequal: No Solution
Exploring Operation: 99*54=5346, Resulting Numbers: [5346]
5346,33 unequal: No Solution
Exploring Operation: 99-54=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[91, 62], Operations: ['96-5=91', '99-37=62']
Exploring Operation: 91*62=5642, Resulting Numbers: [5642]
5642,33 unequal: No Solution
Exploring Operation: 91+62=153, Resulting Numbers: [153]
153,33 unequal: No Solution
Exploring Operation: 91-62=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[91, 136], Operations: ['96-5=91', '37+99=136']
Exploring Operation: 136-91=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 91*136=12376, Resulting Numbers: [12376]
12376,33 unequal: No Solution
Exploring Operation: 91+136=227, Resulting Numbers: [227]
227,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
8,
11,
9,
33
] | 19 | [
"33/11=3",
"9*3=27",
"27-8=19"
] | Current State: 19:[8, 11, 9, 33], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [8, 9, 3]
Generated Node #2: [8, 9, 3] from Operation: 33/11=3
Current State: 19:[8, 9, 3], Operations: ['33/11=3']
Exploring Operation: 9*3=27, Resulting Numbers: [8, 27]
Generated Node #3: [8, 27] from Operation: 9*3=27
Current State: 19:[8, 27], Operations: ['33/11=3', '9*3=27']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[8, 11, 9, 33], Operations: []
Exploring Operation: 33-8=25, Resulting Numbers: [11, 9, 25]
Generated Node #0,0: 19:[11, 9, 25] Operation: 33-8=25
Exploring Operation: 8+11=19, Resulting Numbers: [9, 33, 19]
Generated Node #0,1: 19:[9, 33, 19] Operation: 8+11=19
Exploring Operation: 8+9=17, Resulting Numbers: [11, 33, 17]
Generated Node #0,2: 19:[11, 33, 17] Operation: 8+9=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[11, 9, 25], Operations: ['33-8=25']
Exploring Operation: 11+9=20, Resulting Numbers: [25, 20]
Generated Node #0,0,0: 19:[25, 20] Operation: 11+9=20
Exploring Operation: 25-9=16, Resulting Numbers: [11, 16]
Generated Node #0,0,1: 19:[11, 16] Operation: 25-9=16
Exploring Operation: 25-11=14, Resulting Numbers: [9, 14]
Generated Node #0,0,2: 19:[9, 14] Operation: 25-11=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[25, 20], Operations: ['33-8=25', '11+9=20']
Exploring Operation: 25*20=500, Resulting Numbers: [500]
500,19 unequal: No Solution
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,19 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: 19:[11, 16], Operations: ['33-8=25', '25-9=16']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,19 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: 19:[9, 14], Operations: ['33-8=25', '25-11=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,19 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,19 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: 19:[9, 33, 19], Operations: ['8+11=19']
Exploring Operation: 33-9=24, Resulting Numbers: [19, 24]
Generated Node #0,1,0: 19:[19, 24] Operation: 33-9=24
Exploring Operation: 33-19=14, Resulting Numbers: [9, 14]
Generated Node #0,1,1: 19:[9, 14] Operation: 33-19=14
Exploring Operation: 9+33=42, Resulting Numbers: [19, 42]
Generated Node #0,1,2: 19:[19, 42] Operation: 9+33=42
Moving to Node #0,1,0
Current State: 19:[19, 24], Operations: ['8+11=19', '33-9=24']
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[9, 14], Operations: ['8+11=19', '33-19=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[19, 42], Operations: ['8+11=19', '9+33=42']
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,19 unequal: No Solution
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,19 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,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
Current State: 19:[11, 33, 17], Operations: ['8+9=17']
Exploring Operation: 33-17=16, Resulting Numbers: [11, 16]
Generated Node #0,2,0: 19:[11, 16] Operation: 33-17=16
Exploring Operation: 33/11=3, Resulting Numbers: [17, 3]
Generated Node #0,2,1: 19:[17, 3] Operation: 33/11=3
Exploring Operation: 33-11=22, Resulting Numbers: [17, 22]
Generated Node #0,2,2: 19:[17, 22] Operation: 33-11=22
Moving to Node #0,2,2
Current State: 19:[17, 22], Operations: ['8+9=17', '33-11=22']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[11, 16], Operations: ['8+9=17', '33-17=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,19 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[17, 3], Operations: ['8+9=17', '33/11=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,19 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 |
[
4,
5,
51,
84
] | 98 | [
"5+51=56",
"56/4=14",
"84+14=98"
] | Current State: 98:[4, 5, 51, 84], Operations: []
Exploring Operation: 5+51=56, Resulting Numbers: [4, 84, 56]
Generated Node #2: [4, 84, 56] from Operation: 5+51=56
Current State: 98:[4, 84, 56], Operations: ['5+51=56']
Exploring Operation: 56/4=14, Resulting Numbers: [84, 14]
Generated Node #3: [84, 14] from Operation: 56/4=14
Current State: 98:[84, 14], Operations: ['5+51=56', '56/4=14']
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[4, 5, 51, 84], Operations: []
Exploring Operation: 5+84=89, Resulting Numbers: [4, 51, 89]
Generated Node #0,0: 98:[4, 51, 89] Operation: 5+84=89
Exploring Operation: 4+5=9, Resulting Numbers: [51, 84, 9]
Generated Node #0,1: 98:[51, 84, 9] Operation: 4+5=9
Exploring Operation: 4+84=88, Resulting Numbers: [5, 51, 88]
Generated Node #0,2: 98:[5, 51, 88] Operation: 4+84=88
Exploring Operation: 84/4=21, Resulting Numbers: [5, 51, 21]
Generated Node #0,3: 98:[5, 51, 21] Operation: 84/4=21
Exploring Operation: 5-4=1, Resulting Numbers: [51, 84, 1]
Generated Node #0,4: 98:[51, 84, 1] Operation: 5-4=1
Moving to Node #0,3
Current State: 98:[5, 51, 21], Operations: ['84/4=21']
Exploring Operation: 51-5=46, Resulting Numbers: [21, 46]
Generated Node #0,3,0: 98:[21, 46] Operation: 51-5=46
Exploring Operation: 5+51=56, Resulting Numbers: [21, 56]
Generated Node #0,3,1: 98:[21, 56] Operation: 5+51=56
Exploring Operation: 21-5=16, Resulting Numbers: [51, 16]
Generated Node #0,3,2: 98:[51, 16] Operation: 21-5=16
Exploring Operation: 5*21=105, Resulting Numbers: [51, 105]
Generated Node #0,3,3: 98:[51, 105] Operation: 5*21=105
Exploring Operation: 5+21=26, Resulting Numbers: [51, 26]
Generated Node #0,3,4: 98:[51, 26] Operation: 5+21=26
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[51, 16], Operations: ['84/4=21', '21-5=16']
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,98 unequal: No Solution
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,98 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,98 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: 98:[51, 105], Operations: ['84/4=21', '5*21=105']
Exploring Operation: 51+105=156, Resulting Numbers: [156]
156,98 unequal: No Solution
Exploring Operation: 105-51=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 51*105=5355, Resulting Numbers: [5355]
5355,98 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: 98:[21, 46], Operations: ['84/4=21', '51-5=46']
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,98 unequal: No Solution
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,98 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,98 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: 98:[21, 56], Operations: ['84/4=21', '5+51=56']
Exploring Operation: 21*56=1176, Resulting Numbers: [1176]
1176,98 unequal: No Solution
Exploring Operation: 21+56=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,98 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: 98:[51, 26], Operations: ['84/4=21', '5+21=26']
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,98 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,98 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: 98:[4, 51, 89], Operations: ['5+84=89']
Exploring Operation: 89-4=85, Resulting Numbers: [51, 85]
Generated Node #0,0,0: 98:[51, 85] Operation: 89-4=85
Exploring Operation: 51-4=47, Resulting Numbers: [89, 47]
Generated Node #0,0,1: 98:[89, 47] Operation: 51-4=47
Exploring Operation: 4+51=55, Resulting Numbers: [89, 55]
Generated Node #0,0,2: 98:[89, 55] Operation: 4+51=55
Exploring Operation: 4+89=93, Resulting Numbers: [51, 93]
Generated Node #0,0,3: 98:[51, 93] Operation: 4+89=93
Exploring Operation: 89-51=38, Resulting Numbers: [4, 38]
Generated Node #0,0,4: 98:[4, 38] Operation: 89-51=38
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 98:[51, 93], Operations: ['5+84=89', '4+89=93']
Exploring Operation: 51+93=144, Resulting Numbers: [144]
144,98 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 51*93=4743, Resulting Numbers: [4743]
4743,98 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: 98:[89, 47], Operations: ['5+84=89', '51-4=47']
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 89+47=136, Resulting Numbers: [136]
136,98 unequal: No Solution
Exploring Operation: 89*47=4183, Resulting Numbers: [4183]
4183,98 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: 98:[4, 38], Operations: ['5+84=89', '89-51=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,98 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,98 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: 98:[51, 85], Operations: ['5+84=89', '89-4=85']
Exploring Operation: 51+85=136, Resulting Numbers: [136]
136,98 unequal: No Solution
Exploring Operation: 51*85=4335, Resulting Numbers: [4335]
4335,98 unequal: No Solution
Exploring Operation: 85-51=34, Resulting Numbers: [34]
34,98 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: 98:[89, 55], Operations: ['5+84=89', '4+51=55']
Exploring Operation: 89*55=4895, Resulting Numbers: [4895]
4895,98 unequal: No Solution
Exploring Operation: 89+55=144, Resulting Numbers: [144]
144,98 unequal: No Solution
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,98 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: 98:[5, 51, 88], Operations: ['4+84=88']
Exploring Operation: 88-51=37, Resulting Numbers: [5, 37]
Generated Node #0,2,0: 98:[5, 37] Operation: 88-51=37
Exploring Operation: 5+88=93, Resulting Numbers: [51, 93]
Generated Node #0,2,1: 98:[51, 93] Operation: 5+88=93
Exploring Operation: 88-5=83, Resulting Numbers: [51, 83]
Generated Node #0,2,2: 98:[51, 83] Operation: 88-5=83
Exploring Operation: 5+51=56, Resulting Numbers: [88, 56]
Generated Node #0,2,3: 98:[88, 56] Operation: 5+51=56
Exploring Operation: 51-5=46, Resulting Numbers: [88, 46]
Generated Node #0,2,4: 98:[88, 46] Operation: 51-5=46
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[51, 93], Operations: ['4+84=88', '5+88=93']
Exploring Operation: 51*93=4743, Resulting Numbers: [4743]
4743,98 unequal: No Solution
Exploring Operation: 51+93=144, Resulting Numbers: [144]
144,98 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,98 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: 98:[88, 46], Operations: ['4+84=88', '51-5=46']
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,98 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,98 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: 98:[5, 37], Operations: ['4+84=88', '88-51=37']
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,98 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,98 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: 98:[51, 83], Operations: ['4+84=88', '88-5=83']
Exploring Operation: 51*83=4233, Resulting Numbers: [4233]
4233,98 unequal: No Solution
Exploring Operation: 83-51=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 51+83=134, Resulting Numbers: [134]
134,98 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: 98:[88, 56], Operations: ['4+84=88', '5+51=56']
Exploring Operation: 88-56=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 88*56=4928, Resulting Numbers: [4928]
4928,98 unequal: No Solution
Exploring Operation: 88+56=144, Resulting Numbers: [144]
144,98 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: 98:[51, 84, 1], Operations: ['5-4=1']
Exploring Operation: 84*1=84, Resulting Numbers: [51, 84]
Generated Node #0,4,0: 98:[51, 84] Operation: 84*1=84
Exploring Operation: 84+1=85, Resulting Numbers: [51, 85]
Generated Node #0,4,1: 98:[51, 85] Operation: 84+1=85
Exploring Operation: 51*1=51, Resulting Numbers: [84, 51]
Generated Node #0,4,2: 98:[84, 51] Operation: 51*1=51
Exploring Operation: 51/1=51, Resulting Numbers: [84, 51]
Generated Node #0,4,3: 98:[84, 51] Operation: 51/1=51
Exploring Operation: 51-1=50, Resulting Numbers: [84, 50]
Generated Node #0,4,4: 98:[84, 50] Operation: 51-1=50
Moving to Node #0,1
Current State: 98:[51, 84, 9], Operations: ['4+5=9']
Exploring Operation: 84+9=93, Resulting Numbers: [51, 93]
Generated Node #0,1,0: 98:[51, 93] Operation: 84+9=93
Exploring Operation: 84-51=33, Resulting Numbers: [9, 33]
Generated Node #0,1,1: 98:[9, 33] Operation: 84-51=33
Exploring Operation: 51+9=60, Resulting Numbers: [84, 60]
Generated Node #0,1,2: 98:[84, 60] Operation: 51+9=60
Exploring Operation: 84-9=75, Resulting Numbers: [51, 75]
Generated Node #0,1,3: 98:[51, 75] Operation: 84-9=75
Exploring Operation: 51-9=42, Resulting Numbers: [84, 42]
Generated Node #0,1,4: 98:[84, 42] Operation: 51-9=42
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[51, 93], Operations: ['4+5=9', '84+9=93']
Exploring Operation: 51+93=144, Resulting Numbers: [144]
144,98 unequal: No Solution
Exploring Operation: 51*93=4743, Resulting Numbers: [4743]
4743,98 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,98 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: 98:[9, 33], Operations: ['4+5=9', '84-51=33']
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,98 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,98 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: 98:[84, 42], Operations: ['4+5=9', '51-9=42']
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 84*42=3528, Resulting Numbers: [3528]
3528,98 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 84+42=126, Resulting Numbers: [126]
126,98 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: 98:[84, 60], Operations: ['4+5=9', '51+9=60']
Exploring Operation: 84*60=5040, Resulting Numbers: [5040]
5040,98 unequal: No Solution
Exploring Operation: 84-60=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 84+60=144, Resulting Numbers: [144]
144,98 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: 98:[51, 75], Operations: ['4+5=9', '84-9=75']
Exploring Operation: 51+75=126, Resulting Numbers: [126]
126,98 unequal: No Solution
Exploring Operation: 51*75=3825, Resulting Numbers: [3825]
3825,98 unequal: No Solution
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 98:[51, 85], Operations: ['5-4=1', '84+1=85']
Exploring Operation: 85-51=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 51*85=4335, Resulting Numbers: [4335]
4335,98 unequal: No Solution
Exploring Operation: 51+85=136, Resulting Numbers: [136]
136,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[84, 50], Operations: ['5-4=1', '51-1=50']
Exploring Operation: 84*50=4200, Resulting Numbers: [4200]
4200,98 unequal: No Solution
Exploring Operation: 84+50=134, Resulting Numbers: [134]
134,98 unequal: No Solution
Exploring Operation: 84-50=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[51, 84], Operations: ['5-4=1', '84*1=84']
Exploring Operation: 51*84=4284, Resulting Numbers: [4284]
4284,98 unequal: No Solution
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 51+84=135, Resulting Numbers: [135]
135,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[84, 51], Operations: ['5-4=1', '51*1=51']
Exploring Operation: 84*51=4284, Resulting Numbers: [4284]
4284,98 unequal: No Solution
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 84+51=135, Resulting Numbers: [135]
135,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[84, 51], Operations: ['5-4=1', '51/1=51']
Exploring Operation: 84+51=135, Resulting Numbers: [135]
135,98 unequal: No Solution
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 84*51=4284, Resulting Numbers: [4284]
4284,98 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
22,
78,
16,
96
] | 62 | [
"78-22=56",
"96/16=6",
"56+6=62"
] | Current State: 62:[22, 78, 16, 96], Operations: []
Exploring Operation: 78-22=56, Resulting Numbers: [16, 96, 56]
Generated Node #2: [16, 96, 56] from Operation: 78-22=56
Current State: 62:[16, 96, 56], Operations: ['78-22=56']
Exploring Operation: 96/16=6, Resulting Numbers: [56, 6]
Generated Node #3: [56, 6] from Operation: 96/16=6
Current State: 62:[56, 6], Operations: ['78-22=56', '96/16=6']
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[22, 78, 16, 96], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [22, 16, 18]
Generated Node #0,0: 62:[22, 16, 18] Operation: 96-78=18
Exploring Operation: 96/16=6, Resulting Numbers: [22, 78, 6]
Generated Node #0,1: 62:[22, 78, 6] Operation: 96/16=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[22, 78, 6], Operations: ['96/16=6']
Exploring Operation: 78-22=56, Resulting Numbers: [6, 56]
Generated Node #0,1,0: 62:[6, 56] Operation: 78-22=56
Exploring Operation: 22+6=28, Resulting Numbers: [78, 28]
Generated Node #0,1,1: 62:[78, 28] Operation: 22+6=28
Moving to Node #0,1,0
Current State: 62:[6, 56], Operations: ['96/16=6', '78-22=56']
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[22, 78, 16, 96], Operations: []
Exploring Operation: 96/16=6, Resulting Numbers: [22, 78, 6]
Generated Node #0,1: 62:[22, 78, 6] Operation: 96/16=6
Moving to Node #0,1
Current State: 62:[22, 78, 6], Operations: ['96/16=6']
Exploring Operation: 78-22=56, Resulting Numbers: [6, 56]
Generated Node #0,1,0: 62:[6, 56] Operation: 78-22=56
Moving to Node #0,1,0
Current State: 62:[6, 56], Operations: ['96/16=6', '78-22=56']
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
20,
71,
69,
10
] | 67 | [
"20*69=1380",
"1380/10=138",
"138-71=67"
] | Current State: 67:[20, 71, 69, 10], Operations: []
Exploring Operation: 20*69=1380, Resulting Numbers: [71, 10, 1380]
Generated Node #2: [71, 10, 1380] from Operation: 20*69=1380
Current State: 67:[71, 10, 1380], Operations: ['20*69=1380']
Exploring Operation: 1380/10=138, Resulting Numbers: [71, 138]
Generated Node #3: [71, 138] from Operation: 1380/10=138
Current State: 67:[71, 138], Operations: ['20*69=1380', '1380/10=138']
Exploring Operation: 138-71=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[20, 71, 69, 10], Operations: []
Exploring Operation: 20-10=10, Resulting Numbers: [71, 69, 10]
Generated Node #0,0: 67:[71, 69, 10] Operation: 20-10=10
Exploring Operation: 20+10=30, Resulting Numbers: [71, 69, 30]
Generated Node #0,1: 67:[71, 69, 30] Operation: 20+10=30
Exploring Operation: 71-10=61, Resulting Numbers: [20, 69, 61]
Generated Node #0,2: 67:[20, 69, 61] Operation: 71-10=61
Exploring Operation: 69-10=59, Resulting Numbers: [20, 71, 59]
Generated Node #0,3: 67:[20, 71, 59] Operation: 69-10=59
Exploring Operation: 71+10=81, Resulting Numbers: [20, 69, 81]
Generated Node #0,4: 67:[20, 69, 81] Operation: 71+10=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[71, 69, 30], Operations: ['20+10=30']
Exploring Operation: 71-30=41, Resulting Numbers: [69, 41]
Generated Node #0,1,0: 67:[69, 41] Operation: 71-30=41
Exploring Operation: 69-30=39, Resulting Numbers: [71, 39]
Generated Node #0,1,1: 67:[71, 39] Operation: 69-30=39
Exploring Operation: 71-69=2, Resulting Numbers: [30, 2]
Generated Node #0,1,2: 67:[30, 2] Operation: 71-69=2
Exploring Operation: 71+30=101, Resulting Numbers: [69, 101]
Generated Node #0,1,3: 67:[69, 101] Operation: 71+30=101
Exploring Operation: 69+30=99, Resulting Numbers: [71, 99]
Generated Node #0,1,4: 67:[71, 99] Operation: 69+30=99
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[69, 41], Operations: ['20+10=30', '71-30=41']
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 69+41=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 69*41=2829, Resulting Numbers: [2829]
2829,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:[71, 39], Operations: ['20+10=30', '69-30=39']
Exploring Operation: 71+39=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 71*39=2769, Resulting Numbers: [2769]
2769,67 unequal: No Solution
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,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:[69, 101], Operations: ['20+10=30', '71+30=101']
Exploring Operation: 69*101=6969, Resulting Numbers: [6969]
6969,67 unequal: No Solution
Exploring Operation: 69+101=170, Resulting Numbers: [170]
170,67 unequal: No Solution
Exploring Operation: 101-69=32, Resulting Numbers: [32]
32,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:[71, 99], Operations: ['20+10=30', '69+30=99']
Exploring Operation: 99-71=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 71*99=7029, Resulting Numbers: [7029]
7029,67 unequal: No Solution
Exploring Operation: 71+99=170, Resulting Numbers: [170]
170,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:[30, 2], Operations: ['20+10=30', '71-69=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,67 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,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:[20, 69, 61], Operations: ['71-10=61']
Exploring Operation: 20+69=89, Resulting Numbers: [61, 89]
Generated Node #0,2,0: 67:[61, 89] Operation: 20+69=89
Exploring Operation: 20+61=81, Resulting Numbers: [69, 81]
Generated Node #0,2,1: 67:[69, 81] Operation: 20+61=81
Exploring Operation: 69-61=8, Resulting Numbers: [20, 8]
Generated Node #0,2,2: 67:[20, 8] Operation: 69-61=8
Exploring Operation: 61-20=41, Resulting Numbers: [69, 41]
Generated Node #0,2,3: 67:[69, 41] Operation: 61-20=41
Exploring Operation: 69-20=49, Resulting Numbers: [61, 49]
Generated Node #0,2,4: 67:[61, 49] Operation: 69-20=49
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[69, 81], Operations: ['71-10=61', '20+61=81']
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 69*81=5589, Resulting Numbers: [5589]
5589,67 unequal: No Solution
Exploring Operation: 69+81=150, Resulting Numbers: [150]
150,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:[61, 49], Operations: ['71-10=61', '69-20=49']
Exploring Operation: 61+49=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 61*49=2989, Resulting Numbers: [2989]
2989,67 unequal: No Solution
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,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,0
Current State: 67:[61, 89], Operations: ['71-10=61', '20+69=89']
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 61*89=5429, Resulting Numbers: [5429]
5429,67 unequal: No Solution
Exploring Operation: 61+89=150, Resulting Numbers: [150]
150,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:[69, 41], Operations: ['71-10=61', '61-20=41']
Exploring Operation: 69+41=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 69*41=2829, Resulting Numbers: [2829]
2829,67 unequal: No Solution
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,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:[20, 8], Operations: ['71-10=61', '69-61=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,67 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,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:[20, 71, 59], Operations: ['69-10=59']
Exploring Operation: 71-59=12, Resulting Numbers: [20, 12]
Generated Node #0,3,0: 67:[20, 12] Operation: 71-59=12
Exploring Operation: 20+71=91, Resulting Numbers: [59, 91]
Generated Node #0,3,1: 67:[59, 91] Operation: 20+71=91
Exploring Operation: 20+59=79, Resulting Numbers: [71, 79]
Generated Node #0,3,2: 67:[71, 79] Operation: 20+59=79
Exploring Operation: 71-20=51, Resulting Numbers: [59, 51]
Generated Node #0,3,3: 67:[59, 51] Operation: 71-20=51
Exploring Operation: 59-20=39, Resulting Numbers: [71, 39]
Generated Node #0,3,4: 67:[71, 39] Operation: 59-20=39
Moving to Node #0,3,2
Current State: 67:[71, 79], Operations: ['69-10=59', '20+59=79']
Exploring Operation: 71+79=150, Resulting Numbers: [150]
150,67 unequal: No Solution
Exploring Operation: 71*79=5609, Resulting Numbers: [5609]
5609,67 unequal: No Solution
Exploring Operation: 79-71=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[59, 51], Operations: ['69-10=59', '71-20=51']
Exploring Operation: 59-51=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 59+51=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 59*51=3009, Resulting Numbers: [3009]
3009,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[59, 91], Operations: ['69-10=59', '20+71=91']
Exploring Operation: 59*91=5369, Resulting Numbers: [5369]
5369,67 unequal: No Solution
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 59+91=150, Resulting Numbers: [150]
150,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[71, 39], Operations: ['69-10=59', '59-20=39']
Exploring Operation: 71*39=2769, Resulting Numbers: [2769]
2769,67 unequal: No Solution
Exploring Operation: 71+39=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[20, 12], Operations: ['69-10=59', '71-59=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,67 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: 67:[71, 69, 10], Operations: ['20-10=10']
Exploring Operation: 71-10=61, Resulting Numbers: [69, 61]
Generated Node #0,0,0: 67:[69, 61] Operation: 71-10=61
Exploring Operation: 69-10=59, Resulting Numbers: [71, 59]
Generated Node #0,0,1: 67:[71, 59] Operation: 69-10=59
Exploring Operation: 69+10=79, Resulting Numbers: [71, 79]
Generated Node #0,0,2: 67:[71, 79] Operation: 69+10=79
Exploring Operation: 71+10=81, Resulting Numbers: [69, 81]
Generated Node #0,0,3: 67:[69, 81] Operation: 71+10=81
Exploring Operation: 71-69=2, Resulting Numbers: [10, 2]
Generated Node #0,0,4: 67:[10, 2] Operation: 71-69=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[69, 61], Operations: ['20-10=10', '71-10=61']
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 69+61=130, Resulting Numbers: [130]
130,67 unequal: No Solution
Exploring Operation: 69*61=4209, Resulting Numbers: [4209]
4209,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:[71, 59], Operations: ['20-10=10', '69-10=59']
Exploring Operation: 71*59=4189, Resulting Numbers: [4189]
4189,67 unequal: No Solution
Exploring Operation: 71+59=130, Resulting Numbers: [130]
130,67 unequal: No Solution
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,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,2
Current State: 67:[71, 79], Operations: ['20-10=10', '69+10=79']
Exploring Operation: 71*79=5609, Resulting Numbers: [5609]
5609,67 unequal: No Solution
Exploring Operation: 79-71=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 71+79=150, Resulting Numbers: [150]
150,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:[69, 81], Operations: ['20-10=10', '71+10=81']
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 69+81=150, Resulting Numbers: [150]
150,67 unequal: No Solution
Exploring Operation: 69*81=5589, Resulting Numbers: [5589]
5589,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:[10, 2], Operations: ['20-10=10', '71-69=2']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,67 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,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:[20, 69, 81], Operations: ['71+10=81']
Exploring Operation: 81-69=12, Resulting Numbers: [20, 12]
Generated Node #0,4,0: 67:[20, 12] Operation: 81-69=12
Exploring Operation: 69-20=49, Resulting Numbers: [81, 49]
Generated Node #0,4,1: 67:[81, 49] Operation: 69-20=49
Exploring Operation: 20+81=101, Resulting Numbers: [69, 101]
Generated Node #0,4,2: 67:[69, 101] Operation: 20+81=101
Exploring Operation: 20+69=89, Resulting Numbers: [81, 89]
Generated Node #0,4,3: 67:[81, 89] Operation: 20+69=89
Exploring Operation: 81-20=61, Resulting Numbers: [69, 61]
Generated Node #0,4,4: 67:[69, 61] Operation: 81-20=61
Moving to Node #0,4,4
Current State: 67:[69, 61], Operations: ['71+10=81', '81-20=61']
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 69*61=4209, Resulting Numbers: [4209]
4209,67 unequal: No Solution
Exploring Operation: 69+61=130, Resulting Numbers: [130]
130,67 unequal: No Solution
Moving to Node #0,4,1
Current State: 67:[81, 49], Operations: ['71+10=81', '69-20=49']
Exploring Operation: 81+49=130, Resulting Numbers: [130]
130,67 unequal: No Solution
Exploring Operation: 81*49=3969, Resulting Numbers: [3969]
3969,67 unequal: No Solution
Exploring Operation: 81-49=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[69, 101], Operations: ['71+10=81', '20+81=101']
Exploring Operation: 69+101=170, Resulting Numbers: [170]
170,67 unequal: No Solution
Exploring Operation: 101-69=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 69*101=6969, Resulting Numbers: [6969]
6969,67 unequal: No Solution
Moving to Node #0,4,3
Current State: 67:[81, 89], Operations: ['71+10=81', '20+69=89']
Exploring Operation: 81+89=170, Resulting Numbers: [170]
170,67 unequal: No Solution
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 81*89=7209, Resulting Numbers: [7209]
7209,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[20, 12], Operations: ['71+10=81', '81-69=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,67 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 |
[
62,
62,
23,
66
] | 89 | [
"62-62=0",
"23+66=89",
"0+89=89"
] | Current State: 89:[62, 62, 23, 66], Operations: []
Exploring Operation: 62-62=0, Resulting Numbers: [23, 66, 0]
Generated Node #2: [23, 66, 0] from Operation: 62-62=0
Current State: 89:[23, 66, 0], Operations: ['62-62=0']
Exploring Operation: 23+66=89, Resulting Numbers: [0, 89]
Generated Node #3: [0, 89] from Operation: 23+66=89
Current State: 89:[0, 89], Operations: ['62-62=0', '23+66=89']
Exploring Operation: 0+89=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[62, 62, 23, 66], Operations: []
Exploring Operation: 62+23=85, Resulting Numbers: [62, 66, 85]
Generated Node #0,0: 89:[62, 66, 85] Operation: 62+23=85
Exploring Operation: 23+66=89, Resulting Numbers: [62, 62, 89]
Generated Node #0,1: 89:[62, 62, 89] Operation: 23+66=89
Exploring Operation: 62+23=85, Resulting Numbers: [62, 66, 85]
Generated Node #0,2: 89:[62, 66, 85] Operation: 62+23=85
Moving to Node #0,0
Current State: 89:[62, 66, 85], Operations: ['62+23=85']
Exploring Operation: 62+85=147, Resulting Numbers: [66, 147]
Generated Node #0,0,0: 89:[66, 147] Operation: 62+85=147
Exploring Operation: 62+66=128, Resulting Numbers: [85, 128]
Generated Node #0,0,1: 89:[85, 128] Operation: 62+66=128
Exploring Operation: 66-62=4, Resulting Numbers: [85, 4]
Generated Node #0,0,2: 89:[85, 4] Operation: 66-62=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[85, 128], Operations: ['62+23=85', '62+66=128']
Exploring Operation: 85*128=10880, Resulting Numbers: [10880]
10880,89 unequal: No Solution
Exploring Operation: 128-85=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Exploring Operation: 85+128=213, Resulting Numbers: [213]
213,89 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: 89:[66, 147], Operations: ['62+23=85', '62+85=147']
Exploring Operation: 66+147=213, Resulting Numbers: [213]
213,89 unequal: No Solution
Exploring Operation: 66*147=9702, Resulting Numbers: [9702]
9702,89 unequal: No Solution
Exploring Operation: 147-66=81, Resulting Numbers: [81]
81,89 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: 89:[85, 4], Operations: ['62+23=85', '66-62=4']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,89 unequal: No Solution
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[62, 62, 23, 66], Operations: []
Exploring Operation: 62+23=85, Resulting Numbers: [62, 66, 85]
Generated Node #0,0: 89:[62, 66, 85] Operation: 62+23=85
Moving to Node #0,0
Current State: 89:[62, 66, 85], Operations: ['62+23=85']
Exploring Operation: 66-62=4, Resulting Numbers: [85, 4]
Generated Node #0,0,2: 89:[85, 4] Operation: 66-62=4
Moving to Node #0,0,2
Current State: 89:[85, 4], Operations: ['62+23=85', '66-62=4']
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
76,
63,
61,
85
] | 47 | [
"63-61=2",
"76/2=38",
"85-38=47"
] | Current State: 47:[76, 63, 61, 85], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [76, 85, 2]
Generated Node #2: [76, 85, 2] from Operation: 63-61=2
Current State: 47:[76, 85, 2], Operations: ['63-61=2']
Exploring Operation: 76/2=38, Resulting Numbers: [85, 38]
Generated Node #3: [85, 38] from Operation: 76/2=38
Current State: 47:[85, 38], Operations: ['63-61=2', '76/2=38']
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[76, 63, 61, 85], Operations: []
Exploring Operation: 85-76=9, Resulting Numbers: [63, 61, 9]
Generated Node #0,0: 47:[63, 61, 9] Operation: 85-76=9
Exploring Operation: 76-61=15, Resulting Numbers: [63, 85, 15]
Generated Node #0,1: 47:[63, 85, 15] Operation: 76-61=15
Exploring Operation: 76-63=13, Resulting Numbers: [61, 85, 13]
Generated Node #0,2: 47:[61, 85, 13] Operation: 76-63=13
Exploring Operation: 85-63=22, Resulting Numbers: [76, 61, 22]
Generated Node #0,3: 47:[76, 61, 22] Operation: 85-63=22
Exploring Operation: 85-61=24, Resulting Numbers: [76, 63, 24]
Generated Node #0,4: 47:[76, 63, 24] Operation: 85-61=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[63, 61, 9], Operations: ['85-76=9']
Exploring Operation: 63+9=72, Resulting Numbers: [61, 72]
Generated Node #0,0,0: 47:[61, 72] Operation: 63+9=72
Exploring Operation: 61-9=52, Resulting Numbers: [63, 52]
Generated Node #0,0,1: 47:[63, 52] Operation: 61-9=52
Exploring Operation: 63-9=54, Resulting Numbers: [61, 54]
Generated Node #0,0,2: 47:[61, 54] Operation: 63-9=54
Exploring Operation: 63/9=7, Resulting Numbers: [61, 7]
Generated Node #0,0,3: 47:[61, 7] Operation: 63/9=7
Exploring Operation: 61+9=70, Resulting Numbers: [63, 70]
Generated Node #0,0,4: 47:[63, 70] Operation: 61+9=70
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[63, 52], Operations: ['85-76=9', '61-9=52']
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 63*52=3276, Resulting Numbers: [3276]
3276,47 unequal: No Solution
Exploring Operation: 63+52=115, Resulting Numbers: [115]
115,47 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: 47:[61, 54], Operations: ['85-76=9', '63-9=54']
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 61*54=3294, Resulting Numbers: [3294]
3294,47 unequal: No Solution
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,47 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: 47:[61, 72], Operations: ['85-76=9', '63+9=72']
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 61+72=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Exploring Operation: 61*72=4392, Resulting Numbers: [4392]
4392,47 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: 47:[63, 70], Operations: ['85-76=9', '61+9=70']
Exploring Operation: 63+70=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Exploring Operation: 63*70=4410, Resulting Numbers: [4410]
4410,47 unequal: No Solution
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,47 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: 47:[61, 7], Operations: ['85-76=9', '63/9=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,47 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,47 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,47 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: 47:[76, 61, 22], Operations: ['85-63=22']
Exploring Operation: 76-61=15, Resulting Numbers: [22, 15]
Generated Node #0,3,0: 47:[22, 15] Operation: 76-61=15
Exploring Operation: 61+22=83, Resulting Numbers: [76, 83]
Generated Node #0,3,1: 47:[76, 83] Operation: 61+22=83
Exploring Operation: 61-22=39, Resulting Numbers: [76, 39]
Generated Node #0,3,2: 47:[76, 39] Operation: 61-22=39
Exploring Operation: 76-22=54, Resulting Numbers: [61, 54]
Generated Node #0,3,3: 47:[61, 54] Operation: 76-22=54
Exploring Operation: 76+22=98, Resulting Numbers: [61, 98]
Generated Node #0,3,4: 47:[61, 98] Operation: 76+22=98
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 47:[61, 54], Operations: ['85-63=22', '76-22=54']
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,47 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 61*54=3294, Resulting Numbers: [3294]
3294,47 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: 47:[76, 39], Operations: ['85-63=22', '61-22=39']
Exploring Operation: 76*39=2964, Resulting Numbers: [2964]
2964,47 unequal: No Solution
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 76+39=115, Resulting Numbers: [115]
115,47 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: 47:[22, 15], Operations: ['85-63=22', '76-61=15']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 22*15=330, Resulting Numbers: [330]
330,47 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: 47:[76, 83], Operations: ['85-63=22', '61+22=83']
Exploring Operation: 76*83=6308, Resulting Numbers: [6308]
6308,47 unequal: No Solution
Exploring Operation: 83-76=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 76+83=159, Resulting Numbers: [159]
159,47 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: 47:[61, 98], Operations: ['85-63=22', '76+22=98']
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 61+98=159, Resulting Numbers: [159]
159,47 unequal: No Solution
Exploring Operation: 61*98=5978, Resulting Numbers: [5978]
5978,47 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: 47:[76, 63, 24], Operations: ['85-61=24']
Exploring Operation: 76+24=100, Resulting Numbers: [63, 100]
Generated Node #0,4,0: 47:[63, 100] Operation: 76+24=100
Exploring Operation: 63+24=87, Resulting Numbers: [76, 87]
Generated Node #0,4,1: 47:[76, 87] Operation: 63+24=87
Exploring Operation: 63-24=39, Resulting Numbers: [76, 39]
Generated Node #0,4,2: 47:[76, 39] Operation: 63-24=39
Exploring Operation: 76-24=52, Resulting Numbers: [63, 52]
Generated Node #0,4,3: 47:[63, 52] Operation: 76-24=52
Exploring Operation: 76-63=13, Resulting Numbers: [24, 13]
Generated Node #0,4,4: 47:[24, 13] Operation: 76-63=13
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 47:[63, 52], Operations: ['85-61=24', '76-24=52']
Exploring Operation: 63*52=3276, Resulting Numbers: [3276]
3276,47 unequal: No Solution
Exploring Operation: 63+52=115, Resulting Numbers: [115]
115,47 unequal: No Solution
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,47 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: 47:[76, 39], Operations: ['85-61=24', '63-24=39']
Exploring Operation: 76+39=115, Resulting Numbers: [115]
115,47 unequal: No Solution
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 76*39=2964, Resulting Numbers: [2964]
2964,47 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: 47:[24, 13], Operations: ['85-61=24', '76-63=13']
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,47 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,47 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: 47:[63, 100], Operations: ['85-61=24', '76+24=100']
Exploring Operation: 100-63=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 63*100=6300, Resulting Numbers: [6300]
6300,47 unequal: No Solution
Exploring Operation: 63+100=163, Resulting Numbers: [163]
163,47 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: 47:[76, 87], Operations: ['85-61=24', '63+24=87']
Exploring Operation: 76+87=163, Resulting Numbers: [163]
163,47 unequal: No Solution
Exploring Operation: 76*87=6612, Resulting Numbers: [6612]
6612,47 unequal: No Solution
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,47 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: 47:[63, 85, 15], Operations: ['76-61=15']
Exploring Operation: 85-15=70, Resulting Numbers: [63, 70]
Generated Node #0,1,0: 47:[63, 70] Operation: 85-15=70
Exploring Operation: 63+15=78, Resulting Numbers: [85, 78]
Generated Node #0,1,1: 47:[85, 78] Operation: 63+15=78
Exploring Operation: 63-15=48, Resulting Numbers: [85, 48]
Generated Node #0,1,2: 47:[85, 48] Operation: 63-15=48
Exploring Operation: 85-63=22, Resulting Numbers: [15, 22]
Generated Node #0,1,3: 47:[15, 22] Operation: 85-63=22
Exploring Operation: 85+15=100, Resulting Numbers: [63, 100]
Generated Node #0,1,4: 47:[63, 100] Operation: 85+15=100
Moving to Node #0,1,0
Current State: 47:[63, 70], Operations: ['76-61=15', '85-15=70']
Exploring Operation: 63*70=4410, Resulting Numbers: [4410]
4410,47 unequal: No Solution
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 63+70=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[85, 48], Operations: ['76-61=15', '63-15=48']
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 85*48=4080, Resulting Numbers: [4080]
4080,47 unequal: No Solution
Exploring Operation: 85+48=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[15, 22], Operations: ['76-61=15', '85-63=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,47 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[85, 78], Operations: ['76-61=15', '63+15=78']
Exploring Operation: 85*78=6630, Resulting Numbers: [6630]
6630,47 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 85+78=163, Resulting Numbers: [163]
163,47 unequal: No Solution
Moving to Node #0,1,4
Current State: 47:[63, 100], Operations: ['76-61=15', '85+15=100']
Exploring Operation: 100-63=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 63*100=6300, Resulting Numbers: [6300]
6300,47 unequal: No Solution
Exploring Operation: 63+100=163, Resulting Numbers: [163]
163,47 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: 47:[61, 85, 13], Operations: ['76-63=13']
Exploring Operation: 85-61=24, Resulting Numbers: [13, 24]
Generated Node #0,2,0: 47:[13, 24] Operation: 85-61=24
Exploring Operation: 61-13=48, Resulting Numbers: [85, 48]
Generated Node #0,2,1: 47:[85, 48] Operation: 61-13=48
Exploring Operation: 85-13=72, Resulting Numbers: [61, 72]
Generated Node #0,2,2: 47:[61, 72] Operation: 85-13=72
Exploring Operation: 85+13=98, Resulting Numbers: [61, 98]
Generated Node #0,2,3: 47:[61, 98] Operation: 85+13=98
Exploring Operation: 61+13=74, Resulting Numbers: [85, 74]
Generated Node #0,2,4: 47:[85, 74] Operation: 61+13=74
Moving to Node #0,2,1
Current State: 47:[85, 48], Operations: ['76-63=13', '61-13=48']
Exploring Operation: 85+48=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Exploring Operation: 85*48=4080, Resulting Numbers: [4080]
4080,47 unequal: No Solution
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[61, 72], Operations: ['76-63=13', '85-13=72']
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 61*72=4392, Resulting Numbers: [4392]
4392,47 unequal: No Solution
Exploring Operation: 61+72=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[13, 24], Operations: ['76-63=13', '85-61=24']
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,47 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[61, 98], Operations: ['76-63=13', '85+13=98']
Exploring Operation: 61*98=5978, Resulting Numbers: [5978]
5978,47 unequal: No Solution
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 61+98=159, Resulting Numbers: [159]
159,47 unequal: No Solution
Moving to Node #0,2,4
Current State: 47:[85, 74], Operations: ['76-63=13', '61+13=74']
Exploring Operation: 85*74=6290, Resulting Numbers: [6290]
6290,47 unequal: No Solution
Exploring Operation: 85+74=159, Resulting Numbers: [159]
159,47 unequal: No Solution
Exploring Operation: 85-74=11, Resulting Numbers: [11]
11,47 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 |
[
44,
34,
36,
10
] | 17 | [
"44-36=8",
"10-8=2",
"34/2=17"
] | Current State: 17:[44, 34, 36, 10], Operations: []
Exploring Operation: 44-36=8, Resulting Numbers: [34, 10, 8]
Generated Node #2: [34, 10, 8] from Operation: 44-36=8
Current State: 17:[34, 10, 8], Operations: ['44-36=8']
Exploring Operation: 10-8=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 10-8=2
Current State: 17:[34, 2], Operations: ['44-36=8', '10-8=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[44, 34, 36, 10], Operations: []
Exploring Operation: 44-36=8, Resulting Numbers: [34, 10, 8]
Generated Node #0,0: 17:[34, 10, 8] Operation: 44-36=8
Exploring Operation: 44-34=10, Resulting Numbers: [36, 10, 10]
Generated Node #0,1: 17:[36, 10, 10] Operation: 44-34=10
Exploring Operation: 36-34=2, Resulting Numbers: [44, 10, 2]
Generated Node #0,2: 17:[44, 10, 2] Operation: 36-34=2
Moving to Node #0,0
Current State: 17:[34, 10, 8], Operations: ['44-36=8']
Exploring Operation: 10+8=18, Resulting Numbers: [34, 18]
Generated Node #0,0,0: 17:[34, 18] Operation: 10+8=18
Exploring Operation: 34-10=24, Resulting Numbers: [8, 24]
Generated Node #0,0,1: 17:[8, 24] Operation: 34-10=24
Exploring Operation: 34-8=26, Resulting Numbers: [10, 26]
Generated Node #0,0,2: 17:[10, 26] Operation: 34-8=26
Moving to Node #0,1
Current State: 17:[36, 10, 10], Operations: ['44-34=10']
Exploring Operation: 10+10=20, Resulting Numbers: [36, 20]
Generated Node #0,1,0: 17:[36, 20] Operation: 10+10=20
Exploring Operation: 36-10=26, Resulting Numbers: [10, 26]
Generated Node #0,1,1: 17:[10, 26] Operation: 36-10=26
Exploring Operation: 36-10=26, Resulting Numbers: [10, 26]
Generated Node #0,1,2: 17:[10, 26] Operation: 36-10=26
Moving to Node #0,2
Current State: 17:[44, 10, 2], Operations: ['36-34=2']
Exploring Operation: 10*2=20, Resulting Numbers: [44, 20]
Generated Node #0,2,0: 17:[44, 20] Operation: 10*2=20
Exploring Operation: 44-10=34, Resulting Numbers: [2, 34]
Generated Node #0,2,1: 17:[2, 34] Operation: 44-10=34
Exploring Operation: 44/2=22, Resulting Numbers: [10, 22]
Generated Node #0,2,2: 17:[10, 22] Operation: 44/2=22
Moving to Node #0,2,2
Current State: 17:[10, 22], Operations: ['36-34=2', '44/2=22']
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,17 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[8, 24], Operations: ['44-36=8', '34-10=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[10, 26], Operations: ['44-36=8', '34-8=26']
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,17 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[10, 26], Operations: ['44-34=10', '36-10=26']
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,17 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[10, 26], Operations: ['44-34=10', '36-10=26']
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,17 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[34, 18], Operations: ['44-36=8', '10+8=18']
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,17 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[36, 20], Operations: ['44-34=10', '10+10=20']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[44, 20], Operations: ['36-34=2', '10*2=20']
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[2, 34], Operations: ['36-34=2', '44-10=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[44, 34, 36, 10], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [44, 10, 2]
Generated Node #0,2: 17:[44, 10, 2] Operation: 36-34=2
Moving to Node #0,2
Current State: 17:[44, 10, 2], Operations: ['36-34=2']
Exploring Operation: 44-10=34, Resulting Numbers: [2, 34]
Generated Node #0,2,1: 17:[2, 34] Operation: 44-10=34
Moving to Node #0,2,1
Current State: 17:[2, 34], Operations: ['36-34=2', '44-10=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.96441 | hs_3 | sum_heuristic |
[
39,
39,
60,
74
] | 60 | [
"39-39=0",
"74*0=0",
"60+0=60"
] | Current State: 60:[39, 39, 60, 74], Operations: []
Exploring Operation: 39-39=0, Resulting Numbers: [60, 74, 0]
Generated Node #2: [60, 74, 0] from Operation: 39-39=0
Current State: 60:[60, 74, 0], Operations: ['39-39=0']
Exploring Operation: 74*0=0, Resulting Numbers: [60, 0]
Generated Node #3: [60, 0] from Operation: 74*0=0
Current State: 60:[60, 0], Operations: ['39-39=0', '74*0=0']
Exploring Operation: 60+0=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[39, 39, 60, 74], Operations: []
Exploring Operation: 74-39=35, Resulting Numbers: [39, 60, 35]
Generated Node #0,0: 60:[39, 60, 35] Operation: 74-39=35
Moving to Node #0,0
Current State: 60:[39, 60, 35], Operations: ['74-39=35']
Exploring Operation: 39-35=4, Resulting Numbers: [60, 4]
Generated Node #0,0,0: 60:[60, 4] Operation: 39-35=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[60, 4], Operations: ['74-39=35', '39-35=4']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,60 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 |
[
80,
2,
64,
58
] | 20 | [
"80-58=22",
"2*22=44",
"64-44=20"
] | Current State: 20:[80, 2, 64, 58], Operations: []
Exploring Operation: 80-58=22, Resulting Numbers: [2, 64, 22]
Generated Node #2: [2, 64, 22] from Operation: 80-58=22
Current State: 20:[2, 64, 22], Operations: ['80-58=22']
Exploring Operation: 2*22=44, Resulting Numbers: [64, 44]
Generated Node #3: [64, 44] from Operation: 2*22=44
Current State: 20:[64, 44], Operations: ['80-58=22', '2*22=44']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[80, 2, 64, 58], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [80, 2, 6]
Generated Node #0,0: 20:[80, 2, 6] Operation: 64-58=6
Exploring Operation: 80-64=16, Resulting Numbers: [2, 58, 16]
Generated Node #0,1: 20:[2, 58, 16] Operation: 80-64=16
Exploring Operation: 80-58=22, Resulting Numbers: [2, 64, 22]
Generated Node #0,2: 20:[2, 64, 22] Operation: 80-58=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[2, 58, 16], Operations: ['80-64=16']
Exploring Operation: 58-16=42, Resulting Numbers: [2, 42]
Generated Node #0,1,0: 20:[2, 42] Operation: 58-16=42
Exploring Operation: 58/2=29, Resulting Numbers: [16, 29]
Generated Node #0,1,1: 20:[16, 29] Operation: 58/2=29
Exploring Operation: 58-2=56, Resulting Numbers: [16, 56]
Generated Node #0,1,2: 20:[16, 56] Operation: 58-2=56
Moving to Node #0,1,1
Current State: 20:[16, 29], Operations: ['80-64=16', '58/2=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[2, 42], Operations: ['80-64=16', '58-16=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[16, 56], Operations: ['80-64=16', '58-2=56']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,20 unequal: No Solution
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,20 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: 20:[2, 64, 22], Operations: ['80-58=22']
Exploring Operation: 64-22=42, Resulting Numbers: [2, 42]
Generated Node #0,2,0: 20:[2, 42] Operation: 64-22=42
Exploring Operation: 64/2=32, Resulting Numbers: [22, 32]
Generated Node #0,2,1: 20:[22, 32] Operation: 64/2=32
Exploring Operation: 64-2=62, Resulting Numbers: [22, 62]
Generated Node #0,2,2: 20:[22, 62] Operation: 64-2=62
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[22, 32], Operations: ['80-58=22', '64/2=32']
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,20 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,20 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: 20:[2, 42], Operations: ['80-58=22', '64-22=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,20 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: 20:[22, 62], Operations: ['80-58=22', '64-2=62']
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 22+62=84, Resulting Numbers: [84]
84,20 unequal: No Solution
Exploring Operation: 22*62=1364, Resulting Numbers: [1364]
1364,20 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: 20:[80, 2, 6], Operations: ['64-58=6']
Exploring Operation: 80-2=78, Resulting Numbers: [6, 78]
Generated Node #0,0,0: 20:[6, 78] Operation: 80-2=78
Exploring Operation: 80-6=74, Resulting Numbers: [2, 74]
Generated Node #0,0,1: 20:[2, 74] Operation: 80-6=74
Exploring Operation: 80/2=40, Resulting Numbers: [6, 40]
Generated Node #0,0,2: 20:[6, 40] Operation: 80/2=40
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[6, 40], Operations: ['64-58=6', '80/2=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,20 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: 20:[2, 74], Operations: ['64-58=6', '80-6=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,20 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,20 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: 20:[6, 78], Operations: ['64-58=6', '80-2=78']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,20 unequal: No Solution
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,20 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,20 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 |
[
75,
3,
7,
44
] | 62 | [
"75/3=25",
"44-7=37",
"25+37=62"
] | Current State: 62:[75, 3, 7, 44], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [7, 44, 25]
Generated Node #2: [7, 44, 25] from Operation: 75/3=25
Current State: 62:[7, 44, 25], Operations: ['75/3=25']
Exploring Operation: 44-7=37, Resulting Numbers: [25, 37]
Generated Node #3: [25, 37] from Operation: 44-7=37
Current State: 62:[25, 37], Operations: ['75/3=25', '44-7=37']
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[75, 3, 7, 44], Operations: []
Exploring Operation: 75-44=31, Resulting Numbers: [3, 7, 31]
Generated Node #0,0: 62:[3, 7, 31] Operation: 75-44=31
Exploring Operation: 75-7=68, Resulting Numbers: [3, 44, 68]
Generated Node #0,1: 62:[3, 44, 68] Operation: 75-7=68
Moving to Node #0,0
Current State: 62:[3, 7, 31], Operations: ['75-44=31']
Exploring Operation: 7-3=4, Resulting Numbers: [31, 4]
Generated Node #0,0,0: 62:[31, 4] Operation: 7-3=4
Exploring Operation: 3+7=10, Resulting Numbers: [31, 10]
Generated Node #0,0,1: 62:[31, 10] Operation: 3+7=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[31, 4], Operations: ['75-44=31', '7-3=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,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,1
Current State: 62:[31, 10], Operations: ['75-44=31', '3+7=10']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,62 unequal: No Solution
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,62 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: 62:[3, 44, 68], Operations: ['75-7=68']
Exploring Operation: 68-44=24, Resulting Numbers: [3, 24]
Generated Node #0,1,0: 62:[3, 24] Operation: 68-44=24
Exploring Operation: 44-3=41, Resulting Numbers: [68, 41]
Generated Node #0,1,1: 62:[68, 41] Operation: 44-3=41
Moving to Node #0,1,0
Current State: 62:[3, 24], Operations: ['75-7=68', '68-44=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[68, 41], Operations: ['75-7=68', '44-3=41']
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,62 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,62 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
14,
3,
75,
49
] | 60 | [
"49-14=35",
"75/3=25",
"35+25=60"
] | Current State: 60:[14, 3, 75, 49], Operations: []
Exploring Operation: 49-14=35, Resulting Numbers: [3, 75, 35]
Generated Node #2: [3, 75, 35] from Operation: 49-14=35
Current State: 60:[3, 75, 35], Operations: ['49-14=35']
Exploring Operation: 75/3=25, Resulting Numbers: [35, 25]
Generated Node #3: [35, 25] from Operation: 75/3=25
Current State: 60:[35, 25], Operations: ['49-14=35', '75/3=25']
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[14, 3, 75, 49], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [14, 3, 26]
Generated Node #0,0: 60:[14, 3, 26] Operation: 75-49=26
Exploring Operation: 75-14=61, Resulting Numbers: [3, 49, 61]
Generated Node #0,1: 60:[3, 49, 61] Operation: 75-14=61
Exploring Operation: 75/3=25, Resulting Numbers: [14, 49, 25]
Generated Node #0,2: 60:[14, 49, 25] Operation: 75/3=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[14, 3, 26], Operations: ['75-49=26']
Exploring Operation: 26-14=12, Resulting Numbers: [3, 12]
Generated Node #0,0,0: 60:[3, 12] Operation: 26-14=12
Exploring Operation: 26-3=23, Resulting Numbers: [14, 23]
Generated Node #0,0,1: 60:[14, 23] Operation: 26-3=23
Exploring Operation: 3+26=29, Resulting Numbers: [14, 29]
Generated Node #0,0,2: 60:[14, 29] Operation: 3+26=29
Moving to Node #0,0,0
Current State: 60:[3, 12], Operations: ['75-49=26', '26-14=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[14, 29], Operations: ['75-49=26', '3+26=29']
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,60 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 14*29=406, Resulting Numbers: [406]
406,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[14, 23], Operations: ['75-49=26', '26-3=23']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 14*23=322, Resulting Numbers: [322]
322,60 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: 60:[3, 49, 61], Operations: ['75-14=61']
Exploring Operation: 61-49=12, Resulting Numbers: [3, 12]
Generated Node #0,1,0: 60:[3, 12] Operation: 61-49=12
Exploring Operation: 61-3=58, Resulting Numbers: [49, 58]
Generated Node #0,1,1: 60:[49, 58] Operation: 61-3=58
Exploring Operation: 3+49=52, Resulting Numbers: [61, 52]
Generated Node #0,1,2: 60:[61, 52] Operation: 3+49=52
Moving to Node #0,1,0
Current State: 60:[3, 12], Operations: ['75-14=61', '61-49=12']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[61, 52], Operations: ['75-14=61', '3+49=52']
Exploring Operation: 61*52=3172, Resulting Numbers: [3172]
3172,60 unequal: No Solution
Exploring Operation: 61+52=113, Resulting Numbers: [113]
113,60 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[49, 58], Operations: ['75-14=61', '61-3=58']
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,60 unequal: No Solution
Exploring Operation: 49*58=2842, Resulting Numbers: [2842]
2842,60 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: 60:[14, 49, 25], Operations: ['75/3=25']
Exploring Operation: 49-25=24, Resulting Numbers: [14, 24]
Generated Node #0,2,0: 60:[14, 24] Operation: 49-25=24
Exploring Operation: 49-14=35, Resulting Numbers: [25, 35]
Generated Node #0,2,1: 60:[25, 35] Operation: 49-14=35
Exploring Operation: 14+49=63, Resulting Numbers: [25, 63]
Generated Node #0,2,2: 60:[25, 63] Operation: 14+49=63
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[14, 24], Operations: ['75/3=25', '49-25=24']
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,60 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,60 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: 60:[25, 63], Operations: ['75/3=25', '14+49=63']
Exploring Operation: 25*63=1575, Resulting Numbers: [1575]
1575,60 unequal: No Solution
Exploring Operation: 25+63=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,60 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: 60:[25, 35], Operations: ['75/3=25', '49-14=35']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[14, 3, 75, 49], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [14, 49, 25]
Generated Node #0,2: 60:[14, 49, 25] Operation: 75/3=25
Moving to Node #0,2
Current State: 60:[14, 49, 25], Operations: ['75/3=25']
Exploring Operation: 49-14=35, Resulting Numbers: [25, 35]
Generated Node #0,2,1: 60:[25, 35] Operation: 49-14=35
Moving to Node #0,2,1
Current State: 60:[25, 35], Operations: ['75/3=25', '49-14=35']
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_3 | sum_heuristic |
[
77,
84,
60,
76
] | 23 | [
"84-77=7",
"76-60=16",
"7+16=23"
] | Current State: 23:[77, 84, 60, 76], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [60, 76, 7]
Generated Node #2: [60, 76, 7] from Operation: 84-77=7
Current State: 23:[60, 76, 7], Operations: ['84-77=7']
Exploring Operation: 76-60=16, Resulting Numbers: [7, 16]
Generated Node #3: [7, 16] from Operation: 76-60=16
Current State: 23:[7, 16], Operations: ['84-77=7', '76-60=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[77, 84, 60, 76], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [60, 76, 7]
Generated Node #0,0: 23:[60, 76, 7] Operation: 84-77=7
Exploring Operation: 84-60=24, Resulting Numbers: [77, 76, 24]
Generated Node #0,1: 23:[77, 76, 24] Operation: 84-60=24
Exploring Operation: 84-76=8, Resulting Numbers: [77, 60, 8]
Generated Node #0,2: 23:[77, 60, 8] Operation: 84-76=8
Moving to Node #0,0
Current State: 23:[60, 76, 7], Operations: ['84-77=7']
Exploring Operation: 76-7=69, Resulting Numbers: [60, 69]
Generated Node #0,0,0: 23:[60, 69] Operation: 76-7=69
Exploring Operation: 60-7=53, Resulting Numbers: [76, 53]
Generated Node #0,0,1: 23:[76, 53] Operation: 60-7=53
Exploring Operation: 76-60=16, Resulting Numbers: [7, 16]
Generated Node #0,0,2: 23:[7, 16] Operation: 76-60=16
Moving to Node #0,2
Current State: 23:[77, 60, 8], Operations: ['84-76=8']
Exploring Operation: 60-8=52, Resulting Numbers: [77, 52]
Generated Node #0,2,0: 23:[77, 52] Operation: 60-8=52
Exploring Operation: 77-60=17, Resulting Numbers: [8, 17]
Generated Node #0,2,1: 23:[8, 17] Operation: 77-60=17
Exploring Operation: 77-8=69, Resulting Numbers: [60, 69]
Generated Node #0,2,2: 23:[60, 69] Operation: 77-8=69
Moving to Node #0,1
Current State: 23:[77, 76, 24], Operations: ['84-60=24']
Exploring Operation: 76-24=52, Resulting Numbers: [77, 52]
Generated Node #0,1,0: 23:[77, 52] Operation: 76-24=52
Exploring Operation: 77-24=53, Resulting Numbers: [76, 53]
Generated Node #0,1,1: 23:[76, 53] Operation: 77-24=53
Exploring Operation: 77-76=1, Resulting Numbers: [24, 1]
Generated Node #0,1,2: 23:[24, 1] Operation: 77-76=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[24, 1], Operations: ['84-60=24', '77-76=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[77, 84, 60, 76], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [77, 76, 24]
Generated Node #0,1: 23:[77, 76, 24] Operation: 84-60=24
Moving to Node #0,1
Current State: 23:[77, 76, 24], Operations: ['84-60=24']
Exploring Operation: 77-76=1, Resulting Numbers: [24, 1]
Generated Node #0,1,2: 23:[24, 1] Operation: 77-76=1
Moving to Node #0,1,2
Current State: 23:[24, 1], Operations: ['84-60=24', '77-76=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
47,
45,
64,
72
] | 84 | [
"47+45=92",
"72-64=8",
"92-8=84"
] | Current State: 84:[47, 45, 64, 72], Operations: []
Exploring Operation: 47+45=92, Resulting Numbers: [64, 72, 92]
Generated Node #2: [64, 72, 92] from Operation: 47+45=92
Current State: 84:[64, 72, 92], Operations: ['47+45=92']
Exploring Operation: 72-64=8, Resulting Numbers: [92, 8]
Generated Node #3: [92, 8] from Operation: 72-64=8
Current State: 84:[92, 8], Operations: ['47+45=92', '72-64=8']
Exploring Operation: 92-8=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[47, 45, 64, 72], Operations: []
Exploring Operation: 72-47=25, Resulting Numbers: [45, 64, 25]
Generated Node #0,0: 84:[45, 64, 25] Operation: 72-47=25
Exploring Operation: 64-45=19, Resulting Numbers: [47, 72, 19]
Generated Node #0,1: 84:[47, 72, 19] Operation: 64-45=19
Exploring Operation: 64-47=17, Resulting Numbers: [45, 72, 17]
Generated Node #0,2: 84:[45, 72, 17] Operation: 64-47=17
Exploring Operation: 72-64=8, Resulting Numbers: [47, 45, 8]
Generated Node #0,3: 84:[47, 45, 8] Operation: 72-64=8
Exploring Operation: 72-45=27, Resulting Numbers: [47, 64, 27]
Generated Node #0,4: 84:[47, 64, 27] Operation: 72-45=27
Moving to Node #0,3
Current State: 84:[47, 45, 8], Operations: ['72-64=8']
Exploring Operation: 45-8=37, Resulting Numbers: [47, 37]
Generated Node #0,3,0: 84:[47, 37] Operation: 45-8=37
Exploring Operation: 47-45=2, Resulting Numbers: [8, 2]
Generated Node #0,3,1: 84:[8, 2] Operation: 47-45=2
Exploring Operation: 47+45=92, Resulting Numbers: [8, 92]
Generated Node #0,3,2: 84:[8, 92] Operation: 47+45=92
Exploring Operation: 47+8=55, Resulting Numbers: [45, 55]
Generated Node #0,3,3: 84:[45, 55] Operation: 47+8=55
Exploring Operation: 47-8=39, Resulting Numbers: [45, 39]
Generated Node #0,3,4: 84:[45, 39] Operation: 47-8=39
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 84:[8, 2], Operations: ['72-64=8', '47-45=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,84 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: 84:[45, 39], Operations: ['72-64=8', '47-8=39']
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[47, 45, 64, 72], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [47, 45, 8]
Generated Node #0,3: 84:[47, 45, 8] Operation: 72-64=8
Moving to Node #0,3
Current State: 84:[47, 45, 8], Operations: ['72-64=8']
Exploring Operation: 47-8=39, Resulting Numbers: [45, 39]
Generated Node #0,3,4: 84:[45, 39] Operation: 47-8=39
Moving to Node #0,3,4
Current State: 84:[45, 39], Operations: ['72-64=8', '47-8=39']
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
16,
11,
56,
44
] | 73 | [
"16+11=27",
"56+44=100",
"100-27=73"
] | Current State: 73:[16, 11, 56, 44], Operations: []
Exploring Operation: 16+11=27, Resulting Numbers: [56, 44, 27]
Generated Node #2: [56, 44, 27] from Operation: 16+11=27
Current State: 73:[56, 44, 27], Operations: ['16+11=27']
Exploring Operation: 56+44=100, Resulting Numbers: [27, 100]
Generated Node #3: [27, 100] from Operation: 56+44=100
Current State: 73:[27, 100], Operations: ['16+11=27', '56+44=100']
Exploring Operation: 100-27=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[16, 11, 56, 44], Operations: []
Exploring Operation: 16+56=72, Resulting Numbers: [11, 44, 72]
Generated Node #0,0: 73:[11, 44, 72] Operation: 16+56=72
Exploring Operation: 16+11=27, Resulting Numbers: [56, 44, 27]
Generated Node #0,1: 73:[56, 44, 27] Operation: 16+11=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[11, 44, 72], Operations: ['16+56=72']
Exploring Operation: 11+44=55, Resulting Numbers: [72, 55]
Generated Node #0,0,0: 73:[72, 55] Operation: 11+44=55
Exploring Operation: 11+72=83, Resulting Numbers: [44, 83]
Generated Node #0,0,1: 73:[44, 83] Operation: 11+72=83
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[72, 55], Operations: ['16+56=72', '11+44=55']
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 72+55=127, Resulting Numbers: [127]
127,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:[44, 83], Operations: ['16+56=72', '11+72=83']
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 44+83=127, Resulting Numbers: [127]
127,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,1
Current State: 73:[56, 44, 27], Operations: ['16+11=27']
Exploring Operation: 56+27=83, Resulting Numbers: [44, 83]
Generated Node #0,1,0: 73:[44, 83] Operation: 56+27=83
Exploring Operation: 44+27=71, Resulting Numbers: [56, 71]
Generated Node #0,1,1: 73:[56, 71] Operation: 44+27=71
Moving to Node #0,1,1
Current State: 73:[56, 71], Operations: ['16+11=27', '44+27=71']
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[44, 83], Operations: ['16+11=27', '56+27=83']
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 44+83=127, Resulting Numbers: [127]
127,73 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 |
[
11,
77,
98,
34
] | 65 | [
"98+34=132",
"132/11=12",
"77-12=65"
] | Current State: 65:[11, 77, 98, 34], Operations: []
Exploring Operation: 98+34=132, Resulting Numbers: [11, 77, 132]
Generated Node #2: [11, 77, 132] from Operation: 98+34=132
Current State: 65:[11, 77, 132], Operations: ['98+34=132']
Exploring Operation: 132/11=12, Resulting Numbers: [77, 12]
Generated Node #3: [77, 12] from Operation: 132/11=12
Current State: 65:[77, 12], Operations: ['98+34=132', '132/11=12']
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[11, 77, 98, 34], Operations: []
Exploring Operation: 98-34=64, Resulting Numbers: [11, 77, 64]
Generated Node #0,0: 65:[11, 77, 64] Operation: 98-34=64
Exploring Operation: 77-11=66, Resulting Numbers: [98, 34, 66]
Generated Node #0,1: 65:[98, 34, 66] Operation: 77-11=66
Exploring Operation: 98-77=21, Resulting Numbers: [11, 34, 21]
Generated Node #0,2: 65:[11, 34, 21] Operation: 98-77=21
Moving to Node #0,0
Current State: 65:[11, 77, 64], Operations: ['98-34=64']
Exploring Operation: 77/11=7, Resulting Numbers: [64, 7]
Generated Node #0,0,0: 65:[64, 7] Operation: 77/11=7
Exploring Operation: 77-11=66, Resulting Numbers: [64, 66]
Generated Node #0,0,1: 65:[64, 66] Operation: 77-11=66
Exploring Operation: 77-64=13, Resulting Numbers: [11, 13]
Generated Node #0,0,2: 65:[11, 13] Operation: 77-64=13
Moving to Node #0,2
Current State: 65:[11, 34, 21], Operations: ['98-77=21']
Exploring Operation: 34-21=13, Resulting Numbers: [11, 13]
Generated Node #0,2,0: 65:[11, 13] Operation: 34-21=13
Exploring Operation: 34-11=23, Resulting Numbers: [21, 23]
Generated Node #0,2,1: 65:[21, 23] Operation: 34-11=23
Exploring Operation: 34+21=55, Resulting Numbers: [11, 55]
Generated Node #0,2,2: 65:[11, 55] Operation: 34+21=55
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[11, 13], Operations: ['98-77=21', '34-21=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,65 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: 65:[11, 55], Operations: ['98-77=21', '34+21=55']
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,65 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: 65:[21, 23], Operations: ['98-77=21', '34-11=23']
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,65 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,65 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: 65:[98, 34, 66], Operations: ['77-11=66']
Exploring Operation: 98-34=64, Resulting Numbers: [66, 64]
Generated Node #0,1,0: 65:[66, 64] Operation: 98-34=64
Exploring Operation: 98-66=32, Resulting Numbers: [34, 32]
Generated Node #0,1,1: 65:[34, 32] Operation: 98-66=32
Exploring Operation: 66-34=32, Resulting Numbers: [98, 32]
Generated Node #0,1,2: 65:[98, 32] Operation: 66-34=32
Moving to Node #0,0,1
Current State: 65:[64, 66], Operations: ['98-34=64', '77-11=66']
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 64*66=4224, Resulting Numbers: [4224]
4224,65 unequal: No Solution
Exploring Operation: 64+66=130, Resulting Numbers: [130]
130,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[11, 13], Operations: ['98-34=64', '77-64=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[66, 64], Operations: ['77-11=66', '98-34=64']
Exploring Operation: 66+64=130, Resulting Numbers: [130]
130,65 unequal: No Solution
Exploring Operation: 66*64=4224, Resulting Numbers: [4224]
4224,65 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[64, 7], Operations: ['98-34=64', '77/11=7']
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,65 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[34, 32], Operations: ['77-11=66', '98-66=32']
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,65 unequal: No Solution
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[98, 32], Operations: ['77-11=66', '66-34=32']
Exploring Operation: 98-32=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 98*32=3136, Resulting Numbers: [3136]
3136,65 unequal: No Solution
Exploring Operation: 98+32=130, Resulting Numbers: [130]
130,65 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
8,
30,
44
] | 20 | [
"30/10=3",
"8*3=24",
"44-24=20"
] | Current State: 20:[10, 8, 30, 44], Operations: []
Exploring Operation: 30/10=3, Resulting Numbers: [8, 44, 3]
Generated Node #2: [8, 44, 3] from Operation: 30/10=3
Current State: 20:[8, 44, 3], Operations: ['30/10=3']
Exploring Operation: 8*3=24, Resulting Numbers: [44, 24]
Generated Node #3: [44, 24] from Operation: 8*3=24
Current State: 20:[44, 24], Operations: ['30/10=3', '8*3=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[10, 8, 30, 44], Operations: []
Exploring Operation: 44-10=34, Resulting Numbers: [8, 30, 34]
Generated Node #0,0: 20:[8, 30, 34] Operation: 44-10=34
Exploring Operation: 30-10=20, Resulting Numbers: [8, 44, 20]
Generated Node #0,1: 20:[8, 44, 20] Operation: 30-10=20
Exploring Operation: 30-8=22, Resulting Numbers: [10, 44, 22]
Generated Node #0,2: 20:[10, 44, 22] Operation: 30-8=22
Exploring Operation: 44-30=14, Resulting Numbers: [10, 8, 14]
Generated Node #0,3: 20:[10, 8, 14] Operation: 44-30=14
Exploring Operation: 44-8=36, Resulting Numbers: [10, 30, 36]
Generated Node #0,4: 20:[10, 30, 36] Operation: 44-8=36
Moving to Node #0,3
Current State: 20:[10, 8, 14], Operations: ['44-30=14']
Exploring Operation: 14-8=6, Resulting Numbers: [10, 6]
Generated Node #0,3,0: 20:[10, 6] Operation: 14-8=6
Exploring Operation: 14-10=4, Resulting Numbers: [8, 4]
Generated Node #0,3,1: 20:[8, 4] Operation: 14-10=4
Exploring Operation: 8+14=22, Resulting Numbers: [10, 22]
Generated Node #0,3,2: 20:[10, 22] Operation: 8+14=22
Exploring Operation: 10+8=18, Resulting Numbers: [14, 18]
Generated Node #0,3,3: 20:[14, 18] Operation: 10+8=18
Exploring Operation: 10-8=2, Resulting Numbers: [14, 2]
Generated Node #0,3,4: 20:[14, 2] Operation: 10-8=2
Moving to Node #0,1
Current State: 20:[8, 44, 20], Operations: ['30-10=20']
Exploring Operation: 20-8=12, Resulting Numbers: [44, 12]
Generated Node #0,1,0: 20:[44, 12] Operation: 20-8=12
Exploring Operation: 44-20=24, Resulting Numbers: [8, 24]
Generated Node #0,1,1: 20:[8, 24] Operation: 44-20=24
Exploring Operation: 8+20=28, Resulting Numbers: [44, 28]
Generated Node #0,1,2: 20:[44, 28] Operation: 8+20=28
Exploring Operation: 44-8=36, Resulting Numbers: [20, 36]
Generated Node #0,1,3: 20:[20, 36] Operation: 44-8=36
Exploring Operation: 8+44=52, Resulting Numbers: [20, 52]
Generated Node #0,1,4: 20:[20, 52] Operation: 8+44=52
Moving to Node #0,4
Current State: 20:[10, 30, 36], Operations: ['44-8=36']
Exploring Operation: 36-30=6, Resulting Numbers: [10, 6]
Generated Node #0,4,0: 20:[10, 6] Operation: 36-30=6
Exploring Operation: 30/10=3, Resulting Numbers: [36, 3]
Generated Node #0,4,1: 20:[36, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [36, 20]
Generated Node #0,4,2: 20:[36, 20] Operation: 30-10=20
Exploring Operation: 36-10=26, Resulting Numbers: [30, 26]
Generated Node #0,4,3: 20:[30, 26] Operation: 36-10=26
Exploring Operation: 10+30=40, Resulting Numbers: [36, 40]
Generated Node #0,4,4: 20:[36, 40] Operation: 10+30=40
Moving to Node #0,0
Current State: 20:[8, 30, 34], Operations: ['44-10=34']
Exploring Operation: 34-30=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 20:[8, 4] Operation: 34-30=4
Exploring Operation: 30-8=22, Resulting Numbers: [34, 22]
Generated Node #0,0,1: 20:[34, 22] Operation: 30-8=22
Exploring Operation: 8+34=42, Resulting Numbers: [30, 42]
Generated Node #0,0,2: 20:[30, 42] Operation: 8+34=42
Exploring Operation: 34-8=26, Resulting Numbers: [30, 26]
Generated Node #0,0,3: 20:[30, 26] Operation: 34-8=26
Exploring Operation: 8+30=38, Resulting Numbers: [34, 38]
Generated Node #0,0,4: 20:[34, 38] Operation: 8+30=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[8, 4], Operations: ['44-10=34', '34-30=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,20 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: 20:[34, 22], Operations: ['44-10=34', '30-8=22']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,20 unequal: No Solution
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,20 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: 20:[30, 26], Operations: ['44-10=34', '34-8=26']
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,20 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,20 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,20 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: 20:[30, 42], Operations: ['44-10=34', '8+34=42']
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,20 unequal: No Solution
Exploring Operation: 30*42=1260, Resulting Numbers: [1260]
1260,20 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: 20:[34, 38], Operations: ['44-10=34', '8+30=38']
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,20 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,20 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: 20:[10, 44, 22], Operations: ['30-8=22']
Exploring Operation: 44/22=2, Resulting Numbers: [10, 2]
Generated Node #0,2,0: 20:[10, 2] Operation: 44/22=2
Exploring Operation: 22-10=12, Resulting Numbers: [44, 12]
Generated Node #0,2,1: 20:[44, 12] Operation: 22-10=12
Exploring Operation: 44-10=34, Resulting Numbers: [22, 34]
Generated Node #0,2,2: 20:[22, 34] Operation: 44-10=34
Exploring Operation: 10+44=54, Resulting Numbers: [22, 54]
Generated Node #0,2,3: 20:[22, 54] Operation: 10+44=54
Exploring Operation: 44-22=22, Resulting Numbers: [10, 22]
Generated Node #0,2,4: 20:[10, 22] Operation: 44-22=22
Moving to Node #0,2,0
Current State: 20:[10, 2], Operations: ['30-8=22', '44/22=2']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[10, 8, 30, 44], Operations: []
Exploring Operation: 30-8=22, Resulting Numbers: [10, 44, 22]
Generated Node #0,2: 20:[10, 44, 22] Operation: 30-8=22
Moving to Node #0,2
Current State: 20:[10, 44, 22], Operations: ['30-8=22']
Exploring Operation: 44/22=2, Resulting Numbers: [10, 2]
Generated Node #0,2,0: 20:[10, 2] Operation: 44/22=2
Moving to Node #0,2,0
Current State: 20:[10, 2], Operations: ['30-8=22', '44/22=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.953125 | hs_5 | sum_heuristic |
[
87,
51,
45,
48
] | 22 | [
"48-45=3",
"87/3=29",
"51-29=22"
] | Current State: 22:[87, 51, 45, 48], Operations: []
Exploring Operation: 48-45=3, Resulting Numbers: [87, 51, 3]
Generated Node #2: [87, 51, 3] from Operation: 48-45=3
Current State: 22:[87, 51, 3], Operations: ['48-45=3']
Exploring Operation: 87/3=29, Resulting Numbers: [51, 29]
Generated Node #3: [51, 29] from Operation: 87/3=29
Current State: 22:[51, 29], Operations: ['48-45=3', '87/3=29']
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[87, 51, 45, 48], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [87, 45, 3]
Generated Node #0,0: 22:[87, 45, 3] Operation: 51-48=3
Exploring Operation: 87-45=42, Resulting Numbers: [51, 48, 42]
Generated Node #0,1: 22:[51, 48, 42] Operation: 87-45=42
Exploring Operation: 87-51=36, Resulting Numbers: [45, 48, 36]
Generated Node #0,2: 22:[45, 48, 36] Operation: 87-51=36
Exploring Operation: 87-48=39, Resulting Numbers: [51, 45, 39]
Generated Node #0,3: 22:[51, 45, 39] Operation: 87-48=39
Moving to Node #0,2
Current State: 22:[45, 48, 36], Operations: ['87-51=36']
Exploring Operation: 48-45=3, Resulting Numbers: [36, 3]
Generated Node #0,2,0: 22:[36, 3] Operation: 48-45=3
Exploring Operation: 45+48=93, Resulting Numbers: [36, 93]
Generated Node #0,2,1: 22:[36, 93] Operation: 45+48=93
Exploring Operation: 45-36=9, Resulting Numbers: [48, 9]
Generated Node #0,2,2: 22:[48, 9] Operation: 45-36=9
Exploring Operation: 48-36=12, Resulting Numbers: [45, 12]
Generated Node #0,2,3: 22:[45, 12] Operation: 48-36=12
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[36, 3], Operations: ['87-51=36', '48-45=3']
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,22 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,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,2,3
Current State: 22:[45, 12], Operations: ['87-51=36', '48-36=12']
Exploring Operation: 45*12=540, Resulting Numbers: [540]
540,22 unequal: No Solution
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,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,2,2
Current State: 22:[48, 9], Operations: ['87-51=36', '45-36=9']
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,22 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,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,2,1
Current State: 22:[36, 93], Operations: ['87-51=36', '45+48=93']
Exploring Operation: 36*93=3348, Resulting Numbers: [3348]
3348,22 unequal: No Solution
Exploring Operation: 36+93=129, Resulting Numbers: [129]
129,22 unequal: No Solution
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,22 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: 22:[51, 45, 39], Operations: ['87-48=39']
Exploring Operation: 51+45=96, Resulting Numbers: [39, 96]
Generated Node #0,3,0: 22:[39, 96] Operation: 51+45=96
Exploring Operation: 51-39=12, Resulting Numbers: [45, 12]
Generated Node #0,3,1: 22:[45, 12] Operation: 51-39=12
Exploring Operation: 45-39=6, Resulting Numbers: [51, 6]
Generated Node #0,3,2: 22:[51, 6] Operation: 45-39=6
Exploring Operation: 51-45=6, Resulting Numbers: [39, 6]
Generated Node #0,3,3: 22:[39, 6] Operation: 51-45=6
Moving to Node #0,1
Current State: 22:[51, 48, 42], Operations: ['87-45=42']
Exploring Operation: 48-42=6, Resulting Numbers: [51, 6]
Generated Node #0,1,0: 22:[51, 6] Operation: 48-42=6
Exploring Operation: 51-48=3, Resulting Numbers: [42, 3]
Generated Node #0,1,1: 22:[42, 3] Operation: 51-48=3
Exploring Operation: 51-42=9, Resulting Numbers: [48, 9]
Generated Node #0,1,2: 22:[48, 9] Operation: 51-42=9
Exploring Operation: 51+48=99, Resulting Numbers: [42, 99]
Generated Node #0,1,3: 22:[42, 99] Operation: 51+48=99
Moving to Node #0,0
Current State: 22:[87, 45, 3], Operations: ['51-48=3']
Exploring Operation: 45/3=15, Resulting Numbers: [87, 15]
Generated Node #0,0,0: 22:[87, 15] Operation: 45/3=15
Exploring Operation: 87-3=84, Resulting Numbers: [45, 84]
Generated Node #0,0,1: 22:[45, 84] Operation: 87-3=84
Exploring Operation: 87-45=42, Resulting Numbers: [3, 42]
Generated Node #0,0,2: 22:[3, 42] Operation: 87-45=42
Exploring Operation: 87/3=29, Resulting Numbers: [45, 29]
Generated Node #0,0,3: 22:[45, 29] Operation: 87/3=29
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[3, 42], Operations: ['51-48=3', '87-45=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 3*42=126, Resulting Numbers: [126]
126,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,3
Current State: 22:[45, 29], Operations: ['51-48=3', '87/3=29']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,22 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,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:[87, 15], Operations: ['51-48=3', '45/3=15']
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,22 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 87*15=1305, Resulting Numbers: [1305]
1305,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,1
Current State: 22:[45, 84], Operations: ['51-48=3', '87-3=84']
Exploring Operation: 45+84=129, Resulting Numbers: [129]
129,22 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 45*84=3780, Resulting Numbers: [3780]
3780,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 22:[39, 6], Operations: ['87-48=39', '51-45=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,22 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[42, 3], Operations: ['87-45=42', '51-48=3']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[45, 12], Operations: ['87-48=39', '51-39=12']
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 45*12=540, Resulting Numbers: [540]
540,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[48, 9], Operations: ['87-45=42', '51-42=9']
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,22 unequal: No Solution
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Moving to Node #0,3,2
Current State: 22:[51, 6], Operations: ['87-48=39', '45-39=6']
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,22 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[51, 6], Operations: ['87-45=42', '48-42=6']
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,22 unequal: No Solution
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Moving to Node #0,3,0
Current State: 22:[39, 96], Operations: ['87-48=39', '51+45=96']
Exploring Operation: 39+96=135, Resulting Numbers: [135]
135,22 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 39*96=3744, Resulting Numbers: [3744]
3744,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[42, 99], Operations: ['87-45=42', '51+48=99']
Exploring Operation: 42+99=141, Resulting Numbers: [141]
141,22 unequal: No Solution
Exploring Operation: 42*99=4158, Resulting Numbers: [4158]
4158,22 unequal: No Solution
Exploring Operation: 99-42=57, Resulting Numbers: [57]
57,22 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
67,
13,
49,
39
] | 63 | [
"49-39=10",
"13*10=130",
"130-67=63"
] | Current State: 63:[67, 13, 49, 39], Operations: []
Exploring Operation: 49-39=10, Resulting Numbers: [67, 13, 10]
Generated Node #2: [67, 13, 10] from Operation: 49-39=10
Current State: 63:[67, 13, 10], Operations: ['49-39=10']
Exploring Operation: 13*10=130, Resulting Numbers: [67, 130]
Generated Node #3: [67, 130] from Operation: 13*10=130
Current State: 63:[67, 130], Operations: ['49-39=10', '13*10=130']
Exploring Operation: 130-67=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[67, 13, 49, 39], Operations: []
Exploring Operation: 49-39=10, Resulting Numbers: [67, 13, 10]
Generated Node #0,0: 63:[67, 13, 10] Operation: 49-39=10
Exploring Operation: 13+49=62, Resulting Numbers: [67, 39, 62]
Generated Node #0,1: 63:[67, 39, 62] Operation: 13+49=62
Exploring Operation: 39/13=3, Resulting Numbers: [67, 49, 3]
Generated Node #0,2: 63:[67, 49, 3] Operation: 39/13=3
Moving to Node #0,0
Current State: 63:[67, 13, 10], Operations: ['49-39=10']
Exploring Operation: 67-13=54, Resulting Numbers: [10, 54]
Generated Node #0,0,0: 63:[10, 54] Operation: 67-13=54
Exploring Operation: 13-10=3, Resulting Numbers: [67, 3]
Generated Node #0,0,1: 63:[67, 3] Operation: 13-10=3
Exploring Operation: 13+10=23, Resulting Numbers: [67, 23]
Generated Node #0,0,2: 63:[67, 23] Operation: 13+10=23
Moving to Node #0,2
Current State: 63:[67, 49, 3], Operations: ['39/13=3']
Exploring Operation: 67-49=18, Resulting Numbers: [3, 18]
Generated Node #0,2,0: 63:[3, 18] Operation: 67-49=18
Exploring Operation: 49+3=52, Resulting Numbers: [67, 52]
Generated Node #0,2,1: 63:[67, 52] Operation: 49+3=52
Exploring Operation: 67-3=64, Resulting Numbers: [49, 64]
Generated Node #0,2,2: 63:[49, 64] Operation: 67-3=64
Moving to Node #0,1
Current State: 63:[67, 39, 62], Operations: ['13+49=62']
Exploring Operation: 67-62=5, Resulting Numbers: [39, 5]
Generated Node #0,1,0: 63:[39, 5] Operation: 67-62=5
Exploring Operation: 67-39=28, Resulting Numbers: [62, 28]
Generated Node #0,1,1: 63:[62, 28] Operation: 67-39=28
Exploring Operation: 62-39=23, Resulting Numbers: [67, 23]
Generated Node #0,1,2: 63:[67, 23] Operation: 62-39=23
Moving to Node #0,2,0
Current State: 63:[3, 18], Operations: ['39/13=3', '67-49=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[67, 3], Operations: ['49-39=10', '13-10=3']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,63 unequal: No Solution
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[67, 23], Operations: ['13+49=62', '62-39=23']
Exploring Operation: 67*23=1541, Resulting Numbers: [1541]
1541,63 unequal: No Solution
Exploring Operation: 67+23=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[67, 23], Operations: ['49-39=10', '13+10=23']
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,63 unequal: No Solution
Exploring Operation: 67*23=1541, Resulting Numbers: [1541]
1541,63 unequal: No Solution
Exploring Operation: 67+23=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[62, 28], Operations: ['13+49=62', '67-39=28']
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,63 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[10, 54], Operations: ['49-39=10', '67-13=54']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,63 unequal: No Solution
Exploring Operation: 10+54=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 10*54=540, Resulting Numbers: [540]
540,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[49, 64], Operations: ['39/13=3', '67-3=64']
Exploring Operation: 49+64=113, Resulting Numbers: [113]
113,63 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 49*64=3136, Resulting Numbers: [3136]
3136,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[67, 52], Operations: ['39/13=3', '49+3=52']
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,63 unequal: No Solution
Exploring Operation: 67*52=3484, Resulting Numbers: [3484]
3484,63 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[39, 5], Operations: ['13+49=62', '67-62=5']
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,63 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,63 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
69,
46,
14,
62
] | 52 | [
"69-62=7",
"14*7=98",
"98-46=52"
] | Current State: 52:[69, 46, 14, 62], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [46, 14, 7]
Generated Node #2: [46, 14, 7] from Operation: 69-62=7
Current State: 52:[46, 14, 7], Operations: ['69-62=7']
Exploring Operation: 14*7=98, Resulting Numbers: [46, 98]
Generated Node #3: [46, 98] from Operation: 14*7=98
Current State: 52:[46, 98], Operations: ['69-62=7', '14*7=98']
Exploring Operation: 98-46=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[69, 46, 14, 62], Operations: []
Exploring Operation: 62-14=48, Resulting Numbers: [69, 46, 48]
Generated Node #0,0: 52:[69, 46, 48] Operation: 62-14=48
Exploring Operation: 69-62=7, Resulting Numbers: [46, 14, 7]
Generated Node #0,1: 52:[46, 14, 7] Operation: 69-62=7
Exploring Operation: 62-46=16, Resulting Numbers: [69, 14, 16]
Generated Node #0,2: 52:[69, 14, 16] Operation: 62-46=16
Exploring Operation: 69-46=23, Resulting Numbers: [14, 62, 23]
Generated Node #0,3: 52:[14, 62, 23] Operation: 69-46=23
Exploring Operation: 69-14=55, Resulting Numbers: [46, 62, 55]
Generated Node #0,4: 52:[46, 62, 55] Operation: 69-14=55
Moving to Node #0,1
Current State: 52:[46, 14, 7], Operations: ['69-62=7']
Exploring Operation: 46-14=32, Resulting Numbers: [7, 32]
Generated Node #0,1,0: 52:[7, 32] Operation: 46-14=32
Exploring Operation: 14/7=2, Resulting Numbers: [46, 2]
Generated Node #0,1,1: 52:[46, 2] Operation: 14/7=2
Exploring Operation: 14-7=7, Resulting Numbers: [46, 7]
Generated Node #0,1,2: 52:[46, 7] Operation: 14-7=7
Exploring Operation: 46+7=53, Resulting Numbers: [14, 53]
Generated Node #0,1,3: 52:[14, 53] Operation: 46+7=53
Exploring Operation: 46+14=60, Resulting Numbers: [7, 60]
Generated Node #0,1,4: 52:[7, 60] Operation: 46+14=60
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[14, 53], Operations: ['69-62=7', '46+7=53']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,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,1,1
Current State: 52:[46, 2], Operations: ['69-62=7', '14/7=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,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,1,0
Current State: 52:[7, 32], Operations: ['69-62=7', '46-14=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,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,1,2
Current State: 52:[46, 7], Operations: ['69-62=7', '14-7=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,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,1,4
Current State: 52:[7, 60], Operations: ['69-62=7', '46+14=60']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 7*60=420, Resulting Numbers: [420]
420,52 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: 52:[14, 62, 23], Operations: ['69-46=23']
Exploring Operation: 14+62=76, Resulting Numbers: [23, 76]
Generated Node #0,3,0: 52:[23, 76] Operation: 14+62=76
Exploring Operation: 23-14=9, Resulting Numbers: [62, 9]
Generated Node #0,3,1: 52:[62, 9] Operation: 23-14=9
Exploring Operation: 62-14=48, Resulting Numbers: [23, 48]
Generated Node #0,3,2: 52:[23, 48] Operation: 62-14=48
Exploring Operation: 62-23=39, Resulting Numbers: [14, 39]
Generated Node #0,3,3: 52:[14, 39] Operation: 62-23=39
Exploring Operation: 14+23=37, Resulting Numbers: [62, 37]
Generated Node #0,3,4: 52:[62, 37] Operation: 14+23=37
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[23, 48], Operations: ['69-46=23', '62-14=48']
Exploring Operation: 23*48=1104, Resulting Numbers: [1104]
1104,52 unequal: No Solution
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,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,3,1
Current State: 52:[62, 9], Operations: ['69-46=23', '23-14=9']
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,52 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,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,3,3
Current State: 52:[14, 39], Operations: ['69-46=23', '62-23=39']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,52 unequal: No Solution
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,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,3,4
Current State: 52:[62, 37], Operations: ['69-46=23', '14+23=37']
Exploring Operation: 62+37=99, Resulting Numbers: [99]
99,52 unequal: No Solution
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 62*37=2294, Resulting Numbers: [2294]
2294,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,3,0
Current State: 52:[23, 76], Operations: ['69-46=23', '14+62=76']
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 23*76=1748, Resulting Numbers: [1748]
1748,52 unequal: No Solution
Exploring Operation: 23+76=99, Resulting Numbers: [99]
99,52 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: 52:[46, 62, 55], Operations: ['69-14=55']
Exploring Operation: 62-55=7, Resulting Numbers: [46, 7]
Generated Node #0,4,0: 52:[46, 7] Operation: 62-55=7
Exploring Operation: 46+62=108, Resulting Numbers: [55, 108]
Generated Node #0,4,1: 52:[55, 108] Operation: 46+62=108
Exploring Operation: 62-46=16, Resulting Numbers: [55, 16]
Generated Node #0,4,2: 52:[55, 16] Operation: 62-46=16
Exploring Operation: 55-46=9, Resulting Numbers: [62, 9]
Generated Node #0,4,3: 52:[62, 9] Operation: 55-46=9
Exploring Operation: 46+55=101, Resulting Numbers: [62, 101]
Generated Node #0,4,4: 52:[62, 101] Operation: 46+55=101
Moving to Node #0,2
Current State: 52:[69, 14, 16], Operations: ['62-46=16']
Exploring Operation: 69+14=83, Resulting Numbers: [16, 83]
Generated Node #0,2,0: 52:[16, 83] Operation: 69+14=83
Exploring Operation: 14+16=30, Resulting Numbers: [69, 30]
Generated Node #0,2,1: 52:[69, 30] Operation: 14+16=30
Exploring Operation: 69-14=55, Resulting Numbers: [16, 55]
Generated Node #0,2,2: 52:[16, 55] Operation: 69-14=55
Exploring Operation: 69-16=53, Resulting Numbers: [14, 53]
Generated Node #0,2,3: 52:[14, 53] Operation: 69-16=53
Exploring Operation: 16-14=2, Resulting Numbers: [69, 2]
Generated Node #0,2,4: 52:[69, 2] Operation: 16-14=2
Moving to Node #0,0
Current State: 52:[69, 46, 48], Operations: ['62-14=48']
Exploring Operation: 46+48=94, Resulting Numbers: [69, 94]
Generated Node #0,0,0: 52:[69, 94] Operation: 46+48=94
Exploring Operation: 48-46=2, Resulting Numbers: [69, 2]
Generated Node #0,0,1: 52:[69, 2] Operation: 48-46=2
Exploring Operation: 69-48=21, Resulting Numbers: [46, 21]
Generated Node #0,0,2: 52:[46, 21] Operation: 69-48=21
Exploring Operation: 69+46=115, Resulting Numbers: [48, 115]
Generated Node #0,0,3: 52:[48, 115] Operation: 69+46=115
Exploring Operation: 69-46=23, Resulting Numbers: [48, 23]
Generated Node #0,0,4: 52:[48, 23] Operation: 69-46=23
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 52:[48, 23], Operations: ['62-14=48', '69-46=23']
Exploring Operation: 48*23=1104, Resulting Numbers: [1104]
1104,52 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 48+23=71, Resulting Numbers: [71]
71,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:[46, 21], Operations: ['62-14=48', '69-48=21']
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 46*21=966, Resulting Numbers: [966]
966,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:[69, 2], Operations: ['62-14=48', '48-46=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,52 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,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,0
Current State: 52:[69, 94], Operations: ['62-14=48', '46+48=94']
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 69+94=163, Resulting Numbers: [163]
163,52 unequal: No Solution
Exploring Operation: 69*94=6486, Resulting Numbers: [6486]
6486,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:[48, 115], Operations: ['62-14=48', '69+46=115']
Exploring Operation: 48+115=163, Resulting Numbers: [163]
163,52 unequal: No Solution
Exploring Operation: 48*115=5520, Resulting Numbers: [5520]
5520,52 unequal: No Solution
Exploring Operation: 115-48=67, Resulting Numbers: [67]
67,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 52:[14, 53], Operations: ['62-46=16', '69-16=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,52 unequal: No Solution
Moving to Node #0,4,2
Current State: 52:[55, 16], Operations: ['69-14=55', '62-46=16']
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Exploring Operation: 55*16=880, Resulting Numbers: [880]
880,52 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[16, 55], Operations: ['62-46=16', '69-14=55']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,52 unequal: No Solution
Moving to Node #0,4,0
Current State: 52:[46, 7], Operations: ['69-14=55', '62-55=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,52 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Moving to Node #0,4,3
Current State: 52:[62, 9], Operations: ['69-14=55', '55-46=9']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,52 unequal: No Solution
Moving to Node #0,2,4
Current State: 52:[69, 2], Operations: ['62-46=16', '16-14=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[69, 30], Operations: ['62-46=16', '14+16=30']
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 69*30=2070, Resulting Numbers: [2070]
2070,52 unequal: No Solution
Exploring Operation: 69+30=99, Resulting Numbers: [99]
99,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[16, 83], Operations: ['62-46=16', '69+14=83']
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 16*83=1328, Resulting Numbers: [1328]
1328,52 unequal: No Solution
Exploring Operation: 16+83=99, Resulting Numbers: [99]
99,52 unequal: No Solution
Moving to Node #0,4,1
Current State: 52:[55, 108], Operations: ['69-14=55', '46+62=108']
Exploring Operation: 108-55=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 55+108=163, Resulting Numbers: [163]
163,52 unequal: No Solution
Exploring Operation: 55*108=5940, Resulting Numbers: [5940]
5940,52 unequal: No Solution
Moving to Node #0,4,4
Current State: 52:[62, 101], Operations: ['69-14=55', '46+55=101']
Exploring Operation: 101-62=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 62*101=6262, Resulting Numbers: [6262]
6262,52 unequal: No Solution
Exploring Operation: 62+101=163, Resulting Numbers: [163]
163,52 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
3,
95,
52,
24
] | 29 | [
"3*24=72",
"95-52=43",
"72-43=29"
] | Current State: 29:[3, 95, 52, 24], Operations: []
Exploring Operation: 3*24=72, Resulting Numbers: [95, 52, 72]
Generated Node #2: [95, 52, 72] from Operation: 3*24=72
Current State: 29:[95, 52, 72], Operations: ['3*24=72']
Exploring Operation: 95-52=43, Resulting Numbers: [72, 43]
Generated Node #3: [72, 43] from Operation: 95-52=43
Current State: 29:[72, 43], Operations: ['3*24=72', '95-52=43']
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[3, 95, 52, 24], Operations: []
Exploring Operation: 95-52=43, Resulting Numbers: [3, 24, 43]
Generated Node #0,0: 29:[3, 24, 43] Operation: 95-52=43
Exploring Operation: 95-3=92, Resulting Numbers: [52, 24, 92]
Generated Node #0,1: 29:[52, 24, 92] Operation: 95-3=92
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[3, 24, 43], Operations: ['95-52=43']
Exploring Operation: 3+24=27, Resulting Numbers: [43, 27]
Generated Node #0,0,0: 29:[43, 27] Operation: 3+24=27
Exploring Operation: 43-3=40, Resulting Numbers: [24, 40]
Generated Node #0,0,1: 29:[24, 40] Operation: 43-3=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[43, 27], Operations: ['95-52=43', '3+24=27']
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,29 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: 29:[24, 40], Operations: ['95-52=43', '43-3=40']
Exploring Operation: 24+40=64, Resulting Numbers: [64]
64,29 unequal: No Solution
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,29 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: 29:[52, 24, 92], Operations: ['95-3=92']
Exploring Operation: 92-24=68, Resulting Numbers: [52, 68]
Generated Node #0,1,0: 29:[52, 68] Operation: 92-24=68
Exploring Operation: 92-52=40, Resulting Numbers: [24, 40]
Generated Node #0,1,1: 29:[24, 40] Operation: 92-52=40
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[24, 40], Operations: ['95-3=92', '92-52=40']
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 24+40=64, Resulting Numbers: [64]
64,29 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: 29:[52, 68], Operations: ['95-3=92', '92-24=68']
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 52+68=120, Resulting Numbers: [120]
120,29 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_2 | mult_heuristic |
[
14,
17,
61,
96
] | 38 | [
"17-14=3",
"96-61=35",
"3+35=38"
] | Current State: 38:[14, 17, 61, 96], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [61, 96, 3]
Generated Node #2: [61, 96, 3] from Operation: 17-14=3
Current State: 38:[61, 96, 3], Operations: ['17-14=3']
Exploring Operation: 96-61=35, Resulting Numbers: [3, 35]
Generated Node #3: [3, 35] from Operation: 96-61=35
Current State: 38:[3, 35], Operations: ['17-14=3', '96-61=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[14, 17, 61, 96], Operations: []
Exploring Operation: 96-17=79, Resulting Numbers: [14, 61, 79]
Generated Node #0,0: 38:[14, 61, 79] Operation: 96-17=79
Exploring Operation: 61-14=47, Resulting Numbers: [17, 96, 47]
Generated Node #0,1: 38:[17, 96, 47] Operation: 61-14=47
Exploring Operation: 61-17=44, Resulting Numbers: [14, 96, 44]
Generated Node #0,2: 38:[14, 96, 44] Operation: 61-17=44
Exploring Operation: 96-61=35, Resulting Numbers: [14, 17, 35]
Generated Node #0,3: 38:[14, 17, 35] Operation: 96-61=35
Exploring Operation: 96-14=82, Resulting Numbers: [17, 61, 82]
Generated Node #0,4: 38:[17, 61, 82] Operation: 96-14=82
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[14, 17, 35], Operations: ['96-61=35']
Exploring Operation: 35-17=18, Resulting Numbers: [14, 18]
Generated Node #0,3,0: 38:[14, 18] Operation: 35-17=18
Exploring Operation: 17-14=3, Resulting Numbers: [35, 3]
Generated Node #0,3,1: 38:[35, 3] Operation: 17-14=3
Exploring Operation: 14+17=31, Resulting Numbers: [35, 31]
Generated Node #0,3,2: 38:[35, 31] Operation: 14+17=31
Exploring Operation: 14+35=49, Resulting Numbers: [17, 49]
Generated Node #0,3,3: 38:[17, 49] Operation: 14+35=49
Exploring Operation: 35-14=21, Resulting Numbers: [17, 21]
Generated Node #0,3,4: 38:[17, 21] Operation: 35-14=21
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 38:[35, 3], Operations: ['96-61=35', '17-14=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[14, 17, 61, 96], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [14, 17, 35]
Generated Node #0,3: 38:[14, 17, 35] Operation: 96-61=35
Moving to Node #0,3
Current State: 38:[14, 17, 35], Operations: ['96-61=35']
Exploring Operation: 17-14=3, Resulting Numbers: [35, 3]
Generated Node #0,3,1: 38:[35, 3] Operation: 17-14=3
Moving to Node #0,3,1
Current State: 38:[35, 3], Operations: ['96-61=35', '17-14=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
41,
3,
66,
64
] | 41 | [
"66-3=63",
"64-63=1",
"41*1=41"
] | Current State: 41:[41, 3, 66, 64], Operations: []
Exploring Operation: 66-3=63, Resulting Numbers: [41, 64, 63]
Generated Node #2: [41, 64, 63] from Operation: 66-3=63
Current State: 41:[41, 64, 63], Operations: ['66-3=63']
Exploring Operation: 64-63=1, Resulting Numbers: [41, 1]
Generated Node #3: [41, 1] from Operation: 64-63=1
Current State: 41:[41, 1], Operations: ['66-3=63', '64-63=1']
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[41, 3, 66, 64], Operations: []
Exploring Operation: 66-3=63, Resulting Numbers: [41, 64, 63]
Generated Node #0,0: 41:[41, 64, 63] Operation: 66-3=63
Exploring Operation: 41-3=38, Resulting Numbers: [66, 64, 38]
Generated Node #0,1: 41:[66, 64, 38] Operation: 41-3=38
Exploring Operation: 41+3=44, Resulting Numbers: [66, 64, 44]
Generated Node #0,2: 41:[66, 64, 44] Operation: 41+3=44
Exploring Operation: 64-3=61, Resulting Numbers: [41, 66, 61]
Generated Node #0,3: 41:[41, 66, 61] Operation: 64-3=61
Exploring Operation: 66/3=22, Resulting Numbers: [41, 64, 22]
Generated Node #0,4: 41:[41, 64, 22] Operation: 66/3=22
Moving to Node #0,4
Current State: 41:[41, 64, 22], Operations: ['66/3=22']
Exploring Operation: 41-22=19, Resulting Numbers: [64, 19]
Generated Node #0,4,0: 41:[64, 19] Operation: 41-22=19
Exploring Operation: 64-22=42, Resulting Numbers: [41, 42]
Generated Node #0,4,1: 41:[41, 42] Operation: 64-22=42
Exploring Operation: 64-41=23, Resulting Numbers: [22, 23]
Generated Node #0,4,2: 41:[22, 23] Operation: 64-41=23
Exploring Operation: 41+22=63, Resulting Numbers: [64, 63]
Generated Node #0,4,3: 41:[64, 63] Operation: 41+22=63
Exploring Operation: 64+22=86, Resulting Numbers: [41, 86]
Generated Node #0,4,4: 41:[41, 86] Operation: 64+22=86
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[41, 42], Operations: ['66/3=22', '64-22=42']
Exploring Operation: 41*42=1722, Resulting Numbers: [1722]
1722,41 unequal: No Solution
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,41 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,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,4,2
Current State: 41:[22, 23], Operations: ['66/3=22', '64-41=23']
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,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,4,0
Current State: 41:[64, 19], Operations: ['66/3=22', '41-22=19']
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,41 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,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,4,3
Current State: 41:[64, 63], Operations: ['66/3=22', '41+22=63']
Exploring Operation: 64+63=127, Resulting Numbers: [127]
127,41 unequal: No Solution
Exploring Operation: 64*63=4032, Resulting Numbers: [4032]
4032,41 unequal: No Solution
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,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,4,4
Current State: 41:[41, 86], Operations: ['66/3=22', '64+22=86']
Exploring Operation: 41+86=127, Resulting Numbers: [127]
127,41 unequal: No Solution
Exploring Operation: 41*86=3526, Resulting Numbers: [3526]
3526,41 unequal: No Solution
Exploring Operation: 86-41=45, Resulting Numbers: [45]
45,41 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: 41:[41, 66, 61], Operations: ['64-3=61']
Exploring Operation: 66-41=25, Resulting Numbers: [61, 25]
Generated Node #0,3,0: 41:[61, 25] Operation: 66-41=25
Exploring Operation: 41+66=107, Resulting Numbers: [61, 107]
Generated Node #0,3,1: 41:[61, 107] Operation: 41+66=107
Exploring Operation: 61-41=20, Resulting Numbers: [66, 20]
Generated Node #0,3,2: 41:[66, 20] Operation: 61-41=20
Exploring Operation: 66-61=5, Resulting Numbers: [41, 5]
Generated Node #0,3,3: 41:[41, 5] Operation: 66-61=5
Exploring Operation: 41+61=102, Resulting Numbers: [66, 102]
Generated Node #0,3,4: 41:[66, 102] Operation: 41+61=102
Moving to Node #0,0
Current State: 41:[41, 64, 63], Operations: ['66-3=63']
Exploring Operation: 64-41=23, Resulting Numbers: [63, 23]
Generated Node #0,0,0: 41:[63, 23] Operation: 64-41=23
Exploring Operation: 41+63=104, Resulting Numbers: [64, 104]
Generated Node #0,0,1: 41:[64, 104] Operation: 41+63=104
Exploring Operation: 63-41=22, Resulting Numbers: [64, 22]
Generated Node #0,0,2: 41:[64, 22] Operation: 63-41=22
Exploring Operation: 64-63=1, Resulting Numbers: [41, 1]
Generated Node #0,0,3: 41:[41, 1] Operation: 64-63=1
Exploring Operation: 41+64=105, Resulting Numbers: [63, 105]
Generated Node #0,0,4: 41:[63, 105] Operation: 41+64=105
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[63, 23], Operations: ['66-3=63', '64-41=23']
Exploring Operation: 63*23=1449, Resulting Numbers: [1449]
1449,41 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 63+23=86, Resulting Numbers: [86]
86,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:[41, 1], Operations: ['66-3=63', '64-63=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[41, 3, 66, 64], Operations: []
Exploring Operation: 66-3=63, Resulting Numbers: [41, 64, 63]
Generated Node #0,0: 41:[41, 64, 63] Operation: 66-3=63
Moving to Node #0,0
Current State: 41:[41, 64, 63], Operations: ['66-3=63']
Exploring Operation: 64-63=1, Resulting Numbers: [41, 1]
Generated Node #0,0,3: 41:[41, 1] Operation: 64-63=1
Moving to Node #0,0,3
Current State: 41:[41, 1], Operations: ['66-3=63', '64-63=1']
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | mult_heuristic |
[
30,
22,
80,
10
] | 82 | [
"30-22=8",
"80+10=90",
"90-8=82"
] | Current State: 82:[30, 22, 80, 10], Operations: []
Exploring Operation: 30-22=8, Resulting Numbers: [80, 10, 8]
Generated Node #2: [80, 10, 8] from Operation: 30-22=8
Current State: 82:[80, 10, 8], Operations: ['30-22=8']
Exploring Operation: 80+10=90, Resulting Numbers: [8, 90]
Generated Node #3: [8, 90] from Operation: 80+10=90
Current State: 82:[8, 90], Operations: ['30-22=8', '80+10=90']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[30, 22, 80, 10], Operations: []
Exploring Operation: 30-22=8, Resulting Numbers: [80, 10, 8]
Generated Node #0,0: 82:[80, 10, 8] Operation: 30-22=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[80, 10, 8], Operations: ['30-22=8']
Exploring Operation: 10-8=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 82:[80, 2] Operation: 10-8=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[80, 2], Operations: ['30-22=8', '10-8=2']
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[30, 22, 80, 10], Operations: []
Exploring Operation: 30-22=8, Resulting Numbers: [80, 10, 8]
Generated Node #0,0: 82:[80, 10, 8] Operation: 30-22=8
Moving to Node #0,0
Current State: 82:[80, 10, 8], Operations: ['30-22=8']
Exploring Operation: 10-8=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 82:[80, 2] Operation: 10-8=2
Moving to Node #0,0,0
Current State: 82:[80, 2], Operations: ['30-22=8', '10-8=2']
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
6,
94,
74,
62
] | 58 | [
"94-74=20",
"6*20=120",
"120-62=58"
] | Current State: 58:[6, 94, 74, 62], Operations: []
Exploring Operation: 94-74=20, Resulting Numbers: [6, 62, 20]
Generated Node #2: [6, 62, 20] from Operation: 94-74=20
Current State: 58:[6, 62, 20], Operations: ['94-74=20']
Exploring Operation: 6*20=120, Resulting Numbers: [62, 120]
Generated Node #3: [62, 120] from Operation: 6*20=120
Current State: 58:[62, 120], Operations: ['94-74=20', '6*20=120']
Exploring Operation: 120-62=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[6, 94, 74, 62], Operations: []
Exploring Operation: 94-74=20, Resulting Numbers: [6, 62, 20]
Generated Node #0,0: 58:[6, 62, 20] Operation: 94-74=20
Exploring Operation: 94-62=32, Resulting Numbers: [6, 74, 32]
Generated Node #0,1: 58:[6, 74, 32] Operation: 94-62=32
Exploring Operation: 94-6=88, Resulting Numbers: [74, 62, 88]
Generated Node #0,2: 58:[74, 62, 88] Operation: 94-6=88
Moving to Node #0,0
Current State: 58:[6, 62, 20], Operations: ['94-74=20']
Exploring Operation: 6+20=26, Resulting Numbers: [62, 26]
Generated Node #0,0,0: 58:[62, 26] Operation: 6+20=26
Exploring Operation: 20-6=14, Resulting Numbers: [62, 14]
Generated Node #0,0,1: 58:[62, 14] Operation: 20-6=14
Exploring Operation: 62-6=56, Resulting Numbers: [20, 56]
Generated Node #0,0,2: 58:[20, 56] Operation: 62-6=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[62, 26], Operations: ['94-74=20', '6+20=26']
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,58 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: 58:[20, 56], Operations: ['94-74=20', '62-6=56']
Exploring Operation: 20+56=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 20*56=1120, Resulting Numbers: [1120]
1120,58 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,58 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: 58:[62, 14], Operations: ['94-74=20', '20-6=14']
Exploring Operation: 62*14=868, Resulting Numbers: [868]
868,58 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,58 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: 58:[6, 74, 32], Operations: ['94-62=32']
Exploring Operation: 74-6=68, Resulting Numbers: [32, 68]
Generated Node #0,1,0: 58:[32, 68] Operation: 74-6=68
Exploring Operation: 74-32=42, Resulting Numbers: [6, 42]
Generated Node #0,1,1: 58:[6, 42] Operation: 74-32=42
Exploring Operation: 32-6=26, Resulting Numbers: [74, 26]
Generated Node #0,1,2: 58:[74, 26] Operation: 32-6=26
Moving to Node #0,2
Current State: 58:[74, 62, 88], Operations: ['94-6=88']
Exploring Operation: 74-62=12, Resulting Numbers: [88, 12]
Generated Node #0,2,0: 58:[88, 12] Operation: 74-62=12
Exploring Operation: 88-62=26, Resulting Numbers: [74, 26]
Generated Node #0,2,1: 58:[74, 26] Operation: 88-62=26
Exploring Operation: 88-74=14, Resulting Numbers: [62, 14]
Generated Node #0,2,2: 58:[62, 14] Operation: 88-74=14
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[62, 14], Operations: ['94-6=88', '88-74=14']
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 62*14=868, Resulting Numbers: [868]
868,58 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: 58:[74, 26], Operations: ['94-6=88', '88-62=26']
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,58 unequal: No Solution
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,58 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: 58:[88, 12], Operations: ['94-6=88', '74-62=12']
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,58 unequal: No Solution
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,58 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,58 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: 58:[32, 68], Operations: ['94-62=32', '74-6=68']
Exploring Operation: 32+68=100, Resulting Numbers: [100]
100,58 unequal: No Solution
Exploring Operation: 32*68=2176, Resulting Numbers: [2176]
2176,58 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[6, 42], Operations: ['94-62=32', '74-32=42']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[74, 26], Operations: ['94-62=32', '32-6=26']
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,58 unequal: No Solution
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,58 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
80,
34,
63,
84
] | 86 | [
"80-63=17",
"34/17=2",
"84+2=86"
] | Current State: 86:[80, 34, 63, 84], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [34, 84, 17]
Generated Node #2: [34, 84, 17] from Operation: 80-63=17
Current State: 86:[34, 84, 17], Operations: ['80-63=17']
Exploring Operation: 34/17=2, Resulting Numbers: [84, 2]
Generated Node #3: [84, 2] from Operation: 34/17=2
Current State: 86:[84, 2], Operations: ['80-63=17', '34/17=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[80, 34, 63, 84], Operations: []
Exploring Operation: 34+63=97, Resulting Numbers: [80, 84, 97]
Generated Node #0,0: 86:[80, 84, 97] Operation: 34+63=97
Exploring Operation: 84-80=4, Resulting Numbers: [34, 63, 4]
Generated Node #0,1: 86:[34, 63, 4] Operation: 84-80=4
Exploring Operation: 63-34=29, Resulting Numbers: [80, 84, 29]
Generated Node #0,2: 86:[80, 84, 29] Operation: 63-34=29
Exploring Operation: 80-63=17, Resulting Numbers: [34, 84, 17]
Generated Node #0,3: 86:[34, 84, 17] Operation: 80-63=17
Exploring Operation: 80-34=46, Resulting Numbers: [63, 84, 46]
Generated Node #0,4: 86:[63, 84, 46] Operation: 80-34=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[80, 84, 97], Operations: ['34+63=97']
Exploring Operation: 97-80=17, Resulting Numbers: [84, 17]
Generated Node #0,0,0: 86:[84, 17] Operation: 97-80=17
Exploring Operation: 80+97=177, Resulting Numbers: [84, 177]
Generated Node #0,0,1: 86:[84, 177] Operation: 80+97=177
Exploring Operation: 97-84=13, Resulting Numbers: [80, 13]
Generated Node #0,0,2: 86:[80, 13] Operation: 97-84=13
Exploring Operation: 84-80=4, Resulting Numbers: [97, 4]
Generated Node #0,0,3: 86:[97, 4] Operation: 84-80=4
Exploring Operation: 80+84=164, Resulting Numbers: [97, 164]
Generated Node #0,0,4: 86:[97, 164] Operation: 80+84=164
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 86:[97, 4], Operations: ['34+63=97', '84-80=4']
Exploring Operation: 97+4=101, Resulting Numbers: [101]
101,86 unequal: No Solution
Exploring Operation: 97*4=388, Resulting Numbers: [388]
388,86 unequal: No Solution
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,86 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: 86:[84, 17], Operations: ['34+63=97', '97-80=17']
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,86 unequal: No Solution
Exploring Operation: 84*17=1428, Resulting Numbers: [1428]
1428,86 unequal: No Solution
Exploring Operation: 84+17=101, Resulting Numbers: [101]
101,86 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: 86:[80, 13], Operations: ['34+63=97', '97-84=13']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,86 unequal: No Solution
Exploring Operation: 80+13=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 80*13=1040, Resulting Numbers: [1040]
1040,86 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: 86:[97, 164], Operations: ['34+63=97', '80+84=164']
Exploring Operation: 97+164=261, Resulting Numbers: [261]
261,86 unequal: No Solution
Exploring Operation: 97*164=15908, Resulting Numbers: [15908]
15908,86 unequal: No Solution
Exploring Operation: 164-97=67, Resulting Numbers: [67]
67,86 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: 86:[84, 177], Operations: ['34+63=97', '80+97=177']
Exploring Operation: 84+177=261, Resulting Numbers: [261]
261,86 unequal: No Solution
Exploring Operation: 177-84=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 84*177=14868, Resulting Numbers: [14868]
14868,86 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: 86:[80, 84, 29], Operations: ['63-34=29']
Exploring Operation: 84-80=4, Resulting Numbers: [29, 4]
Generated Node #0,2,0: 86:[29, 4] Operation: 84-80=4
Exploring Operation: 84+29=113, Resulting Numbers: [80, 113]
Generated Node #0,2,1: 86:[80, 113] Operation: 84+29=113
Exploring Operation: 80+29=109, Resulting Numbers: [84, 109]
Generated Node #0,2,2: 86:[84, 109] Operation: 80+29=109
Exploring Operation: 80-29=51, Resulting Numbers: [84, 51]
Generated Node #0,2,3: 86:[84, 51] Operation: 80-29=51
Exploring Operation: 84-29=55, Resulting Numbers: [80, 55]
Generated Node #0,2,4: 86:[80, 55] Operation: 84-29=55
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 86:[84, 51], Operations: ['63-34=29', '80-29=51']
Exploring Operation: 84*51=4284, Resulting Numbers: [4284]
4284,86 unequal: No Solution
Exploring Operation: 84+51=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,86 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: 86:[29, 4], Operations: ['63-34=29', '84-80=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,86 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: 86:[80, 55], Operations: ['63-34=29', '84-29=55']
Exploring Operation: 80+55=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 80*55=4400, Resulting Numbers: [4400]
4400,86 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: 86:[84, 109], Operations: ['63-34=29', '80+29=109']
Exploring Operation: 109-84=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 84+109=193, Resulting Numbers: [193]
193,86 unequal: No Solution
Exploring Operation: 84*109=9156, Resulting Numbers: [9156]
9156,86 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: 86:[80, 113], Operations: ['63-34=29', '84+29=113']
Exploring Operation: 80+113=193, Resulting Numbers: [193]
193,86 unequal: No Solution
Exploring Operation: 80*113=9040, Resulting Numbers: [9040]
9040,86 unequal: No Solution
Exploring Operation: 113-80=33, Resulting Numbers: [33]
33,86 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: 86:[63, 84, 46], Operations: ['80-34=46']
Exploring Operation: 63-46=17, Resulting Numbers: [84, 17]
Generated Node #0,4,0: 86:[84, 17] Operation: 63-46=17
Exploring Operation: 63+84=147, Resulting Numbers: [46, 147]
Generated Node #0,4,1: 86:[46, 147] Operation: 63+84=147
Exploring Operation: 63+46=109, Resulting Numbers: [84, 109]
Generated Node #0,4,2: 86:[84, 109] Operation: 63+46=109
Exploring Operation: 84-46=38, Resulting Numbers: [63, 38]
Generated Node #0,4,3: 86:[63, 38] Operation: 84-46=38
Exploring Operation: 84-63=21, Resulting Numbers: [46, 21]
Generated Node #0,4,4: 86:[46, 21] Operation: 84-63=21
Moving to Node #0,4,0
Current State: 86:[84, 17], Operations: ['80-34=46', '63-46=17']
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,86 unequal: No Solution
Exploring Operation: 84+17=101, Resulting Numbers: [101]
101,86 unequal: No Solution
Exploring Operation: 84*17=1428, Resulting Numbers: [1428]
1428,86 unequal: No Solution
Moving to Node #0,4,4
Current State: 86:[46, 21], Operations: ['80-34=46', '84-63=21']
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,86 unequal: No Solution
Exploring Operation: 46*21=966, Resulting Numbers: [966]
966,86 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Moving to Node #0,4,2
Current State: 86:[84, 109], Operations: ['80-34=46', '63+46=109']
Exploring Operation: 84+109=193, Resulting Numbers: [193]
193,86 unequal: No Solution
Exploring Operation: 109-84=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 84*109=9156, Resulting Numbers: [9156]
9156,86 unequal: No Solution
Moving to Node #0,4,3
Current State: 86:[63, 38], Operations: ['80-34=46', '84-46=38']
Exploring Operation: 63+38=101, Resulting Numbers: [101]
101,86 unequal: No Solution
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 63*38=2394, Resulting Numbers: [2394]
2394,86 unequal: No Solution
Moving to Node #0,4,1
Current State: 86:[46, 147], Operations: ['80-34=46', '63+84=147']
Exploring Operation: 46+147=193, Resulting Numbers: [193]
193,86 unequal: No Solution
Exploring Operation: 46*147=6762, Resulting Numbers: [6762]
6762,86 unequal: No Solution
Exploring Operation: 147-46=101, Resulting Numbers: [101]
101,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,3
Current State: 86:[34, 84, 17], Operations: ['80-63=17']
Exploring Operation: 84+17=101, Resulting Numbers: [34, 101]
Generated Node #0,3,0: 86:[34, 101] Operation: 84+17=101
Exploring Operation: 34-17=17, Resulting Numbers: [84, 17]
Generated Node #0,3,1: 86:[84, 17] Operation: 34-17=17
Exploring Operation: 84-34=50, Resulting Numbers: [17, 50]
Generated Node #0,3,2: 86:[17, 50] Operation: 84-34=50
Exploring Operation: 34/17=2, Resulting Numbers: [84, 2]
Generated Node #0,3,3: 86:[84, 2] Operation: 34/17=2
Exploring Operation: 34+17=51, Resulting Numbers: [84, 51]
Generated Node #0,3,4: 86:[84, 51] Operation: 34+17=51
Moving to Node #0,3,3
Current State: 86:[84, 2], Operations: ['80-63=17', '34/17=2']
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,86 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[80, 34, 63, 84], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [34, 84, 17]
Generated Node #0,3: 86:[34, 84, 17] Operation: 80-63=17
Moving to Node #0,3
Current State: 86:[34, 84, 17], Operations: ['80-63=17']
Exploring Operation: 34/17=2, Resulting Numbers: [84, 2]
Generated Node #0,3,3: 86:[84, 2] Operation: 34/17=2
Moving to Node #0,3,3
Current State: 86:[84, 2], Operations: ['80-63=17', '34/17=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.93316 | hs_5 | mult_heuristic |
[
62,
2,
9,
37
] | 68 | [
"62+9=71",
"71-37=34",
"2*34=68"
] | Current State: 68:[62, 2, 9, 37], Operations: []
Exploring Operation: 62+9=71, Resulting Numbers: [2, 37, 71]
Generated Node #2: [2, 37, 71] from Operation: 62+9=71
Current State: 68:[2, 37, 71], Operations: ['62+9=71']
Exploring Operation: 71-37=34, Resulting Numbers: [2, 34]
Generated Node #3: [2, 34] from Operation: 71-37=34
Current State: 68:[2, 34], Operations: ['62+9=71', '71-37=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[62, 2, 9, 37], Operations: []
Exploring Operation: 62+9=71, Resulting Numbers: [2, 37, 71]
Generated Node #0,0: 68:[2, 37, 71] Operation: 62+9=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[2, 37, 71], Operations: ['62+9=71']
Exploring Operation: 71-37=34, Resulting Numbers: [2, 34]
Generated Node #0,0,0: 68:[2, 34] Operation: 71-37=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[2, 34], Operations: ['62+9=71', '71-37=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[62, 2, 9, 37], Operations: []
Exploring Operation: 62+9=71, Resulting Numbers: [2, 37, 71]
Generated Node #0,0: 68:[2, 37, 71] Operation: 62+9=71
Moving to Node #0,0
Current State: 68:[2, 37, 71], Operations: ['62+9=71']
Exploring Operation: 71-37=34, Resulting Numbers: [2, 34]
Generated Node #0,0,0: 68:[2, 34] Operation: 71-37=34
Moving to Node #0,0,0
Current State: 68:[2, 34], Operations: ['62+9=71', '71-37=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
99,
38,
6,
49
] | 80 | [
"99+49=148",
"38*6=228",
"228-148=80"
] | Current State: 80:[99, 38, 6, 49], Operations: []
Exploring Operation: 99+49=148, Resulting Numbers: [38, 6, 148]
Generated Node #2: [38, 6, 148] from Operation: 99+49=148
Current State: 80:[38, 6, 148], Operations: ['99+49=148']
Exploring Operation: 38*6=228, Resulting Numbers: [148, 228]
Generated Node #3: [148, 228] from Operation: 38*6=228
Current State: 80:[148, 228], Operations: ['99+49=148', '38*6=228']
Exploring Operation: 228-148=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[99, 38, 6, 49], Operations: []
Exploring Operation: 99-6=93, Resulting Numbers: [38, 49, 93]
Generated Node #0,0: 80:[38, 49, 93] Operation: 99-6=93
Exploring Operation: 99-49=50, Resulting Numbers: [38, 6, 50]
Generated Node #0,1: 80:[38, 6, 50] Operation: 99-49=50
Exploring Operation: 49-38=11, Resulting Numbers: [99, 6, 11]
Generated Node #0,2: 80:[99, 6, 11] Operation: 49-38=11
Moving to Node #0,1
Current State: 80:[38, 6, 50], Operations: ['99-49=50']
Exploring Operation: 38+50=88, Resulting Numbers: [6, 88]
Generated Node #0,1,0: 80:[6, 88] Operation: 38+50=88
Exploring Operation: 50-38=12, Resulting Numbers: [6, 12]
Generated Node #0,1,1: 80:[6, 12] Operation: 50-38=12
Exploring Operation: 50-6=44, Resulting Numbers: [38, 44]
Generated Node #0,1,2: 80:[38, 44] Operation: 50-6=44
Moving to Node #0,2
Current State: 80:[99, 6, 11], Operations: ['49-38=11']
Exploring Operation: 99-11=88, Resulting Numbers: [6, 88]
Generated Node #0,2,0: 80:[6, 88] Operation: 99-11=88
Exploring Operation: 99-6=93, Resulting Numbers: [11, 93]
Generated Node #0,2,1: 80:[11, 93] Operation: 99-6=93
Exploring Operation: 99/11=9, Resulting Numbers: [6, 9]
Generated Node #0,2,2: 80:[6, 9] Operation: 99/11=9
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[6, 9], Operations: ['49-38=11', '99/11=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,80 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,80 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: 80:[6, 88], Operations: ['49-38=11', '99-11=88']
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 6+88=94, Resulting Numbers: [94]
94,80 unequal: No Solution
Exploring Operation: 6*88=528, Resulting Numbers: [528]
528,80 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: 80:[11, 93], Operations: ['49-38=11', '99-6=93']
Exploring Operation: 11*93=1023, Resulting Numbers: [1023]
1023,80 unequal: No Solution
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 11+93=104, Resulting Numbers: [104]
104,80 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: 80:[38, 49, 93], Operations: ['99-6=93']
Exploring Operation: 38+49=87, Resulting Numbers: [93, 87]
Generated Node #0,0,0: 80:[93, 87] Operation: 38+49=87
Exploring Operation: 93-49=44, Resulting Numbers: [38, 44]
Generated Node #0,0,1: 80:[38, 44] Operation: 93-49=44
Exploring Operation: 49-38=11, Resulting Numbers: [93, 11]
Generated Node #0,0,2: 80:[93, 11] Operation: 49-38=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[38, 44], Operations: ['99-6=93', '93-49=44']
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,80 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,80 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: 80:[93, 11], Operations: ['99-6=93', '49-38=11']
Exploring Operation: 93*11=1023, Resulting Numbers: [1023]
1023,80 unequal: No Solution
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 93+11=104, Resulting Numbers: [104]
104,80 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: 80:[93, 87], Operations: ['99-6=93', '38+49=87']
Exploring Operation: 93*87=8091, Resulting Numbers: [8091]
8091,80 unequal: No Solution
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 93+87=180, Resulting Numbers: [180]
180,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 80:[6, 12], Operations: ['99-49=50', '50-38=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[38, 44], Operations: ['99-49=50', '50-6=44']
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,80 unequal: No Solution
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[6, 88], Operations: ['99-49=50', '38+50=88']
Exploring Operation: 6+88=94, Resulting Numbers: [94]
94,80 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 6*88=528, Resulting Numbers: [528]
528,80 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
53,
88,
39,
62
] | 40 | [
"53+88=141",
"39+62=101",
"141-101=40"
] | Current State: 40:[53, 88, 39, 62], Operations: []
Exploring Operation: 53+88=141, Resulting Numbers: [39, 62, 141]
Generated Node #2: [39, 62, 141] from Operation: 53+88=141
Current State: 40:[39, 62, 141], Operations: ['53+88=141']
Exploring Operation: 39+62=101, Resulting Numbers: [141, 101]
Generated Node #3: [141, 101] from Operation: 39+62=101
Current State: 40:[141, 101], Operations: ['53+88=141', '39+62=101']
Exploring Operation: 141-101=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[53, 88, 39, 62], Operations: []
Exploring Operation: 88-39=49, Resulting Numbers: [53, 62, 49]
Generated Node #0,0: 40:[53, 62, 49] Operation: 88-39=49
Exploring Operation: 88-62=26, Resulting Numbers: [53, 39, 26]
Generated Node #0,1: 40:[53, 39, 26] Operation: 88-62=26
Exploring Operation: 88-53=35, Resulting Numbers: [39, 62, 35]
Generated Node #0,2: 40:[39, 62, 35] Operation: 88-53=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[53, 39, 26], Operations: ['88-62=26']
Exploring Operation: 53-39=14, Resulting Numbers: [26, 14]
Generated Node #0,1,0: 40:[26, 14] Operation: 53-39=14
Exploring Operation: 39-26=13, Resulting Numbers: [53, 13]
Generated Node #0,1,1: 40:[53, 13] Operation: 39-26=13
Exploring Operation: 53-26=27, Resulting Numbers: [39, 27]
Generated Node #0,1,2: 40:[39, 27] Operation: 53-26=27
Moving to Node #0,1,2
Current State: 40:[39, 27], Operations: ['88-62=26', '53-26=27']
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,40 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,40 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[26, 14], Operations: ['88-62=26', '53-39=14']
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[53, 88, 39, 62], Operations: []
Exploring Operation: 88-62=26, Resulting Numbers: [53, 39, 26]
Generated Node #0,1: 40:[53, 39, 26] Operation: 88-62=26
Moving to Node #0,1
Current State: 40:[53, 39, 26], Operations: ['88-62=26']
Exploring Operation: 53-39=14, Resulting Numbers: [26, 14]
Generated Node #0,1,0: 40:[26, 14] Operation: 53-39=14
Moving to Node #0,1,0
Current State: 40:[26, 14], Operations: ['88-62=26', '53-39=14']
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
30,
22,
16,
35
] | 67 | [
"30*35=1050",
"22+1050=1072",
"1072/16=67"
] | Current State: 67:[30, 22, 16, 35], Operations: []
Exploring Operation: 30*35=1050, Resulting Numbers: [22, 16, 1050]
Generated Node #2: [22, 16, 1050] from Operation: 30*35=1050
Current State: 67:[22, 16, 1050], Operations: ['30*35=1050']
Exploring Operation: 22+1050=1072, Resulting Numbers: [16, 1072]
Generated Node #3: [16, 1072] from Operation: 22+1050=1072
Current State: 67:[16, 1072], Operations: ['30*35=1050', '22+1050=1072']
Exploring Operation: 1072/16=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[30, 22, 16, 35], Operations: []
Exploring Operation: 22+16=38, Resulting Numbers: [30, 35, 38]
Generated Node #0,0: 67:[30, 35, 38] Operation: 22+16=38
Exploring Operation: 22+35=57, Resulting Numbers: [30, 16, 57]
Generated Node #0,1: 67:[30, 16, 57] Operation: 22+35=57
Exploring Operation: 30+22=52, Resulting Numbers: [16, 35, 52]
Generated Node #0,2: 67:[16, 35, 52] Operation: 30+22=52
Exploring Operation: 30+35=65, Resulting Numbers: [22, 16, 65]
Generated Node #0,3: 67:[22, 16, 65] Operation: 30+35=65
Exploring Operation: 30+16=46, Resulting Numbers: [22, 35, 46]
Generated Node #0,4: 67:[22, 35, 46] Operation: 30+16=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[30, 35, 38], Operations: ['22+16=38']
Exploring Operation: 30+38=68, Resulting Numbers: [35, 68]
Generated Node #0,0,0: 67:[35, 68] Operation: 30+38=68
Exploring Operation: 30+35=65, Resulting Numbers: [38, 65]
Generated Node #0,0,1: 67:[38, 65] Operation: 30+35=65
Exploring Operation: 35+38=73, Resulting Numbers: [30, 73]
Generated Node #0,0,2: 67:[30, 73] Operation: 35+38=73
Exploring Operation: 38-30=8, Resulting Numbers: [35, 8]
Generated Node #0,0,3: 67:[35, 8] Operation: 38-30=8
Exploring Operation: 35-30=5, Resulting Numbers: [38, 5]
Generated Node #0,0,4: 67:[38, 5] Operation: 35-30=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[38, 65], Operations: ['22+16=38', '30+35=65']
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,67 unequal: No Solution
Exploring Operation: 38+65=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 38*65=2470, Resulting Numbers: [2470]
2470,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:[35, 68], Operations: ['22+16=38', '30+38=68']
Exploring Operation: 35*68=2380, Resulting Numbers: [2380]
2380,67 unequal: No Solution
Exploring Operation: 35+68=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,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,2
Current State: 67:[30, 73], Operations: ['22+16=38', '35+38=73']
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 30*73=2190, Resulting Numbers: [2190]
2190,67 unequal: No Solution
Exploring Operation: 30+73=103, Resulting Numbers: [103]
103,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:[35, 8], Operations: ['22+16=38', '38-30=8']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,67 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,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:[38, 5], Operations: ['22+16=38', '35-30=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,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:[30, 16, 57], Operations: ['22+35=57']
Exploring Operation: 30+57=87, Resulting Numbers: [16, 87]
Generated Node #0,1,0: 67:[16, 87] Operation: 30+57=87
Exploring Operation: 30-16=14, Resulting Numbers: [57, 14]
Generated Node #0,1,1: 67:[57, 14] Operation: 30-16=14
Exploring Operation: 16+57=73, Resulting Numbers: [30, 73]
Generated Node #0,1,2: 67:[30, 73] Operation: 16+57=73
Exploring Operation: 30+16=46, Resulting Numbers: [57, 46]
Generated Node #0,1,3: 67:[57, 46] Operation: 30+16=46
Exploring Operation: 57-16=41, Resulting Numbers: [30, 41]
Generated Node #0,1,4: 67:[30, 41] Operation: 57-16=41
Moving to Node #0,1,3
Current State: 67:[57, 46], Operations: ['22+35=57', '30+16=46']
Exploring Operation: 57+46=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 57*46=2622, Resulting Numbers: [2622]
2622,67 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[30, 73], Operations: ['22+35=57', '16+57=73']
Exploring Operation: 30+73=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 30*73=2190, Resulting Numbers: [2190]
2190,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[57, 14], Operations: ['22+35=57', '30-16=14']
Exploring Operation: 57+14=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 57*14=798, Resulting Numbers: [798]
798,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[30, 41], Operations: ['22+35=57', '57-16=41']
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 30*41=1230, Resulting Numbers: [1230]
1230,67 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[16, 87], Operations: ['22+35=57', '30+57=87']
Exploring Operation: 16*87=1392, Resulting Numbers: [1392]
1392,67 unequal: No Solution
Exploring Operation: 16+87=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,67 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: 67:[16, 35, 52], Operations: ['30+22=52']
Exploring Operation: 16+35=51, Resulting Numbers: [52, 51]
Generated Node #0,2,0: 67:[52, 51] Operation: 16+35=51
Exploring Operation: 16+52=68, Resulting Numbers: [35, 68]
Generated Node #0,2,1: 67:[35, 68] Operation: 16+52=68
Exploring Operation: 52-16=36, Resulting Numbers: [35, 36]
Generated Node #0,2,2: 67:[35, 36] Operation: 52-16=36
Exploring Operation: 35-16=19, Resulting Numbers: [52, 19]
Generated Node #0,2,3: 67:[52, 19] Operation: 35-16=19
Exploring Operation: 35+52=87, Resulting Numbers: [16, 87]
Generated Node #0,2,4: 67:[16, 87] Operation: 35+52=87
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[52, 51], Operations: ['30+22=52', '16+35=51']
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 52*51=2652, Resulting Numbers: [2652]
2652,67 unequal: No Solution
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,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:[35, 68], Operations: ['30+22=52', '16+52=68']
Exploring Operation: 35+68=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 35*68=2380, Resulting Numbers: [2380]
2380,67 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,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:[35, 36], Operations: ['30+22=52', '52-16=36']
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,67 unequal: No Solution
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,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:[52, 19], Operations: ['30+22=52', '35-16=19']
Exploring Operation: 52*19=988, Resulting Numbers: [988]
988,67 unequal: No Solution
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,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:[16, 87], Operations: ['30+22=52', '35+52=87']
Exploring Operation: 16*87=1392, Resulting Numbers: [1392]
1392,67 unequal: No Solution
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 16+87=103, Resulting Numbers: [103]
103,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:[22, 16, 65], Operations: ['30+35=65']
Exploring Operation: 22-16=6, Resulting Numbers: [65, 6]
Generated Node #0,3,0: 67:[65, 6] Operation: 22-16=6
Exploring Operation: 16+65=81, Resulting Numbers: [22, 81]
Generated Node #0,3,1: 67:[22, 81] Operation: 16+65=81
Exploring Operation: 22+16=38, Resulting Numbers: [65, 38]
Generated Node #0,3,2: 67:[65, 38] Operation: 22+16=38
Exploring Operation: 22+65=87, Resulting Numbers: [16, 87]
Generated Node #0,3,3: 67:[16, 87] Operation: 22+65=87
Exploring Operation: 65-16=49, Resulting Numbers: [22, 49]
Generated Node #0,3,4: 67:[22, 49] Operation: 65-16=49
Moving to Node #0,3,2
Current State: 67:[65, 38], Operations: ['30+35=65', '22+16=38']
Exploring Operation: 65+38=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,67 unequal: No Solution
Exploring Operation: 65*38=2470, Resulting Numbers: [2470]
2470,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[22, 81], Operations: ['30+35=65', '16+65=81']
Exploring Operation: 22+81=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,67 unequal: No Solution
Exploring Operation: 22*81=1782, Resulting Numbers: [1782]
1782,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[65, 6], Operations: ['30+35=65', '22-16=6']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,67 unequal: No Solution
Exploring Operation: 65*6=390, Resulting Numbers: [390]
390,67 unequal: No Solution
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[22, 49], Operations: ['30+35=65', '65-16=49']
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,67 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[16, 87], Operations: ['30+35=65', '22+65=87']
Exploring Operation: 16*87=1392, Resulting Numbers: [1392]
1392,67 unequal: No Solution
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 16+87=103, Resulting Numbers: [103]
103,67 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: 67:[22, 35, 46], Operations: ['30+16=46']
Exploring Operation: 35-22=13, Resulting Numbers: [46, 13]
Generated Node #0,4,0: 67:[46, 13] Operation: 35-22=13
Exploring Operation: 46-22=24, Resulting Numbers: [35, 24]
Generated Node #0,4,1: 67:[35, 24] Operation: 46-22=24
Exploring Operation: 22+46=68, Resulting Numbers: [35, 68]
Generated Node #0,4,2: 67:[35, 68] Operation: 22+46=68
Exploring Operation: 35+46=81, Resulting Numbers: [22, 81]
Generated Node #0,4,3: 67:[22, 81] Operation: 35+46=81
Exploring Operation: 22+35=57, Resulting Numbers: [46, 57]
Generated Node #0,4,4: 67:[46, 57] Operation: 22+35=57
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 67:[46, 57], Operations: ['30+16=46', '22+35=57']
Exploring Operation: 46*57=2622, Resulting Numbers: [2622]
2622,67 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,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,2
Current State: 67:[35, 68], Operations: ['30+16=46', '22+46=68']
Exploring Operation: 35+68=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 35*68=2380, Resulting Numbers: [2380]
2380,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:[22, 81], Operations: ['30+16=46', '35+46=81']
Exploring Operation: 22*81=1782, Resulting Numbers: [1782]
1782,67 unequal: No Solution
Exploring Operation: 22+81=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,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:[46, 13], Operations: ['30+16=46', '35-22=13']
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 46+13=59, Resulting Numbers: [59]
59,67 unequal: No Solution
Exploring Operation: 46*13=598, Resulting Numbers: [598]
598,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:[35, 24], Operations: ['30+16=46', '46-22=24']
Exploring Operation: 35*24=840, Resulting Numbers: [840]
840,67 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,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 | mult_heuristic |
[
9,
12,
21,
67
] | 49 | [
"12-9=3",
"67-21=46",
"3+46=49"
] | Current State: 49:[9, 12, 21, 67], Operations: []
Exploring Operation: 12-9=3, Resulting Numbers: [21, 67, 3]
Generated Node #2: [21, 67, 3] from Operation: 12-9=3
Current State: 49:[21, 67, 3], Operations: ['12-9=3']
Exploring Operation: 67-21=46, Resulting Numbers: [3, 46]
Generated Node #3: [3, 46] from Operation: 67-21=46
Current State: 49:[3, 46], Operations: ['12-9=3', '67-21=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[9, 12, 21, 67], Operations: []
Exploring Operation: 67-9=58, Resulting Numbers: [12, 21, 58]
Generated Node #0,0: 49:[12, 21, 58] Operation: 67-9=58
Exploring Operation: 67-12=55, Resulting Numbers: [9, 21, 55]
Generated Node #0,1: 49:[9, 21, 55] Operation: 67-12=55
Exploring Operation: 21-12=9, Resulting Numbers: [9, 67, 9]
Generated Node #0,2: 49:[9, 67, 9] Operation: 21-12=9
Exploring Operation: 21-9=12, Resulting Numbers: [12, 67, 12]
Generated Node #0,3: 49:[12, 67, 12] Operation: 21-9=12
Exploring Operation: 67-21=46, Resulting Numbers: [9, 12, 46]
Generated Node #0,4: 49:[9, 12, 46] Operation: 67-21=46
Start Sub Search at level 1: Moving to Node #0,4
Current State: 49:[9, 12, 46], Operations: ['67-21=46']
Exploring Operation: 12-9=3, Resulting Numbers: [46, 3]
Generated Node #0,4,0: 49:[46, 3] Operation: 12-9=3
Exploring Operation: 9+12=21, Resulting Numbers: [46, 21]
Generated Node #0,4,1: 49:[46, 21] Operation: 9+12=21
Exploring Operation: 46-9=37, Resulting Numbers: [12, 37]
Generated Node #0,4,2: 49:[12, 37] Operation: 46-9=37
Exploring Operation: 9+46=55, Resulting Numbers: [12, 55]
Generated Node #0,4,3: 49:[12, 55] Operation: 9+46=55
Exploring Operation: 12+46=58, Resulting Numbers: [9, 58]
Generated Node #0,4,4: 49:[9, 58] Operation: 12+46=58
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 49:[46, 3], Operations: ['67-21=46', '12-9=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,49 unequal: No Solution
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[9, 12, 21, 67], Operations: []
Exploring Operation: 67-21=46, Resulting Numbers: [9, 12, 46]
Generated Node #0,4: 49:[9, 12, 46] Operation: 67-21=46
Moving to Node #0,4
Current State: 49:[9, 12, 46], Operations: ['67-21=46']
Exploring Operation: 12-9=3, Resulting Numbers: [46, 3]
Generated Node #0,4,0: 49:[46, 3] Operation: 12-9=3
Moving to Node #0,4,0
Current State: 49:[46, 3], Operations: ['67-21=46', '12-9=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
9,
52,
99,
15
] | 48 | [
"99/9=11",
"52-15=37",
"11+37=48"
] | Current State: 48:[9, 52, 99, 15], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [52, 15, 11]
Generated Node #2: [52, 15, 11] from Operation: 99/9=11
Current State: 48:[52, 15, 11], Operations: ['99/9=11']
Exploring Operation: 52-15=37, Resulting Numbers: [11, 37]
Generated Node #3: [11, 37] from Operation: 52-15=37
Current State: 48:[11, 37], Operations: ['99/9=11', '52-15=37']
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[9, 52, 99, 15], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [9, 52, 84]
Generated Node #0,0: 48:[9, 52, 84] Operation: 99-15=84
Exploring Operation: 99-52=47, Resulting Numbers: [9, 15, 47]
Generated Node #0,1: 48:[9, 15, 47] Operation: 99-52=47
Exploring Operation: 99/9=11, Resulting Numbers: [52, 15, 11]
Generated Node #0,2: 48:[52, 15, 11] Operation: 99/9=11
Moving to Node #0,1
Current State: 48:[9, 15, 47], Operations: ['99-52=47']
Exploring Operation: 15-9=6, Resulting Numbers: [47, 6]
Generated Node #0,1,0: 48:[47, 6] Operation: 15-9=6
Exploring Operation: 9+47=56, Resulting Numbers: [15, 56]
Generated Node #0,1,1: 48:[15, 56] Operation: 9+47=56
Exploring Operation: 9+15=24, Resulting Numbers: [47, 24]
Generated Node #0,1,2: 48:[47, 24] Operation: 9+15=24
Moving to Node #0,2
Current State: 48:[52, 15, 11], Operations: ['99/9=11']
Exploring Operation: 15+11=26, Resulting Numbers: [52, 26]
Generated Node #0,2,0: 48:[52, 26] Operation: 15+11=26
Exploring Operation: 15-11=4, Resulting Numbers: [52, 4]
Generated Node #0,2,1: 48:[52, 4] Operation: 15-11=4
Exploring Operation: 52-11=41, Resulting Numbers: [15, 41]
Generated Node #0,2,2: 48:[15, 41] Operation: 52-11=41
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 48:[52, 4], Operations: ['99/9=11', '15-11=4']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[9, 52, 99, 15], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [52, 15, 11]
Generated Node #0,2: 48:[52, 15, 11] Operation: 99/9=11
Moving to Node #0,2
Current State: 48:[52, 15, 11], Operations: ['99/9=11']
Exploring Operation: 15-11=4, Resulting Numbers: [52, 4]
Generated Node #0,2,1: 48:[52, 4] Operation: 15-11=4
Moving to Node #0,2,1
Current State: 48:[52, 4], Operations: ['99/9=11', '15-11=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
15,
37,
99,
67
] | 97 | [
"67-37=30",
"30/15=2",
"99-2=97"
] | Current State: 97:[15, 37, 99, 67], Operations: []
Exploring Operation: 67-37=30, Resulting Numbers: [15, 99, 30]
Generated Node #2: [15, 99, 30] from Operation: 67-37=30
Current State: 97:[15, 99, 30], Operations: ['67-37=30']
Exploring Operation: 30/15=2, Resulting Numbers: [99, 2]
Generated Node #3: [99, 2] from Operation: 30/15=2
Current State: 97:[99, 2], Operations: ['67-37=30', '30/15=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[15, 37, 99, 67], Operations: []
Exploring Operation: 37+67=104, Resulting Numbers: [15, 99, 104]
Generated Node #0,0: 97:[15, 99, 104] Operation: 37+67=104
Exploring Operation: 15+67=82, Resulting Numbers: [37, 99, 82]
Generated Node #0,1: 97:[37, 99, 82] Operation: 15+67=82
Exploring Operation: 15+37=52, Resulting Numbers: [99, 67, 52]
Generated Node #0,2: 97:[99, 67, 52] Operation: 15+37=52
Moving to Node #0,1
Current State: 97:[37, 99, 82], Operations: ['15+67=82']
Exploring Operation: 99-37=62, Resulting Numbers: [82, 62]
Generated Node #0,1,0: 97:[82, 62] Operation: 99-37=62
Exploring Operation: 37+82=119, Resulting Numbers: [99, 119]
Generated Node #0,1,1: 97:[99, 119] Operation: 37+82=119
Exploring Operation: 37+99=136, Resulting Numbers: [82, 136]
Generated Node #0,1,2: 97:[82, 136] Operation: 37+99=136
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[99, 119], Operations: ['15+67=82', '37+82=119']
Exploring Operation: 99*119=11781, Resulting Numbers: [11781]
11781,97 unequal: No Solution
Exploring Operation: 99+119=218, Resulting Numbers: [218]
218,97 unequal: No Solution
Exploring Operation: 119-99=20, Resulting Numbers: [20]
20,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,0
Current State: 97:[82, 62], Operations: ['15+67=82', '99-37=62']
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 82*62=5084, Resulting Numbers: [5084]
5084,97 unequal: No Solution
Exploring Operation: 82+62=144, Resulting Numbers: [144]
144,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,2
Current State: 97:[82, 136], Operations: ['15+67=82', '37+99=136']
Exploring Operation: 82+136=218, Resulting Numbers: [218]
218,97 unequal: No Solution
Exploring Operation: 82*136=11152, Resulting Numbers: [11152]
11152,97 unequal: No Solution
Exploring Operation: 136-82=54, Resulting Numbers: [54]
54,97 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: 97:[99, 67, 52], Operations: ['15+37=52']
Exploring Operation: 67+52=119, Resulting Numbers: [99, 119]
Generated Node #0,2,0: 97:[99, 119] Operation: 67+52=119
Exploring Operation: 99-52=47, Resulting Numbers: [67, 47]
Generated Node #0,2,1: 97:[67, 47] Operation: 99-52=47
Exploring Operation: 99+52=151, Resulting Numbers: [67, 151]
Generated Node #0,2,2: 97:[67, 151] Operation: 99+52=151
Moving to Node #0,0
Current State: 97:[15, 99, 104], Operations: ['37+67=104']
Exploring Operation: 99-15=84, Resulting Numbers: [104, 84]
Generated Node #0,0,0: 97:[104, 84] Operation: 99-15=84
Exploring Operation: 104-15=89, Resulting Numbers: [99, 89]
Generated Node #0,0,1: 97:[99, 89] Operation: 104-15=89
Exploring Operation: 15+99=114, Resulting Numbers: [104, 114]
Generated Node #0,0,2: 97:[104, 114] Operation: 15+99=114
Moving to Node #0,0,1
Current State: 97:[99, 89], Operations: ['37+67=104', '104-15=89']
Exploring Operation: 99*89=8811, Resulting Numbers: [8811]
8811,97 unequal: No Solution
Exploring Operation: 99-89=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 99+89=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[104, 84], Operations: ['37+67=104', '99-15=84']
Exploring Operation: 104+84=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 104-84=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 104*84=8736, Resulting Numbers: [8736]
8736,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[104, 114], Operations: ['37+67=104', '15+99=114']
Exploring Operation: 104*114=11856, Resulting Numbers: [11856]
11856,97 unequal: No Solution
Exploring Operation: 114-104=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 104+114=218, Resulting Numbers: [218]
218,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[99, 119], Operations: ['15+37=52', '67+52=119']
Exploring Operation: 119-99=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 99+119=218, Resulting Numbers: [218]
218,97 unequal: No Solution
Exploring Operation: 99*119=11781, Resulting Numbers: [11781]
11781,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[67, 47], Operations: ['15+37=52', '99-52=47']
Exploring Operation: 67*47=3149, Resulting Numbers: [3149]
3149,97 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 67+47=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[67, 151], Operations: ['15+37=52', '99+52=151']
Exploring Operation: 67+151=218, Resulting Numbers: [218]
218,97 unequal: No Solution
Exploring Operation: 67*151=10117, Resulting Numbers: [10117]
10117,97 unequal: No Solution
Exploring Operation: 151-67=84, Resulting Numbers: [84]
84,97 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
28,
1,
7,
38
] | 60 | [
"28+1=29",
"38-7=31",
"29+31=60"
] | Current State: 60:[28, 1, 7, 38], Operations: []
Exploring Operation: 28+1=29, Resulting Numbers: [7, 38, 29]
Generated Node #2: [7, 38, 29] from Operation: 28+1=29
Current State: 60:[7, 38, 29], Operations: ['28+1=29']
Exploring Operation: 38-7=31, Resulting Numbers: [29, 31]
Generated Node #3: [29, 31] from Operation: 38-7=31
Current State: 60:[29, 31], Operations: ['28+1=29', '38-7=31']
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[28, 1, 7, 38], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [1, 7, 10]
Generated Node #0,0: 60:[1, 7, 10] Operation: 38-28=10
Exploring Operation: 38-7=31, Resulting Numbers: [28, 1, 31]
Generated Node #0,1: 60:[28, 1, 31] Operation: 38-7=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[1, 7, 10], Operations: ['38-28=10']
Exploring Operation: 7-1=6, Resulting Numbers: [10, 6]
Generated Node #0,0,0: 60:[10, 6] Operation: 7-1=6
Exploring Operation: 1*7=7, Resulting Numbers: [10, 7]
Generated Node #0,0,1: 60:[10, 7] Operation: 1*7=7
Moving to Node #0,0,0
Current State: 60:[10, 6], Operations: ['38-28=10', '7-1=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[28, 1, 7, 38], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [1, 7, 10]
Generated Node #0,0: 60:[1, 7, 10] Operation: 38-28=10
Moving to Node #0,0
Current State: 60:[1, 7, 10], Operations: ['38-28=10']
Exploring Operation: 7-1=6, Resulting Numbers: [10, 6]
Generated Node #0,0,0: 60:[10, 6] Operation: 7-1=6
Moving to Node #0,0,0
Current State: 60:[10, 6], Operations: ['38-28=10', '7-1=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
20,
69,
8,
54
] | 40 | [
"69-20=49",
"54-49=5",
"8*5=40"
] | Current State: 40:[20, 69, 8, 54], Operations: []
Exploring Operation: 69-20=49, Resulting Numbers: [8, 54, 49]
Generated Node #2: [8, 54, 49] from Operation: 69-20=49
Current State: 40:[8, 54, 49], Operations: ['69-20=49']
Exploring Operation: 54-49=5, Resulting Numbers: [8, 5]
Generated Node #3: [8, 5] from Operation: 54-49=5
Current State: 40:[8, 5], Operations: ['69-20=49', '54-49=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[20, 69, 8, 54], Operations: []
Exploring Operation: 54-8=46, Resulting Numbers: [20, 69, 46]
Generated Node #0,0: 40:[20, 69, 46] Operation: 54-8=46
Exploring Operation: 69-8=61, Resulting Numbers: [20, 54, 61]
Generated Node #0,1: 40:[20, 54, 61] Operation: 69-8=61
Exploring Operation: 54-20=34, Resulting Numbers: [69, 8, 34]
Generated Node #0,2: 40:[69, 8, 34] Operation: 54-20=34
Exploring Operation: 69-20=49, Resulting Numbers: [8, 54, 49]
Generated Node #0,3: 40:[8, 54, 49] Operation: 69-20=49
Exploring Operation: 69-54=15, Resulting Numbers: [20, 8, 15]
Generated Node #0,4: 40:[20, 8, 15] Operation: 69-54=15
Moving to Node #0,4
Current State: 40:[20, 8, 15], Operations: ['69-54=15']
Exploring Operation: 15-8=7, Resulting Numbers: [20, 7]
Generated Node #0,4,0: 40:[20, 7] Operation: 15-8=7
Exploring Operation: 8+15=23, Resulting Numbers: [20, 23]
Generated Node #0,4,1: 40:[20, 23] Operation: 8+15=23
Exploring Operation: 20-8=12, Resulting Numbers: [15, 12]
Generated Node #0,4,2: 40:[15, 12] Operation: 20-8=12
Exploring Operation: 20+15=35, Resulting Numbers: [8, 35]
Generated Node #0,4,3: 40:[8, 35] Operation: 20+15=35
Exploring Operation: 20-15=5, Resulting Numbers: [8, 5]
Generated Node #0,4,4: 40:[8, 5] Operation: 20-15=5
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 40:[8, 5], Operations: ['69-54=15', '20-15=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[20, 69, 8, 54], Operations: []
Exploring Operation: 69-54=15, Resulting Numbers: [20, 8, 15]
Generated Node #0,4: 40:[20, 8, 15] Operation: 69-54=15
Moving to Node #0,4
Current State: 40:[20, 8, 15], Operations: ['69-54=15']
Exploring Operation: 20-15=5, Resulting Numbers: [8, 5]
Generated Node #0,4,4: 40:[8, 5] Operation: 20-15=5
Moving to Node #0,4,4
Current State: 40:[8, 5], Operations: ['69-54=15', '20-15=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
96,
99,
93,
84
] | 51 | [
"96-93=3",
"99/3=33",
"84-33=51"
] | Current State: 51:[96, 99, 93, 84], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [99, 84, 3]
Generated Node #2: [99, 84, 3] from Operation: 96-93=3
Current State: 51:[99, 84, 3], Operations: ['96-93=3']
Exploring Operation: 99/3=33, Resulting Numbers: [84, 33]
Generated Node #3: [84, 33] from Operation: 99/3=33
Current State: 51:[84, 33], Operations: ['96-93=3', '99/3=33']
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[96, 99, 93, 84], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [99, 84, 3]
Generated Node #0,0: 51:[99, 84, 3] Operation: 96-93=3
Exploring Operation: 99-96=3, Resulting Numbers: [93, 84, 3]
Generated Node #0,1: 51:[93, 84, 3] Operation: 99-96=3
Exploring Operation: 99-93=6, Resulting Numbers: [96, 84, 6]
Generated Node #0,2: 51:[96, 84, 6] Operation: 99-93=6
Moving to Node #0,1
Current State: 51:[93, 84, 3], Operations: ['99-96=3']
Exploring Operation: 93/3=31, Resulting Numbers: [84, 31]
Generated Node #0,1,0: 51:[84, 31] Operation: 93/3=31
Exploring Operation: 84/3=28, Resulting Numbers: [93, 28]
Generated Node #0,1,1: 51:[93, 28] Operation: 84/3=28
Exploring Operation: 93-84=9, Resulting Numbers: [3, 9]
Generated Node #0,1,2: 51:[3, 9] Operation: 93-84=9
Moving to Node #0,0
Current State: 51:[99, 84, 3], Operations: ['96-93=3']
Exploring Operation: 84/3=28, Resulting Numbers: [99, 28]
Generated Node #0,0,0: 51:[99, 28] Operation: 84/3=28
Exploring Operation: 99-84=15, Resulting Numbers: [3, 15]
Generated Node #0,0,1: 51:[3, 15] Operation: 99-84=15
Exploring Operation: 99/3=33, Resulting Numbers: [84, 33]
Generated Node #0,0,2: 51:[84, 33] Operation: 99/3=33
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[3, 15], Operations: ['96-93=3', '99-84=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,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,0,2
Current State: 51:[84, 33], Operations: ['96-93=3', '99/3=33']
Exploring Operation: 84*33=2772, Resulting Numbers: [2772]
2772,51 unequal: No Solution
Exploring Operation: 84+33=117, Resulting Numbers: [117]
117,51 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[96, 99, 93, 84], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [99, 84, 3]
Generated Node #0,0: 51:[99, 84, 3] Operation: 96-93=3
Moving to Node #0,0
Current State: 51:[99, 84, 3], Operations: ['96-93=3']
Exploring Operation: 99/3=33, Resulting Numbers: [84, 33]
Generated Node #0,0,2: 51:[84, 33] Operation: 99/3=33
Moving to Node #0,0,2
Current State: 51:[84, 33], Operations: ['96-93=3', '99/3=33']
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
35,
61,
59,
1
] | 33 | [
"61-35=26",
"59*1=59",
"59-26=33"
] | Current State: 33:[35, 61, 59, 1], Operations: []
Exploring Operation: 61-35=26, Resulting Numbers: [59, 1, 26]
Generated Node #2: [59, 1, 26] from Operation: 61-35=26
Current State: 33:[59, 1, 26], Operations: ['61-35=26']
Exploring Operation: 59*1=59, Resulting Numbers: [26, 59]
Generated Node #3: [26, 59] from Operation: 59*1=59
Current State: 33:[26, 59], Operations: ['61-35=26', '59*1=59']
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[35, 61, 59, 1], Operations: []
Exploring Operation: 35-1=34, Resulting Numbers: [61, 59, 34]
Generated Node #0,0: 33:[61, 59, 34] Operation: 35-1=34
Exploring Operation: 61-1=60, Resulting Numbers: [35, 59, 60]
Generated Node #0,1: 33:[35, 59, 60] Operation: 61-1=60
Exploring Operation: 61-35=26, Resulting Numbers: [59, 1, 26]
Generated Node #0,2: 33:[59, 1, 26] Operation: 61-35=26
Exploring Operation: 61-59=2, Resulting Numbers: [35, 1, 2]
Generated Node #0,3: 33:[35, 1, 2] Operation: 61-59=2
Exploring Operation: 59-35=24, Resulting Numbers: [61, 1, 24]
Generated Node #0,4: 33:[61, 1, 24] Operation: 59-35=24
Moving to Node #0,3
Current State: 33:[35, 1, 2], Operations: ['61-59=2']
Exploring Operation: 35-1=34, Resulting Numbers: [2, 34]
Generated Node #0,3,0: 33:[2, 34] Operation: 35-1=34
Exploring Operation: 1+2=3, Resulting Numbers: [35, 3]
Generated Node #0,3,1: 33:[35, 3] Operation: 1+2=3
Exploring Operation: 35/1=35, Resulting Numbers: [2, 35]
Generated Node #0,3,2: 33:[2, 35] Operation: 35/1=35
Exploring Operation: 35*1=35, Resulting Numbers: [2, 35]
Generated Node #0,3,3: 33:[2, 35] Operation: 35*1=35
Exploring Operation: 35-2=33, Resulting Numbers: [1, 33]
Generated Node #0,3,4: 33:[1, 33] Operation: 35-2=33
Moving to Node #0,2
Current State: 33:[59, 1, 26], Operations: ['61-35=26']
Exploring Operation: 59-26=33, Resulting Numbers: [1, 33]
Generated Node #0,2,0: 33:[1, 33] Operation: 59-26=33
Exploring Operation: 1+26=27, Resulting Numbers: [59, 27]
Generated Node #0,2,1: 33:[59, 27] Operation: 1+26=27
Exploring Operation: 59/1=59, Resulting Numbers: [26, 59]
Generated Node #0,2,2: 33:[26, 59] Operation: 59/1=59
Exploring Operation: 59*1=59, Resulting Numbers: [26, 59]
Generated Node #0,2,3: 33:[26, 59] Operation: 59*1=59
Exploring Operation: 59-1=58, Resulting Numbers: [26, 58]
Generated Node #0,2,4: 33:[26, 58] Operation: 59-1=58
Moving to Node #0,4
Current State: 33:[61, 1, 24], Operations: ['59-35=24']
Exploring Operation: 61*1=61, Resulting Numbers: [24, 61]
Generated Node #0,4,0: 33:[24, 61] Operation: 61*1=61
Exploring Operation: 61-24=37, Resulting Numbers: [1, 37]
Generated Node #0,4,1: 33:[1, 37] Operation: 61-24=37
Exploring Operation: 61/1=61, Resulting Numbers: [24, 61]
Generated Node #0,4,2: 33:[24, 61] Operation: 61/1=61
Exploring Operation: 61-1=60, Resulting Numbers: [24, 60]
Generated Node #0,4,3: 33:[24, 60] Operation: 61-1=60
Exploring Operation: 1+24=25, Resulting Numbers: [61, 25]
Generated Node #0,4,4: 33:[61, 25] Operation: 1+24=25
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 33:[1, 37], Operations: ['59-35=24', '61-24=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,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,4,3
Current State: 33:[24, 60], Operations: ['59-35=24', '61-1=60']
Exploring Operation: 24+60=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 24*60=1440, Resulting Numbers: [1440]
1440,33 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,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,4,4
Current State: 33:[61, 25], Operations: ['59-35=24', '1+24=25']
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,33 unequal: No Solution
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,33 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,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,4,0
Current State: 33:[24, 61], Operations: ['59-35=24', '61*1=61']
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 24*61=1464, Resulting Numbers: [1464]
1464,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,4,2
Current State: 33:[24, 61], Operations: ['59-35=24', '61/1=61']
Exploring Operation: 24*61=1464, Resulting Numbers: [1464]
1464,33 unequal: No Solution
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,33 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: 33:[61, 59, 34], Operations: ['35-1=34']
Exploring Operation: 61+34=95, Resulting Numbers: [59, 95]
Generated Node #0,0,0: 33:[59, 95] Operation: 61+34=95
Exploring Operation: 61+59=120, Resulting Numbers: [34, 120]
Generated Node #0,0,1: 33:[34, 120] Operation: 61+59=120
Exploring Operation: 59-34=25, Resulting Numbers: [61, 25]
Generated Node #0,0,2: 33:[61, 25] Operation: 59-34=25
Exploring Operation: 61-34=27, Resulting Numbers: [59, 27]
Generated Node #0,0,3: 33:[59, 27] Operation: 61-34=27
Exploring Operation: 61-59=2, Resulting Numbers: [34, 2]
Generated Node #0,0,4: 33:[34, 2] Operation: 61-59=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 33:[34, 2], Operations: ['35-1=34', '61-59=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,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,0,3
Current State: 33:[59, 27], Operations: ['35-1=34', '61-34=27']
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 59*27=1593, Resulting Numbers: [1593]
1593,33 unequal: No Solution
Exploring Operation: 59+27=86, Resulting Numbers: [86]
86,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,0,2
Current State: 33:[61, 25], Operations: ['35-1=34', '59-34=25']
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,33 unequal: No Solution
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,33 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,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,0,0
Current State: 33:[59, 95], Operations: ['35-1=34', '61+34=95']
Exploring Operation: 59+95=154, Resulting Numbers: [154]
154,33 unequal: No Solution
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 59*95=5605, Resulting Numbers: [5605]
5605,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,0,1
Current State: 33:[34, 120], Operations: ['35-1=34', '61+59=120']
Exploring Operation: 34+120=154, Resulting Numbers: [154]
154,33 unequal: No Solution
Exploring Operation: 120-34=86, Resulting Numbers: [86]
86,33 unequal: No Solution
Exploring Operation: 34*120=4080, Resulting Numbers: [4080]
4080,33 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: 33:[35, 59, 60], Operations: ['61-1=60']
Exploring Operation: 60-59=1, Resulting Numbers: [35, 1]
Generated Node #0,1,0: 33:[35, 1] Operation: 60-59=1
Exploring Operation: 60-35=25, Resulting Numbers: [59, 25]
Generated Node #0,1,1: 33:[59, 25] Operation: 60-35=25
Exploring Operation: 59-35=24, Resulting Numbers: [60, 24]
Generated Node #0,1,2: 33:[60, 24] Operation: 59-35=24
Exploring Operation: 35+60=95, Resulting Numbers: [59, 95]
Generated Node #0,1,3: 33:[59, 95] Operation: 35+60=95
Exploring Operation: 35+59=94, Resulting Numbers: [60, 94]
Generated Node #0,1,4: 33:[60, 94] Operation: 35+59=94
Moving to Node #0,3,0
Current State: 33:[2, 34], Operations: ['61-59=2', '35-1=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Moving to Node #0,3,4
Current State: 33:[1, 33], Operations: ['61-59=2', '35-2=33']
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[35, 61, 59, 1], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [35, 1, 2]
Generated Node #0,3: 33:[35, 1, 2] Operation: 61-59=2
Moving to Node #0,3
Current State: 33:[35, 1, 2], Operations: ['61-59=2']
Exploring Operation: 35-2=33, Resulting Numbers: [1, 33]
Generated Node #0,3,4: 33:[1, 33] Operation: 35-2=33
Moving to Node #0,3,4
Current State: 33:[1, 33], Operations: ['61-59=2', '35-2=33']
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.938368 | hs_5 | sum_heuristic |
[
9,
98,
90,
7
] | 18 | [
"98/7=14",
"14-9=5",
"90/5=18"
] | Current State: 18:[9, 98, 90, 7], Operations: []
Exploring Operation: 98/7=14, Resulting Numbers: [9, 90, 14]
Generated Node #2: [9, 90, 14] from Operation: 98/7=14
Current State: 18:[9, 90, 14], Operations: ['98/7=14']
Exploring Operation: 14-9=5, Resulting Numbers: [90, 5]
Generated Node #3: [90, 5] from Operation: 14-9=5
Current State: 18:[90, 5], Operations: ['98/7=14', '14-9=5']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[9, 98, 90, 7], Operations: []
Exploring Operation: 98/7=14, Resulting Numbers: [9, 90, 14]
Generated Node #0,0: 18:[9, 90, 14] Operation: 98/7=14
Exploring Operation: 98-90=8, Resulting Numbers: [9, 7, 8]
Generated Node #0,1: 18:[9, 7, 8] Operation: 98-90=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[9, 7, 8], Operations: ['98-90=8']
Exploring Operation: 9-7=2, Resulting Numbers: [8, 2]
Generated Node #0,1,0: 18:[8, 2] Operation: 9-7=2
Exploring Operation: 8-7=1, Resulting Numbers: [9, 1]
Generated Node #0,1,1: 18:[9, 1] Operation: 8-7=1
Moving to Node #0,1,0
Current State: 18:[8, 2], Operations: ['98-90=8', '9-7=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[9, 1], Operations: ['98-90=8', '8-7=1']
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 9/1=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,0
Current State: 18:[9, 90, 14], Operations: ['98/7=14']
Exploring Operation: 90/9=10, Resulting Numbers: [14, 10]
Generated Node #0,0,0: 18:[14, 10] Operation: 90/9=10
Exploring Operation: 90-14=76, Resulting Numbers: [9, 76]
Generated Node #0,0,1: 18:[9, 76] Operation: 90-14=76
Moving to Node #0,0,0
Current State: 18:[14, 10], Operations: ['98/7=14', '90/9=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[9, 76], Operations: ['98/7=14', '90-14=76']
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 9+76=85, Resulting Numbers: [85]
85,18 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 |
[
66,
14,
35,
14
] | 44 | [
"66*14=924",
"35-14=21",
"924/21=44"
] | Current State: 44:[66, 14, 35, 14], Operations: []
Exploring Operation: 66*14=924, Resulting Numbers: [35, 924]
Generated Node #2: [35, 924] from Operation: 66*14=924
Current State: 44:[35, 924], Operations: ['66*14=924']
Exploring Operation: 35-14=21, Resulting Numbers: [924, 21]
Generated Node #3: [924, 21] from Operation: 35-14=21
Current State: 44:[924, 21], Operations: ['66*14=924', '35-14=21']
Exploring Operation: 924/21=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[66, 14, 35, 14], Operations: []
Exploring Operation: 35-14=21, Resulting Numbers: [66, 14, 21]
Generated Node #0,0: 44:[66, 14, 21] Operation: 35-14=21
Exploring Operation: 66-14=52, Resulting Numbers: [14, 35, 52]
Generated Node #0,1: 44:[14, 35, 52] Operation: 66-14=52
Exploring Operation: 66-14=52, Resulting Numbers: [35, 14, 52]
Generated Node #0,2: 44:[35, 14, 52] Operation: 66-14=52
Exploring Operation: 66-35=31, Resulting Numbers: [14, 14, 31]
Generated Node #0,3: 44:[14, 14, 31] Operation: 66-35=31
Exploring Operation: 35-14=21, Resulting Numbers: [66, 14, 21]
Generated Node #0,4: 44:[66, 14, 21] Operation: 35-14=21
Moving to Node #0,3
Current State: 44:[14, 14, 31], Operations: ['66-35=31']
Exploring Operation: 14+31=45, Resulting Numbers: [14, 45]
Generated Node #0,3,0: 44:[14, 45] Operation: 14+31=45
Exploring Operation: 31-14=17, Resulting Numbers: [14, 17]
Generated Node #0,3,1: 44:[14, 17] Operation: 31-14=17
Exploring Operation: 14+31=45, Resulting Numbers: [14, 45]
Generated Node #0,3,2: 44:[14, 45] Operation: 14+31=45
Exploring Operation: 14/14=1, Resulting Numbers: [31, 1]
Generated Node #0,3,3: 44:[31, 1] Operation: 14/14=1
Exploring Operation: 31-14=17, Resulting Numbers: [14, 17]
Generated Node #0,3,4: 44:[14, 17] Operation: 31-14=17
Moving to Node #0,2
Current State: 44:[35, 14, 52], Operations: ['66-14=52']
Exploring Operation: 35+14=49, Resulting Numbers: [52, 49]
Generated Node #0,2,0: 44:[52, 49] Operation: 35+14=49
Exploring Operation: 14+52=66, Resulting Numbers: [35, 66]
Generated Node #0,2,1: 44:[35, 66] Operation: 14+52=66
Exploring Operation: 35-14=21, Resulting Numbers: [52, 21]
Generated Node #0,2,2: 44:[52, 21] Operation: 35-14=21
Exploring Operation: 52-35=17, Resulting Numbers: [14, 17]
Generated Node #0,2,3: 44:[14, 17] Operation: 52-35=17
Exploring Operation: 52-14=38, Resulting Numbers: [35, 38]
Generated Node #0,2,4: 44:[35, 38] Operation: 52-14=38
Moving to Node #0,1
Current State: 44:[14, 35, 52], Operations: ['66-14=52']
Exploring Operation: 14+35=49, Resulting Numbers: [52, 49]
Generated Node #0,1,0: 44:[52, 49] Operation: 14+35=49
Exploring Operation: 52-35=17, Resulting Numbers: [14, 17]
Generated Node #0,1,1: 44:[14, 17] Operation: 52-35=17
Exploring Operation: 52-14=38, Resulting Numbers: [35, 38]
Generated Node #0,1,2: 44:[35, 38] Operation: 52-14=38
Exploring Operation: 35-14=21, Resulting Numbers: [52, 21]
Generated Node #0,1,3: 44:[52, 21] Operation: 35-14=21
Exploring Operation: 14+52=66, Resulting Numbers: [35, 66]
Generated Node #0,1,4: 44:[35, 66] Operation: 14+52=66
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[14, 17], Operations: ['66-14=52', '52-35=17']
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,44 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,44 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: 44:[52, 21], Operations: ['66-14=52', '35-14=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,44 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,44 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: 44:[52, 49], Operations: ['66-14=52', '14+35=49']
Exploring Operation: 52*49=2548, Resulting Numbers: [2548]
2548,44 unequal: No Solution
Exploring Operation: 52+49=101, Resulting Numbers: [101]
101,44 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,44 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: 44:[35, 38], Operations: ['66-14=52', '52-14=38']
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,44 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: 44:[35, 66], Operations: ['66-14=52', '14+52=66']
Exploring Operation: 35*66=2310, Resulting Numbers: [2310]
2310,44 unequal: No Solution
Exploring Operation: 35+66=101, Resulting Numbers: [101]
101,44 unequal: No Solution
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,44 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: 44:[66, 14, 21], Operations: ['35-14=21']
Exploring Operation: 66+14=80, Resulting Numbers: [21, 80]
Generated Node #0,0,0: 44:[21, 80] Operation: 66+14=80
Exploring Operation: 14+21=35, Resulting Numbers: [66, 35]
Generated Node #0,0,1: 44:[66, 35] Operation: 14+21=35
Exploring Operation: 66-14=52, Resulting Numbers: [21, 52]
Generated Node #0,0,2: 44:[21, 52] Operation: 66-14=52
Exploring Operation: 21-14=7, Resulting Numbers: [66, 7]
Generated Node #0,0,3: 44:[66, 7] Operation: 21-14=7
Exploring Operation: 66-21=45, Resulting Numbers: [14, 45]
Generated Node #0,0,4: 44:[14, 45] Operation: 66-21=45
Moving to Node #0,4
Current State: 44:[66, 14, 21], Operations: ['35-14=21']
Exploring Operation: 66+14=80, Resulting Numbers: [21, 80]
Generated Node #0,4,0: 44:[21, 80] Operation: 66+14=80
Exploring Operation: 14+21=35, Resulting Numbers: [66, 35]
Generated Node #0,4,1: 44:[66, 35] Operation: 14+21=35
Exploring Operation: 21-14=7, Resulting Numbers: [66, 7]
Generated Node #0,4,2: 44:[66, 7] Operation: 21-14=7
Exploring Operation: 66-21=45, Resulting Numbers: [14, 45]
Generated Node #0,4,3: 44:[14, 45] Operation: 66-21=45
Exploring Operation: 66-14=52, Resulting Numbers: [21, 52]
Generated Node #0,4,4: 44:[21, 52] Operation: 66-14=52
Moving to Node #0,3,0
Current State: 44:[14, 45], Operations: ['66-35=31', '14+31=45']
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,44 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Moving to Node #0,3,2
Current State: 44:[14, 45], Operations: ['66-35=31', '14+31=45']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,44 unequal: No Solution
Moving to Node #0,0,4
Current State: 44:[14, 45], Operations: ['35-14=21', '66-21=45']
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,44 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Moving to Node #0,4,3
Current State: 44:[14, 45], Operations: ['35-14=21', '66-21=45']
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,44 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Moving to Node #0,3,1
Current State: 44:[14, 17], Operations: ['66-35=31', '31-14=17']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,44 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[14, 17], Operations: ['66-14=52', '52-35=17']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,44 unequal: No Solution
Moving to Node #0,3,4
Current State: 44:[14, 17], Operations: ['66-35=31', '31-14=17']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,44 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[52, 21], Operations: ['66-14=52', '35-14=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[21, 52], Operations: ['35-14=21', '66-14=52']
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,44 unequal: No Solution
Moving to Node #0,4,4
Current State: 44:[21, 52], Operations: ['35-14=21', '66-14=52']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,44 unequal: No Solution
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Moving to Node #0,3,3
Current State: 44:[31, 1], Operations: ['66-35=31', '14/14=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[52, 49], Operations: ['66-14=52', '35+14=49']
Exploring Operation: 52*49=2548, Resulting Numbers: [2548]
2548,44 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 52+49=101, Resulting Numbers: [101]
101,44 unequal: No Solution
Moving to Node #0,2,4
Current State: 44:[35, 38], Operations: ['66-14=52', '52-14=38']
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,44 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Moving to Node #0,4,2
Current State: 44:[66, 7], Operations: ['35-14=21', '21-14=7']
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,44 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[66, 7], Operations: ['35-14=21', '21-14=7']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,44 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[66, 35], Operations: ['35-14=21', '14+21=35']
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 66*35=2310, Resulting Numbers: [2310]
2310,44 unequal: No Solution
Exploring Operation: 66+35=101, Resulting Numbers: [101]
101,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[35, 66], Operations: ['66-14=52', '14+52=66']
Exploring Operation: 35*66=2310, Resulting Numbers: [2310]
2310,44 unequal: No Solution
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 35+66=101, Resulting Numbers: [101]
101,44 unequal: No Solution
Moving to Node #0,4,1
Current State: 44:[66, 35], Operations: ['35-14=21', '14+21=35']
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 66+35=101, Resulting Numbers: [101]
101,44 unequal: No Solution
Exploring Operation: 66*35=2310, Resulting Numbers: [2310]
2310,44 unequal: No Solution
Moving to Node #0,4,0
Current State: 44:[21, 80], Operations: ['35-14=21', '66+14=80']
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 21+80=101, Resulting Numbers: [101]
101,44 unequal: No Solution
Exploring Operation: 21*80=1680, Resulting Numbers: [1680]
1680,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[21, 80], Operations: ['35-14=21', '66+14=80']
Exploring Operation: 21*80=1680, Resulting Numbers: [1680]
1680,44 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 21+80=101, Resulting Numbers: [101]
101,44 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
88,
77,
16,
72
] | 47 | [
"77*72=5544",
"5544/88=63",
"63-16=47"
] | Current State: 47:[88, 77, 16, 72], Operations: []
Exploring Operation: 77*72=5544, Resulting Numbers: [88, 16, 5544]
Generated Node #2: [88, 16, 5544] from Operation: 77*72=5544
Current State: 47:[88, 16, 5544], Operations: ['77*72=5544']
Exploring Operation: 5544/88=63, Resulting Numbers: [16, 63]
Generated Node #3: [16, 63] from Operation: 5544/88=63
Current State: 47:[16, 63], Operations: ['77*72=5544', '5544/88=63']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[88, 77, 16, 72], Operations: []
Exploring Operation: 88-16=72, Resulting Numbers: [77, 72, 72]
Generated Node #0,0: 47:[77, 72, 72] Operation: 88-16=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[77, 72, 72], Operations: ['88-16=72']
Exploring Operation: 77-72=5, Resulting Numbers: [72, 5]
Generated Node #0,0,0: 47:[72, 5] Operation: 77-72=5
Moving to Node #0,0,0
Current State: 47:[72, 5], Operations: ['88-16=72', '77-72=5']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,47 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 |
[
28,
2,
65,
22
] | 55 | [
"28-2=26",
"65*22=1430",
"1430/26=55"
] | Current State: 55:[28, 2, 65, 22], Operations: []
Exploring Operation: 28-2=26, Resulting Numbers: [65, 22, 26]
Generated Node #2: [65, 22, 26] from Operation: 28-2=26
Current State: 55:[65, 22, 26], Operations: ['28-2=26']
Exploring Operation: 65*22=1430, Resulting Numbers: [26, 1430]
Generated Node #3: [26, 1430] from Operation: 65*22=1430
Current State: 55:[26, 1430], Operations: ['28-2=26', '65*22=1430']
Exploring Operation: 1430/26=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[28, 2, 65, 22], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [2, 65, 6]
Generated Node #0,0: 55:[2, 65, 6] Operation: 28-22=6
Exploring Operation: 28+22=50, Resulting Numbers: [2, 65, 50]
Generated Node #0,1: 55:[2, 65, 50] Operation: 28+22=50
Exploring Operation: 28*2=56, Resulting Numbers: [65, 22, 56]
Generated Node #0,2: 55:[65, 22, 56] Operation: 28*2=56
Moving to Node #0,0
Current State: 55:[2, 65, 6], Operations: ['28-22=6']
Exploring Operation: 65-2=63, Resulting Numbers: [6, 63]
Generated Node #0,0,0: 55:[6, 63] Operation: 65-2=63
Exploring Operation: 2*6=12, Resulting Numbers: [65, 12]
Generated Node #0,0,1: 55:[65, 12] Operation: 2*6=12
Exploring Operation: 65-6=59, Resulting Numbers: [2, 59]
Generated Node #0,0,2: 55:[2, 59] Operation: 65-6=59
Moving to Node #0,1
Current State: 55:[2, 65, 50], Operations: ['28+22=50']
Exploring Operation: 65-2=63, Resulting Numbers: [50, 63]
Generated Node #0,1,0: 55:[50, 63] Operation: 65-2=63
Exploring Operation: 2+50=52, Resulting Numbers: [65, 52]
Generated Node #0,1,1: 55:[65, 52] Operation: 2+50=52
Exploring Operation: 65-50=15, Resulting Numbers: [2, 15]
Generated Node #0,1,2: 55:[2, 15] Operation: 65-50=15
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[2, 15], Operations: ['28+22=50', '65-50=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,55 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: 55:[50, 63], Operations: ['28+22=50', '65-2=63']
Exploring Operation: 50+63=113, Resulting Numbers: [113]
113,55 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 50*63=3150, Resulting Numbers: [3150]
3150,55 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: 55:[65, 52], Operations: ['28+22=50', '2+50=52']
Exploring Operation: 65*52=3380, Resulting Numbers: [3380]
3380,55 unequal: No Solution
Exploring Operation: 65+52=117, Resulting Numbers: [117]
117,55 unequal: No Solution
Exploring Operation: 65-52=13, Resulting Numbers: [13]
13,55 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: 55:[65, 22, 56], Operations: ['28*2=56']
Exploring Operation: 56-22=34, Resulting Numbers: [65, 34]
Generated Node #0,2,0: 55:[65, 34] Operation: 56-22=34
Exploring Operation: 65-22=43, Resulting Numbers: [56, 43]
Generated Node #0,2,1: 55:[56, 43] Operation: 65-22=43
Exploring Operation: 65-56=9, Resulting Numbers: [22, 9]
Generated Node #0,2,2: 55:[22, 9] Operation: 65-56=9
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[56, 43], Operations: ['28*2=56', '65-22=43']
Exploring Operation: 56*43=2408, Resulting Numbers: [2408]
2408,55 unequal: No Solution
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 56+43=99, Resulting Numbers: [99]
99,55 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: 55:[22, 9], Operations: ['28*2=56', '65-56=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,55 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,55 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: 55:[65, 34], Operations: ['28*2=56', '56-22=34']
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,55 unequal: No Solution
Exploring Operation: 65*34=2210, Resulting Numbers: [2210]
2210,55 unequal: No Solution
Exploring Operation: 65+34=99, Resulting Numbers: [99]
99,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 55:[2, 59], Operations: ['28-22=6', '65-6=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[6, 63], Operations: ['28-22=6', '65-2=63']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,55 unequal: No Solution
Exploring Operation: 6*63=378, Resulting Numbers: [378]
378,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[65, 12], Operations: ['28-22=6', '2*6=12']
Exploring Operation: 65*12=780, Resulting Numbers: [780]
780,55 unequal: No Solution
Exploring Operation: 65+12=77, Resulting Numbers: [77]
77,55 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,55 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
16,
83,
55,
8
] | 69 | [
"16/8=2",
"83+55=138",
"138/2=69"
] | Current State: 69:[16, 83, 55, 8], Operations: []
Exploring Operation: 16/8=2, Resulting Numbers: [83, 55, 2]
Generated Node #2: [83, 55, 2] from Operation: 16/8=2
Current State: 69:[83, 55, 2], Operations: ['16/8=2']
Exploring Operation: 83+55=138, Resulting Numbers: [2, 138]
Generated Node #3: [2, 138] from Operation: 83+55=138
Current State: 69:[2, 138], Operations: ['16/8=2', '83+55=138']
Exploring Operation: 138/2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[16, 83, 55, 8], Operations: []
Exploring Operation: 83-16=67, Resulting Numbers: [55, 8, 67]
Generated Node #0,0: 69:[55, 8, 67] Operation: 83-16=67
Exploring Operation: 83-55=28, Resulting Numbers: [16, 8, 28]
Generated Node #0,1: 69:[16, 8, 28] Operation: 83-55=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[16, 8, 28], Operations: ['83-55=28']
Exploring Operation: 16/8=2, Resulting Numbers: [28, 2]
Generated Node #0,1,0: 69:[28, 2] Operation: 16/8=2
Exploring Operation: 16+8=24, Resulting Numbers: [28, 24]
Generated Node #0,1,1: 69:[28, 24] Operation: 16+8=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[28, 2], Operations: ['83-55=28', '16/8=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,69 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: 69:[28, 24], Operations: ['83-55=28', '16+8=24']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,69 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: 69:[55, 8, 67], Operations: ['83-16=67']
Exploring Operation: 55+8=63, Resulting Numbers: [67, 63]
Generated Node #0,0,0: 69:[67, 63] Operation: 55+8=63
Exploring Operation: 67-55=12, Resulting Numbers: [8, 12]
Generated Node #0,0,1: 69:[8, 12] Operation: 67-55=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[67, 63], Operations: ['83-16=67', '55+8=63']
Exploring Operation: 67+63=130, Resulting Numbers: [130]
130,69 unequal: No Solution
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,69 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: 69:[8, 12], Operations: ['83-16=67', '67-55=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,69 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_2 | mult_heuristic |
[
32,
28,
57,
67
] | 50 | [
"32+28=60",
"67-57=10",
"60-10=50"
] | Current State: 50:[32, 28, 57, 67], Operations: []
Exploring Operation: 32+28=60, Resulting Numbers: [57, 67, 60]
Generated Node #2: [57, 67, 60] from Operation: 32+28=60
Current State: 50:[57, 67, 60], Operations: ['32+28=60']
Exploring Operation: 67-57=10, Resulting Numbers: [60, 10]
Generated Node #3: [60, 10] from Operation: 67-57=10
Current State: 50:[60, 10], Operations: ['32+28=60', '67-57=10']
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[32, 28, 57, 67], Operations: []
Exploring Operation: 32-28=4, Resulting Numbers: [57, 67, 4]
Generated Node #0,0: 50:[57, 67, 4] Operation: 32-28=4
Exploring Operation: 67-57=10, Resulting Numbers: [32, 28, 10]
Generated Node #0,1: 50:[32, 28, 10] Operation: 67-57=10
Exploring Operation: 67-32=35, Resulting Numbers: [28, 57, 35]
Generated Node #0,2: 50:[28, 57, 35] Operation: 67-32=35
Exploring Operation: 67-28=39, Resulting Numbers: [32, 57, 39]
Generated Node #0,3: 50:[32, 57, 39] Operation: 67-28=39
Exploring Operation: 57-32=25, Resulting Numbers: [28, 67, 25]
Generated Node #0,4: 50:[28, 67, 25] Operation: 57-32=25
Moving to Node #0,1
Current State: 50:[32, 28, 10], Operations: ['67-57=10']
Exploring Operation: 28-10=18, Resulting Numbers: [32, 18]
Generated Node #0,1,0: 50:[32, 18] Operation: 28-10=18
Exploring Operation: 32-28=4, Resulting Numbers: [10, 4]
Generated Node #0,1,1: 50:[10, 4] Operation: 32-28=4
Exploring Operation: 32+10=42, Resulting Numbers: [28, 42]
Generated Node #0,1,2: 50:[28, 42] Operation: 32+10=42
Exploring Operation: 32-10=22, Resulting Numbers: [28, 22]
Generated Node #0,1,3: 50:[28, 22] Operation: 32-10=22
Exploring Operation: 32+28=60, Resulting Numbers: [10, 60]
Generated Node #0,1,4: 50:[10, 60] Operation: 32+28=60
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[10, 4], Operations: ['67-57=10', '32-28=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,50 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: 50:[28, 22], Operations: ['67-57=10', '32-10=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[32, 28, 57, 67], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [32, 28, 10]
Generated Node #0,1: 50:[32, 28, 10] Operation: 67-57=10
Moving to Node #0,1
Current State: 50:[32, 28, 10], Operations: ['67-57=10']
Exploring Operation: 32-10=22, Resulting Numbers: [28, 22]
Generated Node #0,1,3: 50:[28, 22] Operation: 32-10=22
Moving to Node #0,1,3
Current State: 50:[28, 22], Operations: ['67-57=10', '32-10=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
52,
5,
17,
85
] | 18 | [
"52-17=35",
"85/5=17",
"35-17=18"
] | Current State: 18:[52, 5, 17, 85], Operations: []
Exploring Operation: 52-17=35, Resulting Numbers: [5, 85, 35]
Generated Node #2: [5, 85, 35] from Operation: 52-17=35
Current State: 18:[5, 85, 35], Operations: ['52-17=35']
Exploring Operation: 85/5=17, Resulting Numbers: [35, 17]
Generated Node #3: [35, 17] from Operation: 85/5=17
Current State: 18:[35, 17], Operations: ['52-17=35', '85/5=17']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[52, 5, 17, 85], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [52, 17, 17]
Generated Node #0,0: 18:[52, 17, 17] Operation: 85/5=17
Exploring Operation: 85-52=33, Resulting Numbers: [5, 17, 33]
Generated Node #0,1: 18:[5, 17, 33] Operation: 85-52=33
Exploring Operation: 85/17=5, Resulting Numbers: [52, 5, 5]
Generated Node #0,2: 18:[52, 5, 5] Operation: 85/17=5
Moving to Node #0,1
Current State: 18:[5, 17, 33], Operations: ['85-52=33']
Exploring Operation: 33-5=28, Resulting Numbers: [17, 28]
Generated Node #0,1,0: 18:[17, 28] Operation: 33-5=28
Exploring Operation: 33-17=16, Resulting Numbers: [5, 16]
Generated Node #0,1,1: 18:[5, 16] Operation: 33-17=16
Exploring Operation: 17-5=12, Resulting Numbers: [33, 12]
Generated Node #0,1,2: 18:[33, 12] Operation: 17-5=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[5, 16], Operations: ['85-52=33', '33-17=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,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,1,0
Current State: 18:[17, 28], Operations: ['85-52=33', '33-5=28']
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,18 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,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,1,2
Current State: 18:[33, 12], Operations: ['85-52=33', '17-5=12']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,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:[52, 17, 17], Operations: ['85/5=17']
Exploring Operation: 17/17=1, Resulting Numbers: [52, 1]
Generated Node #0,0,0: 18:[52, 1] Operation: 17/17=1
Exploring Operation: 52-17=35, Resulting Numbers: [17, 35]
Generated Node #0,0,1: 18:[17, 35] Operation: 52-17=35
Exploring Operation: 52-17=35, Resulting Numbers: [17, 35]
Generated Node #0,0,2: 18:[17, 35] Operation: 52-17=35
Moving to Node #0,2
Current State: 18:[52, 5, 5], Operations: ['85/17=5']
Exploring Operation: 52-5=47, Resulting Numbers: [5, 47]
Generated Node #0,2,0: 18:[5, 47] Operation: 52-5=47
Exploring Operation: 52-5=47, Resulting Numbers: [5, 47]
Generated Node #0,2,1: 18:[5, 47] Operation: 52-5=47
Exploring Operation: 5+5=10, Resulting Numbers: [52, 10]
Generated Node #0,2,2: 18:[52, 10] Operation: 5+5=10
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[5, 47], Operations: ['85/17=5', '52-5=47']
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,18 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,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,2,1
Current State: 18:[5, 47], Operations: ['85/17=5', '52-5=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,18 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,18 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,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,2,2
Current State: 18:[52, 10], Operations: ['85/17=5', '5+5=10']
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,18 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 18:[17, 35], Operations: ['85/5=17', '52-17=35']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[52, 5, 17, 85], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [52, 17, 17]
Generated Node #0,0: 18:[52, 17, 17] Operation: 85/5=17
Moving to Node #0,0
Current State: 18:[52, 17, 17], Operations: ['85/5=17']
Exploring Operation: 52-17=35, Resulting Numbers: [17, 35]
Generated Node #0,0,1: 18:[17, 35] Operation: 52-17=35
Moving to Node #0,0,1
Current State: 18:[17, 35], Operations: ['85/5=17', '52-17=35']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.969618 | hs_3 | sum_heuristic |
[
61,
8,
17,
59
] | 13 | [
"61-59=2",
"8/2=4",
"17-4=13"
] | Current State: 13:[61, 8, 17, 59], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [8, 17, 2]
Generated Node #2: [8, 17, 2] from Operation: 61-59=2
Current State: 13:[8, 17, 2], Operations: ['61-59=2']
Exploring Operation: 8/2=4, Resulting Numbers: [17, 4]
Generated Node #3: [17, 4] from Operation: 8/2=4
Current State: 13:[17, 4], Operations: ['61-59=2', '8/2=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[61, 8, 17, 59], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [8, 17, 2]
Generated Node #0,0: 13:[8, 17, 2] Operation: 61-59=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[8, 17, 2], Operations: ['61-59=2']
Exploring Operation: 8+2=10, Resulting Numbers: [17, 10]
Generated Node #0,0,0: 13:[17, 10] Operation: 8+2=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[17, 10], Operations: ['61-59=2', '8+2=10']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,13 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 | mult_heuristic |
[
69,
7,
85,
80
] | 89 | [
"69+7=76",
"85+80=165",
"165-76=89"
] | Current State: 89:[69, 7, 85, 80], Operations: []
Exploring Operation: 69+7=76, Resulting Numbers: [85, 80, 76]
Generated Node #2: [85, 80, 76] from Operation: 69+7=76
Current State: 89:[85, 80, 76], Operations: ['69+7=76']
Exploring Operation: 85+80=165, Resulting Numbers: [76, 165]
Generated Node #3: [76, 165] from Operation: 85+80=165
Current State: 89:[76, 165], Operations: ['69+7=76', '85+80=165']
Exploring Operation: 165-76=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[69, 7, 85, 80], Operations: []
Exploring Operation: 69+7=76, Resulting Numbers: [85, 80, 76]
Generated Node #0,0: 89:[85, 80, 76] Operation: 69+7=76
Exploring Operation: 7+80=87, Resulting Numbers: [69, 85, 87]
Generated Node #0,1: 89:[69, 85, 87] Operation: 7+80=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[85, 80, 76], Operations: ['69+7=76']
Exploring Operation: 85+76=161, Resulting Numbers: [80, 161]
Generated Node #0,0,0: 89:[80, 161] Operation: 85+76=161
Exploring Operation: 80+76=156, Resulting Numbers: [85, 156]
Generated Node #0,0,1: 89:[85, 156] Operation: 80+76=156
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[85, 156], Operations: ['69+7=76', '80+76=156']
Exploring Operation: 85+156=241, Resulting Numbers: [241]
241,89 unequal: No Solution
Exploring Operation: 156-85=71, Resulting Numbers: [71]
71,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,0
Current State: 89:[80, 161], Operations: ['69+7=76', '85+76=161']
Exploring Operation: 161-80=81, Resulting Numbers: [81]
81,89 unequal: No Solution
Exploring Operation: 80+161=241, Resulting Numbers: [241]
241,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:[69, 85, 87], Operations: ['7+80=87']
Exploring Operation: 69+85=154, Resulting Numbers: [87, 154]
Generated Node #0,1,0: 89:[87, 154] Operation: 69+85=154
Exploring Operation: 69+87=156, Resulting Numbers: [85, 156]
Generated Node #0,1,1: 89:[85, 156] Operation: 69+87=156
Moving to Node #0,1,0
Current State: 89:[87, 154], Operations: ['7+80=87', '69+85=154']
Exploring Operation: 87+154=241, Resulting Numbers: [241]
241,89 unequal: No Solution
Exploring Operation: 154-87=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[85, 156], Operations: ['7+80=87', '69+87=156']
Exploring Operation: 156-85=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Exploring Operation: 85+156=241, Resulting Numbers: [241]
241,89 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 |
[
83,
67,
2,
38
] | 44 | [
"83-67=16",
"38-16=22",
"2*22=44"
] | Current State: 44:[83, 67, 2, 38], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [2, 38, 16]
Generated Node #2: [2, 38, 16] from Operation: 83-67=16
Current State: 44:[2, 38, 16], Operations: ['83-67=16']
Exploring Operation: 38-16=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 38-16=22
Current State: 44:[2, 22], Operations: ['83-67=16', '38-16=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[83, 67, 2, 38], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [2, 38, 16]
Generated Node #0,0: 44:[2, 38, 16] Operation: 83-67=16
Moving to Node #0,0
Current State: 44:[2, 38, 16], Operations: ['83-67=16']
Exploring Operation: 38-16=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 44:[2, 22] Operation: 38-16=22
Moving to Node #0,0,0
Current State: 44:[2, 22], Operations: ['83-67=16', '38-16=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[83, 67, 2, 38], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [2, 38, 16]
Generated Node #0,0: 44:[2, 38, 16] Operation: 83-67=16
Moving to Node #0,0
Current State: 44:[2, 38, 16], Operations: ['83-67=16']
Exploring Operation: 38-16=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 44:[2, 22] Operation: 38-16=22
Moving to Node #0,0,0
Current State: 44:[2, 22], Operations: ['83-67=16', '38-16=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
98,
83,
12,
90
] | 87 | [
"98-83=15",
"12+90=102",
"102-15=87"
] | Current State: 87:[98, 83, 12, 90], Operations: []
Exploring Operation: 98-83=15, Resulting Numbers: [12, 90, 15]
Generated Node #2: [12, 90, 15] from Operation: 98-83=15
Current State: 87:[12, 90, 15], Operations: ['98-83=15']
Exploring Operation: 12+90=102, Resulting Numbers: [15, 102]
Generated Node #3: [15, 102] from Operation: 12+90=102
Current State: 87:[15, 102], Operations: ['98-83=15', '12+90=102']
Exploring Operation: 102-15=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[98, 83, 12, 90], Operations: []
Exploring Operation: 98-12=86, Resulting Numbers: [83, 90, 86]
Generated Node #0,0: 87:[83, 90, 86] Operation: 98-12=86
Exploring Operation: 98-90=8, Resulting Numbers: [83, 12, 8]
Generated Node #0,1: 87:[83, 12, 8] Operation: 98-90=8
Moving to Node #0,0
Current State: 87:[83, 90, 86], Operations: ['98-12=86']
Exploring Operation: 90-83=7, Resulting Numbers: [86, 7]
Generated Node #0,0,0: 87:[86, 7] Operation: 90-83=7
Exploring Operation: 86-83=3, Resulting Numbers: [90, 3]
Generated Node #0,0,1: 87:[90, 3] Operation: 86-83=3
Moving to Node #0,1
Current State: 87:[83, 12, 8], Operations: ['98-90=8']
Exploring Operation: 83+12=95, Resulting Numbers: [8, 95]
Generated Node #0,1,0: 87:[8, 95] Operation: 83+12=95
Exploring Operation: 12-8=4, Resulting Numbers: [83, 4]
Generated Node #0,1,1: 87:[83, 4] Operation: 12-8=4
Moving to Node #0,0,1
Current State: 87:[90, 3], Operations: ['98-12=86', '86-83=3']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[98, 83, 12, 90], Operations: []
Exploring Operation: 98-12=86, Resulting Numbers: [83, 90, 86]
Generated Node #0,0: 87:[83, 90, 86] Operation: 98-12=86
Moving to Node #0,0
Current State: 87:[83, 90, 86], Operations: ['98-12=86']
Exploring Operation: 86-83=3, Resulting Numbers: [90, 3]
Generated Node #0,0,1: 87:[90, 3] Operation: 86-83=3
Moving to Node #0,0,1
Current State: 87:[90, 3], Operations: ['98-12=86', '86-83=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
81,
54,
1,
34
] | 52 | [
"81*34=2754",
"2754/54=51",
"1+51=52"
] | Current State: 52:[81, 54, 1, 34], Operations: []
Exploring Operation: 81*34=2754, Resulting Numbers: [54, 1, 2754]
Generated Node #2: [54, 1, 2754] from Operation: 81*34=2754
Current State: 52:[54, 1, 2754], Operations: ['81*34=2754']
Exploring Operation: 2754/54=51, Resulting Numbers: [1, 51]
Generated Node #3: [1, 51] from Operation: 2754/54=51
Current State: 52:[1, 51], Operations: ['81*34=2754', '2754/54=51']
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[81, 54, 1, 34], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [1, 34, 27]
Generated Node #0,0: 52:[1, 34, 27] Operation: 81-54=27
Exploring Operation: 81-34=47, Resulting Numbers: [54, 1, 47]
Generated Node #0,1: 52:[54, 1, 47] Operation: 81-34=47
Exploring Operation: 81-1=80, Resulting Numbers: [54, 34, 80]
Generated Node #0,2: 52:[54, 34, 80] Operation: 81-1=80
Exploring Operation: 54-34=20, Resulting Numbers: [81, 1, 20]
Generated Node #0,3: 52:[81, 1, 20] Operation: 54-34=20
Moving to Node #0,1
Current State: 52:[54, 1, 47], Operations: ['81-34=47']
Exploring Operation: 54-1=53, Resulting Numbers: [47, 53]
Generated Node #0,1,0: 52:[47, 53] Operation: 54-1=53
Exploring Operation: 54-47=7, Resulting Numbers: [1, 7]
Generated Node #0,1,1: 52:[1, 7] Operation: 54-47=7
Exploring Operation: 54*1=54, Resulting Numbers: [47, 54]
Generated Node #0,1,2: 52:[47, 54] Operation: 54*1=54
Exploring Operation: 1+47=48, Resulting Numbers: [54, 48]
Generated Node #0,1,3: 52:[54, 48] Operation: 1+47=48
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[1, 7], Operations: ['81-34=47', '54-47=7']
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,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,1,0
Current State: 52:[47, 53], Operations: ['81-34=47', '54-1=53']
Exploring Operation: 47*53=2491, Resulting Numbers: [2491]
2491,52 unequal: No Solution
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,52 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,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,1,3
Current State: 52:[54, 48], Operations: ['81-34=47', '1+47=48']
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,52 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 54*48=2592, Resulting Numbers: [2592]
2592,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,1,2
Current State: 52:[47, 54], Operations: ['81-34=47', '54*1=54']
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 47*54=2538, Resulting Numbers: [2538]
2538,52 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: 52:[1, 34, 27], Operations: ['81-54=27']
Exploring Operation: 34-1=33, Resulting Numbers: [27, 33]
Generated Node #0,0,0: 52:[27, 33] Operation: 34-1=33
Exploring Operation: 34-27=7, Resulting Numbers: [1, 7]
Generated Node #0,0,1: 52:[1, 7] Operation: 34-27=7
Exploring Operation: 27-1=26, Resulting Numbers: [34, 26]
Generated Node #0,0,2: 52:[34, 26] Operation: 27-1=26
Exploring Operation: 1*34=34, Resulting Numbers: [27, 34]
Generated Node #0,0,3: 52:[27, 34] Operation: 1*34=34
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[1, 7], Operations: ['81-54=27', '34-27=7']
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,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,0
Current State: 52:[27, 33], Operations: ['81-54=27', '34-1=33']
Exploring Operation: 27+33=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 27*33=891, Resulting Numbers: [891]
891,52 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,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:[34, 26], Operations: ['81-54=27', '27-1=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,52 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,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:[27, 34], Operations: ['81-54=27', '1*34=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,52 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: 52:[81, 1, 20], Operations: ['54-34=20']
Exploring Operation: 1+20=21, Resulting Numbers: [81, 21]
Generated Node #0,3,0: 52:[81, 21] Operation: 1+20=21
Exploring Operation: 81-1=80, Resulting Numbers: [20, 80]
Generated Node #0,3,1: 52:[20, 80] Operation: 81-1=80
Exploring Operation: 81*1=81, Resulting Numbers: [20, 81]
Generated Node #0,3,2: 52:[20, 81] Operation: 81*1=81
Exploring Operation: 81-20=61, Resulting Numbers: [1, 61]
Generated Node #0,3,3: 52:[1, 61] Operation: 81-20=61
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[1, 61], Operations: ['54-34=20', '81-20=61']
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 1*61=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,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,3,0
Current State: 52:[81, 21], Operations: ['54-34=20', '1+20=21']
Exploring Operation: 81+21=102, Resulting Numbers: [102]
102,52 unequal: No Solution
Exploring Operation: 81*21=1701, Resulting Numbers: [1701]
1701,52 unequal: No Solution
Exploring Operation: 81-21=60, Resulting Numbers: [60]
60,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,3,1
Current State: 52:[20, 80], Operations: ['54-34=20', '81-1=80']
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 20*80=1600, Resulting Numbers: [1600]
1600,52 unequal: No Solution
Exploring Operation: 20+80=100, Resulting Numbers: [100]
100,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,3,2
Current State: 52:[20, 81], Operations: ['54-34=20', '81*1=81']
Exploring Operation: 20*81=1620, Resulting Numbers: [1620]
1620,52 unequal: No Solution
Exploring Operation: 20+81=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,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:[54, 34, 80], Operations: ['81-1=80']
Exploring Operation: 54+34=88, Resulting Numbers: [80, 88]
Generated Node #0,2,0: 52:[80, 88] Operation: 54+34=88
Exploring Operation: 54-34=20, Resulting Numbers: [80, 20]
Generated Node #0,2,1: 52:[80, 20] Operation: 54-34=20
Exploring Operation: 80-34=46, Resulting Numbers: [54, 46]
Generated Node #0,2,2: 52:[54, 46] Operation: 80-34=46
Exploring Operation: 80-54=26, Resulting Numbers: [34, 26]
Generated Node #0,2,3: 52:[34, 26] Operation: 80-54=26
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[54, 46], Operations: ['81-1=80', '80-34=46']
Exploring Operation: 54+46=100, Resulting Numbers: [100]
100,52 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 54*46=2484, Resulting Numbers: [2484]
2484,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,2,3
Current State: 52:[34, 26], Operations: ['81-1=80', '80-54=26']
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,52 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,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,2,1
Current State: 52:[80, 20], Operations: ['81-1=80', '54-34=20']
Exploring Operation: 80+20=100, Resulting Numbers: [100]
100,52 unequal: No Solution
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 80*20=1600, Resulting Numbers: [1600]
1600,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,2,0
Current State: 52:[80, 88], Operations: ['81-1=80', '54+34=88']
Exploring Operation: 80+88=168, Resulting Numbers: [168]
168,52 unequal: No Solution
Exploring Operation: 88-80=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 80*88=7040, Resulting Numbers: [7040]
7040,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
11,
96,
65,
85
] | 56 | [
"96-85=11",
"11*11=121",
"121-65=56"
] | Current State: 56:[11, 96, 65, 85], Operations: []
Exploring Operation: 96-85=11, Resulting Numbers: [11, 65, 11]
Generated Node #2: [11, 65, 11] from Operation: 96-85=11
Current State: 56:[11, 65, 11], Operations: ['96-85=11']
Exploring Operation: 11*11=121, Resulting Numbers: [65, 121]
Generated Node #3: [65, 121] from Operation: 11*11=121
Current State: 56:[65, 121], Operations: ['96-85=11', '11*11=121']
Exploring Operation: 121-65=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[11, 96, 65, 85], Operations: []
Exploring Operation: 96-85=11, Resulting Numbers: [11, 65, 11]
Generated Node #0,0: 56:[11, 65, 11] Operation: 96-85=11
Exploring Operation: 96-65=31, Resulting Numbers: [11, 85, 31]
Generated Node #0,1: 56:[11, 85, 31] Operation: 96-65=31
Moving to Node #0,0
Current State: 56:[11, 65, 11], Operations: ['96-85=11']
Exploring Operation: 65-11=54, Resulting Numbers: [11, 54]
Generated Node #0,0,0: 56:[11, 54] Operation: 65-11=54
Exploring Operation: 65-11=54, Resulting Numbers: [11, 54]
Generated Node #0,0,1: 56:[11, 54] Operation: 65-11=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[11, 54], Operations: ['96-85=11', '65-11=54']
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 11+54=65, Resulting Numbers: [65]
65,56 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: 56:[11, 54], Operations: ['96-85=11', '65-11=54']
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 11+54=65, Resulting Numbers: [65]
65,56 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: 56:[11, 85, 31], Operations: ['96-65=31']
Exploring Operation: 85-11=74, Resulting Numbers: [31, 74]
Generated Node #0,1,0: 56:[31, 74] Operation: 85-11=74
Exploring Operation: 85-31=54, Resulting Numbers: [11, 54]
Generated Node #0,1,1: 56:[11, 54] Operation: 85-31=54
Moving to Node #0,1,1
Current State: 56:[11, 54], Operations: ['96-65=31', '85-31=54']
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 11+54=65, Resulting Numbers: [65]
65,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[31, 74], Operations: ['96-65=31', '85-11=74']
Exploring Operation: 31+74=105, Resulting Numbers: [105]
105,56 unequal: No Solution
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,56 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
58,
3,
83,
58
] | 17 | [
"83-58=25",
"3*25=75",
"75-58=17"
] | Current State: 17:[58, 3, 83, 58], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [3, 25]
Generated Node #2: [3, 25] from Operation: 83-58=25
Current State: 17:[3, 25], Operations: ['83-58=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,17 equal: Goal Reached
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[58, 3, 83, 58], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [58, 3, 25]
Generated Node #0,0: 17:[58, 3, 25] Operation: 83-58=25
Exploring Operation: 58/58=1, Resulting Numbers: [3, 83, 1]
Generated Node #0,1: 17:[3, 83, 1] Operation: 58/58=1
Exploring Operation: 83-58=25, Resulting Numbers: [3, 58, 25]
Generated Node #0,2: 17:[3, 58, 25] Operation: 83-58=25
Exploring Operation: 58-58=0, Resulting Numbers: [3, 83, 0]
Generated Node #0,3: 17:[3, 83, 0] Operation: 58-58=0
Exploring Operation: 58-3=55, Resulting Numbers: [83, 58, 55]
Generated Node #0,4: 17:[83, 58, 55] Operation: 58-3=55
Moving to Node #0,0
Current State: 17:[58, 3, 25], Operations: ['83-58=25']
Exploring Operation: 58+3=61, Resulting Numbers: [25, 61]
Generated Node #0,0,0: 17:[25, 61] Operation: 58+3=61
Exploring Operation: 25-3=22, Resulting Numbers: [58, 22]
Generated Node #0,0,1: 17:[58, 22] Operation: 25-3=22
Exploring Operation: 3+25=28, Resulting Numbers: [58, 28]
Generated Node #0,0,2: 17:[58, 28] Operation: 3+25=28
Exploring Operation: 58-25=33, Resulting Numbers: [3, 33]
Generated Node #0,0,3: 17:[3, 33] Operation: 58-25=33
Exploring Operation: 58-3=55, Resulting Numbers: [25, 55]
Generated Node #0,0,4: 17:[25, 55] Operation: 58-3=55
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 17:[3, 33], Operations: ['83-58=25', '58-25=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,17 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: 17:[58, 22], Operations: ['83-58=25', '25-3=22']
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,17 unequal: No Solution
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,17 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: 17:[25, 55], Operations: ['83-58=25', '58-3=55']
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,17 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: 17:[25, 61], Operations: ['83-58=25', '58+3=61']
Exploring Operation: 25+61=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 25*61=1525, Resulting Numbers: [1525]
1525,17 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,17 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: 17:[58, 28], Operations: ['83-58=25', '3+25=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,17 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: 17:[3, 58, 25], Operations: ['83-58=25']
Exploring Operation: 58-25=33, Resulting Numbers: [3, 33]
Generated Node #0,2,0: 17:[3, 33] Operation: 58-25=33
Exploring Operation: 58-3=55, Resulting Numbers: [25, 55]
Generated Node #0,2,1: 17:[25, 55] Operation: 58-3=55
Exploring Operation: 25-3=22, Resulting Numbers: [58, 22]
Generated Node #0,2,2: 17:[58, 22] Operation: 25-3=22
Exploring Operation: 3+58=61, Resulting Numbers: [25, 61]
Generated Node #0,2,3: 17:[25, 61] Operation: 3+58=61
Exploring Operation: 3+25=28, Resulting Numbers: [58, 28]
Generated Node #0,2,4: 17:[58, 28] Operation: 3+25=28
Moving to Node #0,1
Current State: 17:[3, 83, 1], Operations: ['58/58=1']
Exploring Operation: 3*1=3, Resulting Numbers: [83, 3]
Generated Node #0,1,0: 17:[83, 3] Operation: 3*1=3
Exploring Operation: 83-1=82, Resulting Numbers: [3, 82]
Generated Node #0,1,1: 17:[3, 82] Operation: 83-1=82
Exploring Operation: 3+1=4, Resulting Numbers: [83, 4]
Generated Node #0,1,2: 17:[83, 4] Operation: 3+1=4
Exploring Operation: 83-3=80, Resulting Numbers: [1, 80]
Generated Node #0,1,3: 17:[1, 80] Operation: 83-3=80
Exploring Operation: 3/1=3, Resulting Numbers: [83, 3]
Generated Node #0,1,4: 17:[83, 3] Operation: 3/1=3
Moving to Node #0,3
Current State: 17:[3, 83, 0], Operations: ['58-58=0']
Exploring Operation: 3-0=3, Resulting Numbers: [83, 3]
Generated Node #0,3,0: 17:[83, 3] Operation: 3-0=3
Exploring Operation: 3+0=3, Resulting Numbers: [83, 3]
Generated Node #0,3,1: 17:[83, 3] Operation: 3+0=3
Exploring Operation: 83+0=83, Resulting Numbers: [3, 83]
Generated Node #0,3,2: 17:[3, 83] Operation: 83+0=83
Exploring Operation: 83*0=0, Resulting Numbers: [3, 0]
Generated Node #0,3,3: 17:[3, 0] Operation: 83*0=0
Exploring Operation: 83-3=80, Resulting Numbers: [0, 80]
Generated Node #0,3,4: 17:[0, 80] Operation: 83-3=80
Moving to Node #0,4
Current State: 17:[83, 58, 55], Operations: ['58-3=55']
Exploring Operation: 83-58=25, Resulting Numbers: [55, 25]
Generated Node #0,4,0: 17:[55, 25] Operation: 83-58=25
Exploring Operation: 83+58=141, Resulting Numbers: [55, 141]
Generated Node #0,4,1: 17:[55, 141] Operation: 83+58=141
Exploring Operation: 83-55=28, Resulting Numbers: [58, 28]
Generated Node #0,4,2: 17:[58, 28] Operation: 83-55=28
Exploring Operation: 83+55=138, Resulting Numbers: [58, 138]
Generated Node #0,4,3: 17:[58, 138] Operation: 83+55=138
Exploring Operation: 58-55=3, Resulting Numbers: [83, 3]
Generated Node #0,4,4: 17:[83, 3] Operation: 58-55=3
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 17:[55, 25], Operations: ['58-3=55', '83-58=25']
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,17 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: 17:[58, 28], Operations: ['58-3=55', '83-55=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,17 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: 17:[83, 3], Operations: ['58-3=55', '58-55=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,17 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,17 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: 17:[55, 141], Operations: ['58-3=55', '83+58=141']
Exploring Operation: 141-55=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 55*141=7755, Resulting Numbers: [7755]
7755,17 unequal: No Solution
Exploring Operation: 55+141=196, Resulting Numbers: [196]
196,17 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: 17:[58, 138], Operations: ['58-3=55', '83+55=138']
Exploring Operation: 58*138=8004, Resulting Numbers: [8004]
8004,17 unequal: No Solution
Exploring Operation: 58+138=196, Resulting Numbers: [196]
196,17 unequal: No Solution
Exploring Operation: 138-58=80, Resulting Numbers: [80]
80,17 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: 17:[3, 33], Operations: ['83-58=25', '58-25=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,17 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[3, 0], Operations: ['58-58=0', '83*0=0']
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,17 unequal: No Solution
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[58, 22], Operations: ['83-58=25', '25-3=22']
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,17 unequal: No Solution
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[25, 55], Operations: ['83-58=25', '58-3=55']
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,17 unequal: No Solution
Moving to Node #0,2,4
Current State: 17:[58, 28], Operations: ['83-58=25', '3+25=28']
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,17 unequal: No Solution
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Moving to Node #0,2,3
Current State: 17:[25, 61], Operations: ['83-58=25', '3+58=61']
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 25+61=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 25*61=1525, Resulting Numbers: [1525]
1525,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[83, 4], Operations: ['58/58=1', '3+1=4']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,17 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,17 unequal: No Solution
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[3, 82], Operations: ['58/58=1', '83-1=82']
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,17 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,17 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[1, 80], Operations: ['58/58=1', '83-3=80']
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,17 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 1*80=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,17 unequal: No Solution
Moving to Node #0,3,2
Current State: 17:[3, 83], Operations: ['58-58=0', '83+0=83']
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 3*83=249, Resulting Numbers: [249]
249,17 unequal: No Solution
Moving to Node #0,1,4
Current State: 17:[83, 3], Operations: ['58/58=1', '3/1=3']
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,17 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Moving to Node #0,3,1
Current State: 17:[83, 3], Operations: ['58-58=0', '3+0=3']
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,17 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Moving to Node #0,3,0
Current State: 17:[83, 3], Operations: ['58-58=0', '3-0=3']
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,17 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Moving to Node #0,3,4
Current State: 17:[0, 80], Operations: ['58-58=0', '83-3=80']
Exploring Operation: 80-0=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 0+80=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 0*80=0, Resulting Numbers: [0]
0,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[83, 3], Operations: ['58/58=1', '3*1=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,17 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
6,
5,
76,
32
] | 97 | [
"6+5=11",
"76+32=108",
"108-11=97"
] | Current State: 97:[6, 5, 76, 32], Operations: []
Exploring Operation: 6+5=11, Resulting Numbers: [76, 32, 11]
Generated Node #2: [76, 32, 11] from Operation: 6+5=11
Current State: 97:[76, 32, 11], Operations: ['6+5=11']
Exploring Operation: 76+32=108, Resulting Numbers: [11, 108]
Generated Node #3: [11, 108] from Operation: 76+32=108
Current State: 97:[11, 108], Operations: ['6+5=11', '76+32=108']
Exploring Operation: 108-11=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[6, 5, 76, 32], Operations: []
Exploring Operation: 6+5=11, Resulting Numbers: [76, 32, 11]
Generated Node #0,0: 97:[76, 32, 11] Operation: 6+5=11
Exploring Operation: 6*5=30, Resulting Numbers: [76, 32, 30]
Generated Node #0,1: 97:[76, 32, 30] Operation: 6*5=30
Exploring Operation: 6+76=82, Resulting Numbers: [5, 32, 82]
Generated Node #0,2: 97:[5, 32, 82] Operation: 6+76=82
Exploring Operation: 6+32=38, Resulting Numbers: [5, 76, 38]
Generated Node #0,3: 97:[5, 76, 38] Operation: 6+32=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[76, 32, 30], Operations: ['6*5=30']
Exploring Operation: 76+30=106, Resulting Numbers: [32, 106]
Generated Node #0,1,0: 97:[32, 106] Operation: 76+30=106
Exploring Operation: 32+30=62, Resulting Numbers: [76, 62]
Generated Node #0,1,1: 97:[76, 62] Operation: 32+30=62
Exploring Operation: 76-30=46, Resulting Numbers: [32, 46]
Generated Node #0,1,2: 97:[32, 46] Operation: 76-30=46
Exploring Operation: 76+32=108, Resulting Numbers: [30, 108]
Generated Node #0,1,3: 97:[30, 108] Operation: 76+32=108
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[76, 62], Operations: ['6*5=30', '32+30=62']
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Exploring Operation: 76*62=4712, Resulting Numbers: [4712]
4712,97 unequal: No Solution
Exploring Operation: 76+62=138, Resulting Numbers: [138]
138,97 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: 97:[32, 106], Operations: ['6*5=30', '76+30=106']
Exploring Operation: 32*106=3392, Resulting Numbers: [3392]
3392,97 unequal: No Solution
Exploring Operation: 106-32=74, Resulting Numbers: [74]
74,97 unequal: No Solution
Exploring Operation: 32+106=138, Resulting Numbers: [138]
138,97 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: 97:[30, 108], Operations: ['6*5=30', '76+32=108']
Exploring Operation: 108-30=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 30*108=3240, Resulting Numbers: [3240]
3240,97 unequal: No Solution
Exploring Operation: 30+108=138, Resulting Numbers: [138]
138,97 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: 97:[32, 46], Operations: ['6*5=30', '76-30=46']
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,97 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,97 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: 97:[76, 32, 11], Operations: ['6+5=11']
Exploring Operation: 76-11=65, Resulting Numbers: [32, 65]
Generated Node #0,0,0: 97:[32, 65] Operation: 76-11=65
Exploring Operation: 76+11=87, Resulting Numbers: [32, 87]
Generated Node #0,0,1: 97:[32, 87] Operation: 76+11=87
Exploring Operation: 76+32=108, Resulting Numbers: [11, 108]
Generated Node #0,0,2: 97:[11, 108] Operation: 76+32=108
Exploring Operation: 32+11=43, Resulting Numbers: [76, 43]
Generated Node #0,0,3: 97:[76, 43] Operation: 32+11=43
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[32, 87], Operations: ['6+5=11', '76+11=87']
Exploring Operation: 32*87=2784, Resulting Numbers: [2784]
2784,97 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 32+87=119, Resulting Numbers: [119]
119,97 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: 97:[76, 43], Operations: ['6+5=11', '32+11=43']
Exploring Operation: 76-43=33, Resulting Numbers: [33]
33,97 unequal: No Solution
Exploring Operation: 76*43=3268, Resulting Numbers: [3268]
3268,97 unequal: No Solution
Exploring Operation: 76+43=119, Resulting Numbers: [119]
119,97 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: 97:[32, 65], Operations: ['6+5=11', '76-11=65']
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,97 unequal: No Solution
Exploring Operation: 32*65=2080, Resulting Numbers: [2080]
2080,97 unequal: No Solution
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[6, 5, 76, 32], Operations: []
Exploring Operation: 6+5=11, Resulting Numbers: [76, 32, 11]
Generated Node #0,0: 97:[76, 32, 11] Operation: 6+5=11
Moving to Node #0,0
Current State: 97:[76, 32, 11], Operations: ['6+5=11']
Exploring Operation: 76-11=65, Resulting Numbers: [32, 65]
Generated Node #0,0,0: 97:[32, 65] Operation: 76-11=65
Moving to Node #0,0,0
Current State: 97:[32, 65], Operations: ['6+5=11', '76-11=65']
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
86,
20,
84,
45
] | 35 | [
"86-84=2",
"20/2=10",
"45-10=35"
] | Current State: 35:[86, 20, 84, 45], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [20, 45, 2]
Generated Node #2: [20, 45, 2] from Operation: 86-84=2
Current State: 35:[20, 45, 2], Operations: ['86-84=2']
Exploring Operation: 20/2=10, Resulting Numbers: [45, 10]
Generated Node #3: [45, 10] from Operation: 20/2=10
Current State: 35:[45, 10], Operations: ['86-84=2', '20/2=10']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[86, 20, 84, 45], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [20, 45, 2]
Generated Node #0,0: 35:[20, 45, 2] Operation: 86-84=2
Exploring Operation: 84-45=39, Resulting Numbers: [86, 20, 39]
Generated Node #0,1: 35:[86, 20, 39] Operation: 84-45=39
Exploring Operation: 86-45=41, Resulting Numbers: [20, 84, 41]
Generated Node #0,2: 35:[20, 84, 41] Operation: 86-45=41
Moving to Node #0,0
Current State: 35:[20, 45, 2], Operations: ['86-84=2']
Exploring Operation: 45-20=25, Resulting Numbers: [2, 25]
Generated Node #0,0,0: 35:[2, 25] Operation: 45-20=25
Exploring Operation: 20/2=10, Resulting Numbers: [45, 10]
Generated Node #0,0,1: 35:[45, 10] Operation: 20/2=10
Exploring Operation: 20*2=40, Resulting Numbers: [45, 40]
Generated Node #0,0,2: 35:[45, 40] Operation: 20*2=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[2, 25], Operations: ['86-84=2', '45-20=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,35 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: 35:[45, 10], Operations: ['86-84=2', '20/2=10']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[86, 20, 84, 45], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [20, 45, 2]
Generated Node #0,0: 35:[20, 45, 2] Operation: 86-84=2
Moving to Node #0,0
Current State: 35:[20, 45, 2], Operations: ['86-84=2']
Exploring Operation: 20/2=10, Resulting Numbers: [45, 10]
Generated Node #0,0,1: 35:[45, 10] Operation: 20/2=10
Moving to Node #0,0,1
Current State: 35:[45, 10], Operations: ['86-84=2', '20/2=10']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
71,
63,
58,
91
] | 25 | [
"71-63=8",
"91-58=33",
"33-8=25"
] | Current State: 25:[71, 63, 58, 91], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [58, 91, 8]
Generated Node #2: [58, 91, 8] from Operation: 71-63=8
Current State: 25:[58, 91, 8], Operations: ['71-63=8']
Exploring Operation: 91-58=33, Resulting Numbers: [8, 33]
Generated Node #3: [8, 33] from Operation: 91-58=33
Current State: 25:[8, 33], Operations: ['71-63=8', '91-58=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[71, 63, 58, 91], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [71, 63, 33]
Generated Node #0,0: 25:[71, 63, 33] Operation: 91-58=33
Exploring Operation: 71-63=8, Resulting Numbers: [58, 91, 8]
Generated Node #0,1: 25:[58, 91, 8] Operation: 71-63=8
Exploring Operation: 91-63=28, Resulting Numbers: [71, 58, 28]
Generated Node #0,2: 25:[71, 58, 28] Operation: 91-63=28
Exploring Operation: 91-71=20, Resulting Numbers: [63, 58, 20]
Generated Node #0,3: 25:[63, 58, 20] Operation: 91-71=20
Moving to Node #0,3
Current State: 25:[63, 58, 20], Operations: ['91-71=20']
Exploring Operation: 58-20=38, Resulting Numbers: [63, 38]
Generated Node #0,3,0: 25:[63, 38] Operation: 58-20=38
Exploring Operation: 63-58=5, Resulting Numbers: [20, 5]
Generated Node #0,3,1: 25:[20, 5] Operation: 63-58=5
Exploring Operation: 63-20=43, Resulting Numbers: [58, 43]
Generated Node #0,3,2: 25:[58, 43] Operation: 63-20=43
Exploring Operation: 63+20=83, Resulting Numbers: [58, 83]
Generated Node #0,3,3: 25:[58, 83] Operation: 63+20=83
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 25:[20, 5], Operations: ['91-71=20', '63-58=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[71, 63, 58, 91], Operations: []
Exploring Operation: 91-71=20, Resulting Numbers: [63, 58, 20]
Generated Node #0,3: 25:[63, 58, 20] Operation: 91-71=20
Moving to Node #0,3
Current State: 25:[63, 58, 20], Operations: ['91-71=20']
Exploring Operation: 63-58=5, Resulting Numbers: [20, 5]
Generated Node #0,3,1: 25:[20, 5] Operation: 63-58=5
Moving to Node #0,3,1
Current State: 25:[20, 5], Operations: ['91-71=20', '63-58=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
81,
23,
93,
44
] | 79 | [
"81-23=58",
"93+44=137",
"137-58=79"
] | Current State: 79:[81, 23, 93, 44], Operations: []
Exploring Operation: 81-23=58, Resulting Numbers: [93, 44, 58]
Generated Node #2: [93, 44, 58] from Operation: 81-23=58
Current State: 79:[93, 44, 58], Operations: ['81-23=58']
Exploring Operation: 93+44=137, Resulting Numbers: [58, 137]
Generated Node #3: [58, 137] from Operation: 93+44=137
Current State: 79:[58, 137], Operations: ['81-23=58', '93+44=137']
Exploring Operation: 137-58=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[81, 23, 93, 44], Operations: []
Exploring Operation: 23+44=67, Resulting Numbers: [81, 93, 67]
Generated Node #0,0: 79:[81, 93, 67] Operation: 23+44=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[81, 93, 67], Operations: ['23+44=67']
Exploring Operation: 93-67=26, Resulting Numbers: [81, 26]
Generated Node #0,0,0: 79:[81, 26] Operation: 93-67=26
Moving to Node #0,0,0
Current State: 79:[81, 26], Operations: ['23+44=67', '93-67=26']
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,79 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,
20,
24,
61
] | 36 | [
"61-31=30",
"24*30=720",
"720/20=36"
] | Current State: 36:[31, 20, 24, 61], Operations: []
Exploring Operation: 61-31=30, Resulting Numbers: [20, 24, 30]
Generated Node #2: [20, 24, 30] from Operation: 61-31=30
Current State: 36:[20, 24, 30], Operations: ['61-31=30']
Exploring Operation: 24*30=720, Resulting Numbers: [20, 720]
Generated Node #3: [20, 720] from Operation: 24*30=720
Current State: 36:[20, 720], Operations: ['61-31=30', '24*30=720']
Exploring Operation: 720/20=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[31, 20, 24, 61], Operations: []
Exploring Operation: 61-31=30, Resulting Numbers: [20, 24, 30]
Generated Node #0,0: 36:[20, 24, 30] Operation: 61-31=30
Exploring Operation: 31-24=7, Resulting Numbers: [20, 61, 7]
Generated Node #0,1: 36:[20, 61, 7] Operation: 31-24=7
Exploring Operation: 61-20=41, Resulting Numbers: [31, 24, 41]
Generated Node #0,2: 36:[31, 24, 41] Operation: 61-20=41
Exploring Operation: 61-24=37, Resulting Numbers: [31, 20, 37]
Generated Node #0,3: 36:[31, 20, 37] Operation: 61-24=37
Exploring Operation: 24-20=4, Resulting Numbers: [31, 61, 4]
Generated Node #0,4: 36:[31, 61, 4] Operation: 24-20=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[31, 20, 37], Operations: ['61-24=37']
Exploring Operation: 37-31=6, Resulting Numbers: [20, 6]
Generated Node #0,3,0: 36:[20, 6] Operation: 37-31=6
Exploring Operation: 20+37=57, Resulting Numbers: [31, 57]
Generated Node #0,3,1: 36:[31, 57] Operation: 20+37=57
Exploring Operation: 37-20=17, Resulting Numbers: [31, 17]
Generated Node #0,3,2: 36:[31, 17] Operation: 37-20=17
Exploring Operation: 31+20=51, Resulting Numbers: [37, 51]
Generated Node #0,3,3: 36:[37, 51] Operation: 31+20=51
Exploring Operation: 31-20=11, Resulting Numbers: [37, 11]
Generated Node #0,3,4: 36:[37, 11] Operation: 31-20=11
Moving to Node #0,3,0
Current State: 36:[20, 6], Operations: ['61-24=37', '37-31=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Moving to Node #0,3,4
Current State: 36:[37, 11], Operations: ['61-24=37', '31-20=11']
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 37*11=407, Resulting Numbers: [407]
407,36 unequal: No Solution
Moving to Node #0,3,2
Current State: 36:[31, 17], Operations: ['61-24=37', '37-20=17']
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,36 unequal: No Solution
Moving to Node #0,3,3
Current State: 36:[37, 51], Operations: ['61-24=37', '31+20=51']
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[31, 57], Operations: ['61-24=37', '20+37=57']
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,36 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: 36:[20, 24, 30], Operations: ['61-31=30']
Exploring Operation: 30-20=10, Resulting Numbers: [24, 10]
Generated Node #0,0,0: 36:[24, 10] Operation: 30-20=10
Exploring Operation: 20+24=44, Resulting Numbers: [30, 44]
Generated Node #0,0,1: 36:[30, 44] Operation: 20+24=44
Exploring Operation: 20+30=50, Resulting Numbers: [24, 50]
Generated Node #0,0,2: 36:[24, 50] Operation: 20+30=50
Exploring Operation: 24-20=4, Resulting Numbers: [30, 4]
Generated Node #0,0,3: 36:[30, 4] Operation: 24-20=4
Exploring Operation: 30-24=6, Resulting Numbers: [20, 6]
Generated Node #0,0,4: 36:[20, 6] Operation: 30-24=6
Moving to Node #0,0,4
Current State: 36:[20, 6], Operations: ['61-31=30', '30-24=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[30, 4], Operations: ['61-31=30', '24-20=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[24, 10], Operations: ['61-31=30', '30-20=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,36 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[30, 44], Operations: ['61-31=30', '20+24=44']
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,36 unequal: No Solution
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[24, 50], Operations: ['61-31=30', '20+30=50']
Exploring Operation: 24*50=1200, Resulting Numbers: [1200]
1200,36 unequal: No Solution
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,36 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: 36:[31, 24, 41], Operations: ['61-20=41']
Exploring Operation: 31-24=7, Resulting Numbers: [41, 7]
Generated Node #0,2,0: 36:[41, 7] Operation: 31-24=7
Exploring Operation: 31+24=55, Resulting Numbers: [41, 55]
Generated Node #0,2,1: 36:[41, 55] Operation: 31+24=55
Exploring Operation: 24+41=65, Resulting Numbers: [31, 65]
Generated Node #0,2,2: 36:[31, 65] Operation: 24+41=65
Exploring Operation: 41-31=10, Resulting Numbers: [24, 10]
Generated Node #0,2,3: 36:[24, 10] Operation: 41-31=10
Exploring Operation: 41-24=17, Resulting Numbers: [31, 17]
Generated Node #0,2,4: 36:[31, 17] Operation: 41-24=17
Moving to Node #0,2,0
Current State: 36:[41, 7], Operations: ['61-20=41', '31-24=7']
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,36 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Moving to Node #0,2,4
Current State: 36:[31, 17], Operations: ['61-20=41', '41-24=17']
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,36 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Moving to Node #0,2,3
Current State: 36:[24, 10], Operations: ['61-20=41', '41-31=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,36 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[41, 55], Operations: ['61-20=41', '31+24=55']
Exploring Operation: 41+55=96, Resulting Numbers: [96]
96,36 unequal: No Solution
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 41*55=2255, Resulting Numbers: [2255]
2255,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[31, 65], Operations: ['61-20=41', '24+41=65']
Exploring Operation: 31*65=2015, Resulting Numbers: [2015]
2015,36 unequal: No Solution
Exploring Operation: 31+65=96, Resulting Numbers: [96]
96,36 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,36 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: 36:[20, 61, 7], Operations: ['31-24=7']
Exploring Operation: 61-7=54, Resulting Numbers: [20, 54]
Generated Node #0,1,0: 36:[20, 54] Operation: 61-7=54
Exploring Operation: 61-20=41, Resulting Numbers: [7, 41]
Generated Node #0,1,1: 36:[7, 41] Operation: 61-20=41
Exploring Operation: 61+7=68, Resulting Numbers: [20, 68]
Generated Node #0,1,2: 36:[20, 68] Operation: 61+7=68
Exploring Operation: 20-7=13, Resulting Numbers: [61, 13]
Generated Node #0,1,3: 36:[61, 13] Operation: 20-7=13
Exploring Operation: 20+7=27, Resulting Numbers: [61, 27]
Generated Node #0,1,4: 36:[61, 27] Operation: 20+7=27
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[7, 41], Operations: ['31-24=7', '61-20=41']
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,36 unequal: No Solution
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,36 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: 36:[20, 54], Operations: ['31-24=7', '61-7=54']
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 20+54=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 20*54=1080, Resulting Numbers: [1080]
1080,36 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: 36:[61, 13], Operations: ['31-24=7', '20-7=13']
Exploring Operation: 61*13=793, Resulting Numbers: [793]
793,36 unequal: No Solution
Exploring Operation: 61+13=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,36 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: 36:[20, 68], Operations: ['31-24=7', '61+7=68']
Exploring Operation: 20*68=1360, Resulting Numbers: [1360]
1360,36 unequal: No Solution
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 20+68=88, Resulting Numbers: [88]
88,36 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: 36:[61, 27], Operations: ['31-24=7', '20+7=27']
Exploring Operation: 61+27=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 61*27=1647, Resulting Numbers: [1647]
1647,36 unequal: No Solution
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,36 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: 36:[31, 61, 4], Operations: ['24-20=4']
Exploring Operation: 61-4=57, Resulting Numbers: [31, 57]
Generated Node #0,4,0: 36:[31, 57] Operation: 61-4=57
Exploring Operation: 61+4=65, Resulting Numbers: [31, 65]
Generated Node #0,4,1: 36:[31, 65] Operation: 61+4=65
Exploring Operation: 61-31=30, Resulting Numbers: [4, 30]
Generated Node #0,4,2: 36:[4, 30] Operation: 61-31=30
Exploring Operation: 31+4=35, Resulting Numbers: [61, 35]
Generated Node #0,4,3: 36:[61, 35] Operation: 31+4=35
Exploring Operation: 31-4=27, Resulting Numbers: [61, 27]
Generated Node #0,4,4: 36:[61, 27] Operation: 31-4=27
Moving to Node #0,4,2
Current State: 36:[4, 30], Operations: ['24-20=4', '61-31=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Moving to Node #0,4,3
Current State: 36:[61, 35], Operations: ['24-20=4', '31+4=35']
Exploring Operation: 61*35=2135, Resulting Numbers: [2135]
2135,36 unequal: No Solution
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,36 unequal: No Solution
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Moving to Node #0,4,0
Current State: 36:[31, 57], Operations: ['24-20=4', '61-4=57']
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,36 unequal: No Solution
Moving to Node #0,4,1
Current State: 36:[31, 65], Operations: ['24-20=4', '61+4=65']
Exploring Operation: 31+65=96, Resulting Numbers: [96]
96,36 unequal: No Solution
Exploring Operation: 31*65=2015, Resulting Numbers: [2015]
2015,36 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Moving to Node #0,4,4
Current State: 36:[61, 27], Operations: ['24-20=4', '31-4=27']
Exploring Operation: 61*27=1647, Resulting Numbers: [1647]
1647,36 unequal: No Solution
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 61+27=88, Resulting Numbers: [88]
88,36 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 |
[
14,
81,
24,
25
] | 46 | [
"14+81=95",
"24+25=49",
"95-49=46"
] | Current State: 46:[14, 81, 24, 25], Operations: []
Exploring Operation: 14+81=95, Resulting Numbers: [24, 25, 95]
Generated Node #2: [24, 25, 95] from Operation: 14+81=95
Current State: 46:[24, 25, 95], Operations: ['14+81=95']
Exploring Operation: 24+25=49, Resulting Numbers: [95, 49]
Generated Node #3: [95, 49] from Operation: 24+25=49
Current State: 46:[95, 49], Operations: ['14+81=95', '24+25=49']
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[14, 81, 24, 25], Operations: []
Exploring Operation: 81-25=56, Resulting Numbers: [14, 24, 56]
Generated Node #0,0: 46:[14, 24, 56] Operation: 81-25=56
Exploring Operation: 81-14=67, Resulting Numbers: [24, 25, 67]
Generated Node #0,1: 46:[24, 25, 67] Operation: 81-14=67
Exploring Operation: 81-24=57, Resulting Numbers: [14, 25, 57]
Generated Node #0,2: 46:[14, 25, 57] Operation: 81-24=57
Moving to Node #0,0
Current State: 46:[14, 24, 56], Operations: ['81-25=56']
Exploring Operation: 14+24=38, Resulting Numbers: [56, 38]
Generated Node #0,0,0: 46:[56, 38] Operation: 14+24=38
Exploring Operation: 56/14=4, Resulting Numbers: [24, 4]
Generated Node #0,0,1: 46:[24, 4] Operation: 56/14=4
Exploring Operation: 56-14=42, Resulting Numbers: [24, 42]
Generated Node #0,0,2: 46:[24, 42] Operation: 56-14=42
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[24, 4], Operations: ['81-25=56', '56/14=4']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,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,2
Current State: 46:[24, 42], Operations: ['81-25=56', '56-14=42']
Exploring Operation: 24*42=1008, Resulting Numbers: [1008]
1008,46 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,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,0
Current State: 46:[56, 38], Operations: ['81-25=56', '14+24=38']
Exploring Operation: 56*38=2128, Resulting Numbers: [2128]
2128,46 unequal: No Solution
Exploring Operation: 56+38=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,46 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: 46:[14, 25, 57], Operations: ['81-24=57']
Exploring Operation: 57-25=32, Resulting Numbers: [14, 32]
Generated Node #0,2,0: 46:[14, 32] Operation: 57-25=32
Exploring Operation: 14+25=39, Resulting Numbers: [57, 39]
Generated Node #0,2,1: 46:[57, 39] Operation: 14+25=39
Exploring Operation: 57-14=43, Resulting Numbers: [25, 43]
Generated Node #0,2,2: 46:[25, 43] Operation: 57-14=43
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[25, 43], Operations: ['81-24=57', '57-14=43']
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,46 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,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,2,0
Current State: 46:[14, 32], Operations: ['81-24=57', '57-25=32']
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[14, 81, 24, 25], Operations: []
Exploring Operation: 81-24=57, Resulting Numbers: [14, 25, 57]
Generated Node #0,2: 46:[14, 25, 57] Operation: 81-24=57
Moving to Node #0,2
Current State: 46:[14, 25, 57], Operations: ['81-24=57']
Exploring Operation: 57-25=32, Resulting Numbers: [14, 32]
Generated Node #0,2,0: 46:[14, 32] Operation: 57-25=32
Moving to Node #0,2,0
Current State: 46:[14, 32], Operations: ['81-24=57', '57-25=32']
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
94,
1,
55,
57
] | 97 | [
"94+1=95",
"57-55=2",
"95+2=97"
] | Current State: 97:[94, 1, 55, 57], Operations: []
Exploring Operation: 94+1=95, Resulting Numbers: [55, 57, 95]
Generated Node #2: [55, 57, 95] from Operation: 94+1=95
Current State: 97:[55, 57, 95], Operations: ['94+1=95']
Exploring Operation: 57-55=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 57-55=2
Current State: 97:[95, 2], Operations: ['94+1=95', '57-55=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[94, 1, 55, 57], Operations: []
Exploring Operation: 94+1=95, Resulting Numbers: [55, 57, 95]
Generated Node #0,0: 97:[55, 57, 95] Operation: 94+1=95
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[55, 57, 95], Operations: ['94+1=95']
Exploring Operation: 55+57=112, Resulting Numbers: [95, 112]
Generated Node #0,0,0: 97:[95, 112] Operation: 55+57=112
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[95, 112], Operations: ['94+1=95', '55+57=112']
Exploring Operation: 112-95=17, Resulting Numbers: [17]
17,97 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 | mult_heuristic |
[
72,
61,
42,
23
] | 70 | [
"61+23=84",
"84/42=2",
"72-2=70"
] | Current State: 70:[72, 61, 42, 23], Operations: []
Exploring Operation: 61+23=84, Resulting Numbers: [72, 42, 84]
Generated Node #2: [72, 42, 84] from Operation: 61+23=84
Current State: 70:[72, 42, 84], Operations: ['61+23=84']
Exploring Operation: 84/42=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 84/42=2
Current State: 70:[72, 2], Operations: ['61+23=84', '84/42=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[72, 61, 42, 23], Operations: []
Exploring Operation: 61-42=19, Resulting Numbers: [72, 23, 19]
Generated Node #0,0: 70:[72, 23, 19] Operation: 61-42=19
Exploring Operation: 61-23=38, Resulting Numbers: [72, 42, 38]
Generated Node #0,1: 70:[72, 42, 38] Operation: 61-23=38
Exploring Operation: 42+23=65, Resulting Numbers: [72, 61, 65]
Generated Node #0,2: 70:[72, 61, 65] Operation: 42+23=65
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[72, 42, 38], Operations: ['61-23=38']
Exploring Operation: 42-38=4, Resulting Numbers: [72, 4]
Generated Node #0,1,0: 70:[72, 4] Operation: 42-38=4
Exploring Operation: 72-38=34, Resulting Numbers: [42, 34]
Generated Node #0,1,1: 70:[42, 34] Operation: 72-38=34
Exploring Operation: 72-42=30, Resulting Numbers: [38, 30]
Generated Node #0,1,2: 70:[38, 30] Operation: 72-42=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[72, 4], Operations: ['61-23=38', '42-38=4']
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,70 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: 70:[42, 34], Operations: ['61-23=38', '72-38=34']
Exploring Operation: 42*34=1428, Resulting Numbers: [1428]
1428,70 unequal: No Solution
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,70 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: 70:[38, 30], Operations: ['61-23=38', '72-42=30']
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,70 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,70 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: 70:[72, 23, 19], Operations: ['61-42=19']
Exploring Operation: 23+19=42, Resulting Numbers: [72, 42]
Generated Node #0,0,0: 70:[72, 42] Operation: 23+19=42
Exploring Operation: 23-19=4, Resulting Numbers: [72, 4]
Generated Node #0,0,1: 70:[72, 4] Operation: 23-19=4
Exploring Operation: 72-23=49, Resulting Numbers: [19, 49]
Generated Node #0,0,2: 70:[19, 49] Operation: 72-23=49
Moving to Node #0,0,1
Current State: 70:[72, 4], Operations: ['61-42=19', '23-19=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[72, 42], Operations: ['61-42=19', '23+19=42']
Exploring Operation: 72*42=3024, Resulting Numbers: [3024]
3024,70 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 72+42=114, Resulting Numbers: [114]
114,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[19, 49], Operations: ['61-42=19', '72-23=49']
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 19*49=931, Resulting Numbers: [931]
931,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
Current State: 70:[72, 61, 65], Operations: ['42+23=65']
Exploring Operation: 72-61=11, Resulting Numbers: [65, 11]
Generated Node #0,2,0: 70:[65, 11] Operation: 72-61=11
Exploring Operation: 65-61=4, Resulting Numbers: [72, 4]
Generated Node #0,2,1: 70:[72, 4] Operation: 65-61=4
Exploring Operation: 72-65=7, Resulting Numbers: [61, 7]
Generated Node #0,2,2: 70:[61, 7] Operation: 72-65=7
Moving to Node #0,2,1
Current State: 70:[72, 4], Operations: ['42+23=65', '65-61=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[65, 11], Operations: ['42+23=65', '72-61=11']
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[61, 7], Operations: ['42+23=65', '72-65=7']
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,70 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,70 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 |
[
12,
78,
40,
64
] | 90 | [
"78-12=66",
"64-40=24",
"66+24=90"
] | Current State: 90:[12, 78, 40, 64], Operations: []
Exploring Operation: 78-12=66, Resulting Numbers: [40, 64, 66]
Generated Node #2: [40, 64, 66] from Operation: 78-12=66
Current State: 90:[40, 64, 66], Operations: ['78-12=66']
Exploring Operation: 64-40=24, Resulting Numbers: [66, 24]
Generated Node #3: [66, 24] from Operation: 64-40=24
Current State: 90:[66, 24], Operations: ['78-12=66', '64-40=24']
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[12, 78, 40, 64], Operations: []
Exploring Operation: 78-40=38, Resulting Numbers: [12, 64, 38]
Generated Node #0,0: 90:[12, 64, 38] Operation: 78-40=38
Exploring Operation: 12+78=90, Resulting Numbers: [40, 64, 90]
Generated Node #0,1: 90:[40, 64, 90] Operation: 12+78=90
Exploring Operation: 64-40=24, Resulting Numbers: [12, 78, 24]
Generated Node #0,2: 90:[12, 78, 24] Operation: 64-40=24
Exploring Operation: 64-12=52, Resulting Numbers: [78, 40, 52]
Generated Node #0,3: 90:[78, 40, 52] Operation: 64-12=52
Exploring Operation: 78-64=14, Resulting Numbers: [12, 40, 14]
Generated Node #0,4: 90:[12, 40, 14] Operation: 78-64=14
Moving to Node #0,4
Current State: 90:[12, 40, 14], Operations: ['78-64=14']
Exploring Operation: 12+14=26, Resulting Numbers: [40, 26]
Generated Node #0,4,0: 90:[40, 26] Operation: 12+14=26
Exploring Operation: 40-12=28, Resulting Numbers: [14, 28]
Generated Node #0,4,1: 90:[14, 28] Operation: 40-12=28
Exploring Operation: 40-14=26, Resulting Numbers: [12, 26]
Generated Node #0,4,2: 90:[12, 26] Operation: 40-14=26
Exploring Operation: 14-12=2, Resulting Numbers: [40, 2]
Generated Node #0,4,3: 90:[40, 2] Operation: 14-12=2
Exploring Operation: 12+40=52, Resulting Numbers: [14, 52]
Generated Node #0,4,4: 90:[14, 52] Operation: 12+40=52
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 90:[14, 28], Operations: ['78-64=14', '40-12=28']
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,90 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,90 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: 90:[40, 2], Operations: ['78-64=14', '14-12=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,90 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,90 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: 90:[12, 26], Operations: ['78-64=14', '40-14=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,90 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,90 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: 90:[14, 52], Operations: ['78-64=14', '12+40=52']
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,90 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: 90:[40, 26], Operations: ['78-64=14', '12+14=26']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,90 unequal: No Solution
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,90 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: 90:[12, 78, 24], Operations: ['64-40=24']
Exploring Operation: 24-12=12, Resulting Numbers: [78, 12]
Generated Node #0,2,0: 90:[78, 12] Operation: 24-12=12
Exploring Operation: 78-24=54, Resulting Numbers: [12, 54]
Generated Node #0,2,1: 90:[12, 54] Operation: 78-24=54
Exploring Operation: 24/12=2, Resulting Numbers: [78, 2]
Generated Node #0,2,2: 90:[78, 2] Operation: 24/12=2
Exploring Operation: 78+24=102, Resulting Numbers: [12, 102]
Generated Node #0,2,3: 90:[12, 102] Operation: 78+24=102
Exploring Operation: 12+78=90, Resulting Numbers: [24, 90]
Generated Node #0,2,4: 90:[24, 90] Operation: 12+78=90
Moving to Node #0,1
Current State: 90:[40, 64, 90], Operations: ['12+78=90']
Exploring Operation: 64-40=24, Resulting Numbers: [90, 24]
Generated Node #0,1,0: 90:[90, 24] Operation: 64-40=24
Exploring Operation: 90-40=50, Resulting Numbers: [64, 50]
Generated Node #0,1,1: 90:[64, 50] Operation: 90-40=50
Exploring Operation: 90-64=26, Resulting Numbers: [40, 26]
Generated Node #0,1,2: 90:[40, 26] Operation: 90-64=26
Exploring Operation: 40+90=130, Resulting Numbers: [64, 130]
Generated Node #0,1,3: 90:[64, 130] Operation: 40+90=130
Exploring Operation: 40+64=104, Resulting Numbers: [90, 104]
Generated Node #0,1,4: 90:[90, 104] Operation: 40+64=104
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[90, 24], Operations: ['12+78=90', '64-40=24']
Exploring Operation: 90*24=2160, Resulting Numbers: [2160]
2160,90 unequal: No Solution
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 90+24=114, Resulting Numbers: [114]
114,90 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: 90:[40, 26], Operations: ['12+78=90', '90-64=26']
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,90 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,90 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: 90:[90, 104], Operations: ['12+78=90', '40+64=104']
Exploring Operation: 104-90=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 90*104=9360, Resulting Numbers: [9360]
9360,90 unequal: No Solution
Exploring Operation: 90+104=194, Resulting Numbers: [194]
194,90 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: 90:[64, 50], Operations: ['12+78=90', '90-40=50']
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 64+50=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 64*50=3200, Resulting Numbers: [3200]
3200,90 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: 90:[64, 130], Operations: ['12+78=90', '40+90=130']
Exploring Operation: 130-64=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 64+130=194, Resulting Numbers: [194]
194,90 unequal: No Solution
Exploring Operation: 64*130=8320, Resulting Numbers: [8320]
8320,90 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: 90:[78, 40, 52], Operations: ['64-12=52']
Exploring Operation: 78-40=38, Resulting Numbers: [52, 38]
Generated Node #0,3,0: 90:[52, 38] Operation: 78-40=38
Exploring Operation: 78-52=26, Resulting Numbers: [40, 26]
Generated Node #0,3,1: 90:[40, 26] Operation: 78-52=26
Exploring Operation: 78+40=118, Resulting Numbers: [52, 118]
Generated Node #0,3,2: 90:[52, 118] Operation: 78+40=118
Exploring Operation: 52-40=12, Resulting Numbers: [78, 12]
Generated Node #0,3,3: 90:[78, 12] Operation: 52-40=12
Exploring Operation: 40+52=92, Resulting Numbers: [78, 92]
Generated Node #0,3,4: 90:[78, 92] Operation: 40+52=92
Moving to Node #0,0
Current State: 90:[12, 64, 38], Operations: ['78-40=38']
Exploring Operation: 38-12=26, Resulting Numbers: [64, 26]
Generated Node #0,0,0: 90:[64, 26] Operation: 38-12=26
Exploring Operation: 64+38=102, Resulting Numbers: [12, 102]
Generated Node #0,0,1: 90:[12, 102] Operation: 64+38=102
Exploring Operation: 64-12=52, Resulting Numbers: [38, 52]
Generated Node #0,0,2: 90:[38, 52] Operation: 64-12=52
Exploring Operation: 12+64=76, Resulting Numbers: [38, 76]
Generated Node #0,0,3: 90:[38, 76] Operation: 12+64=76
Exploring Operation: 64-38=26, Resulting Numbers: [12, 26]
Generated Node #0,0,4: 90:[12, 26] Operation: 64-38=26
Moving to Node #0,2,4
Current State: 90:[24, 90], Operations: ['64-40=24', '12+78=90']
Exploring Operation: 24*90=2160, Resulting Numbers: [2160]
2160,90 unequal: No Solution
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 24+90=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Moving to Node #0,0,4
Current State: 90:[12, 26], Operations: ['78-40=38', '64-38=26']
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,90 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[40, 26], Operations: ['64-12=52', '78-52=26']
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[12, 54], Operations: ['64-40=24', '78-24=54']
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,90 unequal: No Solution
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[78, 2], Operations: ['64-40=24', '24/12=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,90 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,90 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[52, 38], Operations: ['64-12=52', '78-40=38']
Exploring Operation: 52+38=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[12, 78, 40, 64], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [78, 40, 52]
Generated Node #0,3: 90:[78, 40, 52] Operation: 64-12=52
Moving to Node #0,3
Current State: 90:[78, 40, 52], Operations: ['64-12=52']
Exploring Operation: 78-40=38, Resulting Numbers: [52, 38]
Generated Node #0,3,0: 90:[52, 38] Operation: 78-40=38
Moving to Node #0,3,0
Current State: 90:[52, 38], Operations: ['64-12=52', '78-40=38']
Exploring Operation: 52+38=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.927951 | hs_5 | sum_heuristic |
[
56,
52,
40,
45
] | 11 | [
"56*45=2520",
"2520/40=63",
"63-52=11"
] | Current State: 11:[56, 52, 40, 45], Operations: []
Exploring Operation: 56*45=2520, Resulting Numbers: [52, 40, 2520]
Generated Node #2: [52, 40, 2520] from Operation: 56*45=2520
Current State: 11:[52, 40, 2520], Operations: ['56*45=2520']
Exploring Operation: 2520/40=63, Resulting Numbers: [52, 63]
Generated Node #3: [52, 63] from Operation: 2520/40=63
Current State: 11:[52, 63], Operations: ['56*45=2520', '2520/40=63']
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[56, 52, 40, 45], Operations: []
Exploring Operation: 56-45=11, Resulting Numbers: [52, 40, 11]
Generated Node #0,0: 11:[52, 40, 11] Operation: 56-45=11
Exploring Operation: 56-52=4, Resulting Numbers: [40, 45, 4]
Generated Node #0,1: 11:[40, 45, 4] Operation: 56-52=4
Moving to Node #0,0
Current State: 11:[52, 40, 11], Operations: ['56-45=11']
Exploring Operation: 52-11=41, Resulting Numbers: [40, 41]
Generated Node #0,0,0: 11:[40, 41] Operation: 52-11=41
Exploring Operation: 52-40=12, Resulting Numbers: [11, 12]
Generated Node #0,0,1: 11:[11, 12] Operation: 52-40=12
Moving to Node #0,1
Current State: 11:[40, 45, 4], Operations: ['56-52=4']
Exploring Operation: 45-40=5, Resulting Numbers: [4, 5]
Generated Node #0,1,0: 11:[4, 5] Operation: 45-40=5
Exploring Operation: 40/4=10, Resulting Numbers: [45, 10]
Generated Node #0,1,1: 11:[45, 10] Operation: 40/4=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[4, 5], Operations: ['56-52=4', '45-40=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,11 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: 11:[45, 10], Operations: ['56-52=4', '40/4=10']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 11:[11, 12], Operations: ['56-45=11', '52-40=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[40, 41], Operations: ['56-45=11', '52-11=41']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,11 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
31,
19,
57,
19
] | 34 | [
"31*19=589",
"57+589=646",
"646/19=34"
] | Current State: 34:[31, 19, 57, 19], Operations: []
Exploring Operation: 31*19=589, Resulting Numbers: [57, 589]
Generated Node #2: [57, 589] from Operation: 31*19=589
Current State: 34:[57, 589], Operations: ['31*19=589']
Exploring Operation: 57+589=646, Resulting Numbers: [646]
646,34 equal: Goal Reached
Exploring Operation: 646/19=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[31, 19, 57, 19], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [31, 19, 3]
Generated Node #0,0: 34:[31, 19, 3] Operation: 57/19=3
Exploring Operation: 57/19=3, Resulting Numbers: [31, 19, 3]
Generated Node #0,1: 34:[31, 19, 3] Operation: 57/19=3
Moving to Node #0,0
Current State: 34:[31, 19, 3], Operations: ['57/19=3']
Exploring Operation: 31+3=34, Resulting Numbers: [19, 34]
Generated Node #0,0,0: 34:[19, 34] Operation: 31+3=34
Exploring Operation: 19-3=16, Resulting Numbers: [31, 16]
Generated Node #0,0,1: 34:[31, 16] Operation: 19-3=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[19, 34], Operations: ['57/19=3', '31+3=34']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,34 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: 34:[31, 16], Operations: ['57/19=3', '19-3=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,34 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: 34:[31, 19, 3], Operations: ['57/19=3']
Exploring Operation: 31+3=34, Resulting Numbers: [19, 34]
Generated Node #0,1,0: 34:[19, 34] Operation: 31+3=34
Exploring Operation: 19-3=16, Resulting Numbers: [31, 16]
Generated Node #0,1,1: 34:[31, 16] Operation: 19-3=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[19, 34], Operations: ['57/19=3', '31+3=34']
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,34 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: 34:[31, 16], Operations: ['57/19=3', '19-3=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,34 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 |
[
19,
66,
75,
65
] | 93 | [
"66-19=47",
"75+65=140",
"140-47=93"
] | Current State: 93:[19, 66, 75, 65], Operations: []
Exploring Operation: 66-19=47, Resulting Numbers: [75, 65, 47]
Generated Node #2: [75, 65, 47] from Operation: 66-19=47
Current State: 93:[75, 65, 47], Operations: ['66-19=47']
Exploring Operation: 75+65=140, Resulting Numbers: [47, 140]
Generated Node #3: [47, 140] from Operation: 75+65=140
Current State: 93:[47, 140], Operations: ['66-19=47', '75+65=140']
Exploring Operation: 140-47=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[19, 66, 75, 65], Operations: []
Exploring Operation: 66-65=1, Resulting Numbers: [19, 75, 1]
Generated Node #0,0: 93:[19, 75, 1] Operation: 66-65=1
Moving to Node #0,0
Current State: 93:[19, 75, 1], Operations: ['66-65=1']
Exploring Operation: 19+75=94, Resulting Numbers: [1, 94]
Generated Node #0,0,0: 93:[1, 94] Operation: 19+75=94
Moving to Node #0,0,0
Current State: 93:[1, 94], Operations: ['66-65=1', '19+75=94']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[19, 66, 75, 65], Operations: []
Exploring Operation: 66-65=1, Resulting Numbers: [19, 75, 1]
Generated Node #0,0: 93:[19, 75, 1] Operation: 66-65=1
Moving to Node #0,0
Current State: 93:[19, 75, 1], Operations: ['66-65=1']
Exploring Operation: 19+75=94, Resulting Numbers: [1, 94]
Generated Node #0,0,0: 93:[1, 94] Operation: 19+75=94
Moving to Node #0,0,0
Current State: 93:[1, 94], Operations: ['66-65=1', '19+75=94']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
15,
56,
12,
54
] | 20 | [
"15*56=840",
"54-12=42",
"840/42=20"
] | Current State: 20:[15, 56, 12, 54], Operations: []
Exploring Operation: 15*56=840, Resulting Numbers: [12, 54, 840]
Generated Node #2: [12, 54, 840] from Operation: 15*56=840
Current State: 20:[12, 54, 840], Operations: ['15*56=840']
Exploring Operation: 54-12=42, Resulting Numbers: [840, 42]
Generated Node #3: [840, 42] from Operation: 54-12=42
Current State: 20:[840, 42], Operations: ['15*56=840', '54-12=42']
Exploring Operation: 840/42=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[15, 56, 12, 54], Operations: []
Exploring Operation: 54-15=39, Resulting Numbers: [56, 12, 39]
Generated Node #0,0: 20:[56, 12, 39] Operation: 54-15=39
Exploring Operation: 56-54=2, Resulting Numbers: [15, 12, 2]
Generated Node #0,1: 20:[15, 12, 2] Operation: 56-54=2
Exploring Operation: 56-15=41, Resulting Numbers: [12, 54, 41]
Generated Node #0,2: 20:[12, 54, 41] Operation: 56-15=41
Moving to Node #0,1
Current State: 20:[15, 12, 2], Operations: ['56-54=2']
Exploring Operation: 15-2=13, Resulting Numbers: [12, 13]
Generated Node #0,1,0: 20:[12, 13] Operation: 15-2=13
Exploring Operation: 15+2=17, Resulting Numbers: [12, 17]
Generated Node #0,1,1: 20:[12, 17] Operation: 15+2=17
Exploring Operation: 15-12=3, Resulting Numbers: [2, 3]
Generated Node #0,1,2: 20:[2, 3] Operation: 15-12=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[2, 3], Operations: ['56-54=2', '15-12=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,20 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: 20:[12, 13], Operations: ['56-54=2', '15-2=13']
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,20 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,20 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: 20:[12, 17], Operations: ['56-54=2', '15+2=17']
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,20 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: 20:[56, 12, 39], Operations: ['54-15=39']
Exploring Operation: 39-12=27, Resulting Numbers: [56, 27]
Generated Node #0,0,0: 20:[56, 27] Operation: 39-12=27
Exploring Operation: 56-39=17, Resulting Numbers: [12, 17]
Generated Node #0,0,1: 20:[12, 17] Operation: 56-39=17
Exploring Operation: 56-12=44, Resulting Numbers: [39, 44]
Generated Node #0,0,2: 20:[39, 44] Operation: 56-12=44
Moving to Node #0,2
Current State: 20:[12, 54, 41], Operations: ['56-15=41']
Exploring Operation: 41-12=29, Resulting Numbers: [54, 29]
Generated Node #0,2,0: 20:[54, 29] Operation: 41-12=29
Exploring Operation: 54-12=42, Resulting Numbers: [41, 42]
Generated Node #0,2,1: 20:[41, 42] Operation: 54-12=42
Exploring Operation: 54-41=13, Resulting Numbers: [12, 13]
Generated Node #0,2,2: 20:[12, 13] Operation: 54-41=13
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[12, 13], Operations: ['56-15=41', '54-41=13']
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,20 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,20 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: 20:[54, 29], Operations: ['56-15=41', '41-12=29']
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 54+29=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 54*29=1566, Resulting Numbers: [1566]
1566,20 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: 20:[41, 42], Operations: ['56-15=41', '54-12=42']
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 41*42=1722, Resulting Numbers: [1722]
1722,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 20:[12, 17], Operations: ['54-15=39', '56-39=17']
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[56, 27], Operations: ['54-15=39', '39-12=27']
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[39, 44], Operations: ['54-15=39', '56-12=44']
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 39*44=1716, Resulting Numbers: [1716]
1716,20 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
69,
9,
51,
91
] | 64 | [
"69+9=78",
"51+91=142",
"142-78=64"
] | Current State: 64:[69, 9, 51, 91], Operations: []
Exploring Operation: 69+9=78, Resulting Numbers: [51, 91, 78]
Generated Node #2: [51, 91, 78] from Operation: 69+9=78
Current State: 64:[51, 91, 78], Operations: ['69+9=78']
Exploring Operation: 51+91=142, Resulting Numbers: [78, 142]
Generated Node #3: [78, 142] from Operation: 51+91=142
Current State: 64:[78, 142], Operations: ['69+9=78', '51+91=142']
Exploring Operation: 142-78=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[69, 9, 51, 91], Operations: []
Exploring Operation: 69-51=18, Resulting Numbers: [9, 91, 18]
Generated Node #0,0: 64:[9, 91, 18] Operation: 69-51=18
Exploring Operation: 9+51=60, Resulting Numbers: [69, 91, 60]
Generated Node #0,1: 64:[69, 91, 60] Operation: 9+51=60
Exploring Operation: 91-51=40, Resulting Numbers: [69, 9, 40]
Generated Node #0,2: 64:[69, 9, 40] Operation: 91-51=40
Exploring Operation: 91-69=22, Resulting Numbers: [9, 51, 22]
Generated Node #0,3: 64:[9, 51, 22] Operation: 91-69=22
Moving to Node #0,2
Current State: 64:[69, 9, 40], Operations: ['91-51=40']
Exploring Operation: 69-9=60, Resulting Numbers: [40, 60]
Generated Node #0,2,0: 64:[40, 60] Operation: 69-9=60
Exploring Operation: 40-9=31, Resulting Numbers: [69, 31]
Generated Node #0,2,1: 64:[69, 31] Operation: 40-9=31
Exploring Operation: 69-40=29, Resulting Numbers: [9, 29]
Generated Node #0,2,2: 64:[9, 29] Operation: 69-40=29
Exploring Operation: 9+40=49, Resulting Numbers: [69, 49]
Generated Node #0,2,3: 64:[69, 49] Operation: 9+40=49
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[9, 29], Operations: ['91-51=40', '69-40=29']
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,64 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,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:[69, 31], Operations: ['91-51=40', '40-9=31']
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 69*31=2139, Resulting Numbers: [2139]
2139,64 unequal: No Solution
Exploring Operation: 69+31=100, Resulting Numbers: [100]
100,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,0
Current State: 64:[40, 60], Operations: ['91-51=40', '69-9=60']
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,64 unequal: No Solution
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,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,3
Current State: 64:[69, 49], Operations: ['91-51=40', '9+40=49']
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 69*49=3381, Resulting Numbers: [3381]
3381,64 unequal: No Solution
Exploring Operation: 69+49=118, Resulting Numbers: [118]
118,64 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: 64:[9, 51, 22], Operations: ['91-69=22']
Exploring Operation: 51+22=73, Resulting Numbers: [9, 73]
Generated Node #0,3,0: 64:[9, 73] Operation: 51+22=73
Exploring Operation: 9+51=60, Resulting Numbers: [22, 60]
Generated Node #0,3,1: 64:[22, 60] Operation: 9+51=60
Exploring Operation: 51-22=29, Resulting Numbers: [9, 29]
Generated Node #0,3,2: 64:[9, 29] Operation: 51-22=29
Exploring Operation: 9+22=31, Resulting Numbers: [51, 31]
Generated Node #0,3,3: 64:[51, 31] Operation: 9+22=31
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 64:[9, 29], Operations: ['91-69=22', '51-22=29']
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,64 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,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,3,0
Current State: 64:[9, 73], Operations: ['91-69=22', '51+22=73']
Exploring Operation: 9+73=82, Resulting Numbers: [82]
82,64 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[69, 9, 51, 91], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [9, 51, 22]
Generated Node #0,3: 64:[9, 51, 22] Operation: 91-69=22
Moving to Node #0,3
Current State: 64:[9, 51, 22], Operations: ['91-69=22']
Exploring Operation: 51+22=73, Resulting Numbers: [9, 73]
Generated Node #0,3,0: 64:[9, 73] Operation: 51+22=73
Moving to Node #0,3,0
Current State: 64:[9, 73], Operations: ['91-69=22', '51+22=73']
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
58,
90,
24,
45
] | 80 | [
"58+24=82",
"90/45=2",
"82-2=80"
] | Current State: 80:[58, 90, 24, 45], Operations: []
Exploring Operation: 58+24=82, Resulting Numbers: [90, 45, 82]
Generated Node #2: [90, 45, 82] from Operation: 58+24=82
Current State: 80:[90, 45, 82], Operations: ['58+24=82']
Exploring Operation: 90/45=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 90/45=2
Current State: 80:[82, 2], Operations: ['58+24=82', '90/45=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[58, 90, 24, 45], Operations: []
Exploring Operation: 58-45=13, Resulting Numbers: [90, 24, 13]
Generated Node #0,0: 80:[90, 24, 13] Operation: 58-45=13
Exploring Operation: 90-58=32, Resulting Numbers: [24, 45, 32]
Generated Node #0,1: 80:[24, 45, 32] Operation: 90-58=32
Exploring Operation: 58+24=82, Resulting Numbers: [90, 45, 82]
Generated Node #0,2: 80:[90, 45, 82] Operation: 58+24=82
Moving to Node #0,0
Current State: 80:[90, 24, 13], Operations: ['58-45=13']
Exploring Operation: 24+13=37, Resulting Numbers: [90, 37]
Generated Node #0,0,0: 80:[90, 37] Operation: 24+13=37
Exploring Operation: 24-13=11, Resulting Numbers: [90, 11]
Generated Node #0,0,1: 80:[90, 11] Operation: 24-13=11
Exploring Operation: 90-13=77, Resulting Numbers: [24, 77]
Generated Node #0,0,2: 80:[24, 77] Operation: 90-13=77
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[24, 77], Operations: ['58-45=13', '90-13=77']
Exploring Operation: 24+77=101, Resulting Numbers: [101]
101,80 unequal: No Solution
Exploring Operation: 24*77=1848, Resulting Numbers: [1848]
1848,80 unequal: No Solution
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,80 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: 80:[90, 11], Operations: ['58-45=13', '24-13=11']
Exploring Operation: 90+11=101, Resulting Numbers: [101]
101,80 unequal: No Solution
Exploring Operation: 90*11=990, Resulting Numbers: [990]
990,80 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,80 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: 80:[90, 37], Operations: ['58-45=13', '24+13=37']
Exploring Operation: 90*37=3330, Resulting Numbers: [3330]
3330,80 unequal: No Solution
Exploring Operation: 90+37=127, Resulting Numbers: [127]
127,80 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,80 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: 80:[24, 45, 32], Operations: ['90-58=32']
Exploring Operation: 45-32=13, Resulting Numbers: [24, 13]
Generated Node #0,1,0: 80:[24, 13] Operation: 45-32=13
Exploring Operation: 32-24=8, Resulting Numbers: [45, 8]
Generated Node #0,1,1: 80:[45, 8] Operation: 32-24=8
Exploring Operation: 45+32=77, Resulting Numbers: [24, 77]
Generated Node #0,1,2: 80:[24, 77] Operation: 45+32=77
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[45, 8], Operations: ['90-58=32', '32-24=8']
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,80 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: 80:[24, 13], Operations: ['90-58=32', '45-32=13']
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,80 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,80 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: 80:[24, 77], Operations: ['90-58=32', '45+32=77']
Exploring Operation: 24+77=101, Resulting Numbers: [101]
101,80 unequal: No Solution
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 24*77=1848, Resulting Numbers: [1848]
1848,80 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: 80:[90, 45, 82], Operations: ['58+24=82']
Exploring Operation: 90/45=2, Resulting Numbers: [82, 2]
Generated Node #0,2,0: 80:[82, 2] Operation: 90/45=2
Exploring Operation: 90-45=45, Resulting Numbers: [82, 45]
Generated Node #0,2,1: 80:[82, 45] Operation: 90-45=45
Exploring Operation: 90-82=8, Resulting Numbers: [45, 8]
Generated Node #0,2,2: 80:[45, 8] Operation: 90-82=8
Moving to Node #0,2,0
Current State: 80:[82, 2], Operations: ['58+24=82', '90/45=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[58, 90, 24, 45], Operations: []
Exploring Operation: 58+24=82, Resulting Numbers: [90, 45, 82]
Generated Node #0,2: 80:[90, 45, 82] Operation: 58+24=82
Moving to Node #0,2
Current State: 80:[90, 45, 82], Operations: ['58+24=82']
Exploring Operation: 90/45=2, Resulting Numbers: [82, 2]
Generated Node #0,2,0: 80:[82, 2] Operation: 90/45=2
Moving to Node #0,2,0
Current State: 80:[82, 2], Operations: ['58+24=82', '90/45=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.969618 | hs_3 | mult_heuristic |
[
6,
40,
37,
73
] | 70 | [
"40-6=34",
"73-37=36",
"34+36=70"
] | Current State: 70:[6, 40, 37, 73], Operations: []
Exploring Operation: 40-6=34, Resulting Numbers: [37, 73, 34]
Generated Node #2: [37, 73, 34] from Operation: 40-6=34
Current State: 70:[37, 73, 34], Operations: ['40-6=34']
Exploring Operation: 73-37=36, Resulting Numbers: [34, 36]
Generated Node #3: [34, 36] from Operation: 73-37=36
Current State: 70:[34, 36], Operations: ['40-6=34', '73-37=36']
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[6, 40, 37, 73], Operations: []
Exploring Operation: 40-37=3, Resulting Numbers: [6, 73, 3]
Generated Node #0,0: 70:[6, 73, 3] Operation: 40-37=3
Exploring Operation: 73-37=36, Resulting Numbers: [6, 40, 36]
Generated Node #0,1: 70:[6, 40, 36] Operation: 73-37=36
Exploring Operation: 73-40=33, Resulting Numbers: [6, 37, 33]
Generated Node #0,2: 70:[6, 37, 33] Operation: 73-40=33
Exploring Operation: 40-6=34, Resulting Numbers: [37, 73, 34]
Generated Node #0,3: 70:[37, 73, 34] Operation: 40-6=34
Moving to Node #0,0
Current State: 70:[6, 73, 3], Operations: ['40-37=3']
Exploring Operation: 6+3=9, Resulting Numbers: [73, 9]
Generated Node #0,0,0: 70:[73, 9] Operation: 6+3=9
Exploring Operation: 73-6=67, Resulting Numbers: [3, 67]
Generated Node #0,0,1: 70:[3, 67] Operation: 73-6=67
Exploring Operation: 6/3=2, Resulting Numbers: [73, 2]
Generated Node #0,0,2: 70:[73, 2] Operation: 6/3=2
Exploring Operation: 73-3=70, Resulting Numbers: [6, 70]
Generated Node #0,0,3: 70:[6, 70] Operation: 73-3=70
Moving to Node #0,2
Current State: 70:[6, 37, 33], Operations: ['73-40=33']
Exploring Operation: 37-33=4, Resulting Numbers: [6, 4]
Generated Node #0,2,0: 70:[6, 4] Operation: 37-33=4
Exploring Operation: 37+33=70, Resulting Numbers: [6, 70]
Generated Node #0,2,1: 70:[6, 70] Operation: 37+33=70
Exploring Operation: 37-6=31, Resulting Numbers: [33, 31]
Generated Node #0,2,2: 70:[33, 31] Operation: 37-6=31
Exploring Operation: 6+33=39, Resulting Numbers: [37, 39]
Generated Node #0,2,3: 70:[37, 39] Operation: 6+33=39
Moving to Node #0,3
Current State: 70:[37, 73, 34], Operations: ['40-6=34']
Exploring Operation: 73-34=39, Resulting Numbers: [37, 39]
Generated Node #0,3,0: 70:[37, 39] Operation: 73-34=39
Exploring Operation: 73-37=36, Resulting Numbers: [34, 36]
Generated Node #0,3,1: 70:[34, 36] Operation: 73-37=36
Exploring Operation: 37+34=71, Resulting Numbers: [73, 71]
Generated Node #0,3,2: 70:[73, 71] Operation: 37+34=71
Exploring Operation: 37-34=3, Resulting Numbers: [73, 3]
Generated Node #0,3,3: 70:[73, 3] Operation: 37-34=3
Moving to Node #0,1
Current State: 70:[6, 40, 36], Operations: ['73-37=36']
Exploring Operation: 36/6=6, Resulting Numbers: [40, 6]
Generated Node #0,1,0: 70:[40, 6] Operation: 36/6=6
Exploring Operation: 40-6=34, Resulting Numbers: [36, 34]
Generated Node #0,1,1: 70:[36, 34] Operation: 40-6=34
Exploring Operation: 40-36=4, Resulting Numbers: [6, 4]
Generated Node #0,1,2: 70:[6, 4] Operation: 40-36=4
Exploring Operation: 40+36=76, Resulting Numbers: [6, 76]
Generated Node #0,1,3: 70:[6, 76] Operation: 40+36=76
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[36, 34], Operations: ['73-37=36', '40-6=34']
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,70 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[6, 40, 37, 73], Operations: []
Exploring Operation: 73-37=36, Resulting Numbers: [6, 40, 36]
Generated Node #0,1: 70:[6, 40, 36] Operation: 73-37=36
Moving to Node #0,1
Current State: 70:[6, 40, 36], Operations: ['73-37=36']
Exploring Operation: 40-6=34, Resulting Numbers: [36, 34]
Generated Node #0,1,1: 70:[36, 34] Operation: 40-6=34
Moving to Node #0,1,1
Current State: 70:[36, 34], Operations: ['73-37=36', '40-6=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | mult_heuristic |
[
38,
72,
2,
42
] | 98 | [
"72-42=30",
"2*30=60",
"38+60=98"
] | Current State: 98:[38, 72, 2, 42], Operations: []
Exploring Operation: 72-42=30, Resulting Numbers: [38, 2, 30]
Generated Node #2: [38, 2, 30] from Operation: 72-42=30
Current State: 98:[38, 2, 30], Operations: ['72-42=30']
Exploring Operation: 2*30=60, Resulting Numbers: [38, 60]
Generated Node #3: [38, 60] from Operation: 2*30=60
Current State: 98:[38, 60], Operations: ['72-42=30', '2*30=60']
Exploring Operation: 38+60=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[38, 72, 2, 42], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [2, 42, 34]
Generated Node #0,0: 98:[2, 42, 34] Operation: 72-38=34
Exploring Operation: 38+72=110, Resulting Numbers: [2, 42, 110]
Generated Node #0,1: 98:[2, 42, 110] Operation: 38+72=110
Moving to Node #0,1
Current State: 98:[2, 42, 110], Operations: ['38+72=110']
Exploring Operation: 110/2=55, Resulting Numbers: [42, 55]
Generated Node #0,1,0: 98:[42, 55] Operation: 110/2=55
Exploring Operation: 2+42=44, Resulting Numbers: [110, 44]
Generated Node #0,1,1: 98:[110, 44] Operation: 2+42=44
Moving to Node #0,0
Current State: 98:[2, 42, 34], Operations: ['72-38=34']
Exploring Operation: 42-34=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 98:[2, 8] Operation: 42-34=8
Exploring Operation: 34/2=17, Resulting Numbers: [42, 17]
Generated Node #0,0,1: 98:[42, 17] Operation: 34/2=17
Moving to Node #0,0,0
Current State: 98:[2, 8], Operations: ['72-38=34', '42-34=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[42, 17], Operations: ['72-38=34', '34/2=17']
Exploring Operation: 42+17=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[42, 55], Operations: ['38+72=110', '110/2=55']
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 42+55=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[110, 44], Operations: ['38+72=110', '2+42=44']
Exploring Operation: 110-44=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 110+44=154, Resulting Numbers: [154]
154,98 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
24,
5,
93
] | 100 | [
"24/2=12",
"93-5=88",
"12+88=100"
] | Current State: 100:[2, 24, 5, 93], Operations: []
Exploring Operation: 24/2=12, Resulting Numbers: [5, 93, 12]
Generated Node #2: [5, 93, 12] from Operation: 24/2=12
Current State: 100:[5, 93, 12], Operations: ['24/2=12']
Exploring Operation: 93-5=88, Resulting Numbers: [12, 88]
Generated Node #3: [12, 88] from Operation: 93-5=88
Current State: 100:[12, 88], Operations: ['24/2=12', '93-5=88']
Exploring Operation: 12+88=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[2, 24, 5, 93], Operations: []
Exploring Operation: 5+93=98, Resulting Numbers: [2, 24, 98]
Generated Node #0,0: 100:[2, 24, 98] Operation: 5+93=98
Exploring Operation: 2+24=26, Resulting Numbers: [5, 93, 26]
Generated Node #0,1: 100:[5, 93, 26] Operation: 2+24=26
Exploring Operation: 2+93=95, Resulting Numbers: [24, 5, 95]
Generated Node #0,2: 100:[24, 5, 95] Operation: 2+93=95
Moving to Node #0,0
Current State: 100:[2, 24, 98], Operations: ['5+93=98']
Exploring Operation: 2+24=26, Resulting Numbers: [98, 26]
Generated Node #0,0,0: 100:[98, 26] Operation: 2+24=26
Exploring Operation: 98/2=49, Resulting Numbers: [24, 49]
Generated Node #0,0,1: 100:[24, 49] Operation: 98/2=49
Exploring Operation: 2+98=100, Resulting Numbers: [24, 100]
Generated Node #0,0,2: 100:[24, 100] Operation: 2+98=100
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[24, 100], Operations: ['5+93=98', '2+98=100']
Exploring Operation: 24+100=124, Resulting Numbers: [124]
124,100 unequal: No Solution
Exploring Operation: 24*100=2400, Resulting Numbers: [2400]
2400,100 unequal: No Solution
Exploring Operation: 100-24=76, Resulting Numbers: [76]
76,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,0,1
Current State: 100:[24, 49], Operations: ['5+93=98', '98/2=49']
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,100 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,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,0,0
Current State: 100:[98, 26], Operations: ['5+93=98', '2+24=26']
Exploring Operation: 98*26=2548, Resulting Numbers: [2548]
2548,100 unequal: No Solution
Exploring Operation: 98+26=124, Resulting Numbers: [124]
124,100 unequal: No Solution
Exploring Operation: 98-26=72, Resulting Numbers: [72]
72,100 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: 100:[24, 5, 95], Operations: ['2+93=95']
Exploring Operation: 5+95=100, Resulting Numbers: [24, 100]
Generated Node #0,2,0: 100:[24, 100] Operation: 5+95=100
Exploring Operation: 24-5=19, Resulting Numbers: [95, 19]
Generated Node #0,2,1: 100:[95, 19] Operation: 24-5=19
Exploring Operation: 95/5=19, Resulting Numbers: [24, 19]
Generated Node #0,2,2: 100:[24, 19] Operation: 95/5=19
Moving to Node #0,1
Current State: 100:[5, 93, 26], Operations: ['2+24=26']
Exploring Operation: 5+93=98, Resulting Numbers: [26, 98]
Generated Node #0,1,0: 100:[26, 98] Operation: 5+93=98
Exploring Operation: 93-5=88, Resulting Numbers: [26, 88]
Generated Node #0,1,1: 100:[26, 88] Operation: 93-5=88
Exploring Operation: 26-5=21, Resulting Numbers: [93, 21]
Generated Node #0,1,2: 100:[93, 21] Operation: 26-5=21
Moving to Node #0,2,0
Current State: 100:[24, 100], Operations: ['2+93=95', '5+95=100']
Exploring Operation: 100-24=76, Resulting Numbers: [76]
76,100 unequal: No Solution
Exploring Operation: 24*100=2400, Resulting Numbers: [2400]
2400,100 unequal: No Solution
Exploring Operation: 24+100=124, Resulting Numbers: [124]
124,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[24, 19], Operations: ['2+93=95', '95/5=19']
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,100 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[26, 98], Operations: ['2+24=26', '5+93=98']
Exploring Operation: 98-26=72, Resulting Numbers: [72]
72,100 unequal: No Solution
Exploring Operation: 26*98=2548, Resulting Numbers: [2548]
2548,100 unequal: No Solution
Exploring Operation: 26+98=124, Resulting Numbers: [124]
124,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[95, 19], Operations: ['2+93=95', '24-5=19']
Exploring Operation: 95+19=114, Resulting Numbers: [114]
114,100 unequal: No Solution
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,100 unequal: No Solution
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[93, 21], Operations: ['2+24=26', '26-5=21']
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,100 unequal: No Solution
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,100 unequal: No Solution
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[26, 88], Operations: ['2+24=26', '93-5=88']
Exploring Operation: 26+88=114, Resulting Numbers: [114]
114,100 unequal: No Solution
Exploring Operation: 26*88=2288, Resulting Numbers: [2288]
2288,100 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,100 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
63,
5,
21,
64
] | 23 | [
"63/21=3",
"5+64=69",
"69/3=23"
] | Current State: 23:[63, 5, 21, 64], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [5, 64, 3]
Generated Node #2: [5, 64, 3] from Operation: 63/21=3
Current State: 23:[5, 64, 3], Operations: ['63/21=3']
Exploring Operation: 5+64=69, Resulting Numbers: [3, 69]
Generated Node #3: [3, 69] from Operation: 5+64=69
Current State: 23:[3, 69], Operations: ['63/21=3', '5+64=69']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[63, 5, 21, 64], Operations: []
Exploring Operation: 64-21=43, Resulting Numbers: [63, 5, 43]
Generated Node #0,0: 23:[63, 5, 43] Operation: 64-21=43
Exploring Operation: 63-21=42, Resulting Numbers: [5, 64, 42]
Generated Node #0,1: 23:[5, 64, 42] Operation: 63-21=42
Exploring Operation: 64-63=1, Resulting Numbers: [5, 21, 1]
Generated Node #0,2: 23:[5, 21, 1] Operation: 64-63=1
Exploring Operation: 63-5=58, Resulting Numbers: [21, 64, 58]
Generated Node #0,3: 23:[21, 64, 58] Operation: 63-5=58
Exploring Operation: 64-5=59, Resulting Numbers: [63, 21, 59]
Generated Node #0,4: 23:[63, 21, 59] Operation: 64-5=59
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[5, 21, 1], Operations: ['64-63=1']
Exploring Operation: 5*1=5, Resulting Numbers: [21, 5]
Generated Node #0,2,0: 23:[21, 5] Operation: 5*1=5
Exploring Operation: 5/1=5, Resulting Numbers: [21, 5]
Generated Node #0,2,1: 23:[21, 5] Operation: 5/1=5
Exploring Operation: 5+1=6, Resulting Numbers: [21, 6]
Generated Node #0,2,2: 23:[21, 6] Operation: 5+1=6
Exploring Operation: 21*1=21, Resulting Numbers: [5, 21]
Generated Node #0,2,3: 23:[5, 21] Operation: 21*1=21
Exploring Operation: 21+1=22, Resulting Numbers: [5, 22]
Generated Node #0,2,4: 23:[5, 22] Operation: 21+1=22
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 23:[21, 6], Operations: ['64-63=1', '5+1=6']
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,23 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: 23:[5, 22], Operations: ['64-63=1', '21+1=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,23 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: 23:[21, 5], Operations: ['64-63=1', '5*1=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,23 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,23 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: 23:[21, 5], Operations: ['64-63=1', '5/1=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,23 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,23 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: 23:[5, 21], Operations: ['64-63=1', '21*1=21']
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,23 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,23 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: 23:[63, 5, 43], Operations: ['64-21=43']
Exploring Operation: 63-5=58, Resulting Numbers: [43, 58]
Generated Node #0,0,0: 23:[43, 58] Operation: 63-5=58
Exploring Operation: 43-5=38, Resulting Numbers: [63, 38]
Generated Node #0,0,1: 23:[63, 38] Operation: 43-5=38
Exploring Operation: 63+5=68, Resulting Numbers: [43, 68]
Generated Node #0,0,2: 23:[43, 68] Operation: 63+5=68
Exploring Operation: 63-43=20, Resulting Numbers: [5, 20]
Generated Node #0,0,3: 23:[5, 20] Operation: 63-43=20
Exploring Operation: 5+43=48, Resulting Numbers: [63, 48]
Generated Node #0,0,4: 23:[63, 48] Operation: 5+43=48
Moving to Node #0,0,3
Current State: 23:[5, 20], Operations: ['64-21=43', '63-43=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,23 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[63, 38], Operations: ['64-21=43', '43-5=38']
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 63+38=101, Resulting Numbers: [101]
101,23 unequal: No Solution
Exploring Operation: 63*38=2394, Resulting Numbers: [2394]
2394,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[43, 58], Operations: ['64-21=43', '63-5=58']
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 43+58=101, Resulting Numbers: [101]
101,23 unequal: No Solution
Exploring Operation: 43*58=2494, Resulting Numbers: [2494]
2494,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[43, 68], Operations: ['64-21=43', '63+5=68']
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,23 unequal: No Solution
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,23 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[63, 48], Operations: ['64-21=43', '5+43=48']
Exploring Operation: 63+48=111, Resulting Numbers: [111]
111,23 unequal: No Solution
Exploring Operation: 63*48=3024, Resulting Numbers: [3024]
3024,23 unequal: No Solution
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,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,1
Current State: 23:[5, 64, 42], Operations: ['63-21=42']
Exploring Operation: 5+42=47, Resulting Numbers: [64, 47]
Generated Node #0,1,0: 23:[64, 47] Operation: 5+42=47
Exploring Operation: 42-5=37, Resulting Numbers: [64, 37]
Generated Node #0,1,1: 23:[64, 37] Operation: 42-5=37
Exploring Operation: 64-5=59, Resulting Numbers: [42, 59]
Generated Node #0,1,2: 23:[42, 59] Operation: 64-5=59
Exploring Operation: 5+64=69, Resulting Numbers: [42, 69]
Generated Node #0,1,3: 23:[42, 69] Operation: 5+64=69
Exploring Operation: 64-42=22, Resulting Numbers: [5, 22]
Generated Node #0,1,4: 23:[5, 22] Operation: 64-42=22
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 23:[5, 22], Operations: ['63-21=42', '64-42=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,23 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,23 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: 23:[64, 37], Operations: ['63-21=42', '42-5=37']
Exploring Operation: 64*37=2368, Resulting Numbers: [2368]
2368,23 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 64+37=101, Resulting Numbers: [101]
101,23 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: 23:[42, 59], Operations: ['63-21=42', '64-5=59']
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 42*59=2478, Resulting Numbers: [2478]
2478,23 unequal: No Solution
Exploring Operation: 42+59=101, Resulting Numbers: [101]
101,23 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: 23:[64, 47], Operations: ['63-21=42', '5+42=47']
Exploring Operation: 64+47=111, Resulting Numbers: [111]
111,23 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 64*47=3008, Resulting Numbers: [3008]
3008,23 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: 23:[42, 69], Operations: ['63-21=42', '5+64=69']
Exploring Operation: 42*69=2898, Resulting Numbers: [2898]
2898,23 unequal: No Solution
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 42+69=111, Resulting Numbers: [111]
111,23 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: 23:[21, 64, 58], Operations: ['63-5=58']
Exploring Operation: 64-58=6, Resulting Numbers: [21, 6]
Generated Node #0,3,0: 23:[21, 6] Operation: 64-58=6
Exploring Operation: 58-21=37, Resulting Numbers: [64, 37]
Generated Node #0,3,1: 23:[64, 37] Operation: 58-21=37
Exploring Operation: 21+64=85, Resulting Numbers: [58, 85]
Generated Node #0,3,2: 23:[58, 85] Operation: 21+64=85
Exploring Operation: 64-21=43, Resulting Numbers: [58, 43]
Generated Node #0,3,3: 23:[58, 43] Operation: 64-21=43
Exploring Operation: 21+58=79, Resulting Numbers: [64, 79]
Generated Node #0,3,4: 23:[64, 79] Operation: 21+58=79
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 23:[21, 6], Operations: ['63-5=58', '64-58=6']
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,23 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: 23:[64, 37], Operations: ['63-5=58', '58-21=37']
Exploring Operation: 64*37=2368, Resulting Numbers: [2368]
2368,23 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 64+37=101, Resulting Numbers: [101]
101,23 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: 23:[58, 43], Operations: ['63-5=58', '64-21=43']
Exploring Operation: 58+43=101, Resulting Numbers: [101]
101,23 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 58*43=2494, Resulting Numbers: [2494]
2494,23 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: 23:[58, 85], Operations: ['63-5=58', '21+64=85']
Exploring Operation: 58+85=143, Resulting Numbers: [143]
143,23 unequal: No Solution
Exploring Operation: 85-58=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 58*85=4930, Resulting Numbers: [4930]
4930,23 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: 23:[64, 79], Operations: ['63-5=58', '21+58=79']
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 64*79=5056, Resulting Numbers: [5056]
5056,23 unequal: No Solution
Exploring Operation: 64+79=143, Resulting Numbers: [143]
143,23 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: 23:[63, 21, 59], Operations: ['64-5=59']
Exploring Operation: 59-21=38, Resulting Numbers: [63, 38]
Generated Node #0,4,0: 23:[63, 38] Operation: 59-21=38
Exploring Operation: 63+21=84, Resulting Numbers: [59, 84]
Generated Node #0,4,1: 23:[59, 84] Operation: 63+21=84
Exploring Operation: 63-59=4, Resulting Numbers: [21, 4]
Generated Node #0,4,2: 23:[21, 4] Operation: 63-59=4
Exploring Operation: 63/21=3, Resulting Numbers: [59, 3]
Generated Node #0,4,3: 23:[59, 3] Operation: 63/21=3
Exploring Operation: 63-21=42, Resulting Numbers: [59, 42]
Generated Node #0,4,4: 23:[59, 42] Operation: 63-21=42
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 23:[21, 4], Operations: ['64-5=59', '63-59=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,23 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,23 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: 23:[63, 38], Operations: ['64-5=59', '59-21=38']
Exploring Operation: 63*38=2394, Resulting Numbers: [2394]
2394,23 unequal: No Solution
Exploring Operation: 63+38=101, Resulting Numbers: [101]
101,23 unequal: No Solution
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,23 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: 23:[59, 42], Operations: ['64-5=59', '63-21=42']
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,23 unequal: No Solution
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,23 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,23 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: 23:[59, 3], Operations: ['64-5=59', '63/21=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,23 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,23 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: 23:[59, 84], Operations: ['64-5=59', '63+21=84']
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 59*84=4956, Resulting Numbers: [4956]
4956,23 unequal: No Solution
Exploring Operation: 59+84=143, Resulting Numbers: [143]
143,23 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 | mult_heuristic |
[
1,
64,
39,
50
] | 54 | [
"1+64=65",
"50-39=11",
"65-11=54"
] | Current State: 54:[1, 64, 39, 50], Operations: []
Exploring Operation: 1+64=65, Resulting Numbers: [39, 50, 65]
Generated Node #2: [39, 50, 65] from Operation: 1+64=65
Current State: 54:[39, 50, 65], Operations: ['1+64=65']
Exploring Operation: 50-39=11, Resulting Numbers: [65, 11]
Generated Node #3: [65, 11] from Operation: 50-39=11
Current State: 54:[65, 11], Operations: ['1+64=65', '50-39=11']
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[1, 64, 39, 50], Operations: []
Exploring Operation: 64-1=63, Resulting Numbers: [39, 50, 63]
Generated Node #0,0: 54:[39, 50, 63] Operation: 64-1=63
Exploring Operation: 50-39=11, Resulting Numbers: [1, 64, 11]
Generated Node #0,1: 54:[1, 64, 11] Operation: 50-39=11
Exploring Operation: 64-50=14, Resulting Numbers: [1, 39, 14]
Generated Node #0,2: 54:[1, 39, 14] Operation: 64-50=14
Exploring Operation: 64-39=25, Resulting Numbers: [1, 50, 25]
Generated Node #0,3: 54:[1, 50, 25] Operation: 64-39=25
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[1, 50, 25], Operations: ['64-39=25']
Exploring Operation: 50-25=25, Resulting Numbers: [1, 25]
Generated Node #0,3,0: 54:[1, 25] Operation: 50-25=25
Exploring Operation: 50/25=2, Resulting Numbers: [1, 2]
Generated Node #0,3,1: 54:[1, 2] Operation: 50/25=2
Exploring Operation: 1+25=26, Resulting Numbers: [50, 26]
Generated Node #0,3,2: 54:[50, 26] Operation: 1+25=26
Exploring Operation: 1+50=51, Resulting Numbers: [25, 51]
Generated Node #0,3,3: 54:[25, 51] Operation: 1+50=51
Moving to Node #0,3,1
Current State: 54:[1, 2], Operations: ['64-39=25', '50/25=2']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[1, 25], Operations: ['64-39=25', '50-25=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,54 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,54 unequal: No Solution
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[25, 51], Operations: ['64-39=25', '1+50=51']
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,54 unequal: No Solution
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,54 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[50, 26], Operations: ['64-39=25', '1+25=26']
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,54 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,54 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: 54:[1, 64, 11], Operations: ['50-39=11']
Exploring Operation: 1*64=64, Resulting Numbers: [11, 64]
Generated Node #0,1,0: 54:[11, 64] Operation: 1*64=64
Exploring Operation: 64-11=53, Resulting Numbers: [1, 53]
Generated Node #0,1,1: 54:[1, 53] Operation: 64-11=53
Exploring Operation: 11-1=10, Resulting Numbers: [64, 10]
Generated Node #0,1,2: 54:[64, 10] Operation: 11-1=10
Exploring Operation: 64-1=63, Resulting Numbers: [11, 63]
Generated Node #0,1,3: 54:[11, 63] Operation: 64-1=63
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[1, 53], Operations: ['50-39=11', '64-11=53']
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[1, 64, 39, 50], Operations: []
Exploring Operation: 50-39=11, Resulting Numbers: [1, 64, 11]
Generated Node #0,1: 54:[1, 64, 11] Operation: 50-39=11
Moving to Node #0,1
Current State: 54:[1, 64, 11], Operations: ['50-39=11']
Exploring Operation: 64-11=53, Resulting Numbers: [1, 53]
Generated Node #0,1,1: 54:[1, 53] Operation: 64-11=53
Moving to Node #0,1,1
Current State: 54:[1, 53], Operations: ['50-39=11', '64-11=53']
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
44,
59,
39,
41
] | 29 | [
"41-39=2",
"44*2=88",
"88-59=29"
] | Current State: 29:[44, 59, 39, 41], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [44, 59, 2]
Generated Node #2: [44, 59, 2] from Operation: 41-39=2
Current State: 29:[44, 59, 2], Operations: ['41-39=2']
Exploring Operation: 44*2=88, Resulting Numbers: [59, 88]
Generated Node #3: [59, 88] from Operation: 44*2=88
Current State: 29:[59, 88], Operations: ['41-39=2', '44*2=88']
Exploring Operation: 88-59=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[44, 59, 39, 41], Operations: []
Exploring Operation: 59-41=18, Resulting Numbers: [44, 39, 18]
Generated Node #0,0: 29:[44, 39, 18] Operation: 59-41=18
Exploring Operation: 59-44=15, Resulting Numbers: [39, 41, 15]
Generated Node #0,1: 29:[39, 41, 15] Operation: 59-44=15
Exploring Operation: 59-39=20, Resulting Numbers: [44, 41, 20]
Generated Node #0,2: 29:[44, 41, 20] Operation: 59-39=20
Exploring Operation: 44-39=5, Resulting Numbers: [59, 41, 5]
Generated Node #0,3: 29:[59, 41, 5] Operation: 44-39=5
Moving to Node #0,0
Current State: 29:[44, 39, 18], Operations: ['59-41=18']
Exploring Operation: 44-18=26, Resulting Numbers: [39, 26]
Generated Node #0,0,0: 29:[39, 26] Operation: 44-18=26
Exploring Operation: 44+18=62, Resulting Numbers: [39, 62]
Generated Node #0,0,1: 29:[39, 62] Operation: 44+18=62
Exploring Operation: 44-39=5, Resulting Numbers: [18, 5]
Generated Node #0,0,2: 29:[18, 5] Operation: 44-39=5
Exploring Operation: 39-18=21, Resulting Numbers: [44, 21]
Generated Node #0,0,3: 29:[44, 21] Operation: 39-18=21
Moving to Node #0,2
Current State: 29:[44, 41, 20], Operations: ['59-39=20']
Exploring Operation: 41-20=21, Resulting Numbers: [44, 21]
Generated Node #0,2,0: 29:[44, 21] Operation: 41-20=21
Exploring Operation: 44-20=24, Resulting Numbers: [41, 24]
Generated Node #0,2,1: 29:[41, 24] Operation: 44-20=24
Exploring Operation: 44-41=3, Resulting Numbers: [20, 3]
Generated Node #0,2,2: 29:[20, 3] Operation: 44-41=3
Exploring Operation: 44+20=64, Resulting Numbers: [41, 64]
Generated Node #0,2,3: 29:[41, 64] Operation: 44+20=64
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[41, 24], Operations: ['59-39=20', '44-20=24']
Exploring Operation: 41+24=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 41*24=984, Resulting Numbers: [984]
984,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,2,0
Current State: 29:[44, 21], Operations: ['59-39=20', '41-20=21']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,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,2,2
Current State: 29:[20, 3], Operations: ['59-39=20', '44-41=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,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,2,3
Current State: 29:[41, 64], Operations: ['59-39=20', '44+20=64']
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 41*64=2624, Resulting Numbers: [2624]
2624,29 unequal: No Solution
Exploring Operation: 41+64=105, Resulting Numbers: [105]
105,29 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: 29:[39, 41, 15], Operations: ['59-44=15']
Exploring Operation: 39+15=54, Resulting Numbers: [41, 54]
Generated Node #0,1,0: 29:[41, 54] Operation: 39+15=54
Exploring Operation: 41+15=56, Resulting Numbers: [39, 56]
Generated Node #0,1,1: 29:[39, 56] Operation: 41+15=56
Exploring Operation: 41-15=26, Resulting Numbers: [39, 26]
Generated Node #0,1,2: 29:[39, 26] Operation: 41-15=26
Exploring Operation: 39-15=24, Resulting Numbers: [41, 24]
Generated Node #0,1,3: 29:[41, 24] Operation: 39-15=24
Moving to Node #0,3
Current State: 29:[59, 41, 5], Operations: ['44-39=5']
Exploring Operation: 59-41=18, Resulting Numbers: [5, 18]
Generated Node #0,3,0: 29:[5, 18] Operation: 59-41=18
Exploring Operation: 59-5=54, Resulting Numbers: [41, 54]
Generated Node #0,3,1: 29:[41, 54] Operation: 59-5=54
Exploring Operation: 59+5=64, Resulting Numbers: [41, 64]
Generated Node #0,3,2: 29:[41, 64] Operation: 59+5=64
Exploring Operation: 41-5=36, Resulting Numbers: [59, 36]
Generated Node #0,3,3: 29:[59, 36] Operation: 41-5=36
Moving to Node #0,0,0
Current State: 29:[39, 26], Operations: ['59-41=18', '44-18=26']
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[39, 26], Operations: ['59-44=15', '41-15=26']
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,29 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[41, 24], Operations: ['59-44=15', '39-15=24']
Exploring Operation: 41+24=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 41*24=984, Resulting Numbers: [984]
984,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[44, 21], Operations: ['59-41=18', '39-18=21']
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,29 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[18, 5], Operations: ['59-41=18', '44-39=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[5, 18], Operations: ['44-39=5', '59-41=18']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[41, 54], Operations: ['59-44=15', '39+15=54']
Exploring Operation: 41+54=95, Resulting Numbers: [95]
95,29 unequal: No Solution
Exploring Operation: 54-41=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 41*54=2214, Resulting Numbers: [2214]
2214,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[41, 54], Operations: ['44-39=5', '59-5=54']
Exploring Operation: 41*54=2214, Resulting Numbers: [2214]
2214,29 unequal: No Solution
Exploring Operation: 54-41=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 41+54=95, Resulting Numbers: [95]
95,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[59, 36], Operations: ['44-39=5', '41-5=36']
Exploring Operation: 59*36=2124, Resulting Numbers: [2124]
2124,29 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[39, 56], Operations: ['59-44=15', '41+15=56']
Exploring Operation: 39+56=95, Resulting Numbers: [95]
95,29 unequal: No Solution
Exploring Operation: 39*56=2184, Resulting Numbers: [2184]
2184,29 unequal: No Solution
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[39, 62], Operations: ['59-41=18', '44+18=62']
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 39*62=2418, Resulting Numbers: [2418]
2418,29 unequal: No Solution
Exploring Operation: 39+62=101, Resulting Numbers: [101]
101,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[41, 64], Operations: ['44-39=5', '59+5=64']
Exploring Operation: 41*64=2624, Resulting Numbers: [2624]
2624,29 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 41+64=105, Resulting Numbers: [105]
105,29 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
11,
7,
87,
52
] | 37 | [
"11*52=572",
"7*87=609",
"609-572=37"
] | Current State: 37:[11, 7, 87, 52], Operations: []
Exploring Operation: 11*52=572, Resulting Numbers: [7, 87, 572]
Generated Node #2: [7, 87, 572] from Operation: 11*52=572
Current State: 37:[7, 87, 572], Operations: ['11*52=572']
Exploring Operation: 7*87=609, Resulting Numbers: [572, 609]
Generated Node #3: [572, 609] from Operation: 7*87=609
Current State: 37:[572, 609], Operations: ['11*52=572', '7*87=609']
Exploring Operation: 609-572=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[11, 7, 87, 52], Operations: []
Exploring Operation: 87-52=35, Resulting Numbers: [11, 7, 35]
Generated Node #0,0: 37:[11, 7, 35] Operation: 87-52=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[11, 7, 35], Operations: ['87-52=35']
Exploring Operation: 11+7=18, Resulting Numbers: [35, 18]
Generated Node #0,0,0: 37:[35, 18] Operation: 11+7=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[35, 18], Operations: ['87-52=35', '11+7=18']
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,37 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 | mult_heuristic |
[
2,
46,
24,
72
] | 61 | [
"46-24=22",
"22/2=11",
"72-11=61"
] | Current State: 61:[2, 46, 24, 72], Operations: []
Exploring Operation: 46-24=22, Resulting Numbers: [2, 72, 22]
Generated Node #2: [2, 72, 22] from Operation: 46-24=22
Current State: 61:[2, 72, 22], Operations: ['46-24=22']
Exploring Operation: 22/2=11, Resulting Numbers: [72, 11]
Generated Node #3: [72, 11] from Operation: 22/2=11
Current State: 61:[72, 11], Operations: ['46-24=22', '22/2=11']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[2, 46, 24, 72], Operations: []
Exploring Operation: 46-2=44, Resulting Numbers: [24, 72, 44]
Generated Node #0,0: 61:[24, 72, 44] Operation: 46-2=44
Exploring Operation: 2+46=48, Resulting Numbers: [24, 72, 48]
Generated Node #0,1: 61:[24, 72, 48] Operation: 2+46=48
Exploring Operation: 2+24=26, Resulting Numbers: [46, 72, 26]
Generated Node #0,2: 61:[46, 72, 26] Operation: 2+24=26
Exploring Operation: 2*24=48, Resulting Numbers: [46, 72, 48]
Generated Node #0,3: 61:[46, 72, 48] Operation: 2*24=48
Exploring Operation: 72-2=70, Resulting Numbers: [46, 24, 70]
Generated Node #0,4: 61:[46, 24, 70] Operation: 72-2=70
Moving to Node #0,3
Current State: 61:[46, 72, 48], Operations: ['2*24=48']
Exploring Operation: 72-46=26, Resulting Numbers: [48, 26]
Generated Node #0,3,0: 61:[48, 26] Operation: 72-46=26
Exploring Operation: 48-46=2, Resulting Numbers: [72, 2]
Generated Node #0,3,1: 61:[72, 2] Operation: 48-46=2
Exploring Operation: 72-48=24, Resulting Numbers: [46, 24]
Generated Node #0,3,2: 61:[46, 24] Operation: 72-48=24
Exploring Operation: 46+72=118, Resulting Numbers: [48, 118]
Generated Node #0,3,3: 61:[48, 118] Operation: 46+72=118
Exploring Operation: 46+48=94, Resulting Numbers: [72, 94]
Generated Node #0,3,4: 61:[72, 94] Operation: 46+48=94
Moving to Node #0,2
Current State: 61:[46, 72, 26], Operations: ['2+24=26']
Exploring Operation: 72-46=26, Resulting Numbers: [26, 26]
Generated Node #0,2,0: 61:[26, 26] Operation: 72-46=26
Exploring Operation: 46-26=20, Resulting Numbers: [72, 20]
Generated Node #0,2,1: 61:[72, 20] Operation: 46-26=20
Exploring Operation: 46+26=72, Resulting Numbers: [72, 72]
Generated Node #0,2,2: 61:[72, 72] Operation: 46+26=72
Exploring Operation: 72+26=98, Resulting Numbers: [46, 98]
Generated Node #0,2,3: 61:[46, 98] Operation: 72+26=98
Exploring Operation: 72-26=46, Resulting Numbers: [46, 46]
Generated Node #0,2,4: 61:[46, 46] Operation: 72-26=46
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[72, 72], Operations: ['2+24=26', '46+26=72']
Exploring Operation: 72*72=5184, Resulting Numbers: [5184]
5184,61 unequal: No Solution
Exploring Operation: 72+72=144, Resulting Numbers: [144]
144,61 unequal: No Solution
Exploring Operation: 72-72=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 72/72=1, Resulting Numbers: [1]
1,61 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: 61:[46, 46], Operations: ['2+24=26', '72-26=46']
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 46*46=2116, Resulting Numbers: [2116]
2116,61 unequal: No Solution
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,61 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: 61:[72, 20], Operations: ['2+24=26', '46-26=20']
Exploring Operation: 72*20=1440, Resulting Numbers: [1440]
1440,61 unequal: No Solution
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,61 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: 61:[46, 98], Operations: ['2+24=26', '72+26=98']
Exploring Operation: 98-46=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 46*98=4508, Resulting Numbers: [4508]
4508,61 unequal: No Solution
Exploring Operation: 46+98=144, Resulting Numbers: [144]
144,61 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: 61:[26, 26], Operations: ['2+24=26', '72-46=26']
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,61 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: 61:[24, 72, 48], Operations: ['2+46=48']
Exploring Operation: 48/24=2, Resulting Numbers: [72, 2]
Generated Node #0,1,0: 61:[72, 2] Operation: 48/24=2
Exploring Operation: 72-24=48, Resulting Numbers: [48, 48]
Generated Node #0,1,1: 61:[48, 48] Operation: 72-24=48
Exploring Operation: 24+72=96, Resulting Numbers: [48, 96]
Generated Node #0,1,2: 61:[48, 96] Operation: 24+72=96
Exploring Operation: 24+48=72, Resulting Numbers: [72, 72]
Generated Node #0,1,3: 61:[72, 72] Operation: 24+48=72
Exploring Operation: 48-24=24, Resulting Numbers: [72, 24]
Generated Node #0,1,4: 61:[72, 24] Operation: 48-24=24
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[72, 72], Operations: ['2+46=48', '24+48=72']
Exploring Operation: 72+72=144, Resulting Numbers: [144]
144,61 unequal: No Solution
Exploring Operation: 72/72=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 72*72=5184, Resulting Numbers: [5184]
5184,61 unequal: No Solution
Exploring Operation: 72-72=0, Resulting Numbers: [0]
0,61 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: 61:[48, 48], Operations: ['2+46=48', '72-24=48']
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,61 unequal: No Solution
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 48*48=2304, Resulting Numbers: [2304]
2304,61 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: 61:[48, 96], Operations: ['2+46=48', '24+72=96']
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 48*96=4608, Resulting Numbers: [4608]
4608,61 unequal: No Solution
Exploring Operation: 48+96=144, Resulting Numbers: [144]
144,61 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: 61:[72, 24], Operations: ['2+46=48', '48-24=24']
Exploring Operation: 72*24=1728, Resulting Numbers: [1728]
1728,61 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,61 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: 61:[72, 2], Operations: ['2+46=48', '48/24=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,61 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,61 unequal: No Solution
Exploring Operation: 72*2=144, Resulting Numbers: [144]
144,61 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: 61:[46, 24, 70], Operations: ['72-2=70']
Exploring Operation: 70-24=46, Resulting Numbers: [46, 46]
Generated Node #0,4,0: 61:[46, 46] Operation: 70-24=46
Exploring Operation: 70-46=24, Resulting Numbers: [24, 24]
Generated Node #0,4,1: 61:[24, 24] Operation: 70-46=24
Exploring Operation: 46-24=22, Resulting Numbers: [70, 22]
Generated Node #0,4,2: 61:[70, 22] Operation: 46-24=22
Exploring Operation: 46+24=70, Resulting Numbers: [70, 70]
Generated Node #0,4,3: 61:[70, 70] Operation: 46+24=70
Exploring Operation: 24+70=94, Resulting Numbers: [46, 94]
Generated Node #0,4,4: 61:[46, 94] Operation: 24+70=94
Moving to Node #0,0
Current State: 61:[24, 72, 44], Operations: ['46-2=44']
Exploring Operation: 72-44=28, Resulting Numbers: [24, 28]
Generated Node #0,0,0: 61:[24, 28] Operation: 72-44=28
Exploring Operation: 24+72=96, Resulting Numbers: [44, 96]
Generated Node #0,0,1: 61:[44, 96] Operation: 24+72=96
Exploring Operation: 72-24=48, Resulting Numbers: [44, 48]
Generated Node #0,0,2: 61:[44, 48] Operation: 72-24=48
Exploring Operation: 24+44=68, Resulting Numbers: [72, 68]
Generated Node #0,0,3: 61:[72, 68] Operation: 24+44=68
Exploring Operation: 44-24=20, Resulting Numbers: [72, 20]
Generated Node #0,0,4: 61:[72, 20] Operation: 44-24=20
Moving to Node #0,4,3
Current State: 61:[70, 70], Operations: ['72-2=70', '46+24=70']
Exploring Operation: 70*70=4900, Resulting Numbers: [4900]
4900,61 unequal: No Solution
Exploring Operation: 70-70=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 70+70=140, Resulting Numbers: [140]
140,61 unequal: No Solution
Exploring Operation: 70/70=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[72, 68], Operations: ['46-2=44', '24+44=68']
Exploring Operation: 72*68=4896, Resulting Numbers: [4896]
4896,61 unequal: No Solution
Exploring Operation: 72-68=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 72+68=140, Resulting Numbers: [140]
140,61 unequal: No Solution
Moving to Node #0,4,0
Current State: 61:[46, 46], Operations: ['72-2=70', '70-24=46']
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 46*46=2116, Resulting Numbers: [2116]
2116,61 unequal: No Solution
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[44, 48], Operations: ['46-2=44', '72-24=48']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,61 unequal: No Solution
Moving to Node #0,3,4
Current State: 61:[72, 94], Operations: ['2*24=48', '46+48=94']
Exploring Operation: 72*94=6768, Resulting Numbers: [6768]
6768,61 unequal: No Solution
Exploring Operation: 72+94=166, Resulting Numbers: [166]
166,61 unequal: No Solution
Exploring Operation: 94-72=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[48, 26], Operations: ['2*24=48', '72-46=26']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 48*26=1248, Resulting Numbers: [1248]
1248,61 unequal: No Solution
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Moving to Node #0,4,2
Current State: 61:[70, 22], Operations: ['72-2=70', '46-24=22']
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 70*22=1540, Resulting Numbers: [1540]
1540,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[46, 94], Operations: ['72-2=70', '24+70=94']
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 46*94=4324, Resulting Numbers: [4324]
4324,61 unequal: No Solution
Exploring Operation: 46+94=140, Resulting Numbers: [140]
140,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[72, 20], Operations: ['46-2=44', '44-24=20']
Exploring Operation: 72*20=1440, Resulting Numbers: [1440]
1440,61 unequal: No Solution
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[46, 24], Operations: ['2*24=48', '72-48=24']
Exploring Operation: 46*24=1104, Resulting Numbers: [1104]
1104,61 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[44, 96], Operations: ['46-2=44', '24+72=96']
Exploring Operation: 44*96=4224, Resulting Numbers: [4224]
4224,61 unequal: No Solution
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 44+96=140, Resulting Numbers: [140]
140,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[72, 2], Operations: ['2*24=48', '48-46=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,61 unequal: No Solution
Exploring Operation: 72*2=144, Resulting Numbers: [144]
144,61 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[48, 118], Operations: ['2*24=48', '46+72=118']
Exploring Operation: 118-48=70, Resulting Numbers: [70]
70,61 unequal: No Solution
Exploring Operation: 48+118=166, Resulting Numbers: [166]
166,61 unequal: No Solution
Exploring Operation: 48*118=5664, Resulting Numbers: [5664]
5664,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[24, 28], Operations: ['46-2=44', '72-44=28']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[24, 24], Operations: ['72-2=70', '70-46=24']
Exploring Operation: 24*24=576, Resulting Numbers: [576]
576,61 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,61 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
74,
32,
8,
47
] | 23 | [
"74-47=27",
"32/8=4",
"27-4=23"
] | Current State: 23:[74, 32, 8, 47], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [32, 8, 27]
Generated Node #2: [32, 8, 27] from Operation: 74-47=27
Current State: 23:[32, 8, 27], Operations: ['74-47=27']
Exploring Operation: 32/8=4, Resulting Numbers: [27, 4]
Generated Node #3: [27, 4] from Operation: 32/8=4
Current State: 23:[27, 4], Operations: ['74-47=27', '32/8=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[74, 32, 8, 47], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [32, 8, 27]
Generated Node #0,0: 23:[32, 8, 27] Operation: 74-47=27
Exploring Operation: 47-32=15, Resulting Numbers: [74, 8, 15]
Generated Node #0,1: 23:[74, 8, 15] Operation: 47-32=15
Exploring Operation: 32-8=24, Resulting Numbers: [74, 47, 24]
Generated Node #0,2: 23:[74, 47, 24] Operation: 32-8=24
Exploring Operation: 74-8=66, Resulting Numbers: [32, 47, 66]
Generated Node #0,3: 23:[32, 47, 66] Operation: 74-8=66
Exploring Operation: 74-32=42, Resulting Numbers: [8, 47, 42]
Generated Node #0,4: 23:[8, 47, 42] Operation: 74-32=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[32, 8, 27], Operations: ['74-47=27']
Exploring Operation: 27-8=19, Resulting Numbers: [32, 19]
Generated Node #0,0,0: 23:[32, 19] Operation: 27-8=19
Exploring Operation: 32-8=24, Resulting Numbers: [27, 24]
Generated Node #0,0,1: 23:[27, 24] Operation: 32-8=24
Exploring Operation: 32+8=40, Resulting Numbers: [27, 40]
Generated Node #0,0,2: 23:[27, 40] Operation: 32+8=40
Exploring Operation: 32/8=4, Resulting Numbers: [27, 4]
Generated Node #0,0,3: 23:[27, 4] Operation: 32/8=4
Exploring Operation: 8+27=35, Resulting Numbers: [32, 35]
Generated Node #0,0,4: 23:[32, 35] Operation: 8+27=35
Moving to Node #0,0,1
Current State: 23:[27, 24], Operations: ['74-47=27', '32-8=24']
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,23 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[32, 19], Operations: ['74-47=27', '27-8=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,23 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[27, 40], Operations: ['74-47=27', '32+8=40']
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Exploring Operation: 27*40=1080, Resulting Numbers: [1080]
1080,23 unequal: No Solution
Exploring Operation: 27+40=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[32, 35], Operations: ['74-47=27', '8+27=35']
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[27, 4], Operations: ['74-47=27', '32/8=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[74, 32, 8, 47], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [32, 8, 27]
Generated Node #0,0: 23:[32, 8, 27] Operation: 74-47=27
Moving to Node #0,0
Current State: 23:[32, 8, 27], Operations: ['74-47=27']
Exploring Operation: 32/8=4, Resulting Numbers: [27, 4]
Generated Node #0,0,3: 23:[27, 4] Operation: 32/8=4
Moving to Node #0,0,3
Current State: 23:[27, 4], Operations: ['74-47=27', '32/8=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
59,
50,
32,
35
] | 27 | [
"59-50=9",
"35-32=3",
"9*3=27"
] | Current State: 27:[59, 50, 32, 35], Operations: []
Exploring Operation: 59-50=9, Resulting Numbers: [32, 35, 9]
Generated Node #2: [32, 35, 9] from Operation: 59-50=9
Current State: 27:[32, 35, 9], Operations: ['59-50=9']
Exploring Operation: 35-32=3, Resulting Numbers: [9, 3]
Generated Node #3: [9, 3] from Operation: 35-32=3
Current State: 27:[9, 3], Operations: ['59-50=9', '35-32=3']
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[59, 50, 32, 35], Operations: []
Exploring Operation: 59-50=9, Resulting Numbers: [32, 35, 9]
Generated Node #0,0: 27:[32, 35, 9] Operation: 59-50=9
Exploring Operation: 59-32=27, Resulting Numbers: [50, 35, 27]
Generated Node #0,1: 27:[50, 35, 27] Operation: 59-32=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[32, 35, 9], Operations: ['59-50=9']
Exploring Operation: 35-32=3, Resulting Numbers: [9, 3]
Generated Node #0,0,0: 27:[9, 3] Operation: 35-32=3
Exploring Operation: 35-9=26, Resulting Numbers: [32, 26]
Generated Node #0,0,1: 27:[32, 26] Operation: 35-9=26
Moving to Node #0,0,0
Current State: 27:[9, 3], Operations: ['59-50=9', '35-32=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[59, 50, 32, 35], Operations: []
Exploring Operation: 59-50=9, Resulting Numbers: [32, 35, 9]
Generated Node #0,0: 27:[32, 35, 9] Operation: 59-50=9
Moving to Node #0,0
Current State: 27:[32, 35, 9], Operations: ['59-50=9']
Exploring Operation: 35-32=3, Resulting Numbers: [9, 3]
Generated Node #0,0,0: 27:[9, 3] Operation: 35-32=3
Moving to Node #0,0,0
Current State: 27:[9, 3], Operations: ['59-50=9', '35-32=3']
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.