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 |
|---|---|---|---|---|---|---|---|---|
[
27,
11,
22,
19
] | 73 | [
"27*22=594",
"594/11=54",
"19+54=73"
] | Current State: 73:[27, 11, 22, 19], Operations: []
Exploring Operation: 27*22=594, Resulting Numbers: [11, 19, 594]
Generated Node #2: [11, 19, 594] from Operation: 27*22=594
Current State: 73:[11, 19, 594], Operations: ['27*22=594']
Exploring Operation: 594/11=54, Resulting Numbers: [19, 54]
Generated Node #3: [19, 54] from Operation: 594/11=54
Current State: 73:[19, 54], Operations: ['27*22=594', '594/11=54']
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[27, 11, 22, 19], Operations: []
Exploring Operation: 27+11=38, Resulting Numbers: [22, 19, 38]
Generated Node #0,0: 73:[22, 19, 38] Operation: 27+11=38
Moving to Node #0,0
Current State: 73:[22, 19, 38], Operations: ['27+11=38']
Exploring Operation: 22+19=41, Resulting Numbers: [38, 41]
Generated Node #0,0,0: 73:[38, 41] Operation: 22+19=41
Moving to Node #0,0,0
Current State: 73:[38, 41], Operations: ['27+11=38', '22+19=41']
Exploring Operation: 38+41=79, Resulting Numbers: [79]
79,73 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
57,
44,
85
] | 50 | [
"57-48=9",
"85-44=41",
"9+41=50"
] | Current State: 50:[48, 57, 44, 85], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [44, 85, 9]
Generated Node #2: [44, 85, 9] from Operation: 57-48=9
Current State: 50:[44, 85, 9], Operations: ['57-48=9']
Exploring Operation: 85-44=41, Resulting Numbers: [9, 41]
Generated Node #3: [9, 41] from Operation: 85-44=41
Current State: 50:[9, 41], Operations: ['57-48=9', '85-44=41']
Exploring Operation: 9+41=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[48, 57, 44, 85], Operations: []
Exploring Operation: 85-48=37, Resulting Numbers: [57, 44, 37]
Generated Node #0,0: 50:[57, 44, 37] Operation: 85-48=37
Exploring Operation: 85-57=28, Resulting Numbers: [48, 44, 28]
Generated Node #0,1: 50:[48, 44, 28] Operation: 85-57=28
Exploring Operation: 85-44=41, Resulting Numbers: [48, 57, 41]
Generated Node #0,2: 50:[48, 57, 41] Operation: 85-44=41
Moving to Node #0,1
Current State: 50:[48, 44, 28], Operations: ['85-57=28']
Exploring Operation: 48-28=20, Resulting Numbers: [44, 20]
Generated Node #0,1,0: 50:[44, 20] Operation: 48-28=20
Exploring Operation: 44-28=16, Resulting Numbers: [48, 16]
Generated Node #0,1,1: 50:[48, 16] Operation: 44-28=16
Exploring Operation: 48-44=4, Resulting Numbers: [28, 4]
Generated Node #0,1,2: 50:[28, 4] Operation: 48-44=4
Moving to Node #0,2
Current State: 50:[48, 57, 41], Operations: ['85-44=41']
Exploring Operation: 57-41=16, Resulting Numbers: [48, 16]
Generated Node #0,2,0: 50:[48, 16] Operation: 57-41=16
Exploring Operation: 57-48=9, Resulting Numbers: [41, 9]
Generated Node #0,2,1: 50:[41, 9] Operation: 57-48=9
Exploring Operation: 48-41=7, Resulting Numbers: [57, 7]
Generated Node #0,2,2: 50:[57, 7] Operation: 48-41=7
Moving to Node #0,0
Current State: 50:[57, 44, 37], Operations: ['85-48=37']
Exploring Operation: 57-44=13, Resulting Numbers: [37, 13]
Generated Node #0,0,0: 50:[37, 13] Operation: 57-44=13
Exploring Operation: 44-37=7, Resulting Numbers: [57, 7]
Generated Node #0,0,1: 50:[57, 7] Operation: 44-37=7
Exploring Operation: 57-37=20, Resulting Numbers: [44, 20]
Generated Node #0,0,2: 50:[44, 20] Operation: 57-37=20
Moving to Node #0,1,2
Current State: 50:[28, 4], Operations: ['85-57=28', '48-44=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[48, 16], Operations: ['85-57=28', '44-28=16']
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[48, 16], Operations: ['85-44=41', '57-41=16']
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[57, 7], Operations: ['85-48=37', '44-37=7']
Exploring Operation: 57*7=399, Resulting Numbers: [399]
399,50 unequal: No Solution
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[48, 57, 44, 85], Operations: []
Exploring Operation: 85-48=37, Resulting Numbers: [57, 44, 37]
Generated Node #0,0: 50:[57, 44, 37] Operation: 85-48=37
Moving to Node #0,0
Current State: 50:[57, 44, 37], Operations: ['85-48=37']
Exploring Operation: 44-37=7, Resulting Numbers: [57, 7]
Generated Node #0,0,1: 50:[57, 7] Operation: 44-37=7
Moving to Node #0,0,1
Current State: 50:[57, 7], Operations: ['85-48=37', '44-37=7']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
14,
31,
81,
10
] | 43 | [
"14-10=4",
"31*4=124",
"124-81=43"
] | Current State: 43:[14, 31, 81, 10], Operations: []
Exploring Operation: 14-10=4, Resulting Numbers: [31, 81, 4]
Generated Node #2: [31, 81, 4] from Operation: 14-10=4
Current State: 43:[31, 81, 4], Operations: ['14-10=4']
Exploring Operation: 31*4=124, Resulting Numbers: [81, 124]
Generated Node #3: [81, 124] from Operation: 31*4=124
Current State: 43:[81, 124], Operations: ['14-10=4', '31*4=124']
Exploring Operation: 124-81=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[14, 31, 81, 10], Operations: []
Exploring Operation: 14+10=24, Resulting Numbers: [31, 81, 24]
Generated Node #0,0: 43:[31, 81, 24] Operation: 14+10=24
Exploring Operation: 81-31=50, Resulting Numbers: [14, 10, 50]
Generated Node #0,1: 43:[14, 10, 50] Operation: 81-31=50
Exploring Operation: 81-14=67, Resulting Numbers: [31, 10, 67]
Generated Node #0,2: 43:[31, 10, 67] Operation: 81-14=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[31, 81, 24], Operations: ['14+10=24']
Exploring Operation: 81-31=50, Resulting Numbers: [24, 50]
Generated Node #0,0,0: 43:[24, 50] Operation: 81-31=50
Exploring Operation: 81-24=57, Resulting Numbers: [31, 57]
Generated Node #0,0,1: 43:[31, 57] Operation: 81-24=57
Exploring Operation: 31+24=55, Resulting Numbers: [81, 55]
Generated Node #0,0,2: 43:[81, 55] Operation: 31+24=55
Moving to Node #0,0,0
Current State: 43:[24, 50], Operations: ['14+10=24', '81-31=50']
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 24*50=1200, Resulting Numbers: [1200]
1200,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[31, 57], Operations: ['14+10=24', '81-24=57']
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,43 unequal: No Solution
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[81, 55], Operations: ['14+10=24', '31+24=55']
Exploring Operation: 81*55=4455, Resulting Numbers: [4455]
4455,43 unequal: No Solution
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 81+55=136, Resulting Numbers: [136]
136,43 unequal: No Solution
No 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: 43:[14, 10, 50], Operations: ['81-31=50']
Exploring Operation: 14+10=24, Resulting Numbers: [50, 24]
Generated Node #0,1,0: 43:[50, 24] Operation: 14+10=24
Exploring Operation: 50-14=36, Resulting Numbers: [10, 36]
Generated Node #0,1,1: 43:[10, 36] Operation: 50-14=36
Exploring Operation: 50-10=40, Resulting Numbers: [14, 40]
Generated Node #0,1,2: 43:[14, 40] Operation: 50-10=40
Moving to Node #0,1,0
Current State: 43:[50, 24], Operations: ['81-31=50', '14+10=24']
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,43 unequal: No Solution
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[14, 40], Operations: ['81-31=50', '50-10=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[10, 36], Operations: ['81-31=50', '50-14=36']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,43 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,43 unequal: No Solution
No 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: 43:[31, 10, 67], Operations: ['81-14=67']
Exploring Operation: 67-10=57, Resulting Numbers: [31, 57]
Generated Node #0,2,0: 43:[31, 57] Operation: 67-10=57
Exploring Operation: 31+10=41, Resulting Numbers: [67, 41]
Generated Node #0,2,1: 43:[67, 41] Operation: 31+10=41
Exploring Operation: 67-31=36, Resulting Numbers: [10, 36]
Generated Node #0,2,2: 43:[10, 36] Operation: 67-31=36
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[31, 57], Operations: ['81-14=67', '67-10=57']
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,43 unequal: No Solution
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,43 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: 43:[67, 41], Operations: ['81-14=67', '31+10=41']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,43 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: 43:[10, 36], Operations: ['81-14=67', '67-31=36']
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,43 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
76,
89,
52,
82
] | 17 | [
"89-76=13",
"82-52=30",
"30-13=17"
] | Current State: 17:[76, 89, 52, 82], Operations: []
Exploring Operation: 89-76=13, Resulting Numbers: [52, 82, 13]
Generated Node #2: [52, 82, 13] from Operation: 89-76=13
Current State: 17:[52, 82, 13], Operations: ['89-76=13']
Exploring Operation: 82-52=30, Resulting Numbers: [13, 30]
Generated Node #3: [13, 30] from Operation: 82-52=30
Current State: 17:[13, 30], Operations: ['89-76=13', '82-52=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[76, 89, 52, 82], Operations: []
Exploring Operation: 89-76=13, Resulting Numbers: [52, 82, 13]
Generated Node #0,0: 17:[52, 82, 13] Operation: 89-76=13
Moving to Node #0,0
Current State: 17:[52, 82, 13], Operations: ['89-76=13']
Exploring Operation: 82-52=30, Resulting Numbers: [13, 30]
Generated Node #0,0,0: 17:[13, 30] Operation: 82-52=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[13, 30], Operations: ['89-76=13', '82-52=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[76, 89, 52, 82], Operations: []
Exploring Operation: 89-76=13, Resulting Numbers: [52, 82, 13]
Generated Node #0,0: 17:[52, 82, 13] Operation: 89-76=13
Moving to Node #0,0
Current State: 17:[52, 82, 13], Operations: ['89-76=13']
Exploring Operation: 82-52=30, Resulting Numbers: [13, 30]
Generated Node #0,0,0: 17:[13, 30] Operation: 82-52=30
Moving to Node #0,0,0
Current State: 17:[13, 30], Operations: ['89-76=13', '82-52=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
21,
55,
75,
33
] | 40 | [
"21*55=1155",
"1155/33=35",
"75-35=40"
] | Current State: 40:[21, 55, 75, 33], Operations: []
Exploring Operation: 21*55=1155, Resulting Numbers: [75, 33, 1155]
Generated Node #2: [75, 33, 1155] from Operation: 21*55=1155
Current State: 40:[75, 33, 1155], Operations: ['21*55=1155']
Exploring Operation: 1155/33=35, Resulting Numbers: [75, 35]
Generated Node #3: [75, 35] from Operation: 1155/33=35
Current State: 40:[75, 35], Operations: ['21*55=1155', '1155/33=35']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[21, 55, 75, 33], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [21, 33, 20]
Generated Node #0,0: 40:[21, 33, 20] Operation: 75-55=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[21, 33, 20], Operations: ['75-55=20']
Exploring Operation: 33-21=12, Resulting Numbers: [20, 12]
Generated Node #0,0,0: 40:[20, 12] Operation: 33-21=12
Moving to Node #0,0,0
Current State: 40:[20, 12], Operations: ['75-55=20', '33-21=12']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,40 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 |
[
54,
10,
58,
50
] | 98 | [
"54-50=4",
"10*4=40",
"58+40=98"
] | Current State: 98:[54, 10, 58, 50], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [10, 58, 4]
Generated Node #2: [10, 58, 4] from Operation: 54-50=4
Current State: 98:[10, 58, 4], Operations: ['54-50=4']
Exploring Operation: 10*4=40, Resulting Numbers: [58, 40]
Generated Node #3: [58, 40] from Operation: 10*4=40
Current State: 98:[58, 40], Operations: ['54-50=4', '10*4=40']
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[54, 10, 58, 50], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [10, 50, 4]
Generated Node #0,0: 98:[10, 50, 4] Operation: 58-54=4
Exploring Operation: 58-10=48, Resulting Numbers: [54, 50, 48]
Generated Node #0,1: 98:[54, 50, 48] Operation: 58-10=48
Moving to Node #0,0
Current State: 98:[10, 50, 4], Operations: ['58-54=4']
Exploring Operation: 10-4=6, Resulting Numbers: [50, 6]
Generated Node #0,0,0: 98:[50, 6] Operation: 10-4=6
Exploring Operation: 10+4=14, Resulting Numbers: [50, 14]
Generated Node #0,0,1: 98:[50, 14] Operation: 10+4=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[50, 14], Operations: ['58-54=4', '10+4=14']
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,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:[50, 6], Operations: ['58-54=4', '10-4=6']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,98 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: 98:[54, 50, 48], Operations: ['58-10=48']
Exploring Operation: 54-48=6, Resulting Numbers: [50, 6]
Generated Node #0,1,0: 98:[50, 6] Operation: 54-48=6
Exploring Operation: 54-50=4, Resulting Numbers: [48, 4]
Generated Node #0,1,1: 98:[48, 4] Operation: 54-50=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[50, 6], Operations: ['58-10=48', '54-48=6']
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,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:[48, 4], Operations: ['58-10=48', '54-50=4']
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,98 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 |
[
15,
14,
61,
36
] | 68 | [
"15+14=29",
"61+36=97",
"97-29=68"
] | Current State: 68:[15, 14, 61, 36], Operations: []
Exploring Operation: 15+14=29, Resulting Numbers: [61, 36, 29]
Generated Node #2: [61, 36, 29] from Operation: 15+14=29
Current State: 68:[61, 36, 29], Operations: ['15+14=29']
Exploring Operation: 61+36=97, Resulting Numbers: [29, 97]
Generated Node #3: [29, 97] from Operation: 61+36=97
Current State: 68:[29, 97], Operations: ['15+14=29', '61+36=97']
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[15, 14, 61, 36], Operations: []
Exploring Operation: 15+61=76, Resulting Numbers: [14, 36, 76]
Generated Node #0,0: 68:[14, 36, 76] Operation: 15+61=76
Exploring Operation: 61-36=25, Resulting Numbers: [15, 14, 25]
Generated Node #0,1: 68:[15, 14, 25] Operation: 61-36=25
Exploring Operation: 15-14=1, Resulting Numbers: [61, 36, 1]
Generated Node #0,2: 68:[61, 36, 1] Operation: 15-14=1
Exploring Operation: 14+61=75, Resulting Numbers: [15, 36, 75]
Generated Node #0,3: 68:[15, 36, 75] Operation: 14+61=75
Moving to Node #0,2
Current State: 68:[61, 36, 1], Operations: ['15-14=1']
Exploring Operation: 36-1=35, Resulting Numbers: [61, 35]
Generated Node #0,2,0: 68:[61, 35] Operation: 36-1=35
Exploring Operation: 61-36=25, Resulting Numbers: [1, 25]
Generated Node #0,2,1: 68:[1, 25] Operation: 61-36=25
Exploring Operation: 61*1=61, Resulting Numbers: [36, 61]
Generated Node #0,2,2: 68:[36, 61] Operation: 61*1=61
Exploring Operation: 61+1=62, Resulting Numbers: [36, 62]
Generated Node #0,2,3: 68:[36, 62] Operation: 61+1=62
Moving to Node #0,3
Current State: 68:[15, 36, 75], Operations: ['14+61=75']
Exploring Operation: 75-36=39, Resulting Numbers: [15, 39]
Generated Node #0,3,0: 68:[15, 39] Operation: 75-36=39
Exploring Operation: 75/15=5, Resulting Numbers: [36, 5]
Generated Node #0,3,1: 68:[36, 5] Operation: 75/15=5
Exploring Operation: 75-15=60, Resulting Numbers: [36, 60]
Generated Node #0,3,2: 68:[36, 60] Operation: 75-15=60
Exploring Operation: 36-15=21, Resulting Numbers: [75, 21]
Generated Node #0,3,3: 68:[75, 21] Operation: 36-15=21
Moving to Node #0,1
Current State: 68:[15, 14, 25], Operations: ['61-36=25']
Exploring Operation: 25-14=11, Resulting Numbers: [15, 11]
Generated Node #0,1,0: 68:[15, 11] Operation: 25-14=11
Exploring Operation: 14+25=39, Resulting Numbers: [15, 39]
Generated Node #0,1,1: 68:[15, 39] Operation: 14+25=39
Exploring Operation: 15-14=1, Resulting Numbers: [25, 1]
Generated Node #0,1,2: 68:[25, 1] Operation: 15-14=1
Exploring Operation: 15+25=40, Resulting Numbers: [14, 40]
Generated Node #0,1,3: 68:[14, 40] Operation: 15+25=40
Moving to Node #0,0
Current State: 68:[14, 36, 76], Operations: ['15+61=76']
Exploring Operation: 76-14=62, Resulting Numbers: [36, 62]
Generated Node #0,0,0: 68:[36, 62] Operation: 76-14=62
Exploring Operation: 76-36=40, Resulting Numbers: [14, 40]
Generated Node #0,0,1: 68:[14, 40] Operation: 76-36=40
Exploring Operation: 36-14=22, Resulting Numbers: [76, 22]
Generated Node #0,0,2: 68:[76, 22] Operation: 36-14=22
Exploring Operation: 14+36=50, Resulting Numbers: [76, 50]
Generated Node #0,0,3: 68:[76, 50] Operation: 14+36=50
Moving to Node #0,3,1
Current State: 68:[36, 5], Operations: ['14+61=75', '75/15=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,68 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Moving to Node #0,3,0
Current State: 68:[15, 39], Operations: ['14+61=75', '75-36=39']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[15, 39], Operations: ['61-36=25', '14+25=39']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,68 unequal: No Solution
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[36, 62], Operations: ['15+61=76', '76-14=62']
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,68 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[36, 62], Operations: ['15-14=1', '61+1=62']
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,68 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[15, 11], Operations: ['61-36=25', '25-14=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[61, 35], Operations: ['15-14=1', '36-1=35']
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,68 unequal: No Solution
Exploring Operation: 61*35=2135, Resulting Numbers: [2135]
2135,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[14, 40], Operations: ['15+61=76', '76-36=40']
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,68 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[1, 25], Operations: ['15-14=1', '61-36=25']
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[14, 40], Operations: ['61-36=25', '15+25=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,68 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[25, 1], Operations: ['61-36=25', '15-14=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[36, 61], Operations: ['15-14=1', '61*1=61']
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,68 unequal: No Solution
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,68 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Moving to Node #0,3,2
Current State: 68:[36, 60], Operations: ['14+61=75', '75-15=60']
Exploring Operation: 36+60=96, Resulting Numbers: [96]
96,68 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 36*60=2160, Resulting Numbers: [2160]
2160,68 unequal: No Solution
Moving to Node #0,3,3
Current State: 68:[75, 21], Operations: ['14+61=75', '36-15=21']
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 75*21=1575, Resulting Numbers: [1575]
1575,68 unequal: No Solution
Exploring Operation: 75+21=96, Resulting Numbers: [96]
96,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[76, 22], Operations: ['15+61=76', '36-14=22']
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[76, 50], Operations: ['15+61=76', '14+36=50']
Exploring Operation: 76+50=126, Resulting Numbers: [126]
126,68 unequal: No Solution
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 76*50=3800, Resulting Numbers: [3800]
3800,68 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
7,
50,
50,
98
] | 86 | [
"98/7=14",
"50+50=100",
"100-14=86"
] | Current State: 86:[7, 50, 50, 98], Operations: []
Exploring Operation: 98/7=14, Resulting Numbers: [50, 50, 14]
Generated Node #2: [50, 50, 14] from Operation: 98/7=14
Current State: 86:[50, 50, 14], Operations: ['98/7=14']
Exploring Operation: 50+50=100, Resulting Numbers: [14, 100]
Generated Node #3: [14, 100] from Operation: 50+50=100
Current State: 86:[14, 100], Operations: ['98/7=14', '50+50=100']
Exploring Operation: 100-14=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[7, 50, 50, 98], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [7, 50, 48]
Generated Node #0,0: 86:[7, 50, 48] Operation: 98-50=48
Exploring Operation: 98-50=48, Resulting Numbers: [7, 50, 48]
Generated Node #0,1: 86:[7, 50, 48] Operation: 98-50=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[7, 50, 48], Operations: ['98-50=48']
Exploring Operation: 50-48=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 86:[7, 2] Operation: 50-48=2
Exploring Operation: 50-7=43, Resulting Numbers: [48, 43]
Generated Node #0,0,1: 86:[48, 43] Operation: 50-7=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[7, 2], Operations: ['98-50=48', '50-48=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,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:[48, 43], Operations: ['98-50=48', '50-7=43']
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,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,1
Current State: 86:[7, 50, 48], Operations: ['98-50=48']
Exploring Operation: 50-7=43, Resulting Numbers: [48, 43]
Generated Node #0,1,0: 86:[48, 43] Operation: 50-7=43
Exploring Operation: 50-48=2, Resulting Numbers: [7, 2]
Generated Node #0,1,1: 86:[7, 2] Operation: 50-48=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[48, 43], Operations: ['98-50=48', '50-7=43']
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,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,1,1
Current State: 86:[7, 2], Operations: ['98-50=48', '50-48=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,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
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
53,
25,
79
] | 59 | [
"53+25=78",
"79-78=1",
"59*1=59"
] | Current State: 59:[59, 53, 25, 79], Operations: []
Exploring Operation: 53+25=78, Resulting Numbers: [59, 79, 78]
Generated Node #2: [59, 79, 78] from Operation: 53+25=78
Current State: 59:[59, 79, 78], Operations: ['53+25=78']
Exploring Operation: 79-78=1, Resulting Numbers: [59, 1]
Generated Node #3: [59, 1] from Operation: 79-78=1
Current State: 59:[59, 1], Operations: ['53+25=78', '79-78=1']
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[59, 53, 25, 79], Operations: []
Exploring Operation: 53+25=78, Resulting Numbers: [59, 79, 78]
Generated Node #0,0: 59:[59, 79, 78] Operation: 53+25=78
Exploring Operation: 79-25=54, Resulting Numbers: [59, 53, 54]
Generated Node #0,1: 59:[59, 53, 54] Operation: 79-25=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[59, 53, 54], Operations: ['79-25=54']
Exploring Operation: 53+54=107, Resulting Numbers: [59, 107]
Generated Node #0,1,0: 59:[59, 107] Operation: 53+54=107
Exploring Operation: 59+53=112, Resulting Numbers: [54, 112]
Generated Node #0,1,1: 59:[54, 112] Operation: 59+53=112
Moving to Node #0,1,0
Current State: 59:[59, 107], Operations: ['79-25=54', '53+54=107']
Exploring Operation: 59+107=166, Resulting Numbers: [166]
166,59 unequal: No Solution
Exploring Operation: 107-59=48, Resulting Numbers: [48]
48,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[54, 112], Operations: ['79-25=54', '59+53=112']
Exploring Operation: 112-54=58, Resulting Numbers: [58]
58,59 unequal: No Solution
Exploring Operation: 54+112=166, Resulting Numbers: [166]
166,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[59, 79, 78], Operations: ['53+25=78']
Exploring Operation: 79-78=1, Resulting Numbers: [59, 1]
Generated Node #0,0,0: 59:[59, 1] Operation: 79-78=1
Exploring Operation: 79-59=20, Resulting Numbers: [78, 20]
Generated Node #0,0,1: 59:[78, 20] Operation: 79-59=20
Moving to Node #0,0,0
Current State: 59:[59, 1], Operations: ['53+25=78', '79-78=1']
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[59, 53, 25, 79], Operations: []
Exploring Operation: 53+25=78, Resulting Numbers: [59, 79, 78]
Generated Node #0,0: 59:[59, 79, 78] Operation: 53+25=78
Moving to Node #0,0
Current State: 59:[59, 79, 78], Operations: ['53+25=78']
Exploring Operation: 79-78=1, Resulting Numbers: [59, 1]
Generated Node #0,0,0: 59:[59, 1] Operation: 79-78=1
Moving to Node #0,0,0
Current State: 59:[59, 1], Operations: ['53+25=78', '79-78=1']
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
81,
47,
27,
7
] | 59 | [
"47-27=20",
"7*20=140",
"140-81=59"
] | Current State: 59:[81, 47, 27, 7], Operations: []
Exploring Operation: 47-27=20, Resulting Numbers: [81, 7, 20]
Generated Node #2: [81, 7, 20] from Operation: 47-27=20
Current State: 59:[81, 7, 20], Operations: ['47-27=20']
Exploring Operation: 7*20=140, Resulting Numbers: [81, 140]
Generated Node #3: [81, 140] from Operation: 7*20=140
Current State: 59:[81, 140], Operations: ['47-27=20', '7*20=140']
Exploring Operation: 140-81=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[81, 47, 27, 7], Operations: []
Exploring Operation: 81-7=74, Resulting Numbers: [47, 27, 74]
Generated Node #0,0: 59:[47, 27, 74] Operation: 81-7=74
Moving to Node #0,0
Current State: 59:[47, 27, 74], Operations: ['81-7=74']
Exploring Operation: 74-27=47, Resulting Numbers: [47, 47]
Generated Node #0,0,0: 59:[47, 47] Operation: 74-27=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[47, 47], Operations: ['81-7=74', '74-27=47']
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,59 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 |
[
38,
90,
30,
76
] | 82 | [
"38+90=128",
"76-30=46",
"128-46=82"
] | Current State: 82:[38, 90, 30, 76], Operations: []
Exploring Operation: 38+90=128, Resulting Numbers: [30, 76, 128]
Generated Node #2: [30, 76, 128] from Operation: 38+90=128
Current State: 82:[30, 76, 128], Operations: ['38+90=128']
Exploring Operation: 76-30=46, Resulting Numbers: [128, 46]
Generated Node #3: [128, 46] from Operation: 76-30=46
Current State: 82:[128, 46], Operations: ['38+90=128', '76-30=46']
Exploring Operation: 128-46=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[38, 90, 30, 76], Operations: []
Exploring Operation: 76-30=46, Resulting Numbers: [38, 90, 46]
Generated Node #0,0: 82:[38, 90, 46] Operation: 76-30=46
Exploring Operation: 76/38=2, Resulting Numbers: [90, 30, 2]
Generated Node #0,1: 82:[90, 30, 2] Operation: 76/38=2
Exploring Operation: 76-38=38, Resulting Numbers: [90, 30, 38]
Generated Node #0,2: 82:[90, 30, 38] Operation: 76-38=38
Exploring Operation: 90/30=3, Resulting Numbers: [38, 76, 3]
Generated Node #0,3: 82:[38, 76, 3] Operation: 90/30=3
Exploring Operation: 38-30=8, Resulting Numbers: [90, 76, 8]
Generated Node #0,4: 82:[90, 76, 8] Operation: 38-30=8
Moving to Node #0,3
Current State: 82:[38, 76, 3], Operations: ['90/30=3']
Exploring Operation: 76/38=2, Resulting Numbers: [3, 2]
Generated Node #0,3,0: 82:[3, 2] Operation: 76/38=2
Exploring Operation: 38+3=41, Resulting Numbers: [76, 41]
Generated Node #0,3,1: 82:[76, 41] Operation: 38+3=41
Exploring Operation: 38-3=35, Resulting Numbers: [76, 35]
Generated Node #0,3,2: 82:[76, 35] Operation: 38-3=35
Exploring Operation: 76+3=79, Resulting Numbers: [38, 79]
Generated Node #0,3,3: 82:[38, 79] Operation: 76+3=79
Exploring Operation: 76-38=38, Resulting Numbers: [3, 38]
Generated Node #0,3,4: 82:[3, 38] Operation: 76-38=38
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 82:[3, 2], Operations: ['90/30=3', '76/38=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,82 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,82 unequal: No Solution
No 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: 82:[3, 38], Operations: ['90/30=3', '76-38=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,82 unequal: No Solution
No 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: 82:[76, 41], Operations: ['90/30=3', '38+3=41']
Exploring Operation: 76+41=117, Resulting Numbers: [117]
117,82 unequal: No Solution
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 76*41=3116, Resulting Numbers: [3116]
3116,82 unequal: No Solution
No 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: 82:[38, 79], Operations: ['90/30=3', '76+3=79']
Exploring Operation: 38*79=3002, Resulting Numbers: [3002]
3002,82 unequal: No Solution
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 38+79=117, Resulting Numbers: [117]
117,82 unequal: No Solution
No 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: 82:[76, 35], Operations: ['90/30=3', '38-3=35']
Exploring Operation: 76+35=111, Resulting Numbers: [111]
111,82 unequal: No Solution
Exploring Operation: 76*35=2660, Resulting Numbers: [2660]
2660,82 unequal: No Solution
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,82 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: 82:[38, 90, 46], Operations: ['76-30=46']
Exploring Operation: 38+90=128, Resulting Numbers: [46, 128]
Generated Node #0,0,0: 82:[46, 128] Operation: 38+90=128
Exploring Operation: 46-38=8, Resulting Numbers: [90, 8]
Generated Node #0,0,1: 82:[90, 8] Operation: 46-38=8
Exploring Operation: 90-46=44, Resulting Numbers: [38, 44]
Generated Node #0,0,2: 82:[38, 44] Operation: 90-46=44
Exploring Operation: 90-38=52, Resulting Numbers: [46, 52]
Generated Node #0,0,3: 82:[46, 52] Operation: 90-38=52
Exploring Operation: 38+46=84, Resulting Numbers: [90, 84]
Generated Node #0,0,4: 82:[90, 84] Operation: 38+46=84
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 82:[38, 44], Operations: ['76-30=46', '90-46=44']
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,82 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,82 unequal: No Solution
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[38, 90, 30, 76], Operations: []
Exploring Operation: 76-30=46, Resulting Numbers: [38, 90, 46]
Generated Node #0,0: 82:[38, 90, 46] Operation: 76-30=46
Moving to Node #0,0
Current State: 82:[38, 90, 46], Operations: ['76-30=46']
Exploring Operation: 90-46=44, Resulting Numbers: [38, 44]
Generated Node #0,0,2: 82:[38, 44] Operation: 90-46=44
Moving to Node #0,0,2
Current State: 82:[38, 44], Operations: ['76-30=46', '90-46=44']
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
3,
56,
15,
43
] | 24 | [
"56-43=13",
"3*13=39",
"39-15=24"
] | Current State: 24:[3, 56, 15, 43], Operations: []
Exploring Operation: 56-43=13, Resulting Numbers: [3, 15, 13]
Generated Node #2: [3, 15, 13] from Operation: 56-43=13
Current State: 24:[3, 15, 13], Operations: ['56-43=13']
Exploring Operation: 3*13=39, Resulting Numbers: [15, 39]
Generated Node #3: [15, 39] from Operation: 3*13=39
Current State: 24:[15, 39], Operations: ['56-43=13', '3*13=39']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[3, 56, 15, 43], Operations: []
Exploring Operation: 56-43=13, Resulting Numbers: [3, 15, 13]
Generated Node #0,0: 24:[3, 15, 13] Operation: 56-43=13
Moving to Node #0,0
Current State: 24:[3, 15, 13], Operations: ['56-43=13']
Exploring Operation: 15-13=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 24:[3, 2] Operation: 15-13=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[3, 2], Operations: ['56-43=13', '15-13=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,24 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 |
[
82,
84,
29,
96
] | 65 | [
"84-82=2",
"96-29=67",
"67-2=65"
] | Current State: 65:[82, 84, 29, 96], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [29, 96, 2]
Generated Node #2: [29, 96, 2] from Operation: 84-82=2
Current State: 65:[29, 96, 2], Operations: ['84-82=2']
Exploring Operation: 96-29=67, Resulting Numbers: [2, 67]
Generated Node #3: [2, 67] from Operation: 96-29=67
Current State: 65:[2, 67], Operations: ['84-82=2', '96-29=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[82, 84, 29, 96], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [82, 29, 12]
Generated Node #0,0: 65:[82, 29, 12] Operation: 96-84=12
Moving to Node #0,0
Current State: 65:[82, 29, 12], Operations: ['96-84=12']
Exploring Operation: 82-29=53, Resulting Numbers: [12, 53]
Generated Node #0,0,0: 65:[12, 53] Operation: 82-29=53
Moving to Node #0,0,0
Current State: 65:[12, 53], Operations: ['96-84=12', '82-29=53']
Exploring Operation: 12+53=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[82, 84, 29, 96], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [82, 29, 12]
Generated Node #0,0: 65:[82, 29, 12] Operation: 96-84=12
Moving to Node #0,0
Current State: 65:[82, 29, 12], Operations: ['96-84=12']
Exploring Operation: 82-29=53, Resulting Numbers: [12, 53]
Generated Node #0,0,0: 65:[12, 53] Operation: 82-29=53
Moving to Node #0,0,0
Current State: 65:[12, 53], Operations: ['96-84=12', '82-29=53']
Exploring Operation: 12+53=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
43,
7,
36,
35
] | 34 | [
"43-7=36",
"36/36=1",
"35-1=34"
] | Current State: 34:[43, 7, 36, 35], Operations: []
Exploring Operation: 43-7=36, Resulting Numbers: [36, 35, 36]
Generated Node #2: [36, 35, 36] from Operation: 43-7=36
Current State: 34:[36, 35, 36], Operations: ['43-7=36']
Exploring Operation: 36/36=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 36/36=1
Current State: 34:[35, 1], Operations: ['43-7=36', '36/36=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[43, 7, 36, 35], Operations: []
Exploring Operation: 43-35=8, Resulting Numbers: [7, 36, 8]
Generated Node #0,0: 34:[7, 36, 8] Operation: 43-35=8
Exploring Operation: 36-7=29, Resulting Numbers: [43, 35, 29]
Generated Node #0,1: 34:[43, 35, 29] Operation: 36-7=29
Exploring Operation: 43-7=36, Resulting Numbers: [36, 35, 36]
Generated Node #0,2: 34:[36, 35, 36] Operation: 43-7=36
Exploring Operation: 35/7=5, Resulting Numbers: [43, 36, 5]
Generated Node #0,3: 34:[43, 36, 5] Operation: 35/7=5
Exploring Operation: 43-36=7, Resulting Numbers: [7, 35, 7]
Generated Node #0,4: 34:[7, 35, 7] Operation: 43-36=7
Moving to Node #0,2
Current State: 34:[36, 35, 36], Operations: ['43-7=36']
Exploring Operation: 36/36=1, Resulting Numbers: [35, 1]
Generated Node #0,2,0: 34:[35, 1] Operation: 36/36=1
Exploring Operation: 36-35=1, Resulting Numbers: [36, 1]
Generated Node #0,2,1: 34:[36, 1] Operation: 36-35=1
Exploring Operation: 36-35=1, Resulting Numbers: [36, 1]
Generated Node #0,2,2: 34:[36, 1] Operation: 36-35=1
Exploring Operation: 36+35=71, Resulting Numbers: [36, 71]
Generated Node #0,2,3: 34:[36, 71] Operation: 36+35=71
Exploring Operation: 36-36=0, Resulting Numbers: [35, 0]
Generated Node #0,2,4: 34:[35, 0] Operation: 36-36=0
Moving to Node #0,4
Current State: 34:[7, 35, 7], Operations: ['43-36=7']
Exploring Operation: 35/7=5, Resulting Numbers: [7, 5]
Generated Node #0,4,0: 34:[7, 5] Operation: 35/7=5
Exploring Operation: 7-7=0, Resulting Numbers: [35, 0]
Generated Node #0,4,1: 34:[35, 0] Operation: 7-7=0
Exploring Operation: 7+7=14, Resulting Numbers: [35, 14]
Generated Node #0,4,2: 34:[35, 14] Operation: 7+7=14
Exploring Operation: 7/7=1, Resulting Numbers: [35, 1]
Generated Node #0,4,3: 34:[35, 1] Operation: 7/7=1
Exploring Operation: 35/7=5, Resulting Numbers: [7, 5]
Generated Node #0,4,4: 34:[7, 5] Operation: 35/7=5
Moving to Node #0,0
Current State: 34:[7, 36, 8], Operations: ['43-35=8']
Exploring Operation: 36-7=29, Resulting Numbers: [8, 29]
Generated Node #0,0,0: 34:[8, 29] Operation: 36-7=29
Exploring Operation: 8-7=1, Resulting Numbers: [36, 1]
Generated Node #0,0,1: 34:[36, 1] Operation: 8-7=1
Exploring Operation: 36-8=28, Resulting Numbers: [7, 28]
Generated Node #0,0,2: 34:[7, 28] Operation: 36-8=28
Exploring Operation: 7+8=15, Resulting Numbers: [36, 15]
Generated Node #0,0,3: 34:[36, 15] Operation: 7+8=15
Exploring Operation: 7+36=43, Resulting Numbers: [8, 43]
Generated Node #0,0,4: 34:[8, 43] Operation: 7+36=43
Moving to Node #0,3
Current State: 34:[43, 36, 5], Operations: ['35/7=5']
Exploring Operation: 43+5=48, Resulting Numbers: [36, 48]
Generated Node #0,3,0: 34:[36, 48] Operation: 43+5=48
Exploring Operation: 36+5=41, Resulting Numbers: [43, 41]
Generated Node #0,3,1: 34:[43, 41] Operation: 36+5=41
Exploring Operation: 36-5=31, Resulting Numbers: [43, 31]
Generated Node #0,3,2: 34:[43, 31] Operation: 36-5=31
Exploring Operation: 43-5=38, Resulting Numbers: [36, 38]
Generated Node #0,3,3: 34:[36, 38] Operation: 43-5=38
Exploring Operation: 43-36=7, Resulting Numbers: [5, 7]
Generated Node #0,3,4: 34:[5, 7] Operation: 43-36=7
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 34:[36, 38], Operations: ['35/7=5', '43-5=38']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 36*38=1368, Resulting Numbers: [1368]
1368,34 unequal: No Solution
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,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,3,4
Current State: 34:[5, 7], Operations: ['35/7=5', '43-36=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,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,3,2
Current State: 34:[43, 31], Operations: ['35/7=5', '36-5=31']
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,34 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,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,3,0
Current State: 34:[36, 48], Operations: ['35/7=5', '43+5=48']
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 36*48=1728, Resulting Numbers: [1728]
1728,34 unequal: No Solution
Exploring Operation: 36+48=84, Resulting Numbers: [84]
84,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,3,1
Current State: 34:[43, 41], Operations: ['35/7=5', '36+5=41']
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,34 unequal: No Solution
Exploring Operation: 43*41=1763, Resulting Numbers: [1763]
1763,34 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,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:[43, 35, 29], Operations: ['36-7=29']
Exploring Operation: 43-35=8, Resulting Numbers: [29, 8]
Generated Node #0,1,0: 34:[29, 8] Operation: 43-35=8
Exploring Operation: 35-29=6, Resulting Numbers: [43, 6]
Generated Node #0,1,1: 34:[43, 6] Operation: 35-29=6
Exploring Operation: 35+29=64, Resulting Numbers: [43, 64]
Generated Node #0,1,2: 34:[43, 64] Operation: 35+29=64
Exploring Operation: 43+29=72, Resulting Numbers: [35, 72]
Generated Node #0,1,3: 34:[35, 72] Operation: 43+29=72
Exploring Operation: 43-29=14, Resulting Numbers: [35, 14]
Generated Node #0,1,4: 34:[35, 14] Operation: 43-29=14
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 34:[35, 14], Operations: ['36-7=29', '43-29=14']
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,34 unequal: No Solution
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,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,0
Current State: 34:[29, 8], Operations: ['36-7=29', '43-35=8']
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,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:[43, 6], Operations: ['36-7=29', '35-29=6']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,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,2
Current State: 34:[43, 64], Operations: ['36-7=29', '35+29=64']
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 43*64=2752, Resulting Numbers: [2752]
2752,34 unequal: No Solution
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,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,3
Current State: 34:[35, 72], Operations: ['36-7=29', '43+29=72']
Exploring Operation: 35+72=107, Resulting Numbers: [107]
107,34 unequal: No Solution
Exploring Operation: 35*72=2520, Resulting Numbers: [2520]
2520,34 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,34 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: 34:[35, 1], Operations: ['43-7=36', '36/36=1']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[43, 7, 36, 35], Operations: []
Exploring Operation: 43-7=36, Resulting Numbers: [36, 35, 36]
Generated Node #0,2: 34:[36, 35, 36] Operation: 43-7=36
Moving to Node #0,2
Current State: 34:[36, 35, 36], Operations: ['43-7=36']
Exploring Operation: 36/36=1, Resulting Numbers: [35, 1]
Generated Node #0,2,0: 34:[35, 1] Operation: 36/36=1
Moving to Node #0,2,0
Current State: 34:[35, 1], Operations: ['43-7=36', '36/36=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.940972 | hs_5 | mult_heuristic |
[
2,
35,
24,
39
] | 17 | [
"35-24=11",
"2*11=22",
"39-22=17"
] | Current State: 17:[2, 35, 24, 39], Operations: []
Exploring Operation: 35-24=11, Resulting Numbers: [2, 39, 11]
Generated Node #2: [2, 39, 11] from Operation: 35-24=11
Current State: 17:[2, 39, 11], Operations: ['35-24=11']
Exploring Operation: 2*11=22, Resulting Numbers: [39, 22]
Generated Node #3: [39, 22] from Operation: 2*11=22
Current State: 17:[39, 22], Operations: ['35-24=11', '2*11=22']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[2, 35, 24, 39], Operations: []
Exploring Operation: 39-35=4, Resulting Numbers: [2, 24, 4]
Generated Node #0,0: 17:[2, 24, 4] Operation: 39-35=4
Exploring Operation: 39-24=15, Resulting Numbers: [2, 35, 15]
Generated Node #0,1: 17:[2, 35, 15] Operation: 39-24=15
Exploring Operation: 35-24=11, Resulting Numbers: [2, 39, 11]
Generated Node #0,2: 17:[2, 39, 11] Operation: 35-24=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[2, 24, 4], Operations: ['39-35=4']
Exploring Operation: 2*4=8, Resulting Numbers: [24, 8]
Generated Node #0,0,0: 17:[24, 8] Operation: 2*4=8
Exploring Operation: 24-2=22, Resulting Numbers: [4, 22]
Generated Node #0,0,1: 17:[4, 22] Operation: 24-2=22
Exploring Operation: 24/2=12, Resulting Numbers: [4, 12]
Generated Node #0,0,2: 17:[4, 12] Operation: 24/2=12
Moving to Node #0,0,0
Current State: 17:[24, 8], Operations: ['39-35=4', '2*4=8']
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,17 unequal: No Solution
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
Moving to Node #0,0,1
Current State: 17:[4, 22], Operations: ['39-35=4', '24-2=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,17 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[4, 12], Operations: ['39-35=4', '24/2=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,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,1
Current State: 17:[2, 35, 15], Operations: ['39-24=15']
Exploring Operation: 35-15=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 17:[2, 20] Operation: 35-15=20
Exploring Operation: 35-2=33, Resulting Numbers: [15, 33]
Generated Node #0,1,1: 17:[15, 33] Operation: 35-2=33
Exploring Operation: 2+15=17, Resulting Numbers: [35, 17]
Generated Node #0,1,2: 17:[35, 17] Operation: 2+15=17
Moving to Node #0,1,0
Current State: 17:[2, 20], Operations: ['39-24=15', '35-15=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[15, 33], Operations: ['39-24=15', '35-2=33']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 15+33=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 15*33=495, Resulting Numbers: [495]
495,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[35, 17], Operations: ['39-24=15', '2+15=17']
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,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,2
Current State: 17:[2, 39, 11], Operations: ['35-24=11']
Exploring Operation: 2+11=13, Resulting Numbers: [39, 13]
Generated Node #0,2,0: 17:[39, 13] Operation: 2+11=13
Exploring Operation: 39-2=37, Resulting Numbers: [11, 37]
Generated Node #0,2,1: 17:[11, 37] Operation: 39-2=37
Exploring Operation: 39-11=28, Resulting Numbers: [2, 28]
Generated Node #0,2,2: 17:[2, 28] Operation: 39-11=28
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 17:[39, 13], Operations: ['35-24=11', '2+11=13']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,17 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: 17:[11, 37], Operations: ['35-24=11', '39-2=37']
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,17 unequal: No Solution
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,17 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: 17:[2, 28], Operations: ['35-24=11', '39-11=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,17 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 |
[
69,
44,
68,
22
] | 35 | [
"44/22=2",
"68/2=34",
"69-34=35"
] | Current State: 35:[69, 44, 68, 22], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [69, 68, 2]
Generated Node #2: [69, 68, 2] from Operation: 44/22=2
Current State: 35:[69, 68, 2], Operations: ['44/22=2']
Exploring Operation: 68/2=34, Resulting Numbers: [69, 34]
Generated Node #3: [69, 34] from Operation: 68/2=34
Current State: 35:[69, 34], Operations: ['44/22=2', '68/2=34']
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[69, 44, 68, 22], Operations: []
Exploring Operation: 69-68=1, Resulting Numbers: [44, 22, 1]
Generated Node #0,0: 35:[44, 22, 1] Operation: 69-68=1
Moving to Node #0,0
Current State: 35:[44, 22, 1], Operations: ['69-68=1']
Exploring Operation: 44/22=2, Resulting Numbers: [1, 2]
Generated Node #0,0,0: 35:[1, 2] Operation: 44/22=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[1, 2], Operations: ['69-68=1', '44/22=2']
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,35 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 |
[
53,
87,
36,
47
] | 23 | [
"87-53=34",
"47-36=11",
"34-11=23"
] | Current State: 23:[53, 87, 36, 47], Operations: []
Exploring Operation: 87-53=34, Resulting Numbers: [36, 47, 34]
Generated Node #2: [36, 47, 34] from Operation: 87-53=34
Current State: 23:[36, 47, 34], Operations: ['87-53=34']
Exploring Operation: 47-36=11, Resulting Numbers: [34, 11]
Generated Node #3: [34, 11] from Operation: 47-36=11
Current State: 23:[34, 11], Operations: ['87-53=34', '47-36=11']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[53, 87, 36, 47], Operations: []
Exploring Operation: 87-53=34, Resulting Numbers: [36, 47, 34]
Generated Node #0,0: 23:[36, 47, 34] Operation: 87-53=34
Exploring Operation: 87-47=40, Resulting Numbers: [53, 36, 40]
Generated Node #0,1: 23:[53, 36, 40] Operation: 87-47=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[36, 47, 34], Operations: ['87-53=34']
Exploring Operation: 47-34=13, Resulting Numbers: [36, 13]
Generated Node #0,0,0: 23:[36, 13] Operation: 47-34=13
Exploring Operation: 47-36=11, Resulting Numbers: [34, 11]
Generated Node #0,0,1: 23:[34, 11] Operation: 47-36=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[36, 13], Operations: ['87-53=34', '47-34=13']
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[53, 87, 36, 47], Operations: []
Exploring Operation: 87-53=34, Resulting Numbers: [36, 47, 34]
Generated Node #0,0: 23:[36, 47, 34] Operation: 87-53=34
Moving to Node #0,0
Current State: 23:[36, 47, 34], Operations: ['87-53=34']
Exploring Operation: 47-34=13, Resulting Numbers: [36, 13]
Generated Node #0,0,0: 23:[36, 13] Operation: 47-34=13
Moving to Node #0,0,0
Current State: 23:[36, 13], Operations: ['87-53=34', '47-34=13']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
34,
2,
13,
15
] | 90 | [
"13+15=28",
"2*28=56",
"34+56=90"
] | Current State: 90:[34, 2, 13, 15], Operations: []
Exploring Operation: 13+15=28, Resulting Numbers: [34, 2, 28]
Generated Node #2: [34, 2, 28] from Operation: 13+15=28
Current State: 90:[34, 2, 28], Operations: ['13+15=28']
Exploring Operation: 2*28=56, Resulting Numbers: [34, 56]
Generated Node #3: [34, 56] from Operation: 2*28=56
Current State: 90:[34, 56], Operations: ['13+15=28', '2*28=56']
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[34, 2, 13, 15], Operations: []
Exploring Operation: 34+13=47, Resulting Numbers: [2, 15, 47]
Generated Node #0,0: 90:[2, 15, 47] Operation: 34+13=47
Exploring Operation: 34-13=21, Resulting Numbers: [2, 15, 21]
Generated Node #0,1: 90:[2, 15, 21] Operation: 34-13=21
Exploring Operation: 34/2=17, Resulting Numbers: [13, 15, 17]
Generated Node #0,2: 90:[13, 15, 17] Operation: 34/2=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[2, 15, 47], Operations: ['34+13=47']
Exploring Operation: 47-2=45, Resulting Numbers: [15, 45]
Generated Node #0,0,0: 90:[15, 45] Operation: 47-2=45
Exploring Operation: 2*15=30, Resulting Numbers: [47, 30]
Generated Node #0,0,1: 90:[47, 30] Operation: 2*15=30
Exploring Operation: 47-15=32, Resulting Numbers: [2, 32]
Generated Node #0,0,2: 90:[2, 32] Operation: 47-15=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[15, 45], Operations: ['34+13=47', '47-2=45']
Exploring Operation: 15+45=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,90 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: 90:[47, 30], Operations: ['34+13=47', '2*15=30']
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 47*30=1410, Resulting Numbers: [1410]
1410,90 unequal: No Solution
Exploring Operation: 47+30=77, Resulting Numbers: [77]
77,90 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: 90:[2, 32], Operations: ['34+13=47', '47-15=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,90 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: 90:[2, 15, 21], Operations: ['34-13=21']
Exploring Operation: 2*15=30, Resulting Numbers: [21, 30]
Generated Node #0,1,0: 90:[21, 30] Operation: 2*15=30
Exploring Operation: 21-15=6, Resulting Numbers: [2, 6]
Generated Node #0,1,1: 90:[2, 6] Operation: 21-15=6
Exploring Operation: 21-2=19, Resulting Numbers: [15, 19]
Generated Node #0,1,2: 90:[15, 19] Operation: 21-2=19
Moving to Node #0,1,1
Current State: 90:[2, 6], Operations: ['34-13=21', '21-15=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[15, 19], Operations: ['34-13=21', '21-2=19']
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,90 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[21, 30], Operations: ['34-13=21', '2*15=30']
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,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,2
Current State: 90:[13, 15, 17], Operations: ['34/2=17']
Exploring Operation: 17-13=4, Resulting Numbers: [15, 4]
Generated Node #0,2,0: 90:[15, 4] Operation: 17-13=4
Exploring Operation: 15-13=2, Resulting Numbers: [17, 2]
Generated Node #0,2,1: 90:[17, 2] Operation: 15-13=2
Exploring Operation: 13+17=30, Resulting Numbers: [15, 30]
Generated Node #0,2,2: 90:[15, 30] Operation: 13+17=30
Moving to Node #0,2,2
Current State: 90:[15, 30], Operations: ['34/2=17', '13+17=30']
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[15, 4], Operations: ['34/2=17', '17-13=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[17, 2], Operations: ['34/2=17', '15-13=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,90 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 |
[
2,
73,
97,
42
] | 45 | [
"42/2=21",
"97-73=24",
"21+24=45"
] | Current State: 45:[2, 73, 97, 42], Operations: []
Exploring Operation: 42/2=21, Resulting Numbers: [73, 97, 21]
Generated Node #2: [73, 97, 21] from Operation: 42/2=21
Current State: 45:[73, 97, 21], Operations: ['42/2=21']
Exploring Operation: 97-73=24, Resulting Numbers: [21, 24]
Generated Node #3: [21, 24] from Operation: 97-73=24
Current State: 45:[21, 24], Operations: ['42/2=21', '97-73=24']
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[2, 73, 97, 42], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [2, 42, 24]
Generated Node #0,0: 45:[2, 42, 24] Operation: 97-73=24
Exploring Operation: 97-42=55, Resulting Numbers: [2, 73, 55]
Generated Node #0,1: 45:[2, 73, 55] Operation: 97-42=55
Moving to Node #0,0
Current State: 45:[2, 42, 24], Operations: ['97-73=24']
Exploring Operation: 2*24=48, Resulting Numbers: [42, 48]
Generated Node #0,0,0: 45:[42, 48] Operation: 2*24=48
Exploring Operation: 42-24=18, Resulting Numbers: [2, 18]
Generated Node #0,0,1: 45:[2, 18] Operation: 42-24=18
Moving to Node #0,1
Current State: 45:[2, 73, 55], Operations: ['97-42=55']
Exploring Operation: 73-2=71, Resulting Numbers: [55, 71]
Generated Node #0,1,0: 45:[55, 71] Operation: 73-2=71
Exploring Operation: 73-55=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 45:[2, 18] Operation: 73-55=18
Moving to Node #0,0,1
Current State: 45:[2, 18], Operations: ['97-73=24', '42-24=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[2, 18], Operations: ['97-42=55', '73-55=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[42, 48], Operations: ['97-73=24', '2*24=48']
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[55, 71], Operations: ['97-42=55', '73-2=71']
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,45 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
53,
33,
45,
26
] | 93 | [
"53*45=2385",
"33+2385=2418",
"2418/26=93"
] | Current State: 93:[53, 33, 45, 26], Operations: []
Exploring Operation: 53*45=2385, Resulting Numbers: [33, 26, 2385]
Generated Node #2: [33, 26, 2385] from Operation: 53*45=2385
Current State: 93:[33, 26, 2385], Operations: ['53*45=2385']
Exploring Operation: 33+2385=2418, Resulting Numbers: [26, 2418]
Generated Node #3: [26, 2418] from Operation: 33+2385=2418
Current State: 93:[26, 2418], Operations: ['53*45=2385', '33+2385=2418']
Exploring Operation: 2418/26=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[53, 33, 45, 26], Operations: []
Exploring Operation: 53+45=98, Resulting Numbers: [33, 26, 98]
Generated Node #0,0: 93:[33, 26, 98] Operation: 53+45=98
Moving to Node #0,0
Current State: 93:[33, 26, 98], Operations: ['53+45=98']
Exploring Operation: 33-26=7, Resulting Numbers: [98, 7]
Generated Node #0,0,0: 93:[98, 7] Operation: 33-26=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[98, 7], Operations: ['53+45=98', '33-26=7']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,93 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 |
[
95,
43,
96,
24
] | 20 | [
"95-43=52",
"96-24=72",
"72-52=20"
] | Current State: 20:[95, 43, 96, 24], Operations: []
Exploring Operation: 95-43=52, Resulting Numbers: [96, 24, 52]
Generated Node #2: [96, 24, 52] from Operation: 95-43=52
Current State: 20:[96, 24, 52], Operations: ['95-43=52']
Exploring Operation: 96-24=72, Resulting Numbers: [52, 72]
Generated Node #3: [52, 72] from Operation: 96-24=72
Current State: 20:[52, 72], Operations: ['95-43=52', '96-24=72']
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[95, 43, 96, 24], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [43, 24, 1]
Generated Node #0,0: 20:[43, 24, 1] Operation: 96-95=1
Exploring Operation: 96/24=4, Resulting Numbers: [95, 43, 4]
Generated Node #0,1: 20:[95, 43, 4] Operation: 96/24=4
Moving to Node #0,0
Current State: 20:[43, 24, 1], Operations: ['96-95=1']
Exploring Operation: 43-1=42, Resulting Numbers: [24, 42]
Generated Node #0,0,0: 20:[24, 42] Operation: 43-1=42
Exploring Operation: 43-24=19, Resulting Numbers: [1, 19]
Generated Node #0,0,1: 20:[1, 19] Operation: 43-24=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[1, 19], Operations: ['96-95=1', '43-24=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[95, 43, 96, 24], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [43, 24, 1]
Generated Node #0,0: 20:[43, 24, 1] Operation: 96-95=1
Moving to Node #0,0
Current State: 20:[43, 24, 1], Operations: ['96-95=1']
Exploring Operation: 43-24=19, Resulting Numbers: [1, 19]
Generated Node #0,0,1: 20:[1, 19] Operation: 43-24=19
Moving to Node #0,0,1
Current State: 20:[1, 19], Operations: ['96-95=1', '43-24=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
18,
16,
77,
65
] | 46 | [
"18+16=34",
"77-65=12",
"34+12=46"
] | Current State: 46:[18, 16, 77, 65], Operations: []
Exploring Operation: 18+16=34, Resulting Numbers: [77, 65, 34]
Generated Node #2: [77, 65, 34] from Operation: 18+16=34
Current State: 46:[77, 65, 34], Operations: ['18+16=34']
Exploring Operation: 77-65=12, Resulting Numbers: [34, 12]
Generated Node #3: [34, 12] from Operation: 77-65=12
Current State: 46:[34, 12], Operations: ['18+16=34', '77-65=12']
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[18, 16, 77, 65], Operations: []
Exploring Operation: 77-18=59, Resulting Numbers: [16, 65, 59]
Generated Node #0,0: 46:[16, 65, 59] Operation: 77-18=59
Exploring Operation: 65-18=47, Resulting Numbers: [16, 77, 47]
Generated Node #0,1: 46:[16, 77, 47] Operation: 65-18=47
Exploring Operation: 77-65=12, Resulting Numbers: [18, 16, 12]
Generated Node #0,2: 46:[18, 16, 12] Operation: 77-65=12
Exploring Operation: 77-16=61, Resulting Numbers: [18, 65, 61]
Generated Node #0,3: 46:[18, 65, 61] Operation: 77-16=61
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[18, 16, 12], Operations: ['77-65=12']
Exploring Operation: 16+12=28, Resulting Numbers: [18, 28]
Generated Node #0,2,0: 46:[18, 28] Operation: 16+12=28
Exploring Operation: 16-12=4, Resulting Numbers: [18, 4]
Generated Node #0,2,1: 46:[18, 4] Operation: 16-12=4
Exploring Operation: 18-16=2, Resulting Numbers: [12, 2]
Generated Node #0,2,2: 46:[12, 2] Operation: 18-16=2
Exploring Operation: 18-12=6, Resulting Numbers: [16, 6]
Generated Node #0,2,3: 46:[16, 6] Operation: 18-12=6
Moving to Node #0,2,1
Current State: 46:[18, 4], Operations: ['77-65=12', '16-12=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[12, 2], Operations: ['77-65=12', '18-16=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[18, 28], Operations: ['77-65=12', '16+12=28']
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,46 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[18, 16, 77, 65], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [18, 16, 12]
Generated Node #0,2: 46:[18, 16, 12] Operation: 77-65=12
Moving to Node #0,2
Current State: 46:[18, 16, 12], Operations: ['77-65=12']
Exploring Operation: 16+12=28, Resulting Numbers: [18, 28]
Generated Node #0,2,0: 46:[18, 28] Operation: 16+12=28
Moving to Node #0,2,0
Current State: 46:[18, 28], Operations: ['77-65=12', '16+12=28']
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
38,
29,
78,
39
] | 47 | [
"38*78=2964",
"2964/39=76",
"76-29=47"
] | Current State: 47:[38, 29, 78, 39], Operations: []
Exploring Operation: 38*78=2964, Resulting Numbers: [29, 39, 2964]
Generated Node #2: [29, 39, 2964] from Operation: 38*78=2964
Current State: 47:[29, 39, 2964], Operations: ['38*78=2964']
Exploring Operation: 2964/39=76, Resulting Numbers: [29, 76]
Generated Node #3: [29, 76] from Operation: 2964/39=76
Current State: 47:[29, 76], Operations: ['38*78=2964', '2964/39=76']
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[38, 29, 78, 39], Operations: []
Exploring Operation: 29+39=68, Resulting Numbers: [38, 78, 68]
Generated Node #0,0: 47:[38, 78, 68] Operation: 29+39=68
Exploring Operation: 78-38=40, Resulting Numbers: [29, 39, 40]
Generated Node #0,1: 47:[29, 39, 40] Operation: 78-38=40
Exploring Operation: 38+29=67, Resulting Numbers: [78, 39, 67]
Generated Node #0,2: 47:[78, 39, 67] Operation: 38+29=67
Exploring Operation: 78-39=39, Resulting Numbers: [38, 29, 39]
Generated Node #0,3: 47:[38, 29, 39] Operation: 78-39=39
Exploring Operation: 78-29=49, Resulting Numbers: [38, 39, 49]
Generated Node #0,4: 47:[38, 39, 49] Operation: 78-29=49
Moving to Node #0,4
Current State: 47:[38, 39, 49], Operations: ['78-29=49']
Exploring Operation: 49-38=11, Resulting Numbers: [39, 11]
Generated Node #0,4,0: 47:[39, 11] Operation: 49-38=11
Exploring Operation: 49-39=10, Resulting Numbers: [38, 10]
Generated Node #0,4,1: 47:[38, 10] Operation: 49-39=10
Exploring Operation: 38+39=77, Resulting Numbers: [49, 77]
Generated Node #0,4,2: 47:[49, 77] Operation: 38+39=77
Exploring Operation: 38+49=87, Resulting Numbers: [39, 87]
Generated Node #0,4,3: 47:[39, 87] Operation: 38+49=87
Exploring Operation: 39-38=1, Resulting Numbers: [49, 1]
Generated Node #0,4,4: 47:[49, 1] Operation: 39-38=1
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 47:[49, 77], Operations: ['78-29=49', '38+39=77']
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,47 unequal: No Solution
Exploring Operation: 49*77=3773, Resulting Numbers: [3773]
3773,47 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,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,4,0
Current State: 47:[39, 11], Operations: ['78-29=49', '49-38=11']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,47 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,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,4,1
Current State: 47:[38, 10], Operations: ['78-29=49', '49-39=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,47 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,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,4,3
Current State: 47:[39, 87], Operations: ['78-29=49', '38+49=87']
Exploring Operation: 39+87=126, Resulting Numbers: [126]
126,47 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 39*87=3393, Resulting Numbers: [3393]
3393,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,4,4
Current State: 47:[49, 1], Operations: ['78-29=49', '39-38=1']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,47 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,47 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: 47:[29, 39, 40], Operations: ['78-38=40']
Exploring Operation: 29+40=69, Resulting Numbers: [39, 69]
Generated Node #0,1,0: 47:[39, 69] Operation: 29+40=69
Exploring Operation: 39-29=10, Resulting Numbers: [40, 10]
Generated Node #0,1,1: 47:[40, 10] Operation: 39-29=10
Exploring Operation: 39+40=79, Resulting Numbers: [29, 79]
Generated Node #0,1,2: 47:[29, 79] Operation: 39+40=79
Exploring Operation: 29+39=68, Resulting Numbers: [40, 68]
Generated Node #0,1,3: 47:[40, 68] Operation: 29+39=68
Exploring Operation: 40-29=11, Resulting Numbers: [39, 11]
Generated Node #0,1,4: 47:[39, 11] Operation: 40-29=11
Moving to Node #0,3
Current State: 47:[38, 29, 39], Operations: ['78-39=39']
Exploring Operation: 38+29=67, Resulting Numbers: [39, 67]
Generated Node #0,3,0: 47:[39, 67] Operation: 38+29=67
Exploring Operation: 39-29=10, Resulting Numbers: [38, 10]
Generated Node #0,3,1: 47:[38, 10] Operation: 39-29=10
Exploring Operation: 38+39=77, Resulting Numbers: [29, 77]
Generated Node #0,3,2: 47:[29, 77] Operation: 38+39=77
Exploring Operation: 29+39=68, Resulting Numbers: [38, 68]
Generated Node #0,3,3: 47:[38, 68] Operation: 29+39=68
Exploring Operation: 38-29=9, Resulting Numbers: [39, 9]
Generated Node #0,3,4: 47:[39, 9] Operation: 38-29=9
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[39, 67], Operations: ['78-39=39', '38+29=67']
Exploring Operation: 67-39=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 39*67=2613, Resulting Numbers: [2613]
2613,47 unequal: No Solution
Exploring Operation: 39+67=106, Resulting Numbers: [106]
106,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,3,3
Current State: 47:[38, 68], Operations: ['78-39=39', '29+39=68']
Exploring Operation: 38*68=2584, Resulting Numbers: [2584]
2584,47 unequal: No Solution
Exploring Operation: 38+68=106, Resulting Numbers: [106]
106,47 unequal: No Solution
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,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,3,1
Current State: 47:[38, 10], Operations: ['78-39=39', '39-29=10']
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,47 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,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,3,4
Current State: 47:[39, 9], Operations: ['78-39=39', '38-29=9']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,47 unequal: No Solution
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,47 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,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,3,2
Current State: 47:[29, 77], Operations: ['78-39=39', '38+39=77']
Exploring Operation: 29+77=106, Resulting Numbers: [106]
106,47 unequal: No Solution
Exploring Operation: 29*77=2233, Resulting Numbers: [2233]
2233,47 unequal: No Solution
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,47 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: 47:[78, 39, 67], Operations: ['38+29=67']
Exploring Operation: 78/39=2, Resulting Numbers: [67, 2]
Generated Node #0,2,0: 47:[67, 2] Operation: 78/39=2
Exploring Operation: 78-67=11, Resulting Numbers: [39, 11]
Generated Node #0,2,1: 47:[39, 11] Operation: 78-67=11
Exploring Operation: 67-39=28, Resulting Numbers: [78, 28]
Generated Node #0,2,2: 47:[78, 28] Operation: 67-39=28
Exploring Operation: 78+39=117, Resulting Numbers: [67, 117]
Generated Node #0,2,3: 47:[67, 117] Operation: 78+39=117
Exploring Operation: 78-39=39, Resulting Numbers: [67, 39]
Generated Node #0,2,4: 47:[67, 39] Operation: 78-39=39
Moving to Node #0,0
Current State: 47:[38, 78, 68], Operations: ['29+39=68']
Exploring Operation: 38+78=116, Resulting Numbers: [68, 116]
Generated Node #0,0,0: 47:[68, 116] Operation: 38+78=116
Exploring Operation: 68-38=30, Resulting Numbers: [78, 30]
Generated Node #0,0,1: 47:[78, 30] Operation: 68-38=30
Exploring Operation: 78-68=10, Resulting Numbers: [38, 10]
Generated Node #0,0,2: 47:[38, 10] Operation: 78-68=10
Exploring Operation: 38+68=106, Resulting Numbers: [78, 106]
Generated Node #0,0,3: 47:[78, 106] Operation: 38+68=106
Exploring Operation: 78-38=40, Resulting Numbers: [68, 40]
Generated Node #0,0,4: 47:[68, 40] Operation: 78-38=40
Moving to Node #0,1,3
Current State: 47:[40, 68], Operations: ['78-38=40', '29+39=68']
Exploring Operation: 40*68=2720, Resulting Numbers: [2720]
2720,47 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 40+68=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Moving to Node #0,2,4
Current State: 47:[67, 39], Operations: ['38+29=67', '78-39=39']
Exploring Operation: 67-39=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 67+39=106, Resulting Numbers: [106]
106,47 unequal: No Solution
Exploring Operation: 67*39=2613, Resulting Numbers: [2613]
2613,47 unequal: No Solution
Moving to Node #0,0,4
Current State: 47:[68, 40], Operations: ['29+39=68', '78-38=40']
Exploring Operation: 68*40=2720, Resulting Numbers: [2720]
2720,47 unequal: No Solution
Exploring Operation: 68+40=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[39, 69], Operations: ['78-38=40', '29+40=69']
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,47 unequal: No Solution
Exploring Operation: 39*69=2691, Resulting Numbers: [2691]
2691,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[39, 11], Operations: ['38+29=67', '78-67=11']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,47 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[40, 10], Operations: ['78-38=40', '39-29=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,47 unequal: No Solution
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,47 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,47 unequal: No Solution
Moving to Node #0,1,4
Current State: 47:[39, 11], Operations: ['78-38=40', '40-29=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,47 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[38, 10], Operations: ['29+39=68', '78-68=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[78, 30], Operations: ['29+39=68', '68-38=30']
Exploring Operation: 78*30=2340, Resulting Numbers: [2340]
2340,47 unequal: No Solution
Exploring Operation: 78+30=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[29, 79], Operations: ['78-38=40', '39+40=79']
Exploring Operation: 29+79=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 29*79=2291, Resulting Numbers: [2291]
2291,47 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[78, 28], Operations: ['38+29=67', '67-39=28']
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,47 unequal: No Solution
Exploring Operation: 78*28=2184, Resulting Numbers: [2184]
2184,47 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[67, 2], Operations: ['38+29=67', '78/39=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[78, 106], Operations: ['29+39=68', '38+68=106']
Exploring Operation: 78+106=184, Resulting Numbers: [184]
184,47 unequal: No Solution
Exploring Operation: 78*106=8268, Resulting Numbers: [8268]
8268,47 unequal: No Solution
Exploring Operation: 106-78=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[67, 117], Operations: ['38+29=67', '78+39=117']
Exploring Operation: 67+117=184, Resulting Numbers: [184]
184,47 unequal: No Solution
Exploring Operation: 67*117=7839, Resulting Numbers: [7839]
7839,47 unequal: No Solution
Exploring Operation: 117-67=50, Resulting Numbers: [50]
50,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[68, 116], Operations: ['29+39=68', '38+78=116']
Exploring Operation: 68+116=184, Resulting Numbers: [184]
184,47 unequal: No Solution
Exploring Operation: 68*116=7888, Resulting Numbers: [7888]
7888,47 unequal: No Solution
Exploring Operation: 116-68=48, Resulting Numbers: [48]
48,47 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
93,
63,
30,
54
] | 70 | [
"93+54=147",
"30*147=4410",
"4410/63=70"
] | Current State: 70:[93, 63, 30, 54], Operations: []
Exploring Operation: 93+54=147, Resulting Numbers: [63, 30, 147]
Generated Node #2: [63, 30, 147] from Operation: 93+54=147
Current State: 70:[63, 30, 147], Operations: ['93+54=147']
Exploring Operation: 30*147=4410, Resulting Numbers: [63, 4410]
Generated Node #3: [63, 4410] from Operation: 30*147=4410
Current State: 70:[63, 4410], Operations: ['93+54=147', '30*147=4410']
Exploring Operation: 4410/63=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[93, 63, 30, 54], Operations: []
Exploring Operation: 93-54=39, Resulting Numbers: [63, 30, 39]
Generated Node #0,0: 70:[63, 30, 39] Operation: 93-54=39
Exploring Operation: 93-30=63, Resulting Numbers: [63, 54, 63]
Generated Node #0,1: 70:[63, 54, 63] Operation: 93-30=63
Exploring Operation: 93-63=30, Resulting Numbers: [30, 54, 30]
Generated Node #0,2: 70:[30, 54, 30] Operation: 93-63=30
Exploring Operation: 63-54=9, Resulting Numbers: [93, 30, 9]
Generated Node #0,3: 70:[93, 30, 9] Operation: 63-54=9
Exploring Operation: 54-30=24, Resulting Numbers: [93, 63, 24]
Generated Node #0,4: 70:[93, 63, 24] Operation: 54-30=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[63, 30, 39], Operations: ['93-54=39']
Exploring Operation: 30+39=69, Resulting Numbers: [63, 69]
Generated Node #0,0,0: 70:[63, 69] Operation: 30+39=69
Exploring Operation: 63-30=33, Resulting Numbers: [39, 33]
Generated Node #0,0,1: 70:[39, 33] Operation: 63-30=33
Exploring Operation: 39-30=9, Resulting Numbers: [63, 9]
Generated Node #0,0,2: 70:[63, 9] Operation: 39-30=9
Exploring Operation: 63+30=93, Resulting Numbers: [39, 93]
Generated Node #0,0,3: 70:[39, 93] Operation: 63+30=93
Exploring Operation: 63-39=24, Resulting Numbers: [30, 24]
Generated Node #0,0,4: 70:[30, 24] Operation: 63-39=24
Moving to Node #0,0,1
Current State: 70:[39, 33], Operations: ['93-54=39', '63-30=33']
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,70 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[63, 9], Operations: ['93-54=39', '39-30=9']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[63, 69], Operations: ['93-54=39', '30+39=69']
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,70 unequal: No Solution
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,70 unequal: No Solution
Moving to Node #0,0,4
Current State: 70:[30, 24], Operations: ['93-54=39', '63-39=24']
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,70 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[39, 93], Operations: ['93-54=39', '63+30=93']
Exploring Operation: 39+93=132, Resulting Numbers: [132]
132,70 unequal: No Solution
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 39*93=3627, Resulting Numbers: [3627]
3627,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:[30, 54, 30], Operations: ['93-63=30']
Exploring Operation: 30/30=1, Resulting Numbers: [54, 1]
Generated Node #0,2,0: 70:[54, 1] Operation: 30/30=1
Exploring Operation: 54-30=24, Resulting Numbers: [30, 24]
Generated Node #0,2,1: 70:[30, 24] Operation: 54-30=24
Exploring Operation: 54-30=24, Resulting Numbers: [30, 24]
Generated Node #0,2,2: 70:[30, 24] Operation: 54-30=24
Exploring Operation: 30-30=0, Resulting Numbers: [54, 0]
Generated Node #0,2,3: 70:[54, 0] Operation: 30-30=0
Exploring Operation: 30+54=84, Resulting Numbers: [30, 84]
Generated Node #0,2,4: 70:[30, 84] Operation: 30+54=84
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[30, 24], Operations: ['93-63=30', '54-30=24']
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,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,2,2
Current State: 70:[30, 24], Operations: ['93-63=30', '54-30=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,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,2,0
Current State: 70:[54, 1], Operations: ['93-63=30', '30/30=1']
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,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,2,3
Current State: 70:[54, 0], Operations: ['93-63=30', '30-30=0']
Exploring Operation: 54*0=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 54+0=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 54-0=54, Resulting Numbers: [54]
54,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,2,4
Current State: 70:[30, 84], Operations: ['93-63=30', '30+54=84']
Exploring Operation: 30*84=2520, Resulting Numbers: [2520]
2520,70 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 30+84=114, Resulting Numbers: [114]
114,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,3
Current State: 70:[93, 30, 9], Operations: ['63-54=9']
Exploring Operation: 30+9=39, Resulting Numbers: [93, 39]
Generated Node #0,3,0: 70:[93, 39] Operation: 30+9=39
Exploring Operation: 93-30=63, Resulting Numbers: [9, 63]
Generated Node #0,3,1: 70:[9, 63] Operation: 93-30=63
Exploring Operation: 93+9=102, Resulting Numbers: [30, 102]
Generated Node #0,3,2: 70:[30, 102] Operation: 93+9=102
Exploring Operation: 30-9=21, Resulting Numbers: [93, 21]
Generated Node #0,3,3: 70:[93, 21] Operation: 30-9=21
Exploring Operation: 93-9=84, Resulting Numbers: [30, 84]
Generated Node #0,3,4: 70:[30, 84] Operation: 93-9=84
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[9, 63], Operations: ['63-54=9', '93-30=63']
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 9*63=567, Resulting Numbers: [567]
567,70 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,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,3,4
Current State: 70:[30, 84], Operations: ['63-54=9', '93-9=84']
Exploring Operation: 30*84=2520, Resulting Numbers: [2520]
2520,70 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 30+84=114, Resulting Numbers: [114]
114,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,3,0
Current State: 70:[93, 39], Operations: ['63-54=9', '30+9=39']
Exploring Operation: 93+39=132, Resulting Numbers: [132]
132,70 unequal: No Solution
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 93*39=3627, Resulting Numbers: [3627]
3627,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,3,3
Current State: 70:[93, 21], Operations: ['63-54=9', '30-9=21']
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,70 unequal: No Solution
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,70 unequal: No Solution
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,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,3,2
Current State: 70:[30, 102], Operations: ['63-54=9', '93+9=102']
Exploring Operation: 102-30=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 30*102=3060, Resulting Numbers: [3060]
3060,70 unequal: No Solution
Exploring Operation: 30+102=132, Resulting Numbers: [132]
132,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,1
Current State: 70:[63, 54, 63], Operations: ['93-30=63']
Exploring Operation: 63-54=9, Resulting Numbers: [63, 9]
Generated Node #0,1,0: 70:[63, 9] Operation: 63-54=9
Exploring Operation: 63-63=0, Resulting Numbers: [54, 0]
Generated Node #0,1,1: 70:[54, 0] Operation: 63-63=0
Exploring Operation: 63/63=1, Resulting Numbers: [54, 1]
Generated Node #0,1,2: 70:[54, 1] Operation: 63/63=1
Exploring Operation: 63-54=9, Resulting Numbers: [63, 9]
Generated Node #0,1,3: 70:[63, 9] Operation: 63-54=9
Exploring Operation: 63+54=117, Resulting Numbers: [63, 117]
Generated Node #0,1,4: 70:[63, 117] Operation: 63+54=117
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[63, 9], Operations: ['93-30=63', '63-54=9']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,70 unequal: No Solution
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,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,3
Current State: 70:[63, 9], Operations: ['93-30=63', '63-54=9']
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,70 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,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:[54, 1], Operations: ['93-30=63', '63/63=1']
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,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:[54, 0], Operations: ['93-30=63', '63-63=0']
Exploring Operation: 54*0=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 54+0=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 54-0=54, Resulting Numbers: [54]
54,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,4
Current State: 70:[63, 117], Operations: ['93-30=63', '63+54=117']
Exploring Operation: 63*117=7371, Resulting Numbers: [7371]
7371,70 unequal: No Solution
Exploring Operation: 117-63=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 63+117=180, Resulting Numbers: [180]
180,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,4
Current State: 70:[93, 63, 24], Operations: ['54-30=24']
Exploring Operation: 93+24=117, Resulting Numbers: [63, 117]
Generated Node #0,4,0: 70:[63, 117] Operation: 93+24=117
Exploring Operation: 93-24=69, Resulting Numbers: [63, 69]
Generated Node #0,4,1: 70:[63, 69] Operation: 93-24=69
Exploring Operation: 63-24=39, Resulting Numbers: [93, 39]
Generated Node #0,4,2: 70:[93, 39] Operation: 63-24=39
Exploring Operation: 63+24=87, Resulting Numbers: [93, 87]
Generated Node #0,4,3: 70:[93, 87] Operation: 63+24=87
Exploring Operation: 93-63=30, Resulting Numbers: [24, 30]
Generated Node #0,4,4: 70:[24, 30] Operation: 93-63=30
Moving to Node #0,4,1
Current State: 70:[63, 69], Operations: ['54-30=24', '93-24=69']
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,70 unequal: No Solution
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,70 unequal: No Solution
Moving to Node #0,4,4
Current State: 70:[24, 30], Operations: ['54-30=24', '93-63=30']
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,70 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Moving to Node #0,4,2
Current State: 70:[93, 39], Operations: ['54-30=24', '63-24=39']
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 93*39=3627, Resulting Numbers: [3627]
3627,70 unequal: No Solution
Exploring Operation: 93+39=132, Resulting Numbers: [132]
132,70 unequal: No Solution
Moving to Node #0,4,3
Current State: 70:[93, 87], Operations: ['54-30=24', '63+24=87']
Exploring Operation: 93+87=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Exploring Operation: 93*87=8091, Resulting Numbers: [8091]
8091,70 unequal: No Solution
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Moving to Node #0,4,0
Current State: 70:[63, 117], Operations: ['54-30=24', '93+24=117']
Exploring Operation: 63*117=7371, Resulting Numbers: [7371]
7371,70 unequal: No Solution
Exploring Operation: 117-63=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 63+117=180, Resulting Numbers: [180]
180,70 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 |
[
39,
85,
24,
30
] | 87 | [
"39-24=15",
"30/15=2",
"85+2=87"
] | Current State: 87:[39, 85, 24, 30], Operations: []
Exploring Operation: 39-24=15, Resulting Numbers: [85, 30, 15]
Generated Node #2: [85, 30, 15] from Operation: 39-24=15
Current State: 87:[85, 30, 15], Operations: ['39-24=15']
Exploring Operation: 30/15=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 30/15=2
Current State: 87:[85, 2], Operations: ['39-24=15', '30/15=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[39, 85, 24, 30], Operations: []
Exploring Operation: 85-39=46, Resulting Numbers: [24, 30, 46]
Generated Node #0,0: 87:[24, 30, 46] Operation: 85-39=46
Exploring Operation: 39-30=9, Resulting Numbers: [85, 24, 9]
Generated Node #0,1: 87:[85, 24, 9] Operation: 39-30=9
Exploring Operation: 39-24=15, Resulting Numbers: [85, 30, 15]
Generated Node #0,2: 87:[85, 30, 15] Operation: 39-24=15
Exploring Operation: 30-24=6, Resulting Numbers: [39, 85, 6]
Generated Node #0,3: 87:[39, 85, 6] Operation: 30-24=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[85, 24, 9], Operations: ['39-30=9']
Exploring Operation: 24-9=15, Resulting Numbers: [85, 15]
Generated Node #0,1,0: 87:[85, 15] Operation: 24-9=15
Exploring Operation: 85-9=76, Resulting Numbers: [24, 76]
Generated Node #0,1,1: 87:[24, 76] Operation: 85-9=76
Exploring Operation: 24+9=33, Resulting Numbers: [85, 33]
Generated Node #0,1,2: 87:[85, 33] Operation: 24+9=33
Exploring Operation: 85+9=94, Resulting Numbers: [24, 94]
Generated Node #0,1,3: 87:[24, 94] Operation: 85+9=94
Moving to Node #0,1,2
Current State: 87:[85, 33], Operations: ['39-30=9', '24+9=33']
Exploring Operation: 85+33=118, Resulting Numbers: [118]
118,87 unequal: No Solution
Exploring Operation: 85-33=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 85*33=2805, Resulting Numbers: [2805]
2805,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[24, 94], Operations: ['39-30=9', '85+9=94']
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 24*94=2256, Resulting Numbers: [2256]
2256,87 unequal: No Solution
Exploring Operation: 24+94=118, Resulting Numbers: [118]
118,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[85, 15], Operations: ['39-30=9', '24-9=15']
Exploring Operation: 85*15=1275, Resulting Numbers: [1275]
1275,87 unequal: No Solution
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 85+15=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[24, 76], Operations: ['39-30=9', '85-9=76']
Exploring Operation: 24+76=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 24*76=1824, Resulting Numbers: [1824]
1824,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[85, 30, 15], Operations: ['39-24=15']
Exploring Operation: 30-15=15, Resulting Numbers: [85, 15]
Generated Node #0,2,0: 87:[85, 15] Operation: 30-15=15
Exploring Operation: 85+15=100, Resulting Numbers: [30, 100]
Generated Node #0,2,1: 87:[30, 100] Operation: 85+15=100
Exploring Operation: 85-15=70, Resulting Numbers: [30, 70]
Generated Node #0,2,2: 87:[30, 70] Operation: 85-15=70
Exploring Operation: 30/15=2, Resulting Numbers: [85, 2]
Generated Node #0,2,3: 87:[85, 2] Operation: 30/15=2
Moving to Node #0,2,3
Current State: 87:[85, 2], Operations: ['39-24=15', '30/15=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,87 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[39, 85, 24, 30], Operations: []
Exploring Operation: 39-24=15, Resulting Numbers: [85, 30, 15]
Generated Node #0,2: 87:[85, 30, 15] Operation: 39-24=15
Moving to Node #0,2
Current State: 87:[85, 30, 15], Operations: ['39-24=15']
Exploring Operation: 30/15=2, Resulting Numbers: [85, 2]
Generated Node #0,2,3: 87:[85, 2] Operation: 30/15=2
Moving to Node #0,2,3
Current State: 87:[85, 2], Operations: ['39-24=15', '30/15=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
64,
39,
11,
79
] | 26 | [
"64+79=143",
"143/11=13",
"39-13=26"
] | Current State: 26:[64, 39, 11, 79], Operations: []
Exploring Operation: 64+79=143, Resulting Numbers: [39, 11, 143]
Generated Node #2: [39, 11, 143] from Operation: 64+79=143
Current State: 26:[39, 11, 143], Operations: ['64+79=143']
Exploring Operation: 143/11=13, Resulting Numbers: [39, 13]
Generated Node #3: [39, 13] from Operation: 143/11=13
Current State: 26:[39, 13], Operations: ['64+79=143', '143/11=13']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[64, 39, 11, 79], Operations: []
Exploring Operation: 64-11=53, Resulting Numbers: [39, 79, 53]
Generated Node #0,0: 26:[39, 79, 53] Operation: 64-11=53
Exploring Operation: 39-11=28, Resulting Numbers: [64, 79, 28]
Generated Node #0,1: 26:[64, 79, 28] Operation: 39-11=28
Exploring Operation: 79-39=40, Resulting Numbers: [64, 11, 40]
Generated Node #0,2: 26:[64, 11, 40] Operation: 79-39=40
Exploring Operation: 79-64=15, Resulting Numbers: [39, 11, 15]
Generated Node #0,3: 26:[39, 11, 15] Operation: 79-64=15
Exploring Operation: 64-39=25, Resulting Numbers: [11, 79, 25]
Generated Node #0,4: 26:[11, 79, 25] Operation: 64-39=25
Moving to Node #0,3
Current State: 26:[39, 11, 15], Operations: ['79-64=15']
Exploring Operation: 15-11=4, Resulting Numbers: [39, 4]
Generated Node #0,3,0: 26:[39, 4] Operation: 15-11=4
Exploring Operation: 39-15=24, Resulting Numbers: [11, 24]
Generated Node #0,3,1: 26:[11, 24] Operation: 39-15=24
Exploring Operation: 11+15=26, Resulting Numbers: [39, 26]
Generated Node #0,3,2: 26:[39, 26] Operation: 11+15=26
Exploring Operation: 39-11=28, Resulting Numbers: [15, 28]
Generated Node #0,3,3: 26:[15, 28] Operation: 39-11=28
Exploring Operation: 39+11=50, Resulting Numbers: [15, 50]
Generated Node #0,3,4: 26:[15, 50] Operation: 39+11=50
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[11, 24], Operations: ['79-64=15', '39-15=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,26 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[15, 28], Operations: ['79-64=15', '39-11=28']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[39, 26], Operations: ['79-64=15', '11+15=26']
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,26 unequal: No Solution
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[39, 4], Operations: ['79-64=15', '15-11=4']
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 39*4=156, Resulting Numbers: [156]
156,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 26:[15, 50], Operations: ['79-64=15', '39+11=50']
Exploring Operation: 15*50=750, Resulting Numbers: [750]
750,26 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 15+50=65, Resulting Numbers: [65]
65,26 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: 26:[64, 11, 40], Operations: ['79-39=40']
Exploring Operation: 64-40=24, Resulting Numbers: [11, 24]
Generated Node #0,2,0: 26:[11, 24] Operation: 64-40=24
Exploring Operation: 64-11=53, Resulting Numbers: [40, 53]
Generated Node #0,2,1: 26:[40, 53] Operation: 64-11=53
Exploring Operation: 11+40=51, Resulting Numbers: [64, 51]
Generated Node #0,2,2: 26:[64, 51] Operation: 11+40=51
Exploring Operation: 64+11=75, Resulting Numbers: [40, 75]
Generated Node #0,2,3: 26:[40, 75] Operation: 64+11=75
Exploring Operation: 40-11=29, Resulting Numbers: [64, 29]
Generated Node #0,2,4: 26:[64, 29] Operation: 40-11=29
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[11, 24], Operations: ['79-39=40', '64-40=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,26 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[40, 53], Operations: ['79-39=40', '64-11=53']
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 40*53=2120, Resulting Numbers: [2120]
2120,26 unequal: No Solution
Exploring Operation: 40+53=93, Resulting Numbers: [93]
93,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 26:[64, 29], Operations: ['79-39=40', '40-11=29']
Exploring Operation: 64*29=1856, Resulting Numbers: [1856]
1856,26 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[64, 51], Operations: ['79-39=40', '11+40=51']
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 64*51=3264, Resulting Numbers: [3264]
3264,26 unequal: No Solution
Exploring Operation: 64+51=115, Resulting Numbers: [115]
115,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 26:[40, 75], Operations: ['79-39=40', '64+11=75']
Exploring Operation: 40+75=115, Resulting Numbers: [115]
115,26 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 40*75=3000, Resulting Numbers: [3000]
3000,26 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: 26:[11, 79, 25], Operations: ['64-39=25']
Exploring Operation: 79-11=68, Resulting Numbers: [25, 68]
Generated Node #0,4,0: 26:[25, 68] Operation: 79-11=68
Exploring Operation: 25-11=14, Resulting Numbers: [79, 14]
Generated Node #0,4,1: 26:[79, 14] Operation: 25-11=14
Exploring Operation: 11+25=36, Resulting Numbers: [79, 36]
Generated Node #0,4,2: 26:[79, 36] Operation: 11+25=36
Exploring Operation: 11+79=90, Resulting Numbers: [25, 90]
Generated Node #0,4,3: 26:[25, 90] Operation: 11+79=90
Exploring Operation: 79-25=54, Resulting Numbers: [11, 54]
Generated Node #0,4,4: 26:[11, 54] Operation: 79-25=54
Moving to Node #0,0
Current State: 26:[39, 79, 53], Operations: ['64-11=53']
Exploring Operation: 79-39=40, Resulting Numbers: [53, 40]
Generated Node #0,0,0: 26:[53, 40] Operation: 79-39=40
Exploring Operation: 53-39=14, Resulting Numbers: [79, 14]
Generated Node #0,0,1: 26:[79, 14] Operation: 53-39=14
Exploring Operation: 39+79=118, Resulting Numbers: [53, 118]
Generated Node #0,0,2: 26:[53, 118] Operation: 39+79=118
Exploring Operation: 39+53=92, Resulting Numbers: [79, 92]
Generated Node #0,0,3: 26:[79, 92] Operation: 39+53=92
Exploring Operation: 79-53=26, Resulting Numbers: [39, 26]
Generated Node #0,0,4: 26:[39, 26] Operation: 79-53=26
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 26:[39, 26], Operations: ['64-11=53', '79-53=26']
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[53, 40], Operations: ['64-11=53', '79-39=40']
Exploring Operation: 53*40=2120, Resulting Numbers: [2120]
2120,26 unequal: No Solution
Exploring Operation: 53+40=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[79, 14], Operations: ['64-11=53', '53-39=14']
Exploring Operation: 79*14=1106, Resulting Numbers: [1106]
1106,26 unequal: No Solution
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 79+14=93, Resulting Numbers: [93]
93,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[53, 118], Operations: ['64-11=53', '39+79=118']
Exploring Operation: 118-53=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 53+118=171, Resulting Numbers: [171]
171,26 unequal: No Solution
Exploring Operation: 53*118=6254, Resulting Numbers: [6254]
6254,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[79, 92], Operations: ['64-11=53', '39+53=92']
Exploring Operation: 92-79=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 79*92=7268, Resulting Numbers: [7268]
7268,26 unequal: No Solution
Exploring Operation: 79+92=171, Resulting Numbers: [171]
171,26 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: 26:[64, 79, 28], Operations: ['39-11=28']
Exploring Operation: 79-28=51, Resulting Numbers: [64, 51]
Generated Node #0,1,0: 26:[64, 51] Operation: 79-28=51
Exploring Operation: 64+79=143, Resulting Numbers: [28, 143]
Generated Node #0,1,1: 26:[28, 143] Operation: 64+79=143
Exploring Operation: 64+28=92, Resulting Numbers: [79, 92]
Generated Node #0,1,2: 26:[79, 92] Operation: 64+28=92
Exploring Operation: 64-28=36, Resulting Numbers: [79, 36]
Generated Node #0,1,3: 26:[79, 36] Operation: 64-28=36
Exploring Operation: 79-64=15, Resulting Numbers: [28, 15]
Generated Node #0,1,4: 26:[28, 15] Operation: 79-64=15
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 26:[28, 15], Operations: ['39-11=28', '79-64=15']
Exploring Operation: 28*15=420, Resulting Numbers: [420]
420,26 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[64, 51], Operations: ['39-11=28', '79-28=51']
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 64*51=3264, Resulting Numbers: [3264]
3264,26 unequal: No Solution
Exploring Operation: 64+51=115, Resulting Numbers: [115]
115,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[79, 36], Operations: ['39-11=28', '64-28=36']
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 79+36=115, Resulting Numbers: [115]
115,26 unequal: No Solution
Exploring Operation: 79*36=2844, Resulting Numbers: [2844]
2844,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[28, 143], Operations: ['39-11=28', '64+79=143']
Exploring Operation: 28*143=4004, Resulting Numbers: [4004]
4004,26 unequal: No Solution
Exploring Operation: 28+143=171, Resulting Numbers: [171]
171,26 unequal: No Solution
Exploring Operation: 143-28=115, Resulting Numbers: [115]
115,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[79, 92], Operations: ['39-11=28', '64+28=92']
Exploring Operation: 92-79=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 79+92=171, Resulting Numbers: [171]
171,26 unequal: No Solution
Exploring Operation: 79*92=7268, Resulting Numbers: [7268]
7268,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 26:[11, 54], Operations: ['64-39=25', '79-25=54']
Exploring Operation: 11*54=594, Resulting Numbers: [594]
594,26 unequal: No Solution
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 11+54=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Moving to Node #0,4,0
Current State: 26:[25, 68], Operations: ['64-39=25', '79-11=68']
Exploring Operation: 25*68=1700, Resulting Numbers: [1700]
1700,26 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 25+68=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Moving to Node #0,4,1
Current State: 26:[79, 14], Operations: ['64-39=25', '25-11=14']
Exploring Operation: 79*14=1106, Resulting Numbers: [1106]
1106,26 unequal: No Solution
Exploring Operation: 79+14=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Moving to Node #0,4,2
Current State: 26:[79, 36], Operations: ['64-39=25', '11+25=36']
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 79+36=115, Resulting Numbers: [115]
115,26 unequal: No Solution
Exploring Operation: 79*36=2844, Resulting Numbers: [2844]
2844,26 unequal: No Solution
Moving to Node #0,4,3
Current State: 26:[25, 90], Operations: ['64-39=25', '11+79=90']
Exploring Operation: 25*90=2250, Resulting Numbers: [2250]
2250,26 unequal: No Solution
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 25+90=115, Resulting Numbers: [115]
115,26 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
86,
84,
65,
24
] | 28 | [
"86-65=21",
"84/21=4",
"24+4=28"
] | Current State: 28:[86, 84, 65, 24], Operations: []
Exploring Operation: 86-65=21, Resulting Numbers: [84, 24, 21]
Generated Node #2: [84, 24, 21] from Operation: 86-65=21
Current State: 28:[84, 24, 21], Operations: ['86-65=21']
Exploring Operation: 84/21=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 84/21=4
Current State: 28:[24, 4], Operations: ['86-65=21', '84/21=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[86, 84, 65, 24], Operations: []
Exploring Operation: 86-65=21, Resulting Numbers: [84, 24, 21]
Generated Node #0,0: 28:[84, 24, 21] Operation: 86-65=21
Exploring Operation: 86-84=2, Resulting Numbers: [65, 24, 2]
Generated Node #0,1: 28:[65, 24, 2] Operation: 86-84=2
Moving to Node #0,1
Current State: 28:[65, 24, 2], Operations: ['86-84=2']
Exploring Operation: 65-2=63, Resulting Numbers: [24, 63]
Generated Node #0,1,0: 28:[24, 63] Operation: 65-2=63
Exploring Operation: 65-24=41, Resulting Numbers: [2, 41]
Generated Node #0,1,1: 28:[2, 41] Operation: 65-24=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[2, 41], Operations: ['86-84=2', '65-24=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,28 unequal: No Solution
No 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: 28:[24, 63], Operations: ['86-84=2', '65-2=63']
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 24+63=87, Resulting Numbers: [87]
87,28 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: 28:[84, 24, 21], Operations: ['86-65=21']
Exploring Operation: 84/21=4, Resulting Numbers: [24, 4]
Generated Node #0,0,0: 28:[24, 4] Operation: 84/21=4
Exploring Operation: 84-24=60, Resulting Numbers: [21, 60]
Generated Node #0,0,1: 28:[21, 60] Operation: 84-24=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[24, 4], Operations: ['86-65=21', '84/21=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[86, 84, 65, 24], Operations: []
Exploring Operation: 86-65=21, Resulting Numbers: [84, 24, 21]
Generated Node #0,0: 28:[84, 24, 21] Operation: 86-65=21
Moving to Node #0,0
Current State: 28:[84, 24, 21], Operations: ['86-65=21']
Exploring Operation: 84/21=4, Resulting Numbers: [24, 4]
Generated Node #0,0,0: 28:[24, 4] Operation: 84/21=4
Moving to Node #0,0,0
Current State: 28:[24, 4], Operations: ['86-65=21', '84/21=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
3,
45,
42,
8
] | 92 | [
"45-3=42",
"42+8=50",
"42+50=92"
] | Current State: 92:[3, 45, 42, 8], Operations: []
Exploring Operation: 45-3=42, Resulting Numbers: [42, 8, 42]
Generated Node #2: [42, 8, 42] from Operation: 45-3=42
Current State: 92:[42, 8, 42], Operations: ['45-3=42']
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,92 equal: Goal Reached
Exploring Operation: 42+50=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[3, 45, 42, 8], Operations: []
Exploring Operation: 3+42=45, Resulting Numbers: [45, 8, 45]
Generated Node #0,0: 92:[45, 8, 45] Operation: 3+42=45
Moving to Node #0,0
Current State: 92:[45, 8, 45], Operations: ['3+42=45']
Exploring Operation: 45/45=1, Resulting Numbers: [8, 1]
Generated Node #0,0,0: 92:[8, 1] Operation: 45/45=1
Moving to Node #0,0,0
Current State: 92:[8, 1], Operations: ['3+42=45', '45/45=1']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,92 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
90,
29,
2,
62
] | 78 | [
"90/2=45",
"62-29=33",
"45+33=78"
] | Current State: 78:[90, 29, 2, 62], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [29, 62, 45]
Generated Node #2: [29, 62, 45] from Operation: 90/2=45
Current State: 78:[29, 62, 45], Operations: ['90/2=45']
Exploring Operation: 62-29=33, Resulting Numbers: [45, 33]
Generated Node #3: [45, 33] from Operation: 62-29=33
Current State: 78:[45, 33], Operations: ['90/2=45', '62-29=33']
Exploring Operation: 45+33=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[90, 29, 2, 62], Operations: []
Exploring Operation: 90-62=28, Resulting Numbers: [29, 2, 28]
Generated Node #0,0: 78:[29, 2, 28] Operation: 90-62=28
Moving to Node #0,0
Current State: 78:[29, 2, 28], Operations: ['90-62=28']
Exploring Operation: 29-28=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 78:[2, 1] Operation: 29-28=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[2, 1], Operations: ['90-62=28', '29-28=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,78 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 |
[
83,
74,
19,
4
] | 40 | [
"83-74=9",
"19-9=10",
"4*10=40"
] | Current State: 40:[83, 74, 19, 4], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [19, 4, 9]
Generated Node #2: [19, 4, 9] from Operation: 83-74=9
Current State: 40:[19, 4, 9], Operations: ['83-74=9']
Exploring Operation: 19-9=10, Resulting Numbers: [4, 10]
Generated Node #3: [4, 10] from Operation: 19-9=10
Current State: 40:[4, 10], Operations: ['83-74=9', '19-9=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[83, 74, 19, 4], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [74, 4, 64]
Generated Node #0,0: 40:[74, 4, 64] Operation: 83-19=64
Exploring Operation: 83-74=9, Resulting Numbers: [19, 4, 9]
Generated Node #0,1: 40:[19, 4, 9] Operation: 83-74=9
Exploring Operation: 74-19=55, Resulting Numbers: [83, 4, 55]
Generated Node #0,2: 40:[83, 4, 55] Operation: 74-19=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[19, 4, 9], Operations: ['83-74=9']
Exploring Operation: 19-9=10, Resulting Numbers: [4, 10]
Generated Node #0,1,0: 40:[4, 10] Operation: 19-9=10
Exploring Operation: 9-4=5, Resulting Numbers: [19, 5]
Generated Node #0,1,1: 40:[19, 5] Operation: 9-4=5
Exploring Operation: 19+4=23, Resulting Numbers: [9, 23]
Generated Node #0,1,2: 40:[9, 23] Operation: 19+4=23
Moving to Node #0,1,0
Current State: 40:[4, 10], Operations: ['83-74=9', '19-9=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[83, 74, 19, 4], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [19, 4, 9]
Generated Node #0,1: 40:[19, 4, 9] Operation: 83-74=9
Moving to Node #0,1
Current State: 40:[19, 4, 9], Operations: ['83-74=9']
Exploring Operation: 19-9=10, Resulting Numbers: [4, 10]
Generated Node #0,1,0: 40:[4, 10] Operation: 19-9=10
Moving to Node #0,1,0
Current State: 40:[4, 10], Operations: ['83-74=9', '19-9=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
60,
33,
67,
22
] | 23 | [
"60*33=1980",
"1980/22=90",
"90-67=23"
] | Current State: 23:[60, 33, 67, 22], Operations: []
Exploring Operation: 60*33=1980, Resulting Numbers: [67, 22, 1980]
Generated Node #2: [67, 22, 1980] from Operation: 60*33=1980
Current State: 23:[67, 22, 1980], Operations: ['60*33=1980']
Exploring Operation: 1980/22=90, Resulting Numbers: [67, 90]
Generated Node #3: [67, 90] from Operation: 1980/22=90
Current State: 23:[67, 90], Operations: ['60*33=1980', '1980/22=90']
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[60, 33, 67, 22], Operations: []
Exploring Operation: 67-33=34, Resulting Numbers: [60, 22, 34]
Generated Node #0,0: 23:[60, 22, 34] Operation: 67-33=34
Exploring Operation: 60-33=27, Resulting Numbers: [67, 22, 27]
Generated Node #0,1: 23:[67, 22, 27] Operation: 60-33=27
Exploring Operation: 67-60=7, Resulting Numbers: [33, 22, 7]
Generated Node #0,2: 23:[33, 22, 7] Operation: 67-60=7
Exploring Operation: 60-22=38, Resulting Numbers: [33, 67, 38]
Generated Node #0,3: 23:[33, 67, 38] Operation: 60-22=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[33, 22, 7], Operations: ['67-60=7']
Exploring Operation: 33+7=40, Resulting Numbers: [22, 40]
Generated Node #0,2,0: 23:[22, 40] Operation: 33+7=40
Exploring Operation: 33-7=26, Resulting Numbers: [22, 26]
Generated Node #0,2,1: 23:[22, 26] Operation: 33-7=26
Exploring Operation: 22+7=29, Resulting Numbers: [33, 29]
Generated Node #0,2,2: 23:[33, 29] Operation: 22+7=29
Exploring Operation: 22-7=15, Resulting Numbers: [33, 15]
Generated Node #0,2,3: 23:[33, 15] Operation: 22-7=15
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 23:[22, 26], Operations: ['67-60=7', '33-7=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,23 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,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,2
Current State: 23:[33, 29], Operations: ['67-60=7', '22+7=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,23 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,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:[22, 40], Operations: ['67-60=7', '33+7=40']
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 22*40=880, Resulting Numbers: [880]
880,23 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,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:[33, 15], Operations: ['67-60=7', '22-7=15']
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,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:[60, 22, 34], Operations: ['67-33=34']
Exploring Operation: 60-22=38, Resulting Numbers: [34, 38]
Generated Node #0,0,0: 23:[34, 38] Operation: 60-22=38
Exploring Operation: 60+22=82, Resulting Numbers: [34, 82]
Generated Node #0,0,1: 23:[34, 82] Operation: 60+22=82
Exploring Operation: 60-34=26, Resulting Numbers: [22, 26]
Generated Node #0,0,2: 23:[22, 26] Operation: 60-34=26
Exploring Operation: 34-22=12, Resulting Numbers: [60, 12]
Generated Node #0,0,3: 23:[60, 12] Operation: 34-22=12
Moving to Node #0,0,2
Current State: 23:[22, 26], Operations: ['67-33=34', '60-34=26']
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,23 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[34, 38], Operations: ['67-33=34', '60-22=38']
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,23 unequal: No Solution
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[60, 12], Operations: ['67-33=34', '34-22=12']
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 60*12=720, Resulting Numbers: [720]
720,23 unequal: No Solution
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[34, 82], Operations: ['67-33=34', '60+22=82']
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,23 unequal: No Solution
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,23 unequal: No Solution
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[67, 22, 27], Operations: ['60-33=27']
Exploring Operation: 27-22=5, Resulting Numbers: [67, 5]
Generated Node #0,1,0: 23:[67, 5] Operation: 27-22=5
Exploring Operation: 67-22=45, Resulting Numbers: [27, 45]
Generated Node #0,1,1: 23:[27, 45] Operation: 67-22=45
Exploring Operation: 67-27=40, Resulting Numbers: [22, 40]
Generated Node #0,1,2: 23:[22, 40] Operation: 67-27=40
Exploring Operation: 67+22=89, Resulting Numbers: [27, 89]
Generated Node #0,1,3: 23:[27, 89] Operation: 67+22=89
Moving to Node #0,1,2
Current State: 23:[22, 40], Operations: ['60-33=27', '67-27=40']
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 22*40=880, Resulting Numbers: [880]
880,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[27, 45], Operations: ['60-33=27', '67-22=45']
Exploring Operation: 27+45=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 27*45=1215, Resulting Numbers: [1215]
1215,23 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[67, 5], Operations: ['60-33=27', '27-22=5']
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,23 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[27, 89], Operations: ['60-33=27', '67+22=89']
Exploring Operation: 27+89=116, Resulting Numbers: [116]
116,23 unequal: No Solution
Exploring Operation: 27*89=2403, Resulting Numbers: [2403]
2403,23 unequal: No Solution
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,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,3
Current State: 23:[33, 67, 38], Operations: ['60-22=38']
Exploring Operation: 33+67=100, Resulting Numbers: [38, 100]
Generated Node #0,3,0: 23:[38, 100] Operation: 33+67=100
Exploring Operation: 67-38=29, Resulting Numbers: [33, 29]
Generated Node #0,3,1: 23:[33, 29] Operation: 67-38=29
Exploring Operation: 67-33=34, Resulting Numbers: [38, 34]
Generated Node #0,3,2: 23:[38, 34] Operation: 67-33=34
Exploring Operation: 38-33=5, Resulting Numbers: [67, 5]
Generated Node #0,3,3: 23:[67, 5] Operation: 38-33=5
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 23:[33, 29], Operations: ['60-22=38', '67-38=29']
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,23 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,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:[38, 34], Operations: ['60-22=38', '67-33=34']
Exploring Operation: 38*34=1292, Resulting Numbers: [1292]
1292,23 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 38+34=72, Resulting Numbers: [72]
72,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:[67, 5], Operations: ['60-22=38', '38-33=5']
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,23 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,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,0
Current State: 23:[38, 100], Operations: ['60-22=38', '33+67=100']
Exploring Operation: 38*100=3800, Resulting Numbers: [3800]
3800,23 unequal: No Solution
Exploring Operation: 38+100=138, Resulting Numbers: [138]
138,23 unequal: No Solution
Exploring Operation: 100-38=62, Resulting Numbers: [62]
62,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_4 | mult_heuristic |
[
16,
19,
30,
59
] | 12 | [
"16*30=480",
"59-19=40",
"480/40=12"
] | Current State: 12:[16, 19, 30, 59], Operations: []
Exploring Operation: 16*30=480, Resulting Numbers: [19, 59, 480]
Generated Node #2: [19, 59, 480] from Operation: 16*30=480
Current State: 12:[19, 59, 480], Operations: ['16*30=480']
Exploring Operation: 59-19=40, Resulting Numbers: [480, 40]
Generated Node #3: [480, 40] from Operation: 59-19=40
Current State: 12:[480, 40], Operations: ['16*30=480', '59-19=40']
Exploring Operation: 480/40=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[16, 19, 30, 59], Operations: []
Exploring Operation: 30-16=14, Resulting Numbers: [19, 59, 14]
Generated Node #0,0: 12:[19, 59, 14] Operation: 30-16=14
Exploring Operation: 30-19=11, Resulting Numbers: [16, 59, 11]
Generated Node #0,1: 12:[16, 59, 11] Operation: 30-19=11
Exploring Operation: 59-30=29, Resulting Numbers: [16, 19, 29]
Generated Node #0,2: 12:[16, 19, 29] Operation: 59-30=29
Exploring Operation: 59-19=40, Resulting Numbers: [16, 30, 40]
Generated Node #0,3: 12:[16, 30, 40] Operation: 59-19=40
Moving to Node #0,2
Current State: 12:[16, 19, 29], Operations: ['59-30=29']
Exploring Operation: 29-19=10, Resulting Numbers: [16, 10]
Generated Node #0,2,0: 12:[16, 10] Operation: 29-19=10
Exploring Operation: 19-16=3, Resulting Numbers: [29, 3]
Generated Node #0,2,1: 12:[29, 3] Operation: 19-16=3
Exploring Operation: 16+19=35, Resulting Numbers: [29, 35]
Generated Node #0,2,2: 12:[29, 35] Operation: 16+19=35
Exploring Operation: 29-16=13, Resulting Numbers: [19, 13]
Generated Node #0,2,3: 12:[19, 13] Operation: 29-16=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[16, 10], Operations: ['59-30=29', '29-19=10']
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,12 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,12 unequal: No Solution
No 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: 12:[19, 13], Operations: ['59-30=29', '29-16=13']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,12 unequal: No Solution
No 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: 12:[29, 3], Operations: ['59-30=29', '19-16=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,12 unequal: No Solution
No 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: 12:[29, 35], Operations: ['59-30=29', '16+19=35']
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,12 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: 12:[16, 30, 40], Operations: ['59-19=40']
Exploring Operation: 40-30=10, Resulting Numbers: [16, 10]
Generated Node #0,3,0: 12:[16, 10] Operation: 40-30=10
Exploring Operation: 16+30=46, Resulting Numbers: [40, 46]
Generated Node #0,3,1: 12:[40, 46] Operation: 16+30=46
Exploring Operation: 40-16=24, Resulting Numbers: [30, 24]
Generated Node #0,3,2: 12:[30, 24] Operation: 40-16=24
Exploring Operation: 30-16=14, Resulting Numbers: [40, 14]
Generated Node #0,3,3: 12:[40, 14] Operation: 30-16=14
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 12:[16, 10], Operations: ['59-19=40', '40-30=10']
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,12 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,12 unequal: No Solution
No 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: 12:[30, 24], Operations: ['59-19=40', '40-16=24']
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,12 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,12 unequal: No Solution
No 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: 12:[40, 14], Operations: ['59-19=40', '30-16=14']
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,12 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,12 unequal: No Solution
No 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: 12:[40, 46], Operations: ['59-19=40', '16+30=46']
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,12 unequal: No Solution
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,12 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: 12:[16, 59, 11], Operations: ['30-19=11']
Exploring Operation: 59-16=43, Resulting Numbers: [11, 43]
Generated Node #0,1,0: 12:[11, 43] Operation: 59-16=43
Exploring Operation: 16-11=5, Resulting Numbers: [59, 5]
Generated Node #0,1,1: 12:[59, 5] Operation: 16-11=5
Exploring Operation: 16+11=27, Resulting Numbers: [59, 27]
Generated Node #0,1,2: 12:[59, 27] Operation: 16+11=27
Exploring Operation: 59-11=48, Resulting Numbers: [16, 48]
Generated Node #0,1,3: 12:[16, 48] Operation: 59-11=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[11, 43], Operations: ['30-19=11', '59-16=43']
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,12 unequal: No Solution
No 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: 12:[16, 48], Operations: ['30-19=11', '59-11=48']
Exploring Operation: 16*48=768, Resulting Numbers: [768]
768,12 unequal: No Solution
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No 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: 12:[59, 5], Operations: ['30-19=11', '16-11=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,12 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,12 unequal: No Solution
No 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: 12:[59, 27], Operations: ['30-19=11', '16+11=27']
Exploring Operation: 59+27=86, Resulting Numbers: [86]
86,12 unequal: No Solution
Exploring Operation: 59*27=1593, Resulting Numbers: [1593]
1593,12 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,12 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: 12:[19, 59, 14], Operations: ['30-16=14']
Exploring Operation: 19-14=5, Resulting Numbers: [59, 5]
Generated Node #0,0,0: 12:[59, 5] Operation: 19-14=5
Exploring Operation: 59-19=40, Resulting Numbers: [14, 40]
Generated Node #0,0,1: 12:[14, 40] Operation: 59-19=40
Exploring Operation: 19+59=78, Resulting Numbers: [14, 78]
Generated Node #0,0,2: 12:[14, 78] Operation: 19+59=78
Exploring Operation: 59-14=45, Resulting Numbers: [19, 45]
Generated Node #0,0,3: 12:[19, 45] Operation: 59-14=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[14, 40], Operations: ['30-16=14', '59-19=40']
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,12 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,12 unequal: No Solution
No 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: 12:[19, 45], Operations: ['30-16=14', '59-14=45']
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,12 unequal: No Solution
No 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: 12:[59, 5], Operations: ['30-16=14', '19-14=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,12 unequal: No Solution
No 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: 12:[14, 78], Operations: ['30-16=14', '19+59=78']
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 14+78=92, Resulting Numbers: [92]
92,12 unequal: No Solution
Exploring Operation: 14*78=1092, Resulting Numbers: [1092]
1092,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
90,
13,
47,
65
] | 85 | [
"90+13=103",
"65-47=18",
"103-18=85"
] | Current State: 85:[90, 13, 47, 65], Operations: []
Exploring Operation: 90+13=103, Resulting Numbers: [47, 65, 103]
Generated Node #2: [47, 65, 103] from Operation: 90+13=103
Current State: 85:[47, 65, 103], Operations: ['90+13=103']
Exploring Operation: 65-47=18, Resulting Numbers: [103, 18]
Generated Node #3: [103, 18] from Operation: 65-47=18
Current State: 85:[103, 18], Operations: ['90+13=103', '65-47=18']
Exploring Operation: 103-18=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[90, 13, 47, 65], Operations: []
Exploring Operation: 65-47=18, Resulting Numbers: [90, 13, 18]
Generated Node #0,0: 85:[90, 13, 18] Operation: 65-47=18
Moving to Node #0,0
Current State: 85:[90, 13, 18], Operations: ['65-47=18']
Exploring Operation: 90/18=5, Resulting Numbers: [13, 5]
Generated Node #0,0,0: 85:[13, 5] Operation: 90/18=5
Moving to Node #0,0,0
Current State: 85:[13, 5], Operations: ['65-47=18', '90/18=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,85 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
57,
44,
59,
16
] | 38 | [
"59-57=2",
"44/2=22",
"16+22=38"
] | Current State: 38:[57, 44, 59, 16], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [44, 16, 2]
Generated Node #2: [44, 16, 2] from Operation: 59-57=2
Current State: 38:[44, 16, 2], Operations: ['59-57=2']
Exploring Operation: 44/2=22, Resulting Numbers: [16, 22]
Generated Node #3: [16, 22] from Operation: 44/2=22
Current State: 38:[16, 22], Operations: ['59-57=2', '44/2=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[57, 44, 59, 16], Operations: []
Exploring Operation: 57-44=13, Resulting Numbers: [59, 16, 13]
Generated Node #0,0: 38:[59, 16, 13] Operation: 57-44=13
Exploring Operation: 59-44=15, Resulting Numbers: [57, 16, 15]
Generated Node #0,1: 38:[57, 16, 15] Operation: 59-44=15
Exploring Operation: 59-57=2, Resulting Numbers: [44, 16, 2]
Generated Node #0,2: 38:[44, 16, 2] Operation: 59-57=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[44, 16, 2], Operations: ['59-57=2']
Exploring Operation: 44-2=42, Resulting Numbers: [16, 42]
Generated Node #0,2,0: 38:[16, 42] Operation: 44-2=42
Exploring Operation: 16+2=18, Resulting Numbers: [44, 18]
Generated Node #0,2,1: 38:[44, 18] Operation: 16+2=18
Exploring Operation: 44/2=22, Resulting Numbers: [16, 22]
Generated Node #0,2,2: 38:[16, 22] Operation: 44/2=22
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 38:[16, 22], Operations: ['59-57=2', '44/2=22']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[57, 44, 59, 16], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [44, 16, 2]
Generated Node #0,2: 38:[44, 16, 2] Operation: 59-57=2
Moving to Node #0,2
Current State: 38:[44, 16, 2], Operations: ['59-57=2']
Exploring Operation: 44/2=22, Resulting Numbers: [16, 22]
Generated Node #0,2,2: 38:[16, 22] Operation: 44/2=22
Moving to Node #0,2,2
Current State: 38:[16, 22], Operations: ['59-57=2', '44/2=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
47,
2,
15,
17
] | 30 | [
"47-15=32",
"32-17=15",
"2*15=30"
] | Current State: 30:[47, 2, 15, 17], Operations: []
Exploring Operation: 47-15=32, Resulting Numbers: [2, 17, 32]
Generated Node #2: [2, 17, 32] from Operation: 47-15=32
Current State: 30:[2, 17, 32], Operations: ['47-15=32']
Exploring Operation: 32-17=15, Resulting Numbers: [2, 15]
Generated Node #3: [2, 15] from Operation: 32-17=15
Current State: 30:[2, 15], Operations: ['47-15=32', '32-17=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[47, 2, 15, 17], Operations: []
Exploring Operation: 47-17=30, Resulting Numbers: [2, 15, 30]
Generated Node #0,0: 30:[2, 15, 30] Operation: 47-17=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[2, 15, 30], Operations: ['47-17=30']
Exploring Operation: 2*15=30, Resulting Numbers: [30, 30]
Generated Node #0,0,0: 30:[30, 30] Operation: 2*15=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[30, 30], Operations: ['47-17=30', '2*15=30']
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
30,
97,
27
] | 56 | [
"97-27=70",
"24*70=1680",
"1680/30=56"
] | Current State: 56:[24, 30, 97, 27], Operations: []
Exploring Operation: 97-27=70, Resulting Numbers: [24, 30, 70]
Generated Node #2: [24, 30, 70] from Operation: 97-27=70
Current State: 56:[24, 30, 70], Operations: ['97-27=70']
Exploring Operation: 24*70=1680, Resulting Numbers: [30, 1680]
Generated Node #3: [30, 1680] from Operation: 24*70=1680
Current State: 56:[30, 1680], Operations: ['97-27=70', '24*70=1680']
Exploring Operation: 1680/30=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[24, 30, 97, 27], Operations: []
Exploring Operation: 97-24=73, Resulting Numbers: [30, 27, 73]
Generated Node #0,0: 56:[30, 27, 73] Operation: 97-24=73
Exploring Operation: 97-27=70, Resulting Numbers: [24, 30, 70]
Generated Node #0,1: 56:[24, 30, 70] Operation: 97-27=70
Exploring Operation: 97-30=67, Resulting Numbers: [24, 27, 67]
Generated Node #0,2: 56:[24, 27, 67] Operation: 97-30=67
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[24, 27, 67], Operations: ['97-30=67']
Exploring Operation: 67-24=43, Resulting Numbers: [27, 43]
Generated Node #0,2,0: 56:[27, 43] Operation: 67-24=43
Exploring Operation: 24+27=51, Resulting Numbers: [67, 51]
Generated Node #0,2,1: 56:[67, 51] Operation: 24+27=51
Exploring Operation: 27-24=3, Resulting Numbers: [67, 3]
Generated Node #0,2,2: 56:[67, 3] Operation: 27-24=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 56:[67, 3], Operations: ['97-30=67', '27-24=3']
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,56 unequal: No Solution
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,56 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,56 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: 56:[27, 43], Operations: ['97-30=67', '67-24=43']
Exploring Operation: 27*43=1161, Resulting Numbers: [1161]
1161,56 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,56 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: 56:[67, 51], Operations: ['97-30=67', '24+27=51']
Exploring Operation: 67*51=3417, Resulting Numbers: [3417]
3417,56 unequal: No Solution
Exploring Operation: 67+51=118, Resulting Numbers: [118]
118,56 unequal: No Solution
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,56 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: 56:[30, 27, 73], Operations: ['97-24=73']
Exploring Operation: 73-30=43, Resulting Numbers: [27, 43]
Generated Node #0,0,0: 56:[27, 43] Operation: 73-30=43
Exploring Operation: 30+27=57, Resulting Numbers: [73, 57]
Generated Node #0,0,1: 56:[73, 57] Operation: 30+27=57
Exploring Operation: 73-27=46, Resulting Numbers: [30, 46]
Generated Node #0,0,2: 56:[30, 46] Operation: 73-27=46
Moving to Node #0,0,2
Current State: 56:[30, 46], Operations: ['97-24=73', '73-27=46']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,56 unequal: No Solution
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[27, 43], Operations: ['97-24=73', '73-30=43']
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,56 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 27*43=1161, Resulting Numbers: [1161]
1161,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[73, 57], Operations: ['97-24=73', '30+27=57']
Exploring Operation: 73*57=4161, Resulting Numbers: [4161]
4161,56 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 73+57=130, Resulting Numbers: [130]
130,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,1
Current State: 56:[24, 30, 70], Operations: ['97-27=70']
Exploring Operation: 30-24=6, Resulting Numbers: [70, 6]
Generated Node #0,1,0: 56:[70, 6] Operation: 30-24=6
Exploring Operation: 24+30=54, Resulting Numbers: [70, 54]
Generated Node #0,1,1: 56:[70, 54] Operation: 24+30=54
Exploring Operation: 70-24=46, Resulting Numbers: [30, 46]
Generated Node #0,1,2: 56:[30, 46] Operation: 70-24=46
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[30, 46], Operations: ['97-27=70', '70-24=46']
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,56 unequal: No Solution
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,56 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,56 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: 56:[70, 6], Operations: ['97-27=70', '30-24=6']
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,56 unequal: No Solution
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,56 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,56 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: 56:[70, 54], Operations: ['97-27=70', '24+30=54']
Exploring Operation: 70+54=124, Resulting Numbers: [124]
124,56 unequal: No Solution
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 70*54=3780, Resulting Numbers: [3780]
3780,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
32,
6,
64,
60
] | 22 | [
"32-6=26",
"64-60=4",
"26-4=22"
] | Current State: 22:[32, 6, 64, 60], Operations: []
Exploring Operation: 32-6=26, Resulting Numbers: [64, 60, 26]
Generated Node #2: [64, 60, 26] from Operation: 32-6=26
Current State: 22:[64, 60, 26], Operations: ['32-6=26']
Exploring Operation: 64-60=4, Resulting Numbers: [26, 4]
Generated Node #3: [26, 4] from Operation: 64-60=4
Current State: 22:[26, 4], Operations: ['32-6=26', '64-60=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[32, 6, 64, 60], Operations: []
Exploring Operation: 64-60=4, Resulting Numbers: [32, 6, 4]
Generated Node #0,0: 22:[32, 6, 4] Operation: 64-60=4
Exploring Operation: 60-32=28, Resulting Numbers: [6, 64, 28]
Generated Node #0,1: 22:[6, 64, 28] Operation: 60-32=28
Exploring Operation: 64-32=32, Resulting Numbers: [6, 60, 32]
Generated Node #0,2: 22:[6, 60, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [6, 60, 2]
Generated Node #0,3: 22:[6, 60, 2] Operation: 64/32=2
Moving to Node #0,0
Current State: 22:[32, 6, 4], Operations: ['64-60=4']
Exploring Operation: 32/4=8, Resulting Numbers: [6, 8]
Generated Node #0,0,0: 22:[6, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [6, 28]
Generated Node #0,0,1: 22:[6, 28] Operation: 32-4=28
Exploring Operation: 6-4=2, Resulting Numbers: [32, 2]
Generated Node #0,0,2: 22:[32, 2] Operation: 6-4=2
Exploring Operation: 32-6=26, Resulting Numbers: [4, 26]
Generated Node #0,0,3: 22:[4, 26] Operation: 32-6=26
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 22:[4, 26], Operations: ['64-60=4', '32-6=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[32, 6, 64, 60], Operations: []
Exploring Operation: 64-60=4, Resulting Numbers: [32, 6, 4]
Generated Node #0,0: 22:[32, 6, 4] Operation: 64-60=4
Moving to Node #0,0
Current State: 22:[32, 6, 4], Operations: ['64-60=4']
Exploring Operation: 32-6=26, Resulting Numbers: [4, 26]
Generated Node #0,0,3: 22:[4, 26] Operation: 32-6=26
Moving to Node #0,0,3
Current State: 22:[4, 26], Operations: ['64-60=4', '32-6=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
36,
14,
14,
31
] | 31 | [
"14-14=0",
"36*0=0",
"31+0=31"
] | Current State: 31:[36, 14, 14, 31], Operations: []
Exploring Operation: 14-14=0, Resulting Numbers: [36, 31, 0]
Generated Node #2: [36, 31, 0] from Operation: 14-14=0
Current State: 31:[36, 31, 0], Operations: ['14-14=0']
Exploring Operation: 36*0=0, Resulting Numbers: [31, 0]
Generated Node #3: [31, 0] from Operation: 36*0=0
Current State: 31:[31, 0], Operations: ['14-14=0', '36*0=0']
Exploring Operation: 31+0=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[36, 14, 14, 31], Operations: []
Exploring Operation: 36-14=22, Resulting Numbers: [14, 31, 22]
Generated Node #0,0: 31:[14, 31, 22] Operation: 36-14=22
Exploring Operation: 36-14=22, Resulting Numbers: [14, 31, 22]
Generated Node #0,1: 31:[14, 31, 22] Operation: 36-14=22
Exploring Operation: 14/14=1, Resulting Numbers: [36, 31, 1]
Generated Node #0,2: 31:[36, 31, 1] Operation: 14/14=1
Exploring Operation: 14+14=28, Resulting Numbers: [36, 31, 28]
Generated Node #0,3: 31:[36, 31, 28] Operation: 14+14=28
Exploring Operation: 36+14=50, Resulting Numbers: [14, 31, 50]
Generated Node #0,4: 31:[14, 31, 50] Operation: 36+14=50
Moving to Node #0,3
Current State: 31:[36, 31, 28], Operations: ['14+14=28']
Exploring Operation: 36-31=5, Resulting Numbers: [28, 5]
Generated Node #0,3,0: 31:[28, 5] Operation: 36-31=5
Exploring Operation: 36-28=8, Resulting Numbers: [31, 8]
Generated Node #0,3,1: 31:[31, 8] Operation: 36-28=8
Exploring Operation: 36+28=64, Resulting Numbers: [31, 64]
Generated Node #0,3,2: 31:[31, 64] Operation: 36+28=64
Exploring Operation: 31+28=59, Resulting Numbers: [36, 59]
Generated Node #0,3,3: 31:[36, 59] Operation: 31+28=59
Exploring Operation: 31-28=3, Resulting Numbers: [36, 3]
Generated Node #0,3,4: 31:[36, 3] Operation: 31-28=3
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 31:[31, 8], Operations: ['14+14=28', '36-28=8']
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,31 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 31:[28, 5], Operations: ['14+14=28', '36-31=5']
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,31 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 31:[31, 64], Operations: ['14+14=28', '36+28=64']
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 31*64=1984, Resulting Numbers: [1984]
1984,31 unequal: No Solution
Exploring Operation: 31+64=95, Resulting Numbers: [95]
95,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 31:[36, 59], Operations: ['14+14=28', '31+28=59']
Exploring Operation: 36*59=2124, Resulting Numbers: [2124]
2124,31 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 36+59=95, Resulting Numbers: [95]
95,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 31:[36, 3], Operations: ['14+14=28', '31-28=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,31 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,31 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: 31:[14, 31, 22], Operations: ['36-14=22']
Exploring Operation: 22-14=8, Resulting Numbers: [31, 8]
Generated Node #0,1,0: 31:[31, 8] Operation: 22-14=8
Exploring Operation: 14+22=36, Resulting Numbers: [31, 36]
Generated Node #0,1,1: 31:[31, 36] Operation: 14+22=36
Exploring Operation: 31+22=53, Resulting Numbers: [14, 53]
Generated Node #0,1,2: 31:[14, 53] Operation: 31+22=53
Exploring Operation: 31-14=17, Resulting Numbers: [22, 17]
Generated Node #0,1,3: 31:[22, 17] Operation: 31-14=17
Exploring Operation: 14+31=45, Resulting Numbers: [22, 45]
Generated Node #0,1,4: 31:[22, 45] Operation: 14+31=45
Moving to Node #0,0
Current State: 31:[14, 31, 22], Operations: ['36-14=22']
Exploring Operation: 14+22=36, Resulting Numbers: [31, 36]
Generated Node #0,0,0: 31:[31, 36] Operation: 14+22=36
Exploring Operation: 31+22=53, Resulting Numbers: [14, 53]
Generated Node #0,0,1: 31:[14, 53] Operation: 31+22=53
Exploring Operation: 22-14=8, Resulting Numbers: [31, 8]
Generated Node #0,0,2: 31:[31, 8] Operation: 22-14=8
Exploring Operation: 14+31=45, Resulting Numbers: [22, 45]
Generated Node #0,0,3: 31:[22, 45] Operation: 14+31=45
Exploring Operation: 31-14=17, Resulting Numbers: [22, 17]
Generated Node #0,0,4: 31:[22, 17] Operation: 31-14=17
Moving to Node #0,2
Current State: 31:[36, 31, 1], Operations: ['14/14=1']
Exploring Operation: 36*1=36, Resulting Numbers: [31, 36]
Generated Node #0,2,0: 31:[31, 36] Operation: 36*1=36
Exploring Operation: 36-1=35, Resulting Numbers: [31, 35]
Generated Node #0,2,1: 31:[31, 35] Operation: 36-1=35
Exploring Operation: 31/1=31, Resulting Numbers: [36, 31]
Generated Node #0,2,2: 31:[36, 31] Operation: 31/1=31
Exploring Operation: 36/1=36, Resulting Numbers: [31, 36]
Generated Node #0,2,3: 31:[31, 36] Operation: 36/1=36
Exploring Operation: 31*1=31, Resulting Numbers: [36, 31]
Generated Node #0,2,4: 31:[36, 31] Operation: 31*1=31
Moving to Node #0,4
Current State: 31:[14, 31, 50], Operations: ['36+14=50']
Exploring Operation: 50-31=19, Resulting Numbers: [14, 19]
Generated Node #0,4,0: 31:[14, 19] Operation: 50-31=19
Exploring Operation: 14+31=45, Resulting Numbers: [50, 45]
Generated Node #0,4,1: 31:[50, 45] Operation: 14+31=45
Exploring Operation: 14+50=64, Resulting Numbers: [31, 64]
Generated Node #0,4,2: 31:[31, 64] Operation: 14+50=64
Exploring Operation: 31-14=17, Resulting Numbers: [50, 17]
Generated Node #0,4,3: 31:[50, 17] Operation: 31-14=17
Exploring Operation: 50-14=36, Resulting Numbers: [31, 36]
Generated Node #0,4,4: 31:[31, 36] Operation: 50-14=36
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 31:[31, 36], Operations: ['36+14=50', '50-14=36']
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,31 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 31:[14, 19], Operations: ['36+14=50', '50-31=19']
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,31 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 31:[50, 45], Operations: ['36+14=50', '14+31=45']
Exploring Operation: 50*45=2250, Resulting Numbers: [2250]
2250,31 unequal: No Solution
Exploring Operation: 50+45=95, Resulting Numbers: [95]
95,31 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 31:[31, 64], Operations: ['36+14=50', '14+50=64']
Exploring Operation: 31*64=1984, Resulting Numbers: [1984]
1984,31 unequal: No Solution
Exploring Operation: 31+64=95, Resulting Numbers: [95]
95,31 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 31:[50, 17], Operations: ['36+14=50', '31-14=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,31 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,31 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: 31:[31, 35], Operations: ['14/14=1', '36-1=35']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 31*35=1085, Resulting Numbers: [1085]
1085,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[31, 36], Operations: ['36-14=22', '14+22=36']
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,31 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[31, 36], Operations: ['14/14=1', '36/1=36']
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,31 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[36, 31], Operations: ['14/14=1', '31*1=31']
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[31, 36], Operations: ['14/14=1', '36*1=36']
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,31 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[36, 31], Operations: ['14/14=1', '31/1=31']
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,31 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[31, 36], Operations: ['36-14=22', '14+22=36']
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,31 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[31, 8], Operations: ['36-14=22', '22-14=8']
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,31 unequal: No Solution
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[22, 17], Operations: ['36-14=22', '31-14=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,31 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[22, 17], Operations: ['36-14=22', '31-14=17']
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,31 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[22, 45], Operations: ['36-14=22', '14+31=45']
Exploring Operation: 22*45=990, Resulting Numbers: [990]
990,31 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[31, 8], Operations: ['36-14=22', '22-14=8']
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,31 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Moving to Node #0,1,4
Current State: 31:[22, 45], Operations: ['36-14=22', '14+31=45']
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 22*45=990, Resulting Numbers: [990]
990,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[14, 53], Operations: ['36-14=22', '31+22=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[14, 53], Operations: ['36-14=22', '31+22=53']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,31 unequal: No Solution
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,31 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
91,
32,
89,
58
] | 74 | [
"91-89=2",
"32/2=16",
"58+16=74"
] | Current State: 74:[91, 32, 89, 58], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [32, 58, 2]
Generated Node #2: [32, 58, 2] from Operation: 91-89=2
Current State: 74:[32, 58, 2], Operations: ['91-89=2']
Exploring Operation: 32/2=16, Resulting Numbers: [58, 16]
Generated Node #3: [58, 16] from Operation: 32/2=16
Current State: 74:[58, 16], Operations: ['91-89=2', '32/2=16']
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[91, 32, 89, 58], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [32, 89, 33]
Generated Node #0,0: 74:[32, 89, 33] Operation: 91-58=33
Exploring Operation: 89-58=31, Resulting Numbers: [91, 32, 31]
Generated Node #0,1: 74:[91, 32, 31] Operation: 89-58=31
Exploring Operation: 91-89=2, Resulting Numbers: [32, 58, 2]
Generated Node #0,2: 74:[32, 58, 2] Operation: 91-89=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[32, 58, 2], Operations: ['91-89=2']
Exploring Operation: 32+58=90, Resulting Numbers: [2, 90]
Generated Node #0,2,0: 74:[2, 90] Operation: 32+58=90
Exploring Operation: 58/2=29, Resulting Numbers: [32, 29]
Generated Node #0,2,1: 74:[32, 29] Operation: 58/2=29
Exploring Operation: 58-32=26, Resulting Numbers: [2, 26]
Generated Node #0,2,2: 74:[2, 26] Operation: 58-32=26
Moving to Node #0,2,2
Current State: 74:[2, 26], Operations: ['91-89=2', '58-32=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[32, 29], Operations: ['91-89=2', '58/2=29']
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[2, 90], Operations: ['91-89=2', '32+58=90']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,74 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,74 unequal: No Solution
No 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: 74:[32, 89, 33], Operations: ['91-58=33']
Exploring Operation: 33-32=1, Resulting Numbers: [89, 1]
Generated Node #0,0,0: 74:[89, 1] Operation: 33-32=1
Exploring Operation: 89-32=57, Resulting Numbers: [33, 57]
Generated Node #0,0,1: 74:[33, 57] Operation: 89-32=57
Exploring Operation: 89-33=56, Resulting Numbers: [32, 56]
Generated Node #0,0,2: 74:[32, 56] Operation: 89-33=56
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[89, 1], Operations: ['91-58=33', '33-32=1']
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,74 unequal: No Solution
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,74 unequal: No Solution
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,74 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: 74:[33, 57], Operations: ['91-58=33', '89-32=57']
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 33+57=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 33*57=1881, Resulting Numbers: [1881]
1881,74 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: 74:[32, 56], Operations: ['91-58=33', '89-33=56']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 32*56=1792, Resulting Numbers: [1792]
1792,74 unequal: No Solution
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,74 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: 74:[91, 32, 31], Operations: ['89-58=31']
Exploring Operation: 91-31=60, Resulting Numbers: [32, 60]
Generated Node #0,1,0: 74:[32, 60] Operation: 91-31=60
Exploring Operation: 91-32=59, Resulting Numbers: [31, 59]
Generated Node #0,1,1: 74:[31, 59] Operation: 91-32=59
Exploring Operation: 32-31=1, Resulting Numbers: [91, 1]
Generated Node #0,1,2: 74:[91, 1] Operation: 32-31=1
Moving to Node #0,1,2
Current State: 74:[91, 1], Operations: ['89-58=31', '32-31=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,74 unequal: No Solution
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[32, 60], Operations: ['89-58=31', '91-31=60']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,74 unequal: No Solution
Exploring Operation: 32*60=1920, Resulting Numbers: [1920]
1920,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[31, 59], Operations: ['89-58=31', '91-32=59']
Exploring Operation: 31*59=1829, Resulting Numbers: [1829]
1829,74 unequal: No Solution
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 31+59=90, Resulting Numbers: [90]
90,74 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 |
[
62,
77,
63,
12
] | 65 | [
"63-62=1",
"77-12=65",
"1*65=65"
] | Current State: 65:[62, 77, 63, 12], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [77, 12, 1]
Generated Node #2: [77, 12, 1] from Operation: 63-62=1
Current State: 65:[77, 12, 1], Operations: ['63-62=1']
Exploring Operation: 77-12=65, Resulting Numbers: [1, 65]
Generated Node #3: [1, 65] from Operation: 77-12=65
Current State: 65:[1, 65], Operations: ['63-62=1', '77-12=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[62, 77, 63, 12], Operations: []
Exploring Operation: 77-63=14, Resulting Numbers: [62, 12, 14]
Generated Node #0,0: 65:[62, 12, 14] Operation: 77-63=14
Exploring Operation: 77-62=15, Resulting Numbers: [63, 12, 15]
Generated Node #0,1: 65:[63, 12, 15] Operation: 77-62=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[62, 12, 14], Operations: ['77-63=14']
Exploring Operation: 62+12=74, Resulting Numbers: [14, 74]
Generated Node #0,0,0: 65:[14, 74] Operation: 62+12=74
Exploring Operation: 14-12=2, Resulting Numbers: [62, 2]
Generated Node #0,0,1: 65:[62, 2] Operation: 14-12=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[62, 2], Operations: ['77-63=14', '14-12=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,65 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: 65:[14, 74], Operations: ['77-63=14', '62+12=74']
Exploring Operation: 14+74=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,65 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: 65:[63, 12, 15], Operations: ['77-62=15']
Exploring Operation: 15-12=3, Resulting Numbers: [63, 3]
Generated Node #0,1,0: 65:[63, 3] Operation: 15-12=3
Exploring Operation: 63+12=75, Resulting Numbers: [15, 75]
Generated Node #0,1,1: 65:[15, 75] Operation: 63+12=75
Moving to Node #0,1,0
Current State: 65:[63, 3], Operations: ['77-62=15', '15-12=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[15, 75], Operations: ['77-62=15', '63+12=75']
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,65 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 |
[
67,
15,
71,
60
] | 98 | [
"71-60=11",
"15*11=165",
"165-67=98"
] | Current State: 98:[67, 15, 71, 60], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [67, 15, 11]
Generated Node #2: [67, 15, 11] from Operation: 71-60=11
Current State: 98:[67, 15, 11], Operations: ['71-60=11']
Exploring Operation: 15*11=165, Resulting Numbers: [67, 165]
Generated Node #3: [67, 165] from Operation: 15*11=165
Current State: 98:[67, 165], Operations: ['71-60=11', '15*11=165']
Exploring Operation: 165-67=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[67, 15, 71, 60], Operations: []
Exploring Operation: 67-15=52, Resulting Numbers: [71, 60, 52]
Generated Node #0,0: 98:[71, 60, 52] Operation: 67-15=52
Exploring Operation: 67-60=7, Resulting Numbers: [15, 71, 7]
Generated Node #0,1: 98:[15, 71, 7] Operation: 67-60=7
Exploring Operation: 71-60=11, Resulting Numbers: [67, 15, 11]
Generated Node #0,2: 98:[67, 15, 11] Operation: 71-60=11
Exploring Operation: 71-67=4, Resulting Numbers: [15, 60, 4]
Generated Node #0,3: 98:[15, 60, 4] Operation: 71-67=4
Moving to Node #0,3
Current State: 98:[15, 60, 4], Operations: ['71-67=4']
Exploring Operation: 60/4=15, Resulting Numbers: [15, 15]
Generated Node #0,3,0: 98:[15, 15] Operation: 60/4=15
Exploring Operation: 60-4=56, Resulting Numbers: [15, 56]
Generated Node #0,3,1: 98:[15, 56] Operation: 60-4=56
Exploring Operation: 60/15=4, Resulting Numbers: [4, 4]
Generated Node #0,3,2: 98:[4, 4] Operation: 60/15=4
Exploring Operation: 60-15=45, Resulting Numbers: [4, 45]
Generated Node #0,3,3: 98:[4, 45] Operation: 60-15=45
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[15, 15], Operations: ['71-67=4', '60/4=15']
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 15*15=225, Resulting Numbers: [225]
225,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,2
Current State: 98:[4, 4], Operations: ['71-67=4', '60/15=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,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:[4, 45], Operations: ['71-67=4', '60-15=45']
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,98 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,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:[15, 56], Operations: ['71-67=4', '60-4=56']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,98 unequal: No Solution
Exploring Operation: 15*56=840, Resulting Numbers: [840]
840,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:[67, 15, 11], Operations: ['71-60=11']
Exploring Operation: 67+15=82, Resulting Numbers: [11, 82]
Generated Node #0,2,0: 98:[11, 82] Operation: 67+15=82
Exploring Operation: 15-11=4, Resulting Numbers: [67, 4]
Generated Node #0,2,1: 98:[67, 4] Operation: 15-11=4
Exploring Operation: 67-11=56, Resulting Numbers: [15, 56]
Generated Node #0,2,2: 98:[15, 56] Operation: 67-11=56
Exploring Operation: 67-15=52, Resulting Numbers: [11, 52]
Generated Node #0,2,3: 98:[11, 52] Operation: 67-15=52
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 98:[11, 52], Operations: ['71-60=11', '67-15=52']
Exploring Operation: 11*52=572, Resulting Numbers: [572]
572,98 unequal: No Solution
Exploring Operation: 11+52=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,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:[15, 56], Operations: ['71-60=11', '67-11=56']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,98 unequal: No Solution
Exploring Operation: 15*56=840, Resulting Numbers: [840]
840,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:[11, 82], Operations: ['71-60=11', '67+15=82']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,98 unequal: No Solution
Exploring Operation: 11+82=93, Resulting Numbers: [93]
93,98 unequal: No Solution
Exploring Operation: 11*82=902, Resulting Numbers: [902]
902,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,1
Current State: 98:[67, 4], Operations: ['71-60=11', '15-11=4']
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,98 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,98 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: 98:[15, 71, 7], Operations: ['67-60=7']
Exploring Operation: 71-15=56, Resulting Numbers: [7, 56]
Generated Node #0,1,0: 98:[7, 56] Operation: 71-15=56
Exploring Operation: 71+7=78, Resulting Numbers: [15, 78]
Generated Node #0,1,1: 98:[15, 78] Operation: 71+7=78
Exploring Operation: 71-7=64, Resulting Numbers: [15, 64]
Generated Node #0,1,2: 98:[15, 64] Operation: 71-7=64
Exploring Operation: 15+71=86, Resulting Numbers: [7, 86]
Generated Node #0,1,3: 98:[7, 86] Operation: 15+71=86
Moving to Node #0,0
Current State: 98:[71, 60, 52], Operations: ['67-15=52']
Exploring Operation: 71-60=11, Resulting Numbers: [52, 11]
Generated Node #0,0,0: 98:[52, 11] Operation: 71-60=11
Exploring Operation: 60-52=8, Resulting Numbers: [71, 8]
Generated Node #0,0,1: 98:[71, 8] Operation: 60-52=8
Exploring Operation: 71-52=19, Resulting Numbers: [60, 19]
Generated Node #0,0,2: 98:[60, 19] Operation: 71-52=19
Exploring Operation: 71+60=131, Resulting Numbers: [52, 131]
Generated Node #0,0,3: 98:[52, 131] Operation: 71+60=131
Moving to Node #0,0,0
Current State: 98:[52, 11], Operations: ['67-15=52', '71-60=11']
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,98 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[7, 56], Operations: ['67-60=7', '71-15=56']
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 7*56=392, Resulting Numbers: [392]
392,98 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[7, 86], Operations: ['67-60=7', '15+71=86']
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Exploring Operation: 7*86=602, Resulting Numbers: [602]
602,98 unequal: No Solution
Exploring Operation: 7+86=93, Resulting Numbers: [93]
93,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[15, 64], Operations: ['67-60=7', '71-7=64']
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 15*64=960, Resulting Numbers: [960]
960,98 unequal: No Solution
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[60, 19], Operations: ['67-15=52', '71-52=19']
Exploring Operation: 60+19=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 60*19=1140, Resulting Numbers: [1140]
1140,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[15, 78], Operations: ['67-60=7', '71+7=78']
Exploring Operation: 15+78=93, Resulting Numbers: [93]
93,98 unequal: No Solution
Exploring Operation: 15*78=1170, Resulting Numbers: [1170]
1170,98 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[71, 8], Operations: ['67-15=52', '60-52=8']
Exploring Operation: 71*8=568, Resulting Numbers: [568]
568,98 unequal: No Solution
Exploring Operation: 71+8=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[52, 131], Operations: ['67-15=52', '71+60=131']
Exploring Operation: 131-52=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Exploring Operation: 52*131=6812, Resulting Numbers: [6812]
6812,98 unequal: No Solution
Exploring Operation: 52+131=183, Resulting Numbers: [183]
183,98 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
92,
23,
80,
26
] | 61 | [
"92+23=115",
"80-26=54",
"115-54=61"
] | Current State: 61:[92, 23, 80, 26], Operations: []
Exploring Operation: 92+23=115, Resulting Numbers: [80, 26, 115]
Generated Node #2: [80, 26, 115] from Operation: 92+23=115
Current State: 61:[80, 26, 115], Operations: ['92+23=115']
Exploring Operation: 80-26=54, Resulting Numbers: [115, 54]
Generated Node #3: [115, 54] from Operation: 80-26=54
Current State: 61:[115, 54], Operations: ['92+23=115', '80-26=54']
Exploring Operation: 115-54=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[92, 23, 80, 26], Operations: []
Exploring Operation: 92-23=69, Resulting Numbers: [80, 26, 69]
Generated Node #0,0: 61:[80, 26, 69] Operation: 92-23=69
Moving to Node #0,0
Current State: 61:[80, 26, 69], Operations: ['92-23=69']
Exploring Operation: 80-26=54, Resulting Numbers: [69, 54]
Generated Node #0,0,0: 61:[69, 54] Operation: 80-26=54
Moving to Node #0,0,0
Current State: 61:[69, 54], Operations: ['92-23=69', '80-26=54']
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,61 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
17,
20,
4,
38
] | 89 | [
"38-20=18",
"4*18=72",
"17+72=89"
] | Current State: 89:[17, 20, 4, 38], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [17, 4, 18]
Generated Node #2: [17, 4, 18] from Operation: 38-20=18
Current State: 89:[17, 4, 18], Operations: ['38-20=18']
Exploring Operation: 4*18=72, Resulting Numbers: [17, 72]
Generated Node #3: [17, 72] from Operation: 4*18=72
Current State: 89:[17, 72], Operations: ['38-20=18', '4*18=72']
Exploring Operation: 17+72=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[17, 20, 4, 38], Operations: []
Exploring Operation: 20*4=80, Resulting Numbers: [17, 38, 80]
Generated Node #0,0: 89:[17, 38, 80] Operation: 20*4=80
Moving to Node #0,0
Current State: 89:[17, 38, 80], Operations: ['20*4=80']
Exploring Operation: 17+38=55, Resulting Numbers: [80, 55]
Generated Node #0,0,0: 89:[80, 55] Operation: 17+38=55
Moving to Node #0,0,0
Current State: 89:[80, 55], Operations: ['20*4=80', '17+38=55']
Exploring Operation: 80+55=135, Resulting Numbers: [135]
135,89 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
45,
91,
82,
99
] | 29 | [
"91-45=46",
"99-82=17",
"46-17=29"
] | Current State: 29:[45, 91, 82, 99], Operations: []
Exploring Operation: 91-45=46, Resulting Numbers: [82, 99, 46]
Generated Node #2: [82, 99, 46] from Operation: 91-45=46
Current State: 29:[82, 99, 46], Operations: ['91-45=46']
Exploring Operation: 99-82=17, Resulting Numbers: [46, 17]
Generated Node #3: [46, 17] from Operation: 99-82=17
Current State: 29:[46, 17], Operations: ['91-45=46', '99-82=17']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[45, 91, 82, 99], Operations: []
Exploring Operation: 99-82=17, Resulting Numbers: [45, 91, 17]
Generated Node #0,0: 29:[45, 91, 17] Operation: 99-82=17
Exploring Operation: 99-91=8, Resulting Numbers: [45, 82, 8]
Generated Node #0,1: 29:[45, 82, 8] Operation: 99-91=8
Exploring Operation: 91-82=9, Resulting Numbers: [45, 99, 9]
Generated Node #0,2: 29:[45, 99, 9] Operation: 91-82=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[45, 91, 17], Operations: ['99-82=17']
Exploring Operation: 91-45=46, Resulting Numbers: [17, 46]
Generated Node #0,0,0: 29:[17, 46] Operation: 91-45=46
Exploring Operation: 91-17=74, Resulting Numbers: [45, 74]
Generated Node #0,0,1: 29:[45, 74] Operation: 91-17=74
Exploring Operation: 45-17=28, Resulting Numbers: [91, 28]
Generated Node #0,0,2: 29:[91, 28] Operation: 45-17=28
Moving to Node #0,0,0
Current State: 29:[17, 46], Operations: ['99-82=17', '91-45=46']
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[45, 91, 82, 99], Operations: []
Exploring Operation: 99-82=17, Resulting Numbers: [45, 91, 17]
Generated Node #0,0: 29:[45, 91, 17] Operation: 99-82=17
Moving to Node #0,0
Current State: 29:[45, 91, 17], Operations: ['99-82=17']
Exploring Operation: 91-45=46, Resulting Numbers: [17, 46]
Generated Node #0,0,0: 29:[17, 46] Operation: 91-45=46
Moving to Node #0,0,0
Current State: 29:[17, 46], Operations: ['99-82=17', '91-45=46']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
97,
98,
58,
5
] | 53 | [
"98-97=1",
"58-5=53",
"1*53=53"
] | Current State: 53:[97, 98, 58, 5], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [58, 5, 1]
Generated Node #2: [58, 5, 1] from Operation: 98-97=1
Current State: 53:[58, 5, 1], Operations: ['98-97=1']
Exploring Operation: 58-5=53, Resulting Numbers: [1, 53]
Generated Node #3: [1, 53] from Operation: 58-5=53
Current State: 53:[1, 53], Operations: ['98-97=1', '58-5=53']
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[97, 98, 58, 5], Operations: []
Exploring Operation: 97-5=92, Resulting Numbers: [98, 58, 92]
Generated Node #0,0: 53:[98, 58, 92] Operation: 97-5=92
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[98, 58, 92], Operations: ['97-5=92']
Exploring Operation: 98-58=40, Resulting Numbers: [92, 40]
Generated Node #0,0,0: 53:[92, 40] Operation: 98-58=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[92, 40], Operations: ['97-5=92', '98-58=40']
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
52,
20,
98,
2
] | 81 | [
"52-20=32",
"98/2=49",
"32+49=81"
] | Current State: 81:[52, 20, 98, 2], Operations: []
Exploring Operation: 52-20=32, Resulting Numbers: [98, 2, 32]
Generated Node #2: [98, 2, 32] from Operation: 52-20=32
Current State: 81:[98, 2, 32], Operations: ['52-20=32']
Exploring Operation: 98/2=49, Resulting Numbers: [32, 49]
Generated Node #3: [32, 49] from Operation: 98/2=49
Current State: 81:[32, 49], Operations: ['52-20=32', '98/2=49']
Exploring Operation: 32+49=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[52, 20, 98, 2], Operations: []
Exploring Operation: 52-20=32, Resulting Numbers: [98, 2, 32]
Generated Node #0,0: 81:[98, 2, 32] Operation: 52-20=32
Exploring Operation: 52/2=26, Resulting Numbers: [20, 98, 26]
Generated Node #0,1: 81:[20, 98, 26] Operation: 52/2=26
Moving to Node #0,0
Current State: 81:[98, 2, 32], Operations: ['52-20=32']
Exploring Operation: 98-2=96, Resulting Numbers: [32, 96]
Generated Node #0,0,0: 81:[32, 96] Operation: 98-2=96
Exploring Operation: 98-32=66, Resulting Numbers: [2, 66]
Generated Node #0,0,1: 81:[2, 66] Operation: 98-32=66
Moving to Node #0,1
Current State: 81:[20, 98, 26], Operations: ['52/2=26']
Exploring Operation: 98-20=78, Resulting Numbers: [26, 78]
Generated Node #0,1,0: 81:[26, 78] Operation: 98-20=78
Exploring Operation: 98-26=72, Resulting Numbers: [20, 72]
Generated Node #0,1,1: 81:[20, 72] Operation: 98-26=72
Moving to Node #0,1,0
Current State: 81:[26, 78], Operations: ['52/2=26', '98-20=78']
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 26+78=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[2, 66], Operations: ['52-20=32', '98-32=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,81 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[20, 72], Operations: ['52/2=26', '98-26=72']
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 20+72=92, Resulting Numbers: [92]
92,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[32, 96], Operations: ['52-20=32', '98-2=96']
Exploring Operation: 96-32=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 96/32=3, Resulting Numbers: [3]
3,81 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
16,
68,
21,
47
] | 17 | [
"68-21=47",
"47/47=1",
"16+1=17"
] | Current State: 17:[16, 68, 21, 47], Operations: []
Exploring Operation: 68-21=47, Resulting Numbers: [16, 47, 47]
Generated Node #2: [16, 47, 47] from Operation: 68-21=47
Current State: 17:[16, 47, 47], Operations: ['68-21=47']
Exploring Operation: 47/47=1, Resulting Numbers: [16, 1]
Generated Node #3: [16, 1] from Operation: 47/47=1
Current State: 17:[16, 1], Operations: ['68-21=47', '47/47=1']
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[16, 68, 21, 47], Operations: []
Exploring Operation: 68-47=21, Resulting Numbers: [16, 21, 21]
Generated Node #0,0: 17:[16, 21, 21] Operation: 68-47=21
Exploring Operation: 68-21=47, Resulting Numbers: [16, 47, 47]
Generated Node #0,1: 17:[16, 47, 47] Operation: 68-21=47
Exploring Operation: 47-21=26, Resulting Numbers: [16, 68, 26]
Generated Node #0,2: 17:[16, 68, 26] Operation: 47-21=26
Moving to Node #0,0
Current State: 17:[16, 21, 21], Operations: ['68-47=21']
Exploring Operation: 21-16=5, Resulting Numbers: [21, 5]
Generated Node #0,0,0: 17:[21, 5] Operation: 21-16=5
Exploring Operation: 21/21=1, Resulting Numbers: [16, 1]
Generated Node #0,0,1: 17:[16, 1] Operation: 21/21=1
Exploring Operation: 21-16=5, Resulting Numbers: [21, 5]
Generated Node #0,0,2: 17:[21, 5] Operation: 21-16=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[21, 5], Operations: ['68-47=21', '21-16=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,17 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,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:[21, 5], Operations: ['68-47=21', '21-16=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,17 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,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:[16, 1], Operations: ['68-47=21', '21/21=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[16, 68, 21, 47], Operations: []
Exploring Operation: 68-47=21, Resulting Numbers: [16, 21, 21]
Generated Node #0,0: 17:[16, 21, 21] Operation: 68-47=21
Moving to Node #0,0
Current State: 17:[16, 21, 21], Operations: ['68-47=21']
Exploring Operation: 21/21=1, Resulting Numbers: [16, 1]
Generated Node #0,0,1: 17:[16, 1] Operation: 21/21=1
Moving to Node #0,0,1
Current State: 17:[16, 1], Operations: ['68-47=21', '21/21=1']
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
65,
32,
70,
41
] | 14 | [
"65+32=97",
"70+41=111",
"111-97=14"
] | Current State: 14:[65, 32, 70, 41], Operations: []
Exploring Operation: 65+32=97, Resulting Numbers: [70, 41, 97]
Generated Node #2: [70, 41, 97] from Operation: 65+32=97
Current State: 14:[70, 41, 97], Operations: ['65+32=97']
Exploring Operation: 70+41=111, Resulting Numbers: [97, 111]
Generated Node #3: [97, 111] from Operation: 70+41=111
Current State: 14:[97, 111], Operations: ['65+32=97', '70+41=111']
Exploring Operation: 111-97=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[65, 32, 70, 41], Operations: []
Exploring Operation: 70-65=5, Resulting Numbers: [32, 41, 5]
Generated Node #0,0: 14:[32, 41, 5] Operation: 70-65=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[32, 41, 5], Operations: ['70-65=5']
Exploring Operation: 41-32=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 14:[5, 9] Operation: 41-32=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[5, 9], Operations: ['70-65=5', '41-32=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[65, 32, 70, 41], Operations: []
Exploring Operation: 70-65=5, Resulting Numbers: [32, 41, 5]
Generated Node #0,0: 14:[32, 41, 5] Operation: 70-65=5
Moving to Node #0,0
Current State: 14:[32, 41, 5], Operations: ['70-65=5']
Exploring Operation: 41-32=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 14:[5, 9] Operation: 41-32=9
Moving to Node #0,0,0
Current State: 14:[5, 9], Operations: ['70-65=5', '41-32=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
30,
76,
31,
79
] | 71 | [
"30*76=2280",
"2280-79=2201",
"2201/31=71"
] | Current State: 71:[30, 76, 31, 79], Operations: []
Exploring Operation: 30*76=2280, Resulting Numbers: [31, 79, 2280]
Generated Node #2: [31, 79, 2280] from Operation: 30*76=2280
Current State: 71:[31, 79, 2280], Operations: ['30*76=2280']
Exploring Operation: 2280-79=2201, Resulting Numbers: [31, 2201]
Generated Node #3: [31, 2201] from Operation: 2280-79=2201
Current State: 71:[31, 2201], Operations: ['30*76=2280', '2280-79=2201']
Exploring Operation: 2201/31=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[30, 76, 31, 79], Operations: []
Exploring Operation: 79-31=48, Resulting Numbers: [30, 76, 48]
Generated Node #0,0: 71:[30, 76, 48] Operation: 79-31=48
Exploring Operation: 79-30=49, Resulting Numbers: [76, 31, 49]
Generated Node #0,1: 71:[76, 31, 49] Operation: 79-30=49
Exploring Operation: 30+31=61, Resulting Numbers: [76, 79, 61]
Generated Node #0,2: 71:[76, 79, 61] Operation: 30+31=61
Moving to Node #0,2
Current State: 71:[76, 79, 61], Operations: ['30+31=61']
Exploring Operation: 76-61=15, Resulting Numbers: [79, 15]
Generated Node #0,2,0: 71:[79, 15] Operation: 76-61=15
Exploring Operation: 79-61=18, Resulting Numbers: [76, 18]
Generated Node #0,2,1: 71:[76, 18] Operation: 79-61=18
Exploring Operation: 76+61=137, Resulting Numbers: [79, 137]
Generated Node #0,2,2: 71:[79, 137] Operation: 76+61=137
Moving to Node #0,1
Current State: 71:[76, 31, 49], Operations: ['79-30=49']
Exploring Operation: 76-31=45, Resulting Numbers: [49, 45]
Generated Node #0,1,0: 71:[49, 45] Operation: 76-31=45
Exploring Operation: 31+49=80, Resulting Numbers: [76, 80]
Generated Node #0,1,1: 71:[76, 80] Operation: 31+49=80
Exploring Operation: 76+31=107, Resulting Numbers: [49, 107]
Generated Node #0,1,2: 71:[49, 107] Operation: 76+31=107
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[76, 80], Operations: ['79-30=49', '31+49=80']
Exploring Operation: 76*80=6080, Resulting Numbers: [6080]
6080,71 unequal: No Solution
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,71 unequal: No Solution
Exploring Operation: 76+80=156, Resulting Numbers: [156]
156,71 unequal: No Solution
No 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: 71:[49, 45], Operations: ['79-30=49', '76-31=45']
Exploring Operation: 49*45=2205, Resulting Numbers: [2205]
2205,71 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,71 unequal: No Solution
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,71 unequal: No Solution
No 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: 71:[49, 107], Operations: ['79-30=49', '76+31=107']
Exploring Operation: 49+107=156, Resulting Numbers: [156]
156,71 unequal: No Solution
Exploring Operation: 49*107=5243, Resulting Numbers: [5243]
5243,71 unequal: No Solution
Exploring Operation: 107-49=58, Resulting Numbers: [58]
58,71 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: 71:[30, 76, 48], Operations: ['79-31=48']
Exploring Operation: 76-30=46, Resulting Numbers: [48, 46]
Generated Node #0,0,0: 71:[48, 46] Operation: 76-30=46
Exploring Operation: 30+48=78, Resulting Numbers: [76, 78]
Generated Node #0,0,1: 71:[76, 78] Operation: 30+48=78
Exploring Operation: 30+76=106, Resulting Numbers: [48, 106]
Generated Node #0,0,2: 71:[48, 106] Operation: 30+76=106
Moving to Node #0,0,1
Current State: 71:[76, 78], Operations: ['79-31=48', '30+48=78']
Exploring Operation: 78-76=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 76*78=5928, Resulting Numbers: [5928]
5928,71 unequal: No Solution
Exploring Operation: 76+78=154, Resulting Numbers: [154]
154,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[48, 46], Operations: ['79-31=48', '76-30=46']
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,71 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[48, 106], Operations: ['79-31=48', '30+76=106']
Exploring Operation: 106-48=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 48*106=5088, Resulting Numbers: [5088]
5088,71 unequal: No Solution
Exploring Operation: 48+106=154, Resulting Numbers: [154]
154,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[76, 18], Operations: ['30+31=61', '79-61=18']
Exploring Operation: 76*18=1368, Resulting Numbers: [1368]
1368,71 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[79, 15], Operations: ['30+31=61', '76-61=15']
Exploring Operation: 79+15=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Exploring Operation: 79*15=1185, Resulting Numbers: [1185]
1185,71 unequal: No Solution
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[79, 137], Operations: ['30+31=61', '76+61=137']
Exploring Operation: 137-79=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 79+137=216, Resulting Numbers: [216]
216,71 unequal: No Solution
Exploring Operation: 79*137=10823, Resulting Numbers: [10823]
10823,71 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
72,
18,
41,
69
] | 75 | [
"41-18=23",
"69/23=3",
"72+3=75"
] | Current State: 75:[72, 18, 41, 69], Operations: []
Exploring Operation: 41-18=23, Resulting Numbers: [72, 69, 23]
Generated Node #2: [72, 69, 23] from Operation: 41-18=23
Current State: 75:[72, 69, 23], Operations: ['41-18=23']
Exploring Operation: 69/23=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 69/23=3
Current State: 75:[72, 3], Operations: ['41-18=23', '69/23=3']
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[72, 18, 41, 69], Operations: []
Exploring Operation: 41-18=23, Resulting Numbers: [72, 69, 23]
Generated Node #0,0: 75:[72, 69, 23] Operation: 41-18=23
Exploring Operation: 69-41=28, Resulting Numbers: [72, 18, 28]
Generated Node #0,1: 75:[72, 18, 28] Operation: 69-41=28
Moving to Node #0,1
Current State: 75:[72, 18, 28], Operations: ['69-41=28']
Exploring Operation: 72/18=4, Resulting Numbers: [28, 4]
Generated Node #0,1,0: 75:[28, 4] Operation: 72/18=4
Exploring Operation: 28-18=10, Resulting Numbers: [72, 10]
Generated Node #0,1,1: 75:[72, 10] Operation: 28-18=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[28, 4], Operations: ['69-41=28', '72/18=4']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[72, 10], Operations: ['69-41=28', '28-18=10']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,75 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: 75:[72, 69, 23], Operations: ['41-18=23']
Exploring Operation: 69/23=3, Resulting Numbers: [72, 3]
Generated Node #0,0,0: 75:[72, 3] Operation: 69/23=3
Exploring Operation: 72-69=3, Resulting Numbers: [23, 3]
Generated Node #0,0,1: 75:[23, 3] Operation: 72-69=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[23, 3], Operations: ['41-18=23', '72-69=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[72, 3], Operations: ['41-18=23', '69/23=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[72, 18, 41, 69], Operations: []
Exploring Operation: 41-18=23, Resulting Numbers: [72, 69, 23]
Generated Node #0,0: 75:[72, 69, 23] Operation: 41-18=23
Moving to Node #0,0
Current State: 75:[72, 69, 23], Operations: ['41-18=23']
Exploring Operation: 69/23=3, Resulting Numbers: [72, 3]
Generated Node #0,0,0: 75:[72, 3] Operation: 69/23=3
Moving to Node #0,0,0
Current State: 75:[72, 3], Operations: ['41-18=23', '69/23=3']
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
95,
38,
81,
7
] | 90 | [
"95+81=176",
"38*7=266",
"266-176=90"
] | Current State: 90:[95, 38, 81, 7], Operations: []
Exploring Operation: 95+81=176, Resulting Numbers: [38, 7, 176]
Generated Node #2: [38, 7, 176] from Operation: 95+81=176
Current State: 90:[38, 7, 176], Operations: ['95+81=176']
Exploring Operation: 38*7=266, Resulting Numbers: [176, 266]
Generated Node #3: [176, 266] from Operation: 38*7=266
Current State: 90:[176, 266], Operations: ['95+81=176', '38*7=266']
Exploring Operation: 266-176=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[95, 38, 81, 7], Operations: []
Exploring Operation: 38+7=45, Resulting Numbers: [95, 81, 45]
Generated Node #0,0: 90:[95, 81, 45] Operation: 38+7=45
Exploring Operation: 81-38=43, Resulting Numbers: [95, 7, 43]
Generated Node #0,1: 90:[95, 7, 43] Operation: 81-38=43
Exploring Operation: 81+7=88, Resulting Numbers: [95, 38, 88]
Generated Node #0,2: 90:[95, 38, 88] Operation: 81+7=88
Exploring Operation: 95-81=14, Resulting Numbers: [38, 7, 14]
Generated Node #0,3: 90:[38, 7, 14] Operation: 95-81=14
Moving to Node #0,1
Current State: 90:[95, 7, 43], Operations: ['81-38=43']
Exploring Operation: 43-7=36, Resulting Numbers: [95, 36]
Generated Node #0,1,0: 90:[95, 36] Operation: 43-7=36
Exploring Operation: 95-43=52, Resulting Numbers: [7, 52]
Generated Node #0,1,1: 90:[7, 52] Operation: 95-43=52
Exploring Operation: 95-7=88, Resulting Numbers: [43, 88]
Generated Node #0,1,2: 90:[43, 88] Operation: 95-7=88
Exploring Operation: 7+43=50, Resulting Numbers: [95, 50]
Generated Node #0,1,3: 90:[95, 50] Operation: 7+43=50
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[43, 88], Operations: ['81-38=43', '95-7=88']
Exploring Operation: 43+88=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 43*88=3784, Resulting Numbers: [3784]
3784,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:[7, 52], Operations: ['81-38=43', '95-43=52']
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,90 unequal: No Solution
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,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:[95, 50], Operations: ['81-38=43', '7+43=50']
Exploring Operation: 95-50=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 95*50=4750, Resulting Numbers: [4750]
4750,90 unequal: No Solution
Exploring Operation: 95+50=145, Resulting Numbers: [145]
145,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,0
Current State: 90:[95, 36], Operations: ['81-38=43', '43-7=36']
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 95*36=3420, Resulting Numbers: [3420]
3420,90 unequal: No Solution
Exploring Operation: 95+36=131, Resulting Numbers: [131]
131,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:[38, 7, 14], Operations: ['95-81=14']
Exploring Operation: 38-14=24, Resulting Numbers: [7, 24]
Generated Node #0,3,0: 90:[7, 24] Operation: 38-14=24
Exploring Operation: 14/7=2, Resulting Numbers: [38, 2]
Generated Node #0,3,1: 90:[38, 2] Operation: 14/7=2
Exploring Operation: 38+7=45, Resulting Numbers: [14, 45]
Generated Node #0,3,2: 90:[14, 45] Operation: 38+7=45
Exploring Operation: 38-7=31, Resulting Numbers: [14, 31]
Generated Node #0,3,3: 90:[14, 31] Operation: 38-7=31
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[14, 45], Operations: ['95-81=14', '38+7=45']
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,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,3,3
Current State: 90:[14, 31], Operations: ['95-81=14', '38-7=31']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,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,3,0
Current State: 90:[7, 24], Operations: ['95-81=14', '38-14=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,90 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,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,3,1
Current State: 90:[38, 2], Operations: ['95-81=14', '14/7=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,90 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,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:[95, 38, 88], Operations: ['81+7=88']
Exploring Operation: 38+88=126, Resulting Numbers: [95, 126]
Generated Node #0,2,0: 90:[95, 126] Operation: 38+88=126
Exploring Operation: 95-38=57, Resulting Numbers: [88, 57]
Generated Node #0,2,1: 90:[88, 57] Operation: 95-38=57
Exploring Operation: 88-38=50, Resulting Numbers: [95, 50]
Generated Node #0,2,2: 90:[95, 50] Operation: 88-38=50
Exploring Operation: 95-88=7, Resulting Numbers: [38, 7]
Generated Node #0,2,3: 90:[38, 7] Operation: 95-88=7
Moving to Node #0,0
Current State: 90:[95, 81, 45], Operations: ['38+7=45']
Exploring Operation: 81+45=126, Resulting Numbers: [95, 126]
Generated Node #0,0,0: 90:[95, 126] Operation: 81+45=126
Exploring Operation: 81-45=36, Resulting Numbers: [95, 36]
Generated Node #0,0,1: 90:[95, 36] Operation: 81-45=36
Exploring Operation: 95-45=50, Resulting Numbers: [81, 50]
Generated Node #0,0,2: 90:[81, 50] Operation: 95-45=50
Exploring Operation: 95-81=14, Resulting Numbers: [45, 14]
Generated Node #0,0,3: 90:[45, 14] Operation: 95-81=14
Moving to Node #0,0,3
Current State: 90:[45, 14], Operations: ['38+7=45', '95-81=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,90 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[38, 7], Operations: ['81+7=88', '95-88=7']
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,90 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[95, 50], Operations: ['81+7=88', '88-38=50']
Exploring Operation: 95+50=145, Resulting Numbers: [145]
145,90 unequal: No Solution
Exploring Operation: 95*50=4750, Resulting Numbers: [4750]
4750,90 unequal: No Solution
Exploring Operation: 95-50=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[95, 36], Operations: ['38+7=45', '81-45=36']
Exploring Operation: 95+36=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 95*36=3420, Resulting Numbers: [3420]
3420,90 unequal: No Solution
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[88, 57], Operations: ['81+7=88', '95-38=57']
Exploring Operation: 88*57=5016, Resulting Numbers: [5016]
5016,90 unequal: No Solution
Exploring Operation: 88-57=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 88+57=145, Resulting Numbers: [145]
145,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[81, 50], Operations: ['38+7=45', '95-45=50']
Exploring Operation: 81-50=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 81*50=4050, Resulting Numbers: [4050]
4050,90 unequal: No Solution
Exploring Operation: 81+50=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[95, 126], Operations: ['81+7=88', '38+88=126']
Exploring Operation: 95*126=11970, Resulting Numbers: [11970]
11970,90 unequal: No Solution
Exploring Operation: 95+126=221, Resulting Numbers: [221]
221,90 unequal: No Solution
Exploring Operation: 126-95=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[95, 126], Operations: ['38+7=45', '81+45=126']
Exploring Operation: 95*126=11970, Resulting Numbers: [11970]
11970,90 unequal: No Solution
Exploring Operation: 95+126=221, Resulting Numbers: [221]
221,90 unequal: No Solution
Exploring Operation: 126-95=31, Resulting Numbers: [31]
31,90 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
3,
8,
15,
96
] | 43 | [
"3*15=45",
"96-8=88",
"88-45=43"
] | Current State: 43:[3, 8, 15, 96], Operations: []
Exploring Operation: 3*15=45, Resulting Numbers: [8, 96, 45]
Generated Node #2: [8, 96, 45] from Operation: 3*15=45
Current State: 43:[8, 96, 45], Operations: ['3*15=45']
Exploring Operation: 96-8=88, Resulting Numbers: [45, 88]
Generated Node #3: [45, 88] from Operation: 96-8=88
Current State: 43:[45, 88], Operations: ['3*15=45', '96-8=88']
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[3, 8, 15, 96], Operations: []
Exploring Operation: 3*15=45, Resulting Numbers: [8, 96, 45]
Generated Node #0,0: 43:[8, 96, 45] Operation: 3*15=45
Exploring Operation: 96/3=32, Resulting Numbers: [8, 15, 32]
Generated Node #0,1: 43:[8, 15, 32] Operation: 96/3=32
Exploring Operation: 3*8=24, Resulting Numbers: [15, 96, 24]
Generated Node #0,2: 43:[15, 96, 24] Operation: 3*8=24
Exploring Operation: 96/8=12, Resulting Numbers: [3, 15, 12]
Generated Node #0,3: 43:[3, 15, 12] Operation: 96/8=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[8, 15, 32], Operations: ['96/3=32']
Exploring Operation: 8+15=23, Resulting Numbers: [32, 23]
Generated Node #0,1,0: 43:[32, 23] Operation: 8+15=23
Exploring Operation: 15+32=47, Resulting Numbers: [8, 47]
Generated Node #0,1,1: 43:[8, 47] Operation: 15+32=47
Exploring Operation: 8+32=40, Resulting Numbers: [15, 40]
Generated Node #0,1,2: 43:[15, 40] Operation: 8+32=40
Exploring Operation: 15-8=7, Resulting Numbers: [32, 7]
Generated Node #0,1,3: 43:[32, 7] Operation: 15-8=7
Moving to Node #0,1,0
Current State: 43:[32, 23], Operations: ['96/3=32', '8+15=23']
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,43 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[15, 40], Operations: ['96/3=32', '8+32=40']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Exploring Operation: 15*40=600, Resulting Numbers: [600]
600,43 unequal: No Solution
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[8, 47], Operations: ['96/3=32', '15+32=47']
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,43 unequal: No Solution
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[32, 7], Operations: ['96/3=32', '15-8=7']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,43 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,43 unequal: No Solution
No 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: 43:[8, 96, 45], Operations: ['3*15=45']
Exploring Operation: 96/8=12, Resulting Numbers: [45, 12]
Generated Node #0,0,0: 43:[45, 12] Operation: 96/8=12
Exploring Operation: 45-8=37, Resulting Numbers: [96, 37]
Generated Node #0,0,1: 43:[96, 37] Operation: 45-8=37
Exploring Operation: 96-8=88, Resulting Numbers: [45, 88]
Generated Node #0,0,2: 43:[45, 88] Operation: 96-8=88
Exploring Operation: 96-45=51, Resulting Numbers: [8, 51]
Generated Node #0,0,3: 43:[8, 51] Operation: 96-45=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[45, 12], Operations: ['3*15=45', '96/8=12']
Exploring Operation: 45*12=540, Resulting Numbers: [540]
540,43 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,43 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: 43:[8, 51], Operations: ['3*15=45', '96-45=51']
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[3, 8, 15, 96], Operations: []
Exploring Operation: 3*15=45, Resulting Numbers: [8, 96, 45]
Generated Node #0,0: 43:[8, 96, 45] Operation: 3*15=45
Moving to Node #0,0
Current State: 43:[8, 96, 45], Operations: ['3*15=45']
Exploring Operation: 96-45=51, Resulting Numbers: [8, 51]
Generated Node #0,0,3: 43:[8, 51] Operation: 96-45=51
Moving to Node #0,0,3
Current State: 43:[8, 51], Operations: ['3*15=45', '96-45=51']
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
5,
99,
97,
4
] | 18 | [
"5+4=9",
"99-97=2",
"9*2=18"
] | Current State: 18:[5, 99, 97, 4], Operations: []
Exploring Operation: 5+4=9, Resulting Numbers: [99, 97, 9]
Generated Node #2: [99, 97, 9] from Operation: 5+4=9
Current State: 18:[99, 97, 9], Operations: ['5+4=9']
Exploring Operation: 99-97=2, Resulting Numbers: [9, 2]
Generated Node #3: [9, 2] from Operation: 99-97=2
Current State: 18:[9, 2], Operations: ['5+4=9', '99-97=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[5, 99, 97, 4], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [5, 4, 2]
Generated Node #0,0: 18:[5, 4, 2] Operation: 99-97=2
Exploring Operation: 99-4=95, Resulting Numbers: [5, 97, 95]
Generated Node #0,1: 18:[5, 97, 95] Operation: 99-4=95
Exploring Operation: 97-5=92, Resulting Numbers: [99, 4, 92]
Generated Node #0,2: 18:[99, 4, 92] Operation: 97-5=92
Exploring Operation: 99-5=94, Resulting Numbers: [97, 4, 94]
Generated Node #0,3: 18:[97, 4, 94] Operation: 99-5=94
Exploring Operation: 97-4=93, Resulting Numbers: [5, 99, 93]
Generated Node #0,4: 18:[5, 99, 93] Operation: 97-4=93
Moving to Node #0,0
Current State: 18:[5, 4, 2], Operations: ['99-97=2']
Exploring Operation: 5+4=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 18:[2, 9] Operation: 5+4=9
Exploring Operation: 4+2=6, Resulting Numbers: [5, 6]
Generated Node #0,0,1: 18:[5, 6] Operation: 4+2=6
Exploring Operation: 4-2=2, Resulting Numbers: [5, 2]
Generated Node #0,0,2: 18:[5, 2] Operation: 4-2=2
Exploring Operation: 5-4=1, Resulting Numbers: [2, 1]
Generated Node #0,0,3: 18:[2, 1] Operation: 5-4=1
Exploring Operation: 5-2=3, Resulting Numbers: [4, 3]
Generated Node #0,0,4: 18:[4, 3] Operation: 5-2=3
Moving to Node #0,3
Current State: 18:[97, 4, 94], Operations: ['99-5=94']
Exploring Operation: 97-4=93, Resulting Numbers: [94, 93]
Generated Node #0,3,0: 18:[94, 93] Operation: 97-4=93
Exploring Operation: 94-4=90, Resulting Numbers: [97, 90]
Generated Node #0,3,1: 18:[97, 90] Operation: 94-4=90
Exploring Operation: 97-94=3, Resulting Numbers: [4, 3]
Generated Node #0,3,2: 18:[4, 3] Operation: 97-94=3
Exploring Operation: 97+4=101, Resulting Numbers: [94, 101]
Generated Node #0,3,3: 18:[94, 101] Operation: 97+4=101
Exploring Operation: 4+94=98, Resulting Numbers: [97, 98]
Generated Node #0,3,4: 18:[97, 98] Operation: 4+94=98
Moving to Node #0,2
Current State: 18:[99, 4, 92], Operations: ['97-5=92']
Exploring Operation: 99-92=7, Resulting Numbers: [4, 7]
Generated Node #0,2,0: 18:[4, 7] Operation: 99-92=7
Exploring Operation: 99+4=103, Resulting Numbers: [92, 103]
Generated Node #0,2,1: 18:[92, 103] Operation: 99+4=103
Exploring Operation: 92-4=88, Resulting Numbers: [99, 88]
Generated Node #0,2,2: 18:[99, 88] Operation: 92-4=88
Exploring Operation: 99-4=95, Resulting Numbers: [92, 95]
Generated Node #0,2,3: 18:[92, 95] Operation: 99-4=95
Exploring Operation: 92/4=23, Resulting Numbers: [99, 23]
Generated Node #0,2,4: 18:[99, 23] Operation: 92/4=23
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[4, 7], Operations: ['97-5=92', '99-92=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,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,4
Current State: 18:[99, 23], Operations: ['97-5=92', '92/4=23']
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 99*23=2277, Resulting Numbers: [2277]
2277,18 unequal: No Solution
Exploring Operation: 99+23=122, Resulting Numbers: [122]
122,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:[99, 88], Operations: ['97-5=92', '92-4=88']
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 99*88=8712, Resulting Numbers: [8712]
8712,18 unequal: No Solution
Exploring Operation: 99+88=187, Resulting Numbers: [187]
187,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,3
Current State: 18:[92, 95], Operations: ['97-5=92', '99-4=95']
Exploring Operation: 92*95=8740, Resulting Numbers: [8740]
8740,18 unequal: No Solution
Exploring Operation: 92+95=187, Resulting Numbers: [187]
187,18 unequal: No Solution
Exploring Operation: 95-92=3, Resulting Numbers: [3]
3,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:[92, 103], Operations: ['97-5=92', '99+4=103']
Exploring Operation: 103-92=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 92+103=195, Resulting Numbers: [195]
195,18 unequal: No Solution
Exploring Operation: 92*103=9476, Resulting Numbers: [9476]
9476,18 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: 18:[5, 97, 95], Operations: ['99-4=95']
Exploring Operation: 5+97=102, Resulting Numbers: [95, 102]
Generated Node #0,1,0: 18:[95, 102] Operation: 5+97=102
Exploring Operation: 95/5=19, Resulting Numbers: [97, 19]
Generated Node #0,1,1: 18:[97, 19] Operation: 95/5=19
Exploring Operation: 97-95=2, Resulting Numbers: [5, 2]
Generated Node #0,1,2: 18:[5, 2] Operation: 97-95=2
Exploring Operation: 95-5=90, Resulting Numbers: [97, 90]
Generated Node #0,1,3: 18:[97, 90] Operation: 95-5=90
Exploring Operation: 97-5=92, Resulting Numbers: [95, 92]
Generated Node #0,1,4: 18:[95, 92] Operation: 97-5=92
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[5, 2], Operations: ['99-4=95', '97-95=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,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,1
Current State: 18:[97, 19], Operations: ['99-4=95', '95/5=19']
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,18 unequal: No Solution
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,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,3
Current State: 18:[97, 90], Operations: ['99-4=95', '95-5=90']
Exploring Operation: 97+90=187, Resulting Numbers: [187]
187,18 unequal: No Solution
Exploring Operation: 97*90=8730, Resulting Numbers: [8730]
8730,18 unequal: No Solution
Exploring Operation: 97-90=7, Resulting Numbers: [7]
7,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,4
Current State: 18:[95, 92], Operations: ['99-4=95', '97-5=92']
Exploring Operation: 95*92=8740, Resulting Numbers: [8740]
8740,18 unequal: No Solution
Exploring Operation: 95+92=187, Resulting Numbers: [187]
187,18 unequal: No Solution
Exploring Operation: 95-92=3, Resulting Numbers: [3]
3,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:[95, 102], Operations: ['99-4=95', '5+97=102']
Exploring Operation: 102-95=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 95+102=197, Resulting Numbers: [197]
197,18 unequal: No Solution
Exploring Operation: 95*102=9690, Resulting Numbers: [9690]
9690,18 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: 18:[5, 99, 93], Operations: ['97-4=93']
Exploring Operation: 99-93=6, Resulting Numbers: [5, 6]
Generated Node #0,4,0: 18:[5, 6] Operation: 99-93=6
Exploring Operation: 93-5=88, Resulting Numbers: [99, 88]
Generated Node #0,4,1: 18:[99, 88] Operation: 93-5=88
Exploring Operation: 5+99=104, Resulting Numbers: [93, 104]
Generated Node #0,4,2: 18:[93, 104] Operation: 5+99=104
Exploring Operation: 5+93=98, Resulting Numbers: [99, 98]
Generated Node #0,4,3: 18:[99, 98] Operation: 5+93=98
Exploring Operation: 99-5=94, Resulting Numbers: [93, 94]
Generated Node #0,4,4: 18:[93, 94] Operation: 99-5=94
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 18:[5, 6], Operations: ['97-4=93', '99-93=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 5+6=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,4,1
Current State: 18:[99, 88], Operations: ['97-4=93', '93-5=88']
Exploring Operation: 99+88=187, Resulting Numbers: [187]
187,18 unequal: No Solution
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 99*88=8712, Resulting Numbers: [8712]
8712,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 18:[93, 94], Operations: ['97-4=93', '99-5=94']
Exploring Operation: 93*94=8742, Resulting Numbers: [8742]
8742,18 unequal: No Solution
Exploring Operation: 93+94=187, Resulting Numbers: [187]
187,18 unequal: No Solution
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 18:[93, 104], Operations: ['97-4=93', '5+99=104']
Exploring Operation: 104-93=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 93+104=197, Resulting Numbers: [197]
197,18 unequal: No Solution
Exploring Operation: 93*104=9672, Resulting Numbers: [9672]
9672,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 18:[99, 98], Operations: ['97-4=93', '5+93=98']
Exploring Operation: 99*98=9702, Resulting Numbers: [9702]
9702,18 unequal: No Solution
Exploring Operation: 99-98=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 99+98=197, Resulting Numbers: [197]
197,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 18:[2, 9], Operations: ['99-97=2', '5+4=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[5, 99, 97, 4], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [5, 4, 2]
Generated Node #0,0: 18:[5, 4, 2] Operation: 99-97=2
Moving to Node #0,0
Current State: 18:[5, 4, 2], Operations: ['99-97=2']
Exploring Operation: 5+4=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 18:[2, 9] Operation: 5+4=9
Moving to Node #0,0,0
Current State: 18:[2, 9], Operations: ['99-97=2', '5+4=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.929688 | hs_5 | mult_heuristic |
[
39,
45,
39,
59
] | 45 | [
"39-39=0",
"59*0=0",
"45+0=45"
] | Current State: 45:[39, 45, 39, 59], Operations: []
Exploring Operation: 39-39=0, Resulting Numbers: [45, 59, 0]
Generated Node #2: [45, 59, 0] from Operation: 39-39=0
Current State: 45:[45, 59, 0], Operations: ['39-39=0']
Exploring Operation: 59*0=0, Resulting Numbers: [45, 0]
Generated Node #3: [45, 0] from Operation: 59*0=0
Current State: 45:[45, 0], Operations: ['39-39=0', '59*0=0']
Exploring Operation: 45+0=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[39, 45, 39, 59], Operations: []
Exploring Operation: 59-45=14, Resulting Numbers: [39, 39, 14]
Generated Node #0,0: 45:[39, 39, 14] Operation: 59-45=14
Exploring Operation: 59-39=20, Resulting Numbers: [39, 45, 20]
Generated Node #0,1: 45:[39, 45, 20] Operation: 59-39=20
Exploring Operation: 39/39=1, Resulting Numbers: [45, 59, 1]
Generated Node #0,2: 45:[45, 59, 1] Operation: 39/39=1
Exploring Operation: 59-39=20, Resulting Numbers: [45, 39, 20]
Generated Node #0,3: 45:[45, 39, 20] Operation: 59-39=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[39, 45, 20], Operations: ['59-39=20']
Exploring Operation: 39+20=59, Resulting Numbers: [45, 59]
Generated Node #0,1,0: 45:[45, 59] Operation: 39+20=59
Exploring Operation: 45-20=25, Resulting Numbers: [39, 25]
Generated Node #0,1,1: 45:[39, 25] Operation: 45-20=25
Exploring Operation: 45-39=6, Resulting Numbers: [20, 6]
Generated Node #0,1,2: 45:[20, 6] Operation: 45-39=6
Exploring Operation: 39-20=19, Resulting Numbers: [45, 19]
Generated Node #0,1,3: 45:[45, 19] Operation: 39-20=19
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 45:[45, 19], Operations: ['59-39=20', '39-20=19']
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,45 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: 45:[20, 6], Operations: ['59-39=20', '45-39=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,45 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,45 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: 45:[45, 59], Operations: ['59-39=20', '39+20=59']
Exploring Operation: 45*59=2655, Resulting Numbers: [2655]
2655,45 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 45+59=104, Resulting Numbers: [104]
104,45 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: 45:[39, 25], Operations: ['59-39=20', '45-20=25']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,45 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: 45:[45, 39, 20], Operations: ['59-39=20']
Exploring Operation: 45-20=25, Resulting Numbers: [39, 25]
Generated Node #0,3,0: 45:[39, 25] Operation: 45-20=25
Exploring Operation: 39+20=59, Resulting Numbers: [45, 59]
Generated Node #0,3,1: 45:[45, 59] Operation: 39+20=59
Exploring Operation: 45-39=6, Resulting Numbers: [20, 6]
Generated Node #0,3,2: 45:[20, 6] Operation: 45-39=6
Exploring Operation: 39-20=19, Resulting Numbers: [45, 19]
Generated Node #0,3,3: 45:[45, 19] Operation: 39-20=19
Moving to Node #0,3,3
Current State: 45:[45, 19], Operations: ['59-39=20', '39-20=19']
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,45 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Moving to Node #0,3,2
Current State: 45:[20, 6], Operations: ['59-39=20', '45-39=6']
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,45 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Moving to Node #0,3,1
Current State: 45:[45, 59], Operations: ['59-39=20', '39+20=59']
Exploring Operation: 45+59=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 45*59=2655, Resulting Numbers: [2655]
2655,45 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Moving to Node #0,3,0
Current State: 45:[39, 25], Operations: ['59-39=20', '45-20=25']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,45 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,45 unequal: No Solution
No 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: 45:[39, 39, 14], Operations: ['59-45=14']
Exploring Operation: 39+14=53, Resulting Numbers: [39, 53]
Generated Node #0,0,0: 45:[39, 53] Operation: 39+14=53
Exploring Operation: 39-39=0, Resulting Numbers: [14, 0]
Generated Node #0,0,1: 45:[14, 0] Operation: 39-39=0
Exploring Operation: 39+14=53, Resulting Numbers: [39, 53]
Generated Node #0,0,2: 45:[39, 53] Operation: 39+14=53
Exploring Operation: 39/39=1, Resulting Numbers: [14, 1]
Generated Node #0,0,3: 45:[14, 1] Operation: 39/39=1
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 45:[14, 1], Operations: ['59-45=14', '39/39=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,45 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: 45:[14, 0], Operations: ['59-45=14', '39-39=0']
Exploring Operation: 14-0=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 14*0=0, Resulting Numbers: [0]
0,45 unequal: No Solution
Exploring Operation: 14+0=14, Resulting Numbers: [14]
14,45 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: 45:[39, 53], Operations: ['59-45=14', '39+14=53']
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,45 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,45 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: 45:[39, 53], Operations: ['59-45=14', '39+14=53']
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,45 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: 45:[45, 59, 1], Operations: ['39/39=1']
Exploring Operation: 59-45=14, Resulting Numbers: [1, 14]
Generated Node #0,2,0: 45:[1, 14] Operation: 59-45=14
Exploring Operation: 59-1=58, Resulting Numbers: [45, 58]
Generated Node #0,2,1: 45:[45, 58] Operation: 59-1=58
Exploring Operation: 45/1=45, Resulting Numbers: [59, 45]
Generated Node #0,2,2: 45:[59, 45] Operation: 45/1=45
Exploring Operation: 45*1=45, Resulting Numbers: [59, 45]
Generated Node #0,2,3: 45:[59, 45] Operation: 45*1=45
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[1, 14], Operations: ['39/39=1', '59-45=14']
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,45 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: 45:[45, 58], Operations: ['39/39=1', '59-1=58']
Exploring Operation: 45+58=103, Resulting Numbers: [103]
103,45 unequal: No Solution
Exploring Operation: 45*58=2610, Resulting Numbers: [2610]
2610,45 unequal: No Solution
Exploring Operation: 58-45=13, Resulting Numbers: [13]
13,45 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: 45:[59, 45], Operations: ['39/39=1', '45/1=45']
Exploring Operation: 59*45=2655, Resulting Numbers: [2655]
2655,45 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 59+45=104, Resulting Numbers: [104]
104,45 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: 45:[59, 45], Operations: ['39/39=1', '45*1=45']
Exploring Operation: 59*45=2655, Resulting Numbers: [2655]
2655,45 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 59+45=104, Resulting Numbers: [104]
104,45 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 |
[
35,
6,
59,
48
] | 66 | [
"35+6=41",
"59+48=107",
"107-41=66"
] | Current State: 66:[35, 6, 59, 48], Operations: []
Exploring Operation: 35+6=41, Resulting Numbers: [59, 48, 41]
Generated Node #2: [59, 48, 41] from Operation: 35+6=41
Current State: 66:[59, 48, 41], Operations: ['35+6=41']
Exploring Operation: 59+48=107, Resulting Numbers: [41, 107]
Generated Node #3: [41, 107] from Operation: 59+48=107
Current State: 66:[41, 107], Operations: ['35+6=41', '59+48=107']
Exploring Operation: 107-41=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[35, 6, 59, 48], Operations: []
Exploring Operation: 59-48=11, Resulting Numbers: [35, 6, 11]
Generated Node #0,0: 66:[35, 6, 11] Operation: 59-48=11
Moving to Node #0,0
Current State: 66:[35, 6, 11], Operations: ['59-48=11']
Exploring Operation: 35-11=24, Resulting Numbers: [6, 24]
Generated Node #0,0,0: 66:[6, 24] Operation: 35-11=24
Moving to Node #0,0,0
Current State: 66:[6, 24], Operations: ['59-48=11', '35-11=24']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,66 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
77,
11,
32,
36
] | 33 | [
"36-32=4",
"11*4=44",
"77-44=33"
] | Current State: 33:[77, 11, 32, 36], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [77, 11, 4]
Generated Node #2: [77, 11, 4] from Operation: 36-32=4
Current State: 33:[77, 11, 4], Operations: ['36-32=4']
Exploring Operation: 11*4=44, Resulting Numbers: [77, 44]
Generated Node #3: [77, 44] from Operation: 11*4=44
Current State: 33:[77, 44], Operations: ['36-32=4', '11*4=44']
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[77, 11, 32, 36], Operations: []
Exploring Operation: 77/11=7, Resulting Numbers: [32, 36, 7]
Generated Node #0,0: 33:[32, 36, 7] Operation: 77/11=7
Exploring Operation: 77-32=45, Resulting Numbers: [11, 36, 45]
Generated Node #0,1: 33:[11, 36, 45] Operation: 77-32=45
Exploring Operation: 77-36=41, Resulting Numbers: [11, 32, 41]
Generated Node #0,2: 33:[11, 32, 41] Operation: 77-36=41
Exploring Operation: 77-11=66, Resulting Numbers: [32, 36, 66]
Generated Node #0,3: 33:[32, 36, 66] Operation: 77-11=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[32, 36, 7], Operations: ['77/11=7']
Exploring Operation: 36-7=29, Resulting Numbers: [32, 29]
Generated Node #0,0,0: 33:[32, 29] Operation: 36-7=29
Exploring Operation: 32+7=39, Resulting Numbers: [36, 39]
Generated Node #0,0,1: 33:[36, 39] Operation: 32+7=39
Exploring Operation: 36-32=4, Resulting Numbers: [7, 4]
Generated Node #0,0,2: 33:[7, 4] Operation: 36-32=4
Exploring Operation: 32-7=25, Resulting Numbers: [36, 25]
Generated Node #0,0,3: 33:[36, 25] Operation: 32-7=25
Moving to Node #0,0,0
Current State: 33:[32, 29], Operations: ['77/11=7', '36-7=29']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,33 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[7, 4], Operations: ['77/11=7', '36-32=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[36, 39], Operations: ['77/11=7', '32+7=39']
Exploring Operation: 36*39=1404, Resulting Numbers: [1404]
1404,33 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[36, 25], Operations: ['77/11=7', '32-7=25']
Exploring Operation: 36*25=900, Resulting Numbers: [900]
900,33 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 36+25=61, Resulting Numbers: [61]
61,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[11, 32, 41], Operations: ['77-36=41']
Exploring Operation: 41-32=9, Resulting Numbers: [11, 9]
Generated Node #0,2,0: 33:[11, 9] Operation: 41-32=9
Exploring Operation: 41-11=30, Resulting Numbers: [32, 30]
Generated Node #0,2,1: 33:[32, 30] Operation: 41-11=30
Exploring Operation: 32-11=21, Resulting Numbers: [41, 21]
Generated Node #0,2,2: 33:[41, 21] Operation: 32-11=21
Exploring Operation: 11+32=43, Resulting Numbers: [41, 43]
Generated Node #0,2,3: 33:[41, 43] Operation: 11+32=43
Moving to Node #0,2,0
Current State: 33:[11, 9], Operations: ['77-36=41', '41-32=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,33 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[32, 30], Operations: ['77-36=41', '41-11=30']
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,33 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[41, 43], Operations: ['77-36=41', '11+32=43']
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,33 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[41, 21], Operations: ['77-36=41', '32-11=21']
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,33 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,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:[11, 36, 45], Operations: ['77-32=45']
Exploring Operation: 45-11=34, Resulting Numbers: [36, 34]
Generated Node #0,1,0: 33:[36, 34] Operation: 45-11=34
Exploring Operation: 36-11=25, Resulting Numbers: [45, 25]
Generated Node #0,1,1: 33:[45, 25] Operation: 36-11=25
Exploring Operation: 11+36=47, Resulting Numbers: [45, 47]
Generated Node #0,1,2: 33:[45, 47] Operation: 11+36=47
Exploring Operation: 45-36=9, Resulting Numbers: [11, 9]
Generated Node #0,1,3: 33:[11, 9] Operation: 45-36=9
Moving to Node #0,1,3
Current State: 33:[11, 9], Operations: ['77-32=45', '45-36=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[36, 34], Operations: ['77-32=45', '45-11=34']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[45, 25], Operations: ['77-32=45', '36-11=25']
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,33 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[45, 47], Operations: ['77-32=45', '11+36=47']
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,33 unequal: No Solution
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,33 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,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,3
Current State: 33:[32, 36, 66], Operations: ['77-11=66']
Exploring Operation: 32+36=68, Resulting Numbers: [66, 68]
Generated Node #0,3,0: 33:[66, 68] Operation: 32+36=68
Exploring Operation: 36-32=4, Resulting Numbers: [66, 4]
Generated Node #0,3,1: 33:[66, 4] Operation: 36-32=4
Exploring Operation: 66-32=34, Resulting Numbers: [36, 34]
Generated Node #0,3,2: 33:[36, 34] Operation: 66-32=34
Exploring Operation: 66-36=30, Resulting Numbers: [32, 30]
Generated Node #0,3,3: 33:[32, 30] Operation: 66-36=30
Moving to Node #0,3,2
Current State: 33:[36, 34], Operations: ['77-11=66', '66-32=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[32, 30], Operations: ['77-11=66', '66-36=30']
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,33 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[66, 4], Operations: ['77-11=66', '36-32=4']
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,33 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[66, 68], Operations: ['77-11=66', '32+36=68']
Exploring Operation: 66+68=134, Resulting Numbers: [134]
134,33 unequal: No Solution
Exploring Operation: 68-66=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 66*68=4488, Resulting Numbers: [4488]
4488,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 |
[
41,
32,
76,
42
] | 25 | [
"41-32=9",
"76-42=34",
"34-9=25"
] | Current State: 25:[41, 32, 76, 42], Operations: []
Exploring Operation: 41-32=9, Resulting Numbers: [76, 42, 9]
Generated Node #2: [76, 42, 9] from Operation: 41-32=9
Current State: 25:[76, 42, 9], Operations: ['41-32=9']
Exploring Operation: 76-42=34, Resulting Numbers: [9, 34]
Generated Node #3: [9, 34] from Operation: 76-42=34
Current State: 25:[9, 34], Operations: ['41-32=9', '76-42=34']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[41, 32, 76, 42], Operations: []
Exploring Operation: 76-41=35, Resulting Numbers: [32, 42, 35]
Generated Node #0,0: 25:[32, 42, 35] Operation: 76-41=35
Exploring Operation: 42-41=1, Resulting Numbers: [32, 76, 1]
Generated Node #0,1: 25:[32, 76, 1] Operation: 42-41=1
Exploring Operation: 76-32=44, Resulting Numbers: [41, 42, 44]
Generated Node #0,2: 25:[41, 42, 44] Operation: 76-32=44
Exploring Operation: 76-42=34, Resulting Numbers: [41, 32, 34]
Generated Node #0,3: 25:[41, 32, 34] Operation: 76-42=34
Exploring Operation: 41-32=9, Resulting Numbers: [76, 42, 9]
Generated Node #0,4: 25:[76, 42, 9] Operation: 41-32=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[41, 32, 34], Operations: ['76-42=34']
Exploring Operation: 41+34=75, Resulting Numbers: [32, 75]
Generated Node #0,3,0: 25:[32, 75] Operation: 41+34=75
Exploring Operation: 41-32=9, Resulting Numbers: [34, 9]
Generated Node #0,3,1: 25:[34, 9] Operation: 41-32=9
Exploring Operation: 41+32=73, Resulting Numbers: [34, 73]
Generated Node #0,3,2: 25:[34, 73] Operation: 41+32=73
Exploring Operation: 34-32=2, Resulting Numbers: [41, 2]
Generated Node #0,3,3: 25:[41, 2] Operation: 34-32=2
Exploring Operation: 41-34=7, Resulting Numbers: [32, 7]
Generated Node #0,3,4: 25:[32, 7] Operation: 41-34=7
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 25:[32, 7], Operations: ['76-42=34', '41-34=7']
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,25 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[41, 32, 76, 42], Operations: []
Exploring Operation: 76-42=34, Resulting Numbers: [41, 32, 34]
Generated Node #0,3: 25:[41, 32, 34] Operation: 76-42=34
Moving to Node #0,3
Current State: 25:[41, 32, 34], Operations: ['76-42=34']
Exploring Operation: 41-34=7, Resulting Numbers: [32, 7]
Generated Node #0,3,4: 25:[32, 7] Operation: 41-34=7
Moving to Node #0,3,4
Current State: 25:[32, 7], Operations: ['76-42=34', '41-34=7']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
63,
48,
4,
21
] | 41 | [
"63/21=3",
"48-4=44",
"44-3=41"
] | Current State: 41:[63, 48, 4, 21], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [48, 4, 3]
Generated Node #2: [48, 4, 3] from Operation: 63/21=3
Current State: 41:[48, 4, 3], Operations: ['63/21=3']
Exploring Operation: 48-4=44, Resulting Numbers: [3, 44]
Generated Node #3: [3, 44] from Operation: 48-4=44
Current State: 41:[3, 44], Operations: ['63/21=3', '48-4=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[63, 48, 4, 21], Operations: []
Exploring Operation: 63-21=42, Resulting Numbers: [48, 4, 42]
Generated Node #0,0: 41:[48, 4, 42] Operation: 63-21=42
Exploring Operation: 63-4=59, Resulting Numbers: [48, 21, 59]
Generated Node #0,1: 41:[48, 21, 59] Operation: 63-4=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[48, 4, 42], Operations: ['63-21=42']
Exploring Operation: 42-4=38, Resulting Numbers: [48, 38]
Generated Node #0,0,0: 41:[48, 38] Operation: 42-4=38
Exploring Operation: 48-4=44, Resulting Numbers: [42, 44]
Generated Node #0,0,1: 41:[42, 44] Operation: 48-4=44
Moving to Node #0,0,1
Current State: 41:[42, 44], Operations: ['63-21=42', '48-4=44']
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[48, 38], Operations: ['63-21=42', '42-4=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[48, 21, 59], Operations: ['63-4=59']
Exploring Operation: 48-21=27, Resulting Numbers: [59, 27]
Generated Node #0,1,0: 41:[59, 27] Operation: 48-21=27
Exploring Operation: 59-21=38, Resulting Numbers: [48, 38]
Generated Node #0,1,1: 41:[48, 38] Operation: 59-21=38
Moving to Node #0,1,1
Current State: 41:[48, 38], Operations: ['63-4=59', '59-21=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[59, 27], Operations: ['63-4=59', '48-21=27']
Exploring Operation: 59+27=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,41 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 |
[
95,
18,
61,
94
] | 80 | [
"95+18=113",
"94-61=33",
"113-33=80"
] | Current State: 80:[95, 18, 61, 94], Operations: []
Exploring Operation: 95+18=113, Resulting Numbers: [61, 94, 113]
Generated Node #2: [61, 94, 113] from Operation: 95+18=113
Current State: 80:[61, 94, 113], Operations: ['95+18=113']
Exploring Operation: 94-61=33, Resulting Numbers: [113, 33]
Generated Node #3: [113, 33] from Operation: 94-61=33
Current State: 80:[113, 33], Operations: ['95+18=113', '94-61=33']
Exploring Operation: 113-33=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[95, 18, 61, 94], Operations: []
Exploring Operation: 18+61=79, Resulting Numbers: [95, 94, 79]
Generated Node #0,0: 80:[95, 94, 79] Operation: 18+61=79
Exploring Operation: 94-61=33, Resulting Numbers: [95, 18, 33]
Generated Node #0,1: 80:[95, 18, 33] Operation: 94-61=33
Exploring Operation: 61-18=43, Resulting Numbers: [95, 94, 43]
Generated Node #0,2: 80:[95, 94, 43] Operation: 61-18=43
Exploring Operation: 95-94=1, Resulting Numbers: [18, 61, 1]
Generated Node #0,3: 80:[18, 61, 1] Operation: 95-94=1
Exploring Operation: 95-61=34, Resulting Numbers: [18, 94, 34]
Generated Node #0,4: 80:[18, 94, 34] Operation: 95-61=34
Moving to Node #0,3
Current State: 80:[18, 61, 1], Operations: ['95-94=1']
Exploring Operation: 61-18=43, Resulting Numbers: [1, 43]
Generated Node #0,3,0: 80:[1, 43] Operation: 61-18=43
Exploring Operation: 18-1=17, Resulting Numbers: [61, 17]
Generated Node #0,3,1: 80:[61, 17] Operation: 18-1=17
Exploring Operation: 18+1=19, Resulting Numbers: [61, 19]
Generated Node #0,3,2: 80:[61, 19] Operation: 18+1=19
Exploring Operation: 18+61=79, Resulting Numbers: [1, 79]
Generated Node #0,3,3: 80:[1, 79] Operation: 18+61=79
Exploring Operation: 61+1=62, Resulting Numbers: [18, 62]
Generated Node #0,3,4: 80:[18, 62] Operation: 61+1=62
Moving to Node #0,4
Current State: 80:[18, 94, 34], Operations: ['95-61=34']
Exploring Operation: 18+94=112, Resulting Numbers: [34, 112]
Generated Node #0,4,0: 80:[34, 112] Operation: 18+94=112
Exploring Operation: 18+34=52, Resulting Numbers: [94, 52]
Generated Node #0,4,1: 80:[94, 52] Operation: 18+34=52
Exploring Operation: 34-18=16, Resulting Numbers: [94, 16]
Generated Node #0,4,2: 80:[94, 16] Operation: 34-18=16
Exploring Operation: 94-18=76, Resulting Numbers: [34, 76]
Generated Node #0,4,3: 80:[34, 76] Operation: 94-18=76
Exploring Operation: 94-34=60, Resulting Numbers: [18, 60]
Generated Node #0,4,4: 80:[18, 60] Operation: 94-34=60
Moving to Node #0,1
Current State: 80:[95, 18, 33], Operations: ['94-61=33']
Exploring Operation: 95-18=77, Resulting Numbers: [33, 77]
Generated Node #0,1,0: 80:[33, 77] Operation: 95-18=77
Exploring Operation: 95-33=62, Resulting Numbers: [18, 62]
Generated Node #0,1,1: 80:[18, 62] Operation: 95-33=62
Exploring Operation: 95+18=113, Resulting Numbers: [33, 113]
Generated Node #0,1,2: 80:[33, 113] Operation: 95+18=113
Exploring Operation: 18+33=51, Resulting Numbers: [95, 51]
Generated Node #0,1,3: 80:[95, 51] Operation: 18+33=51
Exploring Operation: 33-18=15, Resulting Numbers: [95, 15]
Generated Node #0,1,4: 80:[95, 15] Operation: 33-18=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[33, 77], Operations: ['94-61=33', '95-18=77']
Exploring Operation: 33*77=2541, Resulting Numbers: [2541]
2541,80 unequal: No Solution
Exploring Operation: 33+77=110, Resulting Numbers: [110]
110,80 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,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,4
Current State: 80:[95, 15], Operations: ['94-61=33', '33-18=15']
Exploring Operation: 95+15=110, Resulting Numbers: [110]
110,80 unequal: No Solution
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[95, 18, 61, 94], Operations: []
Exploring Operation: 94-61=33, Resulting Numbers: [95, 18, 33]
Generated Node #0,1: 80:[95, 18, 33] Operation: 94-61=33
Moving to Node #0,1
Current State: 80:[95, 18, 33], Operations: ['94-61=33']
Exploring Operation: 33-18=15, Resulting Numbers: [95, 15]
Generated Node #0,1,4: 80:[95, 15] Operation: 33-18=15
Moving to Node #0,1,4
Current State: 80:[95, 15], Operations: ['94-61=33', '33-18=15']
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_5 | mult_heuristic |
[
28,
70,
42,
42
] | 67 | [
"42-28=14",
"42/14=3",
"70-3=67"
] | Current State: 67:[28, 70, 42, 42], Operations: []
Exploring Operation: 42-28=14, Resulting Numbers: [70, 14]
Generated Node #2: [70, 14] from Operation: 42-28=14
Current State: 67:[70, 14], Operations: ['42-28=14']
Exploring Operation: 42/14=3, Resulting Numbers: [70, 3]
Generated Node #3: [70, 3] from Operation: 42/14=3
Current State: 67:[70, 3], Operations: ['42-28=14', '42/14=3']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[28, 70, 42, 42], Operations: []
Exploring Operation: 28+42=70, Resulting Numbers: [70, 42, 70]
Generated Node #0,0: 67:[70, 42, 70] Operation: 28+42=70
Exploring Operation: 28+42=70, Resulting Numbers: [70, 42, 70]
Generated Node #0,1: 67:[70, 42, 70] Operation: 28+42=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[70, 42, 70], Operations: ['28+42=70']
Exploring Operation: 70-42=28, Resulting Numbers: [70, 28]
Generated Node #0,0,0: 67:[70, 28] Operation: 70-42=28
Exploring Operation: 70-42=28, Resulting Numbers: [70, 28]
Generated Node #0,0,1: 67:[70, 28] Operation: 70-42=28
Moving to Node #0,0,0
Current State: 67:[70, 28], Operations: ['28+42=70', '70-42=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[70, 28], Operations: ['28+42=70', '70-42=28']
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,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,1
Current State: 67:[70, 42, 70], Operations: ['28+42=70']
Exploring Operation: 70-42=28, Resulting Numbers: [70, 28]
Generated Node #0,1,0: 67:[70, 28] Operation: 70-42=28
Exploring Operation: 70-42=28, Resulting Numbers: [70, 28]
Generated Node #0,1,1: 67:[70, 28] Operation: 70-42=28
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[70, 28], Operations: ['28+42=70', '70-42=28']
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,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:[70, 28], Operations: ['28+42=70', '70-42=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,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_2 | sum_heuristic |
[
11,
26,
67,
87
] | 17 | [
"11+26=37",
"87-67=20",
"37-20=17"
] | Current State: 17:[11, 26, 67, 87], Operations: []
Exploring Operation: 11+26=37, Resulting Numbers: [67, 87, 37]
Generated Node #2: [67, 87, 37] from Operation: 11+26=37
Current State: 17:[67, 87, 37], Operations: ['11+26=37']
Exploring Operation: 87-67=20, Resulting Numbers: [37, 20]
Generated Node #3: [37, 20] from Operation: 87-67=20
Current State: 17:[37, 20], Operations: ['11+26=37', '87-67=20']
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[11, 26, 67, 87], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [11, 26, 20]
Generated Node #0,0: 17:[11, 26, 20] Operation: 87-67=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[11, 26, 20], Operations: ['87-67=20']
Exploring Operation: 26-11=15, Resulting Numbers: [20, 15]
Generated Node #0,0,0: 17:[20, 15] Operation: 26-11=15
Moving to Node #0,0,0
Current State: 17:[20, 15], Operations: ['87-67=20', '26-11=15']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,17 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 |
[
89,
14,
38,
30
] | 23 | [
"38-30=8",
"14*8=112",
"112-89=23"
] | Current State: 23:[89, 14, 38, 30], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [89, 14, 8]
Generated Node #2: [89, 14, 8] from Operation: 38-30=8
Current State: 23:[89, 14, 8], Operations: ['38-30=8']
Exploring Operation: 14*8=112, Resulting Numbers: [89, 112]
Generated Node #3: [89, 112] from Operation: 14*8=112
Current State: 23:[89, 112], Operations: ['38-30=8', '14*8=112']
Exploring Operation: 112-89=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[89, 14, 38, 30], Operations: []
Exploring Operation: 89-38=51, Resulting Numbers: [14, 30, 51]
Generated Node #0,0: 23:[14, 30, 51] Operation: 89-38=51
Exploring Operation: 89-30=59, Resulting Numbers: [14, 38, 59]
Generated Node #0,1: 23:[14, 38, 59] Operation: 89-30=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[14, 30, 51], Operations: ['89-38=51']
Exploring Operation: 51-30=21, Resulting Numbers: [14, 21]
Generated Node #0,0,0: 23:[14, 21] Operation: 51-30=21
Exploring Operation: 51-14=37, Resulting Numbers: [30, 37]
Generated Node #0,0,1: 23:[30, 37] Operation: 51-14=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[14, 21], Operations: ['89-38=51', '51-30=21']
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,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,1
Current State: 23:[30, 37], Operations: ['89-38=51', '51-14=37']
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,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,1
Current State: 23:[14, 38, 59], Operations: ['89-30=59']
Exploring Operation: 38-14=24, Resulting Numbers: [59, 24]
Generated Node #0,1,0: 23:[59, 24] Operation: 38-14=24
Exploring Operation: 59-38=21, Resulting Numbers: [14, 21]
Generated Node #0,1,1: 23:[14, 21] Operation: 59-38=21
Moving to Node #0,1,1
Current State: 23:[14, 21], Operations: ['89-30=59', '59-38=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[59, 24], Operations: ['89-30=59', '38-14=24']
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,23 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 |
[
14,
35,
42,
44
] | 82 | [
"42/14=3",
"35+44=79",
"3+79=82"
] | Current State: 82:[14, 35, 42, 44], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [35, 44, 3]
Generated Node #2: [35, 44, 3] from Operation: 42/14=3
Current State: 82:[35, 44, 3], Operations: ['42/14=3']
Exploring Operation: 35+44=79, Resulting Numbers: [3, 79]
Generated Node #3: [3, 79] from Operation: 35+44=79
Current State: 82:[3, 79], Operations: ['42/14=3', '35+44=79']
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[14, 35, 42, 44], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [35, 44, 3]
Generated Node #0,0: 82:[35, 44, 3] Operation: 42/14=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[35, 44, 3], Operations: ['42/14=3']
Exploring Operation: 35+44=79, Resulting Numbers: [3, 79]
Generated Node #0,0,0: 82:[3, 79] Operation: 35+44=79
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[3, 79], Operations: ['42/14=3', '35+44=79']
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[14, 35, 42, 44], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [35, 44, 3]
Generated Node #0,0: 82:[35, 44, 3] Operation: 42/14=3
Moving to Node #0,0
Current State: 82:[35, 44, 3], Operations: ['42/14=3']
Exploring Operation: 35+44=79, Resulting Numbers: [3, 79]
Generated Node #0,0,0: 82:[3, 79] Operation: 35+44=79
Moving to Node #0,0,0
Current State: 82:[3, 79], Operations: ['42/14=3', '35+44=79']
Exploring Operation: 3+79=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 |
[
72,
37,
33,
22
] | 20 | [
"72-37=35",
"33+22=55",
"55-35=20"
] | Current State: 20:[72, 37, 33, 22], Operations: []
Exploring Operation: 72-37=35, Resulting Numbers: [33, 22, 35]
Generated Node #2: [33, 22, 35] from Operation: 72-37=35
Current State: 20:[33, 22, 35], Operations: ['72-37=35']
Exploring Operation: 33+22=55, Resulting Numbers: [35, 55]
Generated Node #3: [35, 55] from Operation: 33+22=55
Current State: 20:[35, 55], Operations: ['72-37=35', '33+22=55']
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[72, 37, 33, 22], Operations: []
Exploring Operation: 72-37=35, Resulting Numbers: [33, 22, 35]
Generated Node #0,0: 20:[33, 22, 35] Operation: 72-37=35
Exploring Operation: 72-33=39, Resulting Numbers: [37, 22, 39]
Generated Node #0,1: 20:[37, 22, 39] Operation: 72-33=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[33, 22, 35], Operations: ['72-37=35']
Exploring Operation: 35-33=2, Resulting Numbers: [22, 2]
Generated Node #0,0,0: 20:[22, 2] Operation: 35-33=2
Exploring Operation: 33-22=11, Resulting Numbers: [35, 11]
Generated Node #0,0,1: 20:[35, 11] Operation: 33-22=11
Moving to Node #0,0,0
Current State: 20:[22, 2], Operations: ['72-37=35', '35-33=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[72, 37, 33, 22], Operations: []
Exploring Operation: 72-37=35, Resulting Numbers: [33, 22, 35]
Generated Node #0,0: 20:[33, 22, 35] Operation: 72-37=35
Moving to Node #0,0
Current State: 20:[33, 22, 35], Operations: ['72-37=35']
Exploring Operation: 35-33=2, Resulting Numbers: [22, 2]
Generated Node #0,0,0: 20:[22, 2] Operation: 35-33=2
Moving to Node #0,0,0
Current State: 20:[22, 2], Operations: ['72-37=35', '35-33=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
4,
57,
12,
7
] | 36 | [
"12/4=3",
"7*3=21",
"57-21=36"
] | Current State: 36:[4, 57, 12, 7], Operations: []
Exploring Operation: 12/4=3, Resulting Numbers: [57, 7, 3]
Generated Node #2: [57, 7, 3] from Operation: 12/4=3
Current State: 36:[57, 7, 3], Operations: ['12/4=3']
Exploring Operation: 7*3=21, Resulting Numbers: [57, 21]
Generated Node #3: [57, 21] from Operation: 7*3=21
Current State: 36:[57, 21], Operations: ['12/4=3', '7*3=21']
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[4, 57, 12, 7], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [4, 7, 45]
Generated Node #0,0: 36:[4, 7, 45] Operation: 57-12=45
Exploring Operation: 57-7=50, Resulting Numbers: [4, 12, 50]
Generated Node #0,1: 36:[4, 12, 50] Operation: 57-7=50
Moving to Node #0,0
Current State: 36:[4, 7, 45], Operations: ['57-12=45']
Exploring Operation: 45-4=41, Resulting Numbers: [7, 41]
Generated Node #0,0,0: 36:[7, 41] Operation: 45-4=41
Exploring Operation: 45-7=38, Resulting Numbers: [4, 38]
Generated Node #0,0,1: 36:[4, 38] Operation: 45-7=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[4, 38], Operations: ['57-12=45', '45-7=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,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,0
Current State: 36:[7, 41], Operations: ['57-12=45', '45-4=41']
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,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 1
No solution found in sub search
Moving to Node #0,1
Current State: 36:[4, 12, 50], Operations: ['57-7=50']
Exploring Operation: 50-12=38, Resulting Numbers: [4, 38]
Generated Node #0,1,0: 36:[4, 38] Operation: 50-12=38
Exploring Operation: 50-4=46, Resulting Numbers: [12, 46]
Generated Node #0,1,1: 36:[12, 46] Operation: 50-4=46
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[4, 38], Operations: ['57-7=50', '50-12=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,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,1
Current State: 36:[12, 46], Operations: ['57-7=50', '50-4=46']
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,36 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 |
[
2,
91,
91,
65
] | 52 | [
"2*65=130",
"91+91=182",
"182-130=52"
] | Current State: 52:[2, 91, 91, 65], Operations: []
Exploring Operation: 2*65=130, Resulting Numbers: [91, 91, 130]
Generated Node #2: [91, 91, 130] from Operation: 2*65=130
Current State: 52:[91, 91, 130], Operations: ['2*65=130']
Exploring Operation: 91+91=182, Resulting Numbers: [130, 182]
Generated Node #3: [130, 182] from Operation: 91+91=182
Current State: 52:[130, 182], Operations: ['2*65=130', '91+91=182']
Exploring Operation: 182-130=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[2, 91, 91, 65], Operations: []
Exploring Operation: 91/91=1, Resulting Numbers: [2, 65, 1]
Generated Node #0,0: 52:[2, 65, 1] Operation: 91/91=1
Exploring Operation: 91-91=0, Resulting Numbers: [2, 65, 0]
Generated Node #0,1: 52:[2, 65, 0] Operation: 91-91=0
Moving to Node #0,0
Current State: 52:[2, 65, 1], Operations: ['91/91=1']
Exploring Operation: 65-2=63, Resulting Numbers: [1, 63]
Generated Node #0,0,0: 52:[1, 63] Operation: 65-2=63
Exploring Operation: 65-1=64, Resulting Numbers: [2, 64]
Generated Node #0,0,1: 52:[2, 64] Operation: 65-1=64
Moving to Node #0,1
Current State: 52:[2, 65, 0], Operations: ['91-91=0']
Exploring Operation: 65*0=0, Resulting Numbers: [2, 0]
Generated Node #0,1,0: 52:[2, 0] Operation: 65*0=0
Exploring Operation: 65-2=63, Resulting Numbers: [0, 63]
Generated Node #0,1,1: 52:[0, 63] Operation: 65-2=63
Moving to Node #0,1,0
Current State: 52:[2, 0], Operations: ['91-91=0', '65*0=0']
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[1, 63], Operations: ['91/91=1', '65-2=63']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[2, 64], Operations: ['91/91=1', '65-1=64']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[0, 63], Operations: ['91-91=0', '65-2=63']
Exploring Operation: 0*63=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Exploring Operation: 0+63=63, Resulting Numbers: [63]
63,52 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
70,
1,
55,
37
] | 87 | [
"70-1=69",
"55-37=18",
"69+18=87"
] | Current State: 87:[70, 1, 55, 37], Operations: []
Exploring Operation: 70-1=69, Resulting Numbers: [55, 37, 69]
Generated Node #2: [55, 37, 69] from Operation: 70-1=69
Current State: 87:[55, 37, 69], Operations: ['70-1=69']
Exploring Operation: 55-37=18, Resulting Numbers: [69, 18]
Generated Node #3: [69, 18] from Operation: 55-37=18
Current State: 87:[69, 18], Operations: ['70-1=69', '55-37=18']
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[70, 1, 55, 37], Operations: []
Exploring Operation: 70-37=33, Resulting Numbers: [1, 55, 33]
Generated Node #0,0: 87:[1, 55, 33] Operation: 70-37=33
Exploring Operation: 70+55=125, Resulting Numbers: [1, 37, 125]
Generated Node #0,1: 87:[1, 37, 125] Operation: 70+55=125
Exploring Operation: 55+37=92, Resulting Numbers: [70, 1, 92]
Generated Node #0,2: 87:[70, 1, 92] Operation: 55+37=92
Exploring Operation: 70-55=15, Resulting Numbers: [1, 37, 15]
Generated Node #0,3: 87:[1, 37, 15] Operation: 70-55=15
Exploring Operation: 55-37=18, Resulting Numbers: [70, 1, 18]
Generated Node #0,4: 87:[70, 1, 18] Operation: 55-37=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[1, 37, 15], Operations: ['70-55=15']
Exploring Operation: 37/1=37, Resulting Numbers: [15, 37]
Generated Node #0,3,0: 87:[15, 37] Operation: 37/1=37
Exploring Operation: 1*37=37, Resulting Numbers: [15, 37]
Generated Node #0,3,1: 87:[15, 37] Operation: 1*37=37
Exploring Operation: 37-15=22, Resulting Numbers: [1, 22]
Generated Node #0,3,2: 87:[1, 22] Operation: 37-15=22
Exploring Operation: 37-1=36, Resulting Numbers: [15, 36]
Generated Node #0,3,3: 87:[15, 36] Operation: 37-1=36
Exploring Operation: 15-1=14, Resulting Numbers: [37, 14]
Generated Node #0,3,4: 87:[37, 14] Operation: 15-1=14
Moving to Node #0,3,2
Current State: 87:[1, 22], Operations: ['70-55=15', '37-15=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,87 unequal: No Solution
Moving to Node #0,3,4
Current State: 87:[37, 14], Operations: ['70-55=15', '15-1=14']
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,87 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,87 unequal: No Solution
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[15, 36], Operations: ['70-55=15', '37-1=36']
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,87 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,87 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[15, 37], Operations: ['70-55=15', '37/1=37']
Exploring Operation: 15+37=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 15*37=555, Resulting Numbers: [555]
555,87 unequal: No Solution
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[15, 37], Operations: ['70-55=15', '1*37=37']
Exploring Operation: 15*37=555, Resulting Numbers: [555]
555,87 unequal: No Solution
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 15+37=52, Resulting Numbers: [52]
52,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[70, 1, 92], Operations: ['55+37=92']
Exploring Operation: 70/1=70, Resulting Numbers: [92, 70]
Generated Node #0,2,0: 87:[92, 70] Operation: 70/1=70
Exploring Operation: 92-70=22, Resulting Numbers: [1, 22]
Generated Node #0,2,1: 87:[1, 22] Operation: 92-70=22
Exploring Operation: 70+1=71, Resulting Numbers: [92, 71]
Generated Node #0,2,2: 87:[92, 71] Operation: 70+1=71
Exploring Operation: 92-1=91, Resulting Numbers: [70, 91]
Generated Node #0,2,3: 87:[70, 91] Operation: 92-1=91
Exploring Operation: 70*1=70, Resulting Numbers: [92, 70]
Generated Node #0,2,4: 87:[92, 70] Operation: 70*1=70
Moving to Node #0,2,1
Current State: 87:[1, 22], Operations: ['55+37=92', '92-70=22']
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,87 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[70, 91], Operations: ['55+37=92', '92-1=91']
Exploring Operation: 70+91=161, Resulting Numbers: [161]
161,87 unequal: No Solution
Exploring Operation: 70*91=6370, Resulting Numbers: [6370]
6370,87 unequal: No Solution
Exploring Operation: 91-70=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[92, 71], Operations: ['55+37=92', '70+1=71']
Exploring Operation: 92*71=6532, Resulting Numbers: [6532]
6532,87 unequal: No Solution
Exploring Operation: 92+71=163, Resulting Numbers: [163]
163,87 unequal: No Solution
Exploring Operation: 92-71=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[92, 70], Operations: ['55+37=92', '70/1=70']
Exploring Operation: 92+70=162, Resulting Numbers: [162]
162,87 unequal: No Solution
Exploring Operation: 92*70=6440, Resulting Numbers: [6440]
6440,87 unequal: No Solution
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Moving to Node #0,2,4
Current State: 87:[92, 70], Operations: ['55+37=92', '70*1=70']
Exploring Operation: 92+70=162, Resulting Numbers: [162]
162,87 unequal: No Solution
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 92*70=6440, Resulting Numbers: [6440]
6440,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 87:[70, 1, 18], Operations: ['55-37=18']
Exploring Operation: 70+18=88, Resulting Numbers: [1, 88]
Generated Node #0,4,0: 87:[1, 88] Operation: 70+18=88
Exploring Operation: 70+1=71, Resulting Numbers: [18, 71]
Generated Node #0,4,1: 87:[18, 71] Operation: 70+1=71
Exploring Operation: 1+18=19, Resulting Numbers: [70, 19]
Generated Node #0,4,2: 87:[70, 19] Operation: 1+18=19
Exploring Operation: 70*1=70, Resulting Numbers: [18, 70]
Generated Node #0,4,3: 87:[18, 70] Operation: 70*1=70
Exploring Operation: 70-18=52, Resulting Numbers: [1, 52]
Generated Node #0,4,4: 87:[1, 52] Operation: 70-18=52
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 87:[1, 88], Operations: ['55-37=18', '70+18=88']
Exploring Operation: 1*88=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[70, 1, 55, 37], Operations: []
Exploring Operation: 55-37=18, Resulting Numbers: [70, 1, 18]
Generated Node #0,4: 87:[70, 1, 18] Operation: 55-37=18
Moving to Node #0,4
Current State: 87:[70, 1, 18], Operations: ['55-37=18']
Exploring Operation: 70+18=88, Resulting Numbers: [1, 88]
Generated Node #0,4,0: 87:[1, 88] Operation: 70+18=88
Moving to Node #0,4,0
Current State: 87:[1, 88], Operations: ['55-37=18', '70+18=88']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.948785 | hs_5 | sum_heuristic |
[
36,
44,
2,
7
] | 75 | [
"36+44=80",
"7-2=5",
"80-5=75"
] | Current State: 75:[36, 44, 2, 7], Operations: []
Exploring Operation: 36+44=80, Resulting Numbers: [2, 7, 80]
Generated Node #2: [2, 7, 80] from Operation: 36+44=80
Current State: 75:[2, 7, 80], Operations: ['36+44=80']
Exploring Operation: 7-2=5, Resulting Numbers: [80, 5]
Generated Node #3: [80, 5] from Operation: 7-2=5
Current State: 75:[80, 5], Operations: ['36+44=80', '7-2=5']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[36, 44, 2, 7], Operations: []
Exploring Operation: 44-36=8, Resulting Numbers: [2, 7, 8]
Generated Node #0,0: 75:[2, 7, 8] Operation: 44-36=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[2, 7, 8], Operations: ['44-36=8']
Exploring Operation: 7+8=15, Resulting Numbers: [2, 15]
Generated Node #0,0,0: 75:[2, 15] Operation: 7+8=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[2, 15], Operations: ['44-36=8', '7+8=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,75 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 |
[
45,
28,
38,
59
] | 22 | [
"45*28=1260",
"38+1260=1298",
"1298/59=22"
] | Current State: 22:[45, 28, 38, 59], Operations: []
Exploring Operation: 45*28=1260, Resulting Numbers: [38, 59, 1260]
Generated Node #2: [38, 59, 1260] from Operation: 45*28=1260
Current State: 22:[38, 59, 1260], Operations: ['45*28=1260']
Exploring Operation: 38+1260=1298, Resulting Numbers: [59, 1298]
Generated Node #3: [59, 1298] from Operation: 38+1260=1298
Current State: 22:[59, 1298], Operations: ['45*28=1260', '38+1260=1298']
Exploring Operation: 1298/59=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[45, 28, 38, 59], Operations: []
Exploring Operation: 59-38=21, Resulting Numbers: [45, 28, 21]
Generated Node #0,0: 22:[45, 28, 21] Operation: 59-38=21
Exploring Operation: 59-45=14, Resulting Numbers: [28, 38, 14]
Generated Node #0,1: 22:[28, 38, 14] Operation: 59-45=14
Exploring Operation: 45-38=7, Resulting Numbers: [28, 59, 7]
Generated Node #0,2: 22:[28, 59, 7] Operation: 45-38=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[28, 38, 14], Operations: ['59-45=14']
Exploring Operation: 28/14=2, Resulting Numbers: [38, 2]
Generated Node #0,1,0: 22:[38, 2] Operation: 28/14=2
Exploring Operation: 38-14=24, Resulting Numbers: [28, 24]
Generated Node #0,1,1: 22:[28, 24] Operation: 38-14=24
Exploring Operation: 38-28=10, Resulting Numbers: [14, 10]
Generated Node #0,1,2: 22:[14, 10] Operation: 38-28=10
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[14, 10], Operations: ['59-45=14', '38-28=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,22 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: 22:[28, 24], Operations: ['59-45=14', '38-14=24']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,22 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,22 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: 22:[38, 2], Operations: ['59-45=14', '28/14=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,22 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: 22:[45, 28, 21], Operations: ['59-38=21']
Exploring Operation: 45-21=24, Resulting Numbers: [28, 24]
Generated Node #0,0,0: 22:[28, 24] Operation: 45-21=24
Exploring Operation: 28-21=7, Resulting Numbers: [45, 7]
Generated Node #0,0,1: 22:[45, 7] Operation: 28-21=7
Exploring Operation: 45-28=17, Resulting Numbers: [21, 17]
Generated Node #0,0,2: 22:[21, 17] Operation: 45-28=17
Moving to Node #0,0,2
Current State: 22:[21, 17], Operations: ['59-38=21', '45-28=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[28, 24], Operations: ['59-38=21', '45-21=24']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,22 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[45, 7], Operations: ['59-38=21', '28-21=7']
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,22 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,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
Current State: 22:[28, 59, 7], Operations: ['45-38=7']
Exploring Operation: 28-7=21, Resulting Numbers: [59, 21]
Generated Node #0,2,0: 22:[59, 21] Operation: 28-7=21
Exploring Operation: 59-28=31, Resulting Numbers: [7, 31]
Generated Node #0,2,1: 22:[7, 31] Operation: 59-28=31
Exploring Operation: 59-7=52, Resulting Numbers: [28, 52]
Generated Node #0,2,2: 22:[28, 52] Operation: 59-7=52
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[7, 31], Operations: ['45-38=7', '59-28=31']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,22 unequal: No Solution
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,22 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: 22:[28, 52], Operations: ['45-38=7', '59-7=52']
Exploring Operation: 28*52=1456, Resulting Numbers: [1456]
1456,22 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,22 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: 22:[59, 21], Operations: ['45-38=7', '28-7=21']
Exploring Operation: 59*21=1239, Resulting Numbers: [1239]
1239,22 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 59+21=80, Resulting Numbers: [80]
80,22 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 |
[
11,
13,
28,
45
] | 31 | [
"13-11=2",
"28/2=14",
"45-14=31"
] | Current State: 31:[11, 13, 28, 45], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [28, 45, 2]
Generated Node #2: [28, 45, 2] from Operation: 13-11=2
Current State: 31:[28, 45, 2], Operations: ['13-11=2']
Exploring Operation: 28/2=14, Resulting Numbers: [45, 14]
Generated Node #3: [45, 14] from Operation: 28/2=14
Current State: 31:[45, 14], Operations: ['13-11=2', '28/2=14']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[11, 13, 28, 45], Operations: []
Exploring Operation: 45-11=34, Resulting Numbers: [13, 28, 34]
Generated Node #0,0: 31:[13, 28, 34] Operation: 45-11=34
Exploring Operation: 45-13=32, Resulting Numbers: [11, 28, 32]
Generated Node #0,1: 31:[11, 28, 32] Operation: 45-13=32
Exploring Operation: 11+13=24, Resulting Numbers: [28, 45, 24]
Generated Node #0,2: 31:[28, 45, 24] Operation: 11+13=24
Moving to Node #0,0
Current State: 31:[13, 28, 34], Operations: ['45-11=34']
Exploring Operation: 34-13=21, Resulting Numbers: [28, 21]
Generated Node #0,0,0: 31:[28, 21] Operation: 34-13=21
Exploring Operation: 28-13=15, Resulting Numbers: [34, 15]
Generated Node #0,0,1: 31:[34, 15] Operation: 28-13=15
Exploring Operation: 13+28=41, Resulting Numbers: [34, 41]
Generated Node #0,0,2: 31:[34, 41] Operation: 13+28=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[28, 21], Operations: ['45-11=34', '34-13=21']
Exploring Operation: 28*21=588, Resulting Numbers: [588]
588,31 unequal: No Solution
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 31:[34, 41], Operations: ['45-11=34', '13+28=41']
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,31 unequal: No Solution
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[34, 15], Operations: ['45-11=34', '28-13=15']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,31 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: 31:[11, 28, 32], Operations: ['45-13=32']
Exploring Operation: 11+28=39, Resulting Numbers: [32, 39]
Generated Node #0,1,0: 31:[32, 39] Operation: 11+28=39
Exploring Operation: 32-11=21, Resulting Numbers: [28, 21]
Generated Node #0,1,1: 31:[28, 21] Operation: 32-11=21
Exploring Operation: 28-11=17, Resulting Numbers: [32, 17]
Generated Node #0,1,2: 31:[32, 17] Operation: 28-11=17
Moving to Node #0,2
Current State: 31:[28, 45, 24], Operations: ['11+13=24']
Exploring Operation: 45-24=21, Resulting Numbers: [28, 21]
Generated Node #0,2,0: 31:[28, 21] Operation: 45-24=21
Exploring Operation: 28+24=52, Resulting Numbers: [45, 52]
Generated Node #0,2,1: 31:[45, 52] Operation: 28+24=52
Exploring Operation: 45-28=17, Resulting Numbers: [24, 17]
Generated Node #0,2,2: 31:[24, 17] Operation: 45-28=17
Moving to Node #0,1,0
Current State: 31:[32, 39], Operations: ['45-13=32', '11+28=39']
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,31 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[28, 21], Operations: ['45-13=32', '32-11=21']
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 28*21=588, Resulting Numbers: [588]
588,31 unequal: No Solution
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[28, 21], Operations: ['11+13=24', '45-24=21']
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 28*21=588, Resulting Numbers: [588]
588,31 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[32, 17], Operations: ['45-13=32', '28-11=17']
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,31 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[24, 17], Operations: ['11+13=24', '45-28=17']
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[45, 52], Operations: ['11+13=24', '28+24=52']
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,31 unequal: No Solution
Exploring Operation: 45*52=2340, Resulting Numbers: [2340]
2340,31 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
27,
16,
24,
62
] | 44 | [
"27*16=432",
"432/24=18",
"62-18=44"
] | Current State: 44:[27, 16, 24, 62], Operations: []
Exploring Operation: 27*16=432, Resulting Numbers: [24, 62, 432]
Generated Node #2: [24, 62, 432] from Operation: 27*16=432
Current State: 44:[24, 62, 432], Operations: ['27*16=432']
Exploring Operation: 432/24=18, Resulting Numbers: [62, 18]
Generated Node #3: [62, 18] from Operation: 432/24=18
Current State: 44:[62, 18], Operations: ['27*16=432', '432/24=18']
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[27, 16, 24, 62], Operations: []
Exploring Operation: 62-16=46, Resulting Numbers: [27, 24, 46]
Generated Node #0,0: 44:[27, 24, 46] Operation: 62-16=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[27, 24, 46], Operations: ['62-16=46']
Exploring Operation: 27-24=3, Resulting Numbers: [46, 3]
Generated Node #0,0,0: 44:[46, 3] Operation: 27-24=3
Moving to Node #0,0,0
Current State: 44:[46, 3], Operations: ['62-16=46', '27-24=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,44 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 |
[
48,
16,
96,
55
] | 78 | [
"96/48=2",
"55-16=39",
"2*39=78"
] | Current State: 78:[48, 16, 96, 55], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [16, 55, 2]
Generated Node #2: [16, 55, 2] from Operation: 96/48=2
Current State: 78:[16, 55, 2], Operations: ['96/48=2']
Exploring Operation: 55-16=39, Resulting Numbers: [2, 39]
Generated Node #3: [2, 39] from Operation: 55-16=39
Current State: 78:[2, 39], Operations: ['96/48=2', '55-16=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[48, 16, 96, 55], Operations: []
Exploring Operation: 96-55=41, Resulting Numbers: [48, 16, 41]
Generated Node #0,0: 78:[48, 16, 41] Operation: 96-55=41
Exploring Operation: 96/48=2, Resulting Numbers: [16, 55, 2]
Generated Node #0,1: 78:[16, 55, 2] Operation: 96/48=2
Moving to Node #0,0
Current State: 78:[48, 16, 41], Operations: ['96-55=41']
Exploring Operation: 48/16=3, Resulting Numbers: [41, 3]
Generated Node #0,0,0: 78:[41, 3] Operation: 48/16=3
Exploring Operation: 48-41=7, Resulting Numbers: [16, 7]
Generated Node #0,0,1: 78:[16, 7] Operation: 48-41=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[41, 3], Operations: ['96-55=41', '48/16=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[16, 7], Operations: ['96-55=41', '48-41=7']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,78 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: 78:[16, 55, 2], Operations: ['96/48=2']
Exploring Operation: 55-16=39, Resulting Numbers: [2, 39]
Generated Node #0,1,0: 78:[2, 39] Operation: 55-16=39
Exploring Operation: 16+55=71, Resulting Numbers: [2, 71]
Generated Node #0,1,1: 78:[2, 71] Operation: 16+55=71
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[2, 39], Operations: ['96/48=2', '55-16=39']
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[48, 16, 96, 55], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [16, 55, 2]
Generated Node #0,1: 78:[16, 55, 2] Operation: 96/48=2
Moving to Node #0,1
Current State: 78:[16, 55, 2], Operations: ['96/48=2']
Exploring Operation: 55-16=39, Resulting Numbers: [2, 39]
Generated Node #0,1,0: 78:[2, 39] Operation: 55-16=39
Moving to Node #0,1,0
Current State: 78:[2, 39], Operations: ['96/48=2', '55-16=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
22,
43,
8,
70
] | 63 | [
"22*8=176",
"43+70=113",
"176-113=63"
] | Current State: 63:[22, 43, 8, 70], Operations: []
Exploring Operation: 22*8=176, Resulting Numbers: [43, 70, 176]
Generated Node #2: [43, 70, 176] from Operation: 22*8=176
Current State: 63:[43, 70, 176], Operations: ['22*8=176']
Exploring Operation: 43+70=113, Resulting Numbers: [176, 113]
Generated Node #3: [176, 113] from Operation: 43+70=113
Current State: 63:[176, 113], Operations: ['22*8=176', '43+70=113']
Exploring Operation: 176-113=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[22, 43, 8, 70], Operations: []
Exploring Operation: 43+8=51, Resulting Numbers: [22, 70, 51]
Generated Node #0,0: 63:[22, 70, 51] Operation: 43+8=51
Exploring Operation: 70-43=27, Resulting Numbers: [22, 8, 27]
Generated Node #0,1: 63:[22, 8, 27] Operation: 70-43=27
Exploring Operation: 43-22=21, Resulting Numbers: [8, 70, 21]
Generated Node #0,2: 63:[8, 70, 21] Operation: 43-22=21
Exploring Operation: 22+43=65, Resulting Numbers: [8, 70, 65]
Generated Node #0,3: 63:[8, 70, 65] Operation: 22+43=65
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[22, 8, 27], Operations: ['70-43=27']
Exploring Operation: 27-8=19, Resulting Numbers: [22, 19]
Generated Node #0,1,0: 63:[22, 19] Operation: 27-8=19
Exploring Operation: 22+8=30, Resulting Numbers: [27, 30]
Generated Node #0,1,1: 63:[27, 30] Operation: 22+8=30
Exploring Operation: 27-22=5, Resulting Numbers: [8, 5]
Generated Node #0,1,2: 63:[8, 5] Operation: 27-22=5
Exploring Operation: 22-8=14, Resulting Numbers: [27, 14]
Generated Node #0,1,3: 63:[27, 14] Operation: 22-8=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[22, 19], Operations: ['70-43=27', '27-8=19']
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,63 unequal: No Solution
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,63 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: 63:[8, 5], Operations: ['70-43=27', '27-22=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,63 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: 63:[27, 14], Operations: ['70-43=27', '22-8=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,63 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,63 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: 63:[27, 30], Operations: ['70-43=27', '22+8=30']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,63 unequal: No Solution
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,63 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: 63:[8, 70, 21], Operations: ['43-22=21']
Exploring Operation: 8+70=78, Resulting Numbers: [21, 78]
Generated Node #0,2,0: 63:[21, 78] Operation: 8+70=78
Exploring Operation: 8+21=29, Resulting Numbers: [70, 29]
Generated Node #0,2,1: 63:[70, 29] Operation: 8+21=29
Exploring Operation: 21-8=13, Resulting Numbers: [70, 13]
Generated Node #0,2,2: 63:[70, 13] Operation: 21-8=13
Exploring Operation: 70-8=62, Resulting Numbers: [21, 62]
Generated Node #0,2,3: 63:[21, 62] Operation: 70-8=62
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 63:[21, 62], Operations: ['43-22=21', '70-8=62']
Exploring Operation: 21*62=1302, Resulting Numbers: [1302]
1302,63 unequal: No Solution
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,63 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,63 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: 63:[70, 13], Operations: ['43-22=21', '21-8=13']
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,63 unequal: No Solution
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,63 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,63 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: 63:[21, 78], Operations: ['43-22=21', '8+70=78']
Exploring Operation: 21+78=99, Resulting Numbers: [99]
99,63 unequal: No Solution
Exploring Operation: 21*78=1638, Resulting Numbers: [1638]
1638,63 unequal: No Solution
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,63 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: 63:[70, 29], Operations: ['43-22=21', '8+21=29']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,63 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,63 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: 63:[8, 70, 65], Operations: ['22+43=65']
Exploring Operation: 70-65=5, Resulting Numbers: [8, 5]
Generated Node #0,3,0: 63:[8, 5] Operation: 70-65=5
Exploring Operation: 8+70=78, Resulting Numbers: [65, 78]
Generated Node #0,3,1: 63:[65, 78] Operation: 8+70=78
Exploring Operation: 65-8=57, Resulting Numbers: [70, 57]
Generated Node #0,3,2: 63:[70, 57] Operation: 65-8=57
Exploring Operation: 70-8=62, Resulting Numbers: [65, 62]
Generated Node #0,3,3: 63:[65, 62] Operation: 70-8=62
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 63:[8, 5], Operations: ['22+43=65', '70-65=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,63 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: 63:[65, 62], Operations: ['22+43=65', '70-8=62']
Exploring Operation: 65*62=4030, Resulting Numbers: [4030]
4030,63 unequal: No Solution
Exploring Operation: 65-62=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 65+62=127, Resulting Numbers: [127]
127,63 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: 63:[70, 57], Operations: ['22+43=65', '65-8=57']
Exploring Operation: 70*57=3990, Resulting Numbers: [3990]
3990,63 unequal: No Solution
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 70+57=127, Resulting Numbers: [127]
127,63 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: 63:[65, 78], Operations: ['22+43=65', '8+70=78']
Exploring Operation: 65+78=143, Resulting Numbers: [143]
143,63 unequal: No Solution
Exploring Operation: 78-65=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 65*78=5070, Resulting Numbers: [5070]
5070,63 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: 63:[22, 70, 51], Operations: ['43+8=51']
Exploring Operation: 51-22=29, Resulting Numbers: [70, 29]
Generated Node #0,0,0: 63:[70, 29] Operation: 51-22=29
Exploring Operation: 70-51=19, Resulting Numbers: [22, 19]
Generated Node #0,0,1: 63:[22, 19] Operation: 70-51=19
Exploring Operation: 70-22=48, Resulting Numbers: [51, 48]
Generated Node #0,0,2: 63:[51, 48] Operation: 70-22=48
Exploring Operation: 22+51=73, Resulting Numbers: [70, 73]
Generated Node #0,0,3: 63:[70, 73] Operation: 22+51=73
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[22, 19], Operations: ['43+8=51', '70-51=19']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,63 unequal: No Solution
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,63 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: 63:[70, 29], Operations: ['43+8=51', '51-22=29']
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,63 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,63 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: 63:[70, 73], Operations: ['43+8=51', '22+51=73']
Exploring Operation: 70+73=143, Resulting Numbers: [143]
143,63 unequal: No Solution
Exploring Operation: 70*73=5110, Resulting Numbers: [5110]
5110,63 unequal: No Solution
Exploring Operation: 73-70=3, Resulting Numbers: [3]
3,63 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: 63:[51, 48], Operations: ['43+8=51', '70-22=48']
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,63 unequal: No Solution
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,63 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,63 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 |
[
69,
67,
52,
34
] | 13 | [
"69+67=136",
"52*34=1768",
"1768/136=13"
] | Current State: 13:[69, 67, 52, 34], Operations: []
Exploring Operation: 69+67=136, Resulting Numbers: [52, 34, 136]
Generated Node #2: [52, 34, 136] from Operation: 69+67=136
Current State: 13:[52, 34, 136], Operations: ['69+67=136']
Exploring Operation: 52*34=1768, Resulting Numbers: [136, 1768]
Generated Node #3: [136, 1768] from Operation: 52*34=1768
Current State: 13:[136, 1768], Operations: ['69+67=136', '52*34=1768']
Exploring Operation: 1768/136=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[69, 67, 52, 34], Operations: []
Exploring Operation: 69-52=17, Resulting Numbers: [67, 34, 17]
Generated Node #0,0: 13:[67, 34, 17] Operation: 69-52=17
Exploring Operation: 67-52=15, Resulting Numbers: [69, 34, 15]
Generated Node #0,1: 13:[69, 34, 15] Operation: 67-52=15
Exploring Operation: 69-67=2, Resulting Numbers: [52, 34, 2]
Generated Node #0,2: 13:[52, 34, 2] Operation: 69-67=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[52, 34, 2], Operations: ['69-67=2']
Exploring Operation: 52-34=18, Resulting Numbers: [2, 18]
Generated Node #0,2,0: 13:[2, 18] Operation: 52-34=18
Exploring Operation: 34/2=17, Resulting Numbers: [52, 17]
Generated Node #0,2,1: 13:[52, 17] Operation: 34/2=17
Exploring Operation: 52/2=26, Resulting Numbers: [34, 26]
Generated Node #0,2,2: 13:[34, 26] Operation: 52/2=26
Moving to Node #0,2,0
Current State: 13:[2, 18], Operations: ['69-67=2', '52-34=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[34, 26], Operations: ['69-67=2', '52/2=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,13 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[52, 17], Operations: ['69-67=2', '34/2=17']
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,13 unequal: No Solution
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,13 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,13 unequal: No Solution
No 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: 13:[67, 34, 17], Operations: ['69-52=17']
Exploring Operation: 67-34=33, Resulting Numbers: [17, 33]
Generated Node #0,0,0: 13:[17, 33] Operation: 67-34=33
Exploring Operation: 34-17=17, Resulting Numbers: [67, 17]
Generated Node #0,0,1: 13:[67, 17] Operation: 34-17=17
Exploring Operation: 67-17=50, Resulting Numbers: [34, 50]
Generated Node #0,0,2: 13:[34, 50] Operation: 67-17=50
Moving to Node #0,0,0
Current State: 13:[17, 33], Operations: ['69-52=17', '67-34=33']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,13 unequal: No Solution
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[67, 17], Operations: ['69-52=17', '34-17=17']
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,13 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[34, 50], Operations: ['69-52=17', '67-17=50']
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 34+50=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 34*50=1700, Resulting Numbers: [1700]
1700,13 unequal: No Solution
No 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: 13:[69, 34, 15], Operations: ['67-52=15']
Exploring Operation: 34-15=19, Resulting Numbers: [69, 19]
Generated Node #0,1,0: 13:[69, 19] Operation: 34-15=19
Exploring Operation: 69-34=35, Resulting Numbers: [15, 35]
Generated Node #0,1,1: 13:[15, 35] Operation: 69-34=35
Exploring Operation: 69-15=54, Resulting Numbers: [34, 54]
Generated Node #0,1,2: 13:[34, 54] Operation: 69-15=54
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[15, 35], Operations: ['67-52=15', '69-34=35']
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,13 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,13 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: 13:[69, 19], Operations: ['67-52=15', '34-15=19']
Exploring Operation: 69+19=88, Resulting Numbers: [88]
88,13 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 69*19=1311, Resulting Numbers: [1311]
1311,13 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: 13:[34, 54], Operations: ['67-52=15', '69-15=54']
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 34*54=1836, Resulting Numbers: [1836]
1836,13 unequal: No Solution
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,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_3 | sum_heuristic |
[
9,
92,
74,
53
] | 44 | [
"92-9=83",
"74+53=127",
"127-83=44"
] | Current State: 44:[9, 92, 74, 53], Operations: []
Exploring Operation: 92-9=83, Resulting Numbers: [74, 53, 83]
Generated Node #2: [74, 53, 83] from Operation: 92-9=83
Current State: 44:[74, 53, 83], Operations: ['92-9=83']
Exploring Operation: 74+53=127, Resulting Numbers: [83, 127]
Generated Node #3: [83, 127] from Operation: 74+53=127
Current State: 44:[83, 127], Operations: ['92-9=83', '74+53=127']
Exploring Operation: 127-83=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[9, 92, 74, 53], Operations: []
Exploring Operation: 92-74=18, Resulting Numbers: [9, 53, 18]
Generated Node #0,0: 44:[9, 53, 18] Operation: 92-74=18
Moving to Node #0,0
Current State: 44:[9, 53, 18], Operations: ['92-74=18']
Exploring Operation: 53-9=44, Resulting Numbers: [18, 44]
Generated Node #0,0,0: 44:[18, 44] Operation: 53-9=44
Moving to Node #0,0,0
Current State: 44:[18, 44], Operations: ['92-74=18', '53-9=44']
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,44 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
69,
62,
31,
98
] | 64 | [
"69+62=131",
"98-31=67",
"131-67=64"
] | Current State: 64:[69, 62, 31, 98], Operations: []
Exploring Operation: 69+62=131, Resulting Numbers: [31, 98, 131]
Generated Node #2: [31, 98, 131] from Operation: 69+62=131
Current State: 64:[31, 98, 131], Operations: ['69+62=131']
Exploring Operation: 98-31=67, Resulting Numbers: [131, 67]
Generated Node #3: [131, 67] from Operation: 98-31=67
Current State: 64:[131, 67], Operations: ['69+62=131', '98-31=67']
Exploring Operation: 131-67=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[69, 62, 31, 98], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [62, 31, 29]
Generated Node #0,0: 64:[62, 31, 29] Operation: 98-69=29
Exploring Operation: 69-62=7, Resulting Numbers: [31, 98, 7]
Generated Node #0,1: 64:[31, 98, 7] Operation: 69-62=7
Exploring Operation: 98-31=67, Resulting Numbers: [69, 62, 67]
Generated Node #0,2: 64:[69, 62, 67] Operation: 98-31=67
Exploring Operation: 98-62=36, Resulting Numbers: [69, 31, 36]
Generated Node #0,3: 64:[69, 31, 36] Operation: 98-62=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[62, 31, 29], Operations: ['98-69=29']
Exploring Operation: 62-29=33, Resulting Numbers: [31, 33]
Generated Node #0,0,0: 64:[31, 33] Operation: 62-29=33
Exploring Operation: 31-29=2, Resulting Numbers: [62, 2]
Generated Node #0,0,1: 64:[62, 2] Operation: 31-29=2
Exploring Operation: 62-31=31, Resulting Numbers: [29, 31]
Generated Node #0,0,2: 64:[29, 31] Operation: 62-31=31
Exploring Operation: 62/31=2, Resulting Numbers: [29, 2]
Generated Node #0,0,3: 64:[29, 2] Operation: 62/31=2
Moving to Node #0,0,0
Current State: 64:[31, 33], Operations: ['98-69=29', '62-29=33']
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[69, 62, 31, 98], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [62, 31, 29]
Generated Node #0,0: 64:[62, 31, 29] Operation: 98-69=29
Moving to Node #0,0
Current State: 64:[62, 31, 29], Operations: ['98-69=29']
Exploring Operation: 62-29=33, Resulting Numbers: [31, 33]
Generated Node #0,0,0: 64:[31, 33] Operation: 62-29=33
Moving to Node #0,0,0
Current State: 64:[31, 33], Operations: ['98-69=29', '62-29=33']
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
8,
92,
7,
33
] | 45 | [
"92-8=84",
"84/7=12",
"33+12=45"
] | Current State: 45:[8, 92, 7, 33], Operations: []
Exploring Operation: 92-8=84, Resulting Numbers: [7, 33, 84]
Generated Node #2: [7, 33, 84] from Operation: 92-8=84
Current State: 45:[7, 33, 84], Operations: ['92-8=84']
Exploring Operation: 84/7=12, Resulting Numbers: [33, 12]
Generated Node #3: [33, 12] from Operation: 84/7=12
Current State: 45:[33, 12], Operations: ['92-8=84', '84/7=12']
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[8, 92, 7, 33], Operations: []
Exploring Operation: 92-8=84, Resulting Numbers: [7, 33, 84]
Generated Node #0,0: 45:[7, 33, 84] Operation: 92-8=84
Exploring Operation: 92-33=59, Resulting Numbers: [8, 7, 59]
Generated Node #0,1: 45:[8, 7, 59] Operation: 92-33=59
Moving to Node #0,1
Current State: 45:[8, 7, 59], Operations: ['92-33=59']
Exploring Operation: 59-7=52, Resulting Numbers: [8, 52]
Generated Node #0,1,0: 45:[8, 52] Operation: 59-7=52
Exploring Operation: 59-8=51, Resulting Numbers: [7, 51]
Generated Node #0,1,1: 45:[7, 51] Operation: 59-8=51
Moving to Node #0,0
Current State: 45:[7, 33, 84], Operations: ['92-8=84']
Exploring Operation: 84-33=51, Resulting Numbers: [7, 51]
Generated Node #0,0,0: 45:[7, 51] Operation: 84-33=51
Exploring Operation: 84/7=12, Resulting Numbers: [33, 12]
Generated Node #0,0,1: 45:[33, 12] Operation: 84/7=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[7, 51], Operations: ['92-8=84', '84-33=51']
Exploring Operation: 7+51=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,45 unequal: No Solution
No 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: 45:[33, 12], Operations: ['92-8=84', '84/7=12']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[8, 92, 7, 33], Operations: []
Exploring Operation: 92-8=84, Resulting Numbers: [7, 33, 84]
Generated Node #0,0: 45:[7, 33, 84] Operation: 92-8=84
Moving to Node #0,0
Current State: 45:[7, 33, 84], Operations: ['92-8=84']
Exploring Operation: 84/7=12, Resulting Numbers: [33, 12]
Generated Node #0,0,1: 45:[33, 12] Operation: 84/7=12
Moving to Node #0,0,1
Current State: 45:[33, 12], Operations: ['92-8=84', '84/7=12']
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | sum_heuristic |
[
42,
90,
96,
46
] | 48 | [
"90-42=48",
"96/48=2",
"46+2=48"
] | Current State: 48:[42, 90, 96, 46], Operations: []
Exploring Operation: 90-42=48, Resulting Numbers: [96, 46, 48]
Generated Node #2: [96, 46, 48] from Operation: 90-42=48
Current State: 48:[96, 46, 48], Operations: ['90-42=48']
Exploring Operation: 96/48=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 96/48=2
Current State: 48:[46, 2], Operations: ['90-42=48', '96/48=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[42, 90, 96, 46], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [42, 46, 6]
Generated Node #0,0: 48:[42, 46, 6] Operation: 96-90=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[42, 46, 6], Operations: ['96-90=6']
Exploring Operation: 46-42=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 48:[6, 4] Operation: 46-42=4
Moving to Node #0,0,0
Current State: 48:[6, 4], Operations: ['96-90=6', '46-42=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,48 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 |
[
31,
52,
5,
7
] | 73 | [
"7-5=2",
"52*2=104",
"104-31=73"
] | Current State: 73:[31, 52, 5, 7], Operations: []
Exploring Operation: 7-5=2, Resulting Numbers: [31, 52, 2]
Generated Node #2: [31, 52, 2] from Operation: 7-5=2
Current State: 73:[31, 52, 2], Operations: ['7-5=2']
Exploring Operation: 52*2=104, Resulting Numbers: [31, 104]
Generated Node #3: [31, 104] from Operation: 52*2=104
Current State: 73:[31, 104], Operations: ['7-5=2', '52*2=104']
Exploring Operation: 104-31=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[31, 52, 5, 7], Operations: []
Exploring Operation: 31+7=38, Resulting Numbers: [52, 5, 38]
Generated Node #0,0: 73:[52, 5, 38] Operation: 31+7=38
Exploring Operation: 5*7=35, Resulting Numbers: [31, 52, 35]
Generated Node #0,1: 73:[31, 52, 35] Operation: 5*7=35
Exploring Operation: 31+5=36, Resulting Numbers: [52, 7, 36]
Generated Node #0,2: 73:[52, 7, 36] Operation: 31+5=36
Exploring Operation: 52+7=59, Resulting Numbers: [31, 5, 59]
Generated Node #0,3: 73:[31, 5, 59] Operation: 52+7=59
Exploring Operation: 52+5=57, Resulting Numbers: [31, 7, 57]
Generated Node #0,4: 73:[31, 7, 57] Operation: 52+5=57
Moving to Node #0,1
Current State: 73:[31, 52, 35], Operations: ['5*7=35']
Exploring Operation: 52+35=87, Resulting Numbers: [31, 87]
Generated Node #0,1,0: 73:[31, 87] Operation: 52+35=87
Exploring Operation: 52-31=21, Resulting Numbers: [35, 21]
Generated Node #0,1,1: 73:[35, 21] Operation: 52-31=21
Exploring Operation: 35-31=4, Resulting Numbers: [52, 4]
Generated Node #0,1,2: 73:[52, 4] Operation: 35-31=4
Exploring Operation: 31+35=66, Resulting Numbers: [52, 66]
Generated Node #0,1,3: 73:[52, 66] Operation: 31+35=66
Exploring Operation: 31+52=83, Resulting Numbers: [35, 83]
Generated Node #0,1,4: 73:[35, 83] Operation: 31+52=83
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[52, 66], Operations: ['5*7=35', '31+35=66']
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,73 unequal: No Solution
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,73 unequal: No Solution
Exploring Operation: 52*66=3432, Resulting Numbers: [3432]
3432,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 73:[35, 83], Operations: ['5*7=35', '31+52=83']
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 35*83=2905, Resulting Numbers: [2905]
2905,73 unequal: No Solution
Exploring Operation: 35+83=118, Resulting Numbers: [118]
118,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[31, 87], Operations: ['5*7=35', '52+35=87']
Exploring Operation: 31*87=2697, Resulting Numbers: [2697]
2697,73 unequal: No Solution
Exploring Operation: 31+87=118, Resulting Numbers: [118]
118,73 unequal: No Solution
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[35, 21], Operations: ['5*7=35', '52-31=21']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,73 unequal: No Solution
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,73 unequal: No Solution
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[52, 4], Operations: ['5*7=35', '35-31=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,73 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,73 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,73 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: 73:[52, 7, 36], Operations: ['31+5=36']
Exploring Operation: 52-7=45, Resulting Numbers: [36, 45]
Generated Node #0,2,0: 73:[36, 45] Operation: 52-7=45
Exploring Operation: 36-7=29, Resulting Numbers: [52, 29]
Generated Node #0,2,1: 73:[52, 29] Operation: 36-7=29
Exploring Operation: 52+7=59, Resulting Numbers: [36, 59]
Generated Node #0,2,2: 73:[36, 59] Operation: 52+7=59
Exploring Operation: 7+36=43, Resulting Numbers: [52, 43]
Generated Node #0,2,3: 73:[52, 43] Operation: 7+36=43
Exploring Operation: 52+36=88, Resulting Numbers: [7, 88]
Generated Node #0,2,4: 73:[7, 88] Operation: 52+36=88
Moving to Node #0,4
Current State: 73:[31, 7, 57], Operations: ['52+5=57']
Exploring Operation: 57-7=50, Resulting Numbers: [31, 50]
Generated Node #0,4,0: 73:[31, 50] Operation: 57-7=50
Exploring Operation: 31+7=38, Resulting Numbers: [57, 38]
Generated Node #0,4,1: 73:[57, 38] Operation: 31+7=38
Exploring Operation: 31+57=88, Resulting Numbers: [7, 88]
Generated Node #0,4,2: 73:[7, 88] Operation: 31+57=88
Exploring Operation: 7+57=64, Resulting Numbers: [31, 64]
Generated Node #0,4,3: 73:[31, 64] Operation: 7+57=64
Exploring Operation: 31-7=24, Resulting Numbers: [57, 24]
Generated Node #0,4,4: 73:[57, 24] Operation: 31-7=24
Moving to Node #0,0
Current State: 73:[52, 5, 38], Operations: ['31+7=38']
Exploring Operation: 5+38=43, Resulting Numbers: [52, 43]
Generated Node #0,0,0: 73:[52, 43] Operation: 5+38=43
Exploring Operation: 52+5=57, Resulting Numbers: [38, 57]
Generated Node #0,0,1: 73:[38, 57] Operation: 52+5=57
Exploring Operation: 38-5=33, Resulting Numbers: [52, 33]
Generated Node #0,0,2: 73:[52, 33] Operation: 38-5=33
Exploring Operation: 52-5=47, Resulting Numbers: [38, 47]
Generated Node #0,0,3: 73:[38, 47] Operation: 52-5=47
Exploring Operation: 52+38=90, Resulting Numbers: [5, 90]
Generated Node #0,0,4: 73:[5, 90] Operation: 52+38=90
Moving to Node #0,3
Current State: 73:[31, 5, 59], Operations: ['52+7=59']
Exploring Operation: 59-5=54, Resulting Numbers: [31, 54]
Generated Node #0,3,0: 73:[31, 54] Operation: 59-5=54
Exploring Operation: 5+59=64, Resulting Numbers: [31, 64]
Generated Node #0,3,1: 73:[31, 64] Operation: 5+59=64
Exploring Operation: 31-5=26, Resulting Numbers: [59, 26]
Generated Node #0,3,2: 73:[59, 26] Operation: 31-5=26
Exploring Operation: 31+59=90, Resulting Numbers: [5, 90]
Generated Node #0,3,3: 73:[5, 90] Operation: 31+59=90
Exploring Operation: 31+5=36, Resulting Numbers: [59, 36]
Generated Node #0,3,4: 73:[59, 36] Operation: 31+5=36
Moving to Node #0,2,2
Current State: 73:[36, 59], Operations: ['31+5=36', '52+7=59']
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 36+59=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 36*59=2124, Resulting Numbers: [2124]
2124,73 unequal: No Solution
Moving to Node #0,4,1
Current State: 73:[57, 38], Operations: ['52+5=57', '31+7=38']
Exploring Operation: 57*38=2166, Resulting Numbers: [2166]
2166,73 unequal: No Solution
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 57+38=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Moving to Node #0,4,3
Current State: 73:[31, 64], Operations: ['52+5=57', '7+57=64']
Exploring Operation: 31*64=1984, Resulting Numbers: [1984]
1984,73 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 31+64=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[38, 57], Operations: ['31+7=38', '52+5=57']
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 38+57=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 38*57=2166, Resulting Numbers: [2166]
2166,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[52, 43], Operations: ['31+5=36', '7+36=43']
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,73 unequal: No Solution
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[52, 43], Operations: ['31+7=38', '5+38=43']
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,73 unequal: No Solution
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[31, 64], Operations: ['52+7=59', '5+59=64']
Exploring Operation: 31+64=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 31*64=1984, Resulting Numbers: [1984]
1984,73 unequal: No Solution
Moving to Node #0,3,4
Current State: 73:[59, 36], Operations: ['52+7=59', '31+5=36']
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 59*36=2124, Resulting Numbers: [2124]
2124,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[38, 47], Operations: ['31+7=38', '52-5=47']
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 38+47=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 38*47=1786, Resulting Numbers: [1786]
1786,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[52, 33], Operations: ['31+7=38', '38-5=33']
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 52*33=1716, Resulting Numbers: [1716]
1716,73 unequal: No Solution
Exploring Operation: 52+33=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[59, 26], Operations: ['52+7=59', '31-5=26']
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 59*26=1534, Resulting Numbers: [1534]
1534,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[31, 54], Operations: ['52+7=59', '59-5=54']
Exploring Operation: 31+54=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 31*54=1674, Resulting Numbers: [1674]
1674,73 unequal: No Solution
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[57, 24], Operations: ['52+5=57', '31-7=24']
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[36, 45], Operations: ['31+5=36', '52-7=45']
Exploring Operation: 36*45=1620, Resulting Numbers: [1620]
1620,73 unequal: No Solution
Exploring Operation: 36+45=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Exploring Operation: 45-36=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[52, 29], Operations: ['31+5=36', '36-7=29']
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,73 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[31, 50], Operations: ['52+5=57', '57-7=50']
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Exploring Operation: 31*50=1550, Resulting Numbers: [1550]
1550,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[7, 88], Operations: ['31+5=36', '52+36=88']
Exploring Operation: 7*88=616, Resulting Numbers: [616]
616,73 unequal: No Solution
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[7, 88], Operations: ['52+5=57', '31+57=88']
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Exploring Operation: 7*88=616, Resulting Numbers: [616]
616,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[5, 90], Operations: ['52+7=59', '31+59=90']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 5*90=450, Resulting Numbers: [450]
450,73 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[5, 90], Operations: ['31+7=38', '52+38=90']
Exploring Operation: 5*90=450, Resulting Numbers: [450]
450,73 unequal: No Solution
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,73 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
20,
28,
23,
36
] | 25 | [
"20+36=56",
"56/28=2",
"23+2=25"
] | Current State: 25:[20, 28, 23, 36], Operations: []
Exploring Operation: 20+36=56, Resulting Numbers: [28, 23, 56]
Generated Node #2: [28, 23, 56] from Operation: 20+36=56
Current State: 25:[28, 23, 56], Operations: ['20+36=56']
Exploring Operation: 56/28=2, Resulting Numbers: [23, 2]
Generated Node #3: [23, 2] from Operation: 56/28=2
Current State: 25:[23, 2], Operations: ['20+36=56', '56/28=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[20, 28, 23, 36], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [28, 36, 3]
Generated Node #0,0: 25:[28, 36, 3] Operation: 23-20=3
Exploring Operation: 36-28=8, Resulting Numbers: [20, 23, 8]
Generated Node #0,1: 25:[20, 23, 8] Operation: 36-28=8
Exploring Operation: 36-20=16, Resulting Numbers: [28, 23, 16]
Generated Node #0,2: 25:[28, 23, 16] Operation: 36-20=16
Exploring Operation: 28-20=8, Resulting Numbers: [23, 36, 8]
Generated Node #0,3: 25:[23, 36, 8] Operation: 28-20=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[20, 23, 8], Operations: ['36-28=8']
Exploring Operation: 20-8=12, Resulting Numbers: [23, 12]
Generated Node #0,1,0: 25:[23, 12] Operation: 20-8=12
Exploring Operation: 23+8=31, Resulting Numbers: [20, 31]
Generated Node #0,1,1: 25:[20, 31] Operation: 23+8=31
Exploring Operation: 23-20=3, Resulting Numbers: [8, 3]
Generated Node #0,1,2: 25:[8, 3] Operation: 23-20=3
Exploring Operation: 20+8=28, Resulting Numbers: [23, 28]
Generated Node #0,1,3: 25:[23, 28] Operation: 20+8=28
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[8, 3], Operations: ['36-28=8', '23-20=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 25:[23, 28], Operations: ['36-28=8', '20+8=28']
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,25 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[23, 12], Operations: ['36-28=8', '20-8=12']
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,25 unequal: No Solution
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[20, 31], Operations: ['36-28=8', '23+8=31']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[28, 23, 16], Operations: ['36-20=16']
Exploring Operation: 23+16=39, Resulting Numbers: [28, 39]
Generated Node #0,2,0: 25:[28, 39] Operation: 23+16=39
Exploring Operation: 28-23=5, Resulting Numbers: [16, 5]
Generated Node #0,2,1: 25:[16, 5] Operation: 28-23=5
Exploring Operation: 28-16=12, Resulting Numbers: [23, 12]
Generated Node #0,2,2: 25:[23, 12] Operation: 28-16=12
Exploring Operation: 23-16=7, Resulting Numbers: [28, 7]
Generated Node #0,2,3: 25:[28, 7] Operation: 23-16=7
Moving to Node #0,2,3
Current State: 25:[28, 7], Operations: ['36-20=16', '23-16=7']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 28*7=196, Resulting Numbers: [196]
196,25 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[23, 12], Operations: ['36-20=16', '28-16=12']
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[16, 5], Operations: ['36-20=16', '28-23=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[28, 39], Operations: ['36-20=16', '23+16=39']
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 28*39=1092, Resulting Numbers: [1092]
1092,25 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[28, 36, 3], Operations: ['23-20=3']
Exploring Operation: 28-3=25, Resulting Numbers: [36, 25]
Generated Node #0,0,0: 25:[36, 25] Operation: 28-3=25
Exploring Operation: 36-3=33, Resulting Numbers: [28, 33]
Generated Node #0,0,1: 25:[28, 33] Operation: 36-3=33
Exploring Operation: 36-28=8, Resulting Numbers: [3, 8]
Generated Node #0,0,2: 25:[3, 8] Operation: 36-28=8
Exploring Operation: 36/3=12, Resulting Numbers: [28, 12]
Generated Node #0,0,3: 25:[28, 12] Operation: 36/3=12
Moving to Node #0,0,2
Current State: 25:[3, 8], Operations: ['23-20=3', '36-28=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[28, 12], Operations: ['23-20=3', '36/3=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[28, 33], Operations: ['23-20=3', '36-3=33']
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,25 unequal: No Solution
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,25 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[36, 25], Operations: ['23-20=3', '28-3=25']
Exploring Operation: 36+25=61, Resulting Numbers: [61]
61,25 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 36*25=900, Resulting Numbers: [900]
900,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[23, 36, 8], Operations: ['28-20=8']
Exploring Operation: 36-8=28, Resulting Numbers: [23, 28]
Generated Node #0,3,0: 25:[23, 28] Operation: 36-8=28
Exploring Operation: 23-8=15, Resulting Numbers: [36, 15]
Generated Node #0,3,1: 25:[36, 15] Operation: 23-8=15
Exploring Operation: 23+8=31, Resulting Numbers: [36, 31]
Generated Node #0,3,2: 25:[36, 31] Operation: 23+8=31
Exploring Operation: 36-23=13, Resulting Numbers: [8, 13]
Generated Node #0,3,3: 25:[8, 13] Operation: 36-23=13
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 25:[23, 28], Operations: ['28-20=8', '36-8=28']
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,25 unequal: No Solution
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 25:[8, 13], Operations: ['28-20=8', '36-23=13']
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 25:[36, 31], Operations: ['28-20=8', '23+8=31']
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,25 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 25:[36, 15], Operations: ['28-20=8', '23-8=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
58,
7,
86,
93
] | 97 | [
"86-58=28",
"28/7=4",
"93+4=97"
] | Current State: 97:[58, 7, 86, 93], Operations: []
Exploring Operation: 86-58=28, Resulting Numbers: [7, 93, 28]
Generated Node #2: [7, 93, 28] from Operation: 86-58=28
Current State: 97:[7, 93, 28], Operations: ['86-58=28']
Exploring Operation: 28/7=4, Resulting Numbers: [93, 4]
Generated Node #3: [93, 4] from Operation: 28/7=4
Current State: 97:[93, 4], Operations: ['86-58=28', '28/7=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[58, 7, 86, 93], Operations: []
Exploring Operation: 7+93=100, Resulting Numbers: [58, 86, 100]
Generated Node #0,0: 97:[58, 86, 100] Operation: 7+93=100
Exploring Operation: 7+86=93, Resulting Numbers: [58, 93, 93]
Generated Node #0,1: 97:[58, 93, 93] Operation: 7+86=93
Exploring Operation: 58-7=51, Resulting Numbers: [86, 93, 51]
Generated Node #0,2: 97:[86, 93, 51] Operation: 58-7=51
Exploring Operation: 58+7=65, Resulting Numbers: [86, 93, 65]
Generated Node #0,3: 97:[86, 93, 65] Operation: 58+7=65
Moving to Node #0,1
Current State: 97:[58, 93, 93], Operations: ['7+86=93']
Exploring Operation: 58+93=151, Resulting Numbers: [93, 151]
Generated Node #0,1,0: 97:[93, 151] Operation: 58+93=151
Exploring Operation: 58+93=151, Resulting Numbers: [93, 151]
Generated Node #0,1,1: 97:[93, 151] Operation: 58+93=151
Exploring Operation: 93-58=35, Resulting Numbers: [93, 35]
Generated Node #0,1,2: 97:[93, 35] Operation: 93-58=35
Exploring Operation: 93-58=35, Resulting Numbers: [93, 35]
Generated Node #0,1,3: 97:[93, 35] Operation: 93-58=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[93, 151], Operations: ['7+86=93', '58+93=151']
Exploring Operation: 151-93=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Exploring Operation: 93+151=244, Resulting Numbers: [244]
244,97 unequal: No Solution
Exploring Operation: 93*151=14043, Resulting Numbers: [14043]
14043,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,1
Current State: 97:[93, 151], Operations: ['7+86=93', '58+93=151']
Exploring Operation: 93+151=244, Resulting Numbers: [244]
244,97 unequal: No Solution
Exploring Operation: 151-93=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Exploring Operation: 93*151=14043, Resulting Numbers: [14043]
14043,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:[93, 35], Operations: ['7+86=93', '93-58=35']
Exploring Operation: 93-35=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Exploring Operation: 93*35=3255, Resulting Numbers: [3255]
3255,97 unequal: No Solution
Exploring Operation: 93+35=128, Resulting Numbers: [128]
128,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,3
Current State: 97:[93, 35], Operations: ['7+86=93', '93-58=35']
Exploring Operation: 93-35=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Exploring Operation: 93+35=128, Resulting Numbers: [128]
128,97 unequal: No Solution
Exploring Operation: 93*35=3255, Resulting Numbers: [3255]
3255,97 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: 97:[86, 93, 65], Operations: ['58+7=65']
Exploring Operation: 93-65=28, Resulting Numbers: [86, 28]
Generated Node #0,3,0: 97:[86, 28] Operation: 93-65=28
Exploring Operation: 86-65=21, Resulting Numbers: [93, 21]
Generated Node #0,3,1: 97:[93, 21] Operation: 86-65=21
Exploring Operation: 86+65=151, Resulting Numbers: [93, 151]
Generated Node #0,3,2: 97:[93, 151] Operation: 86+65=151
Exploring Operation: 93+65=158, Resulting Numbers: [86, 158]
Generated Node #0,3,3: 97:[86, 158] Operation: 93+65=158
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[93, 151], Operations: ['58+7=65', '86+65=151']
Exploring Operation: 151-93=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Exploring Operation: 93+151=244, Resulting Numbers: [244]
244,97 unequal: No Solution
Exploring Operation: 93*151=14043, Resulting Numbers: [14043]
14043,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,3,3
Current State: 97:[86, 158], Operations: ['58+7=65', '93+65=158']
Exploring Operation: 86+158=244, Resulting Numbers: [244]
244,97 unequal: No Solution
Exploring Operation: 158-86=72, Resulting Numbers: [72]
72,97 unequal: No Solution
Exploring Operation: 86*158=13588, Resulting Numbers: [13588]
13588,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,3,0
Current State: 97:[86, 28], Operations: ['58+7=65', '93-65=28']
Exploring Operation: 86*28=2408, Resulting Numbers: [2408]
2408,97 unequal: No Solution
Exploring Operation: 86+28=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,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,3,1
Current State: 97:[93, 21], Operations: ['58+7=65', '86-65=21']
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,97 unequal: No Solution
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,97 unequal: No Solution
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,97 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: 97:[58, 86, 100], Operations: ['7+93=100']
Exploring Operation: 100-58=42, Resulting Numbers: [86, 42]
Generated Node #0,0,0: 97:[86, 42] Operation: 100-58=42
Exploring Operation: 58+86=144, Resulting Numbers: [100, 144]
Generated Node #0,0,1: 97:[100, 144] Operation: 58+86=144
Exploring Operation: 86-58=28, Resulting Numbers: [100, 28]
Generated Node #0,0,2: 97:[100, 28] Operation: 86-58=28
Exploring Operation: 58+100=158, Resulting Numbers: [86, 158]
Generated Node #0,0,3: 97:[86, 158] Operation: 58+100=158
Moving to Node #0,2
Current State: 97:[86, 93, 51], Operations: ['58-7=51']
Exploring Operation: 93+51=144, Resulting Numbers: [86, 144]
Generated Node #0,2,0: 97:[86, 144] Operation: 93+51=144
Exploring Operation: 86+51=137, Resulting Numbers: [93, 137]
Generated Node #0,2,1: 97:[93, 137] Operation: 86+51=137
Exploring Operation: 86-51=35, Resulting Numbers: [93, 35]
Generated Node #0,2,2: 97:[93, 35] Operation: 86-51=35
Exploring Operation: 93-51=42, Resulting Numbers: [86, 42]
Generated Node #0,2,3: 97:[86, 42] Operation: 93-51=42
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[93, 137], Operations: ['58-7=51', '86+51=137']
Exploring Operation: 137-93=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 93*137=12741, Resulting Numbers: [12741]
12741,97 unequal: No Solution
Exploring Operation: 93+137=230, Resulting Numbers: [230]
230,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[86, 144], Operations: ['58-7=51', '93+51=144']
Exploring Operation: 86*144=12384, Resulting Numbers: [12384]
12384,97 unequal: No Solution
Exploring Operation: 86+144=230, Resulting Numbers: [230]
230,97 unequal: No Solution
Exploring Operation: 144-86=58, Resulting Numbers: [58]
58,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,2,2
Current State: 97:[93, 35], Operations: ['58-7=51', '86-51=35']
Exploring Operation: 93+35=128, Resulting Numbers: [128]
128,97 unequal: No Solution
Exploring Operation: 93-35=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Exploring Operation: 93*35=3255, Resulting Numbers: [3255]
3255,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,2,3
Current State: 97:[86, 42], Operations: ['58-7=51', '93-51=42']
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 86+42=128, Resulting Numbers: [128]
128,97 unequal: No Solution
Exploring Operation: 86*42=3612, Resulting Numbers: [3612]
3612,97 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: 97:[100, 144], Operations: ['7+93=100', '58+86=144']
Exploring Operation: 144-100=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 100*144=14400, Resulting Numbers: [14400]
14400,97 unequal: No Solution
Exploring Operation: 100+144=244, Resulting Numbers: [244]
244,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[86, 42], Operations: ['7+93=100', '100-58=42']
Exploring Operation: 86*42=3612, Resulting Numbers: [3612]
3612,97 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 86+42=128, Resulting Numbers: [128]
128,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[86, 158], Operations: ['7+93=100', '58+100=158']
Exploring Operation: 86+158=244, Resulting Numbers: [244]
244,97 unequal: No Solution
Exploring Operation: 86*158=13588, Resulting Numbers: [13588]
13588,97 unequal: No Solution
Exploring Operation: 158-86=72, Resulting Numbers: [72]
72,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[100, 28], Operations: ['7+93=100', '86-58=28']
Exploring Operation: 100+28=128, Resulting Numbers: [128]
128,97 unequal: No Solution
Exploring Operation: 100*28=2800, Resulting Numbers: [2800]
2800,97 unequal: No Solution
Exploring Operation: 100-28=72, Resulting Numbers: [72]
72,97 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
57,
88,
24,
75
] | 46 | [
"57+88=145",
"24+75=99",
"145-99=46"
] | Current State: 46:[57, 88, 24, 75], Operations: []
Exploring Operation: 57+88=145, Resulting Numbers: [24, 75, 145]
Generated Node #2: [24, 75, 145] from Operation: 57+88=145
Current State: 46:[24, 75, 145], Operations: ['57+88=145']
Exploring Operation: 24+75=99, Resulting Numbers: [145, 99]
Generated Node #3: [145, 99] from Operation: 24+75=99
Current State: 46:[145, 99], Operations: ['57+88=145', '24+75=99']
Exploring Operation: 145-99=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[57, 88, 24, 75], Operations: []
Exploring Operation: 88-57=31, Resulting Numbers: [24, 75, 31]
Generated Node #0,0: 46:[24, 75, 31] Operation: 88-57=31
Exploring Operation: 88-75=13, Resulting Numbers: [57, 24, 13]
Generated Node #0,1: 46:[57, 24, 13] Operation: 88-75=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[57, 24, 13], Operations: ['88-75=13']
Exploring Operation: 57-24=33, Resulting Numbers: [13, 33]
Generated Node #0,1,0: 46:[13, 33] Operation: 57-24=33
Exploring Operation: 57-13=44, Resulting Numbers: [24, 44]
Generated Node #0,1,1: 46:[24, 44] Operation: 57-13=44
Moving to Node #0,1,1
Current State: 46:[24, 44], Operations: ['88-75=13', '57-13=44']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[13, 33], Operations: ['88-75=13', '57-24=33']
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 13+33=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[57, 88, 24, 75], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [57, 24, 13]
Generated Node #0,1: 46:[57, 24, 13] Operation: 88-75=13
Moving to Node #0,1
Current State: 46:[57, 24, 13], Operations: ['88-75=13']
Exploring Operation: 57-24=33, Resulting Numbers: [13, 33]
Generated Node #0,1,0: 46:[13, 33] Operation: 57-24=33
Moving to Node #0,1,0
Current State: 46:[13, 33], Operations: ['88-75=13', '57-24=33']
Exploring Operation: 13+33=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
32,
7,
1,
30
] | 55 | [
"32-7=25",
"1*30=30",
"25+30=55"
] | Current State: 55:[32, 7, 1, 30], Operations: []
Exploring Operation: 32-7=25, Resulting Numbers: [1, 30, 25]
Generated Node #2: [1, 30, 25] from Operation: 32-7=25
Current State: 55:[1, 30, 25], Operations: ['32-7=25']
Exploring Operation: 1*30=30, Resulting Numbers: [25, 30]
Generated Node #3: [25, 30] from Operation: 1*30=30
Current State: 55:[25, 30], Operations: ['32-7=25', '1*30=30']
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[32, 7, 1, 30], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [7, 1, 2]
Generated Node #0,0: 55:[7, 1, 2] Operation: 32-30=2
Exploring Operation: 32+30=62, Resulting Numbers: [7, 1, 62]
Generated Node #0,1: 55:[7, 1, 62] Operation: 32+30=62
Exploring Operation: 32-7=25, Resulting Numbers: [1, 30, 25]
Generated Node #0,2: 55:[1, 30, 25] Operation: 32-7=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[7, 1, 2], Operations: ['32-30=2']
Exploring Operation: 7-1=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 55:[2, 6] Operation: 7-1=6
Exploring Operation: 1+2=3, Resulting Numbers: [7, 3]
Generated Node #0,0,1: 55:[7, 3] Operation: 1+2=3
Exploring Operation: 7-2=5, Resulting Numbers: [1, 5]
Generated Node #0,0,2: 55:[1, 5] Operation: 7-2=5
Moving to Node #0,0,0
Current State: 55:[2, 6], Operations: ['32-30=2', '7-1=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[7, 3], Operations: ['32-30=2', '1+2=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[1, 5], Operations: ['32-30=2', '7-2=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,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
Current State: 55:[7, 1, 62], Operations: ['32+30=62']
Exploring Operation: 62-1=61, Resulting Numbers: [7, 61]
Generated Node #0,1,0: 55:[7, 61] Operation: 62-1=61
Exploring Operation: 7-1=6, Resulting Numbers: [62, 6]
Generated Node #0,1,1: 55:[62, 6] Operation: 7-1=6
Exploring Operation: 62-7=55, Resulting Numbers: [1, 55]
Generated Node #0,1,2: 55:[1, 55] Operation: 62-7=55
Moving to Node #0,1,2
Current State: 55:[1, 55], Operations: ['32+30=62', '62-7=55']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[32, 7, 1, 30], Operations: []
Exploring Operation: 32+30=62, Resulting Numbers: [7, 1, 62]
Generated Node #0,1: 55:[7, 1, 62] Operation: 32+30=62
Moving to Node #0,1
Current State: 55:[7, 1, 62], Operations: ['32+30=62']
Exploring Operation: 62-7=55, Resulting Numbers: [1, 55]
Generated Node #0,1,2: 55:[1, 55] Operation: 62-7=55
Moving to Node #0,1,2
Current State: 55:[1, 55], Operations: ['32+30=62', '62-7=55']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
3,
23,
55,
7
] | 88 | [
"3+23=26",
"55+7=62",
"26+62=88"
] | Current State: 88:[3, 23, 55, 7], Operations: []
Exploring Operation: 3+23=26, Resulting Numbers: [55, 7, 26]
Generated Node #2: [55, 7, 26] from Operation: 3+23=26
Current State: 88:[55, 7, 26], Operations: ['3+23=26']
Exploring Operation: 55+7=62, Resulting Numbers: [26, 62]
Generated Node #3: [26, 62] from Operation: 55+7=62
Current State: 88:[26, 62], Operations: ['3+23=26', '55+7=62']
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[3, 23, 55, 7], Operations: []
Exploring Operation: 7-3=4, Resulting Numbers: [23, 55, 4]
Generated Node #0,0: 88:[23, 55, 4] Operation: 7-3=4
Exploring Operation: 55-3=52, Resulting Numbers: [23, 7, 52]
Generated Node #0,1: 88:[23, 7, 52] Operation: 55-3=52
Exploring Operation: 23+55=78, Resulting Numbers: [3, 7, 78]
Generated Node #0,2: 88:[3, 7, 78] Operation: 23+55=78
Exploring Operation: 55-7=48, Resulting Numbers: [3, 23, 48]
Generated Node #0,3: 88:[3, 23, 48] Operation: 55-7=48
Moving to Node #0,3
Current State: 88:[3, 23, 48], Operations: ['55-7=48']
Exploring Operation: 23-3=20, Resulting Numbers: [48, 20]
Generated Node #0,3,0: 88:[48, 20] Operation: 23-3=20
Exploring Operation: 48-23=25, Resulting Numbers: [3, 25]
Generated Node #0,3,1: 88:[3, 25] Operation: 48-23=25
Exploring Operation: 48/3=16, Resulting Numbers: [23, 16]
Generated Node #0,3,2: 88:[23, 16] Operation: 48/3=16
Exploring Operation: 48-3=45, Resulting Numbers: [23, 45]
Generated Node #0,3,3: 88:[23, 45] Operation: 48-3=45
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 88:[23, 45], Operations: ['55-7=48', '48-3=45']
Exploring Operation: 23+45=68, Resulting Numbers: [68]
68,88 unequal: No Solution
Exploring Operation: 23*45=1035, Resulting Numbers: [1035]
1035,88 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,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,3,1
Current State: 88:[3, 25], Operations: ['55-7=48', '48-23=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,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,3,0
Current State: 88:[48, 20], Operations: ['55-7=48', '23-3=20']
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,88 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,88 unequal: No Solution
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,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,3,2
Current State: 88:[23, 16], Operations: ['55-7=48', '48/3=16']
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,88 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: 88:[23, 7, 52], Operations: ['55-3=52']
Exploring Operation: 52-7=45, Resulting Numbers: [23, 45]
Generated Node #0,1,0: 88:[23, 45] Operation: 52-7=45
Exploring Operation: 52-23=29, Resulting Numbers: [7, 29]
Generated Node #0,1,1: 88:[7, 29] Operation: 52-23=29
Exploring Operation: 23-7=16, Resulting Numbers: [52, 16]
Generated Node #0,1,2: 88:[52, 16] Operation: 23-7=16
Exploring Operation: 23+52=75, Resulting Numbers: [7, 75]
Generated Node #0,1,3: 88:[7, 75] Operation: 23+52=75
Moving to Node #0,2
Current State: 88:[3, 7, 78], Operations: ['23+55=78']
Exploring Operation: 78/3=26, Resulting Numbers: [7, 26]
Generated Node #0,2,0: 88:[7, 26] Operation: 78/3=26
Exploring Operation: 7+78=85, Resulting Numbers: [3, 85]
Generated Node #0,2,1: 88:[3, 85] Operation: 7+78=85
Exploring Operation: 7-3=4, Resulting Numbers: [78, 4]
Generated Node #0,2,2: 88:[78, 4] Operation: 7-3=4
Exploring Operation: 3+78=81, Resulting Numbers: [7, 81]
Generated Node #0,2,3: 88:[7, 81] Operation: 3+78=81
Moving to Node #0,0
Current State: 88:[23, 55, 4], Operations: ['7-3=4']
Exploring Operation: 23+55=78, Resulting Numbers: [4, 78]
Generated Node #0,0,0: 88:[4, 78] Operation: 23+55=78
Exploring Operation: 55-4=51, Resulting Numbers: [23, 51]
Generated Node #0,0,1: 88:[23, 51] Operation: 55-4=51
Exploring Operation: 23-4=19, Resulting Numbers: [55, 19]
Generated Node #0,0,2: 88:[55, 19] Operation: 23-4=19
Exploring Operation: 55-23=32, Resulting Numbers: [4, 32]
Generated Node #0,0,3: 88:[4, 32] Operation: 55-23=32
Moving to Node #0,1,0
Current State: 88:[23, 45], Operations: ['55-3=52', '52-7=45']
Exploring Operation: 23+45=68, Resulting Numbers: [68]
68,88 unequal: No Solution
Exploring Operation: 23*45=1035, Resulting Numbers: [1035]
1035,88 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[3, 85], Operations: ['23+55=78', '7+78=85']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[3, 23, 55, 7], Operations: []
Exploring Operation: 23+55=78, Resulting Numbers: [3, 7, 78]
Generated Node #0,2: 88:[3, 7, 78] Operation: 23+55=78
Moving to Node #0,2
Current State: 88:[3, 7, 78], Operations: ['23+55=78']
Exploring Operation: 7+78=85, Resulting Numbers: [3, 85]
Generated Node #0,2,1: 88:[3, 85] Operation: 7+78=85
Moving to Node #0,2,1
Current State: 88:[3, 85], Operations: ['23+55=78', '7+78=85']
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.96441 | hs_4 | mult_heuristic |
[
41,
4,
74,
74
] | 41 | [
"74-74=0",
"4*0=0",
"41+0=41"
] | Current State: 41:[41, 4, 74, 74], Operations: []
Exploring Operation: 74-74=0, Resulting Numbers: [41, 4, 0]
Generated Node #2: [41, 4, 0] from Operation: 74-74=0
Current State: 41:[41, 4, 0], Operations: ['74-74=0']
Exploring Operation: 4*0=0, Resulting Numbers: [41, 0]
Generated Node #3: [41, 0] from Operation: 4*0=0
Current State: 41:[41, 0], Operations: ['74-74=0', '4*0=0']
Exploring Operation: 41+0=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[41, 4, 74, 74], Operations: []
Exploring Operation: 74-4=70, Resulting Numbers: [41, 74, 70]
Generated Node #0,0: 41:[41, 74, 70] Operation: 74-4=70
Moving to Node #0,0
Current State: 41:[41, 74, 70], Operations: ['74-4=70']
Exploring Operation: 74-41=33, Resulting Numbers: [70, 33]
Generated Node #0,0,0: 41:[70, 33] Operation: 74-41=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[70, 33], Operations: ['74-4=70', '74-41=33']
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,41 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 |
[
75,
50,
26,
55
] | 94 | [
"75*26=1950",
"1950/50=39",
"55+39=94"
] | Current State: 94:[75, 50, 26, 55], Operations: []
Exploring Operation: 75*26=1950, Resulting Numbers: [50, 55, 1950]
Generated Node #2: [50, 55, 1950] from Operation: 75*26=1950
Current State: 94:[50, 55, 1950], Operations: ['75*26=1950']
Exploring Operation: 1950/50=39, Resulting Numbers: [55, 39]
Generated Node #3: [55, 39] from Operation: 1950/50=39
Current State: 94:[55, 39], Operations: ['75*26=1950', '1950/50=39']
Exploring Operation: 55+39=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[75, 50, 26, 55], Operations: []
Exploring Operation: 75+26=101, Resulting Numbers: [50, 55, 101]
Generated Node #0,0: 94:[50, 55, 101] Operation: 75+26=101
Exploring Operation: 26+55=81, Resulting Numbers: [75, 50, 81]
Generated Node #0,1: 94:[75, 50, 81] Operation: 26+55=81
Exploring Operation: 75-26=49, Resulting Numbers: [50, 55, 49]
Generated Node #0,2: 94:[50, 55, 49] Operation: 75-26=49
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[50, 55, 49], Operations: ['75-26=49']
Exploring Operation: 50-49=1, Resulting Numbers: [55, 1]
Generated Node #0,2,0: 94:[55, 1] Operation: 50-49=1
Exploring Operation: 55-50=5, Resulting Numbers: [49, 5]
Generated Node #0,2,1: 94:[49, 5] Operation: 55-50=5
Exploring Operation: 55-49=6, Resulting Numbers: [50, 6]
Generated Node #0,2,2: 94:[50, 6] Operation: 55-49=6
Moving to Node #0,2,1
Current State: 94:[49, 5], Operations: ['75-26=49', '55-50=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,94 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[50, 6], Operations: ['75-26=49', '55-49=6']
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,94 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[55, 1], Operations: ['75-26=49', '50-49=1']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,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,0
Current State: 94:[50, 55, 101], Operations: ['75+26=101']
Exploring Operation: 101-55=46, Resulting Numbers: [50, 46]
Generated Node #0,0,0: 94:[50, 46] Operation: 101-55=46
Exploring Operation: 55-50=5, Resulting Numbers: [101, 5]
Generated Node #0,0,1: 94:[101, 5] Operation: 55-50=5
Exploring Operation: 101-50=51, Resulting Numbers: [55, 51]
Generated Node #0,0,2: 94:[55, 51] Operation: 101-50=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[50, 46], Operations: ['75+26=101', '101-55=46']
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 50*46=2300, Resulting Numbers: [2300]
2300,94 unequal: No Solution
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,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,0,1
Current State: 94:[101, 5], Operations: ['75+26=101', '55-50=5']
Exploring Operation: 101*5=505, Resulting Numbers: [505]
505,94 unequal: No Solution
Exploring Operation: 101-5=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 101+5=106, Resulting Numbers: [106]
106,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,0,2
Current State: 94:[55, 51], Operations: ['75+26=101', '101-50=51']
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 55*51=2805, Resulting Numbers: [2805]
2805,94 unequal: No Solution
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,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,1
Current State: 94:[75, 50, 81], Operations: ['26+55=81']
Exploring Operation: 81-75=6, Resulting Numbers: [50, 6]
Generated Node #0,1,0: 94:[50, 6] Operation: 81-75=6
Exploring Operation: 75-50=25, Resulting Numbers: [81, 25]
Generated Node #0,1,1: 94:[81, 25] Operation: 75-50=25
Exploring Operation: 81-50=31, Resulting Numbers: [75, 31]
Generated Node #0,1,2: 94:[75, 31] Operation: 81-50=31
Moving to Node #0,1,0
Current State: 94:[50, 6], Operations: ['26+55=81', '81-75=6']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,94 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[81, 25], Operations: ['26+55=81', '75-50=25']
Exploring Operation: 81*25=2025, Resulting Numbers: [2025]
2025,94 unequal: No Solution
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 81+25=106, Resulting Numbers: [106]
106,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[75, 31], Operations: ['26+55=81', '81-50=31']
Exploring Operation: 75+31=106, Resulting Numbers: [106]
106,94 unequal: No Solution
Exploring Operation: 75*31=2325, Resulting Numbers: [2325]
2325,94 unequal: No Solution
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
22,
80,
44,
71
] | 89 | [
"44/22=2",
"80*2=160",
"160-71=89"
] | Current State: 89:[22, 80, 44, 71], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [80, 71, 2]
Generated Node #2: [80, 71, 2] from Operation: 44/22=2
Current State: 89:[80, 71, 2], Operations: ['44/22=2']
Exploring Operation: 80*2=160, Resulting Numbers: [71, 160]
Generated Node #3: [71, 160] from Operation: 80*2=160
Current State: 89:[71, 160], Operations: ['44/22=2', '80*2=160']
Exploring Operation: 160-71=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[22, 80, 44, 71], Operations: []
Exploring Operation: 22+71=93, Resulting Numbers: [80, 44, 93]
Generated Node #0,0: 89:[80, 44, 93] Operation: 22+71=93
Exploring Operation: 22+44=66, Resulting Numbers: [80, 71, 66]
Generated Node #0,1: 89:[80, 71, 66] Operation: 22+44=66
Moving to Node #0,1
Current State: 89:[80, 71, 66], Operations: ['22+44=66']
Exploring Operation: 80+66=146, Resulting Numbers: [71, 146]
Generated Node #0,1,0: 89:[71, 146] Operation: 80+66=146
Exploring Operation: 71+66=137, Resulting Numbers: [80, 137]
Generated Node #0,1,1: 89:[80, 137] Operation: 71+66=137
Moving to Node #0,0
Current State: 89:[80, 44, 93], Operations: ['22+71=93']
Exploring Operation: 93-44=49, Resulting Numbers: [80, 49]
Generated Node #0,0,0: 89:[80, 49] Operation: 93-44=49
Exploring Operation: 80+44=124, Resulting Numbers: [93, 124]
Generated Node #0,0,1: 89:[93, 124] Operation: 80+44=124
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[93, 124], Operations: ['22+71=93', '80+44=124']
Exploring Operation: 93+124=217, Resulting Numbers: [217]
217,89 unequal: No Solution
Exploring Operation: 124-93=31, Resulting Numbers: [31]
31,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:[80, 49], Operations: ['22+71=93', '93-44=49']
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 80+49=129, Resulting Numbers: [129]
129,89 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: 89:[80, 137], Operations: ['22+44=66', '71+66=137']
Exploring Operation: 80+137=217, Resulting Numbers: [217]
217,89 unequal: No Solution
Exploring Operation: 137-80=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[71, 146], Operations: ['22+44=66', '80+66=146']
Exploring Operation: 71+146=217, Resulting Numbers: [217]
217,89 unequal: No Solution
Exploring Operation: 146-71=75, Resulting Numbers: [75]
75,89 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
62,
81,
94,
27
] | 52 | [
"62+94=156",
"81/27=3",
"156/3=52"
] | Current State: 52:[62, 81, 94, 27], Operations: []
Exploring Operation: 62+94=156, Resulting Numbers: [81, 27, 156]
Generated Node #2: [81, 27, 156] from Operation: 62+94=156
Current State: 52:[81, 27, 156], Operations: ['62+94=156']
Exploring Operation: 81/27=3, Resulting Numbers: [156, 3]
Generated Node #3: [156, 3] from Operation: 81/27=3
Current State: 52:[156, 3], Operations: ['62+94=156', '81/27=3']
Exploring Operation: 156/3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[62, 81, 94, 27], Operations: []
Exploring Operation: 81-62=19, Resulting Numbers: [94, 27, 19]
Generated Node #0,0: 52:[94, 27, 19] Operation: 81-62=19
Exploring Operation: 94-81=13, Resulting Numbers: [62, 27, 13]
Generated Node #0,1: 52:[62, 27, 13] Operation: 94-81=13
Exploring Operation: 94-62=32, Resulting Numbers: [81, 27, 32]
Generated Node #0,2: 52:[81, 27, 32] Operation: 94-62=32
Moving to Node #0,1
Current State: 52:[62, 27, 13], Operations: ['94-81=13']
Exploring Operation: 62-27=35, Resulting Numbers: [13, 35]
Generated Node #0,1,0: 52:[13, 35] Operation: 62-27=35
Exploring Operation: 62-13=49, Resulting Numbers: [27, 49]
Generated Node #0,1,1: 52:[27, 49] Operation: 62-13=49
Exploring Operation: 27-13=14, Resulting Numbers: [62, 14]
Generated Node #0,1,2: 52:[62, 14] Operation: 27-13=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[27, 49], Operations: ['94-81=13', '62-13=49']
Exploring Operation: 27+49=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 27*49=1323, Resulting Numbers: [1323]
1323,52 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,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:[13, 35], Operations: ['94-81=13', '62-27=35']
Exploring Operation: 13*35=455, Resulting Numbers: [455]
455,52 unequal: No Solution
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,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:[62, 14], Operations: ['94-81=13', '27-13=14']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 62*14=868, Resulting Numbers: [868]
868,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:[81, 27, 32], Operations: ['94-62=32']
Exploring Operation: 81-32=49, Resulting Numbers: [27, 49]
Generated Node #0,2,0: 52:[27, 49] Operation: 81-32=49
Exploring Operation: 81/27=3, Resulting Numbers: [32, 3]
Generated Node #0,2,1: 52:[32, 3] Operation: 81/27=3
Exploring Operation: 81-27=54, Resulting Numbers: [32, 54]
Generated Node #0,2,2: 52:[32, 54] Operation: 81-27=54
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[27, 49], Operations: ['94-62=32', '81-32=49']
Exploring Operation: 27*49=1323, Resulting Numbers: [1323]
1323,52 unequal: No Solution
Exploring Operation: 27+49=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,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:[32, 3], Operations: ['94-62=32', '81/27=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,52 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,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,2
Current State: 52:[32, 54], Operations: ['94-62=32', '81-27=54']
Exploring Operation: 32*54=1728, Resulting Numbers: [1728]
1728,52 unequal: No Solution
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,52 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,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:[94, 27, 19], Operations: ['81-62=19']
Exploring Operation: 94-19=75, Resulting Numbers: [27, 75]
Generated Node #0,0,0: 52:[27, 75] Operation: 94-19=75
Exploring Operation: 94-27=67, Resulting Numbers: [19, 67]
Generated Node #0,0,1: 52:[19, 67] Operation: 94-27=67
Exploring Operation: 27-19=8, Resulting Numbers: [94, 8]
Generated Node #0,0,2: 52:[94, 8] Operation: 27-19=8
Moving to Node #0,0,1
Current State: 52:[19, 67], Operations: ['81-62=19', '94-27=67']
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,52 unequal: No Solution
Exploring Operation: 19*67=1273, Resulting Numbers: [1273]
1273,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[27, 75], Operations: ['81-62=19', '94-19=75']
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 27+75=102, Resulting Numbers: [102]
102,52 unequal: No Solution
Exploring Operation: 27*75=2025, Resulting Numbers: [2025]
2025,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[94, 8], Operations: ['81-62=19', '27-19=8']
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,52 unequal: No Solution
Exploring Operation: 94*8=752, Resulting Numbers: [752]
752,52 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,52 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
9,
3,
8,
1
] | 69 | [
"9*8=72",
"3*1=3",
"72-3=69"
] | Current State: 69:[9, 3, 8, 1], Operations: []
Exploring Operation: 9*8=72, Resulting Numbers: [3, 1, 72]
Generated Node #2: [3, 1, 72] from Operation: 9*8=72
Current State: 69:[3, 1, 72], Operations: ['9*8=72']
Exploring Operation: 3*1=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 3*1=3
Current State: 69:[72, 3], Operations: ['9*8=72', '3*1=3']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[9, 3, 8, 1], Operations: []
Exploring Operation: 9-8=1, Resulting Numbers: [3, 1, 1]
Generated Node #0,0: 69:[3, 1, 1] Operation: 9-8=1
Exploring Operation: 9*8=72, Resulting Numbers: [3, 1, 72]
Generated Node #0,1: 69:[3, 1, 72] Operation: 9*8=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[3, 1, 1], Operations: ['9-8=1']
Exploring Operation: 1+1=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 69:[3, 2] Operation: 1+1=2
Exploring Operation: 3*1=3, Resulting Numbers: [1, 3]
Generated Node #0,0,1: 69:[1, 3] Operation: 3*1=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[3, 2], Operations: ['9-8=1', '1+1=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,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:[1, 3], Operations: ['9-8=1', '3*1=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,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,1
Current State: 69:[3, 1, 72], Operations: ['9*8=72']
Exploring Operation: 72-3=69, Resulting Numbers: [1, 69]
Generated Node #0,1,0: 69:[1, 69] Operation: 72-3=69
Exploring Operation: 72-1=71, Resulting Numbers: [3, 71]
Generated Node #0,1,1: 69:[3, 71] Operation: 72-1=71
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[1, 69], Operations: ['9*8=72', '72-3=69']
Exploring Operation: 1*69=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[9, 3, 8, 1], Operations: []
Exploring Operation: 9*8=72, Resulting Numbers: [3, 1, 72]
Generated Node #0,1: 69:[3, 1, 72] Operation: 9*8=72
Moving to Node #0,1
Current State: 69:[3, 1, 72], Operations: ['9*8=72']
Exploring Operation: 72-3=69, Resulting Numbers: [1, 69]
Generated Node #0,1,0: 69:[1, 69] Operation: 72-3=69
Moving to Node #0,1,0
Current State: 69:[1, 69], Operations: ['9*8=72', '72-3=69']
Exploring Operation: 1*69=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
3,
32,
55,
33
] | 53 | [
"3+32=35",
"55+33=88",
"88-35=53"
] | Current State: 53:[3, 32, 55, 33], Operations: []
Exploring Operation: 3+32=35, Resulting Numbers: [55, 33, 35]
Generated Node #2: [55, 33, 35] from Operation: 3+32=35
Current State: 53:[55, 33, 35], Operations: ['3+32=35']
Exploring Operation: 55+33=88, Resulting Numbers: [35, 88]
Generated Node #3: [35, 88] from Operation: 55+33=88
Current State: 53:[35, 88], Operations: ['3+32=35', '55+33=88']
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[3, 32, 55, 33], Operations: []
Exploring Operation: 3+32=35, Resulting Numbers: [55, 33, 35]
Generated Node #0,0: 53:[55, 33, 35] Operation: 3+32=35
Exploring Operation: 3+33=36, Resulting Numbers: [32, 55, 36]
Generated Node #0,1: 53:[32, 55, 36] Operation: 3+33=36
Exploring Operation: 32-3=29, Resulting Numbers: [55, 33, 29]
Generated Node #0,2: 53:[55, 33, 29] Operation: 32-3=29
Exploring Operation: 55-3=52, Resulting Numbers: [32, 33, 52]
Generated Node #0,3: 53:[32, 33, 52] Operation: 55-3=52
Moving to Node #0,0
Current State: 53:[55, 33, 35], Operations: ['3+32=35']
Exploring Operation: 55-33=22, Resulting Numbers: [35, 22]
Generated Node #0,0,0: 53:[35, 22] Operation: 55-33=22
Exploring Operation: 33+35=68, Resulting Numbers: [55, 68]
Generated Node #0,0,1: 53:[55, 68] Operation: 33+35=68
Exploring Operation: 55-35=20, Resulting Numbers: [33, 20]
Generated Node #0,0,2: 53:[33, 20] Operation: 55-35=20
Exploring Operation: 55+33=88, Resulting Numbers: [35, 88]
Generated Node #0,0,3: 53:[35, 88] Operation: 55+33=88
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[55, 68], Operations: ['3+32=35', '33+35=68']
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,53 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 55*68=3740, Resulting Numbers: [3740]
3740,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,0,0
Current State: 53:[35, 22], Operations: ['3+32=35', '55-33=22']
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 35*22=770, Resulting Numbers: [770]
770,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,0,2
Current State: 53:[33, 20], Operations: ['3+32=35', '55-35=20']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[3, 32, 55, 33], Operations: []
Exploring Operation: 3+32=35, Resulting Numbers: [55, 33, 35]
Generated Node #0,0: 53:[55, 33, 35] Operation: 3+32=35
Moving to Node #0,0
Current State: 53:[55, 33, 35], Operations: ['3+32=35']
Exploring Operation: 55-35=20, Resulting Numbers: [33, 20]
Generated Node #0,0,2: 53:[33, 20] Operation: 55-35=20
Moving to Node #0,0,2
Current State: 53:[33, 20], Operations: ['3+32=35', '55-35=20']
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
64,
25,
90,
74
] | 75 | [
"64+25=89",
"90+74=164",
"164-89=75"
] | Current State: 75:[64, 25, 90, 74], Operations: []
Exploring Operation: 64+25=89, Resulting Numbers: [90, 74, 89]
Generated Node #2: [90, 74, 89] from Operation: 64+25=89
Current State: 75:[90, 74, 89], Operations: ['64+25=89']
Exploring Operation: 90+74=164, Resulting Numbers: [89, 164]
Generated Node #3: [89, 164] from Operation: 90+74=164
Current State: 75:[89, 164], Operations: ['64+25=89', '90+74=164']
Exploring Operation: 164-89=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[64, 25, 90, 74], Operations: []
Exploring Operation: 90-74=16, Resulting Numbers: [64, 25, 16]
Generated Node #0,0: 75:[64, 25, 16] Operation: 90-74=16
Exploring Operation: 90-64=26, Resulting Numbers: [25, 74, 26]
Generated Node #0,1: 75:[25, 74, 26] Operation: 90-64=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[25, 74, 26], Operations: ['90-64=26']
Exploring Operation: 74-26=48, Resulting Numbers: [25, 48]
Generated Node #0,1,0: 75:[25, 48] Operation: 74-26=48
Exploring Operation: 26-25=1, Resulting Numbers: [74, 1]
Generated Node #0,1,1: 75:[74, 1] Operation: 26-25=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[74, 1], Operations: ['90-64=26', '26-25=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[64, 25, 90, 74], Operations: []
Exploring Operation: 90-64=26, Resulting Numbers: [25, 74, 26]
Generated Node #0,1: 75:[25, 74, 26] Operation: 90-64=26
Moving to Node #0,1
Current State: 75:[25, 74, 26], Operations: ['90-64=26']
Exploring Operation: 26-25=1, Resulting Numbers: [74, 1]
Generated Node #0,1,1: 75:[74, 1] Operation: 26-25=1
Moving to Node #0,1,1
Current State: 75:[74, 1], Operations: ['90-64=26', '26-25=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
68,
26,
69,
16
] | 10 | [
"69-68=1",
"26-16=10",
"1*10=10"
] | Current State: 10:[68, 26, 69, 16], Operations: []
Exploring Operation: 69-68=1, Resulting Numbers: [26, 16, 1]
Generated Node #2: [26, 16, 1] from Operation: 69-68=1
Current State: 10:[26, 16, 1], Operations: ['69-68=1']
Exploring Operation: 26-16=10, Resulting Numbers: [1, 10]
Generated Node #3: [1, 10] from Operation: 26-16=10
Current State: 10:[1, 10], Operations: ['69-68=1', '26-16=10']
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[68, 26, 69, 16], Operations: []
Exploring Operation: 68-16=52, Resulting Numbers: [26, 69, 52]
Generated Node #0,0: 10:[26, 69, 52] Operation: 68-16=52
Exploring Operation: 69-26=43, Resulting Numbers: [68, 16, 43]
Generated Node #0,1: 10:[68, 16, 43] Operation: 69-26=43
Exploring Operation: 69-68=1, Resulting Numbers: [26, 16, 1]
Generated Node #0,2: 10:[26, 16, 1] Operation: 69-68=1
Exploring Operation: 68-26=42, Resulting Numbers: [69, 16, 42]
Generated Node #0,3: 10:[69, 16, 42] Operation: 68-26=42
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[26, 16, 1], Operations: ['69-68=1']
Exploring Operation: 16-1=15, Resulting Numbers: [26, 15]
Generated Node #0,2,0: 10:[26, 15] Operation: 16-1=15
Exploring Operation: 26-1=25, Resulting Numbers: [16, 25]
Generated Node #0,2,1: 10:[16, 25] Operation: 26-1=25
Exploring Operation: 26*1=26, Resulting Numbers: [16, 26]
Generated Node #0,2,2: 10:[16, 26] Operation: 26*1=26
Exploring Operation: 26-16=10, Resulting Numbers: [1, 10]
Generated Node #0,2,3: 10:[1, 10] Operation: 26-16=10
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 10:[1, 10], Operations: ['69-68=1', '26-16=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[68, 26, 69, 16], Operations: []
Exploring Operation: 69-68=1, Resulting Numbers: [26, 16, 1]
Generated Node #0,2: 10:[26, 16, 1] Operation: 69-68=1
Moving to Node #0,2
Current State: 10:[26, 16, 1], Operations: ['69-68=1']
Exploring Operation: 26-16=10, Resulting Numbers: [1, 10]
Generated Node #0,2,3: 10:[1, 10] Operation: 26-16=10
Moving to Node #0,2,3
Current State: 10:[1, 10], Operations: ['69-68=1', '26-16=10']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
34,
96,
17,
5
] | 89 | [
"34/17=2",
"96-5=91",
"91-2=89"
] | Current State: 89:[34, 96, 17, 5], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [96, 5, 2]
Generated Node #2: [96, 5, 2] from Operation: 34/17=2
Current State: 89:[96, 5, 2], Operations: ['34/17=2']
Exploring Operation: 96-5=91, Resulting Numbers: [2, 91]
Generated Node #3: [2, 91] from Operation: 96-5=91
Current State: 89:[2, 91], Operations: ['34/17=2', '96-5=91']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[34, 96, 17, 5], Operations: []
Exploring Operation: 96-5=91, Resulting Numbers: [34, 17, 91]
Generated Node #0,0: 89:[34, 17, 91] Operation: 96-5=91
Exploring Operation: 34+17=51, Resulting Numbers: [96, 5, 51]
Generated Node #0,1: 89:[96, 5, 51] Operation: 34+17=51
Exploring Operation: 34+5=39, Resulting Numbers: [96, 17, 39]
Generated Node #0,2: 89:[96, 17, 39] Operation: 34+5=39
Exploring Operation: 17*5=85, Resulting Numbers: [34, 96, 85]
Generated Node #0,3: 89:[34, 96, 85] Operation: 17*5=85
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[34, 96, 85], Operations: ['17*5=85']
Exploring Operation: 34+96=130, Resulting Numbers: [85, 130]
Generated Node #0,3,0: 89:[85, 130] Operation: 34+96=130
Exploring Operation: 34+85=119, Resulting Numbers: [96, 119]
Generated Node #0,3,1: 89:[96, 119] Operation: 34+85=119
Exploring Operation: 85-34=51, Resulting Numbers: [96, 51]
Generated Node #0,3,2: 89:[96, 51] Operation: 85-34=51
Exploring Operation: 96-34=62, Resulting Numbers: [85, 62]
Generated Node #0,3,3: 89:[85, 62] Operation: 96-34=62
Moving to Node #0,3,3
Current State: 89:[85, 62], Operations: ['17*5=85', '96-34=62']
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 85*62=5270, Resulting Numbers: [5270]
5270,89 unequal: No Solution
Exploring Operation: 85+62=147, Resulting Numbers: [147]
147,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[96, 119], Operations: ['17*5=85', '34+85=119']
Exploring Operation: 119-96=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 96+119=215, Resulting Numbers: [215]
215,89 unequal: No Solution
Exploring Operation: 96*119=11424, Resulting Numbers: [11424]
11424,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[96, 51], Operations: ['17*5=85', '85-34=51']
Exploring Operation: 96+51=147, Resulting Numbers: [147]
147,89 unequal: No Solution
Exploring Operation: 96*51=4896, Resulting Numbers: [4896]
4896,89 unequal: No Solution
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[85, 130], Operations: ['17*5=85', '34+96=130']
Exploring Operation: 85+130=215, Resulting Numbers: [215]
215,89 unequal: No Solution
Exploring Operation: 130-85=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 85*130=11050, Resulting Numbers: [11050]
11050,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
Current State: 89:[34, 17, 91], Operations: ['96-5=91']
Exploring Operation: 17+91=108, Resulting Numbers: [34, 108]
Generated Node #0,0,0: 89:[34, 108] Operation: 17+91=108
Exploring Operation: 34+17=51, Resulting Numbers: [91, 51]
Generated Node #0,0,1: 89:[91, 51] Operation: 34+17=51
Exploring Operation: 34-17=17, Resulting Numbers: [91, 17]
Generated Node #0,0,2: 89:[91, 17] Operation: 34-17=17
Exploring Operation: 91-17=74, Resulting Numbers: [34, 74]
Generated Node #0,0,3: 89:[34, 74] Operation: 91-17=74
Moving to Node #0,0,1
Current State: 89:[91, 51], Operations: ['96-5=91', '34+17=51']
Exploring Operation: 91*51=4641, Resulting Numbers: [4641]
4641,89 unequal: No Solution
Exploring Operation: 91+51=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Exploring Operation: 91-51=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[34, 74], Operations: ['96-5=91', '91-17=74']
Exploring Operation: 74-34=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Exploring Operation: 34*74=2516, Resulting Numbers: [2516]
2516,89 unequal: No Solution
Exploring Operation: 34+74=108, Resulting Numbers: [108]
108,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[91, 17], Operations: ['96-5=91', '34-17=17']
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 91*17=1547, Resulting Numbers: [1547]
1547,89 unequal: No Solution
Exploring Operation: 91+17=108, Resulting Numbers: [108]
108,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[34, 108], Operations: ['96-5=91', '17+91=108']
Exploring Operation: 34*108=3672, Resulting Numbers: [3672]
3672,89 unequal: No Solution
Exploring Operation: 34+108=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Exploring Operation: 108-34=74, Resulting Numbers: [74]
74,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,1
Current State: 89:[96, 5, 51], Operations: ['34+17=51']
Exploring Operation: 96+5=101, Resulting Numbers: [51, 101]
Generated Node #0,1,0: 89:[51, 101] Operation: 96+5=101
Exploring Operation: 5+51=56, Resulting Numbers: [96, 56]
Generated Node #0,1,1: 89:[96, 56] Operation: 5+51=56
Exploring Operation: 51-5=46, Resulting Numbers: [96, 46]
Generated Node #0,1,2: 89:[96, 46] Operation: 51-5=46
Exploring Operation: 96-5=91, Resulting Numbers: [51, 91]
Generated Node #0,1,3: 89:[51, 91] Operation: 96-5=91
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[96, 56], Operations: ['34+17=51', '5+51=56']
Exploring Operation: 96-56=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Exploring Operation: 96*56=5376, Resulting Numbers: [5376]
5376,89 unequal: No Solution
Exploring Operation: 96+56=152, Resulting Numbers: [152]
152,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 89:[51, 91], Operations: ['34+17=51', '96-5=91']
Exploring Operation: 91-51=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Exploring Operation: 51*91=4641, Resulting Numbers: [4641]
4641,89 unequal: No Solution
Exploring Operation: 51+91=142, Resulting Numbers: [142]
142,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[51, 101], Operations: ['34+17=51', '96+5=101']
Exploring Operation: 51+101=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 51*101=5151, Resulting Numbers: [5151]
5151,89 unequal: No Solution
Exploring Operation: 101-51=50, Resulting Numbers: [50]
50,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[96, 46], Operations: ['34+17=51', '51-5=46']
Exploring Operation: 96*46=4416, Resulting Numbers: [4416]
4416,89 unequal: No Solution
Exploring Operation: 96+46=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Exploring Operation: 96-46=50, Resulting Numbers: [50]
50,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,2
Current State: 89:[96, 17, 39], Operations: ['34+5=39']
Exploring Operation: 96-17=79, Resulting Numbers: [39, 79]
Generated Node #0,2,0: 89:[39, 79] Operation: 96-17=79
Exploring Operation: 39-17=22, Resulting Numbers: [96, 22]
Generated Node #0,2,1: 89:[96, 22] Operation: 39-17=22
Exploring Operation: 17+39=56, Resulting Numbers: [96, 56]
Generated Node #0,2,2: 89:[96, 56] Operation: 17+39=56
Exploring Operation: 96+17=113, Resulting Numbers: [39, 113]
Generated Node #0,2,3: 89:[39, 113] Operation: 96+17=113
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[96, 56], Operations: ['34+5=39', '17+39=56']
Exploring Operation: 96-56=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Exploring Operation: 96+56=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 96*56=5376, Resulting Numbers: [5376]
5376,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[39, 79], Operations: ['34+5=39', '96-17=79']
Exploring Operation: 79-39=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Exploring Operation: 39+79=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 39*79=3081, Resulting Numbers: [3081]
3081,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[96, 22], Operations: ['34+5=39', '39-17=22']
Exploring Operation: 96+22=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 96*22=2112, Resulting Numbers: [2112]
2112,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 89:[39, 113], Operations: ['34+5=39', '96+17=113']
Exploring Operation: 113-39=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 39*113=4407, Resulting Numbers: [4407]
4407,89 unequal: No Solution
Exploring Operation: 39+113=152, Resulting Numbers: [152]
152,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
50,
53,
68,
55
] | 84 | [
"55-53=2",
"68/2=34",
"50+34=84"
] | Current State: 84:[50, 53, 68, 55], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [50, 68, 2]
Generated Node #2: [50, 68, 2] from Operation: 55-53=2
Current State: 84:[50, 68, 2], Operations: ['55-53=2']
Exploring Operation: 68/2=34, Resulting Numbers: [50, 34]
Generated Node #3: [50, 34] from Operation: 68/2=34
Current State: 84:[50, 34], Operations: ['55-53=2', '68/2=34']
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[50, 53, 68, 55], Operations: []
Exploring Operation: 68-55=13, Resulting Numbers: [50, 53, 13]
Generated Node #0,0: 84:[50, 53, 13] Operation: 68-55=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[50, 53, 13], Operations: ['68-55=13']
Exploring Operation: 53-50=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 84:[13, 3] Operation: 53-50=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[13, 3], Operations: ['68-55=13', '53-50=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,84 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 |
[
92,
2,
57,
92
] | 22 | [
"92-57=35",
"2*35=70",
"92-70=22"
] | Current State: 22:[92, 2, 57, 92], Operations: []
Exploring Operation: 92-57=35, Resulting Numbers: [2, 35]
Generated Node #2: [2, 35] from Operation: 92-57=35
Current State: 22:[2, 35], Operations: ['92-57=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,22 equal: Goal Reached
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[92, 2, 57, 92], Operations: []
Exploring Operation: 92-92=0, Resulting Numbers: [2, 57, 0]
Generated Node #0,0: 22:[2, 57, 0] Operation: 92-92=0
Exploring Operation: 92/92=1, Resulting Numbers: [2, 57, 1]
Generated Node #0,1: 22:[2, 57, 1] Operation: 92/92=1
Exploring Operation: 92-57=35, Resulting Numbers: [92, 2, 35]
Generated Node #0,2: 22:[92, 2, 35] Operation: 92-57=35
Exploring Operation: 92-57=35, Resulting Numbers: [2, 92, 35]
Generated Node #0,3: 22:[2, 92, 35] Operation: 92-57=35
Moving to Node #0,1
Current State: 22:[2, 57, 1], Operations: ['92/92=1']
Exploring Operation: 57-2=55, Resulting Numbers: [1, 55]
Generated Node #0,1,0: 22:[1, 55] Operation: 57-2=55
Exploring Operation: 57-1=56, Resulting Numbers: [2, 56]
Generated Node #0,1,1: 22:[2, 56] Operation: 57-1=56
Exploring Operation: 2*1=2, Resulting Numbers: [57, 2]
Generated Node #0,1,2: 22:[57, 2] Operation: 2*1=2
Exploring Operation: 2/1=2, Resulting Numbers: [57, 2]
Generated Node #0,1,3: 22:[57, 2] Operation: 2/1=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[1, 55], Operations: ['92/92=1', '57-2=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,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,1,1
Current State: 22:[2, 56], Operations: ['92/92=1', '57-1=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,22 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,22 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,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,1,2
Current State: 22:[57, 2], Operations: ['92/92=1', '2*1=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,22 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,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,1,3
Current State: 22:[57, 2], Operations: ['92/92=1', '2/1=2']
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,22 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,22 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,22 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: 22:[2, 57, 0], Operations: ['92-92=0']
Exploring Operation: 57-2=55, Resulting Numbers: [0, 55]
Generated Node #0,0,0: 22:[0, 55] Operation: 57-2=55
Exploring Operation: 2-0=2, Resulting Numbers: [57, 2]
Generated Node #0,0,1: 22:[57, 2] Operation: 2-0=2
Exploring Operation: 57*0=0, Resulting Numbers: [2, 0]
Generated Node #0,0,2: 22:[2, 0] Operation: 57*0=0
Exploring Operation: 2+0=2, Resulting Numbers: [57, 2]
Generated Node #0,0,3: 22:[57, 2] Operation: 2+0=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[2, 0], Operations: ['92-92=0', '57*0=0']
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,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:[0, 55], Operations: ['92-92=0', '57-2=55']
Exploring Operation: 55-0=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 0*55=0, Resulting Numbers: [0]
0,22 unequal: No Solution
Exploring Operation: 0+55=55, Resulting Numbers: [55]
55,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:[57, 2], Operations: ['92-92=0', '2-0=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,22 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,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:[57, 2], Operations: ['92-92=0', '2+0=2']
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,22 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,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:[2, 92, 35], Operations: ['92-57=35']
Exploring Operation: 92-35=57, Resulting Numbers: [2, 57]
Generated Node #0,3,0: 22:[2, 57] Operation: 92-35=57
Exploring Operation: 35-2=33, Resulting Numbers: [92, 33]
Generated Node #0,3,1: 22:[92, 33] Operation: 35-2=33
Exploring Operation: 92-2=90, Resulting Numbers: [35, 90]
Generated Node #0,3,2: 22:[35, 90] Operation: 92-2=90
Exploring Operation: 92/2=46, Resulting Numbers: [35, 46]
Generated Node #0,3,3: 22:[35, 46] Operation: 92/2=46
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 22:[2, 57], Operations: ['92-57=35', '92-35=57']
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,22 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,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,3,3
Current State: 22:[35, 46], Operations: ['92-57=35', '92/2=46']
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,22 unequal: No Solution
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,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,3,1
Current State: 22:[92, 33], Operations: ['92-57=35', '35-2=33']
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,22 unequal: No Solution
Exploring Operation: 92*33=3036, Resulting Numbers: [3036]
3036,22 unequal: No Solution
Exploring Operation: 92+33=125, Resulting Numbers: [125]
125,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,3,2
Current State: 22:[35, 90], Operations: ['92-57=35', '92-2=90']
Exploring Operation: 35+90=125, Resulting Numbers: [125]
125,22 unequal: No Solution
Exploring Operation: 35*90=3150, Resulting Numbers: [3150]
3150,22 unequal: No Solution
Exploring Operation: 90-35=55, Resulting Numbers: [55]
55,22 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: 22:[92, 2, 35], Operations: ['92-57=35']
Exploring Operation: 35-2=33, Resulting Numbers: [92, 33]
Generated Node #0,2,0: 22:[92, 33] Operation: 35-2=33
Exploring Operation: 92/2=46, Resulting Numbers: [35, 46]
Generated Node #0,2,1: 22:[35, 46] Operation: 92/2=46
Exploring Operation: 92-35=57, Resulting Numbers: [2, 57]
Generated Node #0,2,2: 22:[2, 57] Operation: 92-35=57
Exploring Operation: 92-2=90, Resulting Numbers: [35, 90]
Generated Node #0,2,3: 22:[35, 90] Operation: 92-2=90
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[2, 57], Operations: ['92-57=35', '92-35=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,22 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,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:[35, 46], Operations: ['92-57=35', '92/2=46']
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,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,0
Current State: 22:[92, 33], Operations: ['92-57=35', '35-2=33']
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,22 unequal: No Solution
Exploring Operation: 92+33=125, Resulting Numbers: [125]
125,22 unequal: No Solution
Exploring Operation: 92*33=3036, Resulting Numbers: [3036]
3036,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:[35, 90], Operations: ['92-57=35', '92-2=90']
Exploring Operation: 35*90=3150, Resulting Numbers: [3150]
3150,22 unequal: No Solution
Exploring Operation: 35+90=125, Resulting Numbers: [125]
125,22 unequal: No Solution
Exploring Operation: 90-35=55, Resulting Numbers: [55]
55,22 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 |
[
54,
18,
47,
9
] | 94 | [
"54*47=2538",
"18+9=27",
"2538/27=94"
] | Current State: 94:[54, 18, 47, 9], Operations: []
Exploring Operation: 54*47=2538, Resulting Numbers: [18, 9, 2538]
Generated Node #2: [18, 9, 2538] from Operation: 54*47=2538
Current State: 94:[18, 9, 2538], Operations: ['54*47=2538']
Exploring Operation: 18+9=27, Resulting Numbers: [2538, 27]
Generated Node #3: [2538, 27] from Operation: 18+9=27
Current State: 94:[2538, 27], Operations: ['54*47=2538', '18+9=27']
Exploring Operation: 2538/27=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[54, 18, 47, 9], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [54, 47, 2]
Generated Node #0,0: 94:[54, 47, 2] Operation: 18/9=2
Moving to Node #0,0
Current State: 94:[54, 47, 2], Operations: ['18/9=2']
Exploring Operation: 54-47=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 94:[2, 7] Operation: 54-47=7
Moving to Node #0,0,0
Current State: 94:[2, 7], Operations: ['18/9=2', '54-47=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,94 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
22,
72,
13
] | 99 | [
"3+13=16",
"22*72=1584",
"1584/16=99"
] | Current State: 99:[3, 22, 72, 13], Operations: []
Exploring Operation: 3+13=16, Resulting Numbers: [22, 72, 16]
Generated Node #2: [22, 72, 16] from Operation: 3+13=16
Current State: 99:[22, 72, 16], Operations: ['3+13=16']
Exploring Operation: 22*72=1584, Resulting Numbers: [16, 1584]
Generated Node #3: [16, 1584] from Operation: 22*72=1584
Current State: 99:[16, 1584], Operations: ['3+13=16', '22*72=1584']
Exploring Operation: 1584/16=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[3, 22, 72, 13], Operations: []
Exploring Operation: 22+72=94, Resulting Numbers: [3, 13, 94]
Generated Node #0,0: 99:[3, 13, 94] Operation: 22+72=94
Exploring Operation: 72-22=50, Resulting Numbers: [3, 13, 50]
Generated Node #0,1: 99:[3, 13, 50] Operation: 72-22=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[3, 13, 94], Operations: ['22+72=94']
Exploring Operation: 3+94=97, Resulting Numbers: [13, 97]
Generated Node #0,0,0: 99:[13, 97] Operation: 3+94=97
Exploring Operation: 13-3=10, Resulting Numbers: [94, 10]
Generated Node #0,0,1: 99:[94, 10] Operation: 13-3=10
Moving to Node #0,0,0
Current State: 99:[13, 97], Operations: ['22+72=94', '3+94=97']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,99 unequal: No Solution
Exploring Operation: 13+97=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[94, 10], Operations: ['22+72=94', '13-3=10']
Exploring Operation: 94+10=104, Resulting Numbers: [104]
104,99 unequal: No Solution
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,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,1
Current State: 99:[3, 13, 50], Operations: ['72-22=50']
Exploring Operation: 50-3=47, Resulting Numbers: [13, 47]
Generated Node #0,1,0: 99:[13, 47] Operation: 50-3=47
Exploring Operation: 50-13=37, Resulting Numbers: [3, 37]
Generated Node #0,1,1: 99:[3, 37] Operation: 50-13=37
Moving to Node #0,1,1
Current State: 99:[3, 37], Operations: ['72-22=50', '50-13=37']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[13, 47], Operations: ['72-22=50', '50-3=47']
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 13+47=60, Resulting Numbers: [60]
60,99 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 |
[
15,
74,
6,
57
] | 26 | [
"15+74=89",
"6+57=63",
"89-63=26"
] | Current State: 26:[15, 74, 6, 57], Operations: []
Exploring Operation: 15+74=89, Resulting Numbers: [6, 57, 89]
Generated Node #2: [6, 57, 89] from Operation: 15+74=89
Current State: 26:[6, 57, 89], Operations: ['15+74=89']
Exploring Operation: 6+57=63, Resulting Numbers: [89, 63]
Generated Node #3: [89, 63] from Operation: 6+57=63
Current State: 26:[89, 63], Operations: ['15+74=89', '6+57=63']
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[15, 74, 6, 57], Operations: []
Exploring Operation: 74-15=59, Resulting Numbers: [6, 57, 59]
Generated Node #0,0: 26:[6, 57, 59] Operation: 74-15=59
Exploring Operation: 74-57=17, Resulting Numbers: [15, 6, 17]
Generated Node #0,1: 26:[15, 6, 17] Operation: 74-57=17
Exploring Operation: 57-15=42, Resulting Numbers: [74, 6, 42]
Generated Node #0,2: 26:[74, 6, 42] Operation: 57-15=42
Moving to Node #0,1
Current State: 26:[15, 6, 17], Operations: ['74-57=17']
Exploring Operation: 17-6=11, Resulting Numbers: [15, 11]
Generated Node #0,1,0: 26:[15, 11] Operation: 17-6=11
Exploring Operation: 17-15=2, Resulting Numbers: [6, 2]
Generated Node #0,1,1: 26:[6, 2] Operation: 17-15=2
Exploring Operation: 6+17=23, Resulting Numbers: [15, 23]
Generated Node #0,1,2: 26:[15, 23] Operation: 6+17=23
Moving to Node #0,0
Current State: 26:[6, 57, 59], Operations: ['74-15=59']
Exploring Operation: 59-6=53, Resulting Numbers: [57, 53]
Generated Node #0,0,0: 26:[57, 53] Operation: 59-6=53
Exploring Operation: 57-6=51, Resulting Numbers: [59, 51]
Generated Node #0,0,1: 26:[59, 51] Operation: 57-6=51
Exploring Operation: 59-57=2, Resulting Numbers: [6, 2]
Generated Node #0,0,2: 26:[6, 2] Operation: 59-57=2
Moving to Node #0,2
Current State: 26:[74, 6, 42], Operations: ['57-15=42']
Exploring Operation: 74-6=68, Resulting Numbers: [42, 68]
Generated Node #0,2,0: 26:[42, 68] Operation: 74-6=68
Exploring Operation: 42/6=7, Resulting Numbers: [74, 7]
Generated Node #0,2,1: 26:[74, 7] Operation: 42/6=7
Exploring Operation: 74-42=32, Resulting Numbers: [6, 32]
Generated Node #0,2,2: 26:[6, 32] Operation: 74-42=32
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[6, 32], Operations: ['57-15=42', '74-42=32']
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,26 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[15, 74, 6, 57], Operations: []
Exploring Operation: 57-15=42, Resulting Numbers: [74, 6, 42]
Generated Node #0,2: 26:[74, 6, 42] Operation: 57-15=42
Moving to Node #0,2
Current State: 26:[74, 6, 42], Operations: ['57-15=42']
Exploring Operation: 74-42=32, Resulting Numbers: [6, 32]
Generated Node #0,2,2: 26:[6, 32] Operation: 74-42=32
Moving to Node #0,2,2
Current State: 26:[6, 32], Operations: ['57-15=42', '74-42=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
5,
96,
18,
57
] | 52 | [
"96-5=91",
"57-18=39",
"91-39=52"
] | Current State: 52:[5, 96, 18, 57], Operations: []
Exploring Operation: 96-5=91, Resulting Numbers: [18, 57, 91]
Generated Node #2: [18, 57, 91] from Operation: 96-5=91
Current State: 52:[18, 57, 91], Operations: ['96-5=91']
Exploring Operation: 57-18=39, Resulting Numbers: [91, 39]
Generated Node #3: [91, 39] from Operation: 57-18=39
Current State: 52:[91, 39], Operations: ['96-5=91', '57-18=39']
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[5, 96, 18, 57], Operations: []
Exploring Operation: 96-18=78, Resulting Numbers: [5, 57, 78]
Generated Node #0,0: 52:[5, 57, 78] Operation: 96-18=78
Exploring Operation: 96-5=91, Resulting Numbers: [18, 57, 91]
Generated Node #0,1: 52:[18, 57, 91] Operation: 96-5=91
Exploring Operation: 96-57=39, Resulting Numbers: [5, 18, 39]
Generated Node #0,2: 52:[5, 18, 39] Operation: 96-57=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[5, 18, 39], Operations: ['96-57=39']
Exploring Operation: 18+39=57, Resulting Numbers: [5, 57]
Generated Node #0,2,0: 52:[5, 57] Operation: 18+39=57
Exploring Operation: 18-5=13, Resulting Numbers: [39, 13]
Generated Node #0,2,1: 52:[39, 13] Operation: 18-5=13
Exploring Operation: 39-18=21, Resulting Numbers: [5, 21]
Generated Node #0,2,2: 52:[5, 21] Operation: 39-18=21
Moving to Node #0,2,0
Current State: 52:[5, 57], Operations: ['96-57=39', '18+39=57']
Exploring Operation: 5*57=285, Resulting Numbers: [285]
285,52 unequal: No Solution
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[5, 96, 18, 57], Operations: []
Exploring Operation: 96-57=39, Resulting Numbers: [5, 18, 39]
Generated Node #0,2: 52:[5, 18, 39] Operation: 96-57=39
Moving to Node #0,2
Current State: 52:[5, 18, 39], Operations: ['96-57=39']
Exploring Operation: 18+39=57, Resulting Numbers: [5, 57]
Generated Node #0,2,0: 52:[5, 57] Operation: 18+39=57
Moving to Node #0,2,0
Current State: 52:[5, 57], Operations: ['96-57=39', '18+39=57']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
35,
31,
86,
24
] | 66 | [
"35-31=4",
"86-24=62",
"4+62=66"
] | Current State: 66:[35, 31, 86, 24], Operations: []
Exploring Operation: 35-31=4, Resulting Numbers: [86, 24, 4]
Generated Node #2: [86, 24, 4] from Operation: 35-31=4
Current State: 66:[86, 24, 4], Operations: ['35-31=4']
Exploring Operation: 86-24=62, Resulting Numbers: [4, 62]
Generated Node #3: [4, 62] from Operation: 86-24=62
Current State: 66:[4, 62], Operations: ['35-31=4', '86-24=62']
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[35, 31, 86, 24], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [35, 31, 62]
Generated Node #0,0: 66:[35, 31, 62] Operation: 86-24=62
Exploring Operation: 86-35=51, Resulting Numbers: [31, 24, 51]
Generated Node #0,1: 66:[31, 24, 51] Operation: 86-35=51
Exploring Operation: 86-31=55, Resulting Numbers: [35, 24, 55]
Generated Node #0,2: 66:[35, 24, 55] Operation: 86-31=55
Exploring Operation: 35+31=66, Resulting Numbers: [86, 24, 66]
Generated Node #0,3: 66:[86, 24, 66] Operation: 35+31=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[35, 31, 62], Operations: ['86-24=62']
Exploring Operation: 62/31=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 66:[35, 2] Operation: 62/31=2
Exploring Operation: 35+31=66, Resulting Numbers: [62, 66]
Generated Node #0,0,1: 66:[62, 66] Operation: 35+31=66
Exploring Operation: 35-31=4, Resulting Numbers: [62, 4]
Generated Node #0,0,2: 66:[62, 4] Operation: 35-31=4
Exploring Operation: 62-31=31, Resulting Numbers: [35, 31]
Generated Node #0,0,3: 66:[35, 31] Operation: 62-31=31
Moving to Node #0,0,0
Current State: 66:[35, 2], Operations: ['86-24=62', '62/31=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[35, 31], Operations: ['86-24=62', '62-31=31']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[35, 31, 86, 24], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [35, 31, 62]
Generated Node #0,0: 66:[35, 31, 62] Operation: 86-24=62
Moving to Node #0,0
Current State: 66:[35, 31, 62], Operations: ['86-24=62']
Exploring Operation: 62-31=31, Resulting Numbers: [35, 31]
Generated Node #0,0,3: 66:[35, 31] Operation: 62-31=31
Moving to Node #0,0,3
Current State: 66:[35, 31], Operations: ['86-24=62', '62-31=31']
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.