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 |
|---|---|---|---|---|---|---|---|---|
[
49,
31,
77,
52
] | 49 | [
"49+31=80",
"77+52=129",
"129-80=49"
] | Current State: 49:[49, 31, 77, 52], Operations: []
Exploring Operation: 49+31=80, Resulting Numbers: [77, 52, 80]
Generated Node #2: [77, 52, 80] from Operation: 49+31=80
Current State: 49:[77, 52, 80], Operations: ['49+31=80']
Exploring Operation: 77+52=129, Resulting Numbers: [80, 129]
Generated Node #3: [80, 129] from Operation: 77+52=129
Current State: 49:[80, 129], Operations: ['49+31=80', '77+52=129']
Exploring Operation: 129-80=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[49, 31, 77, 52], Operations: []
Exploring Operation: 77-31=46, Resulting Numbers: [49, 52, 46]
Generated Node #0,0: 49:[49, 52, 46] Operation: 77-31=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[49, 52, 46], Operations: ['77-31=46']
Exploring Operation: 52-46=6, Resulting Numbers: [49, 6]
Generated Node #0,0,0: 49:[49, 6] Operation: 52-46=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[49, 6], Operations: ['77-31=46', '52-46=6']
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,49 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 |
[
30,
45,
2,
70
] | 25 | [
"70-30=40",
"40/2=20",
"45-20=25"
] | Current State: 25:[30, 45, 2, 70], Operations: []
Exploring Operation: 70-30=40, Resulting Numbers: [45, 2, 40]
Generated Node #2: [45, 2, 40] from Operation: 70-30=40
Current State: 25:[45, 2, 40], Operations: ['70-30=40']
Exploring Operation: 40/2=20, Resulting Numbers: [45, 20]
Generated Node #3: [45, 20] from Operation: 40/2=20
Current State: 25:[45, 20], Operations: ['70-30=40', '40/2=20']
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[30, 45, 2, 70], Operations: []
Exploring Operation: 70/2=35, Resulting Numbers: [30, 45, 35]
Generated Node #0,0: 25:[30, 45, 35] Operation: 70/2=35
Exploring Operation: 45-30=15, Resulting Numbers: [2, 70, 15]
Generated Node #0,1: 25:[2, 70, 15] Operation: 45-30=15
Exploring Operation: 70-45=25, Resulting Numbers: [30, 2, 25]
Generated Node #0,2: 25:[30, 2, 25] Operation: 70-45=25
Exploring Operation: 70-30=40, Resulting Numbers: [45, 2, 40]
Generated Node #0,3: 25:[45, 2, 40] Operation: 70-30=40
Moving to Node #0,2
Current State: 25:[30, 2, 25], Operations: ['70-45=25']
Exploring Operation: 30+2=32, Resulting Numbers: [25, 32]
Generated Node #0,2,0: 25:[25, 32] Operation: 30+2=32
Exploring Operation: 2+25=27, Resulting Numbers: [30, 27]
Generated Node #0,2,1: 25:[30, 27] Operation: 2+25=27
Exploring Operation: 30-25=5, Resulting Numbers: [2, 5]
Generated Node #0,2,2: 25:[2, 5] Operation: 30-25=5
Exploring Operation: 30-2=28, Resulting Numbers: [25, 28]
Generated Node #0,2,3: 25:[25, 28] Operation: 30-2=28
Moving to Node #0,0
Current State: 25:[30, 45, 35], Operations: ['70/2=35']
Exploring Operation: 45-35=10, Resulting Numbers: [30, 10]
Generated Node #0,0,0: 25:[30, 10] Operation: 45-35=10
Exploring Operation: 45-30=15, Resulting Numbers: [35, 15]
Generated Node #0,0,1: 25:[35, 15] Operation: 45-30=15
Exploring Operation: 30+45=75, Resulting Numbers: [35, 75]
Generated Node #0,0,2: 25:[35, 75] Operation: 30+45=75
Exploring Operation: 35-30=5, Resulting Numbers: [45, 5]
Generated Node #0,0,3: 25:[45, 5] Operation: 35-30=5
Moving to Node #0,3
Current State: 25:[45, 2, 40], Operations: ['70-30=40']
Exploring Operation: 40-2=38, Resulting Numbers: [45, 38]
Generated Node #0,3,0: 25:[45, 38] Operation: 40-2=38
Exploring Operation: 45-40=5, Resulting Numbers: [2, 5]
Generated Node #0,3,1: 25:[2, 5] Operation: 45-40=5
Exploring Operation: 45-2=43, Resulting Numbers: [40, 43]
Generated Node #0,3,2: 25:[40, 43] Operation: 45-2=43
Exploring Operation: 40/2=20, Resulting Numbers: [45, 20]
Generated Node #0,3,3: 25:[45, 20] Operation: 40/2=20
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 25:[2, 5], Operations: ['70-30=40', '45-40=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 25:[45, 20], Operations: ['70-30=40', '40/2=20']
Exploring Operation: 45+20=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Exploring Operation: 45*20=900, Resulting Numbers: [900]
900,25 unequal: No Solution
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[30, 45, 2, 70], Operations: []
Exploring Operation: 70-30=40, Resulting Numbers: [45, 2, 40]
Generated Node #0,3: 25:[45, 2, 40] Operation: 70-30=40
Moving to Node #0,3
Current State: 25:[45, 2, 40], Operations: ['70-30=40']
Exploring Operation: 40/2=20, Resulting Numbers: [45, 20]
Generated Node #0,3,3: 25:[45, 20] Operation: 40/2=20
Moving to Node #0,3,3
Current State: 25:[45, 20], Operations: ['70-30=40', '40/2=20']
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | mult_heuristic |
[
12,
82,
37,
6
] | 51 | [
"12+82=94",
"37+6=43",
"94-43=51"
] | Current State: 51:[12, 82, 37, 6], Operations: []
Exploring Operation: 12+82=94, Resulting Numbers: [37, 6, 94]
Generated Node #2: [37, 6, 94] from Operation: 12+82=94
Current State: 51:[37, 6, 94], Operations: ['12+82=94']
Exploring Operation: 37+6=43, Resulting Numbers: [94, 43]
Generated Node #3: [94, 43] from Operation: 37+6=43
Current State: 51:[94, 43], Operations: ['12+82=94', '37+6=43']
Exploring Operation: 94-43=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[12, 82, 37, 6], Operations: []
Exploring Operation: 82-37=45, Resulting Numbers: [12, 6, 45]
Generated Node #0,0: 51:[12, 6, 45] Operation: 82-37=45
Exploring Operation: 82-12=70, Resulting Numbers: [37, 6, 70]
Generated Node #0,1: 51:[37, 6, 70] Operation: 82-12=70
Exploring Operation: 12+37=49, Resulting Numbers: [82, 6, 49]
Generated Node #0,2: 51:[82, 6, 49] Operation: 12+37=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[12, 6, 45], Operations: ['82-37=45']
Exploring Operation: 12/6=2, Resulting Numbers: [45, 2]
Generated Node #0,0,0: 51:[45, 2] Operation: 12/6=2
Exploring Operation: 6+45=51, Resulting Numbers: [12, 51]
Generated Node #0,0,1: 51:[12, 51] Operation: 6+45=51
Exploring Operation: 12+6=18, Resulting Numbers: [45, 18]
Generated Node #0,0,2: 51:[45, 18] Operation: 12+6=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[12, 51], Operations: ['82-37=45', '6+45=51']
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,51 unequal: No Solution
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[45, 2], Operations: ['82-37=45', '12/6=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,51 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[45, 18], Operations: ['82-37=45', '12+6=18']
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[37, 6, 70], Operations: ['82-12=70']
Exploring Operation: 70-37=33, Resulting Numbers: [6, 33]
Generated Node #0,1,0: 51:[6, 33] Operation: 70-37=33
Exploring Operation: 70-6=64, Resulting Numbers: [37, 64]
Generated Node #0,1,1: 51:[37, 64] Operation: 70-6=64
Exploring Operation: 37+6=43, Resulting Numbers: [70, 43]
Generated Node #0,1,2: 51:[70, 43] Operation: 37+6=43
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[6, 33], Operations: ['82-12=70', '70-37=33']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[37, 64], Operations: ['82-12=70', '70-6=64']
Exploring Operation: 37+64=101, Resulting Numbers: [101]
101,51 unequal: No Solution
Exploring Operation: 37*64=2368, Resulting Numbers: [2368]
2368,51 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[70, 43], Operations: ['82-12=70', '37+6=43']
Exploring Operation: 70*43=3010, Resulting Numbers: [3010]
3010,51 unequal: No Solution
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,51 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[82, 6, 49], Operations: ['12+37=49']
Exploring Operation: 6+49=55, Resulting Numbers: [82, 55]
Generated Node #0,2,0: 51:[82, 55] Operation: 6+49=55
Exploring Operation: 82-49=33, Resulting Numbers: [6, 33]
Generated Node #0,2,1: 51:[6, 33] Operation: 82-49=33
Exploring Operation: 82-6=76, Resulting Numbers: [49, 76]
Generated Node #0,2,2: 51:[49, 76] Operation: 82-6=76
Moving to Node #0,2,1
Current State: 51:[6, 33], Operations: ['12+37=49', '82-49=33']
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,51 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[49, 76], Operations: ['12+37=49', '82-6=76']
Exploring Operation: 49+76=125, Resulting Numbers: [125]
125,51 unequal: No Solution
Exploring Operation: 49*76=3724, Resulting Numbers: [3724]
3724,51 unequal: No Solution
Exploring Operation: 76-49=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[82, 55], Operations: ['12+37=49', '6+49=55']
Exploring Operation: 82*55=4510, Resulting Numbers: [4510]
4510,51 unequal: No Solution
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 82+55=137, Resulting Numbers: [137]
137,51 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 |
[
7,
12,
60,
5
] | 30 | [
"7*60=420",
"420/12=35",
"35-5=30"
] | Current State: 30:[7, 12, 60, 5], Operations: []
Exploring Operation: 7*60=420, Resulting Numbers: [12, 5, 420]
Generated Node #2: [12, 5, 420] from Operation: 7*60=420
Current State: 30:[12, 5, 420], Operations: ['7*60=420']
Exploring Operation: 420/12=35, Resulting Numbers: [5, 35]
Generated Node #3: [5, 35] from Operation: 420/12=35
Current State: 30:[5, 35], Operations: ['7*60=420', '420/12=35']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[7, 12, 60, 5], Operations: []
Exploring Operation: 60-12=48, Resulting Numbers: [7, 5, 48]
Generated Node #0,0: 30:[7, 5, 48] Operation: 60-12=48
Exploring Operation: 60/12=5, Resulting Numbers: [7, 5, 5]
Generated Node #0,1: 30:[7, 5, 5] Operation: 60/12=5
Exploring Operation: 60-7=53, Resulting Numbers: [12, 5, 53]
Generated Node #0,2: 30:[12, 5, 53] Operation: 60-7=53
Exploring Operation: 60-5=55, Resulting Numbers: [7, 12, 55]
Generated Node #0,3: 30:[7, 12, 55] Operation: 60-5=55
Exploring Operation: 60/5=12, Resulting Numbers: [7, 12, 12]
Generated Node #0,4: 30:[7, 12, 12] Operation: 60/5=12
Moving to Node #0,1
Current State: 30:[7, 5, 5], Operations: ['60/12=5']
Exploring Operation: 7-5=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 30:[5, 2] Operation: 7-5=2
Exploring Operation: 5+5=10, Resulting Numbers: [7, 10]
Generated Node #0,1,1: 30:[7, 10] Operation: 5+5=10
Exploring Operation: 7+5=12, Resulting Numbers: [5, 12]
Generated Node #0,1,2: 30:[5, 12] Operation: 7+5=12
Exploring Operation: 7+5=12, Resulting Numbers: [5, 12]
Generated Node #0,1,3: 30:[5, 12] Operation: 7+5=12
Exploring Operation: 7-5=2, Resulting Numbers: [5, 2]
Generated Node #0,1,4: 30:[5, 2] Operation: 7-5=2
Moving to Node #0,4
Current State: 30:[7, 12, 12], Operations: ['60/5=12']
Exploring Operation: 12-7=5, Resulting Numbers: [12, 5]
Generated Node #0,4,0: 30:[12, 5] Operation: 12-7=5
Exploring Operation: 7+12=19, Resulting Numbers: [12, 19]
Generated Node #0,4,1: 30:[12, 19] Operation: 7+12=19
Exploring Operation: 12/12=1, Resulting Numbers: [7, 1]
Generated Node #0,4,2: 30:[7, 1] Operation: 12/12=1
Exploring Operation: 12-7=5, Resulting Numbers: [12, 5]
Generated Node #0,4,3: 30:[12, 5] Operation: 12-7=5
Exploring Operation: 12-12=0, Resulting Numbers: [7, 0]
Generated Node #0,4,4: 30:[7, 0] Operation: 12-12=0
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 30:[12, 5], Operations: ['60/5=12', '12-7=5']
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 30:[7, 1], Operations: ['60/5=12', '12/12=1']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 30:[12, 5], Operations: ['60/5=12', '12-7=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 30:[7, 0], Operations: ['60/5=12', '12-12=0']
Exploring Operation: 7-0=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 7*0=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 7+0=7, Resulting Numbers: [7]
7,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 30:[12, 19], Operations: ['60/5=12', '7+12=19']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 30:[7, 5, 48], Operations: ['60-12=48']
Exploring Operation: 7-5=2, Resulting Numbers: [48, 2]
Generated Node #0,0,0: 30:[48, 2] Operation: 7-5=2
Exploring Operation: 7*5=35, Resulting Numbers: [48, 35]
Generated Node #0,0,1: 30:[48, 35] Operation: 7*5=35
Exploring Operation: 48-7=41, Resulting Numbers: [5, 41]
Generated Node #0,0,2: 30:[5, 41] Operation: 48-7=41
Exploring Operation: 48-5=43, Resulting Numbers: [7, 43]
Generated Node #0,0,3: 30:[7, 43] Operation: 48-5=43
Exploring Operation: 7+5=12, Resulting Numbers: [48, 12]
Generated Node #0,0,4: 30:[48, 12] Operation: 7+5=12
Moving to Node #0,2
Current State: 30:[12, 5, 53], Operations: ['60-7=53']
Exploring Operation: 53-12=41, Resulting Numbers: [5, 41]
Generated Node #0,2,0: 30:[5, 41] Operation: 53-12=41
Exploring Operation: 12-5=7, Resulting Numbers: [53, 7]
Generated Node #0,2,1: 30:[53, 7] Operation: 12-5=7
Exploring Operation: 12+5=17, Resulting Numbers: [53, 17]
Generated Node #0,2,2: 30:[53, 17] Operation: 12+5=17
Exploring Operation: 53-5=48, Resulting Numbers: [12, 48]
Generated Node #0,2,3: 30:[12, 48] Operation: 53-5=48
Exploring Operation: 5+53=58, Resulting Numbers: [12, 58]
Generated Node #0,2,4: 30:[12, 58] Operation: 5+53=58
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[5, 41], Operations: ['60-7=53', '53-12=41']
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,30 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[12, 48], Operations: ['60-7=53', '53-5=48']
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,30 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[53, 7], Operations: ['60-7=53', '12-5=7']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,30 unequal: No Solution
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[53, 17], Operations: ['60-7=53', '12+5=17']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 53+17=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 53*17=901, Resulting Numbers: [901]
901,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 30:[12, 58], Operations: ['60-7=53', '5+53=58']
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,30 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,30 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: 30:[7, 12, 55], Operations: ['60-5=55']
Exploring Operation: 7+12=19, Resulting Numbers: [55, 19]
Generated Node #0,3,0: 30:[55, 19] Operation: 7+12=19
Exploring Operation: 55-12=43, Resulting Numbers: [7, 43]
Generated Node #0,3,1: 30:[7, 43] Operation: 55-12=43
Exploring Operation: 7+55=62, Resulting Numbers: [12, 62]
Generated Node #0,3,2: 30:[12, 62] Operation: 7+55=62
Exploring Operation: 55-7=48, Resulting Numbers: [12, 48]
Generated Node #0,3,3: 30:[12, 48] Operation: 55-7=48
Exploring Operation: 12-7=5, Resulting Numbers: [55, 5]
Generated Node #0,3,4: 30:[55, 5] Operation: 12-7=5
Moving to Node #0,1,0
Current State: 30:[5, 2], Operations: ['60/12=5', '7-5=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Moving to Node #0,1,4
Current State: 30:[5, 2], Operations: ['60/12=5', '7-5=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[7, 10], Operations: ['60/12=5', '5+5=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[5, 12], Operations: ['60/12=5', '7+5=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[5, 12], Operations: ['60/12=5', '7+5=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[5, 41], Operations: ['60-12=48', '48-7=41']
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,30 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[7, 43], Operations: ['60-12=48', '48-5=43']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,30 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[7, 43], Operations: ['60-5=55', '55-12=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,30 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[48, 2], Operations: ['60-12=48', '7-5=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,30 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,30 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[12, 48], Operations: ['60-5=55', '55-7=48']
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,30 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Moving to Node #0,0,4
Current State: 30:[48, 12], Operations: ['60-12=48', '7+5=12']
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 48*12=576, Resulting Numbers: [576]
576,30 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[48, 35], Operations: ['60-12=48', '7*5=35']
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,30 unequal: No Solution
Moving to Node #0,3,4
Current State: 30:[55, 5], Operations: ['60-5=55', '12-7=5']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,30 unequal: No Solution
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,30 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[55, 19], Operations: ['60-5=55', '7+12=19']
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 55*19=1045, Resulting Numbers: [1045]
1045,30 unequal: No Solution
Exploring Operation: 55+19=74, Resulting Numbers: [74]
74,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[12, 62], Operations: ['60-5=55', '7+55=62']
Exploring Operation: 12*62=744, Resulting Numbers: [744]
744,30 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,30 unequal: No Solution
Exploring Operation: 12+62=74, Resulting Numbers: [74]
74,30 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
15,
1,
56,
66
] | 62 | [
"15-1=14",
"56/14=4",
"66-4=62"
] | Current State: 62:[15, 1, 56, 66], Operations: []
Exploring Operation: 15-1=14, Resulting Numbers: [56, 66, 14]
Generated Node #2: [56, 66, 14] from Operation: 15-1=14
Current State: 62:[56, 66, 14], Operations: ['15-1=14']
Exploring Operation: 56/14=4, Resulting Numbers: [66, 4]
Generated Node #3: [66, 4] from Operation: 56/14=4
Current State: 62:[66, 4], Operations: ['15-1=14', '56/14=4']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[15, 1, 56, 66], Operations: []
Exploring Operation: 15+56=71, Resulting Numbers: [1, 66, 71]
Generated Node #0,0: 62:[1, 66, 71] Operation: 15+56=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[1, 66, 71], Operations: ['15+56=71']
Exploring Operation: 71-66=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 62:[1, 5] Operation: 71-66=5
Moving to Node #0,0,0
Current State: 62:[1, 5], Operations: ['15+56=71', '71-66=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,62 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 |
[
28,
54,
9,
4
] | 21 | [
"54-28=26",
"9-4=5",
"26-5=21"
] | Current State: 21:[28, 54, 9, 4], Operations: []
Exploring Operation: 54-28=26, Resulting Numbers: [9, 4, 26]
Generated Node #2: [9, 4, 26] from Operation: 54-28=26
Current State: 21:[9, 4, 26], Operations: ['54-28=26']
Exploring Operation: 9-4=5, Resulting Numbers: [26, 5]
Generated Node #3: [26, 5] from Operation: 9-4=5
Current State: 21:[26, 5], Operations: ['54-28=26', '9-4=5']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[28, 54, 9, 4], Operations: []
Exploring Operation: 54-9=45, Resulting Numbers: [28, 4, 45]
Generated Node #0,0: 21:[28, 4, 45] Operation: 54-9=45
Exploring Operation: 28/4=7, Resulting Numbers: [54, 9, 7]
Generated Node #0,1: 21:[54, 9, 7] Operation: 28/4=7
Exploring Operation: 54/9=6, Resulting Numbers: [28, 4, 6]
Generated Node #0,2: 21:[28, 4, 6] Operation: 54/9=6
Exploring Operation: 28-9=19, Resulting Numbers: [54, 4, 19]
Generated Node #0,3: 21:[54, 4, 19] Operation: 28-9=19
Exploring Operation: 54-28=26, Resulting Numbers: [9, 4, 26]
Generated Node #0,4: 21:[9, 4, 26] Operation: 54-28=26
Start Sub Search at level 1: Moving to Node #0,4
Current State: 21:[9, 4, 26], Operations: ['54-28=26']
Exploring Operation: 4+26=30, Resulting Numbers: [9, 30]
Generated Node #0,4,0: 21:[9, 30] Operation: 4+26=30
Exploring Operation: 26-9=17, Resulting Numbers: [4, 17]
Generated Node #0,4,1: 21:[4, 17] Operation: 26-9=17
Exploring Operation: 26-4=22, Resulting Numbers: [9, 22]
Generated Node #0,4,2: 21:[9, 22] Operation: 26-4=22
Exploring Operation: 9-4=5, Resulting Numbers: [26, 5]
Generated Node #0,4,3: 21:[26, 5] Operation: 9-4=5
Exploring Operation: 9+4=13, Resulting Numbers: [26, 13]
Generated Node #0,4,4: 21:[26, 13] Operation: 9+4=13
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 21:[9, 22], Operations: ['54-28=26', '26-4=22']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,21 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 21:[4, 17], Operations: ['54-28=26', '26-9=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[28, 54, 9, 4], Operations: []
Exploring Operation: 54-28=26, Resulting Numbers: [9, 4, 26]
Generated Node #0,4: 21:[9, 4, 26] Operation: 54-28=26
Moving to Node #0,4
Current State: 21:[9, 4, 26], Operations: ['54-28=26']
Exploring Operation: 26-9=17, Resulting Numbers: [4, 17]
Generated Node #0,4,1: 21:[4, 17] Operation: 26-9=17
Moving to Node #0,4,1
Current State: 21:[4, 17], Operations: ['54-28=26', '26-9=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
64,
46,
29,
33
] | 72 | [
"64-46=18",
"33-29=4",
"18*4=72"
] | Current State: 72:[64, 46, 29, 33], Operations: []
Exploring Operation: 64-46=18, Resulting Numbers: [29, 33, 18]
Generated Node #2: [29, 33, 18] from Operation: 64-46=18
Current State: 72:[29, 33, 18], Operations: ['64-46=18']
Exploring Operation: 33-29=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 33-29=4
Current State: 72:[18, 4], Operations: ['64-46=18', '33-29=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[64, 46, 29, 33], Operations: []
Exploring Operation: 64-46=18, Resulting Numbers: [29, 33, 18]
Generated Node #0,0: 72:[29, 33, 18] Operation: 64-46=18
Moving to Node #0,0
Current State: 72:[29, 33, 18], Operations: ['64-46=18']
Exploring Operation: 33-29=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 72:[18, 4] Operation: 33-29=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[18, 4], Operations: ['64-46=18', '33-29=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[64, 46, 29, 33], Operations: []
Exploring Operation: 64-46=18, Resulting Numbers: [29, 33, 18]
Generated Node #0,0: 72:[29, 33, 18] Operation: 64-46=18
Moving to Node #0,0
Current State: 72:[29, 33, 18], Operations: ['64-46=18']
Exploring Operation: 33-29=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 72:[18, 4] Operation: 33-29=4
Moving to Node #0,0,0
Current State: 72:[18, 4], Operations: ['64-46=18', '33-29=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
49,
52,
13,
33
] | 24 | [
"52-49=3",
"33/3=11",
"13+11=24"
] | Current State: 24:[49, 52, 13, 33], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [13, 33, 3]
Generated Node #2: [13, 33, 3] from Operation: 52-49=3
Current State: 24:[13, 33, 3], Operations: ['52-49=3']
Exploring Operation: 33/3=11, Resulting Numbers: [13, 11]
Generated Node #3: [13, 11] from Operation: 33/3=11
Current State: 24:[13, 11], Operations: ['52-49=3', '33/3=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[49, 52, 13, 33], Operations: []
Exploring Operation: 52-33=19, Resulting Numbers: [49, 13, 19]
Generated Node #0,0: 24:[49, 13, 19] Operation: 52-33=19
Exploring Operation: 52/13=4, Resulting Numbers: [49, 33, 4]
Generated Node #0,1: 24:[49, 33, 4] Operation: 52/13=4
Exploring Operation: 52-49=3, Resulting Numbers: [13, 33, 3]
Generated Node #0,2: 24:[13, 33, 3] Operation: 52-49=3
Exploring Operation: 49-33=16, Resulting Numbers: [52, 13, 16]
Generated Node #0,3: 24:[52, 13, 16] Operation: 49-33=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[13, 33, 3], Operations: ['52-49=3']
Exploring Operation: 13-3=10, Resulting Numbers: [33, 10]
Generated Node #0,2,0: 24:[33, 10] Operation: 13-3=10
Exploring Operation: 33-3=30, Resulting Numbers: [13, 30]
Generated Node #0,2,1: 24:[13, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [13, 11]
Generated Node #0,2,2: 24:[13, 11] Operation: 33/3=11
Exploring Operation: 33-13=20, Resulting Numbers: [3, 20]
Generated Node #0,2,3: 24:[3, 20] Operation: 33-13=20
Moving to Node #0,2,2
Current State: 24:[13, 11], Operations: ['52-49=3', '33/3=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[49, 52, 13, 33], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [13, 33, 3]
Generated Node #0,2: 24:[13, 33, 3] Operation: 52-49=3
Moving to Node #0,2
Current State: 24:[13, 33, 3], Operations: ['52-49=3']
Exploring Operation: 33/3=11, Resulting Numbers: [13, 11]
Generated Node #0,2,2: 24:[13, 11] Operation: 33/3=11
Moving to Node #0,2,2
Current State: 24:[13, 11], Operations: ['52-49=3', '33/3=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
77,
67,
96,
74
] | 12 | [
"77-67=10",
"96-74=22",
"22-10=12"
] | Current State: 12:[77, 67, 96, 74], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [96, 74, 10]
Generated Node #2: [96, 74, 10] from Operation: 77-67=10
Current State: 12:[96, 74, 10], Operations: ['77-67=10']
Exploring Operation: 96-74=22, Resulting Numbers: [10, 22]
Generated Node #3: [10, 22] from Operation: 96-74=22
Current State: 12:[10, 22], Operations: ['77-67=10', '96-74=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[77, 67, 96, 74], Operations: []
Exploring Operation: 96-74=22, Resulting Numbers: [77, 67, 22]
Generated Node #0,0: 12:[77, 67, 22] Operation: 96-74=22
Exploring Operation: 77-74=3, Resulting Numbers: [67, 96, 3]
Generated Node #0,1: 12:[67, 96, 3] Operation: 77-74=3
Exploring Operation: 96-77=19, Resulting Numbers: [67, 74, 19]
Generated Node #0,2: 12:[67, 74, 19] Operation: 96-77=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[67, 74, 19], Operations: ['96-77=19']
Exploring Operation: 74-67=7, Resulting Numbers: [19, 7]
Generated Node #0,2,0: 12:[19, 7] Operation: 74-67=7
Exploring Operation: 67-19=48, Resulting Numbers: [74, 48]
Generated Node #0,2,1: 12:[74, 48] Operation: 67-19=48
Exploring Operation: 74-19=55, Resulting Numbers: [67, 55]
Generated Node #0,2,2: 12:[67, 55] Operation: 74-19=55
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 12:[19, 7], Operations: ['96-77=19', '74-67=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[77, 67, 96, 74], Operations: []
Exploring Operation: 96-77=19, Resulting Numbers: [67, 74, 19]
Generated Node #0,2: 12:[67, 74, 19] Operation: 96-77=19
Moving to Node #0,2
Current State: 12:[67, 74, 19], Operations: ['96-77=19']
Exploring Operation: 74-67=7, Resulting Numbers: [19, 7]
Generated Node #0,2,0: 12:[19, 7] Operation: 74-67=7
Moving to Node #0,2,0
Current State: 12:[19, 7], Operations: ['96-77=19', '74-67=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
4,
85,
23,
67
] | 95 | [
"85-67=18",
"4*18=72",
"23+72=95"
] | Current State: 95:[4, 85, 23, 67], Operations: []
Exploring Operation: 85-67=18, Resulting Numbers: [4, 23, 18]
Generated Node #2: [4, 23, 18] from Operation: 85-67=18
Current State: 95:[4, 23, 18], Operations: ['85-67=18']
Exploring Operation: 4*18=72, Resulting Numbers: [23, 72]
Generated Node #3: [23, 72] from Operation: 4*18=72
Current State: 95:[23, 72], Operations: ['85-67=18', '4*18=72']
Exploring Operation: 23+72=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[4, 85, 23, 67], Operations: []
Exploring Operation: 85-67=18, Resulting Numbers: [4, 23, 18]
Generated Node #0,0: 95:[4, 23, 18] Operation: 85-67=18
Moving to Node #0,0
Current State: 95:[4, 23, 18], Operations: ['85-67=18']
Exploring Operation: 23-4=19, Resulting Numbers: [18, 19]
Generated Node #0,0,0: 95:[18, 19] Operation: 23-4=19
Moving to Node #0,0,0
Current State: 95:[18, 19], Operations: ['85-67=18', '23-4=19']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,95 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
32,
43,
61
] | 43 | [
"30+32=62",
"62-61=1",
"43*1=43"
] | Current State: 43:[30, 32, 43, 61], Operations: []
Exploring Operation: 30+32=62, Resulting Numbers: [43, 61, 62]
Generated Node #2: [43, 61, 62] from Operation: 30+32=62
Current State: 43:[43, 61, 62], Operations: ['30+32=62']
Exploring Operation: 62-61=1, Resulting Numbers: [43, 1]
Generated Node #3: [43, 1] from Operation: 62-61=1
Current State: 43:[43, 1], Operations: ['30+32=62', '62-61=1']
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[30, 32, 43, 61], Operations: []
Exploring Operation: 61-32=29, Resulting Numbers: [30, 43, 29]
Generated Node #0,0: 43:[30, 43, 29] Operation: 61-32=29
Exploring Operation: 61-30=31, Resulting Numbers: [32, 43, 31]
Generated Node #0,1: 43:[32, 43, 31] Operation: 61-30=31
Exploring Operation: 30+32=62, Resulting Numbers: [43, 61, 62]
Generated Node #0,2: 43:[43, 61, 62] Operation: 30+32=62
Moving to Node #0,1
Current State: 43:[32, 43, 31], Operations: ['61-30=31']
Exploring Operation: 32+31=63, Resulting Numbers: [43, 63]
Generated Node #0,1,0: 43:[43, 63] Operation: 32+31=63
Exploring Operation: 32-31=1, Resulting Numbers: [43, 1]
Generated Node #0,1,1: 43:[43, 1] Operation: 32-31=1
Exploring Operation: 43+31=74, Resulting Numbers: [32, 74]
Generated Node #0,1,2: 43:[32, 74] Operation: 43+31=74
Moving to Node #0,0
Current State: 43:[30, 43, 29], Operations: ['61-32=29']
Exploring Operation: 30+29=59, Resulting Numbers: [43, 59]
Generated Node #0,0,0: 43:[43, 59] Operation: 30+29=59
Exploring Operation: 43+29=72, Resulting Numbers: [30, 72]
Generated Node #0,0,1: 43:[30, 72] Operation: 43+29=72
Exploring Operation: 30-29=1, Resulting Numbers: [43, 1]
Generated Node #0,0,2: 43:[43, 1] Operation: 30-29=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[43, 59], Operations: ['61-32=29', '30+29=59']
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 43*59=2537, Resulting Numbers: [2537]
2537,43 unequal: No Solution
Exploring Operation: 43+59=102, Resulting Numbers: [102]
102,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,1
Current State: 43:[30, 72], Operations: ['61-32=29', '43+29=72']
Exploring Operation: 72-30=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 30*72=2160, Resulting Numbers: [2160]
2160,43 unequal: No Solution
Exploring Operation: 30+72=102, Resulting Numbers: [102]
102,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,2
Current State: 43:[43, 1], Operations: ['61-32=29', '30-29=1']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[30, 32, 43, 61], Operations: []
Exploring Operation: 61-32=29, Resulting Numbers: [30, 43, 29]
Generated Node #0,0: 43:[30, 43, 29] Operation: 61-32=29
Moving to Node #0,0
Current State: 43:[30, 43, 29], Operations: ['61-32=29']
Exploring Operation: 30-29=1, Resulting Numbers: [43, 1]
Generated Node #0,0,2: 43:[43, 1] Operation: 30-29=1
Moving to Node #0,0,2
Current State: 43:[43, 1], Operations: ['61-32=29', '30-29=1']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_3 | mult_heuristic |
[
4,
4,
58,
42
] | 64 | [
"4*58=232",
"4*42=168",
"232-168=64"
] | Current State: 64:[4, 4, 58, 42], Operations: []
Exploring Operation: 4*58=232, Resulting Numbers: [42, 232]
Generated Node #2: [42, 232] from Operation: 4*58=232
Current State: 64:[42, 232], Operations: ['4*58=232']
Exploring Operation: 4*42=168, Resulting Numbers: [232, 168]
Generated Node #3: [232, 168] from Operation: 4*42=168
Current State: 64:[232, 168], Operations: ['4*58=232', '4*42=168']
Exploring Operation: 232-168=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[4, 4, 58, 42], Operations: []
Exploring Operation: 4+58=62, Resulting Numbers: [4, 42, 62]
Generated Node #0,0: 64:[4, 42, 62] Operation: 4+58=62
Exploring Operation: 58-42=16, Resulting Numbers: [4, 4, 16]
Generated Node #0,1: 64:[4, 4, 16] Operation: 58-42=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[4, 4, 16], Operations: ['58-42=16']
Exploring Operation: 4+4=8, Resulting Numbers: [16, 8]
Generated Node #0,1,0: 64:[16, 8] Operation: 4+4=8
Exploring Operation: 4*4=16, Resulting Numbers: [16, 16]
Generated Node #0,1,1: 64:[16, 16] Operation: 4*4=16
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[16, 8], Operations: ['58-42=16', '4+4=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,64 unequal: No Solution
No 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: 64:[16, 16], Operations: ['58-42=16', '4*4=16']
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,64 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: 64:[4, 42, 62], Operations: ['4+58=62']
Exploring Operation: 42-4=38, Resulting Numbers: [62, 38]
Generated Node #0,0,0: 64:[62, 38] Operation: 42-4=38
Exploring Operation: 62-42=20, Resulting Numbers: [4, 20]
Generated Node #0,0,1: 64:[4, 20] Operation: 62-42=20
Moving to Node #0,0,1
Current State: 64:[4, 20], Operations: ['4+58=62', '62-42=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[62, 38], Operations: ['4+58=62', '42-4=38']
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 62+38=100, Resulting Numbers: [100]
100,64 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 |
[
86,
2,
13,
17
] | 78 | [
"17-13=4",
"2*4=8",
"86-8=78"
] | Current State: 78:[86, 2, 13, 17], Operations: []
Exploring Operation: 17-13=4, Resulting Numbers: [86, 2, 4]
Generated Node #2: [86, 2, 4] from Operation: 17-13=4
Current State: 78:[86, 2, 4], Operations: ['17-13=4']
Exploring Operation: 2*4=8, Resulting Numbers: [86, 8]
Generated Node #3: [86, 8] from Operation: 2*4=8
Current State: 78:[86, 8], Operations: ['17-13=4', '2*4=8']
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[86, 2, 13, 17], Operations: []
Exploring Operation: 86-17=69, Resulting Numbers: [2, 13, 69]
Generated Node #0,0: 78:[2, 13, 69] Operation: 86-17=69
Exploring Operation: 86/2=43, Resulting Numbers: [13, 17, 43]
Generated Node #0,1: 78:[13, 17, 43] Operation: 86/2=43
Exploring Operation: 86-13=73, Resulting Numbers: [2, 17, 73]
Generated Node #0,2: 78:[2, 17, 73] Operation: 86-13=73
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[13, 17, 43], Operations: ['86/2=43']
Exploring Operation: 17-13=4, Resulting Numbers: [43, 4]
Generated Node #0,1,0: 78:[43, 4] Operation: 17-13=4
Exploring Operation: 43-17=26, Resulting Numbers: [13, 26]
Generated Node #0,1,1: 78:[13, 26] Operation: 43-17=26
Exploring Operation: 13+17=30, Resulting Numbers: [43, 30]
Generated Node #0,1,2: 78:[43, 30] Operation: 13+17=30
Moving to Node #0,1,1
Current State: 78:[13, 26], Operations: ['86/2=43', '43-17=26']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[43, 4], Operations: ['86/2=43', '17-13=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,78 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[43, 30], Operations: ['86/2=43', '13+17=30']
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,78 unequal: No Solution
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,78 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,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
Current State: 78:[2, 13, 69], Operations: ['86-17=69']
Exploring Operation: 13+69=82, Resulting Numbers: [2, 82]
Generated Node #0,0,0: 78:[2, 82] Operation: 13+69=82
Exploring Operation: 2+69=71, Resulting Numbers: [13, 71]
Generated Node #0,0,1: 78:[13, 71] Operation: 2+69=71
Exploring Operation: 2*13=26, Resulting Numbers: [69, 26]
Generated Node #0,0,2: 78:[69, 26] Operation: 2*13=26
Moving to Node #0,0,0
Current State: 78:[2, 82], Operations: ['86-17=69', '13+69=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[13, 71], Operations: ['86-17=69', '2+69=71']
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,78 unequal: No Solution
Exploring Operation: 13+71=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 13*71=923, Resulting Numbers: [923]
923,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[69, 26], Operations: ['86-17=69', '2*13=26']
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,78 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,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,2
Current State: 78:[2, 17, 73], Operations: ['86-13=73']
Exploring Operation: 2*17=34, Resulting Numbers: [73, 34]
Generated Node #0,2,0: 78:[73, 34] Operation: 2*17=34
Exploring Operation: 17-2=15, Resulting Numbers: [73, 15]
Generated Node #0,2,1: 78:[73, 15] Operation: 17-2=15
Exploring Operation: 2+73=75, Resulting Numbers: [17, 75]
Generated Node #0,2,2: 78:[17, 75] Operation: 2+73=75
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 78:[73, 15], Operations: ['86-13=73', '17-2=15']
Exploring Operation: 73*15=1095, Resulting Numbers: [1095]
1095,78 unequal: No Solution
Exploring Operation: 73-15=58, Resulting Numbers: [58]
58,78 unequal: No Solution
Exploring Operation: 73+15=88, Resulting Numbers: [88]
88,78 unequal: No Solution
No 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: 78:[17, 75], Operations: ['86-13=73', '2+73=75']
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,78 unequal: No Solution
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,78 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,78 unequal: No Solution
No 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: 78:[73, 34], Operations: ['86-13=73', '2*17=34']
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,78 unequal: No Solution
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,78 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 |
[
90,
4,
32,
90
] | 36 | [
"90+4=94",
"90-32=58",
"94-58=36"
] | Current State: 36:[90, 4, 32, 90], Operations: []
Exploring Operation: 90+4=94, Resulting Numbers: [32, 94]
Generated Node #2: [32, 94] from Operation: 90+4=94
Current State: 36:[32, 94], Operations: ['90+4=94']
Exploring Operation: 90-32=58, Resulting Numbers: [94, 58]
Generated Node #3: [94, 58] from Operation: 90-32=58
Current State: 36:[94, 58], Operations: ['90+4=94', '90-32=58']
Exploring Operation: 94-58=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[90, 4, 32, 90], Operations: []
Exploring Operation: 90/90=1, Resulting Numbers: [4, 32, 1]
Generated Node #0,0: 36:[4, 32, 1] Operation: 90/90=1
Exploring Operation: 90-90=0, Resulting Numbers: [4, 32, 0]
Generated Node #0,1: 36:[4, 32, 0] Operation: 90-90=0
Moving to Node #0,0
Current State: 36:[4, 32, 1], Operations: ['90/90=1']
Exploring Operation: 32/4=8, Resulting Numbers: [1, 8]
Generated Node #0,0,0: 36:[1, 8] Operation: 32/4=8
Exploring Operation: 4+32=36, Resulting Numbers: [1, 36]
Generated Node #0,0,1: 36:[1, 36] Operation: 4+32=36
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[1, 36], Operations: ['90/90=1', '4+32=36']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[90, 4, 32, 90], Operations: []
Exploring Operation: 90/90=1, Resulting Numbers: [4, 32, 1]
Generated Node #0,0: 36:[4, 32, 1] Operation: 90/90=1
Moving to Node #0,0
Current State: 36:[4, 32, 1], Operations: ['90/90=1']
Exploring Operation: 4+32=36, Resulting Numbers: [1, 36]
Generated Node #0,0,1: 36:[1, 36] Operation: 4+32=36
Moving to Node #0,0,1
Current State: 36:[1, 36], Operations: ['90/90=1', '4+32=36']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
45,
48,
11,
2
] | 41 | [
"45+48=93",
"93-11=82",
"82/2=41"
] | Current State: 41:[45, 48, 11, 2], Operations: []
Exploring Operation: 45+48=93, Resulting Numbers: [11, 2, 93]
Generated Node #2: [11, 2, 93] from Operation: 45+48=93
Current State: 41:[11, 2, 93], Operations: ['45+48=93']
Exploring Operation: 93-11=82, Resulting Numbers: [2, 82]
Generated Node #3: [2, 82] from Operation: 93-11=82
Current State: 41:[2, 82], Operations: ['45+48=93', '93-11=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[45, 48, 11, 2], Operations: []
Exploring Operation: 48-2=46, Resulting Numbers: [45, 11, 46]
Generated Node #0,0: 41:[45, 11, 46] Operation: 48-2=46
Exploring Operation: 11+2=13, Resulting Numbers: [45, 48, 13]
Generated Node #0,1: 41:[45, 48, 13] Operation: 11+2=13
Exploring Operation: 45-2=43, Resulting Numbers: [48, 11, 43]
Generated Node #0,2: 41:[48, 11, 43] Operation: 45-2=43
Exploring Operation: 11*2=22, Resulting Numbers: [45, 48, 22]
Generated Node #0,3: 41:[45, 48, 22] Operation: 11*2=22
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[45, 48, 22], Operations: ['11*2=22']
Exploring Operation: 45-22=23, Resulting Numbers: [48, 23]
Generated Node #0,3,0: 41:[48, 23] Operation: 45-22=23
Exploring Operation: 45+22=67, Resulting Numbers: [48, 67]
Generated Node #0,3,1: 41:[48, 67] Operation: 45+22=67
Exploring Operation: 48-22=26, Resulting Numbers: [45, 26]
Generated Node #0,3,2: 41:[45, 26] Operation: 48-22=26
Exploring Operation: 48+22=70, Resulting Numbers: [45, 70]
Generated Node #0,3,3: 41:[45, 70] Operation: 48+22=70
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 41:[45, 26], Operations: ['11*2=22', '48-22=26']
Exploring Operation: 45*26=1170, Resulting Numbers: [1170]
1170,41 unequal: No Solution
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,41 unequal: No Solution
No 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: 41:[48, 23], Operations: ['11*2=22', '45-22=23']
Exploring Operation: 48*23=1104, Resulting Numbers: [1104]
1104,41 unequal: No Solution
Exploring Operation: 48+23=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,41 unequal: No Solution
No 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: 41:[48, 67], Operations: ['11*2=22', '45+22=67']
Exploring Operation: 48+67=115, Resulting Numbers: [115]
115,41 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 48*67=3216, Resulting Numbers: [3216]
3216,41 unequal: No Solution
No 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: 41:[45, 70], Operations: ['11*2=22', '48+22=70']
Exploring Operation: 45+70=115, Resulting Numbers: [115]
115,41 unequal: No Solution
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 45*70=3150, Resulting Numbers: [3150]
3150,41 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: 41:[45, 11, 46], Operations: ['48-2=46']
Exploring Operation: 46-11=35, Resulting Numbers: [45, 35]
Generated Node #0,0,0: 41:[45, 35] Operation: 46-11=35
Exploring Operation: 45+11=56, Resulting Numbers: [46, 56]
Generated Node #0,0,1: 41:[46, 56] Operation: 45+11=56
Exploring Operation: 11+46=57, Resulting Numbers: [45, 57]
Generated Node #0,0,2: 41:[45, 57] Operation: 11+46=57
Exploring Operation: 45-11=34, Resulting Numbers: [46, 34]
Generated Node #0,0,3: 41:[46, 34] Operation: 45-11=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[45, 35], Operations: ['48-2=46', '46-11=35']
Exploring Operation: 45+35=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 45*35=1575, Resulting Numbers: [1575]
1575,41 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,41 unequal: No Solution
No 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: 41:[46, 34], Operations: ['48-2=46', '45-11=34']
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 46+34=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 46*34=1564, Resulting Numbers: [1564]
1564,41 unequal: No Solution
No 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: 41:[46, 56], Operations: ['48-2=46', '45+11=56']
Exploring Operation: 46+56=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 46*56=2576, Resulting Numbers: [2576]
2576,41 unequal: No Solution
No 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: 41:[45, 57], Operations: ['48-2=46', '11+46=57']
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 45+57=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 45*57=2565, Resulting Numbers: [2565]
2565,41 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: 41:[45, 48, 13], Operations: ['11+2=13']
Exploring Operation: 48+13=61, Resulting Numbers: [45, 61]
Generated Node #0,1,0: 41:[45, 61] Operation: 48+13=61
Exploring Operation: 45+13=58, Resulting Numbers: [48, 58]
Generated Node #0,1,1: 41:[48, 58] Operation: 45+13=58
Exploring Operation: 48-13=35, Resulting Numbers: [45, 35]
Generated Node #0,1,2: 41:[45, 35] Operation: 48-13=35
Exploring Operation: 45-13=32, Resulting Numbers: [48, 32]
Generated Node #0,1,3: 41:[48, 32] Operation: 45-13=32
Moving to Node #0,1,2
Current State: 41:[45, 35], Operations: ['11+2=13', '48-13=35']
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 45+35=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 45*35=1575, Resulting Numbers: [1575]
1575,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[48, 32], Operations: ['11+2=13', '45-13=32']
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,41 unequal: No Solution
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[48, 58], Operations: ['11+2=13', '45+13=58']
Exploring Operation: 48*58=2784, Resulting Numbers: [2784]
2784,41 unequal: No Solution
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 48+58=106, Resulting Numbers: [106]
106,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[45, 61], Operations: ['11+2=13', '48+13=61']
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,41 unequal: No Solution
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,41 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,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,2
Current State: 41:[48, 11, 43], Operations: ['45-2=43']
Exploring Operation: 48-11=37, Resulting Numbers: [43, 37]
Generated Node #0,2,0: 41:[43, 37] Operation: 48-11=37
Exploring Operation: 11+43=54, Resulting Numbers: [48, 54]
Generated Node #0,2,1: 41:[48, 54] Operation: 11+43=54
Exploring Operation: 48+11=59, Resulting Numbers: [43, 59]
Generated Node #0,2,2: 41:[43, 59] Operation: 48+11=59
Exploring Operation: 43-11=32, Resulting Numbers: [48, 32]
Generated Node #0,2,3: 41:[48, 32] Operation: 43-11=32
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 41:[43, 37], Operations: ['45-2=43', '48-11=37']
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,41 unequal: No Solution
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No 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: 41:[48, 32], Operations: ['45-2=43', '43-11=32']
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,41 unequal: No Solution
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,41 unequal: No Solution
No 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: 41:[48, 54], Operations: ['45-2=43', '11+43=54']
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,41 unequal: No Solution
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No 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: 41:[43, 59], Operations: ['45-2=43', '48+11=59']
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 43+59=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 43*59=2537, Resulting Numbers: [2537]
2537,41 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 |
[
38,
74,
30,
25
] | 91 | [
"74-38=36",
"30+25=55",
"36+55=91"
] | Current State: 91:[38, 74, 30, 25], Operations: []
Exploring Operation: 74-38=36, Resulting Numbers: [30, 25, 36]
Generated Node #2: [30, 25, 36] from Operation: 74-38=36
Current State: 91:[30, 25, 36], Operations: ['74-38=36']
Exploring Operation: 30+25=55, Resulting Numbers: [36, 55]
Generated Node #3: [36, 55] from Operation: 30+25=55
Current State: 91:[36, 55], Operations: ['74-38=36', '30+25=55']
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[38, 74, 30, 25], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [74, 25, 8]
Generated Node #0,0: 91:[74, 25, 8] Operation: 38-30=8
Exploring Operation: 30-25=5, Resulting Numbers: [38, 74, 5]
Generated Node #0,1: 91:[38, 74, 5] Operation: 30-25=5
Exploring Operation: 38-25=13, Resulting Numbers: [74, 30, 13]
Generated Node #0,2: 91:[74, 30, 13] Operation: 38-25=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[74, 25, 8], Operations: ['38-30=8']
Exploring Operation: 25-8=17, Resulting Numbers: [74, 17]
Generated Node #0,0,0: 91:[74, 17] Operation: 25-8=17
Exploring Operation: 74+8=82, Resulting Numbers: [25, 82]
Generated Node #0,0,1: 91:[25, 82] Operation: 74+8=82
Exploring Operation: 74+25=99, Resulting Numbers: [8, 99]
Generated Node #0,0,2: 91:[8, 99] Operation: 74+25=99
Moving to Node #0,0,2
Current State: 91:[8, 99], Operations: ['38-30=8', '74+25=99']
Exploring Operation: 8+99=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 99-8=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[38, 74, 30, 25], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [74, 25, 8]
Generated Node #0,0: 91:[74, 25, 8] Operation: 38-30=8
Moving to Node #0,0
Current State: 91:[74, 25, 8], Operations: ['38-30=8']
Exploring Operation: 74+25=99, Resulting Numbers: [8, 99]
Generated Node #0,0,2: 91:[8, 99] Operation: 74+25=99
Moving to Node #0,0,2
Current State: 91:[8, 99], Operations: ['38-30=8', '74+25=99']
Exploring Operation: 99-8=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
22,
95,
89,
16
] | 36 | [
"22-16=6",
"95-89=6",
"6*6=36"
] | Current State: 36:[22, 95, 89, 16], Operations: []
Exploring Operation: 22-16=6, Resulting Numbers: [95, 89, 6]
Generated Node #2: [95, 89, 6] from Operation: 22-16=6
Current State: 36:[95, 89, 6], Operations: ['22-16=6']
Exploring Operation: 95-89=6, Resulting Numbers: [6, 6]
Generated Node #3: [6, 6] from Operation: 95-89=6
Current State: 36:[6, 6], Operations: ['22-16=6', '95-89=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[22, 95, 89, 16], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [22, 16, 6]
Generated Node #0,0: 36:[22, 16, 6] Operation: 95-89=6
Exploring Operation: 95-22=73, Resulting Numbers: [89, 16, 73]
Generated Node #0,1: 36:[89, 16, 73] Operation: 95-22=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[22, 16, 6], Operations: ['95-89=6']
Exploring Operation: 22-16=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 36:[6, 6] Operation: 22-16=6
Exploring Operation: 22+16=38, Resulting Numbers: [6, 38]
Generated Node #0,0,1: 36:[6, 38] Operation: 22+16=38
Moving to Node #0,0,0
Current State: 36:[6, 6], Operations: ['95-89=6', '22-16=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[22, 95, 89, 16], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [22, 16, 6]
Generated Node #0,0: 36:[22, 16, 6] Operation: 95-89=6
Moving to Node #0,0
Current State: 36:[22, 16, 6], Operations: ['95-89=6']
Exploring Operation: 22-16=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 36:[6, 6] Operation: 22-16=6
Moving to Node #0,0,0
Current State: 36:[6, 6], Operations: ['95-89=6', '22-16=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
15,
95,
17,
13
] | 39 | [
"15-13=2",
"95-17=78",
"78/2=39"
] | Current State: 39:[15, 95, 17, 13], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [95, 17, 2]
Generated Node #2: [95, 17, 2] from Operation: 15-13=2
Current State: 39:[95, 17, 2], Operations: ['15-13=2']
Exploring Operation: 95-17=78, Resulting Numbers: [2, 78]
Generated Node #3: [2, 78] from Operation: 95-17=78
Current State: 39:[2, 78], Operations: ['15-13=2', '95-17=78']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[15, 95, 17, 13], Operations: []
Exploring Operation: 95-13=82, Resulting Numbers: [15, 17, 82]
Generated Node #0,0: 39:[15, 17, 82] Operation: 95-13=82
Exploring Operation: 17-13=4, Resulting Numbers: [15, 95, 4]
Generated Node #0,1: 39:[15, 95, 4] Operation: 17-13=4
Exploring Operation: 95-15=80, Resulting Numbers: [17, 13, 80]
Generated Node #0,2: 39:[17, 13, 80] Operation: 95-15=80
Exploring Operation: 17-15=2, Resulting Numbers: [95, 13, 2]
Generated Node #0,3: 39:[95, 13, 2] Operation: 17-15=2
Exploring Operation: 95-17=78, Resulting Numbers: [15, 13, 78]
Generated Node #0,4: 39:[15, 13, 78] Operation: 95-17=78
Moving to Node #0,4
Current State: 39:[15, 13, 78], Operations: ['95-17=78']
Exploring Operation: 15+13=28, Resulting Numbers: [78, 28]
Generated Node #0,4,0: 39:[78, 28] Operation: 15+13=28
Exploring Operation: 78/13=6, Resulting Numbers: [15, 6]
Generated Node #0,4,1: 39:[15, 6] Operation: 78/13=6
Exploring Operation: 15-13=2, Resulting Numbers: [78, 2]
Generated Node #0,4,2: 39:[78, 2] Operation: 15-13=2
Exploring Operation: 78-15=63, Resulting Numbers: [13, 63]
Generated Node #0,4,3: 39:[13, 63] Operation: 78-15=63
Exploring Operation: 78-13=65, Resulting Numbers: [15, 65]
Generated Node #0,4,4: 39:[15, 65] Operation: 78-13=65
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 39:[15, 6], Operations: ['95-17=78', '78/13=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,39 unequal: No Solution
No 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: 39:[13, 63], Operations: ['95-17=78', '78-15=63']
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 13*63=819, Resulting Numbers: [819]
819,39 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,39 unequal: No Solution
No 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: 39:[15, 65], Operations: ['95-17=78', '78-13=65']
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 15+65=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Exploring Operation: 15*65=975, Resulting Numbers: [975]
975,39 unequal: No Solution
No 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: 39:[78, 2], Operations: ['95-17=78', '15-13=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[15, 95, 17, 13], Operations: []
Exploring Operation: 95-17=78, Resulting Numbers: [15, 13, 78]
Generated Node #0,4: 39:[15, 13, 78] Operation: 95-17=78
Moving to Node #0,4
Current State: 39:[15, 13, 78], Operations: ['95-17=78']
Exploring Operation: 15-13=2, Resulting Numbers: [78, 2]
Generated Node #0,4,2: 39:[78, 2] Operation: 15-13=2
Moving to Node #0,4,2
Current State: 39:[78, 2], Operations: ['95-17=78', '15-13=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
19,
85,
20,
86
] | 94 | [
"85*20=1700",
"86+1700=1786",
"1786/19=94"
] | Current State: 94:[19, 85, 20, 86], Operations: []
Exploring Operation: 85*20=1700, Resulting Numbers: [19, 86, 1700]
Generated Node #2: [19, 86, 1700] from Operation: 85*20=1700
Current State: 94:[19, 86, 1700], Operations: ['85*20=1700']
Exploring Operation: 86+1700=1786, Resulting Numbers: [19, 1786]
Generated Node #3: [19, 1786] from Operation: 86+1700=1786
Current State: 94:[19, 1786], Operations: ['85*20=1700', '86+1700=1786']
Exploring Operation: 1786/19=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[19, 85, 20, 86], Operations: []
Exploring Operation: 19+20=39, Resulting Numbers: [85, 86, 39]
Generated Node #0,0: 94:[85, 86, 39] Operation: 19+20=39
Exploring Operation: 20-19=1, Resulting Numbers: [85, 86, 1]
Generated Node #0,1: 94:[85, 86, 1] Operation: 20-19=1
Exploring Operation: 19+85=104, Resulting Numbers: [20, 86, 104]
Generated Node #0,2: 94:[20, 86, 104] Operation: 19+85=104
Moving to Node #0,1
Current State: 94:[85, 86, 1], Operations: ['20-19=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86, 86]
Generated Node #0,1,0: 94:[86, 86] Operation: 85+1=86
Exploring Operation: 86-85=1, Resulting Numbers: [1, 1]
Generated Node #0,1,1: 94:[1, 1] Operation: 86-85=1
Exploring Operation: 86+1=87, Resulting Numbers: [85, 87]
Generated Node #0,1,2: 94:[85, 87] Operation: 86+1=87
Moving to Node #0,0
Current State: 94:[85, 86, 39], Operations: ['19+20=39']
Exploring Operation: 85-39=46, Resulting Numbers: [86, 46]
Generated Node #0,0,0: 94:[86, 46] Operation: 85-39=46
Exploring Operation: 86-39=47, Resulting Numbers: [85, 47]
Generated Node #0,0,1: 94:[85, 47] Operation: 86-39=47
Exploring Operation: 86-85=1, Resulting Numbers: [39, 1]
Generated Node #0,0,2: 94:[39, 1] Operation: 86-85=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[86, 46], Operations: ['19+20=39', '85-39=46']
Exploring Operation: 86+46=132, Resulting Numbers: [132]
132,94 unequal: No Solution
Exploring Operation: 86*46=3956, Resulting Numbers: [3956]
3956,94 unequal: No Solution
Exploring Operation: 86-46=40, Resulting Numbers: [40]
40,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,1
Current State: 94:[85, 47], Operations: ['19+20=39', '86-39=47']
Exploring Operation: 85*47=3995, Resulting Numbers: [3995]
3995,94 unequal: No Solution
Exploring Operation: 85+47=132, Resulting Numbers: [132]
132,94 unequal: No Solution
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,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,2
Current State: 94:[39, 1], Operations: ['19+20=39', '86-85=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,94 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: 94:[20, 86, 104], Operations: ['19+85=104']
Exploring Operation: 86-20=66, Resulting Numbers: [104, 66]
Generated Node #0,2,0: 94:[104, 66] Operation: 86-20=66
Exploring Operation: 104-20=84, Resulting Numbers: [86, 84]
Generated Node #0,2,1: 94:[86, 84] Operation: 104-20=84
Exploring Operation: 20+86=106, Resulting Numbers: [104, 106]
Generated Node #0,2,2: 94:[104, 106] Operation: 20+86=106
Moving to Node #0,1,1
Current State: 94:[1, 1], Operations: ['20-19=1', '86-85=1']
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[85, 87], Operations: ['20-19=1', '86+1=87']
Exploring Operation: 85+87=172, Resulting Numbers: [172]
172,94 unequal: No Solution
Exploring Operation: 85*87=7395, Resulting Numbers: [7395]
7395,94 unequal: No Solution
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[86, 86], Operations: ['20-19=1', '85+1=86']
Exploring Operation: 86/86=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 86+86=172, Resulting Numbers: [172]
172,94 unequal: No Solution
Exploring Operation: 86-86=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[86, 84], Operations: ['19+85=104', '104-20=84']
Exploring Operation: 86*84=7224, Resulting Numbers: [7224]
7224,94 unequal: No Solution
Exploring Operation: 86+84=170, Resulting Numbers: [170]
170,94 unequal: No Solution
Exploring Operation: 86-84=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[104, 106], Operations: ['19+85=104', '20+86=106']
Exploring Operation: 104*106=11024, Resulting Numbers: [11024]
11024,94 unequal: No Solution
Exploring Operation: 104+106=210, Resulting Numbers: [210]
210,94 unequal: No Solution
Exploring Operation: 106-104=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[104, 66], Operations: ['19+85=104', '86-20=66']
Exploring Operation: 104-66=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 104+66=170, Resulting Numbers: [170]
170,94 unequal: No Solution
Exploring Operation: 104*66=6864, Resulting Numbers: [6864]
6864,94 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
61,
74,
68
] | 30 | [
"74/2=37",
"68-61=7",
"37-7=30"
] | Current State: 30:[2, 61, 74, 68], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [61, 68, 37]
Generated Node #2: [61, 68, 37] from Operation: 74/2=37
Current State: 30:[61, 68, 37], Operations: ['74/2=37']
Exploring Operation: 68-61=7, Resulting Numbers: [37, 7]
Generated Node #3: [37, 7] from Operation: 68-61=7
Current State: 30:[37, 7], Operations: ['74/2=37', '68-61=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[2, 61, 74, 68], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [61, 68, 37]
Generated Node #0,0: 30:[61, 68, 37] Operation: 74/2=37
Exploring Operation: 74-68=6, Resulting Numbers: [2, 61, 6]
Generated Node #0,1: 30:[2, 61, 6] Operation: 74-68=6
Exploring Operation: 74-61=13, Resulting Numbers: [2, 68, 13]
Generated Node #0,2: 30:[2, 68, 13] Operation: 74-61=13
Exploring Operation: 68-61=7, Resulting Numbers: [2, 74, 7]
Generated Node #0,3: 30:[2, 74, 7] Operation: 68-61=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[2, 61, 6], Operations: ['74-68=6']
Exploring Operation: 6/2=3, Resulting Numbers: [61, 3]
Generated Node #0,1,0: 30:[61, 3] Operation: 6/2=3
Exploring Operation: 61-2=59, Resulting Numbers: [6, 59]
Generated Node #0,1,1: 30:[6, 59] Operation: 61-2=59
Exploring Operation: 61-6=55, Resulting Numbers: [2, 55]
Generated Node #0,1,2: 30:[2, 55] Operation: 61-6=55
Exploring Operation: 6-2=4, Resulting Numbers: [61, 4]
Generated Node #0,1,3: 30:[61, 4] Operation: 6-2=4
Moving to Node #0,1,2
Current State: 30:[2, 55], Operations: ['74-68=6', '61-6=55']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[6, 59], Operations: ['74-68=6', '61-2=59']
Exploring Operation: 6*59=354, Resulting Numbers: [354]
354,30 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 6+59=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[61, 3], Operations: ['74-68=6', '6/2=3']
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,30 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,30 unequal: No Solution
Exploring Operation: 61*3=183, Resulting Numbers: [183]
183,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[61, 4], Operations: ['74-68=6', '6-2=4']
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,30 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[2, 68, 13], Operations: ['74-61=13']
Exploring Operation: 2+13=15, Resulting Numbers: [68, 15]
Generated Node #0,2,0: 30:[68, 15] Operation: 2+13=15
Exploring Operation: 68-13=55, Resulting Numbers: [2, 55]
Generated Node #0,2,1: 30:[2, 55] Operation: 68-13=55
Exploring Operation: 68/2=34, Resulting Numbers: [13, 34]
Generated Node #0,2,2: 30:[13, 34] Operation: 68/2=34
Exploring Operation: 68-2=66, Resulting Numbers: [13, 66]
Generated Node #0,2,3: 30:[13, 66] Operation: 68-2=66
Moving to Node #0,2,2
Current State: 30:[13, 34], Operations: ['74-61=13', '68/2=34']
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 13*34=442, Resulting Numbers: [442]
442,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[2, 55], Operations: ['74-61=13', '68-13=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,30 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Moving to Node #0,2,3
Current State: 30:[13, 66], Operations: ['74-61=13', '68-2=66']
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,30 unequal: No Solution
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[68, 15], Operations: ['74-61=13', '2+13=15']
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,30 unequal: No Solution
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[2, 74, 7], Operations: ['68-61=7']
Exploring Operation: 74-7=67, Resulting Numbers: [2, 67]
Generated Node #0,3,0: 30:[2, 67] Operation: 74-7=67
Exploring Operation: 74-2=72, Resulting Numbers: [7, 72]
Generated Node #0,3,1: 30:[7, 72] Operation: 74-2=72
Exploring Operation: 7-2=5, Resulting Numbers: [74, 5]
Generated Node #0,3,2: 30:[74, 5] Operation: 7-2=5
Exploring Operation: 74/2=37, Resulting Numbers: [7, 37]
Generated Node #0,3,3: 30:[7, 37] Operation: 74/2=37
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 30:[7, 37], Operations: ['68-61=7', '74/2=37']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[2, 61, 74, 68], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [2, 74, 7]
Generated Node #0,3: 30:[2, 74, 7] Operation: 68-61=7
Moving to Node #0,3
Current State: 30:[2, 74, 7], Operations: ['68-61=7']
Exploring Operation: 74/2=37, Resulting Numbers: [7, 37]
Generated Node #0,3,3: 30:[7, 37] Operation: 74/2=37
Moving to Node #0,3,3
Current State: 30:[7, 37], Operations: ['68-61=7', '74/2=37']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960938 | hs_4 | sum_heuristic |
[
28,
49,
54,
76
] | 14 | [
"76-49=27",
"28*27=756",
"756/54=14"
] | Current State: 14:[28, 49, 54, 76], Operations: []
Exploring Operation: 76-49=27, Resulting Numbers: [28, 54, 27]
Generated Node #2: [28, 54, 27] from Operation: 76-49=27
Current State: 14:[28, 54, 27], Operations: ['76-49=27']
Exploring Operation: 28*27=756, Resulting Numbers: [54, 756]
Generated Node #3: [54, 756] from Operation: 28*27=756
Current State: 14:[54, 756], Operations: ['76-49=27', '28*27=756']
Exploring Operation: 756/54=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[28, 49, 54, 76], Operations: []
Exploring Operation: 54-28=26, Resulting Numbers: [49, 76, 26]
Generated Node #0,0: 14:[49, 76, 26] Operation: 54-28=26
Exploring Operation: 76-49=27, Resulting Numbers: [28, 54, 27]
Generated Node #0,1: 14:[28, 54, 27] Operation: 76-49=27
Exploring Operation: 76-54=22, Resulting Numbers: [28, 49, 22]
Generated Node #0,2: 14:[28, 49, 22] Operation: 76-54=22
Exploring Operation: 54-49=5, Resulting Numbers: [28, 76, 5]
Generated Node #0,3: 14:[28, 76, 5] Operation: 54-49=5
Exploring Operation: 49-28=21, Resulting Numbers: [54, 76, 21]
Generated Node #0,4: 14:[54, 76, 21] Operation: 49-28=21
Moving to Node #0,2
Current State: 14:[28, 49, 22], Operations: ['76-54=22']
Exploring Operation: 49-28=21, Resulting Numbers: [22, 21]
Generated Node #0,2,0: 14:[22, 21] Operation: 49-28=21
Exploring Operation: 28-22=6, Resulting Numbers: [49, 6]
Generated Node #0,2,1: 14:[49, 6] Operation: 28-22=6
Exploring Operation: 28+49=77, Resulting Numbers: [22, 77]
Generated Node #0,2,2: 14:[22, 77] Operation: 28+49=77
Exploring Operation: 49-22=27, Resulting Numbers: [28, 27]
Generated Node #0,2,3: 14:[28, 27] Operation: 49-22=27
Exploring Operation: 28+22=50, Resulting Numbers: [49, 50]
Generated Node #0,2,4: 14:[49, 50] Operation: 28+22=50
Moving to Node #0,1
Current State: 14:[28, 54, 27], Operations: ['76-49=27']
Exploring Operation: 54-27=27, Resulting Numbers: [28, 27]
Generated Node #0,1,0: 14:[28, 27] Operation: 54-27=27
Exploring Operation: 54-28=26, Resulting Numbers: [27, 26]
Generated Node #0,1,1: 14:[27, 26] Operation: 54-28=26
Exploring Operation: 28+54=82, Resulting Numbers: [27, 82]
Generated Node #0,1,2: 14:[27, 82] Operation: 28+54=82
Exploring Operation: 28-27=1, Resulting Numbers: [54, 1]
Generated Node #0,1,3: 14:[54, 1] Operation: 28-27=1
Exploring Operation: 54/27=2, Resulting Numbers: [28, 2]
Generated Node #0,1,4: 14:[28, 2] Operation: 54/27=2
Moving to Node #0,3
Current State: 14:[28, 76, 5], Operations: ['54-49=5']
Exploring Operation: 76-5=71, Resulting Numbers: [28, 71]
Generated Node #0,3,0: 14:[28, 71] Operation: 76-5=71
Exploring Operation: 28-5=23, Resulting Numbers: [76, 23]
Generated Node #0,3,1: 14:[76, 23] Operation: 28-5=23
Exploring Operation: 76-28=48, Resulting Numbers: [5, 48]
Generated Node #0,3,2: 14:[5, 48] Operation: 76-28=48
Exploring Operation: 28+5=33, Resulting Numbers: [76, 33]
Generated Node #0,3,3: 14:[76, 33] Operation: 28+5=33
Exploring Operation: 76+5=81, Resulting Numbers: [28, 81]
Generated Node #0,3,4: 14:[28, 81] Operation: 76+5=81
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 14:[5, 48], Operations: ['54-49=5', '76-28=48']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,14 unequal: No Solution
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,14 unequal: No Solution
No 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: 14:[28, 71], Operations: ['54-49=5', '76-5=71']
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,14 unequal: No Solution
Exploring Operation: 28*71=1988, Resulting Numbers: [1988]
1988,14 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,14 unequal: No Solution
No 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: 14:[76, 23], Operations: ['54-49=5', '28-5=23']
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,14 unequal: No Solution
Exploring Operation: 76*23=1748, Resulting Numbers: [1748]
1748,14 unequal: No Solution
Exploring Operation: 76+23=99, Resulting Numbers: [99]
99,14 unequal: No Solution
No 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: 14:[76, 33], Operations: ['54-49=5', '28+5=33']
Exploring Operation: 76*33=2508, Resulting Numbers: [2508]
2508,14 unequal: No Solution
Exploring Operation: 76+33=109, Resulting Numbers: [109]
109,14 unequal: No Solution
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,14 unequal: No Solution
No 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: 14:[28, 81], Operations: ['54-49=5', '76+5=81']
Exploring Operation: 28+81=109, Resulting Numbers: [109]
109,14 unequal: No Solution
Exploring Operation: 28*81=2268, Resulting Numbers: [2268]
2268,14 unequal: No Solution
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,14 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: 14:[49, 76, 26], Operations: ['54-28=26']
Exploring Operation: 76-49=27, Resulting Numbers: [26, 27]
Generated Node #0,0,0: 14:[26, 27] Operation: 76-49=27
Exploring Operation: 49+76=125, Resulting Numbers: [26, 125]
Generated Node #0,0,1: 14:[26, 125] Operation: 49+76=125
Exploring Operation: 49+26=75, Resulting Numbers: [76, 75]
Generated Node #0,0,2: 14:[76, 75] Operation: 49+26=75
Exploring Operation: 76-26=50, Resulting Numbers: [49, 50]
Generated Node #0,0,3: 14:[49, 50] Operation: 76-26=50
Exploring Operation: 49-26=23, Resulting Numbers: [76, 23]
Generated Node #0,0,4: 14:[76, 23] Operation: 49-26=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[26, 27], Operations: ['54-28=26', '76-49=27']
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,14 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,14 unequal: No Solution
No 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: 14:[49, 50], Operations: ['54-28=26', '76-26=50']
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,14 unequal: No Solution
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,14 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 14:[76, 23], Operations: ['54-28=26', '49-26=23']
Exploring Operation: 76+23=99, Resulting Numbers: [99]
99,14 unequal: No Solution
Exploring Operation: 76*23=1748, Resulting Numbers: [1748]
1748,14 unequal: No Solution
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,14 unequal: No Solution
No 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: 14:[26, 125], Operations: ['54-28=26', '49+76=125']
Exploring Operation: 125-26=99, Resulting Numbers: [99]
99,14 unequal: No Solution
Exploring Operation: 26+125=151, Resulting Numbers: [151]
151,14 unequal: No Solution
Exploring Operation: 26*125=3250, Resulting Numbers: [3250]
3250,14 unequal: No Solution
No 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: 14:[76, 75], Operations: ['54-28=26', '49+26=75']
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 76*75=5700, Resulting Numbers: [5700]
5700,14 unequal: No Solution
Exploring Operation: 76+75=151, Resulting Numbers: [151]
151,14 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: 14:[54, 76, 21], Operations: ['49-28=21']
Exploring Operation: 54+76=130, Resulting Numbers: [21, 130]
Generated Node #0,4,0: 14:[21, 130] Operation: 54+76=130
Exploring Operation: 76-21=55, Resulting Numbers: [54, 55]
Generated Node #0,4,1: 14:[54, 55] Operation: 76-21=55
Exploring Operation: 76-54=22, Resulting Numbers: [21, 22]
Generated Node #0,4,2: 14:[21, 22] Operation: 76-54=22
Exploring Operation: 54+21=75, Resulting Numbers: [76, 75]
Generated Node #0,4,3: 14:[76, 75] Operation: 54+21=75
Exploring Operation: 54-21=33, Resulting Numbers: [76, 33]
Generated Node #0,4,4: 14:[76, 33] Operation: 54-21=33
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 14:[21, 22], Operations: ['49-28=21', '76-54=22']
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,14 unequal: No Solution
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No 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: 14:[54, 55], Operations: ['49-28=21', '76-21=55']
Exploring Operation: 54*55=2970, Resulting Numbers: [2970]
2970,14 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 54+55=109, Resulting Numbers: [109]
109,14 unequal: No Solution
No 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: 14:[76, 33], Operations: ['49-28=21', '54-21=33']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 76*33=2508, Resulting Numbers: [2508]
2508,14 unequal: No Solution
Exploring Operation: 76+33=109, Resulting Numbers: [109]
109,14 unequal: No Solution
No 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: 14:[21, 130], Operations: ['49-28=21', '54+76=130']
Exploring Operation: 130-21=109, Resulting Numbers: [109]
109,14 unequal: No Solution
Exploring Operation: 21*130=2730, Resulting Numbers: [2730]
2730,14 unequal: No Solution
Exploring Operation: 21+130=151, Resulting Numbers: [151]
151,14 unequal: No Solution
No 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: 14:[76, 75], Operations: ['49-28=21', '54+21=75']
Exploring Operation: 76*75=5700, Resulting Numbers: [5700]
5700,14 unequal: No Solution
Exploring Operation: 76+75=151, Resulting Numbers: [151]
151,14 unequal: No Solution
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,4
Current State: 14:[28, 2], Operations: ['76-49=27', '54/27=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,14 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[28, 49, 54, 76], Operations: []
Exploring Operation: 76-49=27, Resulting Numbers: [28, 54, 27]
Generated Node #0,1: 14:[28, 54, 27] Operation: 76-49=27
Moving to Node #0,1
Current State: 14:[28, 54, 27], Operations: ['76-49=27']
Exploring Operation: 54/27=2, Resulting Numbers: [28, 2]
Generated Node #0,1,4: 14:[28, 2] Operation: 54/27=2
Moving to Node #0,1,4
Current State: 14:[28, 2], Operations: ['76-49=27', '54/27=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.929688 | hs_5 | sum_heuristic |
[
62,
39,
70,
9
] | 56 | [
"62-39=23",
"70+9=79",
"79-23=56"
] | Current State: 56:[62, 39, 70, 9], Operations: []
Exploring Operation: 62-39=23, Resulting Numbers: [70, 9, 23]
Generated Node #2: [70, 9, 23] from Operation: 62-39=23
Current State: 56:[70, 9, 23], Operations: ['62-39=23']
Exploring Operation: 70+9=79, Resulting Numbers: [23, 79]
Generated Node #3: [23, 79] from Operation: 70+9=79
Current State: 56:[23, 79], Operations: ['62-39=23', '70+9=79']
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[62, 39, 70, 9], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [39, 9, 8]
Generated Node #0,0: 56:[39, 9, 8] Operation: 70-62=8
Exploring Operation: 70-39=31, Resulting Numbers: [62, 9, 31]
Generated Node #0,1: 56:[62, 9, 31] Operation: 70-39=31
Moving to Node #0,1
Current State: 56:[62, 9, 31], Operations: ['70-39=31']
Exploring Operation: 62-31=31, Resulting Numbers: [9, 31]
Generated Node #0,1,0: 56:[9, 31] Operation: 62-31=31
Exploring Operation: 62/31=2, Resulting Numbers: [9, 2]
Generated Node #0,1,1: 56:[9, 2] Operation: 62/31=2
Moving to Node #0,0
Current State: 56:[39, 9, 8], Operations: ['70-62=8']
Exploring Operation: 39-8=31, Resulting Numbers: [9, 31]
Generated Node #0,0,0: 56:[9, 31] Operation: 39-8=31
Exploring Operation: 39-9=30, Resulting Numbers: [8, 30]
Generated Node #0,0,1: 56:[8, 30] Operation: 39-9=30
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[8, 30], Operations: ['70-62=8', '39-9=30']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[9, 31], Operations: ['70-62=8', '39-8=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,56 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: 56:[9, 2], Operations: ['70-39=31', '62/31=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[9, 31], Operations: ['70-39=31', '62-31=31']
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,56 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,56 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
49,
49,
35,
14
] | 39 | [
"35*14=490",
"490/49=10",
"49-10=39"
] | Current State: 39:[49, 49, 35, 14], Operations: []
Exploring Operation: 35*14=490, Resulting Numbers: [49, 49, 490]
Generated Node #2: [49, 49, 490] from Operation: 35*14=490
Current State: 39:[49, 49, 490], Operations: ['35*14=490']
Exploring Operation: 490/49=10, Resulting Numbers: [10]
10,39 equal: Goal Reached
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[49, 49, 35, 14], Operations: []
Exploring Operation: 49/49=1, Resulting Numbers: [35, 14, 1]
Generated Node #0,0: 39:[35, 14, 1] Operation: 49/49=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[35, 14, 1], Operations: ['49/49=1']
Exploring Operation: 35+1=36, Resulting Numbers: [14, 36]
Generated Node #0,0,0: 39:[14, 36] Operation: 35+1=36
Moving to Node #0,0,0
Current State: 39:[14, 36], Operations: ['49/49=1', '35+1=36']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,39 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 |
[
93,
21,
98,
56
] | 49 | [
"98-93=5",
"21*5=105",
"105-56=49"
] | Current State: 49:[93, 21, 98, 56], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [21, 56, 5]
Generated Node #2: [21, 56, 5] from Operation: 98-93=5
Current State: 49:[21, 56, 5], Operations: ['98-93=5']
Exploring Operation: 21*5=105, Resulting Numbers: [56, 105]
Generated Node #3: [56, 105] from Operation: 21*5=105
Current State: 49:[56, 105], Operations: ['98-93=5', '21*5=105']
Exploring Operation: 105-56=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[93, 21, 98, 56], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [21, 56, 5]
Generated Node #0,0: 49:[21, 56, 5] Operation: 98-93=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[21, 56, 5], Operations: ['98-93=5']
Exploring Operation: 56-21=35, Resulting Numbers: [5, 35]
Generated Node #0,0,0: 49:[5, 35] Operation: 56-21=35
Moving to Node #0,0,0
Current State: 49:[5, 35], Operations: ['98-93=5', '56-21=35']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,49 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 |
[
38,
79,
35,
11
] | 66 | [
"79-38=41",
"41-35=6",
"11*6=66"
] | Current State: 66:[38, 79, 35, 11], Operations: []
Exploring Operation: 79-38=41, Resulting Numbers: [35, 11, 41]
Generated Node #2: [35, 11, 41] from Operation: 79-38=41
Current State: 66:[35, 11, 41], Operations: ['79-38=41']
Exploring Operation: 41-35=6, Resulting Numbers: [11, 6]
Generated Node #3: [11, 6] from Operation: 41-35=6
Current State: 66:[11, 6], Operations: ['79-38=41', '41-35=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[38, 79, 35, 11], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [79, 11, 3]
Generated Node #0,0: 66:[79, 11, 3] Operation: 38-35=3
Exploring Operation: 79-38=41, Resulting Numbers: [35, 11, 41]
Generated Node #0,1: 66:[35, 11, 41] Operation: 79-38=41
Exploring Operation: 79-11=68, Resulting Numbers: [38, 35, 68]
Generated Node #0,2: 66:[38, 35, 68] Operation: 79-11=68
Exploring Operation: 79-35=44, Resulting Numbers: [38, 11, 44]
Generated Node #0,3: 66:[38, 11, 44] Operation: 79-35=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[38, 35, 68], Operations: ['79-11=68']
Exploring Operation: 68-38=30, Resulting Numbers: [35, 30]
Generated Node #0,2,0: 66:[35, 30] Operation: 68-38=30
Exploring Operation: 68-35=33, Resulting Numbers: [38, 33]
Generated Node #0,2,1: 66:[38, 33] Operation: 68-35=33
Exploring Operation: 38-35=3, Resulting Numbers: [68, 3]
Generated Node #0,2,2: 66:[68, 3] Operation: 38-35=3
Exploring Operation: 38+35=73, Resulting Numbers: [68, 73]
Generated Node #0,2,3: 66:[68, 73] Operation: 38+35=73
Moving to Node #0,2,2
Current State: 66:[68, 3], Operations: ['79-11=68', '38-35=3']
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,66 unequal: No Solution
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[38, 33], Operations: ['79-11=68', '68-35=33']
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 38*33=1254, Resulting Numbers: [1254]
1254,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[35, 30], Operations: ['79-11=68', '68-38=30']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[68, 73], Operations: ['79-11=68', '38+35=73']
Exploring Operation: 73-68=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 68+73=141, Resulting Numbers: [141]
141,66 unequal: No Solution
Exploring Operation: 68*73=4964, Resulting Numbers: [4964]
4964,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[35, 11, 41], Operations: ['79-38=41']
Exploring Operation: 41-35=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 66:[11, 6] Operation: 41-35=6
Exploring Operation: 41-11=30, Resulting Numbers: [35, 30]
Generated Node #0,1,1: 66:[35, 30] Operation: 41-11=30
Exploring Operation: 35+41=76, Resulting Numbers: [11, 76]
Generated Node #0,1,2: 66:[11, 76] Operation: 35+41=76
Exploring Operation: 35-11=24, Resulting Numbers: [41, 24]
Generated Node #0,1,3: 66:[41, 24] Operation: 35-11=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[11, 6], Operations: ['79-38=41', '41-35=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[38, 79, 35, 11], Operations: []
Exploring Operation: 79-38=41, Resulting Numbers: [35, 11, 41]
Generated Node #0,1: 66:[35, 11, 41] Operation: 79-38=41
Moving to Node #0,1
Current State: 66:[35, 11, 41], Operations: ['79-38=41']
Exploring Operation: 41-35=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 66:[11, 6] Operation: 41-35=6
Moving to Node #0,1,0
Current State: 66:[11, 6], Operations: ['79-38=41', '41-35=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
2,
19,
26,
49
] | 16 | [
"2*26=52",
"19+49=68",
"68-52=16"
] | Current State: 16:[2, 19, 26, 49], Operations: []
Exploring Operation: 2*26=52, Resulting Numbers: [19, 49, 52]
Generated Node #2: [19, 49, 52] from Operation: 2*26=52
Current State: 16:[19, 49, 52], Operations: ['2*26=52']
Exploring Operation: 19+49=68, Resulting Numbers: [52, 68]
Generated Node #3: [52, 68] from Operation: 19+49=68
Current State: 16:[52, 68], Operations: ['2*26=52', '19+49=68']
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[2, 19, 26, 49], Operations: []
Exploring Operation: 49-19=30, Resulting Numbers: [2, 26, 30]
Generated Node #0,0: 16:[2, 26, 30] Operation: 49-19=30
Exploring Operation: 49-26=23, Resulting Numbers: [2, 19, 23]
Generated Node #0,1: 16:[2, 19, 23] Operation: 49-26=23
Exploring Operation: 26-19=7, Resulting Numbers: [2, 49, 7]
Generated Node #0,2: 16:[2, 49, 7] Operation: 26-19=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[2, 19, 23], Operations: ['49-26=23']
Exploring Operation: 23-2=21, Resulting Numbers: [19, 21]
Generated Node #0,1,0: 16:[19, 21] Operation: 23-2=21
Exploring Operation: 23-19=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 16:[2, 4] Operation: 23-19=4
Exploring Operation: 19-2=17, Resulting Numbers: [23, 17]
Generated Node #0,1,2: 16:[23, 17] Operation: 19-2=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[2, 4], Operations: ['49-26=23', '23-19=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,16 unequal: No Solution
No 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: 16:[19, 21], Operations: ['49-26=23', '23-2=21']
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 19*21=399, Resulting Numbers: [399]
399,16 unequal: No Solution
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,16 unequal: No Solution
No 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: 16:[23, 17], Operations: ['49-26=23', '19-2=17']
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 23+17=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 23*17=391, Resulting Numbers: [391]
391,16 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: 16:[2, 26, 30], Operations: ['49-19=30']
Exploring Operation: 26/2=13, Resulting Numbers: [30, 13]
Generated Node #0,0,0: 16:[30, 13] Operation: 26/2=13
Exploring Operation: 30/2=15, Resulting Numbers: [26, 15]
Generated Node #0,0,1: 16:[26, 15] Operation: 30/2=15
Exploring Operation: 30-26=4, Resulting Numbers: [2, 4]
Generated Node #0,0,2: 16:[2, 4] Operation: 30-26=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 16:[2, 4], Operations: ['49-19=30', '30-26=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,16 unequal: No Solution
No 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: 16:[26, 15], Operations: ['49-19=30', '30/2=15']
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,16 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,16 unequal: No Solution
No 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: 16:[30, 13], Operations: ['49-19=30', '26/2=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,16 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,16 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,16 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: 16:[2, 49, 7], Operations: ['26-19=7']
Exploring Operation: 49/7=7, Resulting Numbers: [2, 7]
Generated Node #0,2,0: 16:[2, 7] Operation: 49/7=7
Exploring Operation: 49-2=47, Resulting Numbers: [7, 47]
Generated Node #0,2,1: 16:[7, 47] Operation: 49-2=47
Exploring Operation: 49-7=42, Resulting Numbers: [2, 42]
Generated Node #0,2,2: 16:[2, 42] Operation: 49-7=42
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 16:[2, 7], Operations: ['26-19=7', '49/7=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,16 unequal: No Solution
No 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: 16:[2, 42], Operations: ['26-19=7', '49-7=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No 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: 16:[7, 47], Operations: ['26-19=7', '49-2=47']
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,16 unequal: No Solution
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,16 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,16 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 |
[
38,
57,
23,
33
] | 38 | [
"57-23=34",
"34-33=1",
"38*1=38"
] | Current State: 38:[38, 57, 23, 33], Operations: []
Exploring Operation: 57-23=34, Resulting Numbers: [38, 33, 34]
Generated Node #2: [38, 33, 34] from Operation: 57-23=34
Current State: 38:[38, 33, 34], Operations: ['57-23=34']
Exploring Operation: 34-33=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 34-33=1
Current State: 38:[38, 1], Operations: ['57-23=34', '34-33=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[38, 57, 23, 33], Operations: []
Exploring Operation: 57-23=34, Resulting Numbers: [38, 33, 34]
Generated Node #0,0: 38:[38, 33, 34] Operation: 57-23=34
Exploring Operation: 57-33=24, Resulting Numbers: [38, 23, 24]
Generated Node #0,1: 38:[38, 23, 24] Operation: 57-33=24
Exploring Operation: 57-38=19, Resulting Numbers: [23, 33, 19]
Generated Node #0,2: 38:[23, 33, 19] Operation: 57-38=19
Exploring Operation: 38-33=5, Resulting Numbers: [57, 23, 5]
Generated Node #0,3: 38:[57, 23, 5] Operation: 38-33=5
Exploring Operation: 33-23=10, Resulting Numbers: [38, 57, 10]
Generated Node #0,4: 38:[38, 57, 10] Operation: 33-23=10
Moving to Node #0,0
Current State: 38:[38, 33, 34], Operations: ['57-23=34']
Exploring Operation: 38-34=4, Resulting Numbers: [33, 4]
Generated Node #0,0,0: 38:[33, 4] Operation: 38-34=4
Exploring Operation: 38-33=5, Resulting Numbers: [34, 5]
Generated Node #0,0,1: 38:[34, 5] Operation: 38-33=5
Exploring Operation: 33+34=67, Resulting Numbers: [38, 67]
Generated Node #0,0,2: 38:[38, 67] Operation: 33+34=67
Exploring Operation: 38+33=71, Resulting Numbers: [34, 71]
Generated Node #0,0,3: 38:[34, 71] Operation: 38+33=71
Exploring Operation: 34-33=1, Resulting Numbers: [38, 1]
Generated Node #0,0,4: 38:[38, 1] Operation: 34-33=1
Moving to Node #0,2
Current State: 38:[23, 33, 19], Operations: ['57-38=19']
Exploring Operation: 33-19=14, Resulting Numbers: [23, 14]
Generated Node #0,2,0: 38:[23, 14] Operation: 33-19=14
Exploring Operation: 23-19=4, Resulting Numbers: [33, 4]
Generated Node #0,2,1: 38:[33, 4] Operation: 23-19=4
Exploring Operation: 23+33=56, Resulting Numbers: [19, 56]
Generated Node #0,2,2: 38:[19, 56] Operation: 23+33=56
Exploring Operation: 23+19=42, Resulting Numbers: [33, 42]
Generated Node #0,2,3: 38:[33, 42] Operation: 23+19=42
Exploring Operation: 33-23=10, Resulting Numbers: [19, 10]
Generated Node #0,2,4: 38:[19, 10] Operation: 33-23=10
Moving to Node #0,1
Current State: 38:[38, 23, 24], Operations: ['57-33=24']
Exploring Operation: 38-23=15, Resulting Numbers: [24, 15]
Generated Node #0,1,0: 38:[24, 15] Operation: 38-23=15
Exploring Operation: 38-24=14, Resulting Numbers: [23, 14]
Generated Node #0,1,1: 38:[23, 14] Operation: 38-24=14
Exploring Operation: 38+23=61, Resulting Numbers: [24, 61]
Generated Node #0,1,2: 38:[24, 61] Operation: 38+23=61
Exploring Operation: 23+24=47, Resulting Numbers: [38, 47]
Generated Node #0,1,3: 38:[38, 47] Operation: 23+24=47
Exploring Operation: 24-23=1, Resulting Numbers: [38, 1]
Generated Node #0,1,4: 38:[38, 1] Operation: 24-23=1
Moving to Node #0,3
Current State: 38:[57, 23, 5], Operations: ['38-33=5']
Exploring Operation: 57+5=62, Resulting Numbers: [23, 62]
Generated Node #0,3,0: 38:[23, 62] Operation: 57+5=62
Exploring Operation: 23-5=18, Resulting Numbers: [57, 18]
Generated Node #0,3,1: 38:[57, 18] Operation: 23-5=18
Exploring Operation: 57-5=52, Resulting Numbers: [23, 52]
Generated Node #0,3,2: 38:[23, 52] Operation: 57-5=52
Exploring Operation: 23+5=28, Resulting Numbers: [57, 28]
Generated Node #0,3,3: 38:[57, 28] Operation: 23+5=28
Exploring Operation: 57-23=34, Resulting Numbers: [5, 34]
Generated Node #0,3,4: 38:[5, 34] Operation: 57-23=34
Moving to Node #0,4
Current State: 38:[38, 57, 10], Operations: ['33-23=10']
Exploring Operation: 57+10=67, Resulting Numbers: [38, 67]
Generated Node #0,4,0: 38:[38, 67] Operation: 57+10=67
Exploring Operation: 57-38=19, Resulting Numbers: [10, 19]
Generated Node #0,4,1: 38:[10, 19] Operation: 57-38=19
Exploring Operation: 57-10=47, Resulting Numbers: [38, 47]
Generated Node #0,4,2: 38:[38, 47] Operation: 57-10=47
Exploring Operation: 38+10=48, Resulting Numbers: [57, 48]
Generated Node #0,4,3: 38:[57, 48] Operation: 38+10=48
Exploring Operation: 38-10=28, Resulting Numbers: [57, 28]
Generated Node #0,4,4: 38:[57, 28] Operation: 38-10=28
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 38:[10, 19], Operations: ['33-23=10', '57-38=19']
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,38 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 38:[38, 47], Operations: ['33-23=10', '57-10=47']
Exploring Operation: 38*47=1786, Resulting Numbers: [1786]
1786,38 unequal: No Solution
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 38+47=85, Resulting Numbers: [85]
85,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 38:[57, 28], Operations: ['33-23=10', '38-10=28']
Exploring Operation: 57+28=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 57*28=1596, Resulting Numbers: [1596]
1596,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 38:[38, 67], Operations: ['33-23=10', '57+10=67']
Exploring Operation: 38+67=105, Resulting Numbers: [105]
105,38 unequal: No Solution
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 38*67=2546, Resulting Numbers: [2546]
2546,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 38:[57, 48], Operations: ['33-23=10', '38+10=48']
Exploring Operation: 57+48=105, Resulting Numbers: [105]
105,38 unequal: No Solution
Exploring Operation: 57*48=2736, Resulting Numbers: [2736]
2736,38 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 38:[38, 1], Operations: ['57-23=34', '34-33=1']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,38 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[38, 57, 23, 33], Operations: []
Exploring Operation: 57-23=34, Resulting Numbers: [38, 33, 34]
Generated Node #0,0: 38:[38, 33, 34] Operation: 57-23=34
Moving to Node #0,0
Current State: 38:[38, 33, 34], Operations: ['57-23=34']
Exploring Operation: 34-33=1, Resulting Numbers: [38, 1]
Generated Node #0,0,4: 38:[38, 1] Operation: 34-33=1
Moving to Node #0,0,4
Current State: 38:[38, 1], Operations: ['57-23=34', '34-33=1']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.955729 | hs_5 | sum_heuristic |
[
56,
9,
26,
15
] | 18 | [
"56-26=30",
"9*30=270",
"270/15=18"
] | Current State: 18:[56, 9, 26, 15], Operations: []
Exploring Operation: 56-26=30, Resulting Numbers: [9, 15, 30]
Generated Node #2: [9, 15, 30] from Operation: 56-26=30
Current State: 18:[9, 15, 30], Operations: ['56-26=30']
Exploring Operation: 9*30=270, Resulting Numbers: [15, 270]
Generated Node #3: [15, 270] from Operation: 9*30=270
Current State: 18:[15, 270], Operations: ['56-26=30', '9*30=270']
Exploring Operation: 270/15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[56, 9, 26, 15], Operations: []
Exploring Operation: 26-15=11, Resulting Numbers: [56, 9, 11]
Generated Node #0,0: 18:[56, 9, 11] Operation: 26-15=11
Exploring Operation: 56-15=41, Resulting Numbers: [9, 26, 41]
Generated Node #0,1: 18:[9, 26, 41] Operation: 56-15=41
Exploring Operation: 26-9=17, Resulting Numbers: [56, 15, 17]
Generated Node #0,2: 18:[56, 15, 17] Operation: 26-9=17
Exploring Operation: 56-9=47, Resulting Numbers: [26, 15, 47]
Generated Node #0,3: 18:[26, 15, 47] Operation: 56-9=47
Exploring Operation: 56-26=30, Resulting Numbers: [9, 15, 30]
Generated Node #0,4: 18:[9, 15, 30] Operation: 56-26=30
Start Sub Search at level 1: Moving to Node #0,4
Current State: 18:[9, 15, 30], Operations: ['56-26=30']
Exploring Operation: 30-9=21, Resulting Numbers: [15, 21]
Generated Node #0,4,0: 18:[15, 21] Operation: 30-9=21
Exploring Operation: 9+15=24, Resulting Numbers: [30, 24]
Generated Node #0,4,1: 18:[30, 24] Operation: 9+15=24
Exploring Operation: 15-9=6, Resulting Numbers: [30, 6]
Generated Node #0,4,2: 18:[30, 6] Operation: 15-9=6
Exploring Operation: 30/15=2, Resulting Numbers: [9, 2]
Generated Node #0,4,3: 18:[9, 2] Operation: 30/15=2
Exploring Operation: 30-15=15, Resulting Numbers: [9, 15]
Generated Node #0,4,4: 18:[9, 15] Operation: 30-15=15
Moving to Node #0,4,3
Current State: 18:[9, 2], Operations: ['56-26=30', '30/15=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[56, 9, 26, 15], Operations: []
Exploring Operation: 56-26=30, Resulting Numbers: [9, 15, 30]
Generated Node #0,4: 18:[9, 15, 30] Operation: 56-26=30
Moving to Node #0,4
Current State: 18:[9, 15, 30], Operations: ['56-26=30']
Exploring Operation: 30/15=2, Resulting Numbers: [9, 2]
Generated Node #0,4,3: 18:[9, 2] Operation: 30/15=2
Moving to Node #0,4,3
Current State: 18:[9, 2], Operations: ['56-26=30', '30/15=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
85,
1,
30,
44
] | 99 | [
"85*1=85",
"44-30=14",
"85+14=99"
] | Current State: 99:[85, 1, 30, 44], Operations: []
Exploring Operation: 85*1=85, Resulting Numbers: [30, 44, 85]
Generated Node #2: [30, 44, 85] from Operation: 85*1=85
Current State: 99:[30, 44, 85], Operations: ['85*1=85']
Exploring Operation: 44-30=14, Resulting Numbers: [85, 14]
Generated Node #3: [85, 14] from Operation: 44-30=14
Current State: 99:[85, 14], Operations: ['85*1=85', '44-30=14']
Exploring Operation: 85+14=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[85, 1, 30, 44], Operations: []
Exploring Operation: 85-44=41, Resulting Numbers: [1, 30, 41]
Generated Node #0,0: 99:[1, 30, 41] Operation: 85-44=41
Exploring Operation: 44-30=14, Resulting Numbers: [85, 1, 14]
Generated Node #0,1: 99:[85, 1, 14] Operation: 44-30=14
Exploring Operation: 85+1=86, Resulting Numbers: [30, 44, 86]
Generated Node #0,2: 99:[30, 44, 86] Operation: 85+1=86
Moving to Node #0,0
Current State: 99:[1, 30, 41], Operations: ['85-44=41']
Exploring Operation: 41-30=11, Resulting Numbers: [1, 11]
Generated Node #0,0,0: 99:[1, 11] Operation: 41-30=11
Exploring Operation: 41-1=40, Resulting Numbers: [30, 40]
Generated Node #0,0,1: 99:[30, 40] Operation: 41-1=40
Exploring Operation: 1+30=31, Resulting Numbers: [41, 31]
Generated Node #0,0,2: 99:[41, 31] Operation: 1+30=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[1, 11], Operations: ['85-44=41', '41-30=11']
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[30, 40], Operations: ['85-44=41', '41-1=40']
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 30*40=1200, Resulting Numbers: [1200]
1200,99 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[41, 31], Operations: ['85-44=41', '1+30=31']
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,99 unequal: No Solution
Exploring Operation: 41*31=1271, Resulting Numbers: [1271]
1271,99 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 99:[85, 1, 14], Operations: ['44-30=14']
Exploring Operation: 85+14=99, Resulting Numbers: [1, 99]
Generated Node #0,1,0: 99:[1, 99] Operation: 85+14=99
Exploring Operation: 14-1=13, Resulting Numbers: [85, 13]
Generated Node #0,1,1: 99:[85, 13] Operation: 14-1=13
Exploring Operation: 85+1=86, Resulting Numbers: [14, 86]
Generated Node #0,1,2: 99:[14, 86] Operation: 85+1=86
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[1, 99], Operations: ['44-30=14', '85+14=99']
Exploring Operation: 1+99=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[85, 1, 30, 44], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [85, 1, 14]
Generated Node #0,1: 99:[85, 1, 14] Operation: 44-30=14
Moving to Node #0,1
Current State: 99:[85, 1, 14], Operations: ['44-30=14']
Exploring Operation: 85+14=99, Resulting Numbers: [1, 99]
Generated Node #0,1,0: 99:[1, 99] Operation: 85+14=99
Moving to Node #0,1,0
Current State: 99:[1, 99], Operations: ['44-30=14', '85+14=99']
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
7,
39,
43,
31
] | 44 | [
"39-7=32",
"43-31=12",
"32+12=44"
] | Current State: 44:[7, 39, 43, 31], Operations: []
Exploring Operation: 39-7=32, Resulting Numbers: [43, 31, 32]
Generated Node #2: [43, 31, 32] from Operation: 39-7=32
Current State: 44:[43, 31, 32], Operations: ['39-7=32']
Exploring Operation: 43-31=12, Resulting Numbers: [32, 12]
Generated Node #3: [32, 12] from Operation: 43-31=12
Current State: 44:[32, 12], Operations: ['39-7=32', '43-31=12']
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[7, 39, 43, 31], Operations: []
Exploring Operation: 7+31=38, Resulting Numbers: [39, 43, 38]
Generated Node #0,0: 44:[39, 43, 38] Operation: 7+31=38
Exploring Operation: 7+39=46, Resulting Numbers: [43, 31, 46]
Generated Node #0,1: 44:[43, 31, 46] Operation: 7+39=46
Exploring Operation: 43-31=12, Resulting Numbers: [7, 39, 12]
Generated Node #0,2: 44:[7, 39, 12] Operation: 43-31=12
Exploring Operation: 31-7=24, Resulting Numbers: [39, 43, 24]
Generated Node #0,3: 44:[39, 43, 24] Operation: 31-7=24
Exploring Operation: 39-31=8, Resulting Numbers: [7, 43, 8]
Generated Node #0,4: 44:[7, 43, 8] Operation: 39-31=8
Moving to Node #0,4
Current State: 44:[7, 43, 8], Operations: ['39-31=8']
Exploring Operation: 43+8=51, Resulting Numbers: [7, 51]
Generated Node #0,4,0: 44:[7, 51] Operation: 43+8=51
Exploring Operation: 8-7=1, Resulting Numbers: [43, 1]
Generated Node #0,4,1: 44:[43, 1] Operation: 8-7=1
Exploring Operation: 7+43=50, Resulting Numbers: [8, 50]
Generated Node #0,4,2: 44:[8, 50] Operation: 7+43=50
Exploring Operation: 7+8=15, Resulting Numbers: [43, 15]
Generated Node #0,4,3: 44:[43, 15] Operation: 7+8=15
Exploring Operation: 43-7=36, Resulting Numbers: [8, 36]
Generated Node #0,4,4: 44:[8, 36] Operation: 43-7=36
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 44:[43, 1], Operations: ['39-31=8', '8-7=1']
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[7, 39, 43, 31], Operations: []
Exploring Operation: 39-31=8, Resulting Numbers: [7, 43, 8]
Generated Node #0,4: 44:[7, 43, 8] Operation: 39-31=8
Moving to Node #0,4
Current State: 44:[7, 43, 8], Operations: ['39-31=8']
Exploring Operation: 8-7=1, Resulting Numbers: [43, 1]
Generated Node #0,4,1: 44:[43, 1] Operation: 8-7=1
Moving to Node #0,4,1
Current State: 44:[43, 1], Operations: ['39-31=8', '8-7=1']
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
24,
10,
55,
38
] | 79 | [
"24-10=14",
"55+38=93",
"93-14=79"
] | Current State: 79:[24, 10, 55, 38], Operations: []
Exploring Operation: 24-10=14, Resulting Numbers: [55, 38, 14]
Generated Node #2: [55, 38, 14] from Operation: 24-10=14
Current State: 79:[55, 38, 14], Operations: ['24-10=14']
Exploring Operation: 55+38=93, Resulting Numbers: [14, 93]
Generated Node #3: [14, 93] from Operation: 55+38=93
Current State: 79:[14, 93], Operations: ['24-10=14', '55+38=93']
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[24, 10, 55, 38], Operations: []
Exploring Operation: 24+38=62, Resulting Numbers: [10, 55, 62]
Generated Node #0,0: 79:[10, 55, 62] Operation: 24+38=62
Exploring Operation: 24+55=79, Resulting Numbers: [10, 38, 79]
Generated Node #0,1: 79:[10, 38, 79] Operation: 24+55=79
Exploring Operation: 24+10=34, Resulting Numbers: [55, 38, 34]
Generated Node #0,2: 79:[55, 38, 34] Operation: 24+10=34
Exploring Operation: 10+55=65, Resulting Numbers: [24, 38, 65]
Generated Node #0,3: 79:[24, 38, 65] Operation: 10+55=65
Moving to Node #0,0
Current State: 79:[10, 55, 62], Operations: ['24+38=62']
Exploring Operation: 10+55=65, Resulting Numbers: [62, 65]
Generated Node #0,0,0: 79:[62, 65] Operation: 10+55=65
Exploring Operation: 10+62=72, Resulting Numbers: [55, 72]
Generated Node #0,0,1: 79:[55, 72] Operation: 10+62=72
Exploring Operation: 55-10=45, Resulting Numbers: [62, 45]
Generated Node #0,0,2: 79:[62, 45] Operation: 55-10=45
Exploring Operation: 62-10=52, Resulting Numbers: [55, 52]
Generated Node #0,0,3: 79:[55, 52] Operation: 62-10=52
Moving to Node #0,2
Current State: 79:[55, 38, 34], Operations: ['24+10=34']
Exploring Operation: 55+38=93, Resulting Numbers: [34, 93]
Generated Node #0,2,0: 79:[34, 93] Operation: 55+38=93
Exploring Operation: 38+34=72, Resulting Numbers: [55, 72]
Generated Node #0,2,1: 79:[55, 72] Operation: 38+34=72
Exploring Operation: 55-34=21, Resulting Numbers: [38, 21]
Generated Node #0,2,2: 79:[38, 21] Operation: 55-34=21
Exploring Operation: 55+34=89, Resulting Numbers: [38, 89]
Generated Node #0,2,3: 79:[38, 89] Operation: 55+34=89
Moving to Node #0,1
Current State: 79:[10, 38, 79], Operations: ['24+55=79']
Exploring Operation: 38-10=28, Resulting Numbers: [79, 28]
Generated Node #0,1,0: 79:[79, 28] Operation: 38-10=28
Exploring Operation: 79-10=69, Resulting Numbers: [38, 69]
Generated Node #0,1,1: 79:[38, 69] Operation: 79-10=69
Exploring Operation: 10+79=89, Resulting Numbers: [38, 89]
Generated Node #0,1,2: 79:[38, 89] Operation: 10+79=89
Exploring Operation: 10+38=48, Resulting Numbers: [79, 48]
Generated Node #0,1,3: 79:[79, 48] Operation: 10+38=48
Moving to Node #0,3
Current State: 79:[24, 38, 65], Operations: ['10+55=65']
Exploring Operation: 24+38=62, Resulting Numbers: [65, 62]
Generated Node #0,3,0: 79:[65, 62] Operation: 24+38=62
Exploring Operation: 24+65=89, Resulting Numbers: [38, 89]
Generated Node #0,3,1: 79:[38, 89] Operation: 24+65=89
Exploring Operation: 65-24=41, Resulting Numbers: [38, 41]
Generated Node #0,3,2: 79:[38, 41] Operation: 65-24=41
Exploring Operation: 38-24=14, Resulting Numbers: [65, 14]
Generated Node #0,3,3: 79:[65, 14] Operation: 38-24=14
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[65, 62], Operations: ['10+55=65', '24+38=62']
Exploring Operation: 65+62=127, Resulting Numbers: [127]
127,79 unequal: No Solution
Exploring Operation: 65-62=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 65*62=4030, Resulting Numbers: [4030]
4030,79 unequal: No Solution
No 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: 79:[38, 89], Operations: ['10+55=65', '24+65=89']
Exploring Operation: 89-38=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Exploring Operation: 38+89=127, Resulting Numbers: [127]
127,79 unequal: No Solution
Exploring Operation: 38*89=3382, Resulting Numbers: [3382]
3382,79 unequal: No Solution
No 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: 79:[38, 41], Operations: ['10+55=65', '65-24=41']
Exploring Operation: 38+41=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[24, 10, 55, 38], Operations: []
Exploring Operation: 10+55=65, Resulting Numbers: [24, 38, 65]
Generated Node #0,3: 79:[24, 38, 65] Operation: 10+55=65
Moving to Node #0,3
Current State: 79:[24, 38, 65], Operations: ['10+55=65']
Exploring Operation: 65-24=41, Resulting Numbers: [38, 41]
Generated Node #0,3,2: 79:[38, 41] Operation: 65-24=41
Moving to Node #0,3,2
Current State: 79:[38, 41], Operations: ['10+55=65', '65-24=41']
Exploring Operation: 38+41=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
43,
11,
9,
40
] | 41 | [
"11+9=20",
"40/20=2",
"43-2=41"
] | Current State: 41:[43, 11, 9, 40], Operations: []
Exploring Operation: 11+9=20, Resulting Numbers: [43, 40, 20]
Generated Node #2: [43, 40, 20] from Operation: 11+9=20
Current State: 41:[43, 40, 20], Operations: ['11+9=20']
Exploring Operation: 40/20=2, Resulting Numbers: [43, 2]
Generated Node #3: [43, 2] from Operation: 40/20=2
Current State: 41:[43, 2], Operations: ['11+9=20', '40/20=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[43, 11, 9, 40], Operations: []
Exploring Operation: 11+9=20, Resulting Numbers: [43, 40, 20]
Generated Node #0,0: 41:[43, 40, 20] Operation: 11+9=20
Exploring Operation: 9+40=49, Resulting Numbers: [43, 11, 49]
Generated Node #0,1: 41:[43, 11, 49] Operation: 9+40=49
Exploring Operation: 43-9=34, Resulting Numbers: [11, 40, 34]
Generated Node #0,2: 41:[11, 40, 34] Operation: 43-9=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[43, 40, 20], Operations: ['11+9=20']
Exploring Operation: 40+20=60, Resulting Numbers: [43, 60]
Generated Node #0,0,0: 41:[43, 60] Operation: 40+20=60
Exploring Operation: 43-20=23, Resulting Numbers: [40, 23]
Generated Node #0,0,1: 41:[40, 23] Operation: 43-20=23
Exploring Operation: 43+20=63, Resulting Numbers: [40, 63]
Generated Node #0,0,2: 41:[40, 63] Operation: 43+20=63
Moving to Node #0,0,1
Current State: 41:[40, 23], Operations: ['11+9=20', '43-20=23']
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,41 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[43, 60], Operations: ['11+9=20', '40+20=60']
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,41 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[40, 63], Operations: ['11+9=20', '43+20=63']
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,41 unequal: No Solution
Exploring Operation: 40*63=2520, Resulting Numbers: [2520]
2520,41 unequal: No Solution
Exploring Operation: 40+63=103, Resulting Numbers: [103]
103,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,2
Current State: 41:[11, 40, 34], Operations: ['43-9=34']
Exploring Operation: 11+40=51, Resulting Numbers: [34, 51]
Generated Node #0,2,0: 41:[34, 51] Operation: 11+40=51
Exploring Operation: 40-11=29, Resulting Numbers: [34, 29]
Generated Node #0,2,1: 41:[34, 29] Operation: 40-11=29
Exploring Operation: 11+34=45, Resulting Numbers: [40, 45]
Generated Node #0,2,2: 41:[40, 45] Operation: 11+34=45
Moving to Node #0,2,2
Current State: 41:[40, 45], Operations: ['43-9=34', '11+34=45']
Exploring Operation: 40+45=85, Resulting Numbers: [85]
85,41 unequal: No Solution
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 40*45=1800, Resulting Numbers: [1800]
1800,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[34, 51], Operations: ['43-9=34', '11+40=51']
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,41 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[34, 29], Operations: ['43-9=34', '40-11=29']
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,41 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,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:[43, 11, 49], Operations: ['9+40=49']
Exploring Operation: 49-11=38, Resulting Numbers: [43, 38]
Generated Node #0,1,0: 41:[43, 38] Operation: 49-11=38
Exploring Operation: 43+11=54, Resulting Numbers: [49, 54]
Generated Node #0,1,1: 41:[49, 54] Operation: 43+11=54
Exploring Operation: 43-11=32, Resulting Numbers: [49, 32]
Generated Node #0,1,2: 41:[49, 32] Operation: 43-11=32
Moving to Node #0,1,0
Current State: 41:[43, 38], Operations: ['9+40=49', '49-11=38']
Exploring Operation: 43*38=1634, Resulting Numbers: [1634]
1634,41 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 43+38=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[49, 32], Operations: ['9+40=49', '43-11=32']
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[49, 54], Operations: ['9+40=49', '43+11=54']
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 49*54=2646, Resulting Numbers: [2646]
2646,41 unequal: No Solution
Exploring Operation: 49+54=103, Resulting Numbers: [103]
103,41 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 |
[
10,
79,
88,
48
] | 29 | [
"79-10=69",
"88-48=40",
"69-40=29"
] | Current State: 29:[10, 79, 88, 48], Operations: []
Exploring Operation: 79-10=69, Resulting Numbers: [88, 48, 69]
Generated Node #2: [88, 48, 69] from Operation: 79-10=69
Current State: 29:[88, 48, 69], Operations: ['79-10=69']
Exploring Operation: 88-48=40, Resulting Numbers: [69, 40]
Generated Node #3: [69, 40] from Operation: 88-48=40
Current State: 29:[69, 40], Operations: ['79-10=69', '88-48=40']
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[10, 79, 88, 48], Operations: []
Exploring Operation: 79-48=31, Resulting Numbers: [10, 88, 31]
Generated Node #0,0: 29:[10, 88, 31] Operation: 79-48=31
Exploring Operation: 88-10=78, Resulting Numbers: [79, 48, 78]
Generated Node #0,1: 29:[79, 48, 78] Operation: 88-10=78
Exploring Operation: 88-48=40, Resulting Numbers: [10, 79, 40]
Generated Node #0,2: 29:[10, 79, 40] Operation: 88-48=40
Exploring Operation: 79-10=69, Resulting Numbers: [88, 48, 69]
Generated Node #0,3: 29:[88, 48, 69] Operation: 79-10=69
Exploring Operation: 88-79=9, Resulting Numbers: [10, 48, 9]
Generated Node #0,4: 29:[10, 48, 9] Operation: 88-79=9
Moving to Node #0,4
Current State: 29:[10, 48, 9], Operations: ['88-79=9']
Exploring Operation: 48+9=57, Resulting Numbers: [10, 57]
Generated Node #0,4,0: 29:[10, 57] Operation: 48+9=57
Exploring Operation: 10+9=19, Resulting Numbers: [48, 19]
Generated Node #0,4,1: 29:[48, 19] Operation: 10+9=19
Exploring Operation: 48-9=39, Resulting Numbers: [10, 39]
Generated Node #0,4,2: 29:[10, 39] Operation: 48-9=39
Exploring Operation: 48-10=38, Resulting Numbers: [9, 38]
Generated Node #0,4,3: 29:[9, 38] Operation: 48-10=38
Exploring Operation: 10-9=1, Resulting Numbers: [48, 1]
Generated Node #0,4,4: 29:[48, 1] Operation: 10-9=1
Moving to Node #0,2
Current State: 29:[10, 79, 40], Operations: ['88-48=40']
Exploring Operation: 40-10=30, Resulting Numbers: [79, 30]
Generated Node #0,2,0: 29:[79, 30] Operation: 40-10=30
Exploring Operation: 10+79=89, Resulting Numbers: [40, 89]
Generated Node #0,2,1: 29:[40, 89] Operation: 10+79=89
Exploring Operation: 79-40=39, Resulting Numbers: [10, 39]
Generated Node #0,2,2: 29:[10, 39] Operation: 79-40=39
Exploring Operation: 10+40=50, Resulting Numbers: [79, 50]
Generated Node #0,2,3: 29:[79, 50] Operation: 10+40=50
Exploring Operation: 79-10=69, Resulting Numbers: [40, 69]
Generated Node #0,2,4: 29:[40, 69] Operation: 79-10=69
Moving to Node #0,0
Current State: 29:[10, 88, 31], Operations: ['79-48=31']
Exploring Operation: 10+88=98, Resulting Numbers: [31, 98]
Generated Node #0,0,0: 29:[31, 98] Operation: 10+88=98
Exploring Operation: 88-10=78, Resulting Numbers: [31, 78]
Generated Node #0,0,1: 29:[31, 78] Operation: 88-10=78
Exploring Operation: 31-10=21, Resulting Numbers: [88, 21]
Generated Node #0,0,2: 29:[88, 21] Operation: 31-10=21
Exploring Operation: 10+31=41, Resulting Numbers: [88, 41]
Generated Node #0,0,3: 29:[88, 41] Operation: 10+31=41
Exploring Operation: 88-31=57, Resulting Numbers: [10, 57]
Generated Node #0,0,4: 29:[10, 57] Operation: 88-31=57
Moving to Node #0,1
Current State: 29:[79, 48, 78], Operations: ['88-10=78']
Exploring Operation: 79-48=31, Resulting Numbers: [78, 31]
Generated Node #0,1,0: 29:[78, 31] Operation: 79-48=31
Exploring Operation: 79+48=127, Resulting Numbers: [78, 127]
Generated Node #0,1,1: 29:[78, 127] Operation: 79+48=127
Exploring Operation: 79-78=1, Resulting Numbers: [48, 1]
Generated Node #0,1,2: 29:[48, 1] Operation: 79-78=1
Exploring Operation: 78-48=30, Resulting Numbers: [79, 30]
Generated Node #0,1,3: 29:[79, 30] Operation: 78-48=30
Exploring Operation: 79+78=157, Resulting Numbers: [48, 157]
Generated Node #0,1,4: 29:[48, 157] Operation: 79+78=157
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[48, 1], Operations: ['88-10=78', '79-78=1']
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[78, 31], Operations: ['88-10=78', '79-48=31']
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 78*31=2418, Resulting Numbers: [2418]
2418,29 unequal: No Solution
Exploring Operation: 78+31=109, Resulting Numbers: [109]
109,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 29:[79, 30], Operations: ['88-10=78', '78-48=30']
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 79+30=109, Resulting Numbers: [109]
109,29 unequal: No Solution
Exploring Operation: 79*30=2370, Resulting Numbers: [2370]
2370,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[78, 127], Operations: ['88-10=78', '79+48=127']
Exploring Operation: 78*127=9906, Resulting Numbers: [9906]
9906,29 unequal: No Solution
Exploring Operation: 127-78=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 78+127=205, Resulting Numbers: [205]
205,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 29:[48, 157], Operations: ['88-10=78', '79+78=157']
Exploring Operation: 157-48=109, Resulting Numbers: [109]
109,29 unequal: No Solution
Exploring Operation: 48*157=7536, Resulting Numbers: [7536]
7536,29 unequal: No Solution
Exploring Operation: 48+157=205, Resulting Numbers: [205]
205,29 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: 29:[88, 48, 69], Operations: ['79-10=69']
Exploring Operation: 88+48=136, Resulting Numbers: [69, 136]
Generated Node #0,3,0: 29:[69, 136] Operation: 88+48=136
Exploring Operation: 88-69=19, Resulting Numbers: [48, 19]
Generated Node #0,3,1: 29:[48, 19] Operation: 88-69=19
Exploring Operation: 69-48=21, Resulting Numbers: [88, 21]
Generated Node #0,3,2: 29:[88, 21] Operation: 69-48=21
Exploring Operation: 88-48=40, Resulting Numbers: [69, 40]
Generated Node #0,3,3: 29:[69, 40] Operation: 88-48=40
Exploring Operation: 88+69=157, Resulting Numbers: [48, 157]
Generated Node #0,3,4: 29:[48, 157] Operation: 88+69=157
Moving to Node #0,4,1
Current State: 29:[48, 19], Operations: ['88-79=9', '10+9=19']
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,29 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[10, 79, 88, 48], Operations: []
Exploring Operation: 88-79=9, Resulting Numbers: [10, 48, 9]
Generated Node #0,4: 29:[10, 48, 9] Operation: 88-79=9
Moving to Node #0,4
Current State: 29:[10, 48, 9], Operations: ['88-79=9']
Exploring Operation: 10+9=19, Resulting Numbers: [48, 19]
Generated Node #0,4,1: 29:[48, 19] Operation: 10+9=19
Moving to Node #0,4,1
Current State: 29:[48, 19], Operations: ['88-79=9', '10+9=19']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.953993 | hs_5 | mult_heuristic |
[
21,
80,
31,
28
] | 29 | [
"21*80=1680",
"1680/28=60",
"60-31=29"
] | Current State: 29:[21, 80, 31, 28], Operations: []
Exploring Operation: 21*80=1680, Resulting Numbers: [31, 28, 1680]
Generated Node #2: [31, 28, 1680] from Operation: 21*80=1680
Current State: 29:[31, 28, 1680], Operations: ['21*80=1680']
Exploring Operation: 1680/28=60, Resulting Numbers: [31, 60]
Generated Node #3: [31, 60] from Operation: 1680/28=60
Current State: 29:[31, 60], Operations: ['21*80=1680', '1680/28=60']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[21, 80, 31, 28], Operations: []
Exploring Operation: 31-21=10, Resulting Numbers: [80, 28, 10]
Generated Node #0,0: 29:[80, 28, 10] Operation: 31-21=10
Exploring Operation: 80-31=49, Resulting Numbers: [21, 28, 49]
Generated Node #0,1: 29:[21, 28, 49] Operation: 80-31=49
Exploring Operation: 80-21=59, Resulting Numbers: [31, 28, 59]
Generated Node #0,2: 29:[31, 28, 59] Operation: 80-21=59
Exploring Operation: 80-28=52, Resulting Numbers: [21, 31, 52]
Generated Node #0,3: 29:[21, 31, 52] Operation: 80-28=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[21, 28, 49], Operations: ['80-31=49']
Exploring Operation: 49-21=28, Resulting Numbers: [28, 28]
Generated Node #0,1,0: 29:[28, 28] Operation: 49-21=28
Exploring Operation: 21+28=49, Resulting Numbers: [49, 49]
Generated Node #0,1,1: 29:[49, 49] Operation: 21+28=49
Exploring Operation: 49-28=21, Resulting Numbers: [21, 21]
Generated Node #0,1,2: 29:[21, 21] Operation: 49-28=21
Exploring Operation: 28-21=7, Resulting Numbers: [49, 7]
Generated Node #0,1,3: 29:[49, 7] Operation: 28-21=7
Moving to Node #0,1,0
Current State: 29:[28, 28], Operations: ['80-31=49', '49-21=28']
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,29 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[21, 21], Operations: ['80-31=49', '49-28=21']
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[49, 49], Operations: ['80-31=49', '21+28=49']
Exploring Operation: 49-49=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 49/49=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 49+49=98, Resulting Numbers: [98]
98,29 unequal: No Solution
Exploring Operation: 49*49=2401, Resulting Numbers: [2401]
2401,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[49, 7], Operations: ['80-31=49', '28-21=7']
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 49*7=343, Resulting Numbers: [343]
343,29 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[31, 28, 59], Operations: ['80-21=59']
Exploring Operation: 31+28=59, Resulting Numbers: [59, 59]
Generated Node #0,2,0: 29:[59, 59] Operation: 31+28=59
Exploring Operation: 59-31=28, Resulting Numbers: [28, 28]
Generated Node #0,2,1: 29:[28, 28] Operation: 59-31=28
Exploring Operation: 59-28=31, Resulting Numbers: [31, 31]
Generated Node #0,2,2: 29:[31, 31] Operation: 59-28=31
Exploring Operation: 31-28=3, Resulting Numbers: [59, 3]
Generated Node #0,2,3: 29:[59, 3] Operation: 31-28=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[28, 28], Operations: ['80-21=59', '59-31=28']
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,29 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[31, 31], Operations: ['80-21=59', '59-28=31']
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 31*31=961, Resulting Numbers: [961]
961,29 unequal: No Solution
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[59, 3], Operations: ['80-21=59', '31-28=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,29 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[59, 59], Operations: ['80-21=59', '31+28=59']
Exploring Operation: 59*59=3481, Resulting Numbers: [3481]
3481,29 unequal: No Solution
Exploring Operation: 59/59=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 59+59=118, Resulting Numbers: [118]
118,29 unequal: No Solution
Exploring Operation: 59-59=0, Resulting Numbers: [0]
0,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[21, 31, 52], Operations: ['80-28=52']
Exploring Operation: 52-21=31, Resulting Numbers: [31, 31]
Generated Node #0,3,0: 29:[31, 31] Operation: 52-21=31
Exploring Operation: 21+31=52, Resulting Numbers: [52, 52]
Generated Node #0,3,1: 29:[52, 52] Operation: 21+31=52
Exploring Operation: 31-21=10, Resulting Numbers: [52, 10]
Generated Node #0,3,2: 29:[52, 10] Operation: 31-21=10
Exploring Operation: 52-31=21, Resulting Numbers: [21, 21]
Generated Node #0,3,3: 29:[21, 21] Operation: 52-31=21
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[31, 31], Operations: ['80-28=52', '52-21=31']
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 31*31=961, Resulting Numbers: [961]
961,29 unequal: No Solution
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 29:[21, 21], Operations: ['80-28=52', '52-31=21']
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,29 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 29:[52, 10], Operations: ['80-28=52', '31-21=10']
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,29 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 29:[52, 52], Operations: ['80-28=52', '21+31=52']
Exploring Operation: 52*52=2704, Resulting Numbers: [2704]
2704,29 unequal: No Solution
Exploring Operation: 52/52=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 52+52=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Exploring Operation: 52-52=0, Resulting Numbers: [0]
0,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[80, 28, 10], Operations: ['31-21=10']
Exploring Operation: 28+10=38, Resulting Numbers: [80, 38]
Generated Node #0,0,0: 29:[80, 38] Operation: 28+10=38
Exploring Operation: 80-28=52, Resulting Numbers: [10, 52]
Generated Node #0,0,1: 29:[10, 52] Operation: 80-28=52
Exploring Operation: 80-10=70, Resulting Numbers: [28, 70]
Generated Node #0,0,2: 29:[28, 70] Operation: 80-10=70
Exploring Operation: 80/10=8, Resulting Numbers: [28, 8]
Generated Node #0,0,3: 29:[28, 8] Operation: 80/10=8
Moving to Node #0,0,3
Current State: 29:[28, 8], Operations: ['31-21=10', '80/10=8']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,29 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[28, 70], Operations: ['31-21=10', '80-10=70']
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 28*70=1960, Resulting Numbers: [1960]
1960,29 unequal: No Solution
Exploring Operation: 28+70=98, Resulting Numbers: [98]
98,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[10, 52], Operations: ['31-21=10', '80-28=52']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[80, 38], Operations: ['31-21=10', '28+10=38']
Exploring Operation: 80+38=118, Resulting Numbers: [118]
118,29 unequal: No Solution
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 80*38=3040, Resulting Numbers: [3040]
3040,29 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 |
[
10,
12,
1,
41
] | 64 | [
"10+12=22",
"1+41=42",
"22+42=64"
] | Current State: 64:[10, 12, 1, 41], Operations: []
Exploring Operation: 10+12=22, Resulting Numbers: [1, 41, 22]
Generated Node #2: [1, 41, 22] from Operation: 10+12=22
Current State: 64:[1, 41, 22], Operations: ['10+12=22']
Exploring Operation: 1+41=42, Resulting Numbers: [22, 42]
Generated Node #3: [22, 42] from Operation: 1+41=42
Current State: 64:[22, 42], Operations: ['10+12=22', '1+41=42']
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[10, 12, 1, 41], Operations: []
Exploring Operation: 41-12=29, Resulting Numbers: [10, 1, 29]
Generated Node #0,0: 64:[10, 1, 29] Operation: 41-12=29
Exploring Operation: 41-10=31, Resulting Numbers: [12, 1, 31]
Generated Node #0,1: 64:[12, 1, 31] Operation: 41-10=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[10, 1, 29], Operations: ['41-12=29']
Exploring Operation: 10-1=9, Resulting Numbers: [29, 9]
Generated Node #0,0,0: 64:[29, 9] Operation: 10-1=9
Exploring Operation: 29-10=19, Resulting Numbers: [1, 19]
Generated Node #0,0,1: 64:[1, 19] Operation: 29-10=19
Moving to Node #0,0,0
Current State: 64:[29, 9], Operations: ['41-12=29', '10-1=9']
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[1, 19], Operations: ['41-12=29', '29-10=19']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[12, 1, 31], Operations: ['41-10=31']
Exploring Operation: 12-1=11, Resulting Numbers: [31, 11]
Generated Node #0,1,0: 64:[31, 11] Operation: 12-1=11
Exploring Operation: 12+1=13, Resulting Numbers: [31, 13]
Generated Node #0,1,1: 64:[31, 13] Operation: 12+1=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[31, 11], Operations: ['41-10=31', '12-1=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,64 unequal: No Solution
No 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: 64:[31, 13], Operations: ['41-10=31', '12+1=13']
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 31+13=44, Resulting Numbers: [44]
44,64 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 |
[
53,
12,
97,
18
] | 74 | [
"53-12=41",
"97+18=115",
"115-41=74"
] | Current State: 74:[53, 12, 97, 18], Operations: []
Exploring Operation: 53-12=41, Resulting Numbers: [97, 18, 41]
Generated Node #2: [97, 18, 41] from Operation: 53-12=41
Current State: 74:[97, 18, 41], Operations: ['53-12=41']
Exploring Operation: 97+18=115, Resulting Numbers: [41, 115]
Generated Node #3: [41, 115] from Operation: 97+18=115
Current State: 74:[41, 115], Operations: ['53-12=41', '97+18=115']
Exploring Operation: 115-41=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[53, 12, 97, 18], Operations: []
Exploring Operation: 97-53=44, Resulting Numbers: [12, 18, 44]
Generated Node #0,0: 74:[12, 18, 44] Operation: 97-53=44
Exploring Operation: 97-18=79, Resulting Numbers: [53, 12, 79]
Generated Node #0,1: 74:[53, 12, 79] Operation: 97-18=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[53, 12, 79], Operations: ['97-18=79']
Exploring Operation: 53-12=41, Resulting Numbers: [79, 41]
Generated Node #0,1,0: 74:[79, 41] Operation: 53-12=41
Exploring Operation: 53+12=65, Resulting Numbers: [79, 65]
Generated Node #0,1,1: 74:[79, 65] Operation: 53+12=65
Moving to Node #0,1,0
Current State: 74:[79, 41], Operations: ['97-18=79', '53-12=41']
Exploring Operation: 79+41=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[79, 65], Operations: ['97-18=79', '53+12=65']
Exploring Operation: 79-65=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 79+65=144, Resulting Numbers: [144]
144,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:[12, 18, 44], Operations: ['97-53=44']
Exploring Operation: 12+18=30, Resulting Numbers: [44, 30]
Generated Node #0,0,0: 74:[44, 30] Operation: 12+18=30
Exploring Operation: 18-12=6, Resulting Numbers: [44, 6]
Generated Node #0,0,1: 74:[44, 6] Operation: 18-12=6
Moving to Node #0,0,1
Current State: 74:[44, 6], Operations: ['97-53=44', '18-12=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[44, 30], Operations: ['97-53=44', '12+18=30']
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[53, 12, 97, 18], Operations: []
Exploring Operation: 97-53=44, Resulting Numbers: [12, 18, 44]
Generated Node #0,0: 74:[12, 18, 44] Operation: 97-53=44
Moving to Node #0,0
Current State: 74:[12, 18, 44], Operations: ['97-53=44']
Exploring Operation: 12+18=30, Resulting Numbers: [44, 30]
Generated Node #0,0,0: 74:[44, 30] Operation: 12+18=30
Moving to Node #0,0,0
Current State: 74:[44, 30], Operations: ['97-53=44', '12+18=30']
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
16,
32,
58,
12
] | 44 | [
"32/16=2",
"58-12=46",
"46-2=44"
] | Current State: 44:[16, 32, 58, 12], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [58, 12, 2]
Generated Node #2: [58, 12, 2] from Operation: 32/16=2
Current State: 44:[58, 12, 2], Operations: ['32/16=2']
Exploring Operation: 58-12=46, Resulting Numbers: [2, 46]
Generated Node #3: [2, 46] from Operation: 58-12=46
Current State: 44:[2, 46], Operations: ['32/16=2', '58-12=46']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[16, 32, 58, 12], Operations: []
Exploring Operation: 58-32=26, Resulting Numbers: [16, 12, 26]
Generated Node #0,0: 44:[16, 12, 26] Operation: 58-32=26
Exploring Operation: 58-16=42, Resulting Numbers: [32, 12, 42]
Generated Node #0,1: 44:[32, 12, 42] Operation: 58-16=42
Exploring Operation: 32/16=2, Resulting Numbers: [58, 12, 2]
Generated Node #0,2: 44:[58, 12, 2] Operation: 32/16=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[16, 12, 26], Operations: ['58-32=26']
Exploring Operation: 16+26=42, Resulting Numbers: [12, 42]
Generated Node #0,0,0: 44:[12, 42] Operation: 16+26=42
Exploring Operation: 16-12=4, Resulting Numbers: [26, 4]
Generated Node #0,0,1: 44:[26, 4] Operation: 16-12=4
Exploring Operation: 26-16=10, Resulting Numbers: [12, 10]
Generated Node #0,0,2: 44:[12, 10] Operation: 26-16=10
Moving to Node #0,0,2
Current State: 44:[12, 10], Operations: ['58-32=26', '26-16=10']
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,44 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[12, 42], Operations: ['58-32=26', '16+26=42']
Exploring Operation: 12*42=504, Resulting Numbers: [504]
504,44 unequal: No Solution
Exploring Operation: 12+42=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[26, 4], Operations: ['58-32=26', '16-12=4']
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,44 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[32, 12, 42], Operations: ['58-16=42']
Exploring Operation: 32+12=44, Resulting Numbers: [42, 44]
Generated Node #0,1,0: 44:[42, 44] Operation: 32+12=44
Exploring Operation: 42-32=10, Resulting Numbers: [12, 10]
Generated Node #0,1,1: 44:[12, 10] Operation: 42-32=10
Exploring Operation: 32-12=20, Resulting Numbers: [42, 20]
Generated Node #0,1,2: 44:[42, 20] Operation: 32-12=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[42, 44], Operations: ['58-16=42', '32+12=44']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,44 unequal: No Solution
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,44 unequal: No Solution
No 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: 44:[12, 10], Operations: ['58-16=42', '42-32=10']
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,44 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,44 unequal: No Solution
No 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: 44:[42, 20], Operations: ['58-16=42', '32-12=20']
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,44 unequal: No Solution
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,44 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: 44:[58, 12, 2], Operations: ['32/16=2']
Exploring Operation: 58-12=46, Resulting Numbers: [2, 46]
Generated Node #0,2,0: 44:[2, 46] Operation: 58-12=46
Exploring Operation: 58-2=56, Resulting Numbers: [12, 56]
Generated Node #0,2,1: 44:[12, 56] Operation: 58-2=56
Exploring Operation: 58/2=29, Resulting Numbers: [12, 29]
Generated Node #0,2,2: 44:[12, 29] Operation: 58/2=29
Moving to Node #0,2,0
Current State: 44:[2, 46], Operations: ['32/16=2', '58-12=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[16, 32, 58, 12], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [58, 12, 2]
Generated Node #0,2: 44:[58, 12, 2] Operation: 32/16=2
Moving to Node #0,2
Current State: 44:[58, 12, 2], Operations: ['32/16=2']
Exploring Operation: 58-12=46, Resulting Numbers: [2, 46]
Generated Node #0,2,0: 44:[2, 46] Operation: 58-12=46
Moving to Node #0,2,0
Current State: 44:[2, 46], Operations: ['32/16=2', '58-12=46']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
65,
73,
8,
46
] | 47 | [
"73-65=8",
"8/8=1",
"46+1=47"
] | Current State: 47:[65, 73, 8, 46], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [8, 46, 8]
Generated Node #2: [8, 46, 8] from Operation: 73-65=8
Current State: 47:[8, 46, 8], Operations: ['73-65=8']
Exploring Operation: 8/8=1, Resulting Numbers: [46, 1]
Generated Node #3: [46, 1] from Operation: 8/8=1
Current State: 47:[46, 1], Operations: ['73-65=8', '8/8=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[65, 73, 8, 46], Operations: []
Exploring Operation: 65-8=57, Resulting Numbers: [73, 46, 57]
Generated Node #0,0: 47:[73, 46, 57] Operation: 65-8=57
Exploring Operation: 8+46=54, Resulting Numbers: [65, 73, 54]
Generated Node #0,1: 47:[65, 73, 54] Operation: 8+46=54
Exploring Operation: 73-8=65, Resulting Numbers: [65, 46, 65]
Generated Node #0,2: 47:[65, 46, 65] Operation: 73-8=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[73, 46, 57], Operations: ['65-8=57']
Exploring Operation: 73-46=27, Resulting Numbers: [57, 27]
Generated Node #0,0,0: 47:[57, 27] Operation: 73-46=27
Exploring Operation: 73-57=16, Resulting Numbers: [46, 16]
Generated Node #0,0,1: 47:[46, 16] Operation: 73-57=16
Exploring Operation: 57-46=11, Resulting Numbers: [73, 11]
Generated Node #0,0,2: 47:[73, 11] Operation: 57-46=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[57, 27], Operations: ['65-8=57', '73-46=27']
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,47 unequal: No Solution
Exploring Operation: 57+27=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 57*27=1539, Resulting Numbers: [1539]
1539,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[46, 16], Operations: ['65-8=57', '73-57=16']
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,47 unequal: No Solution
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[73, 11], Operations: ['65-8=57', '57-46=11']
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 73*11=803, Resulting Numbers: [803]
803,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[65, 46, 65], Operations: ['73-8=65']
Exploring Operation: 65-46=19, Resulting Numbers: [65, 19]
Generated Node #0,2,0: 47:[65, 19] Operation: 65-46=19
Exploring Operation: 65-46=19, Resulting Numbers: [65, 19]
Generated Node #0,2,1: 47:[65, 19] Operation: 65-46=19
Exploring Operation: 65/65=1, Resulting Numbers: [46, 1]
Generated Node #0,2,2: 47:[46, 1] Operation: 65/65=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[65, 19], Operations: ['73-8=65', '65-46=19']
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 65+19=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 65*19=1235, Resulting Numbers: [1235]
1235,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[65, 19], Operations: ['73-8=65', '65-46=19']
Exploring Operation: 65+19=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 65*19=1235, Resulting Numbers: [1235]
1235,47 unequal: No Solution
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[46, 1], Operations: ['73-8=65', '65/65=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[65, 73, 8, 46], Operations: []
Exploring Operation: 73-8=65, Resulting Numbers: [65, 46, 65]
Generated Node #0,2: 47:[65, 46, 65] Operation: 73-8=65
Moving to Node #0,2
Current State: 47:[65, 46, 65], Operations: ['73-8=65']
Exploring Operation: 65/65=1, Resulting Numbers: [46, 1]
Generated Node #0,2,2: 47:[46, 1] Operation: 65/65=1
Moving to Node #0,2,2
Current State: 47:[46, 1], Operations: ['73-8=65', '65/65=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_3 | sum_heuristic |
[
28,
4,
29,
10
] | 13 | [
"28+4=32",
"29-10=19",
"32-19=13"
] | Current State: 13:[28, 4, 29, 10], Operations: []
Exploring Operation: 28+4=32, Resulting Numbers: [29, 10, 32]
Generated Node #2: [29, 10, 32] from Operation: 28+4=32
Current State: 13:[29, 10, 32], Operations: ['28+4=32']
Exploring Operation: 29-10=19, Resulting Numbers: [32, 19]
Generated Node #3: [32, 19] from Operation: 29-10=19
Current State: 13:[32, 19], Operations: ['28+4=32', '29-10=19']
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[28, 4, 29, 10], Operations: []
Exploring Operation: 28-4=24, Resulting Numbers: [29, 10, 24]
Generated Node #0,0: 13:[29, 10, 24] Operation: 28-4=24
Exploring Operation: 29-4=25, Resulting Numbers: [28, 10, 25]
Generated Node #0,1: 13:[28, 10, 25] Operation: 29-4=25
Exploring Operation: 28/4=7, Resulting Numbers: [29, 10, 7]
Generated Node #0,2: 13:[29, 10, 7] Operation: 28/4=7
Exploring Operation: 28-10=18, Resulting Numbers: [4, 29, 18]
Generated Node #0,3: 13:[4, 29, 18] Operation: 28-10=18
Exploring Operation: 29-28=1, Resulting Numbers: [4, 10, 1]
Generated Node #0,4: 13:[4, 10, 1] Operation: 29-28=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 13:[4, 10, 1], Operations: ['29-28=1']
Exploring Operation: 4/1=4, Resulting Numbers: [10, 4]
Generated Node #0,4,0: 13:[10, 4] Operation: 4/1=4
Exploring Operation: 4*1=4, Resulting Numbers: [10, 4]
Generated Node #0,4,1: 13:[10, 4] Operation: 4*1=4
Exploring Operation: 10+1=11, Resulting Numbers: [4, 11]
Generated Node #0,4,2: 13:[4, 11] Operation: 10+1=11
Exploring Operation: 10*1=10, Resulting Numbers: [4, 10]
Generated Node #0,4,3: 13:[4, 10] Operation: 10*1=10
Exploring Operation: 4+1=5, Resulting Numbers: [10, 5]
Generated Node #0,4,4: 13:[10, 5] Operation: 4+1=5
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 13:[4, 11], Operations: ['29-28=1', '10+1=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,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,4,4
Current State: 13:[10, 5], Operations: ['29-28=1', '4+1=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,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,4,0
Current State: 13:[10, 4], Operations: ['29-28=1', '4/1=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,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,4,1
Current State: 13:[10, 4], Operations: ['29-28=1', '4*1=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,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,4,3
Current State: 13:[4, 10], Operations: ['29-28=1', '10*1=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[29, 10, 7], Operations: ['28/4=7']
Exploring Operation: 10-7=3, Resulting Numbers: [29, 3]
Generated Node #0,2,0: 13:[29, 3] Operation: 10-7=3
Exploring Operation: 29+7=36, Resulting Numbers: [10, 36]
Generated Node #0,2,1: 13:[10, 36] Operation: 29+7=36
Exploring Operation: 10+7=17, Resulting Numbers: [29, 17]
Generated Node #0,2,2: 13:[29, 17] Operation: 10+7=17
Exploring Operation: 29-10=19, Resulting Numbers: [7, 19]
Generated Node #0,2,3: 13:[7, 19] Operation: 29-10=19
Exploring Operation: 29-7=22, Resulting Numbers: [10, 22]
Generated Node #0,2,4: 13:[10, 22] Operation: 29-7=22
Moving to Node #0,2,3
Current State: 13:[7, 19], Operations: ['28/4=7', '29-10=19']
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,13 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Moving to Node #0,2,4
Current State: 13:[10, 22], Operations: ['28/4=7', '29-7=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,13 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[29, 17], Operations: ['28/4=7', '10+7=17']
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,13 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[29, 3], Operations: ['28/4=7', '10-7=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,13 unequal: No Solution
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[10, 36], Operations: ['28/4=7', '29+7=36']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,13 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,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:[29, 10, 24], Operations: ['28-4=24']
Exploring Operation: 29-10=19, Resulting Numbers: [24, 19]
Generated Node #0,0,0: 13:[24, 19] Operation: 29-10=19
Exploring Operation: 29+10=39, Resulting Numbers: [24, 39]
Generated Node #0,0,1: 13:[24, 39] Operation: 29+10=39
Exploring Operation: 10+24=34, Resulting Numbers: [29, 34]
Generated Node #0,0,2: 13:[29, 34] Operation: 10+24=34
Exploring Operation: 29-24=5, Resulting Numbers: [10, 5]
Generated Node #0,0,3: 13:[10, 5] Operation: 29-24=5
Exploring Operation: 24-10=14, Resulting Numbers: [29, 14]
Generated Node #0,0,4: 13:[29, 14] Operation: 24-10=14
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 13:[10, 5], Operations: ['28-4=24', '29-24=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,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,0,0
Current State: 13:[24, 19], Operations: ['28-4=24', '29-10=19']
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,13 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,13 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,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,0,4
Current State: 13:[29, 14], Operations: ['28-4=24', '24-10=14']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,13 unequal: No Solution
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,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,0,1
Current State: 13:[24, 39], Operations: ['28-4=24', '29+10=39']
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,13 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,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,0,2
Current State: 13:[29, 34], Operations: ['28-4=24', '10+24=34']
Exploring Operation: 29+34=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 29*34=986, Resulting Numbers: [986]
986,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[28, 10, 25], Operations: ['29-4=25']
Exploring Operation: 28-25=3, Resulting Numbers: [10, 3]
Generated Node #0,1,0: 13:[10, 3] Operation: 28-25=3
Exploring Operation: 10+25=35, Resulting Numbers: [28, 35]
Generated Node #0,1,1: 13:[28, 35] Operation: 10+25=35
Exploring Operation: 28+10=38, Resulting Numbers: [25, 38]
Generated Node #0,1,2: 13:[25, 38] Operation: 28+10=38
Exploring Operation: 25-10=15, Resulting Numbers: [28, 15]
Generated Node #0,1,3: 13:[28, 15] Operation: 25-10=15
Exploring Operation: 28-10=18, Resulting Numbers: [25, 18]
Generated Node #0,1,4: 13:[25, 18] Operation: 28-10=18
Moving to Node #0,1,0
Current State: 13:[10, 3], Operations: ['29-4=25', '28-25=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[28, 4, 29, 10], Operations: []
Exploring Operation: 29-4=25, Resulting Numbers: [28, 10, 25]
Generated Node #0,1: 13:[28, 10, 25] Operation: 29-4=25
Moving to Node #0,1
Current State: 13:[28, 10, 25], Operations: ['29-4=25']
Exploring Operation: 28-25=3, Resulting Numbers: [10, 3]
Generated Node #0,1,0: 13:[10, 3] Operation: 28-25=3
Moving to Node #0,1,0
Current State: 13:[10, 3], Operations: ['29-4=25', '28-25=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.931424 | hs_5 | mult_heuristic |
[
51,
7,
21,
56
] | 80 | [
"51+21=72",
"56/7=8",
"72+8=80"
] | Current State: 80:[51, 7, 21, 56], Operations: []
Exploring Operation: 51+21=72, Resulting Numbers: [7, 56, 72]
Generated Node #2: [7, 56, 72] from Operation: 51+21=72
Current State: 80:[7, 56, 72], Operations: ['51+21=72']
Exploring Operation: 56/7=8, Resulting Numbers: [72, 8]
Generated Node #3: [72, 8] from Operation: 56/7=8
Current State: 80:[72, 8], Operations: ['51+21=72', '56/7=8']
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[51, 7, 21, 56], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [21, 56, 44]
Generated Node #0,0: 80:[21, 56, 44] Operation: 51-7=44
Exploring Operation: 56/7=8, Resulting Numbers: [51, 21, 8]
Generated Node #0,1: 80:[51, 21, 8] Operation: 56/7=8
Exploring Operation: 21+56=77, Resulting Numbers: [51, 7, 77]
Generated Node #0,2: 80:[51, 7, 77] Operation: 21+56=77
Exploring Operation: 56-21=35, Resulting Numbers: [51, 7, 35]
Generated Node #0,3: 80:[51, 7, 35] Operation: 56-21=35
Exploring Operation: 56-51=5, Resulting Numbers: [7, 21, 5]
Generated Node #0,4: 80:[7, 21, 5] Operation: 56-51=5
Start Sub Search at level 1: Moving to Node #0,4
Current State: 80:[7, 21, 5], Operations: ['56-51=5']
Exploring Operation: 21/7=3, Resulting Numbers: [5, 3]
Generated Node #0,4,0: 80:[5, 3] Operation: 21/7=3
Exploring Operation: 7-5=2, Resulting Numbers: [21, 2]
Generated Node #0,4,1: 80:[21, 2] Operation: 7-5=2
Exploring Operation: 21-7=14, Resulting Numbers: [5, 14]
Generated Node #0,4,2: 80:[5, 14] Operation: 21-7=14
Exploring Operation: 21-5=16, Resulting Numbers: [7, 16]
Generated Node #0,4,3: 80:[7, 16] Operation: 21-5=16
Exploring Operation: 7+5=12, Resulting Numbers: [21, 12]
Generated Node #0,4,4: 80:[21, 12] Operation: 7+5=12
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 80:[5, 3], Operations: ['56-51=5', '21/7=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 80:[21, 2], Operations: ['56-51=5', '7-5=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 80:[7, 16], Operations: ['56-51=5', '21-5=16']
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,80 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 80:[5, 14], Operations: ['56-51=5', '21-7=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 80:[21, 12], Operations: ['56-51=5', '7+5=12']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,80 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,80 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: 80:[51, 21, 8], Operations: ['56/7=8']
Exploring Operation: 51-8=43, Resulting Numbers: [21, 43]
Generated Node #0,1,0: 80:[21, 43] Operation: 51-8=43
Exploring Operation: 51-21=30, Resulting Numbers: [8, 30]
Generated Node #0,1,1: 80:[8, 30] Operation: 51-21=30
Exploring Operation: 21-8=13, Resulting Numbers: [51, 13]
Generated Node #0,1,2: 80:[51, 13] Operation: 21-8=13
Exploring Operation: 51+21=72, Resulting Numbers: [8, 72]
Generated Node #0,1,3: 80:[8, 72] Operation: 51+21=72
Exploring Operation: 51+8=59, Resulting Numbers: [21, 59]
Generated Node #0,1,4: 80:[21, 59] Operation: 51+8=59
Moving to Node #0,1,0
Current State: 80:[21, 43], Operations: ['56/7=8', '51-8=43']
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,80 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[8, 72], Operations: ['56/7=8', '51+21=72']
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[51, 7, 21, 56], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [51, 21, 8]
Generated Node #0,1: 80:[51, 21, 8] Operation: 56/7=8
Moving to Node #0,1
Current State: 80:[51, 21, 8], Operations: ['56/7=8']
Exploring Operation: 51+21=72, Resulting Numbers: [8, 72]
Generated Node #0,1,3: 80:[8, 72] Operation: 51+21=72
Moving to Node #0,1,3
Current State: 80:[8, 72], Operations: ['56/7=8', '51+21=72']
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
30,
77,
76,
17
] | 46 | [
"77-30=47",
"76+17=93",
"93-47=46"
] | Current State: 46:[30, 77, 76, 17], Operations: []
Exploring Operation: 77-30=47, Resulting Numbers: [76, 17, 47]
Generated Node #2: [76, 17, 47] from Operation: 77-30=47
Current State: 46:[76, 17, 47], Operations: ['77-30=47']
Exploring Operation: 76+17=93, Resulting Numbers: [47, 93]
Generated Node #3: [47, 93] from Operation: 76+17=93
Current State: 46:[47, 93], Operations: ['77-30=47', '76+17=93']
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[30, 77, 76, 17], Operations: []
Exploring Operation: 77-30=47, Resulting Numbers: [76, 17, 47]
Generated Node #0,0: 46:[76, 17, 47] Operation: 77-30=47
Exploring Operation: 76-17=59, Resulting Numbers: [30, 77, 59]
Generated Node #0,1: 46:[30, 77, 59] Operation: 76-17=59
Exploring Operation: 77-17=60, Resulting Numbers: [30, 76, 60]
Generated Node #0,2: 46:[30, 76, 60] Operation: 77-17=60
Exploring Operation: 76-30=46, Resulting Numbers: [77, 17, 46]
Generated Node #0,3: 46:[77, 17, 46] Operation: 76-30=46
Exploring Operation: 77-76=1, Resulting Numbers: [30, 17, 1]
Generated Node #0,4: 46:[30, 17, 1] Operation: 77-76=1
Moving to Node #0,4
Current State: 46:[30, 17, 1], Operations: ['77-76=1']
Exploring Operation: 30-1=29, Resulting Numbers: [17, 29]
Generated Node #0,4,0: 46:[17, 29] Operation: 30-1=29
Exploring Operation: 30*1=30, Resulting Numbers: [17, 30]
Generated Node #0,4,1: 46:[17, 30] Operation: 30*1=30
Exploring Operation: 30-17=13, Resulting Numbers: [1, 13]
Generated Node #0,4,2: 46:[1, 13] Operation: 30-17=13
Exploring Operation: 30+17=47, Resulting Numbers: [1, 47]
Generated Node #0,4,3: 46:[1, 47] Operation: 30+17=47
Exploring Operation: 17+1=18, Resulting Numbers: [30, 18]
Generated Node #0,4,4: 46:[30, 18] Operation: 17+1=18
Moving to Node #0,3
Current State: 46:[77, 17, 46], Operations: ['76-30=46']
Exploring Operation: 46-17=29, Resulting Numbers: [77, 29]
Generated Node #0,3,0: 46:[77, 29] Operation: 46-17=29
Exploring Operation: 17+46=63, Resulting Numbers: [77, 63]
Generated Node #0,3,1: 46:[77, 63] Operation: 17+46=63
Exploring Operation: 77-17=60, Resulting Numbers: [46, 60]
Generated Node #0,3,2: 46:[46, 60] Operation: 77-17=60
Exploring Operation: 77-46=31, Resulting Numbers: [17, 31]
Generated Node #0,3,3: 46:[17, 31] Operation: 77-46=31
Exploring Operation: 77+17=94, Resulting Numbers: [46, 94]
Generated Node #0,3,4: 46:[46, 94] Operation: 77+17=94
Moving to Node #0,0
Current State: 46:[76, 17, 47], Operations: ['77-30=47']
Exploring Operation: 76-17=59, Resulting Numbers: [47, 59]
Generated Node #0,0,0: 46:[47, 59] Operation: 76-17=59
Exploring Operation: 17+47=64, Resulting Numbers: [76, 64]
Generated Node #0,0,1: 46:[76, 64] Operation: 17+47=64
Exploring Operation: 76+17=93, Resulting Numbers: [47, 93]
Generated Node #0,0,2: 46:[47, 93] Operation: 76+17=93
Exploring Operation: 76-47=29, Resulting Numbers: [17, 29]
Generated Node #0,0,3: 46:[17, 29] Operation: 76-47=29
Exploring Operation: 47-17=30, Resulting Numbers: [76, 30]
Generated Node #0,0,4: 46:[76, 30] Operation: 47-17=30
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 46:[17, 29], Operations: ['77-30=47', '76-47=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[30, 77, 76, 17], Operations: []
Exploring Operation: 77-30=47, Resulting Numbers: [76, 17, 47]
Generated Node #0,0: 46:[76, 17, 47] Operation: 77-30=47
Moving to Node #0,0
Current State: 46:[76, 17, 47], Operations: ['77-30=47']
Exploring Operation: 76-47=29, Resulting Numbers: [17, 29]
Generated Node #0,0,3: 46:[17, 29] Operation: 76-47=29
Moving to Node #0,0,3
Current State: 46:[17, 29], Operations: ['77-30=47', '76-47=29']
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
39,
42,
55,
17
] | 69 | [
"42-39=3",
"55+17=72",
"72-3=69"
] | Current State: 69:[39, 42, 55, 17], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [55, 17, 3]
Generated Node #2: [55, 17, 3] from Operation: 42-39=3
Current State: 69:[55, 17, 3], Operations: ['42-39=3']
Exploring Operation: 55+17=72, Resulting Numbers: [3, 72]
Generated Node #3: [3, 72] from Operation: 55+17=72
Current State: 69:[3, 72], Operations: ['42-39=3', '55+17=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[39, 42, 55, 17], Operations: []
Exploring Operation: 39+42=81, Resulting Numbers: [55, 17, 81]
Generated Node #0,0: 69:[55, 17, 81] Operation: 39+42=81
Exploring Operation: 42-39=3, Resulting Numbers: [55, 17, 3]
Generated Node #0,1: 69:[55, 17, 3] Operation: 42-39=3
Moving to Node #0,1
Current State: 69:[55, 17, 3], Operations: ['42-39=3']
Exploring Operation: 55+17=72, Resulting Numbers: [3, 72]
Generated Node #0,1,0: 69:[3, 72] Operation: 55+17=72
Exploring Operation: 55-17=38, Resulting Numbers: [3, 38]
Generated Node #0,1,1: 69:[3, 38] Operation: 55-17=38
Moving to Node #0,0
Current State: 69:[55, 17, 81], Operations: ['39+42=81']
Exploring Operation: 55+17=72, Resulting Numbers: [81, 72]
Generated Node #0,0,0: 69:[81, 72] Operation: 55+17=72
Exploring Operation: 81-55=26, Resulting Numbers: [17, 26]
Generated Node #0,0,1: 69:[17, 26] Operation: 81-55=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[17, 26], Operations: ['39+42=81', '81-55=26']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,69 unequal: No Solution
No 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: 69:[81, 72], Operations: ['39+42=81', '55+17=72']
Exploring Operation: 81-72=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 81+72=153, Resulting Numbers: [153]
153,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 69:[3, 72], Operations: ['42-39=3', '55+17=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[39, 42, 55, 17], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [55, 17, 3]
Generated Node #0,1: 69:[55, 17, 3] Operation: 42-39=3
Moving to Node #0,1
Current State: 69:[55, 17, 3], Operations: ['42-39=3']
Exploring Operation: 55+17=72, Resulting Numbers: [3, 72]
Generated Node #0,1,0: 69:[3, 72] Operation: 55+17=72
Moving to Node #0,1,0
Current State: 69:[3, 72], Operations: ['42-39=3', '55+17=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
50,
70,
61,
3
] | 44 | [
"70-50=20",
"61+3=64",
"64-20=44"
] | Current State: 44:[50, 70, 61, 3], Operations: []
Exploring Operation: 70-50=20, Resulting Numbers: [61, 3, 20]
Generated Node #2: [61, 3, 20] from Operation: 70-50=20
Current State: 44:[61, 3, 20], Operations: ['70-50=20']
Exploring Operation: 61+3=64, Resulting Numbers: [20, 64]
Generated Node #3: [20, 64] from Operation: 61+3=64
Current State: 44:[20, 64], Operations: ['70-50=20', '61+3=64']
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[50, 70, 61, 3], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [50, 3, 9]
Generated Node #0,0: 44:[50, 3, 9] Operation: 70-61=9
Exploring Operation: 50-3=47, Resulting Numbers: [70, 61, 47]
Generated Node #0,1: 44:[70, 61, 47] Operation: 50-3=47
Exploring Operation: 61-50=11, Resulting Numbers: [70, 3, 11]
Generated Node #0,2: 44:[70, 3, 11] Operation: 61-50=11
Exploring Operation: 70-50=20, Resulting Numbers: [61, 3, 20]
Generated Node #0,3: 44:[61, 3, 20] Operation: 70-50=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[50, 3, 9], Operations: ['70-61=9']
Exploring Operation: 50-3=47, Resulting Numbers: [9, 47]
Generated Node #0,0,0: 44:[9, 47] Operation: 50-3=47
Exploring Operation: 9/3=3, Resulting Numbers: [50, 3]
Generated Node #0,0,1: 44:[50, 3] Operation: 9/3=3
Exploring Operation: 50-9=41, Resulting Numbers: [3, 41]
Generated Node #0,0,2: 44:[3, 41] Operation: 50-9=41
Exploring Operation: 3+9=12, Resulting Numbers: [50, 12]
Generated Node #0,0,3: 44:[50, 12] Operation: 3+9=12
Moving to Node #0,0,2
Current State: 44:[3, 41], Operations: ['70-61=9', '50-9=41']
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,44 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[50, 70, 61, 3], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [50, 3, 9]
Generated Node #0,0: 44:[50, 3, 9] Operation: 70-61=9
Moving to Node #0,0
Current State: 44:[50, 3, 9], Operations: ['70-61=9']
Exploring Operation: 50-9=41, Resulting Numbers: [3, 41]
Generated Node #0,0,2: 44:[3, 41] Operation: 50-9=41
Moving to Node #0,0,2
Current State: 44:[3, 41], Operations: ['70-61=9', '50-9=41']
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
17,
60,
15,
14
] | 65 | [
"17-14=3",
"15/3=5",
"60+5=65"
] | Current State: 65:[17, 60, 15, 14], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [60, 15, 3]
Generated Node #2: [60, 15, 3] from Operation: 17-14=3
Current State: 65:[60, 15, 3], Operations: ['17-14=3']
Exploring Operation: 15/3=5, Resulting Numbers: [60, 5]
Generated Node #3: [60, 5] from Operation: 15/3=5
Current State: 65:[60, 5], Operations: ['17-14=3', '15/3=5']
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[17, 60, 15, 14], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [17, 14, 4]
Generated Node #0,0: 65:[17, 14, 4] Operation: 60/15=4
Exploring Operation: 17-14=3, Resulting Numbers: [60, 15, 3]
Generated Node #0,1: 65:[60, 15, 3] Operation: 17-14=3
Exploring Operation: 17+60=77, Resulting Numbers: [15, 14, 77]
Generated Node #0,2: 65:[15, 14, 77] Operation: 17+60=77
Exploring Operation: 17-15=2, Resulting Numbers: [60, 14, 2]
Generated Node #0,3: 65:[60, 14, 2] Operation: 17-15=2
Exploring Operation: 15-14=1, Resulting Numbers: [17, 60, 1]
Generated Node #0,4: 65:[17, 60, 1] Operation: 15-14=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[17, 14, 4], Operations: ['60/15=4']
Exploring Operation: 17-4=13, Resulting Numbers: [14, 13]
Generated Node #0,0,0: 65:[14, 13] Operation: 17-4=13
Exploring Operation: 14-4=10, Resulting Numbers: [17, 10]
Generated Node #0,0,1: 65:[17, 10] Operation: 14-4=10
Exploring Operation: 17-14=3, Resulting Numbers: [4, 3]
Generated Node #0,0,2: 65:[4, 3] Operation: 17-14=3
Exploring Operation: 17*4=68, Resulting Numbers: [14, 68]
Generated Node #0,0,3: 65:[14, 68] Operation: 17*4=68
Exploring Operation: 17+4=21, Resulting Numbers: [14, 21]
Generated Node #0,0,4: 65:[14, 21] Operation: 17+4=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[14, 13], Operations: ['60/15=4', '17-4=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,65 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,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,2
Current State: 65:[4, 3], Operations: ['60/15=4', '17-14=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,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,3
Current State: 65:[14, 68], Operations: ['60/15=4', '17*4=68']
Exploring Operation: 14+68=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 14*68=952, Resulting Numbers: [952]
952,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,1
Current State: 65:[17, 10], Operations: ['60/15=4', '14-4=10']
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,65 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,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,4
Current State: 65:[14, 21], Operations: ['60/15=4', '17+4=21']
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,65 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,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:[60, 15, 3], Operations: ['17-14=3']
Exploring Operation: 60/3=20, Resulting Numbers: [15, 20]
Generated Node #0,1,0: 65:[15, 20] Operation: 60/3=20
Exploring Operation: 60+3=63, Resulting Numbers: [15, 63]
Generated Node #0,1,1: 65:[15, 63] Operation: 60+3=63
Exploring Operation: 15/3=5, Resulting Numbers: [60, 5]
Generated Node #0,1,2: 65:[60, 5] Operation: 15/3=5
Exploring Operation: 15-3=12, Resulting Numbers: [60, 12]
Generated Node #0,1,3: 65:[60, 12] Operation: 15-3=12
Exploring Operation: 60/15=4, Resulting Numbers: [3, 4]
Generated Node #0,1,4: 65:[3, 4] Operation: 60/15=4
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 65:[3, 4], Operations: ['17-14=3', '60/15=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,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,1,1
Current State: 65:[15, 63], Operations: ['17-14=3', '60+3=63']
Exploring Operation: 15*63=945, Resulting Numbers: [945]
945,65 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 15+63=78, Resulting Numbers: [78]
78,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,1,2
Current State: 65:[60, 5], Operations: ['17-14=3', '15/3=5']
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[17, 60, 15, 14], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [60, 15, 3]
Generated Node #0,1: 65:[60, 15, 3] Operation: 17-14=3
Moving to Node #0,1
Current State: 65:[60, 15, 3], Operations: ['17-14=3']
Exploring Operation: 15/3=5, Resulting Numbers: [60, 5]
Generated Node #0,1,2: 65:[60, 5] Operation: 15/3=5
Moving to Node #0,1,2
Current State: 65:[60, 5], Operations: ['17-14=3', '15/3=5']
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
83,
31,
21,
97
] | 95 | [
"83-21=62",
"62/31=2",
"97-2=95"
] | Current State: 95:[83, 31, 21, 97], Operations: []
Exploring Operation: 83-21=62, Resulting Numbers: [31, 97, 62]
Generated Node #2: [31, 97, 62] from Operation: 83-21=62
Current State: 95:[31, 97, 62], Operations: ['83-21=62']
Exploring Operation: 62/31=2, Resulting Numbers: [97, 2]
Generated Node #3: [97, 2] from Operation: 62/31=2
Current State: 95:[97, 2], Operations: ['83-21=62', '62/31=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[83, 31, 21, 97], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [31, 21, 14]
Generated Node #0,0: 95:[31, 21, 14] Operation: 97-83=14
Exploring Operation: 31-21=10, Resulting Numbers: [83, 97, 10]
Generated Node #0,1: 95:[83, 97, 10] Operation: 31-21=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[31, 21, 14], Operations: ['97-83=14']
Exploring Operation: 31-14=17, Resulting Numbers: [21, 17]
Generated Node #0,0,0: 95:[21, 17] Operation: 31-14=17
Exploring Operation: 31-21=10, Resulting Numbers: [14, 10]
Generated Node #0,0,1: 95:[14, 10] Operation: 31-21=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[21, 17], Operations: ['97-83=14', '31-14=17']
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,95 unequal: No Solution
No 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: 95:[14, 10], Operations: ['97-83=14', '31-21=10']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,95 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: 95:[83, 97, 10], Operations: ['31-21=10']
Exploring Operation: 83+10=93, Resulting Numbers: [97, 93]
Generated Node #0,1,0: 95:[97, 93] Operation: 83+10=93
Exploring Operation: 97-83=14, Resulting Numbers: [10, 14]
Generated Node #0,1,1: 95:[10, 14] Operation: 97-83=14
Moving to Node #0,1,0
Current State: 95:[97, 93], Operations: ['31-21=10', '83+10=93']
Exploring Operation: 97-93=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 97+93=190, Resulting Numbers: [190]
190,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[10, 14], Operations: ['31-21=10', '97-83=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,95 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 |
[
29,
81,
54,
98
] | 49 | [
"81-29=52",
"54-52=2",
"98/2=49"
] | Current State: 49:[29, 81, 54, 98], Operations: []
Exploring Operation: 81-29=52, Resulting Numbers: [54, 98, 52]
Generated Node #2: [54, 98, 52] from Operation: 81-29=52
Current State: 49:[54, 98, 52], Operations: ['81-29=52']
Exploring Operation: 54-52=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 54-52=2
Current State: 49:[98, 2], Operations: ['81-29=52', '54-52=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[29, 81, 54, 98], Operations: []
Exploring Operation: 98-81=17, Resulting Numbers: [29, 54, 17]
Generated Node #0,0: 49:[29, 54, 17] Operation: 98-81=17
Exploring Operation: 81-29=52, Resulting Numbers: [54, 98, 52]
Generated Node #0,1: 49:[54, 98, 52] Operation: 81-29=52
Exploring Operation: 98-29=69, Resulting Numbers: [81, 54, 69]
Generated Node #0,2: 49:[81, 54, 69] Operation: 98-29=69
Moving to Node #0,0
Current State: 49:[29, 54, 17], Operations: ['98-81=17']
Exploring Operation: 54-29=25, Resulting Numbers: [17, 25]
Generated Node #0,0,0: 49:[17, 25] Operation: 54-29=25
Exploring Operation: 29-17=12, Resulting Numbers: [54, 12]
Generated Node #0,0,1: 49:[54, 12] Operation: 29-17=12
Exploring Operation: 29+17=46, Resulting Numbers: [54, 46]
Generated Node #0,0,2: 49:[54, 46] Operation: 29+17=46
Moving to Node #0,1
Current State: 49:[54, 98, 52], Operations: ['81-29=52']
Exploring Operation: 98-54=44, Resulting Numbers: [52, 44]
Generated Node #0,1,0: 49:[52, 44] Operation: 98-54=44
Exploring Operation: 54-52=2, Resulting Numbers: [98, 2]
Generated Node #0,1,1: 49:[98, 2] Operation: 54-52=2
Exploring Operation: 98-52=46, Resulting Numbers: [54, 46]
Generated Node #0,1,2: 49:[54, 46] Operation: 98-52=46
Moving to Node #0,2
Current State: 49:[81, 54, 69], Operations: ['98-29=69']
Exploring Operation: 81-54=27, Resulting Numbers: [69, 27]
Generated Node #0,2,0: 49:[69, 27] Operation: 81-54=27
Exploring Operation: 69-54=15, Resulting Numbers: [81, 15]
Generated Node #0,2,1: 49:[81, 15] Operation: 69-54=15
Exploring Operation: 81-69=12, Resulting Numbers: [54, 12]
Generated Node #0,2,2: 49:[54, 12] Operation: 81-69=12
Moving to Node #0,0,2
Current State: 49:[54, 46], Operations: ['98-81=17', '29+17=46']
Exploring Operation: 54*46=2484, Resulting Numbers: [2484]
2484,49 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 54+46=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[52, 44], Operations: ['81-29=52', '98-54=44']
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 52+44=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 52*44=2288, Resulting Numbers: [2288]
2288,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[54, 46], Operations: ['81-29=52', '98-52=46']
Exploring Operation: 54+46=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 54*46=2484, Resulting Numbers: [2484]
2484,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[54, 12], Operations: ['98-29=69', '81-69=12']
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[54, 12], Operations: ['98-81=17', '29-17=12']
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,49 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[17, 25], Operations: ['98-81=17', '54-29=25']
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,49 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[81, 15], Operations: ['98-29=69', '69-54=15']
Exploring Operation: 81+15=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 81*15=1215, Resulting Numbers: [1215]
1215,49 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[69, 27], Operations: ['98-29=69', '81-54=27']
Exploring Operation: 69+27=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 69*27=1863, Resulting Numbers: [1863]
1863,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[98, 2], Operations: ['81-29=52', '54-52=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[29, 81, 54, 98], Operations: []
Exploring Operation: 81-29=52, Resulting Numbers: [54, 98, 52]
Generated Node #0,1: 49:[54, 98, 52] Operation: 81-29=52
Moving to Node #0,1
Current State: 49:[54, 98, 52], Operations: ['81-29=52']
Exploring Operation: 54-52=2, Resulting Numbers: [98, 2]
Generated Node #0,1,1: 49:[98, 2] Operation: 54-52=2
Moving to Node #0,1,1
Current State: 49:[98, 2], Operations: ['81-29=52', '54-52=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.96441 | hs_3 | sum_heuristic |
[
29,
21,
39,
24
] | 55 | [
"29-21=8",
"39+24=63",
"63-8=55"
] | Current State: 55:[29, 21, 39, 24], Operations: []
Exploring Operation: 29-21=8, Resulting Numbers: [39, 24, 8]
Generated Node #2: [39, 24, 8] from Operation: 29-21=8
Current State: 55:[39, 24, 8], Operations: ['29-21=8']
Exploring Operation: 39+24=63, Resulting Numbers: [8, 63]
Generated Node #3: [8, 63] from Operation: 39+24=63
Current State: 55:[8, 63], Operations: ['29-21=8', '39+24=63']
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[29, 21, 39, 24], Operations: []
Exploring Operation: 29+24=53, Resulting Numbers: [21, 39, 53]
Generated Node #0,0: 55:[21, 39, 53] Operation: 29+24=53
Exploring Operation: 39-29=10, Resulting Numbers: [21, 24, 10]
Generated Node #0,1: 55:[21, 24, 10] Operation: 39-29=10
Exploring Operation: 29-21=8, Resulting Numbers: [39, 24, 8]
Generated Node #0,2: 55:[39, 24, 8] Operation: 29-21=8
Exploring Operation: 29-24=5, Resulting Numbers: [21, 39, 5]
Generated Node #0,3: 55:[21, 39, 5] Operation: 29-24=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[21, 24, 10], Operations: ['39-29=10']
Exploring Operation: 24-10=14, Resulting Numbers: [21, 14]
Generated Node #0,1,0: 55:[21, 14] Operation: 24-10=14
Exploring Operation: 21+24=45, Resulting Numbers: [10, 45]
Generated Node #0,1,1: 55:[10, 45] Operation: 21+24=45
Exploring Operation: 24-21=3, Resulting Numbers: [10, 3]
Generated Node #0,1,2: 55:[10, 3] Operation: 24-21=3
Exploring Operation: 21-10=11, Resulting Numbers: [24, 11]
Generated Node #0,1,3: 55:[24, 11] Operation: 21-10=11
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 55:[10, 3], Operations: ['39-29=10', '24-21=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,55 unequal: No Solution
No 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: 55:[10, 45], Operations: ['39-29=10', '21+24=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[29, 21, 39, 24], Operations: []
Exploring Operation: 39-29=10, Resulting Numbers: [21, 24, 10]
Generated Node #0,1: 55:[21, 24, 10] Operation: 39-29=10
Moving to Node #0,1
Current State: 55:[21, 24, 10], Operations: ['39-29=10']
Exploring Operation: 21+24=45, Resulting Numbers: [10, 45]
Generated Node #0,1,1: 55:[10, 45] Operation: 21+24=45
Moving to Node #0,1,1
Current State: 55:[10, 45], Operations: ['39-29=10', '21+24=45']
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
52,
72,
84,
47
] | 57 | [
"72-52=20",
"84-47=37",
"20+37=57"
] | Current State: 57:[52, 72, 84, 47], Operations: []
Exploring Operation: 72-52=20, Resulting Numbers: [84, 47, 20]
Generated Node #2: [84, 47, 20] from Operation: 72-52=20
Current State: 57:[84, 47, 20], Operations: ['72-52=20']
Exploring Operation: 84-47=37, Resulting Numbers: [20, 37]
Generated Node #3: [20, 37] from Operation: 84-47=37
Current State: 57:[20, 37], Operations: ['72-52=20', '84-47=37']
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[52, 72, 84, 47], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [52, 47, 12]
Generated Node #0,0: 57:[52, 47, 12] Operation: 84-72=12
Moving to Node #0,0
Current State: 57:[52, 47, 12], Operations: ['84-72=12']
Exploring Operation: 47+12=59, Resulting Numbers: [52, 59]
Generated Node #0,0,0: 57:[52, 59] Operation: 47+12=59
Moving to Node #0,0,0
Current State: 57:[52, 59], Operations: ['84-72=12', '47+12=59']
Exploring Operation: 59-52=7, Resulting Numbers: [7]
7,57 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
78,
99,
94,
10
] | 93 | [
"78+99=177",
"94-10=84",
"177-84=93"
] | Current State: 93:[78, 99, 94, 10], Operations: []
Exploring Operation: 78+99=177, Resulting Numbers: [94, 10, 177]
Generated Node #2: [94, 10, 177] from Operation: 78+99=177
Current State: 93:[94, 10, 177], Operations: ['78+99=177']
Exploring Operation: 94-10=84, Resulting Numbers: [177, 84]
Generated Node #3: [177, 84] from Operation: 94-10=84
Current State: 93:[177, 84], Operations: ['78+99=177', '94-10=84']
Exploring Operation: 177-84=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[78, 99, 94, 10], Operations: []
Exploring Operation: 99-78=21, Resulting Numbers: [94, 10, 21]
Generated Node #0,0: 93:[94, 10, 21] Operation: 99-78=21
Exploring Operation: 78+10=88, Resulting Numbers: [99, 94, 88]
Generated Node #0,1: 93:[99, 94, 88] Operation: 78+10=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[99, 94, 88], Operations: ['78+10=88']
Exploring Operation: 99-88=11, Resulting Numbers: [94, 11]
Generated Node #0,1,0: 93:[94, 11] Operation: 99-88=11
Exploring Operation: 99-94=5, Resulting Numbers: [88, 5]
Generated Node #0,1,1: 93:[88, 5] Operation: 99-94=5
Moving to Node #0,1,1
Current State: 93:[88, 5], Operations: ['78+10=88', '99-94=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[78, 99, 94, 10], Operations: []
Exploring Operation: 78+10=88, Resulting Numbers: [99, 94, 88]
Generated Node #0,1: 93:[99, 94, 88] Operation: 78+10=88
Moving to Node #0,1
Current State: 93:[99, 94, 88], Operations: ['78+10=88']
Exploring Operation: 99-94=5, Resulting Numbers: [88, 5]
Generated Node #0,1,1: 93:[88, 5] Operation: 99-94=5
Moving to Node #0,1,1
Current State: 93:[88, 5], Operations: ['78+10=88', '99-94=5']
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
54,
51,
78,
11
] | 70 | [
"54-51=3",
"78-11=67",
"3+67=70"
] | Current State: 70:[54, 51, 78, 11], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [78, 11, 3]
Generated Node #2: [78, 11, 3] from Operation: 54-51=3
Current State: 70:[78, 11, 3], Operations: ['54-51=3']
Exploring Operation: 78-11=67, Resulting Numbers: [3, 67]
Generated Node #3: [3, 67] from Operation: 78-11=67
Current State: 70:[3, 67], Operations: ['54-51=3', '78-11=67']
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[54, 51, 78, 11], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [78, 11, 3]
Generated Node #0,0: 70:[78, 11, 3] Operation: 54-51=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[78, 11, 3], Operations: ['54-51=3']
Exploring Operation: 78-11=67, Resulting Numbers: [3, 67]
Generated Node #0,0,0: 70:[3, 67] Operation: 78-11=67
Moving to Node #0,0,0
Current State: 70:[3, 67], Operations: ['54-51=3', '78-11=67']
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[54, 51, 78, 11], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [78, 11, 3]
Generated Node #0,0: 70:[78, 11, 3] Operation: 54-51=3
Moving to Node #0,0
Current State: 70:[78, 11, 3], Operations: ['54-51=3']
Exploring Operation: 78-11=67, Resulting Numbers: [3, 67]
Generated Node #0,0,0: 70:[3, 67] Operation: 78-11=67
Moving to Node #0,0,0
Current State: 70:[3, 67], Operations: ['54-51=3', '78-11=67']
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
6,
69,
54,
88
] | 28 | [
"54/6=9",
"88-69=19",
"9+19=28"
] | Current State: 28:[6, 69, 54, 88], Operations: []
Exploring Operation: 54/6=9, Resulting Numbers: [69, 88, 9]
Generated Node #2: [69, 88, 9] from Operation: 54/6=9
Current State: 28:[69, 88, 9], Operations: ['54/6=9']
Exploring Operation: 88-69=19, Resulting Numbers: [9, 19]
Generated Node #3: [9, 19] from Operation: 88-69=19
Current State: 28:[9, 19], Operations: ['54/6=9', '88-69=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[6, 69, 54, 88], Operations: []
Exploring Operation: 88-54=34, Resulting Numbers: [6, 69, 34]
Generated Node #0,0: 28:[6, 69, 34] Operation: 88-54=34
Exploring Operation: 69-54=15, Resulting Numbers: [6, 88, 15]
Generated Node #0,1: 28:[6, 88, 15] Operation: 69-54=15
Exploring Operation: 54/6=9, Resulting Numbers: [69, 88, 9]
Generated Node #0,2: 28:[69, 88, 9] Operation: 54/6=9
Exploring Operation: 88-69=19, Resulting Numbers: [6, 54, 19]
Generated Node #0,3: 28:[6, 54, 19] Operation: 88-69=19
Moving to Node #0,3
Current State: 28:[6, 54, 19], Operations: ['88-69=19']
Exploring Operation: 54/6=9, Resulting Numbers: [19, 9]
Generated Node #0,3,0: 28:[19, 9] Operation: 54/6=9
Exploring Operation: 54-6=48, Resulting Numbers: [19, 48]
Generated Node #0,3,1: 28:[19, 48] Operation: 54-6=48
Exploring Operation: 54-19=35, Resulting Numbers: [6, 35]
Generated Node #0,3,2: 28:[6, 35] Operation: 54-19=35
Exploring Operation: 19-6=13, Resulting Numbers: [54, 13]
Generated Node #0,3,3: 28:[54, 13] Operation: 19-6=13
Moving to Node #0,0
Current State: 28:[6, 69, 34], Operations: ['88-54=34']
Exploring Operation: 6+69=75, Resulting Numbers: [34, 75]
Generated Node #0,0,0: 28:[34, 75] Operation: 6+69=75
Exploring Operation: 69-34=35, Resulting Numbers: [6, 35]
Generated Node #0,0,1: 28:[6, 35] Operation: 69-34=35
Exploring Operation: 69-6=63, Resulting Numbers: [34, 63]
Generated Node #0,0,2: 28:[34, 63] Operation: 69-6=63
Exploring Operation: 34-6=28, Resulting Numbers: [69, 28]
Generated Node #0,0,3: 28:[69, 28] Operation: 34-6=28
Moving to Node #0,1
Current State: 28:[6, 88, 15], Operations: ['69-54=15']
Exploring Operation: 88-15=73, Resulting Numbers: [6, 73]
Generated Node #0,1,0: 28:[6, 73] Operation: 88-15=73
Exploring Operation: 88-6=82, Resulting Numbers: [15, 82]
Generated Node #0,1,1: 28:[15, 82] Operation: 88-6=82
Exploring Operation: 15-6=9, Resulting Numbers: [88, 9]
Generated Node #0,1,2: 28:[88, 9] Operation: 15-6=9
Exploring Operation: 6+88=94, Resulting Numbers: [15, 94]
Generated Node #0,1,3: 28:[15, 94] Operation: 6+88=94
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[6, 73], Operations: ['69-54=15', '88-15=73']
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,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,1
Current State: 28:[15, 82], Operations: ['69-54=15', '88-6=82']
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 15+82=97, Resulting Numbers: [97]
97,28 unequal: No Solution
Exploring Operation: 15*82=1230, Resulting Numbers: [1230]
1230,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,2
Current State: 28:[88, 9], Operations: ['69-54=15', '15-6=9']
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 88+9=97, Resulting Numbers: [97]
97,28 unequal: No Solution
Exploring Operation: 88*9=792, Resulting Numbers: [792]
792,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,3
Current State: 28:[15, 94], Operations: ['69-54=15', '6+88=94']
Exploring Operation: 94-15=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 15+94=109, Resulting Numbers: [109]
109,28 unequal: No Solution
Exploring Operation: 15*94=1410, Resulting Numbers: [1410]
1410,28 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: 28:[69, 88, 9], Operations: ['54/6=9']
Exploring Operation: 88-9=79, Resulting Numbers: [69, 79]
Generated Node #0,2,0: 28:[69, 79] Operation: 88-9=79
Exploring Operation: 69+9=78, Resulting Numbers: [88, 78]
Generated Node #0,2,1: 28:[88, 78] Operation: 69+9=78
Exploring Operation: 88-69=19, Resulting Numbers: [9, 19]
Generated Node #0,2,2: 28:[9, 19] Operation: 88-69=19
Exploring Operation: 69-9=60, Resulting Numbers: [88, 60]
Generated Node #0,2,3: 28:[88, 60] Operation: 69-9=60
Moving to Node #0,3,0
Current State: 28:[19, 9], Operations: ['88-69=19', '54/6=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[6, 69, 54, 88], Operations: []
Exploring Operation: 88-69=19, Resulting Numbers: [6, 54, 19]
Generated Node #0,3: 28:[6, 54, 19] Operation: 88-69=19
Moving to Node #0,3
Current State: 28:[6, 54, 19], Operations: ['88-69=19']
Exploring Operation: 54/6=9, Resulting Numbers: [19, 9]
Generated Node #0,3,0: 28:[19, 9] Operation: 54/6=9
Moving to Node #0,3,0
Current State: 28:[19, 9], Operations: ['88-69=19', '54/6=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.967882 | hs_4 | sum_heuristic |
[
67,
29,
64,
43
] | 59 | [
"67-29=38",
"64-43=21",
"38+21=59"
] | Current State: 59:[67, 29, 64, 43], Operations: []
Exploring Operation: 67-29=38, Resulting Numbers: [64, 43, 38]
Generated Node #2: [64, 43, 38] from Operation: 67-29=38
Current State: 59:[64, 43, 38], Operations: ['67-29=38']
Exploring Operation: 64-43=21, Resulting Numbers: [38, 21]
Generated Node #3: [38, 21] from Operation: 64-43=21
Current State: 59:[38, 21], Operations: ['67-29=38', '64-43=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[67, 29, 64, 43], Operations: []
Exploring Operation: 64-29=35, Resulting Numbers: [67, 43, 35]
Generated Node #0,0: 59:[67, 43, 35] Operation: 64-29=35
Exploring Operation: 67-29=38, Resulting Numbers: [64, 43, 38]
Generated Node #0,1: 59:[64, 43, 38] Operation: 67-29=38
Exploring Operation: 29+43=72, Resulting Numbers: [67, 64, 72]
Generated Node #0,2: 59:[67, 64, 72] Operation: 29+43=72
Moving to Node #0,2
Current State: 59:[67, 64, 72], Operations: ['29+43=72']
Exploring Operation: 67-64=3, Resulting Numbers: [72, 3]
Generated Node #0,2,0: 59:[72, 3] Operation: 67-64=3
Exploring Operation: 72-67=5, Resulting Numbers: [64, 5]
Generated Node #0,2,1: 59:[64, 5] Operation: 72-67=5
Exploring Operation: 72-64=8, Resulting Numbers: [67, 8]
Generated Node #0,2,2: 59:[67, 8] Operation: 72-64=8
Moving to Node #0,1
Current State: 59:[64, 43, 38], Operations: ['67-29=38']
Exploring Operation: 64-43=21, Resulting Numbers: [38, 21]
Generated Node #0,1,0: 59:[38, 21] Operation: 64-43=21
Exploring Operation: 43+38=81, Resulting Numbers: [64, 81]
Generated Node #0,1,1: 59:[64, 81] Operation: 43+38=81
Exploring Operation: 64-38=26, Resulting Numbers: [43, 26]
Generated Node #0,1,2: 59:[43, 26] Operation: 64-38=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[64, 81], Operations: ['67-29=38', '43+38=81']
Exploring Operation: 64*81=5184, Resulting Numbers: [5184]
5184,59 unequal: No Solution
Exploring Operation: 64+81=145, Resulting Numbers: [145]
145,59 unequal: No Solution
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[43, 26], Operations: ['67-29=38', '64-38=26']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 43*26=1118, Resulting Numbers: [1118]
1118,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[38, 21], Operations: ['67-29=38', '64-43=21']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,59 unequal: No Solution
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[67, 29, 64, 43], Operations: []
Exploring Operation: 67-29=38, Resulting Numbers: [64, 43, 38]
Generated Node #0,1: 59:[64, 43, 38] Operation: 67-29=38
Moving to Node #0,1
Current State: 59:[64, 43, 38], Operations: ['67-29=38']
Exploring Operation: 64-43=21, Resulting Numbers: [38, 21]
Generated Node #0,1,0: 59:[38, 21] Operation: 64-43=21
Moving to Node #0,1,0
Current State: 59:[38, 21], Operations: ['67-29=38', '64-43=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_3 | sum_heuristic |
[
73,
5,
9,
15
] | 57 | [
"73+5=78",
"9*15=135",
"135-78=57"
] | Current State: 57:[73, 5, 9, 15], Operations: []
Exploring Operation: 73+5=78, Resulting Numbers: [9, 15, 78]
Generated Node #2: [9, 15, 78] from Operation: 73+5=78
Current State: 57:[9, 15, 78], Operations: ['73+5=78']
Exploring Operation: 9*15=135, Resulting Numbers: [78, 135]
Generated Node #3: [78, 135] from Operation: 9*15=135
Current State: 57:[78, 135], Operations: ['73+5=78', '9*15=135']
Exploring Operation: 135-78=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[73, 5, 9, 15], Operations: []
Exploring Operation: 73-15=58, Resulting Numbers: [5, 9, 58]
Generated Node #0,0: 57:[5, 9, 58] Operation: 73-15=58
Moving to Node #0,0
Current State: 57:[5, 9, 58], Operations: ['73-15=58']
Exploring Operation: 9-5=4, Resulting Numbers: [58, 4]
Generated Node #0,0,0: 57:[58, 4] Operation: 9-5=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[58, 4], Operations: ['73-15=58', '9-5=4']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,57 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 |
[
64,
8,
43,
44
] | 15 | [
"64+8=72",
"43+44=87",
"87-72=15"
] | Current State: 15:[64, 8, 43, 44], Operations: []
Exploring Operation: 64+8=72, Resulting Numbers: [43, 44, 72]
Generated Node #2: [43, 44, 72] from Operation: 64+8=72
Current State: 15:[43, 44, 72], Operations: ['64+8=72']
Exploring Operation: 43+44=87, Resulting Numbers: [72, 87]
Generated Node #3: [72, 87] from Operation: 43+44=87
Current State: 15:[72, 87], Operations: ['64+8=72', '43+44=87']
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[64, 8, 43, 44], Operations: []
Exploring Operation: 64-44=20, Resulting Numbers: [8, 43, 20]
Generated Node #0,0: 15:[8, 43, 20] Operation: 64-44=20
Exploring Operation: 64-43=21, Resulting Numbers: [8, 44, 21]
Generated Node #0,1: 15:[8, 44, 21] Operation: 64-43=21
Exploring Operation: 44-43=1, Resulting Numbers: [64, 8, 1]
Generated Node #0,2: 15:[64, 8, 1] Operation: 44-43=1
Exploring Operation: 64/8=8, Resulting Numbers: [43, 44, 8]
Generated Node #0,3: 15:[43, 44, 8] Operation: 64/8=8
Moving to Node #0,0
Current State: 15:[8, 43, 20], Operations: ['64-44=20']
Exploring Operation: 43-20=23, Resulting Numbers: [8, 23]
Generated Node #0,0,0: 15:[8, 23] Operation: 43-20=23
Exploring Operation: 20-8=12, Resulting Numbers: [43, 12]
Generated Node #0,0,1: 15:[43, 12] Operation: 20-8=12
Exploring Operation: 43-8=35, Resulting Numbers: [20, 35]
Generated Node #0,0,2: 15:[20, 35] Operation: 43-8=35
Exploring Operation: 8+43=51, Resulting Numbers: [20, 51]
Generated Node #0,0,3: 15:[20, 51] Operation: 8+43=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[8, 23], Operations: ['64-44=20', '43-20=23']
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,15 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[64, 8, 43, 44], Operations: []
Exploring Operation: 64-44=20, Resulting Numbers: [8, 43, 20]
Generated Node #0,0: 15:[8, 43, 20] Operation: 64-44=20
Moving to Node #0,0
Current State: 15:[8, 43, 20], Operations: ['64-44=20']
Exploring Operation: 43-20=23, Resulting Numbers: [8, 23]
Generated Node #0,0,0: 15:[8, 23] Operation: 43-20=23
Moving to Node #0,0,0
Current State: 15:[8, 23], Operations: ['64-44=20', '43-20=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
32,
83,
2,
32
] | 45 | [
"32+32=64",
"2*64=128",
"128-83=45"
] | Current State: 45:[32, 83, 2, 32], Operations: []
Exploring Operation: 32+32=64, Resulting Numbers: [83, 2, 64]
Generated Node #2: [83, 2, 64] from Operation: 32+32=64
Current State: 45:[83, 2, 64], Operations: ['32+32=64']
Exploring Operation: 2*64=128, Resulting Numbers: [83, 128]
Generated Node #3: [83, 128] from Operation: 2*64=128
Current State: 45:[83, 128], Operations: ['32+32=64', '2*64=128']
Exploring Operation: 128-83=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[32, 83, 2, 32], Operations: []
Exploring Operation: 83-32=51, Resulting Numbers: [2, 32, 51]
Generated Node #0,0: 45:[2, 32, 51] Operation: 83-32=51
Exploring Operation: 32/32=1, Resulting Numbers: [83, 2, 1]
Generated Node #0,1: 45:[83, 2, 1] Operation: 32/32=1
Exploring Operation: 83-32=51, Resulting Numbers: [32, 2, 51]
Generated Node #0,2: 45:[32, 2, 51] Operation: 83-32=51
Moving to Node #0,0
Current State: 45:[2, 32, 51], Operations: ['83-32=51']
Exploring Operation: 2+32=34, Resulting Numbers: [51, 34]
Generated Node #0,0,0: 45:[51, 34] Operation: 2+32=34
Exploring Operation: 32/2=16, Resulting Numbers: [51, 16]
Generated Node #0,0,1: 45:[51, 16] Operation: 32/2=16
Exploring Operation: 51-32=19, Resulting Numbers: [2, 19]
Generated Node #0,0,2: 45:[2, 19] Operation: 51-32=19
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 45:[2, 19], Operations: ['83-32=51', '51-32=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,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:[51, 16], Operations: ['83-32=51', '32/2=16']
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,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,0
Current State: 45:[51, 34], Operations: ['83-32=51', '2+32=34']
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,45 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 51*34=1734, Resulting Numbers: [1734]
1734,45 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: 45:[32, 2, 51], Operations: ['83-32=51']
Exploring Operation: 51-32=19, Resulting Numbers: [2, 19]
Generated Node #0,2,0: 45:[2, 19] Operation: 51-32=19
Exploring Operation: 32+2=34, Resulting Numbers: [51, 34]
Generated Node #0,2,1: 45:[51, 34] Operation: 32+2=34
Exploring Operation: 32/2=16, Resulting Numbers: [51, 16]
Generated Node #0,2,2: 45:[51, 16] Operation: 32/2=16
Moving to Node #0,1
Current State: 45:[83, 2, 1], Operations: ['32/32=1']
Exploring Operation: 2+1=3, Resulting Numbers: [83, 3]
Generated Node #0,1,0: 45:[83, 3] Operation: 2+1=3
Exploring Operation: 83-2=81, Resulting Numbers: [1, 81]
Generated Node #0,1,1: 45:[1, 81] Operation: 83-2=81
Exploring Operation: 83-1=82, Resulting Numbers: [2, 82]
Generated Node #0,1,2: 45:[2, 82] Operation: 83-1=82
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[83, 3], Operations: ['32/32=1', '2+1=3']
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,45 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,45 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,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,1,1
Current State: 45:[1, 81], Operations: ['32/32=1', '83-2=81']
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,45 unequal: No Solution
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,45 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,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,1,2
Current State: 45:[2, 82], Operations: ['32/32=1', '83-1=82']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,45 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,45 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,45 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: 45:[2, 19], Operations: ['83-32=51', '51-32=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[51, 16], Operations: ['83-32=51', '32/2=16']
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,45 unequal: No Solution
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[51, 34], Operations: ['83-32=51', '32+2=34']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 51*34=1734, Resulting Numbers: [1734]
1734,45 unequal: No Solution
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,45 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
19,
25,
52
] | 68 | [
"19-10=9",
"25+52=77",
"77-9=68"
] | Current State: 68:[10, 19, 25, 52], Operations: []
Exploring Operation: 19-10=9, Resulting Numbers: [25, 52, 9]
Generated Node #2: [25, 52, 9] from Operation: 19-10=9
Current State: 68:[25, 52, 9], Operations: ['19-10=9']
Exploring Operation: 25+52=77, Resulting Numbers: [9, 77]
Generated Node #3: [9, 77] from Operation: 25+52=77
Current State: 68:[9, 77], Operations: ['19-10=9', '25+52=77']
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[10, 19, 25, 52], Operations: []
Exploring Operation: 52-19=33, Resulting Numbers: [10, 25, 33]
Generated Node #0,0: 68:[10, 25, 33] Operation: 52-19=33
Moving to Node #0,0
Current State: 68:[10, 25, 33], Operations: ['52-19=33']
Exploring Operation: 10+25=35, Resulting Numbers: [33, 35]
Generated Node #0,0,0: 68:[33, 35] Operation: 10+25=35
Moving to Node #0,0,0
Current State: 68:[33, 35], Operations: ['52-19=33', '10+25=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[10, 19, 25, 52], Operations: []
Exploring Operation: 52-19=33, Resulting Numbers: [10, 25, 33]
Generated Node #0,0: 68:[10, 25, 33] Operation: 52-19=33
Moving to Node #0,0
Current State: 68:[10, 25, 33], Operations: ['52-19=33']
Exploring Operation: 10+25=35, Resulting Numbers: [33, 35]
Generated Node #0,0,0: 68:[33, 35] Operation: 10+25=35
Moving to Node #0,0,0
Current State: 68:[33, 35], Operations: ['52-19=33', '10+25=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
40,
33,
63,
3
] | 67 | [
"40-33=7",
"63-3=60",
"7+60=67"
] | Current State: 67:[40, 33, 63, 3], Operations: []
Exploring Operation: 40-33=7, Resulting Numbers: [63, 3, 7]
Generated Node #2: [63, 3, 7] from Operation: 40-33=7
Current State: 67:[63, 3, 7], Operations: ['40-33=7']
Exploring Operation: 63-3=60, Resulting Numbers: [7, 60]
Generated Node #3: [7, 60] from Operation: 63-3=60
Current State: 67:[7, 60], Operations: ['40-33=7', '63-3=60']
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[40, 33, 63, 3], Operations: []
Exploring Operation: 63+3=66, Resulting Numbers: [40, 33, 66]
Generated Node #0,0: 67:[40, 33, 66] Operation: 63+3=66
Exploring Operation: 33*3=99, Resulting Numbers: [40, 63, 99]
Generated Node #0,1: 67:[40, 63, 99] Operation: 33*3=99
Exploring Operation: 40+3=43, Resulting Numbers: [33, 63, 43]
Generated Node #0,2: 67:[33, 63, 43] Operation: 40+3=43
Exploring Operation: 33+3=36, Resulting Numbers: [40, 63, 36]
Generated Node #0,3: 67:[40, 63, 36] Operation: 33+3=36
Moving to Node #0,0
Current State: 67:[40, 33, 66], Operations: ['63+3=66']
Exploring Operation: 40+33=73, Resulting Numbers: [66, 73]
Generated Node #0,0,0: 67:[66, 73] Operation: 40+33=73
Exploring Operation: 40-33=7, Resulting Numbers: [66, 7]
Generated Node #0,0,1: 67:[66, 7] Operation: 40-33=7
Exploring Operation: 33+66=99, Resulting Numbers: [40, 99]
Generated Node #0,0,2: 67:[40, 99] Operation: 33+66=99
Exploring Operation: 66-33=33, Resulting Numbers: [40, 33]
Generated Node #0,0,3: 67:[40, 33] Operation: 66-33=33
Moving to Node #0,3
Current State: 67:[40, 63, 36], Operations: ['33+3=36']
Exploring Operation: 40-36=4, Resulting Numbers: [63, 4]
Generated Node #0,3,0: 67:[63, 4] Operation: 40-36=4
Exploring Operation: 63+36=99, Resulting Numbers: [40, 99]
Generated Node #0,3,1: 67:[40, 99] Operation: 63+36=99
Exploring Operation: 40+36=76, Resulting Numbers: [63, 76]
Generated Node #0,3,2: 67:[63, 76] Operation: 40+36=76
Exploring Operation: 40+63=103, Resulting Numbers: [36, 103]
Generated Node #0,3,3: 67:[36, 103] Operation: 40+63=103
Moving to Node #0,2
Current State: 67:[33, 63, 43], Operations: ['40+3=43']
Exploring Operation: 63-33=30, Resulting Numbers: [43, 30]
Generated Node #0,2,0: 67:[43, 30] Operation: 63-33=30
Exploring Operation: 43-33=10, Resulting Numbers: [63, 10]
Generated Node #0,2,1: 67:[63, 10] Operation: 43-33=10
Exploring Operation: 33+43=76, Resulting Numbers: [63, 76]
Generated Node #0,2,2: 67:[63, 76] Operation: 33+43=76
Exploring Operation: 33+63=96, Resulting Numbers: [43, 96]
Generated Node #0,2,3: 67:[43, 96] Operation: 33+63=96
Moving to Node #0,1
Current State: 67:[40, 63, 99], Operations: ['33*3=99']
Exploring Operation: 40+63=103, Resulting Numbers: [99, 103]
Generated Node #0,1,0: 67:[99, 103] Operation: 40+63=103
Exploring Operation: 99-40=59, Resulting Numbers: [63, 59]
Generated Node #0,1,1: 67:[63, 59] Operation: 99-40=59
Exploring Operation: 99-63=36, Resulting Numbers: [40, 36]
Generated Node #0,1,2: 67:[40, 36] Operation: 99-63=36
Exploring Operation: 63-40=23, Resulting Numbers: [99, 23]
Generated Node #0,1,3: 67:[99, 23] Operation: 63-40=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[63, 59], Operations: ['33*3=99', '99-40=59']
Exploring Operation: 63-59=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 63*59=3717, Resulting Numbers: [3717]
3717,67 unequal: No Solution
Exploring Operation: 63+59=122, Resulting Numbers: [122]
122,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,2
Current State: 67:[40, 36], Operations: ['33*3=99', '99-63=36']
Exploring Operation: 40*36=1440, Resulting Numbers: [1440]
1440,67 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 40+36=76, Resulting Numbers: [76]
76,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,0
Current State: 67:[99, 103], Operations: ['33*3=99', '40+63=103']
Exploring Operation: 103-99=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 99*103=10197, Resulting Numbers: [10197]
10197,67 unequal: No Solution
Exploring Operation: 99+103=202, Resulting Numbers: [202]
202,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,3
Current State: 67:[99, 23], Operations: ['33*3=99', '63-40=23']
Exploring Operation: 99*23=2277, Resulting Numbers: [2277]
2277,67 unequal: No Solution
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 99+23=122, Resulting Numbers: [122]
122,67 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: 67:[66, 73], Operations: ['63+3=66', '40+33=73']
Exploring Operation: 66+73=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 66*73=4818, Resulting Numbers: [4818]
4818,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[63, 76], Operations: ['33+3=36', '40+36=76']
Exploring Operation: 63+76=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 63*76=4788, Resulting Numbers: [4788]
4788,67 unequal: No Solution
Exploring Operation: 76-63=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[63, 76], Operations: ['40+3=43', '33+43=76']
Exploring Operation: 63+76=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 76-63=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 63*76=4788, Resulting Numbers: [4788]
4788,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[43, 96], Operations: ['40+3=43', '33+63=96']
Exploring Operation: 96-43=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 43*96=4128, Resulting Numbers: [4128]
4128,67 unequal: No Solution
Exploring Operation: 43+96=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[40, 99], Operations: ['33+3=36', '63+36=99']
Exploring Operation: 40*99=3960, Resulting Numbers: [3960]
3960,67 unequal: No Solution
Exploring Operation: 40+99=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 99-40=59, Resulting Numbers: [59]
59,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[40, 99], Operations: ['63+3=66', '33+66=99']
Exploring Operation: 40+99=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 99-40=59, Resulting Numbers: [59]
59,67 unequal: No Solution
Exploring Operation: 40*99=3960, Resulting Numbers: [3960]
3960,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[66, 7], Operations: ['63+3=66', '40-33=7']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,67 unequal: No Solution
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,67 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[63, 10], Operations: ['40+3=43', '43-33=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[43, 30], Operations: ['40+3=43', '63-33=30']
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,67 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[40, 33], Operations: ['63+3=66', '66-33=33']
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,67 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[36, 103], Operations: ['33+3=36', '40+63=103']
Exploring Operation: 103-36=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[40, 33, 63, 3], Operations: []
Exploring Operation: 33+3=36, Resulting Numbers: [40, 63, 36]
Generated Node #0,3: 67:[40, 63, 36] Operation: 33+3=36
Moving to Node #0,3
Current State: 67:[40, 63, 36], Operations: ['33+3=36']
Exploring Operation: 40+63=103, Resulting Numbers: [36, 103]
Generated Node #0,3,3: 67:[36, 103] Operation: 40+63=103
Moving to Node #0,3,3
Current State: 67:[36, 103], Operations: ['33+3=36', '40+63=103']
Exploring Operation: 103-36=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.94184 | hs_4 | sum_heuristic |
[
60,
26,
44,
73
] | 88 | [
"73-60=13",
"26*44=1144",
"1144/13=88"
] | Current State: 88:[60, 26, 44, 73], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [26, 44, 13]
Generated Node #2: [26, 44, 13] from Operation: 73-60=13
Current State: 88:[26, 44, 13], Operations: ['73-60=13']
Exploring Operation: 26*44=1144, Resulting Numbers: [13, 1144]
Generated Node #3: [13, 1144] from Operation: 26*44=1144
Current State: 88:[13, 1144], Operations: ['73-60=13', '26*44=1144']
Exploring Operation: 1144/13=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[60, 26, 44, 73], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [26, 44, 13]
Generated Node #0,0: 88:[26, 44, 13] Operation: 73-60=13
Exploring Operation: 60+26=86, Resulting Numbers: [44, 73, 86]
Generated Node #0,1: 88:[44, 73, 86] Operation: 60+26=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[26, 44, 13], Operations: ['73-60=13']
Exploring Operation: 26/13=2, Resulting Numbers: [44, 2]
Generated Node #0,0,0: 88:[44, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [44, 13]
Generated Node #0,0,1: 88:[44, 13] Operation: 26-13=13
Moving to Node #0,0,0
Current State: 88:[44, 2], Operations: ['73-60=13', '26/13=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[60, 26, 44, 73], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [26, 44, 13]
Generated Node #0,0: 88:[26, 44, 13] Operation: 73-60=13
Moving to Node #0,0
Current State: 88:[26, 44, 13], Operations: ['73-60=13']
Exploring Operation: 26/13=2, Resulting Numbers: [44, 2]
Generated Node #0,0,0: 88:[44, 2] Operation: 26/13=2
Moving to Node #0,0,0
Current State: 88:[44, 2], Operations: ['73-60=13', '26/13=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
43,
33,
9,
7
] | 78 | [
"43+33=76",
"9-7=2",
"76+2=78"
] | Current State: 78:[43, 33, 9, 7], Operations: []
Exploring Operation: 43+33=76, Resulting Numbers: [9, 7, 76]
Generated Node #2: [9, 7, 76] from Operation: 43+33=76
Current State: 78:[9, 7, 76], Operations: ['43+33=76']
Exploring Operation: 9-7=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 9-7=2
Current State: 78:[76, 2], Operations: ['43+33=76', '9-7=2']
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[43, 33, 9, 7], Operations: []
Exploring Operation: 43+33=76, Resulting Numbers: [9, 7, 76]
Generated Node #0,0: 78:[9, 7, 76] Operation: 43+33=76
Exploring Operation: 33-7=26, Resulting Numbers: [43, 9, 26]
Generated Node #0,1: 78:[43, 9, 26] Operation: 33-7=26
Exploring Operation: 43-33=10, Resulting Numbers: [9, 7, 10]
Generated Node #0,2: 78:[9, 7, 10] Operation: 43-33=10
Exploring Operation: 33-9=24, Resulting Numbers: [43, 7, 24]
Generated Node #0,3: 78:[43, 7, 24] Operation: 33-9=24
Moving to Node #0,0
Current State: 78:[9, 7, 76], Operations: ['43+33=76']
Exploring Operation: 7+76=83, Resulting Numbers: [9, 83]
Generated Node #0,0,0: 78:[9, 83] Operation: 7+76=83
Exploring Operation: 9-7=2, Resulting Numbers: [76, 2]
Generated Node #0,0,1: 78:[76, 2] Operation: 9-7=2
Exploring Operation: 9+76=85, Resulting Numbers: [7, 85]
Generated Node #0,0,2: 78:[7, 85] Operation: 9+76=85
Exploring Operation: 9+7=16, Resulting Numbers: [76, 16]
Generated Node #0,0,3: 78:[76, 16] Operation: 9+7=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[76, 2], Operations: ['43+33=76', '9-7=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,78 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,78 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[43, 33, 9, 7], Operations: []
Exploring Operation: 43+33=76, Resulting Numbers: [9, 7, 76]
Generated Node #0,0: 78:[9, 7, 76] Operation: 43+33=76
Moving to Node #0,0
Current State: 78:[9, 7, 76], Operations: ['43+33=76']
Exploring Operation: 9-7=2, Resulting Numbers: [76, 2]
Generated Node #0,0,1: 78:[76, 2] Operation: 9-7=2
Moving to Node #0,0,1
Current State: 78:[76, 2], Operations: ['43+33=76', '9-7=2']
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
7,
32,
40,
4
] | 46 | [
"7*32=224",
"224-40=184",
"184/4=46"
] | Current State: 46:[7, 32, 40, 4], Operations: []
Exploring Operation: 7*32=224, Resulting Numbers: [40, 4, 224]
Generated Node #2: [40, 4, 224] from Operation: 7*32=224
Current State: 46:[40, 4, 224], Operations: ['7*32=224']
Exploring Operation: 224-40=184, Resulting Numbers: [4, 184]
Generated Node #3: [4, 184] from Operation: 224-40=184
Current State: 46:[4, 184], Operations: ['7*32=224', '224-40=184']
Exploring Operation: 184/4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[7, 32, 40, 4], Operations: []
Exploring Operation: 32-7=25, Resulting Numbers: [40, 4, 25]
Generated Node #0,0: 46:[40, 4, 25] Operation: 32-7=25
Moving to Node #0,0
Current State: 46:[40, 4, 25], Operations: ['32-7=25']
Exploring Operation: 40+4=44, Resulting Numbers: [25, 44]
Generated Node #0,0,0: 46:[25, 44] Operation: 40+4=44
Moving to Node #0,0,0
Current State: 46:[25, 44], Operations: ['32-7=25', '40+4=44']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,46 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
18,
18,
27,
47
] | 49 | [
"27-18=9",
"18/9=2",
"47+2=49"
] | Current State: 49:[18, 18, 27, 47], Operations: []
Exploring Operation: 27-18=9, Resulting Numbers: [47, 9]
Generated Node #2: [47, 9] from Operation: 27-18=9
Current State: 49:[47, 9], Operations: ['27-18=9']
Exploring Operation: 18/9=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 18/9=2
Current State: 49:[47, 2], Operations: ['27-18=9', '18/9=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[18, 18, 27, 47], Operations: []
Exploring Operation: 27-18=9, Resulting Numbers: [18, 47, 9]
Generated Node #0,0: 49:[18, 47, 9] Operation: 27-18=9
Exploring Operation: 27-18=9, Resulting Numbers: [18, 47, 9]
Generated Node #0,1: 49:[18, 47, 9] Operation: 27-18=9
Moving to Node #0,0
Current State: 49:[18, 47, 9], Operations: ['27-18=9']
Exploring Operation: 18/9=2, Resulting Numbers: [47, 2]
Generated Node #0,0,0: 49:[47, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [47, 9]
Generated Node #0,0,1: 49:[47, 9] Operation: 18-9=9
Moving to Node #0,1
Current State: 49:[18, 47, 9], Operations: ['27-18=9']
Exploring Operation: 18-9=9, Resulting Numbers: [47, 9]
Generated Node #0,1,0: 49:[47, 9] Operation: 18-9=9
Exploring Operation: 18/9=2, Resulting Numbers: [47, 2]
Generated Node #0,1,1: 49:[47, 2] Operation: 18/9=2
Moving to Node #0,0,1
Current State: 49:[47, 9], Operations: ['27-18=9', '18-9=9']
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[47, 9], Operations: ['27-18=9', '18-9=9']
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[47, 2], Operations: ['27-18=9', '18/9=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[18, 18, 27, 47], Operations: []
Exploring Operation: 27-18=9, Resulting Numbers: [18, 47, 9]
Generated Node #0,0: 49:[18, 47, 9] Operation: 27-18=9
Moving to Node #0,0
Current State: 49:[18, 47, 9], Operations: ['27-18=9']
Exploring Operation: 18/9=2, Resulting Numbers: [47, 2]
Generated Node #0,0,0: 49:[47, 2] Operation: 18/9=2
Moving to Node #0,0,0
Current State: 49:[47, 2], Operations: ['27-18=9', '18/9=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
76,
21,
9,
44
] | 62 | [
"76+21=97",
"44-9=35",
"97-35=62"
] | Current State: 62:[76, 21, 9, 44], Operations: []
Exploring Operation: 76+21=97, Resulting Numbers: [9, 44, 97]
Generated Node #2: [9, 44, 97] from Operation: 76+21=97
Current State: 62:[9, 44, 97], Operations: ['76+21=97']
Exploring Operation: 44-9=35, Resulting Numbers: [97, 35]
Generated Node #3: [97, 35] from Operation: 44-9=35
Current State: 62:[97, 35], Operations: ['76+21=97', '44-9=35']
Exploring Operation: 97-35=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[76, 21, 9, 44], Operations: []
Exploring Operation: 76-21=55, Resulting Numbers: [9, 44, 55]
Generated Node #0,0: 62:[9, 44, 55] Operation: 76-21=55
Exploring Operation: 76-44=32, Resulting Numbers: [21, 9, 32]
Generated Node #0,1: 62:[21, 9, 32] Operation: 76-44=32
Exploring Operation: 21+44=65, Resulting Numbers: [76, 9, 65]
Generated Node #0,2: 62:[76, 9, 65] Operation: 21+44=65
Moving to Node #0,1
Current State: 62:[21, 9, 32], Operations: ['76-44=32']
Exploring Operation: 21-9=12, Resulting Numbers: [32, 12]
Generated Node #0,1,0: 62:[32, 12] Operation: 21-9=12
Exploring Operation: 21+32=53, Resulting Numbers: [9, 53]
Generated Node #0,1,1: 62:[9, 53] Operation: 21+32=53
Exploring Operation: 21+9=30, Resulting Numbers: [32, 30]
Generated Node #0,1,2: 62:[32, 30] Operation: 21+9=30
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 62:[32, 30], Operations: ['76-44=32', '21+9=30']
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,62 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[76, 21, 9, 44], Operations: []
Exploring Operation: 76-44=32, Resulting Numbers: [21, 9, 32]
Generated Node #0,1: 62:[21, 9, 32] Operation: 76-44=32
Moving to Node #0,1
Current State: 62:[21, 9, 32], Operations: ['76-44=32']
Exploring Operation: 21+9=30, Resulting Numbers: [32, 30]
Generated Node #0,1,2: 62:[32, 30] Operation: 21+9=30
Moving to Node #0,1,2
Current State: 62:[32, 30], Operations: ['76-44=32', '21+9=30']
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
50,
95,
68,
2
] | 72 | [
"50+68=118",
"95*2=190",
"190-118=72"
] | Current State: 72:[50, 95, 68, 2], Operations: []
Exploring Operation: 50+68=118, Resulting Numbers: [95, 2, 118]
Generated Node #2: [95, 2, 118] from Operation: 50+68=118
Current State: 72:[95, 2, 118], Operations: ['50+68=118']
Exploring Operation: 95*2=190, Resulting Numbers: [118, 190]
Generated Node #3: [118, 190] from Operation: 95*2=190
Current State: 72:[118, 190], Operations: ['50+68=118', '95*2=190']
Exploring Operation: 190-118=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[50, 95, 68, 2], Operations: []
Exploring Operation: 95-68=27, Resulting Numbers: [50, 2, 27]
Generated Node #0,0: 72:[50, 2, 27] Operation: 95-68=27
Exploring Operation: 95-50=45, Resulting Numbers: [68, 2, 45]
Generated Node #0,1: 72:[68, 2, 45] Operation: 95-50=45
Moving to Node #0,1
Current State: 72:[68, 2, 45], Operations: ['95-50=45']
Exploring Operation: 68-45=23, Resulting Numbers: [2, 23]
Generated Node #0,1,0: 72:[2, 23] Operation: 68-45=23
Exploring Operation: 68+2=70, Resulting Numbers: [45, 70]
Generated Node #0,1,1: 72:[45, 70] Operation: 68+2=70
Moving to Node #0,0
Current State: 72:[50, 2, 27], Operations: ['95-68=27']
Exploring Operation: 50/2=25, Resulting Numbers: [27, 25]
Generated Node #0,0,0: 72:[27, 25] Operation: 50/2=25
Exploring Operation: 50-27=23, Resulting Numbers: [2, 23]
Generated Node #0,0,1: 72:[2, 23] Operation: 50-27=23
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[2, 23], Operations: ['95-68=27', '50-27=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[27, 25], Operations: ['95-68=27', '50/2=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 72:[2, 23], Operations: ['95-50=45', '68-45=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[45, 70], Operations: ['95-50=45', '68+2=70']
Exploring Operation: 45+70=115, Resulting Numbers: [115]
115,72 unequal: No Solution
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,72 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
75,
81,
79,
77
] | 77 | [
"77-75=2",
"79*2=158",
"158-81=77"
] | Current State: 77:[75, 81, 79, 77], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [81, 79, 2]
Generated Node #2: [81, 79, 2] from Operation: 77-75=2
Current State: 77:[81, 79, 2], Operations: ['77-75=2']
Exploring Operation: 79*2=158, Resulting Numbers: [81, 158]
Generated Node #3: [81, 158] from Operation: 79*2=158
Current State: 77:[81, 158], Operations: ['77-75=2', '79*2=158']
Exploring Operation: 158-81=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[75, 81, 79, 77], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [79, 77, 6]
Generated Node #0,0: 77:[79, 77, 6] Operation: 81-75=6
Exploring Operation: 79-75=4, Resulting Numbers: [81, 77, 4]
Generated Node #0,1: 77:[81, 77, 4] Operation: 79-75=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[79, 77, 6], Operations: ['81-75=6']
Exploring Operation: 79-77=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 77:[6, 2] Operation: 79-77=2
Exploring Operation: 79-6=73, Resulting Numbers: [77, 73]
Generated Node #0,0,1: 77:[77, 73] Operation: 79-6=73
Moving to Node #0,0,1
Current State: 77:[77, 73], Operations: ['81-75=6', '79-6=73']
Exploring Operation: 77-73=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 77+73=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[6, 2], Operations: ['81-75=6', '79-77=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No 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: 77:[81, 77, 4], Operations: ['79-75=4']
Exploring Operation: 81-4=77, Resulting Numbers: [77, 77]
Generated Node #0,1,0: 77:[77, 77] Operation: 81-4=77
Exploring Operation: 81-77=4, Resulting Numbers: [4, 4]
Generated Node #0,1,1: 77:[4, 4] Operation: 81-77=4
Moving to Node #0,1,0
Current State: 77:[77, 77], Operations: ['79-75=4', '81-4=77']
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[4, 4], Operations: ['79-75=4', '81-77=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,77 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 |
[
4,
32,
43,
15
] | 50 | [
"32/4=8",
"43+15=58",
"58-8=50"
] | Current State: 50:[4, 32, 43, 15], Operations: []
Exploring Operation: 32/4=8, Resulting Numbers: [43, 15, 8]
Generated Node #2: [43, 15, 8] from Operation: 32/4=8
Current State: 50:[43, 15, 8], Operations: ['32/4=8']
Exploring Operation: 43+15=58, Resulting Numbers: [8, 58]
Generated Node #3: [8, 58] from Operation: 43+15=58
Current State: 50:[8, 58], Operations: ['32/4=8', '43+15=58']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[4, 32, 43, 15], Operations: []
Exploring Operation: 43-32=11, Resulting Numbers: [4, 15, 11]
Generated Node #0,0: 50:[4, 15, 11] Operation: 43-32=11
Exploring Operation: 32+15=47, Resulting Numbers: [4, 43, 47]
Generated Node #0,1: 50:[4, 43, 47] Operation: 32+15=47
Exploring Operation: 43-15=28, Resulting Numbers: [4, 32, 28]
Generated Node #0,2: 50:[4, 32, 28] Operation: 43-15=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[4, 15, 11], Operations: ['43-32=11']
Exploring Operation: 15-11=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 50:[4, 4] Operation: 15-11=4
Exploring Operation: 15+11=26, Resulting Numbers: [4, 26]
Generated Node #0,0,1: 50:[4, 26] Operation: 15+11=26
Exploring Operation: 15-4=11, Resulting Numbers: [11, 11]
Generated Node #0,0,2: 50:[11, 11] Operation: 15-4=11
Moving to Node #0,0,0
Current State: 50:[4, 4], Operations: ['43-32=11', '15-11=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[4, 26], Operations: ['43-32=11', '15+11=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[11, 11], Operations: ['43-32=11', '15-4=11']
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Exploring Operation: 11-11=0, Resulting Numbers: [0]
0,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[4, 43, 47], Operations: ['32+15=47']
Exploring Operation: 4+47=51, Resulting Numbers: [43, 51]
Generated Node #0,1,0: 50:[43, 51] Operation: 4+47=51
Exploring Operation: 4+43=47, Resulting Numbers: [47, 47]
Generated Node #0,1,1: 50:[47, 47] Operation: 4+43=47
Exploring Operation: 47-43=4, Resulting Numbers: [4, 4]
Generated Node #0,1,2: 50:[4, 4] Operation: 47-43=4
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[4, 4], Operations: ['32+15=47', '47-43=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,50 unequal: No Solution
No 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: 50:[47, 47], Operations: ['32+15=47', '4+43=47']
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,50 unequal: No Solution
Exploring Operation: 47-47=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 47/47=1, Resulting Numbers: [1]
1,50 unequal: No Solution
No 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: 50:[43, 51], Operations: ['32+15=47', '4+47=51']
Exploring Operation: 43*51=2193, Resulting Numbers: [2193]
2193,50 unequal: No Solution
Exploring Operation: 43+51=94, Resulting Numbers: [94]
94,50 unequal: No Solution
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,50 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: 50:[4, 32, 28], Operations: ['43-15=28']
Exploring Operation: 32-28=4, Resulting Numbers: [4, 4]
Generated Node #0,2,0: 50:[4, 4] Operation: 32-28=4
Exploring Operation: 32/4=8, Resulting Numbers: [28, 8]
Generated Node #0,2,1: 50:[28, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [28, 28]
Generated Node #0,2,2: 50:[28, 28] Operation: 32-4=28
Moving to Node #0,2,0
Current State: 50:[4, 4], Operations: ['43-15=28', '32-28=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[28, 8], Operations: ['43-15=28', '32/4=8']
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,50 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[28, 28], Operations: ['43-15=28', '32-4=28']
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,50 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 |
[
81,
49,
27,
35
] | 24 | [
"81-49=32",
"35-27=8",
"32-8=24"
] | Current State: 24:[81, 49, 27, 35], Operations: []
Exploring Operation: 81-49=32, Resulting Numbers: [27, 35, 32]
Generated Node #2: [27, 35, 32] from Operation: 81-49=32
Current State: 24:[27, 35, 32], Operations: ['81-49=32']
Exploring Operation: 35-27=8, Resulting Numbers: [32, 8]
Generated Node #3: [32, 8] from Operation: 35-27=8
Current State: 24:[32, 8], Operations: ['81-49=32', '35-27=8']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[81, 49, 27, 35], Operations: []
Exploring Operation: 81-49=32, Resulting Numbers: [27, 35, 32]
Generated Node #0,0: 24:[27, 35, 32] Operation: 81-49=32
Exploring Operation: 81/27=3, Resulting Numbers: [49, 35, 3]
Generated Node #0,1: 24:[49, 35, 3] Operation: 81/27=3
Exploring Operation: 81-35=46, Resulting Numbers: [49, 27, 46]
Generated Node #0,2: 24:[49, 27, 46] Operation: 81-35=46
Moving to Node #0,0
Current State: 24:[27, 35, 32], Operations: ['81-49=32']
Exploring Operation: 32-27=5, Resulting Numbers: [35, 5]
Generated Node #0,0,0: 24:[35, 5] Operation: 32-27=5
Exploring Operation: 35-32=3, Resulting Numbers: [27, 3]
Generated Node #0,0,1: 24:[27, 3] Operation: 35-32=3
Exploring Operation: 35-27=8, Resulting Numbers: [32, 8]
Generated Node #0,0,2: 24:[32, 8] Operation: 35-27=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[27, 3], Operations: ['81-49=32', '35-32=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[81, 49, 27, 35], Operations: []
Exploring Operation: 81-49=32, Resulting Numbers: [27, 35, 32]
Generated Node #0,0: 24:[27, 35, 32] Operation: 81-49=32
Moving to Node #0,0
Current State: 24:[27, 35, 32], Operations: ['81-49=32']
Exploring Operation: 35-32=3, Resulting Numbers: [27, 3]
Generated Node #0,0,1: 24:[27, 3] Operation: 35-32=3
Moving to Node #0,0,1
Current State: 24:[27, 3], Operations: ['81-49=32', '35-32=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
20,
75,
26,
15
] | 15 | [
"26-20=6",
"75+15=90",
"90/6=15"
] | Current State: 15:[20, 75, 26, 15], Operations: []
Exploring Operation: 26-20=6, Resulting Numbers: [75, 15, 6]
Generated Node #2: [75, 15, 6] from Operation: 26-20=6
Current State: 15:[75, 15, 6], Operations: ['26-20=6']
Exploring Operation: 75+15=90, Resulting Numbers: [6, 90]
Generated Node #3: [6, 90] from Operation: 75+15=90
Current State: 15:[6, 90], Operations: ['26-20=6', '75+15=90']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[20, 75, 26, 15], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [20, 26, 5]
Generated Node #0,0: 15:[20, 26, 5] Operation: 75/15=5
Exploring Operation: 75-26=49, Resulting Numbers: [20, 15, 49]
Generated Node #0,1: 15:[20, 15, 49] Operation: 75-26=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[20, 26, 5], Operations: ['75/15=5']
Exploring Operation: 26-20=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 15:[5, 6] Operation: 26-20=6
Exploring Operation: 20-5=15, Resulting Numbers: [26, 15]
Generated Node #0,0,1: 15:[26, 15] Operation: 20-5=15
Moving to Node #0,0,0
Current State: 15:[5, 6], Operations: ['75/15=5', '26-20=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[26, 15], Operations: ['75/15=5', '20-5=15']
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,15 unequal: No Solution
No 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: 15:[20, 15, 49], Operations: ['75-26=49']
Exploring Operation: 49-15=34, Resulting Numbers: [20, 34]
Generated Node #0,1,0: 15:[20, 34] Operation: 49-15=34
Exploring Operation: 49-20=29, Resulting Numbers: [15, 29]
Generated Node #0,1,1: 15:[15, 29] Operation: 49-20=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[15, 29], Operations: ['75-26=49', '49-20=29']
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,15 unequal: No Solution
No 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: 15:[20, 34], Operations: ['75-26=49', '49-15=34']
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,15 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,15 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 |
[
25,
61,
69,
14
] | 23 | [
"25*69=1725",
"61+14=75",
"1725/75=23"
] | Current State: 23:[25, 61, 69, 14], Operations: []
Exploring Operation: 25*69=1725, Resulting Numbers: [61, 14, 1725]
Generated Node #2: [61, 14, 1725] from Operation: 25*69=1725
Current State: 23:[61, 14, 1725], Operations: ['25*69=1725']
Exploring Operation: 61+14=75, Resulting Numbers: [1725, 75]
Generated Node #3: [1725, 75] from Operation: 61+14=75
Current State: 23:[1725, 75], Operations: ['25*69=1725', '61+14=75']
Exploring Operation: 1725/75=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[25, 61, 69, 14], Operations: []
Exploring Operation: 69-61=8, Resulting Numbers: [25, 14, 8]
Generated Node #0,0: 23:[25, 14, 8] Operation: 69-61=8
Moving to Node #0,0
Current State: 23:[25, 14, 8], Operations: ['69-61=8']
Exploring Operation: 14+8=22, Resulting Numbers: [25, 22]
Generated Node #0,0,0: 23:[25, 22] Operation: 14+8=22
Moving to Node #0,0,0
Current State: 23:[25, 22], Operations: ['69-61=8', '14+8=22']
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,23 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
1,
86,
33,
88
] | 68 | [
"1+33=34",
"88-86=2",
"34*2=68"
] | Current State: 68:[1, 86, 33, 88], Operations: []
Exploring Operation: 1+33=34, Resulting Numbers: [86, 88, 34]
Generated Node #2: [86, 88, 34] from Operation: 1+33=34
Current State: 68:[86, 88, 34], Operations: ['1+33=34']
Exploring Operation: 88-86=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 88-86=2
Current State: 68:[34, 2], Operations: ['1+33=34', '88-86=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[1, 86, 33, 88], Operations: []
Exploring Operation: 86-33=53, Resulting Numbers: [1, 88, 53]
Generated Node #0,0: 68:[1, 88, 53] Operation: 86-33=53
Exploring Operation: 86-1=85, Resulting Numbers: [33, 88, 85]
Generated Node #0,1: 68:[33, 88, 85] Operation: 86-1=85
Exploring Operation: 88-86=2, Resulting Numbers: [1, 33, 2]
Generated Node #0,2: 68:[1, 33, 2] Operation: 88-86=2
Exploring Operation: 1+33=34, Resulting Numbers: [86, 88, 34]
Generated Node #0,3: 68:[86, 88, 34] Operation: 1+33=34
Exploring Operation: 88-33=55, Resulting Numbers: [1, 86, 55]
Generated Node #0,4: 68:[1, 86, 55] Operation: 88-33=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[1, 33, 2], Operations: ['88-86=2']
Exploring Operation: 1*2=2, Resulting Numbers: [33, 2]
Generated Node #0,2,0: 68:[33, 2] Operation: 1*2=2
Exploring Operation: 1+33=34, Resulting Numbers: [2, 34]
Generated Node #0,2,1: 68:[2, 34] Operation: 1+33=34
Exploring Operation: 1*33=33, Resulting Numbers: [2, 33]
Generated Node #0,2,2: 68:[2, 33] Operation: 1*33=33
Exploring Operation: 2/1=2, Resulting Numbers: [33, 2]
Generated Node #0,2,3: 68:[33, 2] Operation: 2/1=2
Exploring Operation: 33/1=33, Resulting Numbers: [2, 33]
Generated Node #0,2,4: 68:[2, 33] Operation: 33/1=33
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[2, 34], Operations: ['88-86=2', '1+33=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[1, 86, 33, 88], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [1, 33, 2]
Generated Node #0,2: 68:[1, 33, 2] Operation: 88-86=2
Moving to Node #0,2
Current State: 68:[1, 33, 2], Operations: ['88-86=2']
Exploring Operation: 1+33=34, Resulting Numbers: [2, 34]
Generated Node #0,2,1: 68:[2, 34] Operation: 1+33=34
Moving to Node #0,2,1
Current State: 68:[2, 34], Operations: ['88-86=2', '1+33=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
7,
86,
22,
23
] | 31 | [
"86-23=63",
"63/7=9",
"22+9=31"
] | Current State: 31:[7, 86, 22, 23], Operations: []
Exploring Operation: 86-23=63, Resulting Numbers: [7, 22, 63]
Generated Node #2: [7, 22, 63] from Operation: 86-23=63
Current State: 31:[7, 22, 63], Operations: ['86-23=63']
Exploring Operation: 63/7=9, Resulting Numbers: [22, 9]
Generated Node #3: [22, 9] from Operation: 63/7=9
Current State: 31:[22, 9], Operations: ['86-23=63', '63/7=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[7, 86, 22, 23], Operations: []
Exploring Operation: 7+22=29, Resulting Numbers: [86, 23, 29]
Generated Node #0,0: 31:[86, 23, 29] Operation: 7+22=29
Exploring Operation: 86-7=79, Resulting Numbers: [22, 23, 79]
Generated Node #0,1: 31:[22, 23, 79] Operation: 86-7=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[86, 23, 29], Operations: ['7+22=29']
Exploring Operation: 86-23=63, Resulting Numbers: [29, 63]
Generated Node #0,0,0: 31:[29, 63] Operation: 86-23=63
Exploring Operation: 86-29=57, Resulting Numbers: [23, 57]
Generated Node #0,0,1: 31:[23, 57] Operation: 86-29=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[29, 63], Operations: ['7+22=29', '86-23=63']
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,31 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,31 unequal: No Solution
No 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: 31:[23, 57], Operations: ['7+22=29', '86-29=57']
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,31 unequal: No Solution
Exploring Operation: 23+57=80, Resulting Numbers: [80]
80,31 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: 31:[22, 23, 79], Operations: ['86-7=79']
Exploring Operation: 79-22=57, Resulting Numbers: [23, 57]
Generated Node #0,1,0: 31:[23, 57] Operation: 79-22=57
Exploring Operation: 79-23=56, Resulting Numbers: [22, 56]
Generated Node #0,1,1: 31:[22, 56] Operation: 79-23=56
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[23, 57], Operations: ['86-7=79', '79-22=57']
Exploring Operation: 23+57=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,31 unequal: No Solution
No 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: 31:[22, 56], Operations: ['86-7=79', '79-23=56']
Exploring Operation: 22+56=78, Resulting Numbers: [78]
78,31 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,31 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 |
[
30,
28,
24,
46
] | 11 | [
"30*28=840",
"840/24=35",
"46-35=11"
] | Current State: 11:[30, 28, 24, 46], Operations: []
Exploring Operation: 30*28=840, Resulting Numbers: [24, 46, 840]
Generated Node #2: [24, 46, 840] from Operation: 30*28=840
Current State: 11:[24, 46, 840], Operations: ['30*28=840']
Exploring Operation: 840/24=35, Resulting Numbers: [46, 35]
Generated Node #3: [46, 35] from Operation: 840/24=35
Current State: 11:[46, 35], Operations: ['30*28=840', '840/24=35']
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[30, 28, 24, 46], Operations: []
Exploring Operation: 46-30=16, Resulting Numbers: [28, 24, 16]
Generated Node #0,0: 11:[28, 24, 16] Operation: 46-30=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[28, 24, 16], Operations: ['46-30=16']
Exploring Operation: 28-24=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 11:[16, 4] Operation: 28-24=4
Moving to Node #0,0,0
Current State: 11:[16, 4], Operations: ['46-30=16', '28-24=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,11 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 |
[
24,
66,
3,
11
] | 93 | [
"66-24=42",
"42-11=31",
"3*31=93"
] | Current State: 93:[24, 66, 3, 11], Operations: []
Exploring Operation: 66-24=42, Resulting Numbers: [3, 11, 42]
Generated Node #2: [3, 11, 42] from Operation: 66-24=42
Current State: 93:[3, 11, 42], Operations: ['66-24=42']
Exploring Operation: 42-11=31, Resulting Numbers: [3, 31]
Generated Node #3: [3, 31] from Operation: 42-11=31
Current State: 93:[3, 31], Operations: ['66-24=42', '42-11=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[24, 66, 3, 11], Operations: []
Exploring Operation: 66-24=42, Resulting Numbers: [3, 11, 42]
Generated Node #0,0: 93:[3, 11, 42] Operation: 66-24=42
Exploring Operation: 66/3=22, Resulting Numbers: [24, 11, 22]
Generated Node #0,1: 93:[24, 11, 22] Operation: 66/3=22
Exploring Operation: 66/11=6, Resulting Numbers: [24, 3, 6]
Generated Node #0,2: 93:[24, 3, 6] Operation: 66/11=6
Exploring Operation: 24+66=90, Resulting Numbers: [3, 11, 90]
Generated Node #0,3: 93:[3, 11, 90] Operation: 24+66=90
Exploring Operation: 66+11=77, Resulting Numbers: [24, 3, 77]
Generated Node #0,4: 93:[24, 3, 77] Operation: 66+11=77
Moving to Node #0,2
Current State: 93:[24, 3, 6], Operations: ['66/11=6']
Exploring Operation: 24/6=4, Resulting Numbers: [3, 4]
Generated Node #0,2,0: 93:[3, 4] Operation: 24/6=4
Exploring Operation: 24/3=8, Resulting Numbers: [6, 8]
Generated Node #0,2,1: 93:[6, 8] Operation: 24/3=8
Exploring Operation: 24+6=30, Resulting Numbers: [3, 30]
Generated Node #0,2,2: 93:[3, 30] Operation: 24+6=30
Exploring Operation: 6-3=3, Resulting Numbers: [24, 3]
Generated Node #0,2,3: 93:[24, 3] Operation: 6-3=3
Exploring Operation: 24+3=27, Resulting Numbers: [6, 27]
Generated Node #0,2,4: 93:[6, 27] Operation: 24+3=27
Moving to Node #0,3
Current State: 93:[3, 11, 90], Operations: ['24+66=90']
Exploring Operation: 11-3=8, Resulting Numbers: [90, 8]
Generated Node #0,3,0: 93:[90, 8] Operation: 11-3=8
Exploring Operation: 90/3=30, Resulting Numbers: [11, 30]
Generated Node #0,3,1: 93:[11, 30] Operation: 90/3=30
Exploring Operation: 3*11=33, Resulting Numbers: [90, 33]
Generated Node #0,3,2: 93:[90, 33] Operation: 3*11=33
Exploring Operation: 11+90=101, Resulting Numbers: [3, 101]
Generated Node #0,3,3: 93:[3, 101] Operation: 11+90=101
Exploring Operation: 3+90=93, Resulting Numbers: [11, 93]
Generated Node #0,3,4: 93:[11, 93] Operation: 3+90=93
Moving to Node #0,0
Current State: 93:[3, 11, 42], Operations: ['66-24=42']
Exploring Operation: 3*11=33, Resulting Numbers: [42, 33]
Generated Node #0,0,0: 93:[42, 33] Operation: 3*11=33
Exploring Operation: 42/3=14, Resulting Numbers: [11, 14]
Generated Node #0,0,1: 93:[11, 14] Operation: 42/3=14
Exploring Operation: 11-3=8, Resulting Numbers: [42, 8]
Generated Node #0,0,2: 93:[42, 8] Operation: 11-3=8
Exploring Operation: 42-11=31, Resulting Numbers: [3, 31]
Generated Node #0,0,3: 93:[3, 31] Operation: 42-11=31
Exploring Operation: 42-3=39, Resulting Numbers: [11, 39]
Generated Node #0,0,4: 93:[11, 39] Operation: 42-3=39
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[3, 31], Operations: ['66-24=42', '42-11=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[24, 66, 3, 11], Operations: []
Exploring Operation: 66-24=42, Resulting Numbers: [3, 11, 42]
Generated Node #0,0: 93:[3, 11, 42] Operation: 66-24=42
Moving to Node #0,0
Current State: 93:[3, 11, 42], Operations: ['66-24=42']
Exploring Operation: 42-11=31, Resulting Numbers: [3, 31]
Generated Node #0,0,3: 93:[3, 31] Operation: 42-11=31
Moving to Node #0,0,3
Current State: 93:[3, 31], Operations: ['66-24=42', '42-11=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
95,
36,
23,
6
] | 18 | [
"95+36=131",
"131-23=108",
"108/6=18"
] | Current State: 18:[95, 36, 23, 6], Operations: []
Exploring Operation: 95+36=131, Resulting Numbers: [23, 6, 131]
Generated Node #2: [23, 6, 131] from Operation: 95+36=131
Current State: 18:[23, 6, 131], Operations: ['95+36=131']
Exploring Operation: 131-23=108, Resulting Numbers: [6, 108]
Generated Node #3: [6, 108] from Operation: 131-23=108
Current State: 18:[6, 108], Operations: ['95+36=131', '131-23=108']
Exploring Operation: 108/6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[95, 36, 23, 6], Operations: []
Exploring Operation: 95-36=59, Resulting Numbers: [23, 6, 59]
Generated Node #0,0: 18:[23, 6, 59] Operation: 95-36=59
Exploring Operation: 95-6=89, Resulting Numbers: [36, 23, 89]
Generated Node #0,1: 18:[36, 23, 89] Operation: 95-6=89
Exploring Operation: 36/6=6, Resulting Numbers: [95, 23, 6]
Generated Node #0,2: 18:[95, 23, 6] Operation: 36/6=6
Exploring Operation: 95-23=72, Resulting Numbers: [36, 6, 72]
Generated Node #0,3: 18:[36, 6, 72] Operation: 95-23=72
Exploring Operation: 36-23=13, Resulting Numbers: [95, 6, 13]
Generated Node #0,4: 18:[95, 6, 13] Operation: 36-23=13
Moving to Node #0,0
Current State: 18:[23, 6, 59], Operations: ['95-36=59']
Exploring Operation: 23+6=29, Resulting Numbers: [59, 29]
Generated Node #0,0,0: 18:[59, 29] Operation: 23+6=29
Exploring Operation: 59-23=36, Resulting Numbers: [6, 36]
Generated Node #0,0,1: 18:[6, 36] Operation: 59-23=36
Exploring Operation: 59-6=53, Resulting Numbers: [23, 53]
Generated Node #0,0,2: 18:[23, 53] Operation: 59-6=53
Exploring Operation: 23-6=17, Resulting Numbers: [59, 17]
Generated Node #0,0,3: 18:[59, 17] Operation: 23-6=17
Exploring Operation: 6+59=65, Resulting Numbers: [23, 65]
Generated Node #0,0,4: 18:[23, 65] Operation: 6+59=65
Moving to Node #0,3
Current State: 18:[36, 6, 72], Operations: ['95-23=72']
Exploring Operation: 36-6=30, Resulting Numbers: [72, 30]
Generated Node #0,3,0: 18:[72, 30] Operation: 36-6=30
Exploring Operation: 36/6=6, Resulting Numbers: [72, 6]
Generated Node #0,3,1: 18:[72, 6] Operation: 36/6=6
Exploring Operation: 72/6=12, Resulting Numbers: [36, 12]
Generated Node #0,3,2: 18:[36, 12] Operation: 72/6=12
Exploring Operation: 72/36=2, Resulting Numbers: [6, 2]
Generated Node #0,3,3: 18:[6, 2] Operation: 72/36=2
Exploring Operation: 72-36=36, Resulting Numbers: [6, 36]
Generated Node #0,3,4: 18:[6, 36] Operation: 72-36=36
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[6, 2], Operations: ['95-23=72', '72/36=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 6/2=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,3,4
Current State: 18:[6, 36], Operations: ['95-23=72', '72-36=36']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,18 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[36, 12], Operations: ['95-23=72', '72/6=12']
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,18 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[72, 6], Operations: ['95-23=72', '36/6=6']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 72*6=432, Resulting Numbers: [432]
432,18 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[72, 30], Operations: ['95-23=72', '36-6=30']
Exploring Operation: 72*30=2160, Resulting Numbers: [2160]
2160,18 unequal: No Solution
Exploring Operation: 72-30=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 72+30=102, Resulting Numbers: [102]
102,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:[95, 6, 13], Operations: ['36-23=13']
Exploring Operation: 95-13=82, Resulting Numbers: [6, 82]
Generated Node #0,4,0: 18:[6, 82] Operation: 95-13=82
Exploring Operation: 13-6=7, Resulting Numbers: [95, 7]
Generated Node #0,4,1: 18:[95, 7] Operation: 13-6=7
Exploring Operation: 6+13=19, Resulting Numbers: [95, 19]
Generated Node #0,4,2: 18:[95, 19] Operation: 6+13=19
Exploring Operation: 95-6=89, Resulting Numbers: [13, 89]
Generated Node #0,4,3: 18:[13, 89] Operation: 95-6=89
Exploring Operation: 95+6=101, Resulting Numbers: [13, 101]
Generated Node #0,4,4: 18:[13, 101] Operation: 95+6=101
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 18:[6, 82], Operations: ['36-23=13', '95-13=82']
Exploring Operation: 6*82=492, Resulting Numbers: [492]
492,18 unequal: No Solution
Exploring Operation: 6+82=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,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:[13, 89], Operations: ['36-23=13', '95-6=89']
Exploring Operation: 13*89=1157, Resulting Numbers: [1157]
1157,18 unequal: No Solution
Exploring Operation: 13+89=102, Resulting Numbers: [102]
102,18 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,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:[95, 7], Operations: ['36-23=13', '13-6=7']
Exploring Operation: 95+7=102, Resulting Numbers: [102]
102,18 unequal: No Solution
Exploring Operation: 95*7=665, Resulting Numbers: [665]
665,18 unequal: No Solution
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,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:[95, 19], Operations: ['36-23=13', '6+13=19']
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 95+19=114, Resulting Numbers: [114]
114,18 unequal: No Solution
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 95*19=1805, Resulting Numbers: [1805]
1805,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:[13, 101], Operations: ['36-23=13', '95+6=101']
Exploring Operation: 101-13=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Exploring Operation: 13+101=114, Resulting Numbers: [114]
114,18 unequal: No Solution
Exploring Operation: 13*101=1313, Resulting Numbers: [1313]
1313,18 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: 18:[95, 23, 6], Operations: ['36/6=6']
Exploring Operation: 23-6=17, Resulting Numbers: [95, 17]
Generated Node #0,2,0: 18:[95, 17] Operation: 23-6=17
Exploring Operation: 95+6=101, Resulting Numbers: [23, 101]
Generated Node #0,2,1: 18:[23, 101] Operation: 95+6=101
Exploring Operation: 95-23=72, Resulting Numbers: [6, 72]
Generated Node #0,2,2: 18:[6, 72] Operation: 95-23=72
Exploring Operation: 95-6=89, Resulting Numbers: [23, 89]
Generated Node #0,2,3: 18:[23, 89] Operation: 95-6=89
Exploring Operation: 23+6=29, Resulting Numbers: [95, 29]
Generated Node #0,2,4: 18:[95, 29] Operation: 23+6=29
Moving to Node #0,1
Current State: 18:[36, 23, 89], Operations: ['95-6=89']
Exploring Operation: 36+89=125, Resulting Numbers: [23, 125]
Generated Node #0,1,0: 18:[23, 125] Operation: 36+89=125
Exploring Operation: 89-23=66, Resulting Numbers: [36, 66]
Generated Node #0,1,1: 18:[36, 66] Operation: 89-23=66
Exploring Operation: 36+23=59, Resulting Numbers: [89, 59]
Generated Node #0,1,2: 18:[89, 59] Operation: 36+23=59
Exploring Operation: 36-23=13, Resulting Numbers: [89, 13]
Generated Node #0,1,3: 18:[89, 13] Operation: 36-23=13
Exploring Operation: 89-36=53, Resulting Numbers: [23, 53]
Generated Node #0,1,4: 18:[23, 53] Operation: 89-36=53
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 18:[23, 53], Operations: ['95-6=89', '89-36=53']
Exploring Operation: 23*53=1219, Resulting Numbers: [1219]
1219,18 unequal: No Solution
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 23+53=76, Resulting Numbers: [76]
76,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:[36, 66], Operations: ['95-6=89', '89-23=66']
Exploring Operation: 36*66=2376, Resulting Numbers: [2376]
2376,18 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 36+66=102, Resulting Numbers: [102]
102,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:[89, 13], Operations: ['95-6=89', '36-23=13']
Exploring Operation: 89*13=1157, Resulting Numbers: [1157]
1157,18 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 89+13=102, Resulting Numbers: [102]
102,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:[23, 125], Operations: ['95-6=89', '36+89=125']
Exploring Operation: 125-23=102, Resulting Numbers: [102]
102,18 unequal: No Solution
Exploring Operation: 23+125=148, Resulting Numbers: [148]
148,18 unequal: No Solution
Exploring Operation: 23*125=2875, Resulting Numbers: [2875]
2875,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[89, 59], Operations: ['95-6=89', '36+23=59']
Exploring Operation: 89+59=148, Resulting Numbers: [148]
148,18 unequal: No Solution
Exploring Operation: 89*59=5251, Resulting Numbers: [5251]
5251,18 unequal: No Solution
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 18:[6, 36], Operations: ['95-36=59', '59-23=36']
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,18 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[23, 53], Operations: ['95-36=59', '59-6=53']
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 23+53=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 23*53=1219, Resulting Numbers: [1219]
1219,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[59, 17], Operations: ['95-36=59', '23-6=17']
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,18 unequal: No Solution
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Moving to Node #0,0,4
Current State: 18:[23, 65], Operations: ['95-36=59', '6+59=65']
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 23*65=1495, Resulting Numbers: [1495]
1495,18 unequal: No Solution
Exploring Operation: 23+65=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[59, 29], Operations: ['95-36=59', '23+6=29']
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 59*29=1711, Resulting Numbers: [1711]
1711,18 unequal: No Solution
Exploring Operation: 59+29=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[6, 72], Operations: ['36/6=6', '95-23=72']
Exploring Operation: 6*72=432, Resulting Numbers: [432]
432,18 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[23, 89], Operations: ['36/6=6', '95-6=89']
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 23+89=112, Resulting Numbers: [112]
112,18 unequal: No Solution
Exploring Operation: 23*89=2047, Resulting Numbers: [2047]
2047,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[95, 17], Operations: ['36/6=6', '23-6=17']
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 95+17=112, Resulting Numbers: [112]
112,18 unequal: No Solution
Exploring Operation: 95*17=1615, Resulting Numbers: [1615]
1615,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[95, 29], Operations: ['36/6=6', '23+6=29']
Exploring Operation: 95*29=2755, Resulting Numbers: [2755]
2755,18 unequal: No Solution
Exploring Operation: 95+29=124, Resulting Numbers: [124]
124,18 unequal: No Solution
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[23, 101], Operations: ['36/6=6', '95+6=101']
Exploring Operation: 23+101=124, Resulting Numbers: [124]
124,18 unequal: No Solution
Exploring Operation: 23*101=2323, Resulting Numbers: [2323]
2323,18 unequal: No Solution
Exploring Operation: 101-23=78, Resulting Numbers: [78]
78,18 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
56,
37,
20,
61
] | 62 | [
"56-37=19",
"20+61=81",
"81-19=62"
] | Current State: 62:[56, 37, 20, 61], Operations: []
Exploring Operation: 56-37=19, Resulting Numbers: [20, 61, 19]
Generated Node #2: [20, 61, 19] from Operation: 56-37=19
Current State: 62:[20, 61, 19], Operations: ['56-37=19']
Exploring Operation: 20+61=81, Resulting Numbers: [19, 81]
Generated Node #3: [19, 81] from Operation: 20+61=81
Current State: 62:[19, 81], Operations: ['56-37=19', '20+61=81']
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[56, 37, 20, 61], Operations: []
Exploring Operation: 56-20=36, Resulting Numbers: [37, 61, 36]
Generated Node #0,0: 62:[37, 61, 36] Operation: 56-20=36
Exploring Operation: 61-56=5, Resulting Numbers: [37, 20, 5]
Generated Node #0,1: 62:[37, 20, 5] Operation: 61-56=5
Exploring Operation: 37+20=57, Resulting Numbers: [56, 61, 57]
Generated Node #0,2: 62:[56, 61, 57] Operation: 37+20=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[37, 61, 36], Operations: ['56-20=36']
Exploring Operation: 37-36=1, Resulting Numbers: [61, 1]
Generated Node #0,0,0: 62:[61, 1] Operation: 37-36=1
Exploring Operation: 37+36=73, Resulting Numbers: [61, 73]
Generated Node #0,0,1: 62:[61, 73] Operation: 37+36=73
Exploring Operation: 61-37=24, Resulting Numbers: [36, 24]
Generated Node #0,0,2: 62:[36, 24] Operation: 61-37=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[61, 1], Operations: ['56-20=36', '37-36=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[56, 37, 20, 61], Operations: []
Exploring Operation: 56-20=36, Resulting Numbers: [37, 61, 36]
Generated Node #0,0: 62:[37, 61, 36] Operation: 56-20=36
Moving to Node #0,0
Current State: 62:[37, 61, 36], Operations: ['56-20=36']
Exploring Operation: 37-36=1, Resulting Numbers: [61, 1]
Generated Node #0,0,0: 62:[61, 1] Operation: 37-36=1
Moving to Node #0,0,0
Current State: 62:[61, 1], Operations: ['56-20=36', '37-36=1']
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
93,
21,
38,
95
] | 40 | [
"95-93=2",
"38/2=19",
"21+19=40"
] | Current State: 40:[93, 21, 38, 95], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [21, 38, 2]
Generated Node #2: [21, 38, 2] from Operation: 95-93=2
Current State: 40:[21, 38, 2], Operations: ['95-93=2']
Exploring Operation: 38/2=19, Resulting Numbers: [21, 19]
Generated Node #3: [21, 19] from Operation: 38/2=19
Current State: 40:[21, 19], Operations: ['95-93=2', '38/2=19']
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[93, 21, 38, 95], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [21, 38, 2]
Generated Node #0,0: 40:[21, 38, 2] Operation: 95-93=2
Exploring Operation: 95-38=57, Resulting Numbers: [93, 21, 57]
Generated Node #0,1: 40:[93, 21, 57] Operation: 95-38=57
Exploring Operation: 93-38=55, Resulting Numbers: [21, 95, 55]
Generated Node #0,2: 40:[21, 95, 55] Operation: 93-38=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[21, 38, 2], Operations: ['95-93=2']
Exploring Operation: 38-21=17, Resulting Numbers: [2, 17]
Generated Node #0,0,0: 40:[2, 17] Operation: 38-21=17
Exploring Operation: 38+2=40, Resulting Numbers: [21, 40]
Generated Node #0,0,1: 40:[21, 40] Operation: 38+2=40
Exploring Operation: 38/2=19, Resulting Numbers: [21, 19]
Generated Node #0,0,2: 40:[21, 19] Operation: 38/2=19
Moving to Node #0,0,1
Current State: 40:[21, 40], Operations: ['95-93=2', '38+2=40']
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,40 unequal: No Solution
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[21, 19], Operations: ['95-93=2', '38/2=19']
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,40 unequal: No Solution
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[93, 21, 38, 95], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [21, 38, 2]
Generated Node #0,0: 40:[21, 38, 2] Operation: 95-93=2
Moving to Node #0,0
Current State: 40:[21, 38, 2], Operations: ['95-93=2']
Exploring Operation: 38/2=19, Resulting Numbers: [21, 19]
Generated Node #0,0,2: 40:[21, 19] Operation: 38/2=19
Moving to Node #0,0,2
Current State: 40:[21, 19], Operations: ['95-93=2', '38/2=19']
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
6,
74,
54,
1
] | 84 | [
"54/6=9",
"74+1=75",
"9+75=84"
] | Current State: 84:[6, 74, 54, 1], Operations: []
Exploring Operation: 54/6=9, Resulting Numbers: [74, 1, 9]
Generated Node #2: [74, 1, 9] from Operation: 54/6=9
Current State: 84:[74, 1, 9], Operations: ['54/6=9']
Exploring Operation: 74+1=75, Resulting Numbers: [9, 75]
Generated Node #3: [9, 75] from Operation: 74+1=75
Current State: 84:[9, 75], Operations: ['54/6=9', '74+1=75']
Exploring Operation: 9+75=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[6, 74, 54, 1], Operations: []
Exploring Operation: 54-6=48, Resulting Numbers: [74, 1, 48]
Generated Node #0,0: 84:[74, 1, 48] Operation: 54-6=48
Exploring Operation: 74-54=20, Resulting Numbers: [6, 1, 20]
Generated Node #0,1: 84:[6, 1, 20] Operation: 74-54=20
Exploring Operation: 54/6=9, Resulting Numbers: [74, 1, 9]
Generated Node #0,2: 84:[74, 1, 9] Operation: 54/6=9
Exploring Operation: 6+74=80, Resulting Numbers: [54, 1, 80]
Generated Node #0,3: 84:[54, 1, 80] Operation: 6+74=80
Moving to Node #0,1
Current State: 84:[6, 1, 20], Operations: ['74-54=20']
Exploring Operation: 1+20=21, Resulting Numbers: [6, 21]
Generated Node #0,1,0: 84:[6, 21] Operation: 1+20=21
Exploring Operation: 6*1=6, Resulting Numbers: [20, 6]
Generated Node #0,1,1: 84:[20, 6] Operation: 6*1=6
Exploring Operation: 6+1=7, Resulting Numbers: [20, 7]
Generated Node #0,1,2: 84:[20, 7] Operation: 6+1=7
Exploring Operation: 6/1=6, Resulting Numbers: [20, 6]
Generated Node #0,1,3: 84:[20, 6] Operation: 6/1=6
Moving to Node #0,2
Current State: 84:[74, 1, 9], Operations: ['54/6=9']
Exploring Operation: 74+9=83, Resulting Numbers: [1, 83]
Generated Node #0,2,0: 84:[1, 83] Operation: 74+9=83
Exploring Operation: 9-1=8, Resulting Numbers: [74, 8]
Generated Node #0,2,1: 84:[74, 8] Operation: 9-1=8
Exploring Operation: 74+1=75, Resulting Numbers: [9, 75]
Generated Node #0,2,2: 84:[9, 75] Operation: 74+1=75
Exploring Operation: 74*1=74, Resulting Numbers: [9, 74]
Generated Node #0,2,3: 84:[9, 74] Operation: 74*1=74
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[1, 83], Operations: ['54/6=9', '74+9=83']
Exploring Operation: 1*83=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 1+83=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[6, 74, 54, 1], Operations: []
Exploring Operation: 54/6=9, Resulting Numbers: [74, 1, 9]
Generated Node #0,2: 84:[74, 1, 9] Operation: 54/6=9
Moving to Node #0,2
Current State: 84:[74, 1, 9], Operations: ['54/6=9']
Exploring Operation: 74+9=83, Resulting Numbers: [1, 83]
Generated Node #0,2,0: 84:[1, 83] Operation: 74+9=83
Moving to Node #0,2,0
Current State: 84:[1, 83], Operations: ['54/6=9', '74+9=83']
Exploring Operation: 1+83=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
68,
18,
47,
93
] | 54 | [
"68+18=86",
"47+93=140",
"140-86=54"
] | Current State: 54:[68, 18, 47, 93], Operations: []
Exploring Operation: 68+18=86, Resulting Numbers: [47, 93, 86]
Generated Node #2: [47, 93, 86] from Operation: 68+18=86
Current State: 54:[47, 93, 86], Operations: ['68+18=86']
Exploring Operation: 47+93=140, Resulting Numbers: [86, 140]
Generated Node #3: [86, 140] from Operation: 47+93=140
Current State: 54:[86, 140], Operations: ['68+18=86', '47+93=140']
Exploring Operation: 140-86=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[68, 18, 47, 93], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [18, 47, 25]
Generated Node #0,0: 54:[18, 47, 25] Operation: 93-68=25
Exploring Operation: 93-47=46, Resulting Numbers: [68, 18, 46]
Generated Node #0,1: 54:[68, 18, 46] Operation: 93-47=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[18, 47, 25], Operations: ['93-68=25']
Exploring Operation: 47-18=29, Resulting Numbers: [25, 29]
Generated Node #0,0,0: 54:[25, 29] Operation: 47-18=29
Exploring Operation: 47-25=22, Resulting Numbers: [18, 22]
Generated Node #0,0,1: 54:[18, 22] Operation: 47-25=22
Moving to Node #0,0,0
Current State: 54:[25, 29], Operations: ['93-68=25', '47-18=29']
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[68, 18, 47, 93], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [18, 47, 25]
Generated Node #0,0: 54:[18, 47, 25] Operation: 93-68=25
Moving to Node #0,0
Current State: 54:[18, 47, 25], Operations: ['93-68=25']
Exploring Operation: 47-18=29, Resulting Numbers: [25, 29]
Generated Node #0,0,0: 54:[25, 29] Operation: 47-18=29
Moving to Node #0,0,0
Current State: 54:[25, 29], Operations: ['93-68=25', '47-18=29']
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
77,
80,
70,
15
] | 87 | [
"80+70=150",
"150/15=10",
"77+10=87"
] | Current State: 87:[77, 80, 70, 15], Operations: []
Exploring Operation: 80+70=150, Resulting Numbers: [77, 15, 150]
Generated Node #2: [77, 15, 150] from Operation: 80+70=150
Current State: 87:[77, 15, 150], Operations: ['80+70=150']
Exploring Operation: 150/15=10, Resulting Numbers: [77, 10]
Generated Node #3: [77, 10] from Operation: 150/15=10
Current State: 87:[77, 10], Operations: ['80+70=150', '150/15=10']
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[77, 80, 70, 15], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [70, 15, 3]
Generated Node #0,0: 87:[70, 15, 3] Operation: 80-77=3
Exploring Operation: 77-70=7, Resulting Numbers: [80, 15, 7]
Generated Node #0,1: 87:[80, 15, 7] Operation: 77-70=7
Exploring Operation: 77+15=92, Resulting Numbers: [80, 70, 92]
Generated Node #0,2: 87:[80, 70, 92] Operation: 77+15=92
Exploring Operation: 70+15=85, Resulting Numbers: [77, 80, 85]
Generated Node #0,3: 87:[77, 80, 85] Operation: 70+15=85
Moving to Node #0,3
Current State: 87:[77, 80, 85], Operations: ['70+15=85']
Exploring Operation: 77+80=157, Resulting Numbers: [85, 157]
Generated Node #0,3,0: 87:[85, 157] Operation: 77+80=157
Exploring Operation: 85-77=8, Resulting Numbers: [80, 8]
Generated Node #0,3,1: 87:[80, 8] Operation: 85-77=8
Exploring Operation: 80-77=3, Resulting Numbers: [85, 3]
Generated Node #0,3,2: 87:[85, 3] Operation: 80-77=3
Exploring Operation: 85-80=5, Resulting Numbers: [77, 5]
Generated Node #0,3,3: 87:[77, 5] Operation: 85-80=5
Moving to Node #0,1
Current State: 87:[80, 15, 7], Operations: ['77-70=7']
Exploring Operation: 15+7=22, Resulting Numbers: [80, 22]
Generated Node #0,1,0: 87:[80, 22] Operation: 15+7=22
Exploring Operation: 80+15=95, Resulting Numbers: [7, 95]
Generated Node #0,1,1: 87:[7, 95] Operation: 80+15=95
Exploring Operation: 15-7=8, Resulting Numbers: [80, 8]
Generated Node #0,1,2: 87:[80, 8] Operation: 15-7=8
Exploring Operation: 80+7=87, Resulting Numbers: [15, 87]
Generated Node #0,1,3: 87:[15, 87] Operation: 80+7=87
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[7, 95], Operations: ['77-70=7', '80+15=95']
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 7*95=665, Resulting Numbers: [665]
665,87 unequal: No Solution
Exploring Operation: 7+95=102, Resulting Numbers: [102]
102,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,1,2
Current State: 87:[80, 8], Operations: ['77-70=7', '15-7=8']
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 80*8=640, Resulting Numbers: [640]
640,87 unequal: No Solution
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,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,1,3
Current State: 87:[15, 87], Operations: ['77-70=7', '80+7=87']
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 15*87=1305, Resulting Numbers: [1305]
1305,87 unequal: No Solution
Exploring Operation: 15+87=102, Resulting Numbers: [102]
102,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,1,0
Current State: 87:[80, 22], Operations: ['77-70=7', '15+7=22']
Exploring Operation: 80*22=1760, Resulting Numbers: [1760]
1760,87 unequal: No Solution
Exploring Operation: 80+22=102, Resulting Numbers: [102]
102,87 unequal: No Solution
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 87:[80, 70, 92], Operations: ['77+15=92']
Exploring Operation: 80+70=150, Resulting Numbers: [92, 150]
Generated Node #0,2,0: 87:[92, 150] Operation: 80+70=150
Exploring Operation: 80-70=10, Resulting Numbers: [92, 10]
Generated Node #0,2,1: 87:[92, 10] Operation: 80-70=10
Exploring Operation: 92-70=22, Resulting Numbers: [80, 22]
Generated Node #0,2,2: 87:[80, 22] Operation: 92-70=22
Exploring Operation: 92-80=12, Resulting Numbers: [70, 12]
Generated Node #0,2,3: 87:[70, 12] Operation: 92-80=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[92, 10], Operations: ['77+15=92', '80-70=10']
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,87 unequal: No Solution
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,87 unequal: No Solution
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[80, 22], Operations: ['77+15=92', '92-70=22']
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 80*22=1760, Resulting Numbers: [1760]
1760,87 unequal: No Solution
Exploring Operation: 80+22=102, Resulting Numbers: [102]
102,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,3
Current State: 87:[70, 12], Operations: ['77+15=92', '92-80=12']
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,87 unequal: No Solution
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[92, 150], Operations: ['77+15=92', '80+70=150']
Exploring Operation: 150-92=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 92*150=13800, Resulting Numbers: [13800]
13800,87 unequal: No Solution
Exploring Operation: 92+150=242, Resulting Numbers: [242]
242,87 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: 87:[70, 15, 3], Operations: ['80-77=3']
Exploring Operation: 70+15=85, Resulting Numbers: [3, 85]
Generated Node #0,0,0: 87:[3, 85] Operation: 70+15=85
Exploring Operation: 15/3=5, Resulting Numbers: [70, 5]
Generated Node #0,0,1: 87:[70, 5] Operation: 15/3=5
Exploring Operation: 70-15=55, Resulting Numbers: [3, 55]
Generated Node #0,0,2: 87:[3, 55] Operation: 70-15=55
Exploring Operation: 70+3=73, Resulting Numbers: [15, 73]
Generated Node #0,0,3: 87:[15, 73] Operation: 70+3=73
Moving to Node #0,3,2
Current State: 87:[85, 3], Operations: ['70+15=85', '80-77=3']
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,87 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[3, 85], Operations: ['80-77=3', '70+15=85']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,87 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[77, 5], Operations: ['70+15=85', '85-80=5']
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,87 unequal: No Solution
Exploring Operation: 77*5=385, Resulting Numbers: [385]
385,87 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[80, 8], Operations: ['70+15=85', '85-77=8']
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 80*8=640, Resulting Numbers: [640]
640,87 unequal: No Solution
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[70, 5], Operations: ['80-77=3', '15/3=5']
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,87 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[15, 73], Operations: ['80-77=3', '70+3=73']
Exploring Operation: 15*73=1095, Resulting Numbers: [1095]
1095,87 unequal: No Solution
Exploring Operation: 15+73=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 73-15=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[3, 55], Operations: ['80-77=3', '70-15=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[85, 157], Operations: ['70+15=85', '77+80=157']
Exploring Operation: 85*157=13345, Resulting Numbers: [13345]
13345,87 unequal: No Solution
Exploring Operation: 85+157=242, Resulting Numbers: [242]
242,87 unequal: No Solution
Exploring Operation: 157-85=72, Resulting Numbers: [72]
72,87 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
92,
60,
53,
58
] | 79 | [
"92-60=32",
"53+58=111",
"111-32=79"
] | Current State: 79:[92, 60, 53, 58], Operations: []
Exploring Operation: 92-60=32, Resulting Numbers: [53, 58, 32]
Generated Node #2: [53, 58, 32] from Operation: 92-60=32
Current State: 79:[53, 58, 32], Operations: ['92-60=32']
Exploring Operation: 53+58=111, Resulting Numbers: [32, 111]
Generated Node #3: [32, 111] from Operation: 53+58=111
Current State: 79:[32, 111], Operations: ['92-60=32', '53+58=111']
Exploring Operation: 111-32=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[92, 60, 53, 58], Operations: []
Exploring Operation: 53+58=111, Resulting Numbers: [92, 60, 111]
Generated Node #0,0: 79:[92, 60, 111] Operation: 53+58=111
Exploring Operation: 60+53=113, Resulting Numbers: [92, 58, 113]
Generated Node #0,1: 79:[92, 58, 113] Operation: 60+53=113
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[92, 60, 111], Operations: ['53+58=111']
Exploring Operation: 92-60=32, Resulting Numbers: [111, 32]
Generated Node #0,0,0: 79:[111, 32] Operation: 92-60=32
Exploring Operation: 111-60=51, Resulting Numbers: [92, 51]
Generated Node #0,0,1: 79:[92, 51] Operation: 111-60=51
Moving to Node #0,0,1
Current State: 79:[92, 51], Operations: ['53+58=111', '111-60=51']
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,79 unequal: No Solution
Exploring Operation: 92+51=143, Resulting Numbers: [143]
143,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[111, 32], Operations: ['53+58=111', '92-60=32']
Exploring Operation: 111+32=143, Resulting Numbers: [143]
143,79 unequal: No Solution
Exploring Operation: 111-32=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[92, 60, 53, 58], Operations: []
Exploring Operation: 53+58=111, Resulting Numbers: [92, 60, 111]
Generated Node #0,0: 79:[92, 60, 111] Operation: 53+58=111
Moving to Node #0,0
Current State: 79:[92, 60, 111], Operations: ['53+58=111']
Exploring Operation: 92-60=32, Resulting Numbers: [111, 32]
Generated Node #0,0,0: 79:[111, 32] Operation: 92-60=32
Moving to Node #0,0,0
Current State: 79:[111, 32], Operations: ['53+58=111', '92-60=32']
Exploring Operation: 111-32=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
40,
99,
49,
21
] | 46 | [
"99+21=120",
"120/40=3",
"49-3=46"
] | Current State: 46:[40, 99, 49, 21], Operations: []
Exploring Operation: 99+21=120, Resulting Numbers: [40, 49, 120]
Generated Node #2: [40, 49, 120] from Operation: 99+21=120
Current State: 46:[40, 49, 120], Operations: ['99+21=120']
Exploring Operation: 120/40=3, Resulting Numbers: [49, 3]
Generated Node #3: [49, 3] from Operation: 120/40=3
Current State: 46:[49, 3], Operations: ['99+21=120', '120/40=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[40, 99, 49, 21], Operations: []
Exploring Operation: 99-21=78, Resulting Numbers: [40, 49, 78]
Generated Node #0,0: 46:[40, 49, 78] Operation: 99-21=78
Exploring Operation: 99-40=59, Resulting Numbers: [49, 21, 59]
Generated Node #0,1: 46:[49, 21, 59] Operation: 99-40=59
Exploring Operation: 99-49=50, Resulting Numbers: [40, 21, 50]
Generated Node #0,2: 46:[40, 21, 50] Operation: 99-49=50
Exploring Operation: 40-21=19, Resulting Numbers: [99, 49, 19]
Generated Node #0,3: 46:[99, 49, 19] Operation: 40-21=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[40, 21, 50], Operations: ['99-49=50']
Exploring Operation: 50-21=29, Resulting Numbers: [40, 29]
Generated Node #0,2,0: 46:[40, 29] Operation: 50-21=29
Exploring Operation: 50-40=10, Resulting Numbers: [21, 10]
Generated Node #0,2,1: 46:[21, 10] Operation: 50-40=10
Exploring Operation: 40+21=61, Resulting Numbers: [50, 61]
Generated Node #0,2,2: 46:[50, 61] Operation: 40+21=61
Exploring Operation: 40-21=19, Resulting Numbers: [50, 19]
Generated Node #0,2,3: 46:[50, 19] Operation: 40-21=19
Moving to Node #0,2,3
Current State: 46:[50, 19], Operations: ['99-49=50', '40-21=19']
Exploring Operation: 50+19=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Exploring Operation: 50*19=950, Resulting Numbers: [950]
950,46 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[21, 10], Operations: ['99-49=50', '50-40=10']
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,46 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[40, 29], Operations: ['99-49=50', '50-21=29']
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,46 unequal: No Solution
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[50, 61], Operations: ['99-49=50', '40+21=61']
Exploring Operation: 61-50=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 50*61=3050, Resulting Numbers: [3050]
3050,46 unequal: No Solution
Exploring Operation: 50+61=111, Resulting Numbers: [111]
111,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[49, 21, 59], Operations: ['99-40=59']
Exploring Operation: 49-21=28, Resulting Numbers: [59, 28]
Generated Node #0,1,0: 46:[59, 28] Operation: 49-21=28
Exploring Operation: 59-49=10, Resulting Numbers: [21, 10]
Generated Node #0,1,1: 46:[21, 10] Operation: 59-49=10
Exploring Operation: 59-21=38, Resulting Numbers: [49, 38]
Generated Node #0,1,2: 46:[49, 38] Operation: 59-21=38
Exploring Operation: 49+21=70, Resulting Numbers: [59, 70]
Generated Node #0,1,3: 46:[59, 70] Operation: 49+21=70
Moving to Node #0,1,1
Current State: 46:[21, 10], Operations: ['99-40=59', '59-49=10']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[49, 38], Operations: ['99-40=59', '59-21=38']
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,46 unequal: No Solution
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[59, 28], Operations: ['99-40=59', '49-21=28']
Exploring Operation: 59+28=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 59*28=1652, Resulting Numbers: [1652]
1652,46 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[59, 70], Operations: ['99-40=59', '49+21=70']
Exploring Operation: 59*70=4130, Resulting Numbers: [4130]
4130,46 unequal: No Solution
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 59+70=129, Resulting Numbers: [129]
129,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[40, 49, 78], Operations: ['99-21=78']
Exploring Operation: 78-49=29, Resulting Numbers: [40, 29]
Generated Node #0,0,0: 46:[40, 29] Operation: 78-49=29
Exploring Operation: 40+49=89, Resulting Numbers: [78, 89]
Generated Node #0,0,1: 46:[78, 89] Operation: 40+49=89
Exploring Operation: 49-40=9, Resulting Numbers: [78, 9]
Generated Node #0,0,2: 46:[78, 9] Operation: 49-40=9
Exploring Operation: 78-40=38, Resulting Numbers: [49, 38]
Generated Node #0,0,3: 46:[49, 38] Operation: 78-40=38
Moving to Node #0,0,3
Current State: 46:[49, 38], Operations: ['99-21=78', '78-40=38']
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,46 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[40, 29], Operations: ['99-21=78', '78-49=29']
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[78, 9], Operations: ['99-21=78', '49-40=9']
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Exploring Operation: 78*9=702, Resulting Numbers: [702]
702,46 unequal: No Solution
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[78, 89], Operations: ['99-21=78', '40+49=89']
Exploring Operation: 78*89=6942, Resulting Numbers: [6942]
6942,46 unequal: No Solution
Exploring Operation: 78+89=167, Resulting Numbers: [167]
167,46 unequal: No Solution
Exploring Operation: 89-78=11, Resulting Numbers: [11]
11,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[99, 49, 19], Operations: ['40-21=19']
Exploring Operation: 49-19=30, Resulting Numbers: [99, 30]
Generated Node #0,3,0: 46:[99, 30] Operation: 49-19=30
Exploring Operation: 99+19=118, Resulting Numbers: [49, 118]
Generated Node #0,3,1: 46:[49, 118] Operation: 99+19=118
Exploring Operation: 99-49=50, Resulting Numbers: [19, 50]
Generated Node #0,3,2: 46:[19, 50] Operation: 99-49=50
Exploring Operation: 99-19=80, Resulting Numbers: [49, 80]
Generated Node #0,3,3: 46:[49, 80] Operation: 99-19=80
Moving to Node #0,3,2
Current State: 46:[19, 50], Operations: ['40-21=19', '99-49=50']
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,46 unequal: No Solution
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[49, 80], Operations: ['40-21=19', '99-19=80']
Exploring Operation: 49+80=129, Resulting Numbers: [129]
129,46 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 49*80=3920, Resulting Numbers: [3920]
3920,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[99, 30], Operations: ['40-21=19', '49-19=30']
Exploring Operation: 99+30=129, Resulting Numbers: [129]
129,46 unequal: No Solution
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Exploring Operation: 99*30=2970, Resulting Numbers: [2970]
2970,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[49, 118], Operations: ['40-21=19', '99+19=118']
Exploring Operation: 49+118=167, Resulting Numbers: [167]
167,46 unequal: No Solution
Exploring Operation: 118-49=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Exploring Operation: 49*118=5782, Resulting Numbers: [5782]
5782,46 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 |
[
16,
18,
51,
45
] | 14 | [
"51-16=35",
"18*35=630",
"630/45=14"
] | Current State: 14:[16, 18, 51, 45], Operations: []
Exploring Operation: 51-16=35, Resulting Numbers: [18, 45, 35]
Generated Node #2: [18, 45, 35] from Operation: 51-16=35
Current State: 14:[18, 45, 35], Operations: ['51-16=35']
Exploring Operation: 18*35=630, Resulting Numbers: [45, 630]
Generated Node #3: [45, 630] from Operation: 18*35=630
Current State: 14:[45, 630], Operations: ['51-16=35', '18*35=630']
Exploring Operation: 630/45=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[16, 18, 51, 45], Operations: []
Exploring Operation: 45-16=29, Resulting Numbers: [18, 51, 29]
Generated Node #0,0: 14:[18, 51, 29] Operation: 45-16=29
Exploring Operation: 51-18=33, Resulting Numbers: [16, 45, 33]
Generated Node #0,1: 14:[16, 45, 33] Operation: 51-18=33
Exploring Operation: 45-18=27, Resulting Numbers: [16, 51, 27]
Generated Node #0,2: 14:[16, 51, 27] Operation: 45-18=27
Exploring Operation: 51-16=35, Resulting Numbers: [18, 45, 35]
Generated Node #0,3: 14:[18, 45, 35] Operation: 51-16=35
Exploring Operation: 51-45=6, Resulting Numbers: [16, 18, 6]
Generated Node #0,4: 14:[16, 18, 6] Operation: 51-45=6
Start Sub Search at level 1: Moving to Node #0,4
Current State: 14:[16, 18, 6], Operations: ['51-45=6']
Exploring Operation: 16+6=22, Resulting Numbers: [18, 22]
Generated Node #0,4,0: 14:[18, 22] Operation: 16+6=22
Exploring Operation: 18-6=12, Resulting Numbers: [16, 12]
Generated Node #0,4,1: 14:[16, 12] Operation: 18-6=12
Exploring Operation: 18-16=2, Resulting Numbers: [6, 2]
Generated Node #0,4,2: 14:[6, 2] Operation: 18-16=2
Exploring Operation: 18/6=3, Resulting Numbers: [16, 3]
Generated Node #0,4,3: 14:[16, 3] Operation: 18/6=3
Exploring Operation: 16-6=10, Resulting Numbers: [18, 10]
Generated Node #0,4,4: 14:[18, 10] Operation: 16-6=10
Moving to Node #0,4,2
Current State: 14:[6, 2], Operations: ['51-45=6', '18-16=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Moving to Node #0,4,3
Current State: 14:[16, 3], Operations: ['51-45=6', '18/6=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Moving to Node #0,4,1
Current State: 14:[16, 12], Operations: ['51-45=6', '18-6=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,14 unequal: No Solution
Moving to Node #0,4,4
Current State: 14:[18, 10], Operations: ['51-45=6', '16-6=10']
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,14 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Moving to Node #0,4,0
Current State: 14:[18, 22], Operations: ['51-45=6', '16+6=22']
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,14 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,14 unequal: No Solution
No 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: 14:[16, 45, 33], Operations: ['51-18=33']
Exploring Operation: 16+45=61, Resulting Numbers: [33, 61]
Generated Node #0,1,0: 14:[33, 61] Operation: 16+45=61
Exploring Operation: 16+33=49, Resulting Numbers: [45, 49]
Generated Node #0,1,1: 14:[45, 49] Operation: 16+33=49
Exploring Operation: 45-16=29, Resulting Numbers: [33, 29]
Generated Node #0,1,2: 14:[33, 29] Operation: 45-16=29
Exploring Operation: 33-16=17, Resulting Numbers: [45, 17]
Generated Node #0,1,3: 14:[45, 17] Operation: 33-16=17
Exploring Operation: 45-33=12, Resulting Numbers: [16, 12]
Generated Node #0,1,4: 14:[16, 12] Operation: 45-33=12
Moving to Node #0,1,4
Current State: 14:[16, 12], Operations: ['51-18=33', '45-33=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,14 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[45, 17], Operations: ['51-18=33', '33-16=17']
Exploring Operation: 45*17=765, Resulting Numbers: [765]
765,14 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[33, 29], Operations: ['51-18=33', '45-16=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[33, 61], Operations: ['51-18=33', '16+45=61']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[45, 49], Operations: ['51-18=33', '16+33=49']
Exploring Operation: 45*49=2205, Resulting Numbers: [2205]
2205,14 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,14 unequal: No Solution
No 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: 14:[16, 51, 27], Operations: ['45-18=27']
Exploring Operation: 16+51=67, Resulting Numbers: [27, 67]
Generated Node #0,2,0: 14:[27, 67] Operation: 16+51=67
Exploring Operation: 27-16=11, Resulting Numbers: [51, 11]
Generated Node #0,2,1: 14:[51, 11] Operation: 27-16=11
Exploring Operation: 16+27=43, Resulting Numbers: [51, 43]
Generated Node #0,2,2: 14:[51, 43] Operation: 16+27=43
Exploring Operation: 51-16=35, Resulting Numbers: [27, 35]
Generated Node #0,2,3: 14:[27, 35] Operation: 51-16=35
Exploring Operation: 51-27=24, Resulting Numbers: [16, 24]
Generated Node #0,2,4: 14:[16, 24] Operation: 51-27=24
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 14:[16, 24], Operations: ['45-18=27', '51-27=24']
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,14 unequal: No Solution
No 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: 14:[27, 35], Operations: ['45-18=27', '51-16=35']
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 27*35=945, Resulting Numbers: [945]
945,14 unequal: No Solution
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,14 unequal: No Solution
No 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: 14:[51, 11], Operations: ['45-18=27', '27-16=11']
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,14 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,14 unequal: No Solution
No 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: 14:[27, 67], Operations: ['45-18=27', '16+51=67']
Exploring Operation: 27*67=1809, Resulting Numbers: [1809]
1809,14 unequal: No Solution
Exploring Operation: 27+67=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,14 unequal: No Solution
No 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: 14:[51, 43], Operations: ['45-18=27', '16+27=43']
Exploring Operation: 51*43=2193, Resulting Numbers: [2193]
2193,14 unequal: No Solution
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,14 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: 14:[18, 51, 29], Operations: ['45-16=29']
Exploring Operation: 29-18=11, Resulting Numbers: [51, 11]
Generated Node #0,0,0: 14:[51, 11] Operation: 29-18=11
Exploring Operation: 18+51=69, Resulting Numbers: [29, 69]
Generated Node #0,0,1: 14:[29, 69] Operation: 18+51=69
Exploring Operation: 51-29=22, Resulting Numbers: [18, 22]
Generated Node #0,0,2: 14:[18, 22] Operation: 51-29=22
Exploring Operation: 51-18=33, Resulting Numbers: [29, 33]
Generated Node #0,0,3: 14:[29, 33] Operation: 51-18=33
Exploring Operation: 18+29=47, Resulting Numbers: [51, 47]
Generated Node #0,0,4: 14:[51, 47] Operation: 18+29=47
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 14:[18, 22], Operations: ['45-16=29', '51-29=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,14 unequal: No Solution
No 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: 14:[29, 33], Operations: ['45-16=29', '51-18=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,14 unequal: No Solution
No 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: 14:[51, 11], Operations: ['45-16=29', '29-18=11']
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,14 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,14 unequal: No Solution
No 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: 14:[29, 69], Operations: ['45-16=29', '18+51=69']
Exploring Operation: 29*69=2001, Resulting Numbers: [2001]
2001,14 unequal: No Solution
Exploring Operation: 29+69=98, Resulting Numbers: [98]
98,14 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 14:[51, 47], Operations: ['45-16=29', '18+29=47']
Exploring Operation: 51*47=2397, Resulting Numbers: [2397]
2397,14 unequal: No Solution
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,14 unequal: No Solution
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,14 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: 14:[18, 45, 35], Operations: ['51-16=35']
Exploring Operation: 45-18=27, Resulting Numbers: [35, 27]
Generated Node #0,3,0: 14:[35, 27] Operation: 45-18=27
Exploring Operation: 18+45=63, Resulting Numbers: [35, 63]
Generated Node #0,3,1: 14:[35, 63] Operation: 18+45=63
Exploring Operation: 18+35=53, Resulting Numbers: [45, 53]
Generated Node #0,3,2: 14:[45, 53] Operation: 18+35=53
Exploring Operation: 35-18=17, Resulting Numbers: [45, 17]
Generated Node #0,3,3: 14:[45, 17] Operation: 35-18=17
Exploring Operation: 45-35=10, Resulting Numbers: [18, 10]
Generated Node #0,3,4: 14:[18, 10] Operation: 45-35=10
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 14:[18, 10], Operations: ['51-16=35', '45-35=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,14 unequal: No Solution
No 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: 14:[35, 27], Operations: ['51-16=35', '45-18=27']
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,14 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,14 unequal: No Solution
No 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: 14:[45, 17], Operations: ['51-16=35', '35-18=17']
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 45*17=765, Resulting Numbers: [765]
765,14 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,14 unequal: No Solution
No 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: 14:[35, 63], Operations: ['51-16=35', '18+45=63']
Exploring Operation: 35*63=2205, Resulting Numbers: [2205]
2205,14 unequal: No Solution
Exploring Operation: 35+63=98, Resulting Numbers: [98]
98,14 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,14 unequal: No Solution
No 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: 14:[45, 53], Operations: ['51-16=35', '18+35=53']
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,14 unequal: No Solution
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,14 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
2,
2,
51,
74
] | 95 | [
"2+51=53",
"2*74=148",
"148-53=95"
] | Current State: 95:[2, 2, 51, 74], Operations: []
Exploring Operation: 2+51=53, Resulting Numbers: [74, 53]
Generated Node #2: [74, 53] from Operation: 2+51=53
Current State: 95:[74, 53], Operations: ['2+51=53']
Exploring Operation: 2*74=148, Resulting Numbers: [53, 148]
Generated Node #3: [53, 148] from Operation: 2*74=148
Current State: 95:[53, 148], Operations: ['2+51=53', '2*74=148']
Exploring Operation: 148-53=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[2, 2, 51, 74], Operations: []
Exploring Operation: 2*51=102, Resulting Numbers: [2, 74, 102]
Generated Node #0,0: 95:[2, 74, 102] Operation: 2*51=102
Exploring Operation: 74-51=23, Resulting Numbers: [2, 2, 23]
Generated Node #0,1: 95:[2, 2, 23] Operation: 74-51=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[2, 2, 23], Operations: ['74-51=23']
Exploring Operation: 2+2=4, Resulting Numbers: [23, 4]
Generated Node #0,1,0: 95:[23, 4] Operation: 2+2=4
Exploring Operation: 2*2=4, Resulting Numbers: [23, 4]
Generated Node #0,1,1: 95:[23, 4] Operation: 2*2=4
Moving to Node #0,1,0
Current State: 95:[23, 4], Operations: ['74-51=23', '2+2=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[23, 4], Operations: ['74-51=23', '2*2=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,95 unequal: No Solution
No 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: 95:[2, 74, 102], Operations: ['2*51=102']
Exploring Operation: 74/2=37, Resulting Numbers: [102, 37]
Generated Node #0,0,0: 95:[102, 37] Operation: 74/2=37
Exploring Operation: 102-74=28, Resulting Numbers: [2, 28]
Generated Node #0,0,1: 95:[2, 28] Operation: 102-74=28
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[2, 28], Operations: ['2*51=102', '102-74=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,95 unequal: No Solution
No 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: 95:[102, 37], Operations: ['2*51=102', '74/2=37']
Exploring Operation: 102+37=139, Resulting Numbers: [139]
139,95 unequal: No Solution
Exploring Operation: 102-37=65, Resulting Numbers: [65]
65,95 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 |
[
69,
63,
29,
37
] | 78 | [
"63*37=2331",
"2331-69=2262",
"2262/29=78"
] | Current State: 78:[69, 63, 29, 37], Operations: []
Exploring Operation: 63*37=2331, Resulting Numbers: [69, 29, 2331]
Generated Node #2: [69, 29, 2331] from Operation: 63*37=2331
Current State: 78:[69, 29, 2331], Operations: ['63*37=2331']
Exploring Operation: 2331-69=2262, Resulting Numbers: [29, 2262]
Generated Node #3: [29, 2262] from Operation: 2331-69=2262
Current State: 78:[29, 2262], Operations: ['63*37=2331', '2331-69=2262']
Exploring Operation: 2262/29=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[69, 63, 29, 37], Operations: []
Exploring Operation: 63-29=34, Resulting Numbers: [69, 37, 34]
Generated Node #0,0: 78:[69, 37, 34] Operation: 63-29=34
Exploring Operation: 69-63=6, Resulting Numbers: [29, 37, 6]
Generated Node #0,1: 78:[29, 37, 6] Operation: 69-63=6
Exploring Operation: 69-29=40, Resulting Numbers: [63, 37, 40]
Generated Node #0,2: 78:[63, 37, 40] Operation: 69-29=40
Exploring Operation: 69-37=32, Resulting Numbers: [63, 29, 32]
Generated Node #0,3: 78:[63, 29, 32] Operation: 69-37=32
Exploring Operation: 63-37=26, Resulting Numbers: [69, 29, 26]
Generated Node #0,4: 78:[69, 29, 26] Operation: 63-37=26
Moving to Node #0,1
Current State: 78:[29, 37, 6], Operations: ['69-63=6']
Exploring Operation: 37+6=43, Resulting Numbers: [29, 43]
Generated Node #0,1,0: 78:[29, 43] Operation: 37+6=43
Exploring Operation: 37-29=8, Resulting Numbers: [6, 8]
Generated Node #0,1,1: 78:[6, 8] Operation: 37-29=8
Exploring Operation: 37-6=31, Resulting Numbers: [29, 31]
Generated Node #0,1,2: 78:[29, 31] Operation: 37-6=31
Exploring Operation: 29+6=35, Resulting Numbers: [37, 35]
Generated Node #0,1,3: 78:[37, 35] Operation: 29+6=35
Exploring Operation: 29-6=23, Resulting Numbers: [37, 23]
Generated Node #0,1,4: 78:[37, 23] Operation: 29-6=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[6, 8], Operations: ['69-63=6', '37-29=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 78:[37, 23], Operations: ['69-63=6', '29-6=23']
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,78 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 78:[37, 35], Operations: ['69-63=6', '29+6=35']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 37*35=1295, Resulting Numbers: [1295]
1295,78 unequal: No Solution
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[29, 43], Operations: ['69-63=6', '37+6=43']
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 29*43=1247, Resulting Numbers: [1247]
1247,78 unequal: No Solution
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 78:[29, 31], Operations: ['69-63=6', '37-6=31']
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,78 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,78 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: 78:[69, 29, 26], Operations: ['63-37=26']
Exploring Operation: 69-29=40, Resulting Numbers: [26, 40]
Generated Node #0,4,0: 78:[26, 40] Operation: 69-29=40
Exploring Operation: 29-26=3, Resulting Numbers: [69, 3]
Generated Node #0,4,1: 78:[69, 3] Operation: 29-26=3
Exploring Operation: 69-26=43, Resulting Numbers: [29, 43]
Generated Node #0,4,2: 78:[29, 43] Operation: 69-26=43
Exploring Operation: 69+26=95, Resulting Numbers: [29, 95]
Generated Node #0,4,3: 78:[29, 95] Operation: 69+26=95
Exploring Operation: 69+29=98, Resulting Numbers: [26, 98]
Generated Node #0,4,4: 78:[26, 98] Operation: 69+29=98
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 78:[26, 40], Operations: ['63-37=26', '69-29=40']
Exploring Operation: 26*40=1040, Resulting Numbers: [1040]
1040,78 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,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,4,2
Current State: 78:[29, 43], Operations: ['63-37=26', '69-26=43']
Exploring Operation: 29*43=1247, Resulting Numbers: [1247]
1247,78 unequal: No Solution
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,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,4,1
Current State: 78:[69, 3], Operations: ['63-37=26', '29-26=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,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,4,3
Current State: 78:[29, 95], Operations: ['63-37=26', '69+26=95']
Exploring Operation: 29+95=124, Resulting Numbers: [124]
124,78 unequal: No Solution
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 29*95=2755, Resulting Numbers: [2755]
2755,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,4,4
Current State: 78:[26, 98], Operations: ['63-37=26', '69+29=98']
Exploring Operation: 26+98=124, Resulting Numbers: [124]
124,78 unequal: No Solution
Exploring Operation: 98-26=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 26*98=2548, Resulting Numbers: [2548]
2548,78 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: 78:[69, 37, 34], Operations: ['63-29=34']
Exploring Operation: 69+34=103, Resulting Numbers: [37, 103]
Generated Node #0,0,0: 78:[37, 103] Operation: 69+34=103
Exploring Operation: 69-37=32, Resulting Numbers: [34, 32]
Generated Node #0,0,1: 78:[34, 32] Operation: 69-37=32
Exploring Operation: 37-34=3, Resulting Numbers: [69, 3]
Generated Node #0,0,2: 78:[69, 3] Operation: 37-34=3
Exploring Operation: 37+34=71, Resulting Numbers: [69, 71]
Generated Node #0,0,3: 78:[69, 71] Operation: 37+34=71
Exploring Operation: 69-34=35, Resulting Numbers: [37, 35]
Generated Node #0,0,4: 78:[37, 35] Operation: 69-34=35
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 78:[37, 35], Operations: ['63-29=34', '69-34=35']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 37*35=1295, Resulting Numbers: [1295]
1295,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,2
Current State: 78:[69, 3], Operations: ['63-29=34', '37-34=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,78 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,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:[34, 32], Operations: ['63-29=34', '69-37=32']
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,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,3
Current State: 78:[69, 71], Operations: ['63-29=34', '37+34=71']
Exploring Operation: 69+71=140, Resulting Numbers: [140]
140,78 unequal: No Solution
Exploring Operation: 71-69=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 69*71=4899, Resulting Numbers: [4899]
4899,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,0
Current State: 78:[37, 103], Operations: ['63-29=34', '69+34=103']
Exploring Operation: 103-37=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 37+103=140, Resulting Numbers: [140]
140,78 unequal: No Solution
Exploring Operation: 37*103=3811, Resulting Numbers: [3811]
3811,78 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: 78:[63, 37, 40], Operations: ['69-29=40']
Exploring Operation: 40-37=3, Resulting Numbers: [63, 3]
Generated Node #0,2,0: 78:[63, 3] Operation: 40-37=3
Exploring Operation: 63-40=23, Resulting Numbers: [37, 23]
Generated Node #0,2,1: 78:[37, 23] Operation: 63-40=23
Exploring Operation: 63+37=100, Resulting Numbers: [40, 100]
Generated Node #0,2,2: 78:[40, 100] Operation: 63+37=100
Exploring Operation: 63-37=26, Resulting Numbers: [40, 26]
Generated Node #0,2,3: 78:[40, 26] Operation: 63-37=26
Exploring Operation: 37+40=77, Resulting Numbers: [63, 77]
Generated Node #0,2,4: 78:[63, 77] Operation: 37+40=77
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 78:[40, 26], Operations: ['69-29=40', '63-37=26']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,78 unequal: No Solution
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,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,2,1
Current State: 78:[37, 23], Operations: ['69-29=40', '63-40=23']
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,78 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,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,2,0
Current State: 78:[63, 3], Operations: ['69-29=40', '40-37=3']
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,78 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,78 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,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,2,4
Current State: 78:[63, 77], Operations: ['69-29=40', '37+40=77']
Exploring Operation: 63*77=4851, Resulting Numbers: [4851]
4851,78 unequal: No Solution
Exploring Operation: 63+77=140, Resulting Numbers: [140]
140,78 unequal: No Solution
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,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,2,2
Current State: 78:[40, 100], Operations: ['69-29=40', '63+37=100']
Exploring Operation: 40+100=140, Resulting Numbers: [140]
140,78 unequal: No Solution
Exploring Operation: 100-40=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 40*100=4000, Resulting Numbers: [4000]
4000,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 78:[63, 29, 32], Operations: ['69-37=32']
Exploring Operation: 63+29=92, Resulting Numbers: [32, 92]
Generated Node #0,3,0: 78:[32, 92] Operation: 63+29=92
Exploring Operation: 32-29=3, Resulting Numbers: [63, 3]
Generated Node #0,3,1: 78:[63, 3] Operation: 32-29=3
Exploring Operation: 63+32=95, Resulting Numbers: [29, 95]
Generated Node #0,3,2: 78:[29, 95] Operation: 63+32=95
Exploring Operation: 63-32=31, Resulting Numbers: [29, 31]
Generated Node #0,3,3: 78:[29, 31] Operation: 63-32=31
Exploring Operation: 63-29=34, Resulting Numbers: [32, 34]
Generated Node #0,3,4: 78:[32, 34] Operation: 63-29=34
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 78:[29, 31], Operations: ['69-37=32', '63-32=31']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,78 unequal: No Solution
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 78:[32, 34], Operations: ['69-37=32', '63-29=34']
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,78 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 78:[63, 3], Operations: ['69-37=32', '32-29=3']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,78 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,78 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 78:[32, 92], Operations: ['69-37=32', '63+29=92']
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 32+92=124, Resulting Numbers: [124]
124,78 unequal: No Solution
Exploring Operation: 32*92=2944, Resulting Numbers: [2944]
2944,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 78:[29, 95], Operations: ['69-37=32', '63+32=95']
Exploring Operation: 29+95=124, Resulting Numbers: [124]
124,78 unequal: No Solution
Exploring Operation: 29*95=2755, Resulting Numbers: [2755]
2755,78 unequal: No Solution
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
7,
4,
54,
63
] | 49 | [
"63/7=9",
"4+54=58",
"58-9=49"
] | Current State: 49:[7, 4, 54, 63], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [4, 54, 9]
Generated Node #2: [4, 54, 9] from Operation: 63/7=9
Current State: 49:[4, 54, 9], Operations: ['63/7=9']
Exploring Operation: 4+54=58, Resulting Numbers: [9, 58]
Generated Node #3: [9, 58] from Operation: 4+54=58
Current State: 49:[9, 58], Operations: ['63/7=9', '4+54=58']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[7, 4, 54, 63], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [4, 54, 9]
Generated Node #0,0: 49:[4, 54, 9] Operation: 63/7=9
Exploring Operation: 63-54=9, Resulting Numbers: [7, 4, 9]
Generated Node #0,1: 49:[7, 4, 9] Operation: 63-54=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[7, 4, 9], Operations: ['63-54=9']
Exploring Operation: 7+4=11, Resulting Numbers: [9, 11]
Generated Node #0,1,0: 49:[9, 11] Operation: 7+4=11
Exploring Operation: 9-4=5, Resulting Numbers: [7, 5]
Generated Node #0,1,1: 49:[7, 5] Operation: 9-4=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[7, 5], Operations: ['63-54=9', '9-4=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,49 unequal: No Solution
No 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: 49:[9, 11], Operations: ['63-54=9', '7+4=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,49 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: 49:[4, 54, 9], Operations: ['63/7=9']
Exploring Operation: 54-4=50, Resulting Numbers: [9, 50]
Generated Node #0,0,0: 49:[9, 50] Operation: 54-4=50
Exploring Operation: 54/9=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 49:[4, 6] Operation: 54/9=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[9, 50], Operations: ['63/7=9', '54-4=50']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 9+50=59, Resulting Numbers: [59]
59,49 unequal: No Solution
No 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: 49:[4, 6], Operations: ['63/7=9', '54/9=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,49 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 |
[
94,
29,
3,
93
] | 34 | [
"94-29=65",
"93/3=31",
"65-31=34"
] | Current State: 34:[94, 29, 3, 93], Operations: []
Exploring Operation: 94-29=65, Resulting Numbers: [3, 93, 65]
Generated Node #2: [3, 93, 65] from Operation: 94-29=65
Current State: 34:[3, 93, 65], Operations: ['94-29=65']
Exploring Operation: 93/3=31, Resulting Numbers: [65, 31]
Generated Node #3: [65, 31] from Operation: 93/3=31
Current State: 34:[65, 31], Operations: ['94-29=65', '93/3=31']
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[94, 29, 3, 93], Operations: []
Exploring Operation: 94-93=1, Resulting Numbers: [29, 3, 1]
Generated Node #0,0: 34:[29, 3, 1] Operation: 94-93=1
Exploring Operation: 93/3=31, Resulting Numbers: [94, 29, 31]
Generated Node #0,1: 34:[94, 29, 31] Operation: 93/3=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[29, 3, 1], Operations: ['94-93=1']
Exploring Operation: 29+1=30, Resulting Numbers: [3, 30]
Generated Node #0,0,0: 34:[3, 30] Operation: 29+1=30
Exploring Operation: 29+3=32, Resulting Numbers: [1, 32]
Generated Node #0,0,1: 34:[1, 32] Operation: 29+3=32
Moving to Node #0,0,1
Current State: 34:[1, 32], Operations: ['94-93=1', '29+3=32']
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[3, 30], Operations: ['94-93=1', '29+1=30']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,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
Current State: 34:[94, 29, 31], Operations: ['93/3=31']
Exploring Operation: 94-31=63, Resulting Numbers: [29, 63]
Generated Node #0,1,0: 34:[29, 63] Operation: 94-31=63
Exploring Operation: 94-29=65, Resulting Numbers: [31, 65]
Generated Node #0,1,1: 34:[31, 65] Operation: 94-29=65
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[29, 63], Operations: ['93/3=31', '94-31=63']
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,34 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[94, 29, 3, 93], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [94, 29, 31]
Generated Node #0,1: 34:[94, 29, 31] Operation: 93/3=31
Moving to Node #0,1
Current State: 34:[94, 29, 31], Operations: ['93/3=31']
Exploring Operation: 94-31=63, Resulting Numbers: [29, 63]
Generated Node #0,1,0: 34:[29, 63] Operation: 94-31=63
Moving to Node #0,1,0
Current State: 34:[29, 63], Operations: ['93/3=31', '94-31=63']
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
59,
52,
77,
98
] | 25 | [
"59-52=7",
"77+98=175",
"175/7=25"
] | Current State: 25:[59, 52, 77, 98], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [77, 98, 7]
Generated Node #2: [77, 98, 7] from Operation: 59-52=7
Current State: 25:[77, 98, 7], Operations: ['59-52=7']
Exploring Operation: 77+98=175, Resulting Numbers: [7, 175]
Generated Node #3: [7, 175] from Operation: 77+98=175
Current State: 25:[7, 175], Operations: ['59-52=7', '77+98=175']
Exploring Operation: 175/7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[59, 52, 77, 98], Operations: []
Exploring Operation: 98-77=21, Resulting Numbers: [59, 52, 21]
Generated Node #0,0: 25:[59, 52, 21] Operation: 98-77=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[59, 52, 21], Operations: ['98-77=21']
Exploring Operation: 59-52=7, Resulting Numbers: [21, 7]
Generated Node #0,0,0: 25:[21, 7] Operation: 59-52=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[21, 7], Operations: ['98-77=21', '59-52=7']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,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_1 | mult_heuristic |
[
11,
79,
78,
27
] | 16 | [
"27-11=16",
"79-78=1",
"16*1=16"
] | Current State: 16:[11, 79, 78, 27], Operations: []
Exploring Operation: 27-11=16, Resulting Numbers: [79, 78, 16]
Generated Node #2: [79, 78, 16] from Operation: 27-11=16
Current State: 16:[79, 78, 16], Operations: ['27-11=16']
Exploring Operation: 79-78=1, Resulting Numbers: [16, 1]
Generated Node #3: [16, 1] from Operation: 79-78=1
Current State: 16:[16, 1], Operations: ['27-11=16', '79-78=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[11, 79, 78, 27], Operations: []
Exploring Operation: 78-27=51, Resulting Numbers: [11, 79, 51]
Generated Node #0,0: 16:[11, 79, 51] Operation: 78-27=51
Exploring Operation: 79-78=1, Resulting Numbers: [11, 27, 1]
Generated Node #0,1: 16:[11, 27, 1] Operation: 79-78=1
Exploring Operation: 79-27=52, Resulting Numbers: [11, 78, 52]
Generated Node #0,2: 16:[11, 78, 52] Operation: 79-27=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[11, 27, 1], Operations: ['79-78=1']
Exploring Operation: 27-11=16, Resulting Numbers: [1, 16]
Generated Node #0,1,0: 16:[1, 16] Operation: 27-11=16
Exploring Operation: 11-1=10, Resulting Numbers: [27, 10]
Generated Node #0,1,1: 16:[27, 10] Operation: 11-1=10
Exploring Operation: 27-1=26, Resulting Numbers: [11, 26]
Generated Node #0,1,2: 16:[11, 26] Operation: 27-1=26
Moving to Node #0,1,0
Current State: 16:[1, 16], Operations: ['79-78=1', '27-11=16']
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[11, 79, 78, 27], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [11, 27, 1]
Generated Node #0,1: 16:[11, 27, 1] Operation: 79-78=1
Moving to Node #0,1
Current State: 16:[11, 27, 1], Operations: ['79-78=1']
Exploring Operation: 27-11=16, Resulting Numbers: [1, 16]
Generated Node #0,1,0: 16:[1, 16] Operation: 27-11=16
Moving to Node #0,1,0
Current State: 16:[1, 16], Operations: ['79-78=1', '27-11=16']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
33,
6,
16,
76
] | 53 | [
"33+6=39",
"16+76=92",
"92-39=53"
] | Current State: 53:[33, 6, 16, 76], Operations: []
Exploring Operation: 33+6=39, Resulting Numbers: [16, 76, 39]
Generated Node #2: [16, 76, 39] from Operation: 33+6=39
Current State: 53:[16, 76, 39], Operations: ['33+6=39']
Exploring Operation: 16+76=92, Resulting Numbers: [39, 92]
Generated Node #3: [39, 92] from Operation: 16+76=92
Current State: 53:[39, 92], Operations: ['33+6=39', '16+76=92']
Exploring Operation: 92-39=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[33, 6, 16, 76], Operations: []
Exploring Operation: 33+6=39, Resulting Numbers: [16, 76, 39]
Generated Node #0,0: 53:[16, 76, 39] Operation: 33+6=39
Exploring Operation: 33+16=49, Resulting Numbers: [6, 76, 49]
Generated Node #0,1: 53:[6, 76, 49] Operation: 33+16=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[16, 76, 39], Operations: ['33+6=39']
Exploring Operation: 76-16=60, Resulting Numbers: [39, 60]
Generated Node #0,0,0: 53:[39, 60] Operation: 76-16=60
Exploring Operation: 16+39=55, Resulting Numbers: [76, 55]
Generated Node #0,0,1: 53:[76, 55] Operation: 16+39=55
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[39, 60], Operations: ['33+6=39', '76-16=60']
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,53 unequal: No Solution
No 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: 53:[76, 55], Operations: ['33+6=39', '16+39=55']
Exploring Operation: 76+55=131, Resulting Numbers: [131]
131,53 unequal: No Solution
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[6, 76, 49], Operations: ['33+16=49']
Exploring Operation: 6+49=55, Resulting Numbers: [76, 55]
Generated Node #0,1,0: 53:[76, 55] Operation: 6+49=55
Exploring Operation: 76-6=70, Resulting Numbers: [49, 70]
Generated Node #0,1,1: 53:[49, 70] Operation: 76-6=70
Moving to Node #0,1,1
Current State: 53:[49, 70], Operations: ['33+16=49', '76-6=70']
Exploring Operation: 49+70=119, Resulting Numbers: [119]
119,53 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[76, 55], Operations: ['33+16=49', '6+49=55']
Exploring Operation: 76+55=131, Resulting Numbers: [131]
131,53 unequal: No Solution
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,53 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 |
[
52,
65,
88,
70
] | 32 | [
"52*70=3640",
"3640/65=56",
"88-56=32"
] | Current State: 32:[52, 65, 88, 70], Operations: []
Exploring Operation: 52*70=3640, Resulting Numbers: [65, 88, 3640]
Generated Node #2: [65, 88, 3640] from Operation: 52*70=3640
Current State: 32:[65, 88, 3640], Operations: ['52*70=3640']
Exploring Operation: 3640/65=56, Resulting Numbers: [88, 56]
Generated Node #3: [88, 56] from Operation: 3640/65=56
Current State: 32:[88, 56], Operations: ['52*70=3640', '3640/65=56']
Exploring Operation: 88-56=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[52, 65, 88, 70], Operations: []
Exploring Operation: 88-70=18, Resulting Numbers: [52, 65, 18]
Generated Node #0,0: 32:[52, 65, 18] Operation: 88-70=18
Exploring Operation: 70-65=5, Resulting Numbers: [52, 88, 5]
Generated Node #0,1: 32:[52, 88, 5] Operation: 70-65=5
Exploring Operation: 88-52=36, Resulting Numbers: [65, 70, 36]
Generated Node #0,2: 32:[65, 70, 36] Operation: 88-52=36
Exploring Operation: 70-52=18, Resulting Numbers: [65, 88, 18]
Generated Node #0,3: 32:[65, 88, 18] Operation: 70-52=18
Exploring Operation: 88-65=23, Resulting Numbers: [52, 70, 23]
Generated Node #0,4: 32:[52, 70, 23] Operation: 88-65=23
Moving to Node #0,0
Current State: 32:[52, 65, 18], Operations: ['88-70=18']
Exploring Operation: 52-18=34, Resulting Numbers: [65, 34]
Generated Node #0,0,0: 32:[65, 34] Operation: 52-18=34
Exploring Operation: 65-18=47, Resulting Numbers: [52, 47]
Generated Node #0,0,1: 32:[52, 47] Operation: 65-18=47
Exploring Operation: 65+18=83, Resulting Numbers: [52, 83]
Generated Node #0,0,2: 32:[52, 83] Operation: 65+18=83
Exploring Operation: 65-52=13, Resulting Numbers: [18, 13]
Generated Node #0,0,3: 32:[18, 13] Operation: 65-52=13
Exploring Operation: 52+18=70, Resulting Numbers: [65, 70]
Generated Node #0,0,4: 32:[65, 70] Operation: 52+18=70
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 32:[18, 13], Operations: ['88-70=18', '65-52=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,32 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[65, 34], Operations: ['88-70=18', '52-18=34']
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 65*34=2210, Resulting Numbers: [2210]
2210,32 unequal: No Solution
Exploring Operation: 65+34=99, Resulting Numbers: [99]
99,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[52, 47], Operations: ['88-70=18', '65-18=47']
Exploring Operation: 52*47=2444, Resulting Numbers: [2444]
2444,32 unequal: No Solution
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[52, 83], Operations: ['88-70=18', '65+18=83']
Exploring Operation: 52+83=135, Resulting Numbers: [135]
135,32 unequal: No Solution
Exploring Operation: 52*83=4316, Resulting Numbers: [4316]
4316,32 unequal: No Solution
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 32:[65, 70], Operations: ['88-70=18', '52+18=70']
Exploring Operation: 65*70=4550, Resulting Numbers: [4550]
4550,32 unequal: No Solution
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,32 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: 32:[52, 70, 23], Operations: ['88-65=23']
Exploring Operation: 52+23=75, Resulting Numbers: [70, 75]
Generated Node #0,4,0: 32:[70, 75] Operation: 52+23=75
Exploring Operation: 70+23=93, Resulting Numbers: [52, 93]
Generated Node #0,4,1: 32:[52, 93] Operation: 70+23=93
Exploring Operation: 70-52=18, Resulting Numbers: [23, 18]
Generated Node #0,4,2: 32:[23, 18] Operation: 70-52=18
Exploring Operation: 52-23=29, Resulting Numbers: [70, 29]
Generated Node #0,4,3: 32:[70, 29] Operation: 52-23=29
Exploring Operation: 70-23=47, Resulting Numbers: [52, 47]
Generated Node #0,4,4: 32:[52, 47] Operation: 70-23=47
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 32:[23, 18], Operations: ['88-65=23', '70-52=18']
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,32 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 32:[52, 47], Operations: ['88-65=23', '70-23=47']
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 52*47=2444, Resulting Numbers: [2444]
2444,32 unequal: No Solution
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 32:[70, 29], Operations: ['88-65=23', '52-23=29']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 32:[70, 75], Operations: ['88-65=23', '52+23=75']
Exploring Operation: 70*75=5250, Resulting Numbers: [5250]
5250,32 unequal: No Solution
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 70+75=145, Resulting Numbers: [145]
145,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 32:[52, 93], Operations: ['88-65=23', '70+23=93']
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,32 unequal: No Solution
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,32 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: 32:[65, 70, 36], Operations: ['88-52=36']
Exploring Operation: 70-36=34, Resulting Numbers: [65, 34]
Generated Node #0,2,0: 32:[65, 34] Operation: 70-36=34
Exploring Operation: 65+36=101, Resulting Numbers: [70, 101]
Generated Node #0,2,1: 32:[70, 101] Operation: 65+36=101
Exploring Operation: 70-65=5, Resulting Numbers: [36, 5]
Generated Node #0,2,2: 32:[36, 5] Operation: 70-65=5
Exploring Operation: 65+70=135, Resulting Numbers: [36, 135]
Generated Node #0,2,3: 32:[36, 135] Operation: 65+70=135
Exploring Operation: 65-36=29, Resulting Numbers: [70, 29]
Generated Node #0,2,4: 32:[70, 29] Operation: 65-36=29
Moving to Node #0,1
Current State: 32:[52, 88, 5], Operations: ['70-65=5']
Exploring Operation: 88+5=93, Resulting Numbers: [52, 93]
Generated Node #0,1,0: 32:[52, 93] Operation: 88+5=93
Exploring Operation: 88-52=36, Resulting Numbers: [5, 36]
Generated Node #0,1,1: 32:[5, 36] Operation: 88-52=36
Exploring Operation: 88-5=83, Resulting Numbers: [52, 83]
Generated Node #0,1,2: 32:[52, 83] Operation: 88-5=83
Exploring Operation: 52+5=57, Resulting Numbers: [88, 57]
Generated Node #0,1,3: 32:[88, 57] Operation: 52+5=57
Exploring Operation: 52-5=47, Resulting Numbers: [88, 47]
Generated Node #0,1,4: 32:[88, 47] Operation: 52-5=47
Moving to Node #0,3
Current State: 32:[65, 88, 18], Operations: ['70-52=18']
Exploring Operation: 88-65=23, Resulting Numbers: [18, 23]
Generated Node #0,3,0: 32:[18, 23] Operation: 88-65=23
Exploring Operation: 65+18=83, Resulting Numbers: [88, 83]
Generated Node #0,3,1: 32:[88, 83] Operation: 65+18=83
Exploring Operation: 88+18=106, Resulting Numbers: [65, 106]
Generated Node #0,3,2: 32:[65, 106] Operation: 88+18=106
Exploring Operation: 65-18=47, Resulting Numbers: [88, 47]
Generated Node #0,3,3: 32:[88, 47] Operation: 65-18=47
Exploring Operation: 88-18=70, Resulting Numbers: [65, 70]
Generated Node #0,3,4: 32:[65, 70] Operation: 88-18=70
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 32:[18, 23], Operations: ['70-52=18', '88-65=23']
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 32:[88, 47], Operations: ['70-52=18', '65-18=47']
Exploring Operation: 88*47=4136, Resulting Numbers: [4136]
4136,32 unequal: No Solution
Exploring Operation: 88+47=135, Resulting Numbers: [135]
135,32 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 32:[65, 70], Operations: ['70-52=18', '88-18=70']
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,32 unequal: No Solution
Exploring Operation: 65*70=4550, Resulting Numbers: [4550]
4550,32 unequal: No Solution
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 32:[88, 83], Operations: ['70-52=18', '65+18=83']
Exploring Operation: 88*83=7304, Resulting Numbers: [7304]
7304,32 unequal: No Solution
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 88+83=171, Resulting Numbers: [171]
171,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[65, 106], Operations: ['70-52=18', '88+18=106']
Exploring Operation: 106-65=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 65+106=171, Resulting Numbers: [171]
171,32 unequal: No Solution
Exploring Operation: 65*106=6890, Resulting Numbers: [6890]
6890,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 32:[36, 5], Operations: ['88-52=36', '70-65=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,32 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[5, 36], Operations: ['70-65=5', '88-52=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,32 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[65, 34], Operations: ['88-52=36', '70-36=34']
Exploring Operation: 65*34=2210, Resulting Numbers: [2210]
2210,32 unequal: No Solution
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 65+34=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Moving to Node #0,2,4
Current State: 32:[70, 29], Operations: ['88-52=36', '65-36=29']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,32 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[52, 83], Operations: ['70-65=5', '88-5=83']
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 52+83=135, Resulting Numbers: [135]
135,32 unequal: No Solution
Exploring Operation: 52*83=4316, Resulting Numbers: [4316]
4316,32 unequal: No Solution
Moving to Node #0,1,4
Current State: 32:[88, 47], Operations: ['70-65=5', '52-5=47']
Exploring Operation: 88+47=135, Resulting Numbers: [135]
135,32 unequal: No Solution
Exploring Operation: 88*47=4136, Resulting Numbers: [4136]
4136,32 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[88, 57], Operations: ['70-65=5', '52+5=57']
Exploring Operation: 88-57=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 88*57=5016, Resulting Numbers: [5016]
5016,32 unequal: No Solution
Exploring Operation: 88+57=145, Resulting Numbers: [145]
145,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[52, 93], Operations: ['70-65=5', '88+5=93']
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,32 unequal: No Solution
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[70, 101], Operations: ['88-52=36', '65+36=101']
Exploring Operation: 101-70=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 70*101=7070, Resulting Numbers: [7070]
7070,32 unequal: No Solution
Exploring Operation: 70+101=171, Resulting Numbers: [171]
171,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[36, 135], Operations: ['88-52=36', '65+70=135']
Exploring Operation: 36+135=171, Resulting Numbers: [171]
171,32 unequal: No Solution
Exploring Operation: 135-36=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 36*135=4860, Resulting Numbers: [4860]
4860,32 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
33,
71,
89,
2
] | 53 | [
"71-33=38",
"89+2=91",
"91-38=53"
] | Current State: 53:[33, 71, 89, 2], Operations: []
Exploring Operation: 71-33=38, Resulting Numbers: [89, 2, 38]
Generated Node #2: [89, 2, 38] from Operation: 71-33=38
Current State: 53:[89, 2, 38], Operations: ['71-33=38']
Exploring Operation: 89+2=91, Resulting Numbers: [38, 91]
Generated Node #3: [38, 91] from Operation: 89+2=91
Current State: 53:[38, 91], Operations: ['71-33=38', '89+2=91']
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[33, 71, 89, 2], Operations: []
Exploring Operation: 71-2=69, Resulting Numbers: [33, 89, 69]
Generated Node #0,0: 53:[33, 89, 69] Operation: 71-2=69
Exploring Operation: 33+2=35, Resulting Numbers: [71, 89, 35]
Generated Node #0,1: 53:[71, 89, 35] Operation: 33+2=35
Exploring Operation: 33*2=66, Resulting Numbers: [71, 89, 66]
Generated Node #0,2: 53:[71, 89, 66] Operation: 33*2=66
Exploring Operation: 89-33=56, Resulting Numbers: [71, 2, 56]
Generated Node #0,3: 53:[71, 2, 56] Operation: 89-33=56
Exploring Operation: 89-2=87, Resulting Numbers: [33, 71, 87]
Generated Node #0,4: 53:[33, 71, 87] Operation: 89-2=87
Moving to Node #0,2
Current State: 53:[71, 89, 66], Operations: ['33*2=66']
Exploring Operation: 89-71=18, Resulting Numbers: [66, 18]
Generated Node #0,2,0: 53:[66, 18] Operation: 89-71=18
Exploring Operation: 71+66=137, Resulting Numbers: [89, 137]
Generated Node #0,2,1: 53:[89, 137] Operation: 71+66=137
Exploring Operation: 89-66=23, Resulting Numbers: [71, 23]
Generated Node #0,2,2: 53:[71, 23] Operation: 89-66=23
Exploring Operation: 71-66=5, Resulting Numbers: [89, 5]
Generated Node #0,2,3: 53:[89, 5] Operation: 71-66=5
Exploring Operation: 71+89=160, Resulting Numbers: [66, 160]
Generated Node #0,2,4: 53:[66, 160] Operation: 71+89=160
Moving to Node #0,1
Current State: 53:[71, 89, 35], Operations: ['33+2=35']
Exploring Operation: 89+35=124, Resulting Numbers: [71, 124]
Generated Node #0,1,0: 53:[71, 124] Operation: 89+35=124
Exploring Operation: 89-71=18, Resulting Numbers: [35, 18]
Generated Node #0,1,1: 53:[35, 18] Operation: 89-71=18
Exploring Operation: 71+35=106, Resulting Numbers: [89, 106]
Generated Node #0,1,2: 53:[89, 106] Operation: 71+35=106
Exploring Operation: 89-35=54, Resulting Numbers: [71, 54]
Generated Node #0,1,3: 53:[71, 54] Operation: 89-35=54
Exploring Operation: 71-35=36, Resulting Numbers: [89, 36]
Generated Node #0,1,4: 53:[89, 36] Operation: 71-35=36
Moving to Node #0,4
Current State: 53:[33, 71, 87], Operations: ['89-2=87']
Exploring Operation: 71-33=38, Resulting Numbers: [87, 38]
Generated Node #0,4,0: 53:[87, 38] Operation: 71-33=38
Exploring Operation: 87-33=54, Resulting Numbers: [71, 54]
Generated Node #0,4,1: 53:[71, 54] Operation: 87-33=54
Exploring Operation: 33+71=104, Resulting Numbers: [87, 104]
Generated Node #0,4,2: 53:[87, 104] Operation: 33+71=104
Exploring Operation: 87-71=16, Resulting Numbers: [33, 16]
Generated Node #0,4,3: 53:[33, 16] Operation: 87-71=16
Exploring Operation: 33+87=120, Resulting Numbers: [71, 120]
Generated Node #0,4,4: 53:[71, 120] Operation: 33+87=120
Moving to Node #0,0
Current State: 53:[33, 89, 69], Operations: ['71-2=69']
Exploring Operation: 69-33=36, Resulting Numbers: [89, 36]
Generated Node #0,0,0: 53:[89, 36] Operation: 69-33=36
Exploring Operation: 89-33=56, Resulting Numbers: [69, 56]
Generated Node #0,0,1: 53:[69, 56] Operation: 89-33=56
Exploring Operation: 33+89=122, Resulting Numbers: [69, 122]
Generated Node #0,0,2: 53:[69, 122] Operation: 33+89=122
Exploring Operation: 33+69=102, Resulting Numbers: [89, 102]
Generated Node #0,0,3: 53:[89, 102] Operation: 33+69=102
Exploring Operation: 89-69=20, Resulting Numbers: [33, 20]
Generated Node #0,0,4: 53:[33, 20] Operation: 89-69=20
Moving to Node #0,3
Current State: 53:[71, 2, 56], Operations: ['89-33=56']
Exploring Operation: 2+56=58, Resulting Numbers: [71, 58]
Generated Node #0,3,0: 53:[71, 58] Operation: 2+56=58
Exploring Operation: 71+2=73, Resulting Numbers: [56, 73]
Generated Node #0,3,1: 53:[56, 73] Operation: 71+2=73
Exploring Operation: 56-2=54, Resulting Numbers: [71, 54]
Generated Node #0,3,2: 53:[71, 54] Operation: 56-2=54
Exploring Operation: 56/2=28, Resulting Numbers: [71, 28]
Generated Node #0,3,3: 53:[71, 28] Operation: 56/2=28
Exploring Operation: 71-2=69, Resulting Numbers: [56, 69]
Generated Node #0,3,4: 53:[56, 69] Operation: 71-2=69
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[71, 54], Operations: ['89-33=56', '56-2=54']
Exploring Operation: 71*54=3834, Resulting Numbers: [3834]
3834,53 unequal: No Solution
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,53 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 53:[56, 69], Operations: ['89-33=56', '71-2=69']
Exploring Operation: 56+69=125, Resulting Numbers: [125]
125,53 unequal: No Solution
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 56*69=3864, Resulting Numbers: [3864]
3864,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[71, 58], Operations: ['89-33=56', '2+56=58']
Exploring Operation: 71+58=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Exploring Operation: 71*58=4118, Resulting Numbers: [4118]
4118,53 unequal: No Solution
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[56, 73], Operations: ['89-33=56', '71+2=73']
Exploring Operation: 56*73=4088, Resulting Numbers: [4088]
4088,53 unequal: No Solution
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 56+73=129, Resulting Numbers: [129]
129,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[71, 28], Operations: ['89-33=56', '56/2=28']
Exploring Operation: 71+28=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 71*28=1988, Resulting Numbers: [1988]
1988,53 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 53:[71, 54], Operations: ['33+2=35', '89-35=54']
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,53 unequal: No Solution
Exploring Operation: 71*54=3834, Resulting Numbers: [3834]
3834,53 unequal: No Solution
Moving to Node #0,4,1
Current State: 53:[71, 54], Operations: ['89-2=87', '87-33=54']
Exploring Operation: 71*54=3834, Resulting Numbers: [3834]
3834,53 unequal: No Solution
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,53 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[69, 56], Operations: ['71-2=69', '89-33=56']
Exploring Operation: 69+56=125, Resulting Numbers: [125]
125,53 unequal: No Solution
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 69*56=3864, Resulting Numbers: [3864]
3864,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[66, 18], Operations: ['33*2=66', '89-71=18']
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,53 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[71, 23], Operations: ['33*2=66', '89-66=23']
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,53 unequal: No Solution
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,53 unequal: No Solution
Moving to Node #0,4,0
Current State: 53:[87, 38], Operations: ['89-2=87', '71-33=38']
Exploring Operation: 87+38=125, Resulting Numbers: [125]
125,53 unequal: No Solution
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 87*38=3306, Resulting Numbers: [3306]
3306,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[35, 18], Operations: ['33+2=35', '89-71=18']
Exploring Operation: 35*18=630, Resulting Numbers: [630]
630,53 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[33, 71, 89, 2], Operations: []
Exploring Operation: 33+2=35, Resulting Numbers: [71, 89, 35]
Generated Node #0,1: 53:[71, 89, 35] Operation: 33+2=35
Moving to Node #0,1
Current State: 53:[71, 89, 35], Operations: ['33+2=35']
Exploring Operation: 89-71=18, Resulting Numbers: [35, 18]
Generated Node #0,1,1: 53:[35, 18] Operation: 89-71=18
Moving to Node #0,1,1
Current State: 53:[35, 18], Operations: ['33+2=35', '89-71=18']
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.939236 | hs_5 | sum_heuristic |
[
2,
1,
33,
50
] | 69 | [
"1+50=51",
"2*51=102",
"102-33=69"
] | Current State: 69:[2, 1, 33, 50], Operations: []
Exploring Operation: 1+50=51, Resulting Numbers: [2, 33, 51]
Generated Node #2: [2, 33, 51] from Operation: 1+50=51
Current State: 69:[2, 33, 51], Operations: ['1+50=51']
Exploring Operation: 2*51=102, Resulting Numbers: [33, 102]
Generated Node #3: [33, 102] from Operation: 2*51=102
Current State: 69:[33, 102], Operations: ['1+50=51', '2*51=102']
Exploring Operation: 102-33=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[2, 1, 33, 50], Operations: []
Exploring Operation: 50-33=17, Resulting Numbers: [2, 1, 17]
Generated Node #0,0: 69:[2, 1, 17] Operation: 50-33=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[2, 1, 17], Operations: ['50-33=17']
Exploring Operation: 2+1=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 69:[17, 3] Operation: 2+1=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[17, 3], Operations: ['50-33=17', '2+1=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
71,
70,
49
] | 74 | [
"71-26=45",
"70+49=119",
"119-45=74"
] | Current State: 74:[26, 71, 70, 49], Operations: []
Exploring Operation: 71-26=45, Resulting Numbers: [70, 49, 45]
Generated Node #2: [70, 49, 45] from Operation: 71-26=45
Current State: 74:[70, 49, 45], Operations: ['71-26=45']
Exploring Operation: 70+49=119, Resulting Numbers: [45, 119]
Generated Node #3: [45, 119] from Operation: 70+49=119
Current State: 74:[45, 119], Operations: ['71-26=45', '70+49=119']
Exploring Operation: 119-45=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[26, 71, 70, 49], Operations: []
Exploring Operation: 26+49=75, Resulting Numbers: [71, 70, 75]
Generated Node #0,0: 74:[71, 70, 75] Operation: 26+49=75
Moving to Node #0,0
Current State: 74:[71, 70, 75], Operations: ['26+49=75']
Exploring Operation: 71-70=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 71-70=1
Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['26+49=75', '71-70=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[26, 71, 70, 49], Operations: []
Exploring Operation: 26+49=75, Resulting Numbers: [71, 70, 75]
Generated Node #0,0: 74:[71, 70, 75] Operation: 26+49=75
Moving to Node #0,0
Current State: 74:[71, 70, 75], Operations: ['26+49=75']
Exploring Operation: 71-70=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 71-70=1
Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['26+49=75', '71-70=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
18,
6,
62,
41
] | 33 | [
"18-6=12",
"62-41=21",
"12+21=33"
] | Current State: 33:[18, 6, 62, 41], Operations: []
Exploring Operation: 18-6=12, Resulting Numbers: [62, 41, 12]
Generated Node #2: [62, 41, 12] from Operation: 18-6=12
Current State: 33:[62, 41, 12], Operations: ['18-6=12']
Exploring Operation: 62-41=21, Resulting Numbers: [12, 21]
Generated Node #3: [12, 21] from Operation: 62-41=21
Current State: 33:[12, 21], Operations: ['18-6=12', '62-41=21']
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[18, 6, 62, 41], Operations: []
Exploring Operation: 62-18=44, Resulting Numbers: [6, 41, 44]
Generated Node #0,0: 33:[6, 41, 44] Operation: 62-18=44
Exploring Operation: 18-6=12, Resulting Numbers: [62, 41, 12]
Generated Node #0,1: 33:[62, 41, 12] Operation: 18-6=12
Exploring Operation: 18/6=3, Resulting Numbers: [62, 41, 3]
Generated Node #0,2: 33:[62, 41, 3] Operation: 18/6=3
Exploring Operation: 62-41=21, Resulting Numbers: [18, 6, 21]
Generated Node #0,3: 33:[18, 6, 21] Operation: 62-41=21
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[18, 6, 21], Operations: ['62-41=21']
Exploring Operation: 18-6=12, Resulting Numbers: [21, 12]
Generated Node #0,3,0: 33:[21, 12] Operation: 18-6=12
Exploring Operation: 21-18=3, Resulting Numbers: [6, 3]
Generated Node #0,3,1: 33:[6, 3] Operation: 21-18=3
Exploring Operation: 18+21=39, Resulting Numbers: [6, 39]
Generated Node #0,3,2: 33:[6, 39] Operation: 18+21=39
Exploring Operation: 18/6=3, Resulting Numbers: [21, 3]
Generated Node #0,3,3: 33:[21, 3] Operation: 18/6=3
Moving to Node #0,3,1
Current State: 33:[6, 3], Operations: ['62-41=21', '21-18=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Moving to Node #0,3,2
Current State: 33:[6, 39], Operations: ['62-41=21', '18+21=39']
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,33 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[18, 6, 62, 41], Operations: []
Exploring Operation: 62-41=21, Resulting Numbers: [18, 6, 21]
Generated Node #0,3: 33:[18, 6, 21] Operation: 62-41=21
Moving to Node #0,3
Current State: 33:[18, 6, 21], Operations: ['62-41=21']
Exploring Operation: 18+21=39, Resulting Numbers: [6, 39]
Generated Node #0,3,2: 33:[6, 39] Operation: 18+21=39
Moving to Node #0,3,2
Current State: 33:[6, 39], Operations: ['62-41=21', '18+21=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
53,
24,
25,
77
] | 26 | [
"53+24=77",
"77/77=1",
"25+1=26"
] | Current State: 26:[53, 24, 25, 77], Operations: []
Exploring Operation: 53+24=77, Resulting Numbers: [25, 77, 77]
Generated Node #2: [25, 77, 77] from Operation: 53+24=77
Current State: 26:[25, 77, 77], Operations: ['53+24=77']
Exploring Operation: 77/77=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 77/77=1
Current State: 26:[25, 1], Operations: ['53+24=77', '77/77=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[53, 24, 25, 77], Operations: []
Exploring Operation: 53-24=29, Resulting Numbers: [25, 77, 29]
Generated Node #0,0: 26:[25, 77, 29] Operation: 53-24=29
Exploring Operation: 77-53=24, Resulting Numbers: [24, 25, 24]
Generated Node #0,1: 26:[24, 25, 24] Operation: 77-53=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[24, 25, 24], Operations: ['77-53=24']
Exploring Operation: 25-24=1, Resulting Numbers: [24, 1]
Generated Node #0,1,0: 26:[24, 1] Operation: 25-24=1
Exploring Operation: 24/24=1, Resulting Numbers: [25, 1]
Generated Node #0,1,1: 26:[25, 1] Operation: 24/24=1
Moving to Node #0,1,1
Current State: 26:[25, 1], Operations: ['77-53=24', '24/24=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[53, 24, 25, 77], Operations: []
Exploring Operation: 77-53=24, Resulting Numbers: [24, 25, 24]
Generated Node #0,1: 26:[24, 25, 24] Operation: 77-53=24
Moving to Node #0,1
Current State: 26:[24, 25, 24], Operations: ['77-53=24']
Exploring Operation: 24/24=1, Resulting Numbers: [25, 1]
Generated Node #0,1,1: 26:[25, 1] Operation: 24/24=1
Moving to Node #0,1,1
Current State: 26:[25, 1], Operations: ['77-53=24', '24/24=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
82,
74,
94,
8
] | 52 | [
"82+94=176",
"176/8=22",
"74-22=52"
] | Current State: 52:[82, 74, 94, 8], Operations: []
Exploring Operation: 82+94=176, Resulting Numbers: [74, 8, 176]
Generated Node #2: [74, 8, 176] from Operation: 82+94=176
Current State: 52:[74, 8, 176], Operations: ['82+94=176']
Exploring Operation: 176/8=22, Resulting Numbers: [74, 22]
Generated Node #3: [74, 22] from Operation: 176/8=22
Current State: 52:[74, 22], Operations: ['82+94=176', '176/8=22']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[82, 74, 94, 8], Operations: []
Exploring Operation: 94-74=20, Resulting Numbers: [82, 8, 20]
Generated Node #0,0: 52:[82, 8, 20] Operation: 94-74=20
Exploring Operation: 94-82=12, Resulting Numbers: [74, 8, 12]
Generated Node #0,1: 52:[74, 8, 12] Operation: 94-82=12
Exploring Operation: 82-74=8, Resulting Numbers: [94, 8, 8]
Generated Node #0,2: 52:[94, 8, 8] Operation: 82-74=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[74, 8, 12], Operations: ['94-82=12']
Exploring Operation: 12-8=4, Resulting Numbers: [74, 4]
Generated Node #0,1,0: 52:[74, 4] Operation: 12-8=4
Exploring Operation: 74-8=66, Resulting Numbers: [12, 66]
Generated Node #0,1,1: 52:[12, 66] Operation: 74-8=66
Exploring Operation: 74-12=62, Resulting Numbers: [8, 62]
Generated Node #0,1,2: 52:[8, 62] Operation: 74-12=62
Moving to Node #0,1,2
Current State: 52:[8, 62], Operations: ['94-82=12', '74-12=62']
Exploring Operation: 8*62=496, Resulting Numbers: [496]
496,52 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[12, 66], Operations: ['94-82=12', '74-8=66']
Exploring Operation: 12*66=792, Resulting Numbers: [792]
792,52 unequal: No Solution
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,52 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[74, 4], Operations: ['94-82=12', '12-8=4']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 74*4=296, Resulting Numbers: [296]
296,52 unequal: No Solution
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[82, 8, 20], Operations: ['94-74=20']
Exploring Operation: 20-8=12, Resulting Numbers: [82, 12]
Generated Node #0,0,0: 52:[82, 12] Operation: 20-8=12
Exploring Operation: 82-20=62, Resulting Numbers: [8, 62]
Generated Node #0,0,1: 52:[8, 62] Operation: 82-20=62
Exploring Operation: 82-8=74, Resulting Numbers: [20, 74]
Generated Node #0,0,2: 52:[20, 74] Operation: 82-8=74
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[8, 62], Operations: ['94-74=20', '82-20=62']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 8*62=496, Resulting Numbers: [496]
496,52 unequal: No Solution
No 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: 52:[20, 74], Operations: ['94-74=20', '82-8=74']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 20+74=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Exploring Operation: 20*74=1480, Resulting Numbers: [1480]
1480,52 unequal: No Solution
No 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: 52:[82, 12], Operations: ['94-74=20', '20-8=12']
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,52 unequal: No Solution
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,52 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: 52:[94, 8, 8], Operations: ['82-74=8']
Exploring Operation: 94-8=86, Resulting Numbers: [8, 86]
Generated Node #0,2,0: 52:[8, 86] Operation: 94-8=86
Exploring Operation: 94-8=86, Resulting Numbers: [8, 86]
Generated Node #0,2,1: 52:[8, 86] Operation: 94-8=86
Exploring Operation: 8/8=1, Resulting Numbers: [94, 1]
Generated Node #0,2,2: 52:[94, 1] Operation: 8/8=1
Moving to Node #0,2,0
Current State: 52:[8, 86], Operations: ['82-74=8', '94-8=86']
Exploring Operation: 8+86=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,52 unequal: No Solution
Exploring Operation: 8*86=688, Resulting Numbers: [688]
688,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[8, 86], Operations: ['82-74=8', '94-8=86']
Exploring Operation: 8*86=688, Resulting Numbers: [688]
688,52 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,52 unequal: No Solution
Exploring Operation: 8+86=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[94, 1], Operations: ['82-74=8', '8/8=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,52 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,52 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 |
[
89,
9,
40,
5
] | 72 | [
"89-9=80",
"40/5=8",
"80-8=72"
] | Current State: 72:[89, 9, 40, 5], Operations: []
Exploring Operation: 89-9=80, Resulting Numbers: [40, 5, 80]
Generated Node #2: [40, 5, 80] from Operation: 89-9=80
Current State: 72:[40, 5, 80], Operations: ['89-9=80']
Exploring Operation: 40/5=8, Resulting Numbers: [80, 8]
Generated Node #3: [80, 8] from Operation: 40/5=8
Current State: 72:[80, 8], Operations: ['89-9=80', '40/5=8']
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[89, 9, 40, 5], Operations: []
Exploring Operation: 89-40=49, Resulting Numbers: [9, 5, 49]
Generated Node #0,0: 72:[9, 5, 49] Operation: 89-40=49
Exploring Operation: 89-5=84, Resulting Numbers: [9, 40, 84]
Generated Node #0,1: 72:[9, 40, 84] Operation: 89-5=84
Exploring Operation: 89-9=80, Resulting Numbers: [40, 5, 80]
Generated Node #0,2: 72:[40, 5, 80] Operation: 89-9=80
Exploring Operation: 40-5=35, Resulting Numbers: [89, 9, 35]
Generated Node #0,3: 72:[89, 9, 35] Operation: 40-5=35
Exploring Operation: 40/5=8, Resulting Numbers: [89, 9, 8]
Generated Node #0,4: 72:[89, 9, 8] Operation: 40/5=8
Moving to Node #0,2
Current State: 72:[40, 5, 80], Operations: ['89-9=80']
Exploring Operation: 40/5=8, Resulting Numbers: [80, 8]
Generated Node #0,2,0: 72:[80, 8] Operation: 40/5=8
Exploring Operation: 80-5=75, Resulting Numbers: [40, 75]
Generated Node #0,2,1: 72:[40, 75] Operation: 80-5=75
Exploring Operation: 80/40=2, Resulting Numbers: [5, 2]
Generated Node #0,2,2: 72:[5, 2] Operation: 80/40=2
Exploring Operation: 80-40=40, Resulting Numbers: [5, 40]
Generated Node #0,2,3: 72:[5, 40] Operation: 80-40=40
Exploring Operation: 80/5=16, Resulting Numbers: [40, 16]
Generated Node #0,2,4: 72:[40, 16] Operation: 80/5=16
Moving to Node #0,0
Current State: 72:[9, 5, 49], Operations: ['89-40=49']
Exploring Operation: 49-5=44, Resulting Numbers: [9, 44]
Generated Node #0,0,0: 72:[9, 44] Operation: 49-5=44
Exploring Operation: 9+49=58, Resulting Numbers: [5, 58]
Generated Node #0,0,1: 72:[5, 58] Operation: 9+49=58
Exploring Operation: 9+5=14, Resulting Numbers: [49, 14]
Generated Node #0,0,2: 72:[49, 14] Operation: 9+5=14
Exploring Operation: 9-5=4, Resulting Numbers: [49, 4]
Generated Node #0,0,3: 72:[49, 4] Operation: 9-5=4
Exploring Operation: 49-9=40, Resulting Numbers: [5, 40]
Generated Node #0,0,4: 72:[5, 40] Operation: 49-9=40
Moving to Node #0,1
Current State: 72:[9, 40, 84], Operations: ['89-5=84']
Exploring Operation: 40-9=31, Resulting Numbers: [84, 31]
Generated Node #0,1,0: 72:[84, 31] Operation: 40-9=31
Exploring Operation: 84-9=75, Resulting Numbers: [40, 75]
Generated Node #0,1,1: 72:[40, 75] Operation: 84-9=75
Exploring Operation: 9+40=49, Resulting Numbers: [84, 49]
Generated Node #0,1,2: 72:[84, 49] Operation: 9+40=49
Exploring Operation: 9+84=93, Resulting Numbers: [40, 93]
Generated Node #0,1,3: 72:[40, 93] Operation: 9+84=93
Exploring Operation: 84-40=44, Resulting Numbers: [9, 44]
Generated Node #0,1,4: 72:[9, 44] Operation: 84-40=44
Moving to Node #0,4
Current State: 72:[89, 9, 8], Operations: ['40/5=8']
Exploring Operation: 9-8=1, Resulting Numbers: [89, 1]
Generated Node #0,4,0: 72:[89, 1] Operation: 9-8=1
Exploring Operation: 89-9=80, Resulting Numbers: [8, 80]
Generated Node #0,4,1: 72:[8, 80] Operation: 89-9=80
Exploring Operation: 9*8=72, Resulting Numbers: [89, 72]
Generated Node #0,4,2: 72:[89, 72] Operation: 9*8=72
Exploring Operation: 89-8=81, Resulting Numbers: [9, 81]
Generated Node #0,4,3: 72:[9, 81] Operation: 89-8=81
Exploring Operation: 9+8=17, Resulting Numbers: [89, 17]
Generated Node #0,4,4: 72:[89, 17] Operation: 9+8=17
Moving to Node #0,3
Current State: 72:[89, 9, 35], Operations: ['40-5=35']
Exploring Operation: 89-9=80, Resulting Numbers: [35, 80]
Generated Node #0,3,0: 72:[35, 80] Operation: 89-9=80
Exploring Operation: 9+35=44, Resulting Numbers: [89, 44]
Generated Node #0,3,1: 72:[89, 44] Operation: 9+35=44
Exploring Operation: 89+9=98, Resulting Numbers: [35, 98]
Generated Node #0,3,2: 72:[35, 98] Operation: 89+9=98
Exploring Operation: 89-35=54, Resulting Numbers: [9, 54]
Generated Node #0,3,3: 72:[9, 54] Operation: 89-35=54
Exploring Operation: 35-9=26, Resulting Numbers: [89, 26]
Generated Node #0,3,4: 72:[89, 26] Operation: 35-9=26
Moving to Node #0,2,2
Current State: 72:[5, 2], Operations: ['89-9=80', '80/40=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Moving to Node #0,0,4
Current State: 72:[5, 40], Operations: ['89-40=49', '49-9=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,72 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[5, 40], Operations: ['89-9=80', '80-40=40']
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,72 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Moving to Node #0,2,4
Current State: 72:[40, 16], Operations: ['89-9=80', '80/5=16']
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 40*16=640, Resulting Numbers: [640]
640,72 unequal: No Solution
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[40, 75], Operations: ['89-5=84', '84-9=75']
Exploring Operation: 40+75=115, Resulting Numbers: [115]
115,72 unequal: No Solution
Exploring Operation: 40*75=3000, Resulting Numbers: [3000]
3000,72 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[40, 75], Operations: ['89-9=80', '80-5=75']
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 40+75=115, Resulting Numbers: [115]
115,72 unequal: No Solution
Exploring Operation: 40*75=3000, Resulting Numbers: [3000]
3000,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[9, 44], Operations: ['89-40=49', '49-5=44']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 9*44=396, Resulting Numbers: [396]
396,72 unequal: No Solution
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Moving to Node #0,1,4
Current State: 72:[9, 44], Operations: ['89-5=84', '84-40=44']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 9*44=396, Resulting Numbers: [396]
396,72 unequal: No Solution
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[80, 8], Operations: ['89-9=80', '40/5=8']
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 80*8=640, Resulting Numbers: [640]
640,72 unequal: No Solution
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[89, 9, 40, 5], Operations: []
Exploring Operation: 89-9=80, Resulting Numbers: [40, 5, 80]
Generated Node #0,2: 72:[40, 5, 80] Operation: 89-9=80
Moving to Node #0,2
Current State: 72:[40, 5, 80], Operations: ['89-9=80']
Exploring Operation: 40/5=8, Resulting Numbers: [80, 8]
Generated Node #0,2,0: 72:[80, 8] Operation: 40/5=8
Moving to Node #0,2,0
Current State: 72:[80, 8], Operations: ['89-9=80', '40/5=8']
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.944444 | hs_5 | sum_heuristic |
[
42,
98,
34,
70
] | 64 | [
"42*70=2940",
"2940/98=30",
"34+30=64"
] | Current State: 64:[42, 98, 34, 70], Operations: []
Exploring Operation: 42*70=2940, Resulting Numbers: [98, 34, 2940]
Generated Node #2: [98, 34, 2940] from Operation: 42*70=2940
Current State: 64:[98, 34, 2940], Operations: ['42*70=2940']
Exploring Operation: 2940/98=30, Resulting Numbers: [34, 30]
Generated Node #3: [34, 30] from Operation: 2940/98=30
Current State: 64:[34, 30], Operations: ['42*70=2940', '2940/98=30']
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[42, 98, 34, 70], Operations: []
Exploring Operation: 98-42=56, Resulting Numbers: [34, 70, 56]
Generated Node #0,0: 64:[34, 70, 56] Operation: 98-42=56
Exploring Operation: 98-34=64, Resulting Numbers: [42, 70, 64]
Generated Node #0,1: 64:[42, 70, 64] Operation: 98-34=64
Exploring Operation: 98-70=28, Resulting Numbers: [42, 34, 28]
Generated Node #0,2: 64:[42, 34, 28] Operation: 98-70=28
Exploring Operation: 42-34=8, Resulting Numbers: [98, 70, 8]
Generated Node #0,3: 64:[98, 70, 8] Operation: 42-34=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[34, 70, 56], Operations: ['98-42=56']
Exploring Operation: 34+56=90, Resulting Numbers: [70, 90]
Generated Node #0,0,0: 64:[70, 90] Operation: 34+56=90
Exploring Operation: 56-34=22, Resulting Numbers: [70, 22]
Generated Node #0,0,1: 64:[70, 22] Operation: 56-34=22
Exploring Operation: 70-56=14, Resulting Numbers: [34, 14]
Generated Node #0,0,2: 64:[34, 14] Operation: 70-56=14
Exploring Operation: 70-34=36, Resulting Numbers: [56, 36]
Generated Node #0,0,3: 64:[56, 36] Operation: 70-34=36
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[34, 14], Operations: ['98-42=56', '70-56=14']
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,64 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,64 unequal: No Solution
No 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: 64:[70, 22], Operations: ['98-42=56', '56-34=22']
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,64 unequal: No Solution
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 70*22=1540, Resulting Numbers: [1540]
1540,64 unequal: No Solution
No 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: 64:[56, 36], Operations: ['98-42=56', '70-34=36']
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,64 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,64 unequal: No Solution
No 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: 64:[70, 90], Operations: ['98-42=56', '34+56=90']
Exploring Operation: 70*90=6300, Resulting Numbers: [6300]
6300,64 unequal: No Solution
Exploring Operation: 90-70=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 70+90=160, Resulting Numbers: [160]
160,64 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: 64:[42, 70, 64], Operations: ['98-34=64']
Exploring Operation: 70-64=6, Resulting Numbers: [42, 6]
Generated Node #0,1,0: 64:[42, 6] Operation: 70-64=6
Exploring Operation: 64-42=22, Resulting Numbers: [70, 22]
Generated Node #0,1,1: 64:[70, 22] Operation: 64-42=22
Exploring Operation: 70-42=28, Resulting Numbers: [64, 28]
Generated Node #0,1,2: 64:[64, 28] Operation: 70-42=28
Exploring Operation: 42+70=112, Resulting Numbers: [64, 112]
Generated Node #0,1,3: 64:[64, 112] Operation: 42+70=112
Moving to Node #0,1,2
Current State: 64:[64, 28], Operations: ['98-34=64', '70-42=28']
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,64 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 64*28=1792, Resulting Numbers: [1792]
1792,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[70, 22], Operations: ['98-34=64', '64-42=22']
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 70*22=1540, Resulting Numbers: [1540]
1540,64 unequal: No Solution
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[42, 6], Operations: ['98-34=64', '70-64=6']
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,64 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[64, 112], Operations: ['98-34=64', '42+70=112']
Exploring Operation: 112-64=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 64*112=7168, Resulting Numbers: [7168]
7168,64 unequal: No Solution
Exploring Operation: 64+112=176, Resulting Numbers: [176]
176,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[42, 34, 28], Operations: ['98-70=28']
Exploring Operation: 42-34=8, Resulting Numbers: [28, 8]
Generated Node #0,2,0: 64:[28, 8] Operation: 42-34=8
Exploring Operation: 42+28=70, Resulting Numbers: [34, 70]
Generated Node #0,2,1: 64:[34, 70] Operation: 42+28=70
Exploring Operation: 42-28=14, Resulting Numbers: [34, 14]
Generated Node #0,2,2: 64:[34, 14] Operation: 42-28=14
Exploring Operation: 34+28=62, Resulting Numbers: [42, 62]
Generated Node #0,2,3: 64:[42, 62] Operation: 34+28=62
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[28, 8], Operations: ['98-70=28', '42-34=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,64 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,64 unequal: No Solution
No 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: 64:[34, 14], Operations: ['98-70=28', '42-28=14']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,64 unequal: No Solution
No 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: 64:[34, 70], Operations: ['98-70=28', '42+28=70']
Exploring Operation: 34+70=104, Resulting Numbers: [104]
104,64 unequal: No Solution
Exploring Operation: 34*70=2380, Resulting Numbers: [2380]
2380,64 unequal: No Solution
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,64 unequal: No Solution
No 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: 64:[42, 62], Operations: ['98-70=28', '34+28=62']
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,64 unequal: No Solution
Exploring Operation: 42*62=2604, Resulting Numbers: [2604]
2604,64 unequal: No Solution
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,64 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: 64:[98, 70, 8], Operations: ['42-34=8']
Exploring Operation: 70-8=62, Resulting Numbers: [98, 62]
Generated Node #0,3,0: 64:[98, 62] Operation: 70-8=62
Exploring Operation: 98-8=90, Resulting Numbers: [70, 90]
Generated Node #0,3,1: 64:[70, 90] Operation: 98-8=90
Exploring Operation: 98+8=106, Resulting Numbers: [70, 106]
Generated Node #0,3,2: 64:[70, 106] Operation: 98+8=106
Exploring Operation: 98-70=28, Resulting Numbers: [8, 28]
Generated Node #0,3,3: 64:[8, 28] Operation: 98-70=28
Moving to Node #0,3,3
Current State: 64:[8, 28], Operations: ['42-34=8', '98-70=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[70, 90], Operations: ['42-34=8', '98-8=90']
Exploring Operation: 70*90=6300, Resulting Numbers: [6300]
6300,64 unequal: No Solution
Exploring Operation: 70+90=160, Resulting Numbers: [160]
160,64 unequal: No Solution
Exploring Operation: 90-70=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[98, 62], Operations: ['42-34=8', '70-8=62']
Exploring Operation: 98+62=160, Resulting Numbers: [160]
160,64 unequal: No Solution
Exploring Operation: 98*62=6076, Resulting Numbers: [6076]
6076,64 unequal: No Solution
Exploring Operation: 98-62=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[70, 106], Operations: ['42-34=8', '98+8=106']
Exploring Operation: 70*106=7420, Resulting Numbers: [7420]
7420,64 unequal: No Solution
Exploring Operation: 106-70=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 70+106=176, Resulting Numbers: [176]
176,64 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 |
[
5,
10,
25,
11
] | 45 | [
"25/5=5",
"11*5=55",
"55-10=45"
] | Current State: 45:[5, 10, 25, 11], Operations: []
Exploring Operation: 25/5=5, Resulting Numbers: [10, 11, 5]
Generated Node #2: [10, 11, 5] from Operation: 25/5=5
Current State: 45:[10, 11, 5], Operations: ['25/5=5']
Exploring Operation: 11*5=55, Resulting Numbers: [10, 55]
Generated Node #3: [10, 55] from Operation: 11*5=55
Current State: 45:[10, 55], Operations: ['25/5=5', '11*5=55']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[5, 10, 25, 11], Operations: []
Exploring Operation: 25-11=14, Resulting Numbers: [5, 10, 14]
Generated Node #0,0: 45:[5, 10, 14] Operation: 25-11=14
Exploring Operation: 25-10=15, Resulting Numbers: [5, 11, 15]
Generated Node #0,1: 45:[5, 11, 15] Operation: 25-10=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[5, 10, 14], Operations: ['25-11=14']
Exploring Operation: 5+10=15, Resulting Numbers: [14, 15]
Generated Node #0,0,0: 45:[14, 15] Operation: 5+10=15
Exploring Operation: 10-5=5, Resulting Numbers: [14, 5]
Generated Node #0,0,1: 45:[14, 5] Operation: 10-5=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[14, 15], Operations: ['25-11=14', '5+10=15']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,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, 5], Operations: ['25-11=14', '10-5=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,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,1
Current State: 45:[5, 11, 15], Operations: ['25-10=15']
Exploring Operation: 11-5=6, Resulting Numbers: [15, 6]
Generated Node #0,1,0: 45:[15, 6] Operation: 11-5=6
Exploring Operation: 5+11=16, Resulting Numbers: [15, 16]
Generated Node #0,1,1: 45:[15, 16] Operation: 5+11=16
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[15, 6], Operations: ['25-10=15', '11-5=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,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:[15, 16], Operations: ['25-10=15', '5+11=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,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_2 | mult_heuristic |
[
73,
22,
10,
8
] | 67 | [
"22-8=14",
"10*14=140",
"140-73=67"
] | Current State: 67:[73, 22, 10, 8], Operations: []
Exploring Operation: 22-8=14, Resulting Numbers: [73, 10, 14]
Generated Node #2: [73, 10, 14] from Operation: 22-8=14
Current State: 67:[73, 10, 14], Operations: ['22-8=14']
Exploring Operation: 10*14=140, Resulting Numbers: [73, 140]
Generated Node #3: [73, 140] from Operation: 10*14=140
Current State: 67:[73, 140], Operations: ['22-8=14', '10*14=140']
Exploring Operation: 140-73=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[73, 22, 10, 8], Operations: []
Exploring Operation: 10*8=80, Resulting Numbers: [73, 22, 80]
Generated Node #0,0: 67:[73, 22, 80] Operation: 10*8=80
Exploring Operation: 22+10=32, Resulting Numbers: [73, 8, 32]
Generated Node #0,1: 67:[73, 8, 32] Operation: 22+10=32
Moving to Node #0,0
Current State: 67:[73, 22, 80], Operations: ['10*8=80']
Exploring Operation: 80-22=58, Resulting Numbers: [73, 58]
Generated Node #0,0,0: 67:[73, 58] Operation: 80-22=58
Exploring Operation: 73-22=51, Resulting Numbers: [80, 51]
Generated Node #0,0,1: 67:[80, 51] Operation: 73-22=51
Moving to Node #0,1
Current State: 67:[73, 8, 32], Operations: ['22+10=32']
Exploring Operation: 73-8=65, Resulting Numbers: [32, 65]
Generated Node #0,1,0: 67:[32, 65] Operation: 73-8=65
Exploring Operation: 8+32=40, Resulting Numbers: [73, 40]
Generated Node #0,1,1: 67:[73, 40] Operation: 8+32=40
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[73, 40], Operations: ['22+10=32', '8+32=40']
Exploring Operation: 73+40=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,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,0
Current State: 67:[32, 65], Operations: ['22+10=32', '73-8=65']
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,67 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: 67:[73, 58], Operations: ['10*8=80', '80-22=58']
Exploring Operation: 73+58=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[80, 51], Operations: ['10*8=80', '73-22=51']
Exploring Operation: 80+51=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,67 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
37,
79,
53,
89
] | 26 | [
"37+79=116",
"53+89=142",
"142-116=26"
] | Current State: 26:[37, 79, 53, 89], Operations: []
Exploring Operation: 37+79=116, Resulting Numbers: [53, 89, 116]
Generated Node #2: [53, 89, 116] from Operation: 37+79=116
Current State: 26:[53, 89, 116], Operations: ['37+79=116']
Exploring Operation: 53+89=142, Resulting Numbers: [116, 142]
Generated Node #3: [116, 142] from Operation: 53+89=142
Current State: 26:[116, 142], Operations: ['37+79=116', '53+89=142']
Exploring Operation: 142-116=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[37, 79, 53, 89], Operations: []
Exploring Operation: 89-79=10, Resulting Numbers: [37, 53, 10]
Generated Node #0,0: 26:[37, 53, 10] Operation: 89-79=10
Exploring Operation: 79-53=26, Resulting Numbers: [37, 89, 26]
Generated Node #0,1: 26:[37, 89, 26] Operation: 79-53=26
Moving to Node #0,0
Current State: 26:[37, 53, 10], Operations: ['89-79=10']
Exploring Operation: 53-37=16, Resulting Numbers: [10, 16]
Generated Node #0,0,0: 26:[10, 16] Operation: 53-37=16
Exploring Operation: 37-10=27, Resulting Numbers: [53, 27]
Generated Node #0,0,1: 26:[53, 27] Operation: 37-10=27
Moving to Node #0,1
Current State: 26:[37, 89, 26], Operations: ['79-53=26']
Exploring Operation: 89-26=63, Resulting Numbers: [37, 63]
Generated Node #0,1,0: 26:[37, 63] Operation: 89-26=63
Exploring Operation: 89-37=52, Resulting Numbers: [26, 52]
Generated Node #0,1,1: 26:[26, 52] Operation: 89-37=52
Moving to Node #0,0,0
Current State: 26:[10, 16], Operations: ['89-79=10', '53-37=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[37, 79, 53, 89], Operations: []
Exploring Operation: 89-79=10, Resulting Numbers: [37, 53, 10]
Generated Node #0,0: 26:[37, 53, 10] Operation: 89-79=10
Moving to Node #0,0
Current State: 26:[37, 53, 10], Operations: ['89-79=10']
Exploring Operation: 53-37=16, Resulting Numbers: [10, 16]
Generated Node #0,0,0: 26:[10, 16] Operation: 53-37=16
Moving to Node #0,0,0
Current State: 26:[10, 16], Operations: ['89-79=10', '53-37=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.