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 |
|---|---|---|---|---|---|---|---|---|
[
77,
59,
60,
19
] | 57 | [
"77+59=136",
"60+19=79",
"136-79=57"
] | Current State: 57:[77, 59, 60, 19], Operations: []
Exploring Operation: 77+59=136, Resulting Numbers: [60, 19, 136]
Generated Node #2: [60, 19, 136] from Operation: 77+59=136
Current State: 57:[60, 19, 136], Operations: ['77+59=136']
Exploring Operation: 60+19=79, Resulting Numbers: [136, 79]
Generated Node #3: [136, 79] from Operation: 60+19=79
Current State: 57:[136, 79], Operations: ['77+59=136', '60+19=79']
Exploring Operation: 136-79=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[77, 59, 60, 19], Operations: []
Exploring Operation: 60-19=41, Resulting Numbers: [77, 59, 41]
Generated Node #0,0: 57:[77, 59, 41] Operation: 60-19=41
Exploring Operation: 77-60=17, Resulting Numbers: [59, 19, 17]
Generated Node #0,1: 57:[59, 19, 17] Operation: 77-60=17
Exploring Operation: 60-59=1, Resulting Numbers: [77, 19, 1]
Generated Node #0,2: 57:[77, 19, 1] Operation: 60-59=1
Exploring Operation: 77-19=58, Resulting Numbers: [59, 60, 58]
Generated Node #0,3: 57:[59, 60, 58] Operation: 77-19=58
Exploring Operation: 77-59=18, Resulting Numbers: [60, 19, 18]
Generated Node #0,4: 57:[60, 19, 18] Operation: 77-59=18
Moving to Node #0,1
Current State: 57:[59, 19, 17], Operations: ['77-60=17']
Exploring Operation: 59-19=40, Resulting Numbers: [17, 40]
Generated Node #0,1,0: 57:[17, 40] Operation: 59-19=40
Exploring Operation: 59+17=76, Resulting Numbers: [19, 76]
Generated Node #0,1,1: 57:[19, 76] Operation: 59+17=76
Exploring Operation: 19+17=36, Resulting Numbers: [59, 36]
Generated Node #0,1,2: 57:[59, 36] Operation: 19+17=36
Exploring Operation: 19-17=2, Resulting Numbers: [59, 2]
Generated Node #0,1,3: 57:[59, 2] Operation: 19-17=2
Exploring Operation: 59-17=42, Resulting Numbers: [19, 42]
Generated Node #0,1,4: 57:[19, 42] Operation: 59-17=42
Moving to Node #0,4
Current State: 57:[60, 19, 18], Operations: ['77-59=18']
Exploring Operation: 19-18=1, Resulting Numbers: [60, 1]
Generated Node #0,4,0: 57:[60, 1] Operation: 19-18=1
Exploring Operation: 60-18=42, Resulting Numbers: [19, 42]
Generated Node #0,4,1: 57:[19, 42] Operation: 60-18=42
Exploring Operation: 60+18=78, Resulting Numbers: [19, 78]
Generated Node #0,4,2: 57:[19, 78] Operation: 60+18=78
Exploring Operation: 19+18=37, Resulting Numbers: [60, 37]
Generated Node #0,4,3: 57:[60, 37] Operation: 19+18=37
Exploring Operation: 60-19=41, Resulting Numbers: [18, 41]
Generated Node #0,4,4: 57:[18, 41] Operation: 60-19=41
Moving to Node #0,3
Current State: 57:[59, 60, 58], Operations: ['77-19=58']
Exploring Operation: 60-59=1, Resulting Numbers: [58, 1]
Generated Node #0,3,0: 57:[58, 1] Operation: 60-59=1
Exploring Operation: 59+60=119, Resulting Numbers: [58, 119]
Generated Node #0,3,1: 57:[58, 119] Operation: 59+60=119
Exploring Operation: 59+58=117, Resulting Numbers: [60, 117]
Generated Node #0,3,2: 57:[60, 117] Operation: 59+58=117
Exploring Operation: 59-58=1, Resulting Numbers: [60, 1]
Generated Node #0,3,3: 57:[60, 1] Operation: 59-58=1
Exploring Operation: 60-58=2, Resulting Numbers: [59, 2]
Generated Node #0,3,4: 57:[59, 2] Operation: 60-58=2
Moving to Node #0,2
Current State: 57:[77, 19, 1], Operations: ['60-59=1']
Exploring Operation: 77-19=58, Resulting Numbers: [1, 58]
Generated Node #0,2,0: 57:[1, 58] Operation: 77-19=58
Exploring Operation: 77-1=76, Resulting Numbers: [19, 76]
Generated Node #0,2,1: 57:[19, 76] Operation: 77-1=76
Exploring Operation: 77/1=77, Resulting Numbers: [19, 77]
Generated Node #0,2,2: 57:[19, 77] Operation: 77/1=77
Exploring Operation: 77*1=77, Resulting Numbers: [19, 77]
Generated Node #0,2,3: 57:[19, 77] Operation: 77*1=77
Exploring Operation: 19*1=19, Resulting Numbers: [77, 19]
Generated Node #0,2,4: 57:[77, 19] Operation: 19*1=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[1, 58], Operations: ['60-59=1', '77-19=58']
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 1+58=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[77, 59, 60, 19], Operations: []
Exploring Operation: 60-59=1, Resulting Numbers: [77, 19, 1]
Generated Node #0,2: 57:[77, 19, 1] Operation: 60-59=1
Moving to Node #0,2
Current State: 57:[77, 19, 1], Operations: ['60-59=1']
Exploring Operation: 77-19=58, Resulting Numbers: [1, 58]
Generated Node #0,2,0: 57:[1, 58] Operation: 77-19=58
Moving to Node #0,2,0
Current State: 57:[1, 58], Operations: ['60-59=1', '77-19=58']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_5 | sum_heuristic |
[
65,
84,
56,
26
] | 49 | [
"84-65=19",
"56-26=30",
"19+30=49"
] | Current State: 49:[65, 84, 56, 26], Operations: []
Exploring Operation: 84-65=19, Resulting Numbers: [56, 26, 19]
Generated Node #2: [56, 26, 19] from Operation: 84-65=19
Current State: 49:[56, 26, 19], Operations: ['84-65=19']
Exploring Operation: 56-26=30, Resulting Numbers: [19, 30]
Generated Node #3: [19, 30] from Operation: 56-26=30
Current State: 49:[19, 30], Operations: ['84-65=19', '56-26=30']
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[65, 84, 56, 26], Operations: []
Exploring Operation: 84-26=58, Resulting Numbers: [65, 56, 58]
Generated Node #0,0: 49:[65, 56, 58] Operation: 84-26=58
Exploring Operation: 65-26=39, Resulting Numbers: [84, 56, 39]
Generated Node #0,1: 49:[84, 56, 39] Operation: 65-26=39
Exploring Operation: 84-65=19, Resulting Numbers: [56, 26, 19]
Generated Node #0,2: 49:[56, 26, 19] Operation: 84-65=19
Exploring Operation: 65-56=9, Resulting Numbers: [84, 26, 9]
Generated Node #0,3: 49:[84, 26, 9] Operation: 65-56=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[65, 56, 58], Operations: ['84-26=58']
Exploring Operation: 65-56=9, Resulting Numbers: [58, 9]
Generated Node #0,0,0: 49:[58, 9] Operation: 65-56=9
Exploring Operation: 65-58=7, Resulting Numbers: [56, 7]
Generated Node #0,0,1: 49:[56, 7] Operation: 65-58=7
Exploring Operation: 58-56=2, Resulting Numbers: [65, 2]
Generated Node #0,0,2: 49:[65, 2] Operation: 58-56=2
Exploring Operation: 65+56=121, Resulting Numbers: [58, 121]
Generated Node #0,0,3: 49:[58, 121] Operation: 65+56=121
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[56, 7], Operations: ['84-26=58', '65-58=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,49 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[65, 84, 56, 26], Operations: []
Exploring Operation: 84-26=58, Resulting Numbers: [65, 56, 58]
Generated Node #0,0: 49:[65, 56, 58] Operation: 84-26=58
Moving to Node #0,0
Current State: 49:[65, 56, 58], Operations: ['84-26=58']
Exploring Operation: 65-58=7, Resulting Numbers: [56, 7]
Generated Node #0,0,1: 49:[56, 7] Operation: 65-58=7
Moving to Node #0,0,1
Current State: 49:[56, 7], Operations: ['84-26=58', '65-58=7']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
79,
3,
17,
34
] | 99 | [
"79+3=82",
"34-17=17",
"82+17=99"
] | Current State: 99:[79, 3, 17, 34], Operations: []
Exploring Operation: 79+3=82, Resulting Numbers: [17, 34, 82]
Generated Node #2: [17, 34, 82] from Operation: 79+3=82
Current State: 99:[17, 34, 82], Operations: ['79+3=82']
Exploring Operation: 34-17=17, Resulting Numbers: [82, 17]
Generated Node #3: [82, 17] from Operation: 34-17=17
Current State: 99:[82, 17], Operations: ['79+3=82', '34-17=17']
Exploring Operation: 82+17=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[79, 3, 17, 34], Operations: []
Exploring Operation: 79+17=96, Resulting Numbers: [3, 34, 96]
Generated Node #0,0: 99:[3, 34, 96] Operation: 79+17=96
Exploring Operation: 79-34=45, Resulting Numbers: [3, 17, 45]
Generated Node #0,1: 99:[3, 17, 45] Operation: 79-34=45
Moving to Node #0,0
Current State: 99:[3, 34, 96], Operations: ['79+17=96']
Exploring Operation: 96/3=32, Resulting Numbers: [34, 32]
Generated Node #0,0,0: 99:[34, 32] Operation: 96/3=32
Exploring Operation: 3+96=99, Resulting Numbers: [34, 99]
Generated Node #0,0,1: 99:[34, 99] Operation: 3+96=99
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[34, 99], Operations: ['79+17=96', '3+96=99']
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 34+99=133, Resulting Numbers: [133]
133,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,0
Current State: 99:[34, 32], Operations: ['79+17=96', '96/3=32']
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,99 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 99:[3, 17, 45], Operations: ['79-34=45']
Exploring Operation: 45-17=28, Resulting Numbers: [3, 28]
Generated Node #0,1,0: 99:[3, 28] Operation: 45-17=28
Exploring Operation: 45/3=15, Resulting Numbers: [17, 15]
Generated Node #0,1,1: 99:[17, 15] Operation: 45/3=15
Moving to Node #0,1,0
Current State: 99:[3, 28], Operations: ['79-34=45', '45-17=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[17, 15], Operations: ['79-34=45', '45/3=15']
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
15,
30,
80,
1
] | 82 | [
"30/15=2",
"80*1=80",
"2+80=82"
] | Current State: 82:[15, 30, 80, 1], Operations: []
Exploring Operation: 30/15=2, Resulting Numbers: [80, 1, 2]
Generated Node #2: [80, 1, 2] from Operation: 30/15=2
Current State: 82:[80, 1, 2], Operations: ['30/15=2']
Exploring Operation: 80*1=80, Resulting Numbers: [2, 80]
Generated Node #3: [2, 80] from Operation: 80*1=80
Current State: 82:[2, 80], Operations: ['30/15=2', '80*1=80']
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[15, 30, 80, 1], Operations: []
Exploring Operation: 30/15=2, Resulting Numbers: [80, 1, 2]
Generated Node #0,0: 82:[80, 1, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[80, 1, 2], Operations: ['30/15=2']
Exploring Operation: 80+1=81, Resulting Numbers: [2, 81]
Generated Node #0,0,0: 82:[2, 81] Operation: 80+1=81
Moving to Node #0,0,0
Current State: 82:[2, 81], Operations: ['30/15=2', '80+1=81']
Exploring Operation: 2+81=83, Resulting Numbers: [83]
83,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
5,
25,
20,
13
] | 61 | [
"25*13=325",
"325-20=305",
"305/5=61"
] | Current State: 61:[5, 25, 20, 13], Operations: []
Exploring Operation: 25*13=325, Resulting Numbers: [5, 20, 325]
Generated Node #2: [5, 20, 325] from Operation: 25*13=325
Current State: 61:[5, 20, 325], Operations: ['25*13=325']
Exploring Operation: 325-20=305, Resulting Numbers: [5, 305]
Generated Node #3: [5, 305] from Operation: 325-20=305
Current State: 61:[5, 305], Operations: ['25*13=325', '325-20=305']
Exploring Operation: 305/5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[5, 25, 20, 13], Operations: []
Exploring Operation: 5+13=18, Resulting Numbers: [25, 20, 18]
Generated Node #0,0: 61:[25, 20, 18] Operation: 5+13=18
Exploring Operation: 5+25=30, Resulting Numbers: [20, 13, 30]
Generated Node #0,1: 61:[20, 13, 30] Operation: 5+25=30
Exploring Operation: 25+20=45, Resulting Numbers: [5, 13, 45]
Generated Node #0,2: 61:[5, 13, 45] Operation: 25+20=45
Exploring Operation: 5+20=25, Resulting Numbers: [25, 13, 25]
Generated Node #0,3: 61:[25, 13, 25] Operation: 5+20=25
Exploring Operation: 5*13=65, Resulting Numbers: [25, 20, 65]
Generated Node #0,4: 61:[25, 20, 65] Operation: 5*13=65
Start Sub Search at level 1: Moving to Node #0,4
Current State: 61:[25, 20, 65], Operations: ['5*13=65']
Exploring Operation: 65-25=40, Resulting Numbers: [20, 40]
Generated Node #0,4,0: 61:[20, 40] Operation: 65-25=40
Exploring Operation: 25-20=5, Resulting Numbers: [65, 5]
Generated Node #0,4,1: 61:[65, 5] Operation: 25-20=5
Exploring Operation: 25+20=45, Resulting Numbers: [65, 45]
Generated Node #0,4,2: 61:[65, 45] Operation: 25+20=45
Exploring Operation: 20+65=85, Resulting Numbers: [25, 85]
Generated Node #0,4,3: 61:[25, 85] Operation: 20+65=85
Exploring Operation: 65-20=45, Resulting Numbers: [25, 45]
Generated Node #0,4,4: 61:[25, 45] Operation: 65-20=45
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 61:[65, 45], Operations: ['5*13=65', '25+20=45']
Exploring Operation: 65*45=2925, Resulting Numbers: [2925]
2925,61 unequal: No Solution
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 65+45=110, Resulting Numbers: [110]
110,61 unequal: No Solution
No 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: 61:[25, 45], Operations: ['5*13=65', '65-20=45']
Exploring Operation: 25*45=1125, Resulting Numbers: [1125]
1125,61 unequal: No Solution
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,61 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,61 unequal: No Solution
No 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: 61:[65, 5], Operations: ['5*13=65', '25-20=5']
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 65*5=325, Resulting Numbers: [325]
325,61 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,61 unequal: No Solution
No 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: 61:[25, 85], Operations: ['5*13=65', '20+65=85']
Exploring Operation: 25*85=2125, Resulting Numbers: [2125]
2125,61 unequal: No Solution
Exploring Operation: 85-25=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 25+85=110, Resulting Numbers: [110]
110,61 unequal: No Solution
No 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: 61:[20, 40], Operations: ['5*13=65', '65-25=40']
Exploring Operation: 20*40=800, Resulting Numbers: [800]
800,61 unequal: No Solution
Exploring Operation: 20+40=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,61 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: 61:[25, 20, 18], Operations: ['5+13=18']
Exploring Operation: 25+20=45, Resulting Numbers: [18, 45]
Generated Node #0,0,0: 61:[18, 45] Operation: 25+20=45
Exploring Operation: 25-18=7, Resulting Numbers: [20, 7]
Generated Node #0,0,1: 61:[20, 7] Operation: 25-18=7
Exploring Operation: 25+18=43, Resulting Numbers: [20, 43]
Generated Node #0,0,2: 61:[20, 43] Operation: 25+18=43
Exploring Operation: 20+18=38, Resulting Numbers: [25, 38]
Generated Node #0,0,3: 61:[25, 38] Operation: 20+18=38
Exploring Operation: 20-18=2, Resulting Numbers: [25, 2]
Generated Node #0,0,4: 61:[25, 2] Operation: 20-18=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[18, 45], Operations: ['5+13=18', '25+20=45']
Exploring Operation: 18*45=810, Resulting Numbers: [810]
810,61 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,61 unequal: No Solution
No 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: 61:[20, 43], Operations: ['5+13=18', '25+18=43']
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,61 unequal: No Solution
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,61 unequal: No Solution
No 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: 61:[25, 38], Operations: ['5+13=18', '20+18=38']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,61 unequal: No Solution
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,61 unequal: No Solution
No 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: 61:[20, 7], Operations: ['5+13=18', '25-18=7']
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,61 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,61 unequal: No Solution
No 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: 61:[25, 2], Operations: ['5+13=18', '20-18=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,61 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: 61:[20, 13, 30], Operations: ['5+25=30']
Exploring Operation: 20+30=50, Resulting Numbers: [13, 50]
Generated Node #0,1,0: 61:[13, 50] Operation: 20+30=50
Exploring Operation: 13+30=43, Resulting Numbers: [20, 43]
Generated Node #0,1,1: 61:[20, 43] Operation: 13+30=43
Exploring Operation: 30-13=17, Resulting Numbers: [20, 17]
Generated Node #0,1,2: 61:[20, 17] Operation: 30-13=17
Exploring Operation: 20+13=33, Resulting Numbers: [30, 33]
Generated Node #0,1,3: 61:[30, 33] Operation: 20+13=33
Exploring Operation: 20-13=7, Resulting Numbers: [30, 7]
Generated Node #0,1,4: 61:[30, 7] Operation: 20-13=7
Moving to Node #0,1,0
Current State: 61:[13, 50], Operations: ['5+25=30', '20+30=50']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[30, 33], Operations: ['5+25=30', '20+13=33']
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,61 unequal: No Solution
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[20, 43], Operations: ['5+25=30', '13+30=43']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[20, 17], Operations: ['5+25=30', '30-13=17']
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,61 unequal: No Solution
Moving to Node #0,1,4
Current State: 61:[30, 7], Operations: ['5+25=30', '20-13=7']
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,61 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[5, 13, 45], Operations: ['25+20=45']
Exploring Operation: 13+45=58, Resulting Numbers: [5, 58]
Generated Node #0,2,0: 61:[5, 58] Operation: 13+45=58
Exploring Operation: 13-5=8, Resulting Numbers: [45, 8]
Generated Node #0,2,1: 61:[45, 8] Operation: 13-5=8
Exploring Operation: 5+13=18, Resulting Numbers: [45, 18]
Generated Node #0,2,2: 61:[45, 18] Operation: 5+13=18
Exploring Operation: 5*13=65, Resulting Numbers: [45, 65]
Generated Node #0,2,3: 61:[45, 65] Operation: 5*13=65
Exploring Operation: 5+45=50, Resulting Numbers: [13, 50]
Generated Node #0,2,4: 61:[13, 50] Operation: 5+45=50
Moving to Node #0,2,3
Current State: 61:[45, 65], Operations: ['25+20=45', '5*13=65']
Exploring Operation: 45+65=110, Resulting Numbers: [110]
110,61 unequal: No Solution
Exploring Operation: 45*65=2925, Resulting Numbers: [2925]
2925,61 unequal: No Solution
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[45, 18], Operations: ['25+20=45', '5+13=18']
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,61 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[5, 58], Operations: ['25+20=45', '13+45=58']
Exploring Operation: 5*58=290, Resulting Numbers: [290]
290,61 unequal: No Solution
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,61 unequal: No Solution
Moving to Node #0,2,4
Current State: 61:[13, 50], Operations: ['25+20=45', '5+45=50']
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[45, 8], Operations: ['25+20=45', '13-5=8']
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,61 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[25, 13, 25], Operations: ['5+20=25']
Exploring Operation: 25-13=12, Resulting Numbers: [25, 12]
Generated Node #0,3,0: 61:[25, 12] Operation: 25-13=12
Exploring Operation: 25+25=50, Resulting Numbers: [13, 50]
Generated Node #0,3,1: 61:[13, 50] Operation: 25+25=50
Exploring Operation: 25-13=12, Resulting Numbers: [25, 12]
Generated Node #0,3,2: 61:[25, 12] Operation: 25-13=12
Exploring Operation: 13+25=38, Resulting Numbers: [25, 38]
Generated Node #0,3,3: 61:[25, 38] Operation: 13+25=38
Exploring Operation: 25+13=38, Resulting Numbers: [25, 38]
Generated Node #0,3,4: 61:[25, 38] Operation: 25+13=38
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 61:[13, 50], Operations: ['5+20=25', '25+25=50']
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,61 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,61 unequal: No Solution
No 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: 61:[25, 38], Operations: ['5+20=25', '13+25=38']
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,61 unequal: No Solution
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 61:[25, 38], Operations: ['5+20=25', '25+13=38']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,61 unequal: No Solution
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,61 unequal: No Solution
No 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: 61:[25, 12], Operations: ['5+20=25', '25-13=12']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,61 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,61 unequal: No Solution
No 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: 61:[25, 12], Operations: ['5+20=25', '25-13=12']
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,61 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
66,
98,
40,
61
] | 53 | [
"98-66=32",
"61-40=21",
"32+21=53"
] | Current State: 53:[66, 98, 40, 61], Operations: []
Exploring Operation: 98-66=32, Resulting Numbers: [40, 61, 32]
Generated Node #2: [40, 61, 32] from Operation: 98-66=32
Current State: 53:[40, 61, 32], Operations: ['98-66=32']
Exploring Operation: 61-40=21, Resulting Numbers: [32, 21]
Generated Node #3: [32, 21] from Operation: 61-40=21
Current State: 53:[32, 21], Operations: ['98-66=32', '61-40=21']
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[66, 98, 40, 61], Operations: []
Exploring Operation: 98-61=37, Resulting Numbers: [66, 40, 37]
Generated Node #0,0: 53:[66, 40, 37] Operation: 98-61=37
Exploring Operation: 98-40=58, Resulting Numbers: [66, 61, 58]
Generated Node #0,1: 53:[66, 61, 58] Operation: 98-40=58
Exploring Operation: 61-40=21, Resulting Numbers: [66, 98, 21]
Generated Node #0,2: 53:[66, 98, 21] Operation: 61-40=21
Exploring Operation: 66-40=26, Resulting Numbers: [98, 61, 26]
Generated Node #0,3: 53:[98, 61, 26] Operation: 66-40=26
Exploring Operation: 98-66=32, Resulting Numbers: [40, 61, 32]
Generated Node #0,4: 53:[40, 61, 32] Operation: 98-66=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[66, 61, 58], Operations: ['98-40=58']
Exploring Operation: 66-58=8, Resulting Numbers: [61, 8]
Generated Node #0,1,0: 53:[61, 8] Operation: 66-58=8
Exploring Operation: 61-58=3, Resulting Numbers: [66, 3]
Generated Node #0,1,1: 53:[66, 3] Operation: 61-58=3
Exploring Operation: 66+61=127, Resulting Numbers: [58, 127]
Generated Node #0,1,2: 53:[58, 127] Operation: 66+61=127
Exploring Operation: 66+58=124, Resulting Numbers: [61, 124]
Generated Node #0,1,3: 53:[61, 124] Operation: 66+58=124
Exploring Operation: 66-61=5, Resulting Numbers: [58, 5]
Generated Node #0,1,4: 53:[58, 5] Operation: 66-61=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[61, 8], Operations: ['98-40=58', '66-58=8']
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,53 unequal: No Solution
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,53 unequal: No Solution
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[66, 98, 40, 61], Operations: []
Exploring Operation: 98-40=58, Resulting Numbers: [66, 61, 58]
Generated Node #0,1: 53:[66, 61, 58] Operation: 98-40=58
Moving to Node #0,1
Current State: 53:[66, 61, 58], Operations: ['98-40=58']
Exploring Operation: 66-58=8, Resulting Numbers: [61, 8]
Generated Node #0,1,0: 53:[61, 8] Operation: 66-58=8
Moving to Node #0,1,0
Current State: 53:[61, 8], Operations: ['98-40=58', '66-58=8']
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
43,
19,
73,
38
] | 15 | [
"73-43=30",
"38/19=2",
"30/2=15"
] | Current State: 15:[43, 19, 73, 38], Operations: []
Exploring Operation: 73-43=30, Resulting Numbers: [19, 38, 30]
Generated Node #2: [19, 38, 30] from Operation: 73-43=30
Current State: 15:[19, 38, 30], Operations: ['73-43=30']
Exploring Operation: 38/19=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 38/19=2
Current State: 15:[30, 2], Operations: ['73-43=30', '38/19=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[43, 19, 73, 38], Operations: []
Exploring Operation: 73-43=30, Resulting Numbers: [19, 38, 30]
Generated Node #0,0: 15:[19, 38, 30] Operation: 73-43=30
Exploring Operation: 38/19=2, Resulting Numbers: [43, 73, 2]
Generated Node #0,1: 15:[43, 73, 2] Operation: 38/19=2
Exploring Operation: 43-38=5, Resulting Numbers: [19, 73, 5]
Generated Node #0,2: 15:[19, 73, 5] Operation: 43-38=5
Exploring Operation: 73-38=35, Resulting Numbers: [43, 19, 35]
Generated Node #0,3: 15:[43, 19, 35] Operation: 73-38=35
Moving to Node #0,0
Current State: 15:[19, 38, 30], Operations: ['73-43=30']
Exploring Operation: 30-19=11, Resulting Numbers: [38, 11]
Generated Node #0,0,0: 15:[38, 11] Operation: 30-19=11
Exploring Operation: 38-19=19, Resulting Numbers: [30, 19]
Generated Node #0,0,1: 15:[30, 19] Operation: 38-19=19
Exploring Operation: 38-30=8, Resulting Numbers: [19, 8]
Generated Node #0,0,2: 15:[19, 8] Operation: 38-30=8
Exploring Operation: 38/19=2, Resulting Numbers: [30, 2]
Generated Node #0,0,3: 15:[30, 2] Operation: 38/19=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[19, 8], Operations: ['73-43=30', '38-30=8']
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,15 unequal: No Solution
Exploring Operation: 19-8=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,0,3
Current State: 15:[30, 2], Operations: ['73-43=30', '38/19=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[43, 19, 73, 38], Operations: []
Exploring Operation: 73-43=30, Resulting Numbers: [19, 38, 30]
Generated Node #0,0: 15:[19, 38, 30] Operation: 73-43=30
Moving to Node #0,0
Current State: 15:[19, 38, 30], Operations: ['73-43=30']
Exploring Operation: 38/19=2, Resulting Numbers: [30, 2]
Generated Node #0,0,3: 15:[30, 2] Operation: 38/19=2
Moving to Node #0,0,3
Current State: 15:[30, 2], Operations: ['73-43=30', '38/19=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
12,
83,
25,
21
] | 75 | [
"83-12=71",
"25-21=4",
"71+4=75"
] | Current State: 75:[12, 83, 25, 21], Operations: []
Exploring Operation: 83-12=71, Resulting Numbers: [25, 21, 71]
Generated Node #2: [25, 21, 71] from Operation: 83-12=71
Current State: 75:[25, 21, 71], Operations: ['83-12=71']
Exploring Operation: 25-21=4, Resulting Numbers: [71, 4]
Generated Node #3: [71, 4] from Operation: 25-21=4
Current State: 75:[71, 4], Operations: ['83-12=71', '25-21=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[12, 83, 25, 21], Operations: []
Exploring Operation: 83-12=71, Resulting Numbers: [25, 21, 71]
Generated Node #0,0: 75:[25, 21, 71] Operation: 83-12=71
Exploring Operation: 25-12=13, Resulting Numbers: [83, 21, 13]
Generated Node #0,1: 75:[83, 21, 13] Operation: 25-12=13
Exploring Operation: 21-12=9, Resulting Numbers: [83, 25, 9]
Generated Node #0,2: 75:[83, 25, 9] Operation: 21-12=9
Exploring Operation: 25-21=4, Resulting Numbers: [12, 83, 4]
Generated Node #0,3: 75:[12, 83, 4] Operation: 25-21=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[25, 21, 71], Operations: ['83-12=71']
Exploring Operation: 25+71=96, Resulting Numbers: [21, 96]
Generated Node #0,0,0: 75:[21, 96] Operation: 25+71=96
Exploring Operation: 21+71=92, Resulting Numbers: [25, 92]
Generated Node #0,0,1: 75:[25, 92] Operation: 21+71=92
Exploring Operation: 25+21=46, Resulting Numbers: [71, 46]
Generated Node #0,0,2: 75:[71, 46] Operation: 25+21=46
Exploring Operation: 25-21=4, Resulting Numbers: [71, 4]
Generated Node #0,0,3: 75:[71, 4] Operation: 25-21=4
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 75:[71, 4], Operations: ['83-12=71', '25-21=4']
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,75 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[12, 83, 25, 21], Operations: []
Exploring Operation: 83-12=71, Resulting Numbers: [25, 21, 71]
Generated Node #0,0: 75:[25, 21, 71] Operation: 83-12=71
Moving to Node #0,0
Current State: 75:[25, 21, 71], Operations: ['83-12=71']
Exploring Operation: 25-21=4, Resulting Numbers: [71, 4]
Generated Node #0,0,3: 75:[71, 4] Operation: 25-21=4
Moving to Node #0,0,3
Current State: 75:[71, 4], Operations: ['83-12=71', '25-21=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
81,
29,
69,
26
] | 58 | [
"29-26=3",
"69/3=23",
"81-23=58"
] | Current State: 58:[81, 29, 69, 26], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [81, 69, 3]
Generated Node #2: [81, 69, 3] from Operation: 29-26=3
Current State: 58:[81, 69, 3], Operations: ['29-26=3']
Exploring Operation: 69/3=23, Resulting Numbers: [81, 23]
Generated Node #3: [81, 23] from Operation: 69/3=23
Current State: 58:[81, 23], Operations: ['29-26=3', '69/3=23']
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[81, 29, 69, 26], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [81, 69, 3]
Generated Node #0,0: 58:[81, 69, 3] Operation: 29-26=3
Exploring Operation: 81-26=55, Resulting Numbers: [29, 69, 55]
Generated Node #0,1: 58:[29, 69, 55] Operation: 81-26=55
Exploring Operation: 81-69=12, Resulting Numbers: [29, 26, 12]
Generated Node #0,2: 58:[29, 26, 12] Operation: 81-69=12
Exploring Operation: 81-29=52, Resulting Numbers: [69, 26, 52]
Generated Node #0,3: 58:[69, 26, 52] Operation: 81-29=52
Exploring Operation: 69-29=40, Resulting Numbers: [81, 26, 40]
Generated Node #0,4: 58:[81, 26, 40] Operation: 69-29=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[29, 26, 12], Operations: ['81-69=12']
Exploring Operation: 29-26=3, Resulting Numbers: [12, 3]
Generated Node #0,2,0: 58:[12, 3] Operation: 29-26=3
Exploring Operation: 29+26=55, Resulting Numbers: [12, 55]
Generated Node #0,2,1: 58:[12, 55] Operation: 29+26=55
Exploring Operation: 26-12=14, Resulting Numbers: [29, 14]
Generated Node #0,2,2: 58:[29, 14] Operation: 26-12=14
Exploring Operation: 29+12=41, Resulting Numbers: [26, 41]
Generated Node #0,2,3: 58:[26, 41] Operation: 29+12=41
Exploring Operation: 26+12=38, Resulting Numbers: [29, 38]
Generated Node #0,2,4: 58:[29, 38] Operation: 26+12=38
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 58:[29, 38], Operations: ['81-69=12', '26+12=38']
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,58 unequal: No Solution
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,58 unequal: No Solution
No 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: 58:[12, 3], Operations: ['81-69=12', '29-26=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,58 unequal: No Solution
No 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: 58:[29, 14], Operations: ['81-69=12', '26-12=14']
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,58 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,58 unequal: No Solution
No 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: 58:[12, 55], Operations: ['81-69=12', '29+26=55']
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,58 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,58 unequal: No Solution
No 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: 58:[26, 41], Operations: ['81-69=12', '29+12=41']
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,58 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,58 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: 58:[29, 69, 55], Operations: ['81-26=55']
Exploring Operation: 69-29=40, Resulting Numbers: [55, 40]
Generated Node #0,1,0: 58:[55, 40] Operation: 69-29=40
Exploring Operation: 69-55=14, Resulting Numbers: [29, 14]
Generated Node #0,1,1: 58:[29, 14] Operation: 69-55=14
Exploring Operation: 29+69=98, Resulting Numbers: [55, 98]
Generated Node #0,1,2: 58:[55, 98] Operation: 29+69=98
Exploring Operation: 29+55=84, Resulting Numbers: [69, 84]
Generated Node #0,1,3: 58:[69, 84] Operation: 29+55=84
Exploring Operation: 55-29=26, Resulting Numbers: [69, 26]
Generated Node #0,1,4: 58:[69, 26] Operation: 55-29=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[29, 14], Operations: ['81-26=55', '69-55=14']
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,58 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,58 unequal: No Solution
No 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: 58:[55, 40], Operations: ['81-26=55', '69-29=40']
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Exploring Operation: 55*40=2200, Resulting Numbers: [2200]
2200,58 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 58:[69, 26], Operations: ['81-26=55', '55-29=26']
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,58 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 58:[69, 84], Operations: ['81-26=55', '29+55=84']
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 69+84=153, Resulting Numbers: [153]
153,58 unequal: No Solution
Exploring Operation: 69*84=5796, Resulting Numbers: [5796]
5796,58 unequal: No Solution
No 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: 58:[55, 98], Operations: ['81-26=55', '29+69=98']
Exploring Operation: 98-55=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 55*98=5390, Resulting Numbers: [5390]
5390,58 unequal: No Solution
Exploring Operation: 55+98=153, Resulting Numbers: [153]
153,58 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: 58:[69, 26, 52], Operations: ['81-29=52']
Exploring Operation: 69-26=43, Resulting Numbers: [52, 43]
Generated Node #0,3,0: 58:[52, 43] Operation: 69-26=43
Exploring Operation: 52-26=26, Resulting Numbers: [69, 26]
Generated Node #0,3,1: 58:[69, 26] Operation: 52-26=26
Exploring Operation: 52/26=2, Resulting Numbers: [69, 2]
Generated Node #0,3,2: 58:[69, 2] Operation: 52/26=2
Exploring Operation: 69-52=17, Resulting Numbers: [26, 17]
Generated Node #0,3,3: 58:[26, 17] Operation: 69-52=17
Exploring Operation: 26+52=78, Resulting Numbers: [69, 78]
Generated Node #0,3,4: 58:[69, 78] Operation: 26+52=78
Moving to Node #0,3,2
Current State: 58:[69, 2], Operations: ['81-29=52', '52/26=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,58 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[69, 26], Operations: ['81-29=52', '52-26=26']
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[26, 17], Operations: ['81-29=52', '69-52=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,58 unequal: No Solution
Moving to Node #0,3,0
Current State: 58:[52, 43], Operations: ['81-29=52', '69-26=43']
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,58 unequal: No Solution
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Moving to Node #0,3,4
Current State: 58:[69, 78], Operations: ['81-29=52', '26+52=78']
Exploring Operation: 78-69=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 69+78=147, Resulting Numbers: [147]
147,58 unequal: No Solution
Exploring Operation: 69*78=5382, Resulting Numbers: [5382]
5382,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[81, 69, 3], Operations: ['29-26=3']
Exploring Operation: 69-3=66, Resulting Numbers: [81, 66]
Generated Node #0,0,0: 58:[81, 66] Operation: 69-3=66
Exploring Operation: 81/3=27, Resulting Numbers: [69, 27]
Generated Node #0,0,1: 58:[69, 27] Operation: 81/3=27
Exploring Operation: 81-3=78, Resulting Numbers: [69, 78]
Generated Node #0,0,2: 58:[69, 78] Operation: 81-3=78
Exploring Operation: 81-69=12, Resulting Numbers: [3, 12]
Generated Node #0,0,3: 58:[3, 12] Operation: 81-69=12
Exploring Operation: 69/3=23, Resulting Numbers: [81, 23]
Generated Node #0,0,4: 58:[81, 23] Operation: 69/3=23
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 58:[3, 12], Operations: ['29-26=3', '81-69=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,58 unequal: No Solution
No 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: 58:[69, 27], Operations: ['29-26=3', '81/3=27']
Exploring Operation: 69+27=96, Resulting Numbers: [96]
96,58 unequal: No Solution
Exploring Operation: 69*27=1863, Resulting Numbers: [1863]
1863,58 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,58 unequal: No Solution
No 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: 58:[81, 23], Operations: ['29-26=3', '69/3=23']
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,58 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[81, 29, 69, 26], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [81, 69, 3]
Generated Node #0,0: 58:[81, 69, 3] Operation: 29-26=3
Moving to Node #0,0
Current State: 58:[81, 69, 3], Operations: ['29-26=3']
Exploring Operation: 69/3=23, Resulting Numbers: [81, 23]
Generated Node #0,0,4: 58:[81, 23] Operation: 69/3=23
Moving to Node #0,0,4
Current State: 58:[81, 23], Operations: ['29-26=3', '69/3=23']
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.927083 | hs_5 | sum_heuristic |
[
14,
83,
7,
86
] | 35 | [
"86-83=3",
"14*3=42",
"42-7=35"
] | Current State: 35:[14, 83, 7, 86], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [14, 7, 3]
Generated Node #2: [14, 7, 3] from Operation: 86-83=3
Current State: 35:[14, 7, 3], Operations: ['86-83=3']
Exploring Operation: 14*3=42, Resulting Numbers: [7, 42]
Generated Node #3: [7, 42] from Operation: 14*3=42
Current State: 35:[7, 42], Operations: ['86-83=3', '14*3=42']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[14, 83, 7, 86], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [14, 7, 3]
Generated Node #0,0: 35:[14, 7, 3] Operation: 86-83=3
Moving to Node #0,0
Current State: 35:[14, 7, 3], Operations: ['86-83=3']
Exploring Operation: 14-7=7, Resulting Numbers: [3, 7]
Generated Node #0,0,0: 35:[3, 7] Operation: 14-7=7
Moving to Node #0,0,0
Current State: 35:[3, 7], Operations: ['86-83=3', '14-7=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,35 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
51,
2,
93,
68
] | 89 | [
"93-51=42",
"42/2=21",
"68+21=89"
] | Current State: 89:[51, 2, 93, 68], Operations: []
Exploring Operation: 93-51=42, Resulting Numbers: [2, 68, 42]
Generated Node #2: [2, 68, 42] from Operation: 93-51=42
Current State: 89:[2, 68, 42], Operations: ['93-51=42']
Exploring Operation: 42/2=21, Resulting Numbers: [68, 21]
Generated Node #3: [68, 21] from Operation: 42/2=21
Current State: 89:[68, 21], Operations: ['93-51=42', '42/2=21']
Exploring Operation: 68+21=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[51, 2, 93, 68], Operations: []
Exploring Operation: 51*2=102, Resulting Numbers: [93, 68, 102]
Generated Node #0,0: 89:[93, 68, 102] Operation: 51*2=102
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[93, 68, 102], Operations: ['51*2=102']
Exploring Operation: 102-68=34, Resulting Numbers: [93, 34]
Generated Node #0,0,0: 89:[93, 34] Operation: 102-68=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[93, 34], Operations: ['51*2=102', '102-68=34']
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
91,
48,
61,
45
] | 88 | [
"61-45=16",
"48/16=3",
"91-3=88"
] | Current State: 88:[91, 48, 61, 45], Operations: []
Exploring Operation: 61-45=16, Resulting Numbers: [91, 48, 16]
Generated Node #2: [91, 48, 16] from Operation: 61-45=16
Current State: 88:[91, 48, 16], Operations: ['61-45=16']
Exploring Operation: 48/16=3, Resulting Numbers: [91, 3]
Generated Node #3: [91, 3] from Operation: 48/16=3
Current State: 88:[91, 3], Operations: ['61-45=16', '48/16=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[91, 48, 61, 45], Operations: []
Exploring Operation: 61-48=13, Resulting Numbers: [91, 45, 13]
Generated Node #0,0: 88:[91, 45, 13] Operation: 61-48=13
Exploring Operation: 91-48=43, Resulting Numbers: [61, 45, 43]
Generated Node #0,1: 88:[61, 45, 43] Operation: 91-48=43
Exploring Operation: 61-45=16, Resulting Numbers: [91, 48, 16]
Generated Node #0,2: 88:[91, 48, 16] Operation: 61-45=16
Exploring Operation: 91-61=30, Resulting Numbers: [48, 45, 30]
Generated Node #0,3: 88:[48, 45, 30] Operation: 91-61=30
Moving to Node #0,0
Current State: 88:[91, 45, 13], Operations: ['61-48=13']
Exploring Operation: 91-13=78, Resulting Numbers: [45, 78]
Generated Node #0,0,0: 88:[45, 78] Operation: 91-13=78
Exploring Operation: 91-45=46, Resulting Numbers: [13, 46]
Generated Node #0,0,1: 88:[13, 46] Operation: 91-45=46
Exploring Operation: 45-13=32, Resulting Numbers: [91, 32]
Generated Node #0,0,2: 88:[91, 32] Operation: 45-13=32
Exploring Operation: 91/13=7, Resulting Numbers: [45, 7]
Generated Node #0,0,3: 88:[45, 7] Operation: 91/13=7
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[45, 7], Operations: ['61-48=13', '91/13=7']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[13, 46], Operations: ['61-48=13', '91-45=46']
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 13*46=598, Resulting Numbers: [598]
598,88 unequal: No Solution
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[45, 78], Operations: ['61-48=13', '91-13=78']
Exploring Operation: 45+78=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 45*78=3510, Resulting Numbers: [3510]
3510,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[91, 32], Operations: ['61-48=13', '45-13=32']
Exploring Operation: 91+32=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 91*32=2912, Resulting Numbers: [2912]
2912,88 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: 88:[91, 48, 16], Operations: ['61-45=16']
Exploring Operation: 48/16=3, Resulting Numbers: [91, 3]
Generated Node #0,2,0: 88:[91, 3] Operation: 48/16=3
Exploring Operation: 48-16=32, Resulting Numbers: [91, 32]
Generated Node #0,2,1: 88:[91, 32] Operation: 48-16=32
Exploring Operation: 91-16=75, Resulting Numbers: [48, 75]
Generated Node #0,2,2: 88:[48, 75] Operation: 91-16=75
Exploring Operation: 91-48=43, Resulting Numbers: [16, 43]
Generated Node #0,2,3: 88:[16, 43] Operation: 91-48=43
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[91, 3], Operations: ['61-45=16', '48/16=3']
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,88 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[91, 48, 61, 45], Operations: []
Exploring Operation: 61-45=16, Resulting Numbers: [91, 48, 16]
Generated Node #0,2: 88:[91, 48, 16] Operation: 61-45=16
Moving to Node #0,2
Current State: 88:[91, 48, 16], Operations: ['61-45=16']
Exploring Operation: 48/16=3, Resulting Numbers: [91, 3]
Generated Node #0,2,0: 88:[91, 3] Operation: 48/16=3
Moving to Node #0,2,0
Current State: 88:[91, 3], Operations: ['61-45=16', '48/16=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
11,
33,
70,
51
] | 87 | [
"33/11=3",
"51/3=17",
"70+17=87"
] | Current State: 87:[11, 33, 70, 51], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [70, 51, 3]
Generated Node #2: [70, 51, 3] from Operation: 33/11=3
Current State: 87:[70, 51, 3], Operations: ['33/11=3']
Exploring Operation: 51/3=17, Resulting Numbers: [70, 17]
Generated Node #3: [70, 17] from Operation: 51/3=17
Current State: 87:[70, 17], Operations: ['33/11=3', '51/3=17']
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[11, 33, 70, 51], Operations: []
Exploring Operation: 51-11=40, Resulting Numbers: [33, 70, 40]
Generated Node #0,0: 87:[33, 70, 40] Operation: 51-11=40
Exploring Operation: 33+51=84, Resulting Numbers: [11, 70, 84]
Generated Node #0,1: 87:[11, 70, 84] Operation: 33+51=84
Exploring Operation: 11+70=81, Resulting Numbers: [33, 51, 81]
Generated Node #0,2: 87:[33, 51, 81] Operation: 11+70=81
Exploring Operation: 70-51=19, Resulting Numbers: [11, 33, 19]
Generated Node #0,3: 87:[11, 33, 19] Operation: 70-51=19
Moving to Node #0,3
Current State: 87:[11, 33, 19], Operations: ['70-51=19']
Exploring Operation: 11+19=30, Resulting Numbers: [33, 30]
Generated Node #0,3,0: 87:[33, 30] Operation: 11+19=30
Exploring Operation: 33/11=3, Resulting Numbers: [19, 3]
Generated Node #0,3,1: 87:[19, 3] Operation: 33/11=3
Exploring Operation: 19-11=8, Resulting Numbers: [33, 8]
Generated Node #0,3,2: 87:[33, 8] Operation: 19-11=8
Exploring Operation: 33-11=22, Resulting Numbers: [19, 22]
Generated Node #0,3,3: 87:[19, 22] Operation: 33-11=22
Moving to Node #0,1
Current State: 87:[11, 70, 84], Operations: ['33+51=84']
Exploring Operation: 11+84=95, Resulting Numbers: [70, 95]
Generated Node #0,1,0: 87:[70, 95] Operation: 11+84=95
Exploring Operation: 70-11=59, Resulting Numbers: [84, 59]
Generated Node #0,1,1: 87:[84, 59] Operation: 70-11=59
Exploring Operation: 11+70=81, Resulting Numbers: [84, 81]
Generated Node #0,1,2: 87:[84, 81] Operation: 11+70=81
Exploring Operation: 84-70=14, Resulting Numbers: [11, 14]
Generated Node #0,1,3: 87:[11, 14] Operation: 84-70=14
Moving to Node #0,2
Current State: 87:[33, 51, 81], Operations: ['11+70=81']
Exploring Operation: 81-33=48, Resulting Numbers: [51, 48]
Generated Node #0,2,0: 87:[51, 48] Operation: 81-33=48
Exploring Operation: 81-51=30, Resulting Numbers: [33, 30]
Generated Node #0,2,1: 87:[33, 30] Operation: 81-51=30
Exploring Operation: 33+51=84, Resulting Numbers: [81, 84]
Generated Node #0,2,2: 87:[81, 84] Operation: 33+51=84
Exploring Operation: 51-33=18, Resulting Numbers: [81, 18]
Generated Node #0,2,3: 87:[81, 18] Operation: 51-33=18
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[33, 30], Operations: ['11+70=81', '81-51=30']
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,87 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,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:[81, 84], Operations: ['11+70=81', '33+51=84']
Exploring Operation: 81+84=165, Resulting Numbers: [165]
165,87 unequal: No Solution
Exploring Operation: 81*84=6804, Resulting Numbers: [6804]
6804,87 unequal: No Solution
Exploring Operation: 84-81=3, Resulting Numbers: [3]
3,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:[81, 18], Operations: ['11+70=81', '51-33=18']
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,87 unequal: No Solution
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,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:[51, 48], Operations: ['11+70=81', '81-33=48']
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,87 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,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:[33, 70, 40], Operations: ['51-11=40']
Exploring Operation: 70-33=37, Resulting Numbers: [40, 37]
Generated Node #0,0,0: 87:[40, 37] Operation: 70-33=37
Exploring Operation: 70-40=30, Resulting Numbers: [33, 30]
Generated Node #0,0,1: 87:[33, 30] Operation: 70-40=30
Exploring Operation: 40-33=7, Resulting Numbers: [70, 7]
Generated Node #0,0,2: 87:[70, 7] Operation: 40-33=7
Exploring Operation: 33+70=103, Resulting Numbers: [40, 103]
Generated Node #0,0,3: 87:[40, 103] Operation: 33+70=103
Moving to Node #0,3,0
Current State: 87:[33, 30], Operations: ['70-51=19', '11+19=30']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[33, 30], Operations: ['51-11=40', '70-40=30']
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,87 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[84, 81], Operations: ['33+51=84', '11+70=81']
Exploring Operation: 84*81=6804, Resulting Numbers: [6804]
6804,87 unequal: No Solution
Exploring Operation: 84-81=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 84+81=165, Resulting Numbers: [165]
165,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[33, 8], Operations: ['70-51=19', '19-11=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,87 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[19, 3], Operations: ['70-51=19', '33/11=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[19, 22], Operations: ['70-51=19', '33-11=22']
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,87 unequal: No Solution
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,87 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[11, 14], Operations: ['33+51=84', '84-70=14']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[40, 37], Operations: ['51-11=40', '70-33=37']
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,87 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[70, 7], Operations: ['51-11=40', '40-33=7']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,87 unequal: No Solution
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[70, 95], Operations: ['33+51=84', '11+84=95']
Exploring Operation: 95-70=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 70*95=6650, Resulting Numbers: [6650]
6650,87 unequal: No Solution
Exploring Operation: 70+95=165, Resulting Numbers: [165]
165,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[40, 103], Operations: ['51-11=40', '33+70=103']
Exploring Operation: 40+103=143, Resulting Numbers: [143]
143,87 unequal: No Solution
Exploring Operation: 40*103=4120, Resulting Numbers: [4120]
4120,87 unequal: No Solution
Exploring Operation: 103-40=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[84, 59], Operations: ['33+51=84', '70-11=59']
Exploring Operation: 84*59=4956, Resulting Numbers: [4956]
4956,87 unequal: No Solution
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 84+59=143, Resulting Numbers: [143]
143,87 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
14,
5,
16,
46
] | 49 | [
"14+5=19",
"46-16=30",
"19+30=49"
] | Current State: 49:[14, 5, 16, 46], Operations: []
Exploring Operation: 14+5=19, Resulting Numbers: [16, 46, 19]
Generated Node #2: [16, 46, 19] from Operation: 14+5=19
Current State: 49:[16, 46, 19], Operations: ['14+5=19']
Exploring Operation: 46-16=30, Resulting Numbers: [19, 30]
Generated Node #3: [19, 30] from Operation: 46-16=30
Current State: 49:[19, 30], Operations: ['14+5=19', '46-16=30']
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[14, 5, 16, 46], Operations: []
Exploring Operation: 16-5=11, Resulting Numbers: [14, 46, 11]
Generated Node #0,0: 49:[14, 46, 11] Operation: 16-5=11
Exploring Operation: 5+46=51, Resulting Numbers: [14, 16, 51]
Generated Node #0,1: 49:[14, 16, 51] Operation: 5+46=51
Exploring Operation: 16-14=2, Resulting Numbers: [5, 46, 2]
Generated Node #0,2: 49:[5, 46, 2] Operation: 16-14=2
Exploring Operation: 14+46=60, Resulting Numbers: [5, 16, 60]
Generated Node #0,3: 49:[5, 16, 60] Operation: 14+46=60
Exploring Operation: 14-5=9, Resulting Numbers: [16, 46, 9]
Generated Node #0,4: 49:[16, 46, 9] Operation: 14-5=9
Moving to Node #0,2
Current State: 49:[5, 46, 2], Operations: ['16-14=2']
Exploring Operation: 5-2=3, Resulting Numbers: [46, 3]
Generated Node #0,2,0: 49:[46, 3] Operation: 5-2=3
Exploring Operation: 5+46=51, Resulting Numbers: [2, 51]
Generated Node #0,2,1: 49:[2, 51] Operation: 5+46=51
Exploring Operation: 5+2=7, Resulting Numbers: [46, 7]
Generated Node #0,2,2: 49:[46, 7] Operation: 5+2=7
Exploring Operation: 46+2=48, Resulting Numbers: [5, 48]
Generated Node #0,2,3: 49:[5, 48] Operation: 46+2=48
Exploring Operation: 5*2=10, Resulting Numbers: [46, 10]
Generated Node #0,2,4: 49:[46, 10] Operation: 5*2=10
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[46, 7], Operations: ['16-14=2', '5+2=7']
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,49 unequal: No Solution
No 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: 49:[5, 48], Operations: ['16-14=2', '46+2=48']
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,49 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,49 unequal: No Solution
No 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: 49:[46, 10], Operations: ['16-14=2', '5*2=10']
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,49 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,49 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,49 unequal: No Solution
No 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: 49:[46, 3], Operations: ['16-14=2', '5-2=3']
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,49 unequal: No Solution
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[14, 5, 16, 46], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [5, 46, 2]
Generated Node #0,2: 49:[5, 46, 2] Operation: 16-14=2
Moving to Node #0,2
Current State: 49:[5, 46, 2], Operations: ['16-14=2']
Exploring Operation: 5-2=3, Resulting Numbers: [46, 3]
Generated Node #0,2,0: 49:[46, 3] Operation: 5-2=3
Moving to Node #0,2,0
Current State: 49:[46, 3], Operations: ['16-14=2', '5-2=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
9,
22,
26,
35
] | 91 | [
"35-22=13",
"9*13=117",
"117-26=91"
] | Current State: 91:[9, 22, 26, 35], Operations: []
Exploring Operation: 35-22=13, Resulting Numbers: [9, 26, 13]
Generated Node #2: [9, 26, 13] from Operation: 35-22=13
Current State: 91:[9, 26, 13], Operations: ['35-22=13']
Exploring Operation: 9*13=117, Resulting Numbers: [26, 117]
Generated Node #3: [26, 117] from Operation: 9*13=117
Current State: 91:[26, 117], Operations: ['35-22=13', '9*13=117']
Exploring Operation: 117-26=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[9, 22, 26, 35], Operations: []
Exploring Operation: 35-22=13, Resulting Numbers: [9, 26, 13]
Generated Node #0,0: 91:[9, 26, 13] Operation: 35-22=13
Exploring Operation: 26-22=4, Resulting Numbers: [9, 35, 4]
Generated Node #0,1: 91:[9, 35, 4] Operation: 26-22=4
Exploring Operation: 35-26=9, Resulting Numbers: [9, 22, 9]
Generated Node #0,2: 91:[9, 22, 9] Operation: 35-26=9
Moving to Node #0,2
Current State: 91:[9, 22, 9], Operations: ['35-26=9']
Exploring Operation: 9+9=18, Resulting Numbers: [22, 18]
Generated Node #0,2,0: 91:[22, 18] Operation: 9+9=18
Exploring Operation: 22-9=13, Resulting Numbers: [9, 13]
Generated Node #0,2,1: 91:[9, 13] Operation: 22-9=13
Exploring Operation: 22-9=13, Resulting Numbers: [9, 13]
Generated Node #0,2,2: 91:[9, 13] Operation: 22-9=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[9, 13], Operations: ['35-26=9', '22-9=13']
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,91 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[9, 13], Operations: ['35-26=9', '22-9=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[22, 18], Operations: ['35-26=9', '9+9=18']
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,91 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,91 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: 91:[9, 26, 13], Operations: ['35-22=13']
Exploring Operation: 26/13=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 91:[9, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [9, 13]
Generated Node #0,0,1: 91:[9, 13] Operation: 26-13=13
Exploring Operation: 26-9=17, Resulting Numbers: [13, 17]
Generated Node #0,0,2: 91:[13, 17] Operation: 26-9=17
Moving to Node #0,1
Current State: 91:[9, 35, 4], Operations: ['26-22=4']
Exploring Operation: 35-9=26, Resulting Numbers: [4, 26]
Generated Node #0,1,0: 91:[4, 26] Operation: 35-9=26
Exploring Operation: 35-4=31, Resulting Numbers: [9, 31]
Generated Node #0,1,1: 91:[9, 31] Operation: 35-4=31
Exploring Operation: 9+4=13, Resulting Numbers: [35, 13]
Generated Node #0,1,2: 91:[35, 13] Operation: 9+4=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[4, 26], Operations: ['26-22=4', '35-9=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,91 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[9, 31], Operations: ['26-22=4', '35-4=31']
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,91 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[35, 13], Operations: ['26-22=4', '9+4=13']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,91 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,91 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: 91:[9, 13], Operations: ['35-22=13', '26-13=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[13, 17], Operations: ['35-22=13', '26-9=17']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 13*17=221, Resulting Numbers: [221]
221,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[9, 2], Operations: ['35-22=13', '26/13=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,91 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
78,
37,
72,
15
] | 53 | [
"78-72=6",
"15*6=90",
"90-37=53"
] | Current State: 53:[78, 37, 72, 15], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [37, 15, 6]
Generated Node #2: [37, 15, 6] from Operation: 78-72=6
Current State: 53:[37, 15, 6], Operations: ['78-72=6']
Exploring Operation: 15*6=90, Resulting Numbers: [37, 90]
Generated Node #3: [37, 90] from Operation: 15*6=90
Current State: 53:[37, 90], Operations: ['78-72=6', '15*6=90']
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[78, 37, 72, 15], Operations: []
Exploring Operation: 78-15=63, Resulting Numbers: [37, 72, 63]
Generated Node #0,0: 53:[37, 72, 63] Operation: 78-15=63
Exploring Operation: 37+15=52, Resulting Numbers: [78, 72, 52]
Generated Node #0,1: 53:[78, 72, 52] Operation: 37+15=52
Moving to Node #0,0
Current State: 53:[37, 72, 63], Operations: ['78-15=63']
Exploring Operation: 63-37=26, Resulting Numbers: [72, 26]
Generated Node #0,0,0: 53:[72, 26] Operation: 63-37=26
Exploring Operation: 72-37=35, Resulting Numbers: [63, 35]
Generated Node #0,0,1: 53:[63, 35] Operation: 72-37=35
Moving to Node #0,1
Current State: 53:[78, 72, 52], Operations: ['37+15=52']
Exploring Operation: 78-52=26, Resulting Numbers: [72, 26]
Generated Node #0,1,0: 53:[72, 26] Operation: 78-52=26
Exploring Operation: 78-72=6, Resulting Numbers: [52, 6]
Generated Node #0,1,1: 53:[52, 6] Operation: 78-72=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[72, 26], Operations: ['37+15=52', '78-52=26']
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[52, 6], Operations: ['37+15=52', '78-72=6']
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,53 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,53 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: 53:[63, 35], Operations: ['78-15=63', '72-37=35']
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[72, 26], Operations: ['78-15=63', '63-37=26']
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,53 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
49,
72,
37,
62
] | 76 | [
"72-49=23",
"37+62=99",
"99-23=76"
] | Current State: 76:[49, 72, 37, 62], Operations: []
Exploring Operation: 72-49=23, Resulting Numbers: [37, 62, 23]
Generated Node #2: [37, 62, 23] from Operation: 72-49=23
Current State: 76:[37, 62, 23], Operations: ['72-49=23']
Exploring Operation: 37+62=99, Resulting Numbers: [23, 99]
Generated Node #3: [23, 99] from Operation: 37+62=99
Current State: 76:[23, 99], Operations: ['72-49=23', '37+62=99']
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[49, 72, 37, 62], Operations: []
Exploring Operation: 72-62=10, Resulting Numbers: [49, 37, 10]
Generated Node #0,0: 76:[49, 37, 10] Operation: 72-62=10
Exploring Operation: 62-49=13, Resulting Numbers: [72, 37, 13]
Generated Node #0,1: 76:[72, 37, 13] Operation: 62-49=13
Moving to Node #0,1
Current State: 76:[72, 37, 13], Operations: ['62-49=13']
Exploring Operation: 37-13=24, Resulting Numbers: [72, 24]
Generated Node #0,1,0: 76:[72, 24] Operation: 37-13=24
Exploring Operation: 72-37=35, Resulting Numbers: [13, 35]
Generated Node #0,1,1: 76:[13, 35] Operation: 72-37=35
Moving to Node #0,0
Current State: 76:[49, 37, 10], Operations: ['72-62=10']
Exploring Operation: 49-10=39, Resulting Numbers: [37, 39]
Generated Node #0,0,0: 76:[37, 39] Operation: 49-10=39
Exploring Operation: 49-37=12, Resulting Numbers: [10, 12]
Generated Node #0,0,1: 76:[10, 12] Operation: 49-37=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[37, 39], Operations: ['72-62=10', '49-10=39']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[49, 72, 37, 62], Operations: []
Exploring Operation: 72-62=10, Resulting Numbers: [49, 37, 10]
Generated Node #0,0: 76:[49, 37, 10] Operation: 72-62=10
Moving to Node #0,0
Current State: 76:[49, 37, 10], Operations: ['72-62=10']
Exploring Operation: 49-10=39, Resulting Numbers: [37, 39]
Generated Node #0,0,0: 76:[37, 39] Operation: 49-10=39
Moving to Node #0,0,0
Current State: 76:[37, 39], Operations: ['72-62=10', '49-10=39']
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
3,
89,
13,
62
] | 22 | [
"89-62=27",
"27/3=9",
"13+9=22"
] | Current State: 22:[3, 89, 13, 62], Operations: []
Exploring Operation: 89-62=27, Resulting Numbers: [3, 13, 27]
Generated Node #2: [3, 13, 27] from Operation: 89-62=27
Current State: 22:[3, 13, 27], Operations: ['89-62=27']
Exploring Operation: 27/3=9, Resulting Numbers: [13, 9]
Generated Node #3: [13, 9] from Operation: 27/3=9
Current State: 22:[13, 9], Operations: ['89-62=27', '27/3=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[3, 89, 13, 62], Operations: []
Exploring Operation: 89-13=76, Resulting Numbers: [3, 62, 76]
Generated Node #0,0: 22:[3, 62, 76] Operation: 89-13=76
Exploring Operation: 89-62=27, Resulting Numbers: [3, 13, 27]
Generated Node #0,1: 22:[3, 13, 27] Operation: 89-62=27
Exploring Operation: 62-13=49, Resulting Numbers: [3, 89, 49]
Generated Node #0,2: 22:[3, 89, 49] Operation: 62-13=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[3, 13, 27], Operations: ['89-62=27']
Exploring Operation: 27/3=9, Resulting Numbers: [13, 9]
Generated Node #0,1,0: 22:[13, 9] Operation: 27/3=9
Exploring Operation: 27-3=24, Resulting Numbers: [13, 24]
Generated Node #0,1,1: 22:[13, 24] Operation: 27-3=24
Exploring Operation: 27-13=14, Resulting Numbers: [3, 14]
Generated Node #0,1,2: 22:[3, 14] Operation: 27-13=14
Moving to Node #0,1,0
Current State: 22:[13, 9], Operations: ['89-62=27', '27/3=9']
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,22 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[3, 89, 13, 62], Operations: []
Exploring Operation: 89-62=27, Resulting Numbers: [3, 13, 27]
Generated Node #0,1: 22:[3, 13, 27] Operation: 89-62=27
Moving to Node #0,1
Current State: 22:[3, 13, 27], Operations: ['89-62=27']
Exploring Operation: 27/3=9, Resulting Numbers: [13, 9]
Generated Node #0,1,0: 22:[13, 9] Operation: 27/3=9
Moving to Node #0,1,0
Current State: 22:[13, 9], Operations: ['89-62=27', '27/3=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
30,
16,
95,
38
] | 87 | [
"30+16=46",
"95+38=133",
"133-46=87"
] | Current State: 87:[30, 16, 95, 38], Operations: []
Exploring Operation: 30+16=46, Resulting Numbers: [95, 38, 46]
Generated Node #2: [95, 38, 46] from Operation: 30+16=46
Current State: 87:[95, 38, 46], Operations: ['30+16=46']
Exploring Operation: 95+38=133, Resulting Numbers: [46, 133]
Generated Node #3: [46, 133] from Operation: 95+38=133
Current State: 87:[46, 133], Operations: ['30+16=46', '95+38=133']
Exploring Operation: 133-46=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[30, 16, 95, 38], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [16, 95, 8]
Generated Node #0,0: 87:[16, 95, 8] Operation: 38-30=8
Exploring Operation: 95-16=79, Resulting Numbers: [30, 38, 79]
Generated Node #0,1: 87:[30, 38, 79] Operation: 95-16=79
Exploring Operation: 38-16=22, Resulting Numbers: [30, 95, 22]
Generated Node #0,2: 87:[30, 95, 22] Operation: 38-16=22
Moving to Node #0,2
Current State: 87:[30, 95, 22], Operations: ['38-16=22']
Exploring Operation: 30-22=8, Resulting Numbers: [95, 8]
Generated Node #0,2,0: 87:[95, 8] Operation: 30-22=8
Exploring Operation: 95-30=65, Resulting Numbers: [22, 65]
Generated Node #0,2,1: 87:[22, 65] Operation: 95-30=65
Exploring Operation: 95-22=73, Resulting Numbers: [30, 73]
Generated Node #0,2,2: 87:[30, 73] Operation: 95-22=73
Moving to Node #0,1
Current State: 87:[30, 38, 79], Operations: ['95-16=79']
Exploring Operation: 79-38=41, Resulting Numbers: [30, 41]
Generated Node #0,1,0: 87:[30, 41] Operation: 79-38=41
Exploring Operation: 30+38=68, Resulting Numbers: [79, 68]
Generated Node #0,1,1: 87:[79, 68] Operation: 30+38=68
Exploring Operation: 38-30=8, Resulting Numbers: [79, 8]
Generated Node #0,1,2: 87:[79, 8] Operation: 38-30=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[30, 41], Operations: ['95-16=79', '79-38=41']
Exploring Operation: 30*41=1230, Resulting Numbers: [1230]
1230,87 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,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:[79, 8], Operations: ['95-16=79', '38-30=8']
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[30, 16, 95, 38], Operations: []
Exploring Operation: 95-16=79, Resulting Numbers: [30, 38, 79]
Generated Node #0,1: 87:[30, 38, 79] Operation: 95-16=79
Moving to Node #0,1
Current State: 87:[30, 38, 79], Operations: ['95-16=79']
Exploring Operation: 38-30=8, Resulting Numbers: [79, 8]
Generated Node #0,1,2: 87:[79, 8] Operation: 38-30=8
Moving to Node #0,1,2
Current State: 87:[79, 8], Operations: ['95-16=79', '38-30=8']
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
6,
1,
19,
8
] | 15 | [
"1+19=20",
"6*20=120",
"120/8=15"
] | Current State: 15:[6, 1, 19, 8], Operations: []
Exploring Operation: 1+19=20, Resulting Numbers: [6, 8, 20]
Generated Node #2: [6, 8, 20] from Operation: 1+19=20
Current State: 15:[6, 8, 20], Operations: ['1+19=20']
Exploring Operation: 6*20=120, Resulting Numbers: [8, 120]
Generated Node #3: [8, 120] from Operation: 6*20=120
Current State: 15:[8, 120], Operations: ['1+19=20', '6*20=120']
Exploring Operation: 120/8=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[6, 1, 19, 8], Operations: []
Exploring Operation: 6-1=5, Resulting Numbers: [19, 8, 5]
Generated Node #0,0: 15:[19, 8, 5] Operation: 6-1=5
Exploring Operation: 6+8=14, Resulting Numbers: [1, 19, 14]
Generated Node #0,1: 15:[1, 19, 14] Operation: 6+8=14
Exploring Operation: 8-6=2, Resulting Numbers: [1, 19, 2]
Generated Node #0,2: 15:[1, 19, 2] Operation: 8-6=2
Exploring Operation: 19-6=13, Resulting Numbers: [1, 8, 13]
Generated Node #0,3: 15:[1, 8, 13] Operation: 19-6=13
Moving to Node #0,0
Current State: 15:[19, 8, 5], Operations: ['6-1=5']
Exploring Operation: 8+5=13, Resulting Numbers: [19, 13]
Generated Node #0,0,0: 15:[19, 13] Operation: 8+5=13
Exploring Operation: 19-8=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 15:[5, 11] Operation: 19-8=11
Exploring Operation: 19-5=14, Resulting Numbers: [8, 14]
Generated Node #0,0,2: 15:[8, 14] Operation: 19-5=14
Exploring Operation: 8-5=3, Resulting Numbers: [19, 3]
Generated Node #0,0,3: 15:[19, 3] Operation: 8-5=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[5, 11], Operations: ['6-1=5', '19-8=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,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,0,2
Current State: 15:[8, 14], Operations: ['6-1=5', '19-5=14']
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,15 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,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,0,3
Current State: 15:[19, 3], Operations: ['6-1=5', '8-5=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,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,0,0
Current State: 15:[19, 13], Operations: ['6-1=5', '8+5=13']
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,15 unequal: No Solution
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,15 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: 15:[1, 19, 2], Operations: ['8-6=2']
Exploring Operation: 1*19=19, Resulting Numbers: [2, 19]
Generated Node #0,2,0: 15:[2, 19] Operation: 1*19=19
Exploring Operation: 19-1=18, Resulting Numbers: [2, 18]
Generated Node #0,2,1: 15:[2, 18] Operation: 19-1=18
Exploring Operation: 19-2=17, Resulting Numbers: [1, 17]
Generated Node #0,2,2: 15:[1, 17] Operation: 19-2=17
Exploring Operation: 1+2=3, Resulting Numbers: [19, 3]
Generated Node #0,2,3: 15:[19, 3] Operation: 1+2=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[2, 18], Operations: ['8-6=2', '19-1=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,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,2,2
Current State: 15:[1, 17], Operations: ['8-6=2', '19-2=17']
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,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,2,3
Current State: 15:[19, 3], Operations: ['8-6=2', '1+2=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,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,2,0
Current State: 15:[2, 19], Operations: ['8-6=2', '1*19=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,15 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: 15:[1, 19, 14], Operations: ['6+8=14']
Exploring Operation: 1+14=15, Resulting Numbers: [19, 15]
Generated Node #0,1,0: 15:[19, 15] Operation: 1+14=15
Exploring Operation: 19-14=5, Resulting Numbers: [1, 5]
Generated Node #0,1,1: 15:[1, 5] Operation: 19-14=5
Exploring Operation: 19-1=18, Resulting Numbers: [14, 18]
Generated Node #0,1,2: 15:[14, 18] Operation: 19-1=18
Exploring Operation: 1*19=19, Resulting Numbers: [14, 19]
Generated Node #0,1,3: 15:[14, 19] Operation: 1*19=19
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[1, 5], Operations: ['6+8=14', '19-14=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,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,0
Current State: 15:[19, 15], Operations: ['6+8=14', '1+14=15']
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,15 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,15 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,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,2
Current State: 15:[14, 18], Operations: ['6+8=14', '19-1=18']
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,15 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,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,3
Current State: 15:[14, 19], Operations: ['6+8=14', '1*19=19']
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,15 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,15 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: 15:[1, 8, 13], Operations: ['19-6=13']
Exploring Operation: 1*8=8, Resulting Numbers: [13, 8]
Generated Node #0,3,0: 15:[13, 8] Operation: 1*8=8
Exploring Operation: 8-1=7, Resulting Numbers: [13, 7]
Generated Node #0,3,1: 15:[13, 7] Operation: 8-1=7
Exploring Operation: 13-8=5, Resulting Numbers: [1, 5]
Generated Node #0,3,2: 15:[1, 5] Operation: 13-8=5
Exploring Operation: 1+13=14, Resulting Numbers: [8, 14]
Generated Node #0,3,3: 15:[8, 14] Operation: 1+13=14
Moving to Node #0,3,2
Current State: 15:[1, 5], Operations: ['19-6=13', '13-8=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[8, 14], Operations: ['19-6=13', '1+13=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[13, 7], Operations: ['19-6=13', '8-1=7']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,15 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Moving to Node #0,3,0
Current State: 15:[13, 8], Operations: ['19-6=13', '1*8=8']
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,15 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,15 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
77,
75,
35,
34
] | 71 | [
"77-75=2",
"35+34=69",
"2+69=71"
] | Current State: 71:[77, 75, 35, 34], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [35, 34, 2]
Generated Node #2: [35, 34, 2] from Operation: 77-75=2
Current State: 71:[35, 34, 2], Operations: ['77-75=2']
Exploring Operation: 35+34=69, Resulting Numbers: [2, 69]
Generated Node #3: [2, 69] from Operation: 35+34=69
Current State: 71:[2, 69], Operations: ['77-75=2', '35+34=69']
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[77, 75, 35, 34], Operations: []
Exploring Operation: 77-34=43, Resulting Numbers: [75, 35, 43]
Generated Node #0,0: 71:[75, 35, 43] Operation: 77-34=43
Exploring Operation: 35+34=69, Resulting Numbers: [77, 75, 69]
Generated Node #0,1: 71:[77, 75, 69] Operation: 35+34=69
Moving to Node #0,1
Current State: 71:[77, 75, 69], Operations: ['35+34=69']
Exploring Operation: 77-75=2, Resulting Numbers: [69, 2]
Generated Node #0,1,0: 71:[69, 2] Operation: 77-75=2
Exploring Operation: 77-69=8, Resulting Numbers: [75, 8]
Generated Node #0,1,1: 71:[75, 8] Operation: 77-69=8
Moving to Node #0,0
Current State: 71:[75, 35, 43], Operations: ['77-34=43']
Exploring Operation: 35+43=78, Resulting Numbers: [75, 78]
Generated Node #0,0,0: 71:[75, 78] Operation: 35+43=78
Exploring Operation: 75-35=40, Resulting Numbers: [43, 40]
Generated Node #0,0,1: 71:[43, 40] Operation: 75-35=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[75, 78], Operations: ['77-34=43', '35+43=78']
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 75+78=153, Resulting Numbers: [153]
153,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[43, 40], Operations: ['77-34=43', '75-35=40']
Exploring Operation: 43+40=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,71 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: 71:[75, 8], Operations: ['35+34=69', '77-69=8']
Exploring Operation: 75+8=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[69, 2], Operations: ['35+34=69', '77-75=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[77, 75, 35, 34], Operations: []
Exploring Operation: 35+34=69, Resulting Numbers: [77, 75, 69]
Generated Node #0,1: 71:[77, 75, 69] Operation: 35+34=69
Moving to Node #0,1
Current State: 71:[77, 75, 69], Operations: ['35+34=69']
Exploring Operation: 77-75=2, Resulting Numbers: [69, 2]
Generated Node #0,1,0: 71:[69, 2] Operation: 77-75=2
Moving to Node #0,1,0
Current State: 71:[69, 2], Operations: ['35+34=69', '77-75=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
4,
90,
73,
59
] | 34 | [
"73-59=14",
"4*14=56",
"90-56=34"
] | Current State: 34:[4, 90, 73, 59], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [4, 90, 14]
Generated Node #2: [4, 90, 14] from Operation: 73-59=14
Current State: 34:[4, 90, 14], Operations: ['73-59=14']
Exploring Operation: 4*14=56, Resulting Numbers: [90, 56]
Generated Node #3: [90, 56] from Operation: 4*14=56
Current State: 34:[90, 56], Operations: ['73-59=14', '4*14=56']
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[4, 90, 73, 59], Operations: []
Exploring Operation: 90-4=86, Resulting Numbers: [73, 59, 86]
Generated Node #0,0: 34:[73, 59, 86] Operation: 90-4=86
Exploring Operation: 90-73=17, Resulting Numbers: [4, 59, 17]
Generated Node #0,1: 34:[4, 59, 17] Operation: 90-73=17
Exploring Operation: 73-4=69, Resulting Numbers: [90, 59, 69]
Generated Node #0,2: 34:[90, 59, 69] Operation: 73-4=69
Exploring Operation: 73-59=14, Resulting Numbers: [4, 90, 14]
Generated Node #0,3: 34:[4, 90, 14] Operation: 73-59=14
Exploring Operation: 90-59=31, Resulting Numbers: [4, 73, 31]
Generated Node #0,4: 34:[4, 73, 31] Operation: 90-59=31
Moving to Node #0,1
Current State: 34:[4, 59, 17], Operations: ['90-73=17']
Exploring Operation: 4+17=21, Resulting Numbers: [59, 21]
Generated Node #0,1,0: 34:[59, 21] Operation: 4+17=21
Exploring Operation: 59-17=42, Resulting Numbers: [4, 42]
Generated Node #0,1,1: 34:[4, 42] Operation: 59-17=42
Exploring Operation: 59-4=55, Resulting Numbers: [17, 55]
Generated Node #0,1,2: 34:[17, 55] Operation: 59-4=55
Exploring Operation: 17-4=13, Resulting Numbers: [59, 13]
Generated Node #0,1,3: 34:[59, 13] Operation: 17-4=13
Exploring Operation: 4+59=63, Resulting Numbers: [17, 63]
Generated Node #0,1,4: 34:[17, 63] Operation: 4+59=63
Moving to Node #0,4
Current State: 34:[4, 73, 31], Operations: ['90-59=31']
Exploring Operation: 4+31=35, Resulting Numbers: [73, 35]
Generated Node #0,4,0: 34:[73, 35] Operation: 4+31=35
Exploring Operation: 73-4=69, Resulting Numbers: [31, 69]
Generated Node #0,4,1: 34:[31, 69] Operation: 73-4=69
Exploring Operation: 73-31=42, Resulting Numbers: [4, 42]
Generated Node #0,4,2: 34:[4, 42] Operation: 73-31=42
Exploring Operation: 31-4=27, Resulting Numbers: [73, 27]
Generated Node #0,4,3: 34:[73, 27] Operation: 31-4=27
Exploring Operation: 4+73=77, Resulting Numbers: [31, 77]
Generated Node #0,4,4: 34:[31, 77] Operation: 4+73=77
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 34:[4, 42], Operations: ['90-59=31', '73-31=42']
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,34 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,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,4,1
Current State: 34:[31, 69], Operations: ['90-59=31', '73-4=69']
Exploring Operation: 31*69=2139, Resulting Numbers: [2139]
2139,34 unequal: No Solution
Exploring Operation: 31+69=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,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,4,0
Current State: 34:[73, 35], Operations: ['90-59=31', '4+31=35']
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,34 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,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,4,3
Current State: 34:[73, 27], Operations: ['90-59=31', '31-4=27']
Exploring Operation: 73+27=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 73*27=1971, Resulting Numbers: [1971]
1971,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,4,4
Current State: 34:[31, 77], Operations: ['90-59=31', '4+73=77']
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 31+77=108, Resulting Numbers: [108]
108,34 unequal: No Solution
Exploring Operation: 31*77=2387, Resulting Numbers: [2387]
2387,34 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: 34:[4, 90, 14], Operations: ['73-59=14']
Exploring Operation: 14-4=10, Resulting Numbers: [90, 10]
Generated Node #0,3,0: 34:[90, 10] Operation: 14-4=10
Exploring Operation: 90-14=76, Resulting Numbers: [4, 76]
Generated Node #0,3,1: 34:[4, 76] Operation: 90-14=76
Exploring Operation: 4+90=94, Resulting Numbers: [14, 94]
Generated Node #0,3,2: 34:[14, 94] Operation: 4+90=94
Exploring Operation: 4+14=18, Resulting Numbers: [90, 18]
Generated Node #0,3,3: 34:[90, 18] Operation: 4+14=18
Exploring Operation: 90-4=86, Resulting Numbers: [14, 86]
Generated Node #0,3,4: 34:[14, 86] Operation: 90-4=86
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 34:[4, 76], Operations: ['73-59=14', '90-14=76']
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 4*76=304, Resulting Numbers: [304]
304,34 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 34:[14, 86], Operations: ['73-59=14', '90-4=86']
Exploring Operation: 14+86=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 14*86=1204, Resulting Numbers: [1204]
1204,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 34:[90, 18], Operations: ['73-59=14', '4+14=18']
Exploring Operation: 90+18=108, Resulting Numbers: [108]
108,34 unequal: No Solution
Exploring Operation: 90*18=1620, Resulting Numbers: [1620]
1620,34 unequal: No Solution
Exploring Operation: 90/18=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 34:[90, 10], Operations: ['73-59=14', '14-4=10']
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 90+10=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 90*10=900, Resulting Numbers: [900]
900,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 34:[14, 94], Operations: ['73-59=14', '4+90=94']
Exploring Operation: 14*94=1316, Resulting Numbers: [1316]
1316,34 unequal: No Solution
Exploring Operation: 14+94=108, Resulting Numbers: [108]
108,34 unequal: No Solution
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,34 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: 34:[73, 59, 86], Operations: ['90-4=86']
Exploring Operation: 73+86=159, Resulting Numbers: [59, 159]
Generated Node #0,0,0: 34:[59, 159] Operation: 73+86=159
Exploring Operation: 73+59=132, Resulting Numbers: [86, 132]
Generated Node #0,0,1: 34:[86, 132] Operation: 73+59=132
Exploring Operation: 86-59=27, Resulting Numbers: [73, 27]
Generated Node #0,0,2: 34:[73, 27] Operation: 86-59=27
Exploring Operation: 73-59=14, Resulting Numbers: [86, 14]
Generated Node #0,0,3: 34:[86, 14] Operation: 73-59=14
Exploring Operation: 86-73=13, Resulting Numbers: [59, 13]
Generated Node #0,0,4: 34:[59, 13] Operation: 86-73=13
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 34:[59, 13], Operations: ['90-4=86', '86-73=13']
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,34 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[73, 27], Operations: ['90-4=86', '86-59=27']
Exploring Operation: 73*27=1971, Resulting Numbers: [1971]
1971,34 unequal: No Solution
Exploring Operation: 73+27=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 34:[86, 14], Operations: ['90-4=86', '73-59=14']
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 86*14=1204, Resulting Numbers: [1204]
1204,34 unequal: No Solution
Exploring Operation: 86+14=100, Resulting Numbers: [100]
100,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[59, 159], Operations: ['90-4=86', '73+86=159']
Exploring Operation: 59+159=218, Resulting Numbers: [218]
218,34 unequal: No Solution
Exploring Operation: 159-59=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 59*159=9381, Resulting Numbers: [9381]
9381,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[86, 132], Operations: ['90-4=86', '73+59=132']
Exploring Operation: 86*132=11352, Resulting Numbers: [11352]
11352,34 unequal: No Solution
Exploring Operation: 132-86=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 86+132=218, Resulting Numbers: [218]
218,34 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: 34:[90, 59, 69], Operations: ['73-4=69']
Exploring Operation: 90-59=31, Resulting Numbers: [69, 31]
Generated Node #0,2,0: 34:[69, 31] Operation: 90-59=31
Exploring Operation: 90-69=21, Resulting Numbers: [59, 21]
Generated Node #0,2,1: 34:[59, 21] Operation: 90-69=21
Exploring Operation: 90+69=159, Resulting Numbers: [59, 159]
Generated Node #0,2,2: 34:[59, 159] Operation: 90+69=159
Exploring Operation: 90+59=149, Resulting Numbers: [69, 149]
Generated Node #0,2,3: 34:[69, 149] Operation: 90+59=149
Exploring Operation: 69-59=10, Resulting Numbers: [90, 10]
Generated Node #0,2,4: 34:[90, 10] Operation: 69-59=10
Moving to Node #0,1,1
Current State: 34:[4, 42], Operations: ['90-73=17', '59-17=42']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[17, 55], Operations: ['90-73=17', '59-4=55']
Exploring Operation: 17*55=935, Resulting Numbers: [935]
935,34 unequal: No Solution
Exploring Operation: 17+55=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[59, 21], Operations: ['90-73=17', '4+17=21']
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 59+21=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 59*21=1239, Resulting Numbers: [1239]
1239,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[59, 21], Operations: ['73-4=69', '90-69=21']
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 59*21=1239, Resulting Numbers: [1239]
1239,34 unequal: No Solution
Exploring Operation: 59+21=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Moving to Node #0,1,4
Current State: 34:[17, 63], Operations: ['90-73=17', '4+59=63']
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 17*63=1071, Resulting Numbers: [1071]
1071,34 unequal: No Solution
Exploring Operation: 17+63=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[59, 13], Operations: ['90-73=17', '17-4=13']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[69, 31], Operations: ['73-4=69', '90-59=31']
Exploring Operation: 69*31=2139, Resulting Numbers: [2139]
2139,34 unequal: No Solution
Exploring Operation: 69+31=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Moving to Node #0,2,4
Current State: 34:[90, 10], Operations: ['73-4=69', '69-59=10']
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 90+10=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 90*10=900, Resulting Numbers: [900]
900,34 unequal: No Solution
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[59, 159], Operations: ['73-4=69', '90+69=159']
Exploring Operation: 159-59=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 59*159=9381, Resulting Numbers: [9381]
9381,34 unequal: No Solution
Exploring Operation: 59+159=218, Resulting Numbers: [218]
218,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[69, 149], Operations: ['73-4=69', '90+59=149']
Exploring Operation: 69+149=218, Resulting Numbers: [218]
218,34 unequal: No Solution
Exploring Operation: 69*149=10281, Resulting Numbers: [10281]
10281,34 unequal: No Solution
Exploring Operation: 149-69=80, Resulting Numbers: [80]
80,34 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
9,
85,
75,
6
] | 51 | [
"85-75=10",
"6*10=60",
"60-9=51"
] | Current State: 51:[9, 85, 75, 6], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [9, 6, 10]
Generated Node #2: [9, 6, 10] from Operation: 85-75=10
Current State: 51:[9, 6, 10], Operations: ['85-75=10']
Exploring Operation: 6*10=60, Resulting Numbers: [9, 60]
Generated Node #3: [9, 60] from Operation: 6*10=60
Current State: 51:[9, 60], Operations: ['85-75=10', '6*10=60']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[9, 85, 75, 6], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [9, 6, 10]
Generated Node #0,0: 51:[9, 6, 10] Operation: 85-75=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[9, 6, 10], Operations: ['85-75=10']
Exploring Operation: 9+10=19, Resulting Numbers: [6, 19]
Generated Node #0,0,0: 51:[6, 19] Operation: 9+10=19
Moving to Node #0,0,0
Current State: 51:[6, 19], Operations: ['85-75=10', '9+10=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,51 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 |
[
88,
29,
17,
28
] | 14 | [
"88-29=59",
"17+28=45",
"59-45=14"
] | Current State: 14:[88, 29, 17, 28], Operations: []
Exploring Operation: 88-29=59, Resulting Numbers: [17, 28, 59]
Generated Node #2: [17, 28, 59] from Operation: 88-29=59
Current State: 14:[17, 28, 59], Operations: ['88-29=59']
Exploring Operation: 17+28=45, Resulting Numbers: [59, 45]
Generated Node #3: [59, 45] from Operation: 17+28=45
Current State: 14:[59, 45], Operations: ['88-29=59', '17+28=45']
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[88, 29, 17, 28], Operations: []
Exploring Operation: 88-28=60, Resulting Numbers: [29, 17, 60]
Generated Node #0,0: 14:[29, 17, 60] Operation: 88-28=60
Exploring Operation: 88-29=59, Resulting Numbers: [17, 28, 59]
Generated Node #0,1: 14:[17, 28, 59] Operation: 88-29=59
Exploring Operation: 29-28=1, Resulting Numbers: [88, 17, 1]
Generated Node #0,2: 14:[88, 17, 1] Operation: 29-28=1
Moving to Node #0,1
Current State: 14:[17, 28, 59], Operations: ['88-29=59']
Exploring Operation: 59-28=31, Resulting Numbers: [17, 31]
Generated Node #0,1,0: 14:[17, 31] Operation: 59-28=31
Exploring Operation: 28-17=11, Resulting Numbers: [59, 11]
Generated Node #0,1,1: 14:[59, 11] Operation: 28-17=11
Exploring Operation: 59-17=42, Resulting Numbers: [28, 42]
Generated Node #0,1,2: 14:[28, 42] Operation: 59-17=42
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[17, 31], Operations: ['88-29=59', '59-28=31']
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,14 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[88, 29, 17, 28], Operations: []
Exploring Operation: 88-29=59, Resulting Numbers: [17, 28, 59]
Generated Node #0,1: 14:[17, 28, 59] Operation: 88-29=59
Moving to Node #0,1
Current State: 14:[17, 28, 59], Operations: ['88-29=59']
Exploring Operation: 59-28=31, Resulting Numbers: [17, 31]
Generated Node #0,1,0: 14:[17, 31] Operation: 59-28=31
Moving to Node #0,1,0
Current State: 14:[17, 31], Operations: ['88-29=59', '59-28=31']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
19,
42,
70,
42
] | 19 | [
"42-42=0",
"70*0=0",
"19+0=19"
] | Current State: 19:[19, 42, 70, 42], Operations: []
Exploring Operation: 42-42=0, Resulting Numbers: [19, 70, 0]
Generated Node #2: [19, 70, 0] from Operation: 42-42=0
Current State: 19:[19, 70, 0], Operations: ['42-42=0']
Exploring Operation: 70*0=0, Resulting Numbers: [19, 0]
Generated Node #3: [19, 0] from Operation: 70*0=0
Current State: 19:[19, 0], Operations: ['42-42=0', '70*0=0']
Exploring Operation: 19+0=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[19, 42, 70, 42], Operations: []
Exploring Operation: 70-42=28, Resulting Numbers: [19, 42, 28]
Generated Node #0,0: 19:[19, 42, 28] Operation: 70-42=28
Exploring Operation: 42/42=1, Resulting Numbers: [19, 70, 1]
Generated Node #0,1: 19:[19, 70, 1] Operation: 42/42=1
Exploring Operation: 42-19=23, Resulting Numbers: [70, 42, 23]
Generated Node #0,2: 19:[70, 42, 23] Operation: 42-19=23
Exploring Operation: 70-42=28, Resulting Numbers: [19, 42, 28]
Generated Node #0,3: 19:[19, 42, 28] Operation: 70-42=28
Exploring Operation: 42-42=0, Resulting Numbers: [19, 70, 0]
Generated Node #0,4: 19:[19, 70, 0] Operation: 42-42=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[19, 42, 28], Operations: ['70-42=28']
Exploring Operation: 19+42=61, Resulting Numbers: [28, 61]
Generated Node #0,0,0: 19:[28, 61] Operation: 19+42=61
Exploring Operation: 42-19=23, Resulting Numbers: [28, 23]
Generated Node #0,0,1: 19:[28, 23] Operation: 42-19=23
Exploring Operation: 19+28=47, Resulting Numbers: [42, 47]
Generated Node #0,0,2: 19:[42, 47] Operation: 19+28=47
Exploring Operation: 28-19=9, Resulting Numbers: [42, 9]
Generated Node #0,0,3: 19:[42, 9] Operation: 28-19=9
Exploring Operation: 42-28=14, Resulting Numbers: [19, 14]
Generated Node #0,0,4: 19:[19, 14] Operation: 42-28=14
Moving to Node #0,0,4
Current State: 19:[19, 14], Operations: ['70-42=28', '42-28=14']
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,19 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[28, 23], Operations: ['70-42=28', '42-19=23']
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,19 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[42, 9], Operations: ['70-42=28', '28-19=9']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,19 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[28, 61], Operations: ['70-42=28', '19+42=61']
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,19 unequal: No Solution
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[42, 47], Operations: ['70-42=28', '19+28=47']
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,19 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[19, 42, 28], Operations: ['70-42=28']
Exploring Operation: 42-28=14, Resulting Numbers: [19, 14]
Generated Node #0,3,0: 19:[19, 14] Operation: 42-28=14
Exploring Operation: 19+42=61, Resulting Numbers: [28, 61]
Generated Node #0,3,1: 19:[28, 61] Operation: 19+42=61
Exploring Operation: 42-19=23, Resulting Numbers: [28, 23]
Generated Node #0,3,2: 19:[28, 23] Operation: 42-19=23
Exploring Operation: 19+28=47, Resulting Numbers: [42, 47]
Generated Node #0,3,3: 19:[42, 47] Operation: 19+28=47
Exploring Operation: 28-19=9, Resulting Numbers: [42, 9]
Generated Node #0,3,4: 19:[42, 9] Operation: 28-19=9
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 19:[19, 14], Operations: ['70-42=28', '42-28=14']
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,19 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 19:[28, 23], Operations: ['70-42=28', '42-19=23']
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,19 unequal: No Solution
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 19:[42, 9], Operations: ['70-42=28', '28-19=9']
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,19 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 19:[28, 61], Operations: ['70-42=28', '19+42=61']
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,19 unequal: No Solution
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 19:[42, 47], Operations: ['70-42=28', '19+28=47']
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,19 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[19, 70, 1], Operations: ['42/42=1']
Exploring Operation: 70-19=51, Resulting Numbers: [1, 51]
Generated Node #0,1,0: 19:[1, 51] Operation: 70-19=51
Exploring Operation: 19*1=19, Resulting Numbers: [70, 19]
Generated Node #0,1,1: 19:[70, 19] Operation: 19*1=19
Exploring Operation: 70*1=70, Resulting Numbers: [19, 70]
Generated Node #0,1,2: 19:[19, 70] Operation: 70*1=70
Exploring Operation: 70-1=69, Resulting Numbers: [19, 69]
Generated Node #0,1,3: 19:[19, 69] Operation: 70-1=69
Exploring Operation: 19/1=19, Resulting Numbers: [70, 19]
Generated Node #0,1,4: 19:[70, 19] Operation: 19/1=19
Moving to Node #0,1,0
Current State: 19:[1, 51], Operations: ['42/42=1', '70-19=51']
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[19, 69], Operations: ['42/42=1', '70-1=69']
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,19 unequal: No Solution
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[70, 19], Operations: ['42/42=1', '19*1=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 70*19=1330, Resulting Numbers: [1330]
1330,19 unequal: No Solution
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[19, 70], Operations: ['42/42=1', '70*1=70']
Exploring Operation: 19*70=1330, Resulting Numbers: [1330]
1330,19 unequal: No Solution
Exploring Operation: 19+70=89, Resulting Numbers: [89]
89,19 unequal: No Solution
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Moving to Node #0,1,4
Current State: 19:[70, 19], Operations: ['42/42=1', '19/1=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 70*19=1330, Resulting Numbers: [1330]
1330,19 unequal: No Solution
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 19:[19, 70, 0], Operations: ['42-42=0']
Exploring Operation: 70*0=0, Resulting Numbers: [19, 0]
Generated Node #0,4,0: 19:[19, 0] Operation: 70*0=0
Exploring Operation: 70-19=51, Resulting Numbers: [0, 51]
Generated Node #0,4,1: 19:[0, 51] Operation: 70-19=51
Exploring Operation: 70+0=70, Resulting Numbers: [19, 70]
Generated Node #0,4,2: 19:[19, 70] Operation: 70+0=70
Exploring Operation: 19-0=19, Resulting Numbers: [70, 19]
Generated Node #0,4,3: 19:[70, 19] Operation: 19-0=19
Exploring Operation: 19+0=19, Resulting Numbers: [70, 19]
Generated Node #0,4,4: 19:[70, 19] Operation: 19+0=19
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 19:[19, 0], Operations: ['42-42=0', '70*0=0']
Exploring Operation: 19+0=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[19, 42, 70, 42], Operations: []
Exploring Operation: 42-42=0, Resulting Numbers: [19, 70, 0]
Generated Node #0,4: 19:[19, 70, 0] Operation: 42-42=0
Moving to Node #0,4
Current State: 19:[19, 70, 0], Operations: ['42-42=0']
Exploring Operation: 70*0=0, Resulting Numbers: [19, 0]
Generated Node #0,4,0: 19:[19, 0] Operation: 70*0=0
Moving to Node #0,4,0
Current State: 19:[19, 0], Operations: ['42-42=0', '70*0=0']
Exploring Operation: 19+0=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.934028 | hs_5 | mult_heuristic |
[
68,
71,
35,
4
] | 19 | [
"68/4=17",
"71-35=36",
"36-17=19"
] | Current State: 19:[68, 71, 35, 4], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [71, 35, 17]
Generated Node #2: [71, 35, 17] from Operation: 68/4=17
Current State: 19:[71, 35, 17], Operations: ['68/4=17']
Exploring Operation: 71-35=36, Resulting Numbers: [17, 36]
Generated Node #3: [17, 36] from Operation: 71-35=36
Current State: 19:[17, 36], Operations: ['68/4=17', '71-35=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[68, 71, 35, 4], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [71, 35, 17]
Generated Node #0,0: 19:[71, 35, 17] Operation: 68/4=17
Exploring Operation: 71-68=3, Resulting Numbers: [35, 4, 3]
Generated Node #0,1: 19:[35, 4, 3] Operation: 71-68=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[35, 4, 3], Operations: ['71-68=3']
Exploring Operation: 4*3=12, Resulting Numbers: [35, 12]
Generated Node #0,1,0: 19:[35, 12] Operation: 4*3=12
Exploring Operation: 35-4=31, Resulting Numbers: [3, 31]
Generated Node #0,1,1: 19:[3, 31] Operation: 35-4=31
Moving to Node #0,1,0
Current State: 19:[35, 12], Operations: ['71-68=3', '4*3=12']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[3, 31], Operations: ['71-68=3', '35-4=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[71, 35, 17], Operations: ['68/4=17']
Exploring Operation: 71-35=36, Resulting Numbers: [17, 36]
Generated Node #0,0,0: 19:[17, 36] Operation: 71-35=36
Exploring Operation: 71-17=54, Resulting Numbers: [35, 54]
Generated Node #0,0,1: 19:[35, 54] Operation: 71-17=54
Moving to Node #0,0,0
Current State: 19:[17, 36], Operations: ['68/4=17', '71-35=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[68, 71, 35, 4], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [71, 35, 17]
Generated Node #0,0: 19:[71, 35, 17] Operation: 68/4=17
Moving to Node #0,0
Current State: 19:[71, 35, 17], Operations: ['68/4=17']
Exploring Operation: 71-35=36, Resulting Numbers: [17, 36]
Generated Node #0,0,0: 19:[17, 36] Operation: 71-35=36
Moving to Node #0,0,0
Current State: 19:[17, 36], Operations: ['68/4=17', '71-35=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
56,
59,
80,
76
] | 55 | [
"76-56=20",
"80/20=4",
"59-4=55"
] | Current State: 55:[56, 59, 80, 76], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [59, 80, 20]
Generated Node #2: [59, 80, 20] from Operation: 76-56=20
Current State: 55:[59, 80, 20], Operations: ['76-56=20']
Exploring Operation: 80/20=4, Resulting Numbers: [59, 4]
Generated Node #3: [59, 4] from Operation: 80/20=4
Current State: 55:[59, 4], Operations: ['76-56=20', '80/20=4']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[56, 59, 80, 76], Operations: []
Exploring Operation: 80-59=21, Resulting Numbers: [56, 76, 21]
Generated Node #0,0: 55:[56, 76, 21] Operation: 80-59=21
Exploring Operation: 80-76=4, Resulting Numbers: [56, 59, 4]
Generated Node #0,1: 55:[56, 59, 4] Operation: 80-76=4
Exploring Operation: 76-59=17, Resulting Numbers: [56, 80, 17]
Generated Node #0,2: 55:[56, 80, 17] Operation: 76-59=17
Exploring Operation: 80-56=24, Resulting Numbers: [59, 76, 24]
Generated Node #0,3: 55:[59, 76, 24] Operation: 80-56=24
Moving to Node #0,1
Current State: 55:[56, 59, 4], Operations: ['80-76=4']
Exploring Operation: 56/4=14, Resulting Numbers: [59, 14]
Generated Node #0,1,0: 55:[59, 14] Operation: 56/4=14
Exploring Operation: 59-56=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 55:[4, 3] Operation: 59-56=3
Exploring Operation: 56-4=52, Resulting Numbers: [59, 52]
Generated Node #0,1,2: 55:[59, 52] Operation: 56-4=52
Exploring Operation: 59-4=55, Resulting Numbers: [56, 55]
Generated Node #0,1,3: 55:[56, 55] Operation: 59-4=55
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 55:[56, 55], Operations: ['80-76=4', '59-4=55']
Exploring Operation: 56+55=111, Resulting Numbers: [111]
111,55 unequal: No Solution
Exploring Operation: 56*55=3080, Resulting Numbers: [3080]
3080,55 unequal: No Solution
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[4, 3], Operations: ['80-76=4', '59-56=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[59, 14], Operations: ['80-76=4', '56/4=14']
Exploring Operation: 59+14=73, Resulting Numbers: [73]
73,55 unequal: No Solution
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 59*14=826, Resulting Numbers: [826]
826,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[59, 52], Operations: ['80-76=4', '56-4=52']
Exploring Operation: 59+52=111, Resulting Numbers: [111]
111,55 unequal: No Solution
Exploring Operation: 59-52=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 59*52=3068, Resulting Numbers: [3068]
3068,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 55:[56, 80, 17], Operations: ['76-59=17']
Exploring Operation: 80-56=24, Resulting Numbers: [17, 24]
Generated Node #0,2,0: 55:[17, 24] Operation: 80-56=24
Exploring Operation: 56-17=39, Resulting Numbers: [80, 39]
Generated Node #0,2,1: 55:[80, 39] Operation: 56-17=39
Exploring Operation: 56+17=73, Resulting Numbers: [80, 73]
Generated Node #0,2,2: 55:[80, 73] Operation: 56+17=73
Exploring Operation: 80-17=63, Resulting Numbers: [56, 63]
Generated Node #0,2,3: 55:[56, 63] Operation: 80-17=63
Moving to Node #0,0
Current State: 55:[56, 76, 21], Operations: ['80-59=21']
Exploring Operation: 56-21=35, Resulting Numbers: [76, 35]
Generated Node #0,0,0: 55:[76, 35] Operation: 56-21=35
Exploring Operation: 76-21=55, Resulting Numbers: [56, 55]
Generated Node #0,0,1: 55:[56, 55] Operation: 76-21=55
Exploring Operation: 56+21=77, Resulting Numbers: [76, 77]
Generated Node #0,0,2: 55:[76, 77] Operation: 56+21=77
Exploring Operation: 76-56=20, Resulting Numbers: [21, 20]
Generated Node #0,0,3: 55:[21, 20] Operation: 76-56=20
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[56, 55], Operations: ['80-59=21', '76-21=55']
Exploring Operation: 56+55=111, Resulting Numbers: [111]
111,55 unequal: No Solution
Exploring Operation: 56*55=3080, Resulting Numbers: [3080]
3080,55 unequal: No Solution
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 55:[21, 20], Operations: ['80-59=21', '76-56=20']
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,55 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[76, 35], Operations: ['80-59=21', '56-21=35']
Exploring Operation: 76+35=111, Resulting Numbers: [111]
111,55 unequal: No Solution
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 76*35=2660, Resulting Numbers: [2660]
2660,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[76, 77], Operations: ['80-59=21', '56+21=77']
Exploring Operation: 76+77=153, Resulting Numbers: [153]
153,55 unequal: No Solution
Exploring Operation: 76*77=5852, Resulting Numbers: [5852]
5852,55 unequal: No Solution
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,55 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: 55:[59, 76, 24], Operations: ['80-56=24']
Exploring Operation: 59+24=83, Resulting Numbers: [76, 83]
Generated Node #0,3,0: 55:[76, 83] Operation: 59+24=83
Exploring Operation: 76-24=52, Resulting Numbers: [59, 52]
Generated Node #0,3,1: 55:[59, 52] Operation: 76-24=52
Exploring Operation: 59-24=35, Resulting Numbers: [76, 35]
Generated Node #0,3,2: 55:[76, 35] Operation: 59-24=35
Exploring Operation: 76-59=17, Resulting Numbers: [24, 17]
Generated Node #0,3,3: 55:[24, 17] Operation: 76-59=17
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 55:[59, 52], Operations: ['80-56=24', '76-24=52']
Exploring Operation: 59-52=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 59+52=111, Resulting Numbers: [111]
111,55 unequal: No Solution
Exploring Operation: 59*52=3068, Resulting Numbers: [3068]
3068,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 55:[24, 17], Operations: ['80-56=24', '76-59=17']
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,55 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 55:[76, 35], Operations: ['80-56=24', '59-24=35']
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 76*35=2660, Resulting Numbers: [2660]
2660,55 unequal: No Solution
Exploring Operation: 76+35=111, Resulting Numbers: [111]
111,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 55:[76, 83], Operations: ['80-56=24', '59+24=83']
Exploring Operation: 76+83=159, Resulting Numbers: [159]
159,55 unequal: No Solution
Exploring Operation: 83-76=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 76*83=6308, Resulting Numbers: [6308]
6308,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 55:[56, 63], Operations: ['76-59=17', '80-17=63']
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 56*63=3528, Resulting Numbers: [3528]
3528,55 unequal: No Solution
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[17, 24], Operations: ['76-59=17', '80-56=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[80, 39], Operations: ['76-59=17', '56-17=39']
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 80*39=3120, Resulting Numbers: [3120]
3120,55 unequal: No Solution
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[80, 73], Operations: ['76-59=17', '56+17=73']
Exploring Operation: 80+73=153, Resulting Numbers: [153]
153,55 unequal: No Solution
Exploring Operation: 80*73=5840, Resulting Numbers: [5840]
5840,55 unequal: No Solution
Exploring Operation: 80-73=7, Resulting Numbers: [7]
7,55 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
90,
75,
21,
19
] | 55 | [
"90-75=15",
"21+19=40",
"15+40=55"
] | Current State: 55:[90, 75, 21, 19], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [21, 19, 15]
Generated Node #2: [21, 19, 15] from Operation: 90-75=15
Current State: 55:[21, 19, 15], Operations: ['90-75=15']
Exploring Operation: 21+19=40, Resulting Numbers: [15, 40]
Generated Node #3: [15, 40] from Operation: 21+19=40
Current State: 55:[15, 40], Operations: ['90-75=15', '21+19=40']
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[90, 75, 21, 19], Operations: []
Exploring Operation: 90-21=69, Resulting Numbers: [75, 19, 69]
Generated Node #0,0: 55:[75, 19, 69] Operation: 90-21=69
Exploring Operation: 90-75=15, Resulting Numbers: [21, 19, 15]
Generated Node #0,1: 55:[21, 19, 15] Operation: 90-75=15
Exploring Operation: 90-19=71, Resulting Numbers: [75, 21, 71]
Generated Node #0,2: 55:[75, 21, 71] Operation: 90-19=71
Exploring Operation: 75-21=54, Resulting Numbers: [90, 19, 54]
Generated Node #0,3: 55:[90, 19, 54] Operation: 75-21=54
Exploring Operation: 75-19=56, Resulting Numbers: [90, 21, 56]
Generated Node #0,4: 55:[90, 21, 56] Operation: 75-19=56
Moving to Node #0,1
Current State: 55:[21, 19, 15], Operations: ['90-75=15']
Exploring Operation: 21-15=6, Resulting Numbers: [19, 6]
Generated Node #0,1,0: 55:[19, 6] Operation: 21-15=6
Exploring Operation: 21+19=40, Resulting Numbers: [15, 40]
Generated Node #0,1,1: 55:[15, 40] Operation: 21+19=40
Exploring Operation: 19-15=4, Resulting Numbers: [21, 4]
Generated Node #0,1,2: 55:[21, 4] Operation: 19-15=4
Exploring Operation: 21-19=2, Resulting Numbers: [15, 2]
Generated Node #0,1,3: 55:[15, 2] Operation: 21-19=2
Exploring Operation: 21+15=36, Resulting Numbers: [19, 36]
Generated Node #0,1,4: 55:[19, 36] Operation: 21+15=36
Moving to Node #0,0
Current State: 55:[75, 19, 69], Operations: ['90-21=69']
Exploring Operation: 19+69=88, Resulting Numbers: [75, 88]
Generated Node #0,0,0: 55:[75, 88] Operation: 19+69=88
Exploring Operation: 69-19=50, Resulting Numbers: [75, 50]
Generated Node #0,0,1: 55:[75, 50] Operation: 69-19=50
Exploring Operation: 75+19=94, Resulting Numbers: [69, 94]
Generated Node #0,0,2: 55:[69, 94] Operation: 75+19=94
Exploring Operation: 75-69=6, Resulting Numbers: [19, 6]
Generated Node #0,0,3: 55:[19, 6] Operation: 75-69=6
Exploring Operation: 75-19=56, Resulting Numbers: [69, 56]
Generated Node #0,0,4: 55:[69, 56] Operation: 75-19=56
Moving to Node #0,3
Current State: 55:[90, 19, 54], Operations: ['75-21=54']
Exploring Operation: 19+54=73, Resulting Numbers: [90, 73]
Generated Node #0,3,0: 55:[90, 73] Operation: 19+54=73
Exploring Operation: 54-19=35, Resulting Numbers: [90, 35]
Generated Node #0,3,1: 55:[90, 35] Operation: 54-19=35
Exploring Operation: 90+19=109, Resulting Numbers: [54, 109]
Generated Node #0,3,2: 55:[54, 109] Operation: 90+19=109
Exploring Operation: 90-54=36, Resulting Numbers: [19, 36]
Generated Node #0,3,3: 55:[19, 36] Operation: 90-54=36
Exploring Operation: 90-19=71, Resulting Numbers: [54, 71]
Generated Node #0,3,4: 55:[54, 71] Operation: 90-19=71
Moving to Node #0,2
Current State: 55:[75, 21, 71], Operations: ['90-19=71']
Exploring Operation: 71-21=50, Resulting Numbers: [75, 50]
Generated Node #0,2,0: 55:[75, 50] Operation: 71-21=50
Exploring Operation: 21+71=92, Resulting Numbers: [75, 92]
Generated Node #0,2,1: 55:[75, 92] Operation: 21+71=92
Exploring Operation: 75+21=96, Resulting Numbers: [71, 96]
Generated Node #0,2,2: 55:[71, 96] Operation: 75+21=96
Exploring Operation: 75-21=54, Resulting Numbers: [71, 54]
Generated Node #0,2,3: 55:[71, 54] Operation: 75-21=54
Exploring Operation: 75-71=4, Resulting Numbers: [21, 4]
Generated Node #0,2,4: 55:[21, 4] Operation: 75-71=4
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 55:[21, 4], Operations: ['90-19=71', '75-71=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[71, 54], Operations: ['90-19=71', '75-21=54']
Exploring Operation: 71*54=3834, Resulting Numbers: [3834]
3834,55 unequal: No Solution
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,55 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[75, 50], Operations: ['90-19=71', '71-21=50']
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,55 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[75, 92], Operations: ['90-19=71', '21+71=92']
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 75+92=167, Resulting Numbers: [167]
167,55 unequal: No Solution
Exploring Operation: 75*92=6900, Resulting Numbers: [6900]
6900,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[71, 96], Operations: ['90-19=71', '75+21=96']
Exploring Operation: 71+96=167, Resulting Numbers: [167]
167,55 unequal: No Solution
Exploring Operation: 71*96=6816, Resulting Numbers: [6816]
6816,55 unequal: No Solution
Exploring Operation: 96-71=25, Resulting Numbers: [25]
25,55 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: 55:[90, 21, 56], Operations: ['75-19=56']
Exploring Operation: 90-56=34, Resulting Numbers: [21, 34]
Generated Node #0,4,0: 55:[21, 34] Operation: 90-56=34
Exploring Operation: 90-21=69, Resulting Numbers: [56, 69]
Generated Node #0,4,1: 55:[56, 69] Operation: 90-21=69
Exploring Operation: 56-21=35, Resulting Numbers: [90, 35]
Generated Node #0,4,2: 55:[90, 35] Operation: 56-21=35
Exploring Operation: 90+21=111, Resulting Numbers: [56, 111]
Generated Node #0,4,3: 55:[56, 111] Operation: 90+21=111
Exploring Operation: 21+56=77, Resulting Numbers: [90, 77]
Generated Node #0,4,4: 55:[90, 77] Operation: 21+56=77
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 55:[56, 69], Operations: ['75-19=56', '90-21=69']
Exploring Operation: 56+69=125, Resulting Numbers: [125]
125,55 unequal: No Solution
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 56*69=3864, Resulting Numbers: [3864]
3864,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 55:[21, 34], Operations: ['75-19=56', '90-56=34']
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,55 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[90, 75, 21, 19], Operations: []
Exploring Operation: 75-19=56, Resulting Numbers: [90, 21, 56]
Generated Node #0,4: 55:[90, 21, 56] Operation: 75-19=56
Moving to Node #0,4
Current State: 55:[90, 21, 56], Operations: ['75-19=56']
Exploring Operation: 90-56=34, Resulting Numbers: [21, 34]
Generated Node #0,4,0: 55:[21, 34] Operation: 90-56=34
Moving to Node #0,4,0
Current State: 55:[21, 34], Operations: ['75-19=56', '90-56=34']
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_5 | sum_heuristic |
[
9,
90,
4,
6
] | 71 | [
"90-9=81",
"4+6=10",
"81-10=71"
] | Current State: 71:[9, 90, 4, 6], Operations: []
Exploring Operation: 90-9=81, Resulting Numbers: [4, 6, 81]
Generated Node #2: [4, 6, 81] from Operation: 90-9=81
Current State: 71:[4, 6, 81], Operations: ['90-9=81']
Exploring Operation: 4+6=10, Resulting Numbers: [81, 10]
Generated Node #3: [81, 10] from Operation: 4+6=10
Current State: 71:[81, 10], Operations: ['90-9=81', '4+6=10']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[9, 90, 4, 6], Operations: []
Exploring Operation: 9*6=54, Resulting Numbers: [90, 4, 54]
Generated Node #0,0: 71:[90, 4, 54] Operation: 9*6=54
Exploring Operation: 4*6=24, Resulting Numbers: [9, 90, 24]
Generated Node #0,1: 71:[9, 90, 24] Operation: 4*6=24
Exploring Operation: 90-9=81, Resulting Numbers: [4, 6, 81]
Generated Node #0,2: 71:[4, 6, 81] Operation: 90-9=81
Exploring Operation: 9*4=36, Resulting Numbers: [90, 6, 36]
Generated Node #0,3: 71:[90, 6, 36] Operation: 9*4=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[90, 4, 54], Operations: ['9*6=54']
Exploring Operation: 90-4=86, Resulting Numbers: [54, 86]
Generated Node #0,0,0: 71:[54, 86] Operation: 90-4=86
Exploring Operation: 4+54=58, Resulting Numbers: [90, 58]
Generated Node #0,0,1: 71:[90, 58] Operation: 4+54=58
Exploring Operation: 54-4=50, Resulting Numbers: [90, 50]
Generated Node #0,0,2: 71:[90, 50] Operation: 54-4=50
Exploring Operation: 90+4=94, Resulting Numbers: [54, 94]
Generated Node #0,0,3: 71:[54, 94] Operation: 90+4=94
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[54, 86], Operations: ['9*6=54', '90-4=86']
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 54*86=4644, Resulting Numbers: [4644]
4644,71 unequal: No Solution
Exploring Operation: 54+86=140, Resulting Numbers: [140]
140,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[90, 58], Operations: ['9*6=54', '4+54=58']
Exploring Operation: 90+58=148, Resulting Numbers: [148]
148,71 unequal: No Solution
Exploring Operation: 90*58=5220, Resulting Numbers: [5220]
5220,71 unequal: No Solution
Exploring Operation: 90-58=32, Resulting Numbers: [32]
32,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[90, 50], Operations: ['9*6=54', '54-4=50']
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 90*50=4500, Resulting Numbers: [4500]
4500,71 unequal: No Solution
Exploring Operation: 90+50=140, Resulting Numbers: [140]
140,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[54, 94], Operations: ['9*6=54', '90+4=94']
Exploring Operation: 94-54=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 54*94=5076, Resulting Numbers: [5076]
5076,71 unequal: No Solution
Exploring Operation: 54+94=148, Resulting Numbers: [148]
148,71 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: 71:[90, 6, 36], Operations: ['9*4=36']
Exploring Operation: 90+6=96, Resulting Numbers: [36, 96]
Generated Node #0,3,0: 71:[36, 96] Operation: 90+6=96
Exploring Operation: 90-6=84, Resulting Numbers: [36, 84]
Generated Node #0,3,1: 71:[36, 84] Operation: 90-6=84
Exploring Operation: 6+36=42, Resulting Numbers: [90, 42]
Generated Node #0,3,2: 71:[90, 42] Operation: 6+36=42
Exploring Operation: 36-6=30, Resulting Numbers: [90, 30]
Generated Node #0,3,3: 71:[90, 30] Operation: 36-6=30
Moving to Node #0,3,1
Current State: 71:[36, 84], Operations: ['9*4=36', '90-6=84']
Exploring Operation: 36+84=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Exploring Operation: 36*84=3024, Resulting Numbers: [3024]
3024,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[90, 42], Operations: ['9*4=36', '6+36=42']
Exploring Operation: 90+42=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Exploring Operation: 90*42=3780, Resulting Numbers: [3780]
3780,71 unequal: No Solution
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[90, 30], Operations: ['9*4=36', '36-6=30']
Exploring Operation: 90*30=2700, Resulting Numbers: [2700]
2700,71 unequal: No Solution
Exploring Operation: 90-30=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Exploring Operation: 90/30=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 90+30=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[36, 96], Operations: ['9*4=36', '90+6=96']
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Exploring Operation: 36*96=3456, Resulting Numbers: [3456]
3456,71 unequal: No Solution
Exploring Operation: 36+96=132, Resulting Numbers: [132]
132,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[9, 90, 24], Operations: ['4*6=24']
Exploring Operation: 90-24=66, Resulting Numbers: [9, 66]
Generated Node #0,1,0: 71:[9, 66] Operation: 90-24=66
Exploring Operation: 9+90=99, Resulting Numbers: [24, 99]
Generated Node #0,1,1: 71:[24, 99] Operation: 9+90=99
Exploring Operation: 90-9=81, Resulting Numbers: [24, 81]
Generated Node #0,1,2: 71:[24, 81] Operation: 90-9=81
Exploring Operation: 9+24=33, Resulting Numbers: [90, 33]
Generated Node #0,1,3: 71:[90, 33] Operation: 9+24=33
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[24, 81], Operations: ['4*6=24', '90-9=81']
Exploring Operation: 24+81=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Exploring Operation: 24*81=1944, Resulting Numbers: [1944]
1944,71 unequal: No Solution
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 71:[90, 33], Operations: ['4*6=24', '9+24=33']
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 90+33=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Exploring Operation: 90*33=2970, Resulting Numbers: [2970]
2970,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[9, 66], Operations: ['4*6=24', '90-24=66']
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,71 unequal: No Solution
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,71 unequal: No Solution
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[24, 99], Operations: ['4*6=24', '9+90=99']
Exploring Operation: 24+99=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Exploring Operation: 24*99=2376, Resulting Numbers: [2376]
2376,71 unequal: No Solution
Exploring Operation: 99-24=75, Resulting Numbers: [75]
75,71 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: 71:[4, 6, 81], Operations: ['90-9=81']
Exploring Operation: 81-4=77, Resulting Numbers: [6, 77]
Generated Node #0,2,0: 71:[6, 77] Operation: 81-4=77
Exploring Operation: 81-6=75, Resulting Numbers: [4, 75]
Generated Node #0,2,1: 71:[4, 75] Operation: 81-6=75
Exploring Operation: 4+6=10, Resulting Numbers: [81, 10]
Generated Node #0,2,2: 71:[81, 10] Operation: 4+6=10
Exploring Operation: 4*6=24, Resulting Numbers: [81, 24]
Generated Node #0,2,3: 71:[81, 24] Operation: 4*6=24
Moving to Node #0,2,3
Current State: 71:[81, 24], Operations: ['90-9=81', '4*6=24']
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 81*24=1944, Resulting Numbers: [1944]
1944,71 unequal: No Solution
Exploring Operation: 81+24=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[4, 75], Operations: ['90-9=81', '81-6=75']
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,71 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[9, 90, 4, 6], Operations: []
Exploring Operation: 90-9=81, Resulting Numbers: [4, 6, 81]
Generated Node #0,2: 71:[4, 6, 81] Operation: 90-9=81
Moving to Node #0,2
Current State: 71:[4, 6, 81], Operations: ['90-9=81']
Exploring Operation: 81-6=75, Resulting Numbers: [4, 75]
Generated Node #0,2,1: 71:[4, 75] Operation: 81-6=75
Moving to Node #0,2,1
Current State: 71:[4, 75], Operations: ['90-9=81', '81-6=75']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 | hs_4 | mult_heuristic |
[
75,
5,
84,
75
] | 14 | [
"75/75=1",
"5+1=6",
"84/6=14"
] | Current State: 14:[75, 5, 84, 75], Operations: []
Exploring Operation: 75/75=1, Resulting Numbers: [5, 84, 1]
Generated Node #2: [5, 84, 1] from Operation: 75/75=1
Current State: 14:[5, 84, 1], Operations: ['75/75=1']
Exploring Operation: 5+1=6, Resulting Numbers: [84, 6]
Generated Node #3: [84, 6] from Operation: 5+1=6
Current State: 14:[84, 6], Operations: ['75/75=1', '5+1=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[75, 5, 84, 75], Operations: []
Exploring Operation: 75-75=0, Resulting Numbers: [5, 84, 0]
Generated Node #0,0: 14:[5, 84, 0] Operation: 75-75=0
Exploring Operation: 75/75=1, Resulting Numbers: [5, 84, 1]
Generated Node #0,1: 14:[5, 84, 1] Operation: 75/75=1
Exploring Operation: 84-75=9, Resulting Numbers: [5, 75, 9]
Generated Node #0,2: 14:[5, 75, 9] Operation: 84-75=9
Exploring Operation: 84-75=9, Resulting Numbers: [75, 5, 9]
Generated Node #0,3: 14:[75, 5, 9] Operation: 84-75=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[5, 75, 9], Operations: ['84-75=9']
Exploring Operation: 5+9=14, Resulting Numbers: [75, 14]
Generated Node #0,2,0: 14:[75, 14] Operation: 5+9=14
Exploring Operation: 75-9=66, Resulting Numbers: [5, 66]
Generated Node #0,2,1: 14:[5, 66] Operation: 75-9=66
Exploring Operation: 75/5=15, Resulting Numbers: [9, 15]
Generated Node #0,2,2: 14:[9, 15] Operation: 75/5=15
Exploring Operation: 75-5=70, Resulting Numbers: [9, 70]
Generated Node #0,2,3: 14:[9, 70] Operation: 75-5=70
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 14:[9, 15], Operations: ['84-75=9', '75/5=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,14 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,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:[5, 66], Operations: ['84-75=9', '75-9=66']
Exploring Operation: 5+66=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 5*66=330, Resulting Numbers: [330]
330,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:[9, 70], Operations: ['84-75=9', '75-5=70']
Exploring Operation: 9*70=630, Resulting Numbers: [630]
630,14 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,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:[75, 14], Operations: ['84-75=9', '5+9=14']
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,14 unequal: No Solution
Exploring Operation: 75*14=1050, Resulting Numbers: [1050]
1050,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:[75, 5, 9], Operations: ['84-75=9']
Exploring Operation: 75-9=66, Resulting Numbers: [5, 66]
Generated Node #0,3,0: 14:[5, 66] Operation: 75-9=66
Exploring Operation: 5+9=14, Resulting Numbers: [75, 14]
Generated Node #0,3,1: 14:[75, 14] Operation: 5+9=14
Exploring Operation: 75/5=15, Resulting Numbers: [9, 15]
Generated Node #0,3,2: 14:[9, 15] Operation: 75/5=15
Exploring Operation: 75-5=70, Resulting Numbers: [9, 70]
Generated Node #0,3,3: 14:[9, 70] Operation: 75-5=70
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 14:[9, 15], Operations: ['84-75=9', '75/5=15']
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,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:[5, 66], Operations: ['84-75=9', '75-9=66']
Exploring Operation: 5*66=330, Resulting Numbers: [330]
330,14 unequal: No Solution
Exploring Operation: 5+66=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,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:[9, 70], Operations: ['84-75=9', '75-5=70']
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,14 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 9*70=630, Resulting Numbers: [630]
630,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:[75, 14], Operations: ['84-75=9', '5+9=14']
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 75*14=1050, Resulting Numbers: [1050]
1050,14 unequal: No Solution
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,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,1
Current State: 14:[5, 84, 1], Operations: ['75/75=1']
Exploring Operation: 5+1=6, Resulting Numbers: [84, 6]
Generated Node #0,1,0: 14:[84, 6] Operation: 5+1=6
Exploring Operation: 84-5=79, Resulting Numbers: [1, 79]
Generated Node #0,1,1: 14:[1, 79] Operation: 84-5=79
Exploring Operation: 5*1=5, Resulting Numbers: [84, 5]
Generated Node #0,1,2: 14:[84, 5] Operation: 5*1=5
Exploring Operation: 84-1=83, Resulting Numbers: [5, 83]
Generated Node #0,1,3: 14:[5, 83] Operation: 84-1=83
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[1, 79], Operations: ['75/75=1', '84-5=79']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,14 unequal: No Solution
Exploring Operation: 1*79=79, Resulting Numbers: [79]
79,14 unequal: No Solution
Exploring Operation: 1+79=80, Resulting Numbers: [80]
80,14 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,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,1,0
Current State: 14:[84, 6], Operations: ['75/75=1', '5+1=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[75, 5, 84, 75], Operations: []
Exploring Operation: 75/75=1, Resulting Numbers: [5, 84, 1]
Generated Node #0,1: 14:[5, 84, 1] Operation: 75/75=1
Moving to Node #0,1
Current State: 14:[5, 84, 1], Operations: ['75/75=1']
Exploring Operation: 5+1=6, Resulting Numbers: [84, 6]
Generated Node #0,1,0: 14:[84, 6] Operation: 5+1=6
Moving to Node #0,1,0
Current State: 14:[84, 6], Operations: ['75/75=1', '5+1=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.957465 | hs_4 | sum_heuristic |
[
84,
85,
81,
78
] | 93 | [
"85-78=7",
"84/7=12",
"81+12=93"
] | Current State: 93:[84, 85, 81, 78], Operations: []
Exploring Operation: 85-78=7, Resulting Numbers: [84, 81, 7]
Generated Node #2: [84, 81, 7] from Operation: 85-78=7
Current State: 93:[84, 81, 7], Operations: ['85-78=7']
Exploring Operation: 84/7=12, Resulting Numbers: [81, 12]
Generated Node #3: [81, 12] from Operation: 84/7=12
Current State: 93:[81, 12], Operations: ['85-78=7', '84/7=12']
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[84, 85, 81, 78], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [85, 81, 6]
Generated Node #0,0: 93:[85, 81, 6] Operation: 84-78=6
Exploring Operation: 81-78=3, Resulting Numbers: [84, 85, 3]
Generated Node #0,1: 93:[84, 85, 3] Operation: 81-78=3
Exploring Operation: 84-81=3, Resulting Numbers: [85, 78, 3]
Generated Node #0,2: 93:[85, 78, 3] Operation: 84-81=3
Moving to Node #0,1
Current State: 93:[84, 85, 3], Operations: ['81-78=3']
Exploring Operation: 84/3=28, Resulting Numbers: [85, 28]
Generated Node #0,1,0: 93:[85, 28] Operation: 84/3=28
Exploring Operation: 84+3=87, Resulting Numbers: [85, 87]
Generated Node #0,1,1: 93:[85, 87] Operation: 84+3=87
Exploring Operation: 85-84=1, Resulting Numbers: [3, 1]
Generated Node #0,1,2: 93:[3, 1] Operation: 85-84=1
Moving to Node #0,0
Current State: 93:[85, 81, 6], Operations: ['84-78=6']
Exploring Operation: 85-81=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 93:[6, 4] Operation: 85-81=4
Exploring Operation: 81+6=87, Resulting Numbers: [85, 87]
Generated Node #0,0,1: 93:[85, 87] Operation: 81+6=87
Exploring Operation: 85+6=91, Resulting Numbers: [81, 91]
Generated Node #0,0,2: 93:[81, 91] Operation: 85+6=91
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[6, 4], Operations: ['84-78=6', '85-81=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,93 unequal: No Solution
No 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: 93:[85, 87], Operations: ['84-78=6', '81+6=87']
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 85*87=7395, Resulting Numbers: [7395]
7395,93 unequal: No Solution
Exploring Operation: 85+87=172, Resulting Numbers: [172]
172,93 unequal: No Solution
No 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: 93:[81, 91], Operations: ['84-78=6', '85+6=91']
Exploring Operation: 91-81=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 81+91=172, Resulting Numbers: [172]
172,93 unequal: No Solution
Exploring Operation: 81*91=7371, Resulting Numbers: [7371]
7371,93 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: 93:[85, 78, 3], Operations: ['84-81=3']
Exploring Operation: 85-78=7, Resulting Numbers: [3, 7]
Generated Node #0,2,0: 93:[3, 7] Operation: 85-78=7
Exploring Operation: 85+3=88, Resulting Numbers: [78, 88]
Generated Node #0,2,1: 93:[78, 88] Operation: 85+3=88
Exploring Operation: 78/3=26, Resulting Numbers: [85, 26]
Generated Node #0,2,2: 93:[85, 26] Operation: 78/3=26
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[3, 7], Operations: ['84-81=3', '85-78=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,93 unequal: No Solution
No 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: 93:[85, 26], Operations: ['84-81=3', '78/3=26']
Exploring Operation: 85+26=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 85*26=2210, Resulting Numbers: [2210]
2210,93 unequal: No Solution
No 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: 93:[78, 88], Operations: ['84-81=3', '85+3=88']
Exploring Operation: 78*88=6864, Resulting Numbers: [6864]
6864,93 unequal: No Solution
Exploring Operation: 78+88=166, Resulting Numbers: [166]
166,93 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 93:[3, 1], Operations: ['81-78=3', '85-84=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[85, 28], Operations: ['81-78=3', '84/3=28']
Exploring Operation: 85*28=2380, Resulting Numbers: [2380]
2380,93 unequal: No Solution
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 85+28=113, Resulting Numbers: [113]
113,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[85, 87], Operations: ['81-78=3', '84+3=87']
Exploring Operation: 85+87=172, Resulting Numbers: [172]
172,93 unequal: No Solution
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 85*87=7395, Resulting Numbers: [7395]
7395,93 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
55,
97,
44,
38
] | 40 | [
"55+97=152",
"152/38=4",
"44-4=40"
] | Current State: 40:[55, 97, 44, 38], Operations: []
Exploring Operation: 55+97=152, Resulting Numbers: [44, 38, 152]
Generated Node #2: [44, 38, 152] from Operation: 55+97=152
Current State: 40:[44, 38, 152], Operations: ['55+97=152']
Exploring Operation: 152/38=4, Resulting Numbers: [44, 4]
Generated Node #3: [44, 4] from Operation: 152/38=4
Current State: 40:[44, 4], Operations: ['55+97=152', '152/38=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[55, 97, 44, 38], Operations: []
Exploring Operation: 55-44=11, Resulting Numbers: [97, 38, 11]
Generated Node #0,0: 40:[97, 38, 11] Operation: 55-44=11
Exploring Operation: 97-44=53, Resulting Numbers: [55, 38, 53]
Generated Node #0,1: 40:[55, 38, 53] Operation: 97-44=53
Exploring Operation: 97-38=59, Resulting Numbers: [55, 44, 59]
Generated Node #0,2: 40:[55, 44, 59] Operation: 97-38=59
Exploring Operation: 55-38=17, Resulting Numbers: [97, 44, 17]
Generated Node #0,3: 40:[97, 44, 17] Operation: 55-38=17
Exploring Operation: 97-55=42, Resulting Numbers: [44, 38, 42]
Generated Node #0,4: 40:[44, 38, 42] Operation: 97-55=42
Moving to Node #0,4
Current State: 40:[44, 38, 42], Operations: ['97-55=42']
Exploring Operation: 42-38=4, Resulting Numbers: [44, 4]
Generated Node #0,4,0: 40:[44, 4] Operation: 42-38=4
Exploring Operation: 38+42=80, Resulting Numbers: [44, 80]
Generated Node #0,4,1: 40:[44, 80] Operation: 38+42=80
Exploring Operation: 44+38=82, Resulting Numbers: [42, 82]
Generated Node #0,4,2: 40:[42, 82] Operation: 44+38=82
Exploring Operation: 44-42=2, Resulting Numbers: [38, 2]
Generated Node #0,4,3: 40:[38, 2] Operation: 44-42=2
Exploring Operation: 44-38=6, Resulting Numbers: [42, 6]
Generated Node #0,4,4: 40:[42, 6] Operation: 44-38=6
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 40:[38, 2], Operations: ['97-55=42', '44-42=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,40 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[55, 97, 44, 38], Operations: []
Exploring Operation: 97-55=42, Resulting Numbers: [44, 38, 42]
Generated Node #0,4: 40:[44, 38, 42] Operation: 97-55=42
Moving to Node #0,4
Current State: 40:[44, 38, 42], Operations: ['97-55=42']
Exploring Operation: 44-42=2, Resulting Numbers: [38, 2]
Generated Node #0,4,3: 40:[38, 2] Operation: 44-42=2
Moving to Node #0,4,3
Current State: 40:[38, 2], Operations: ['97-55=42', '44-42=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
77,
46,
5,
42
] | 57 | [
"46-42=4",
"5*4=20",
"77-20=57"
] | Current State: 57:[77, 46, 5, 42], Operations: []
Exploring Operation: 46-42=4, Resulting Numbers: [77, 5, 4]
Generated Node #2: [77, 5, 4] from Operation: 46-42=4
Current State: 57:[77, 5, 4], Operations: ['46-42=4']
Exploring Operation: 5*4=20, Resulting Numbers: [77, 20]
Generated Node #3: [77, 20] from Operation: 5*4=20
Current State: 57:[77, 20], Operations: ['46-42=4', '5*4=20']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[77, 46, 5, 42], Operations: []
Exploring Operation: 77-5=72, Resulting Numbers: [46, 42, 72]
Generated Node #0,0: 57:[46, 42, 72] Operation: 77-5=72
Exploring Operation: 77-42=35, Resulting Numbers: [46, 5, 35]
Generated Node #0,1: 57:[46, 5, 35] Operation: 77-42=35
Exploring Operation: 77-46=31, Resulting Numbers: [5, 42, 31]
Generated Node #0,2: 57:[5, 42, 31] Operation: 77-46=31
Exploring Operation: 46-42=4, Resulting Numbers: [77, 5, 4]
Generated Node #0,3: 57:[77, 5, 4] Operation: 46-42=4
Moving to Node #0,3
Current State: 57:[77, 5, 4], Operations: ['46-42=4']
Exploring Operation: 77-5=72, Resulting Numbers: [4, 72]
Generated Node #0,3,0: 57:[4, 72] Operation: 77-5=72
Exploring Operation: 5-4=1, Resulting Numbers: [77, 1]
Generated Node #0,3,1: 57:[77, 1] Operation: 5-4=1
Exploring Operation: 77-4=73, Resulting Numbers: [5, 73]
Generated Node #0,3,2: 57:[5, 73] Operation: 77-4=73
Exploring Operation: 5*4=20, Resulting Numbers: [77, 20]
Generated Node #0,3,3: 57:[77, 20] Operation: 5*4=20
Moving to Node #0,2
Current State: 57:[5, 42, 31], Operations: ['77-46=31']
Exploring Operation: 5+42=47, Resulting Numbers: [31, 47]
Generated Node #0,2,0: 57:[31, 47] Operation: 5+42=47
Exploring Operation: 42+31=73, Resulting Numbers: [5, 73]
Generated Node #0,2,1: 57:[5, 73] Operation: 42+31=73
Exploring Operation: 31-5=26, Resulting Numbers: [42, 26]
Generated Node #0,2,2: 57:[42, 26] Operation: 31-5=26
Exploring Operation: 42-31=11, Resulting Numbers: [5, 11]
Generated Node #0,2,3: 57:[5, 11] Operation: 42-31=11
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 57:[5, 11], Operations: ['77-46=31', '42-31=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,57 unequal: No Solution
No 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: 57:[5, 73], Operations: ['77-46=31', '42+31=73']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,57 unequal: No Solution
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,57 unequal: No Solution
No 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: 57:[31, 47], Operations: ['77-46=31', '5+42=47']
Exploring Operation: 31+47=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 31*47=1457, Resulting Numbers: [1457]
1457,57 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,57 unequal: No Solution
No 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: 57:[42, 26], Operations: ['77-46=31', '31-5=26']
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,57 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,57 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: 57:[46, 5, 35], Operations: ['77-42=35']
Exploring Operation: 35-5=30, Resulting Numbers: [46, 30]
Generated Node #0,1,0: 57:[46, 30] Operation: 35-5=30
Exploring Operation: 35/5=7, Resulting Numbers: [46, 7]
Generated Node #0,1,1: 57:[46, 7] Operation: 35/5=7
Exploring Operation: 46+5=51, Resulting Numbers: [35, 51]
Generated Node #0,1,2: 57:[35, 51] Operation: 46+5=51
Exploring Operation: 46-35=11, Resulting Numbers: [5, 11]
Generated Node #0,1,3: 57:[5, 11] Operation: 46-35=11
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 57:[5, 11], Operations: ['77-42=35', '46-35=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,57 unequal: No Solution
No 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: 57:[46, 7], Operations: ['77-42=35', '35/5=7']
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,57 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,57 unequal: No Solution
No 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: 57:[46, 30], Operations: ['77-42=35', '35-5=30']
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,57 unequal: No Solution
No 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: 57:[35, 51], Operations: ['77-42=35', '46+5=51']
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,57 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,57 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: 57:[46, 42, 72], Operations: ['77-5=72']
Exploring Operation: 46-42=4, Resulting Numbers: [72, 4]
Generated Node #0,0,0: 57:[72, 4] Operation: 46-42=4
Exploring Operation: 72-42=30, Resulting Numbers: [46, 30]
Generated Node #0,0,1: 57:[46, 30] Operation: 72-42=30
Exploring Operation: 72-46=26, Resulting Numbers: [42, 26]
Generated Node #0,0,2: 57:[42, 26] Operation: 72-46=26
Exploring Operation: 46+42=88, Resulting Numbers: [72, 88]
Generated Node #0,0,3: 57:[72, 88] Operation: 46+42=88
Moving to Node #0,3,0
Current State: 57:[4, 72], Operations: ['46-42=4', '77-5=72']
Exploring Operation: 4*72=288, Resulting Numbers: [288]
288,57 unequal: No Solution
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[72, 4], Operations: ['77-5=72', '46-42=4']
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[5, 73], Operations: ['46-42=4', '77-4=73']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,57 unequal: No Solution
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[77, 20], Operations: ['46-42=4', '5*4=20']
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,57 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[77, 46, 5, 42], Operations: []
Exploring Operation: 46-42=4, Resulting Numbers: [77, 5, 4]
Generated Node #0,3: 57:[77, 5, 4] Operation: 46-42=4
Moving to Node #0,3
Current State: 57:[77, 5, 4], Operations: ['46-42=4']
Exploring Operation: 5*4=20, Resulting Numbers: [77, 20]
Generated Node #0,3,3: 57:[77, 20] Operation: 5*4=20
Moving to Node #0,3,3
Current State: 57:[77, 20], Operations: ['46-42=4', '5*4=20']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.947049 | hs_4 | mult_heuristic |
[
83,
88,
90,
57
] | 75 | [
"88-83=5",
"90/5=18",
"57+18=75"
] | Current State: 75:[83, 88, 90, 57], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [90, 57, 5]
Generated Node #2: [90, 57, 5] from Operation: 88-83=5
Current State: 75:[90, 57, 5], Operations: ['88-83=5']
Exploring Operation: 90/5=18, Resulting Numbers: [57, 18]
Generated Node #3: [57, 18] from Operation: 90/5=18
Current State: 75:[57, 18], Operations: ['88-83=5', '90/5=18']
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[83, 88, 90, 57], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [83, 57, 2]
Generated Node #0,0: 75:[83, 57, 2] Operation: 90-88=2
Exploring Operation: 88-83=5, Resulting Numbers: [90, 57, 5]
Generated Node #0,1: 75:[90, 57, 5] Operation: 88-83=5
Exploring Operation: 83-57=26, Resulting Numbers: [88, 90, 26]
Generated Node #0,2: 75:[88, 90, 26] Operation: 83-57=26
Exploring Operation: 88-57=31, Resulting Numbers: [83, 90, 31]
Generated Node #0,3: 75:[83, 90, 31] Operation: 88-57=31
Exploring Operation: 90-57=33, Resulting Numbers: [83, 88, 33]
Generated Node #0,4: 75:[83, 88, 33] Operation: 90-57=33
Moving to Node #0,0
Current State: 75:[83, 57, 2], Operations: ['90-88=2']
Exploring Operation: 83-2=81, Resulting Numbers: [57, 81]
Generated Node #0,0,0: 75:[57, 81] Operation: 83-2=81
Exploring Operation: 83+2=85, Resulting Numbers: [57, 85]
Generated Node #0,0,1: 75:[57, 85] Operation: 83+2=85
Exploring Operation: 83-57=26, Resulting Numbers: [2, 26]
Generated Node #0,0,2: 75:[2, 26] Operation: 83-57=26
Exploring Operation: 57-2=55, Resulting Numbers: [83, 55]
Generated Node #0,0,3: 75:[83, 55] Operation: 57-2=55
Exploring Operation: 57+2=59, Resulting Numbers: [83, 59]
Generated Node #0,0,4: 75:[83, 59] Operation: 57+2=59
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[2, 26], Operations: ['90-88=2', '83-57=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[57, 81], Operations: ['90-88=2', '83-2=81']
Exploring Operation: 57+81=138, Resulting Numbers: [138]
138,75 unequal: No Solution
Exploring Operation: 81-57=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 57*81=4617, Resulting Numbers: [4617]
4617,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 75:[83, 59], Operations: ['90-88=2', '57+2=59']
Exploring Operation: 83-59=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 83*59=4897, Resulting Numbers: [4897]
4897,75 unequal: No Solution
Exploring Operation: 83+59=142, Resulting Numbers: [142]
142,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[57, 85], Operations: ['90-88=2', '83+2=85']
Exploring Operation: 57*85=4845, Resulting Numbers: [4845]
4845,75 unequal: No Solution
Exploring Operation: 85-57=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 57+85=142, Resulting Numbers: [142]
142,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 75:[83, 55], Operations: ['90-88=2', '57-2=55']
Exploring Operation: 83-55=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 83+55=138, Resulting Numbers: [138]
138,75 unequal: No Solution
Exploring Operation: 83*55=4565, Resulting Numbers: [4565]
4565,75 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: 75:[83, 90, 31], Operations: ['88-57=31']
Exploring Operation: 83-31=52, Resulting Numbers: [90, 52]
Generated Node #0,3,0: 75:[90, 52] Operation: 83-31=52
Exploring Operation: 83+31=114, Resulting Numbers: [90, 114]
Generated Node #0,3,1: 75:[90, 114] Operation: 83+31=114
Exploring Operation: 90+31=121, Resulting Numbers: [83, 121]
Generated Node #0,3,2: 75:[83, 121] Operation: 90+31=121
Exploring Operation: 90-31=59, Resulting Numbers: [83, 59]
Generated Node #0,3,3: 75:[83, 59] Operation: 90-31=59
Exploring Operation: 90-83=7, Resulting Numbers: [31, 7]
Generated Node #0,3,4: 75:[31, 7] Operation: 90-83=7
Moving to Node #0,2
Current State: 75:[88, 90, 26], Operations: ['83-57=26']
Exploring Operation: 90+26=116, Resulting Numbers: [88, 116]
Generated Node #0,2,0: 75:[88, 116] Operation: 90+26=116
Exploring Operation: 88+26=114, Resulting Numbers: [90, 114]
Generated Node #0,2,1: 75:[90, 114] Operation: 88+26=114
Exploring Operation: 90-26=64, Resulting Numbers: [88, 64]
Generated Node #0,2,2: 75:[88, 64] Operation: 90-26=64
Exploring Operation: 88-26=62, Resulting Numbers: [90, 62]
Generated Node #0,2,3: 75:[90, 62] Operation: 88-26=62
Exploring Operation: 90-88=2, Resulting Numbers: [26, 2]
Generated Node #0,2,4: 75:[26, 2] Operation: 90-88=2
Moving to Node #0,4
Current State: 75:[83, 88, 33], Operations: ['90-57=33']
Exploring Operation: 88+33=121, Resulting Numbers: [83, 121]
Generated Node #0,4,0: 75:[83, 121] Operation: 88+33=121
Exploring Operation: 83-33=50, Resulting Numbers: [88, 50]
Generated Node #0,4,1: 75:[88, 50] Operation: 83-33=50
Exploring Operation: 88-33=55, Resulting Numbers: [83, 55]
Generated Node #0,4,2: 75:[83, 55] Operation: 88-33=55
Exploring Operation: 83+33=116, Resulting Numbers: [88, 116]
Generated Node #0,4,3: 75:[88, 116] Operation: 83+33=116
Exploring Operation: 88-83=5, Resulting Numbers: [33, 5]
Generated Node #0,4,4: 75:[33, 5] Operation: 88-83=5
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 75:[33, 5], Operations: ['90-57=33', '88-83=5']
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,75 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 75:[83, 55], Operations: ['90-57=33', '88-33=55']
Exploring Operation: 83+55=138, Resulting Numbers: [138]
138,75 unequal: No Solution
Exploring Operation: 83-55=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 83*55=4565, Resulting Numbers: [4565]
4565,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 75:[88, 50], Operations: ['90-57=33', '83-33=50']
Exploring Operation: 88*50=4400, Resulting Numbers: [4400]
4400,75 unequal: No Solution
Exploring Operation: 88+50=138, Resulting Numbers: [138]
138,75 unequal: No Solution
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 75:[83, 121], Operations: ['90-57=33', '88+33=121']
Exploring Operation: 83*121=10043, Resulting Numbers: [10043]
10043,75 unequal: No Solution
Exploring Operation: 121-83=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 83+121=204, Resulting Numbers: [204]
204,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 75:[88, 116], Operations: ['90-57=33', '83+33=116']
Exploring Operation: 116-88=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 88+116=204, Resulting Numbers: [204]
204,75 unequal: No Solution
Exploring Operation: 88*116=10208, Resulting Numbers: [10208]
10208,75 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: 75:[90, 57, 5], Operations: ['88-83=5']
Exploring Operation: 57+5=62, Resulting Numbers: [90, 62]
Generated Node #0,1,0: 75:[90, 62] Operation: 57+5=62
Exploring Operation: 90/5=18, Resulting Numbers: [57, 18]
Generated Node #0,1,1: 75:[57, 18] Operation: 90/5=18
Exploring Operation: 90-57=33, Resulting Numbers: [5, 33]
Generated Node #0,1,2: 75:[5, 33] Operation: 90-57=33
Exploring Operation: 90-5=85, Resulting Numbers: [57, 85]
Generated Node #0,1,3: 75:[57, 85] Operation: 90-5=85
Exploring Operation: 90+5=95, Resulting Numbers: [57, 95]
Generated Node #0,1,4: 75:[57, 95] Operation: 90+5=95
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[5, 33], Operations: ['88-83=5', '90-57=33']
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,75 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[57, 18], Operations: ['88-83=5', '90/5=18']
Exploring Operation: 57*18=1026, Resulting Numbers: [1026]
1026,75 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[83, 88, 90, 57], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [90, 57, 5]
Generated Node #0,1: 75:[90, 57, 5] Operation: 88-83=5
Moving to Node #0,1
Current State: 75:[90, 57, 5], Operations: ['88-83=5']
Exploring Operation: 90/5=18, Resulting Numbers: [57, 18]
Generated Node #0,1,1: 75:[57, 18] Operation: 90/5=18
Moving to Node #0,1,1
Current State: 75:[57, 18], Operations: ['88-83=5', '90/5=18']
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.938368 | hs_5 | sum_heuristic |
[
57,
13,
17,
85
] | 14 | [
"57+13=70",
"85/17=5",
"70/5=14"
] | Current State: 14:[57, 13, 17, 85], Operations: []
Exploring Operation: 57+13=70, Resulting Numbers: [17, 85, 70]
Generated Node #2: [17, 85, 70] from Operation: 57+13=70
Current State: 14:[17, 85, 70], Operations: ['57+13=70']
Exploring Operation: 85/17=5, Resulting Numbers: [70, 5]
Generated Node #3: [70, 5] from Operation: 85/17=5
Current State: 14:[70, 5], Operations: ['57+13=70', '85/17=5']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[57, 13, 17, 85], Operations: []
Exploring Operation: 85-57=28, Resulting Numbers: [13, 17, 28]
Generated Node #0,0: 14:[13, 17, 28] Operation: 85-57=28
Moving to Node #0,0
Current State: 14:[13, 17, 28], Operations: ['85-57=28']
Exploring Operation: 28-13=15, Resulting Numbers: [17, 15]
Generated Node #0,0,0: 14:[17, 15] Operation: 28-13=15
Moving to Node #0,0,0
Current State: 14:[17, 15], Operations: ['85-57=28', '28-13=15']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,14 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
2,
70,
32
] | 94 | [
"70-7=63",
"2*63=126",
"126-32=94"
] | Current State: 94:[7, 2, 70, 32], Operations: []
Exploring Operation: 70-7=63, Resulting Numbers: [2, 32, 63]
Generated Node #2: [2, 32, 63] from Operation: 70-7=63
Current State: 94:[2, 32, 63], Operations: ['70-7=63']
Exploring Operation: 2*63=126, Resulting Numbers: [32, 126]
Generated Node #3: [32, 126] from Operation: 2*63=126
Current State: 94:[32, 126], Operations: ['70-7=63', '2*63=126']
Exploring Operation: 126-32=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[7, 2, 70, 32], Operations: []
Exploring Operation: 70-32=38, Resulting Numbers: [7, 2, 38]
Generated Node #0,0: 94:[7, 2, 38] Operation: 70-32=38
Exploring Operation: 70+32=102, Resulting Numbers: [7, 2, 102]
Generated Node #0,1: 94:[7, 2, 102] Operation: 70+32=102
Exploring Operation: 70/7=10, Resulting Numbers: [2, 32, 10]
Generated Node #0,2: 94:[2, 32, 10] Operation: 70/7=10
Moving to Node #0,1
Current State: 94:[7, 2, 102], Operations: ['70+32=102']
Exploring Operation: 102-7=95, Resulting Numbers: [2, 95]
Generated Node #0,1,0: 94:[2, 95] Operation: 102-7=95
Exploring Operation: 7-2=5, Resulting Numbers: [102, 5]
Generated Node #0,1,1: 94:[102, 5] Operation: 7-2=5
Exploring Operation: 102/2=51, Resulting Numbers: [7, 51]
Generated Node #0,1,2: 94:[7, 51] Operation: 102/2=51
Moving to Node #0,0
Current State: 94:[7, 2, 38], Operations: ['70-32=38']
Exploring Operation: 7-2=5, Resulting Numbers: [38, 5]
Generated Node #0,0,0: 94:[38, 5] Operation: 7-2=5
Exploring Operation: 7+38=45, Resulting Numbers: [2, 45]
Generated Node #0,0,1: 94:[2, 45] Operation: 7+38=45
Exploring Operation: 2+38=40, Resulting Numbers: [7, 40]
Generated Node #0,0,2: 94:[7, 40] Operation: 2+38=40
Moving to Node #0,2
Current State: 94:[2, 32, 10], Operations: ['70/7=10']
Exploring Operation: 10/2=5, Resulting Numbers: [32, 5]
Generated Node #0,2,0: 94:[32, 5] Operation: 10/2=5
Exploring Operation: 32-10=22, Resulting Numbers: [2, 22]
Generated Node #0,2,1: 94:[2, 22] Operation: 32-10=22
Exploring Operation: 32+10=42, Resulting Numbers: [2, 42]
Generated Node #0,2,2: 94:[2, 42] Operation: 32+10=42
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[2, 42], Operations: ['70/7=10', '32+10=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[32, 5], Operations: ['70/7=10', '10/2=5']
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,94 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,94 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[2, 22], Operations: ['70/7=10', '32-10=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,94 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: 94:[2, 95], Operations: ['70+32=102', '102-7=95']
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,94 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 2*95=190, Resulting Numbers: [190]
190,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[2, 45], Operations: ['70-32=38', '7+38=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,94 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[7, 51], Operations: ['70+32=102', '102/2=51']
Exploring Operation: 7*51=357, Resulting Numbers: [357]
357,94 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 7+51=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[102, 5], Operations: ['70+32=102', '7-2=5']
Exploring Operation: 102+5=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 102*5=510, Resulting Numbers: [510]
510,94 unequal: No Solution
Exploring Operation: 102-5=97, Resulting Numbers: [97]
97,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[7, 40], Operations: ['70-32=38', '2+38=40']
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 7*40=280, Resulting Numbers: [280]
280,94 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[38, 5], Operations: ['70-32=38', '7-2=5']
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,94 unequal: No Solution
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,94 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
83,
2,
15,
95
] | 61 | [
"83-15=68",
"68/2=34",
"95-34=61"
] | Current State: 61:[83, 2, 15, 95], Operations: []
Exploring Operation: 83-15=68, Resulting Numbers: [2, 95, 68]
Generated Node #2: [2, 95, 68] from Operation: 83-15=68
Current State: 61:[2, 95, 68], Operations: ['83-15=68']
Exploring Operation: 68/2=34, Resulting Numbers: [95, 34]
Generated Node #3: [95, 34] from Operation: 68/2=34
Current State: 61:[95, 34], Operations: ['83-15=68', '68/2=34']
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[83, 2, 15, 95], Operations: []
Exploring Operation: 83-2=81, Resulting Numbers: [15, 95, 81]
Generated Node #0,0: 61:[15, 95, 81] Operation: 83-2=81
Exploring Operation: 2*15=30, Resulting Numbers: [83, 95, 30]
Generated Node #0,1: 61:[83, 95, 30] Operation: 2*15=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[83, 95, 30], Operations: ['2*15=30']
Exploring Operation: 83-30=53, Resulting Numbers: [95, 53]
Generated Node #0,1,0: 61:[95, 53] Operation: 83-30=53
Exploring Operation: 95-30=65, Resulting Numbers: [83, 65]
Generated Node #0,1,1: 61:[83, 65] Operation: 95-30=65
Moving to Node #0,1,1
Current State: 61:[83, 65], Operations: ['2*15=30', '95-30=65']
Exploring Operation: 83+65=148, Resulting Numbers: [148]
148,61 unequal: No Solution
Exploring Operation: 83-65=18, Resulting Numbers: [18]
18,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[95, 53], Operations: ['2*15=30', '83-30=53']
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 95+53=148, Resulting Numbers: [148]
148,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[15, 95, 81], Operations: ['83-2=81']
Exploring Operation: 95-15=80, Resulting Numbers: [81, 80]
Generated Node #0,0,0: 61:[81, 80] Operation: 95-15=80
Exploring Operation: 81-15=66, Resulting Numbers: [95, 66]
Generated Node #0,0,1: 61:[95, 66] Operation: 81-15=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[81, 80], Operations: ['83-2=81', '95-15=80']
Exploring Operation: 81+80=161, Resulting Numbers: [161]
161,61 unequal: No Solution
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,61 unequal: No Solution
No 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: 61:[95, 66], Operations: ['83-2=81', '81-15=66']
Exploring Operation: 95-66=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 95+66=161, Resulting Numbers: [161]
161,61 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 |
[
70,
56,
35,
60
] | 64 | [
"70/35=2",
"60*2=120",
"120-56=64"
] | Current State: 64:[70, 56, 35, 60], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [56, 60, 2]
Generated Node #2: [56, 60, 2] from Operation: 70/35=2
Current State: 64:[56, 60, 2], Operations: ['70/35=2']
Exploring Operation: 60*2=120, Resulting Numbers: [56, 120]
Generated Node #3: [56, 120] from Operation: 60*2=120
Current State: 64:[56, 120], Operations: ['70/35=2', '60*2=120']
Exploring Operation: 120-56=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[70, 56, 35, 60], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [70, 35, 4]
Generated Node #0,0: 64:[70, 35, 4] Operation: 60-56=4
Exploring Operation: 70/35=2, Resulting Numbers: [56, 60, 2]
Generated Node #0,1: 64:[56, 60, 2] Operation: 70/35=2
Exploring Operation: 70-56=14, Resulting Numbers: [35, 60, 14]
Generated Node #0,2: 64:[35, 60, 14] Operation: 70-56=14
Moving to Node #0,0
Current State: 64:[70, 35, 4], Operations: ['60-56=4']
Exploring Operation: 70/35=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 64:[4, 2] Operation: 70/35=2
Exploring Operation: 70-4=66, Resulting Numbers: [35, 66]
Generated Node #0,0,1: 64:[35, 66] Operation: 70-4=66
Exploring Operation: 70-35=35, Resulting Numbers: [4, 35]
Generated Node #0,0,2: 64:[4, 35] Operation: 70-35=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[4, 2], Operations: ['60-56=4', '70/35=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[4, 35], Operations: ['60-56=4', '70-35=35']
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,64 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[35, 66], Operations: ['60-56=4', '70-4=66']
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 35+66=101, Resulting Numbers: [101]
101,64 unequal: No Solution
Exploring Operation: 35*66=2310, Resulting Numbers: [2310]
2310,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 64:[35, 60, 14], Operations: ['70-56=14']
Exploring Operation: 60+14=74, Resulting Numbers: [35, 74]
Generated Node #0,2,0: 64:[35, 74] Operation: 60+14=74
Exploring Operation: 60-35=25, Resulting Numbers: [14, 25]
Generated Node #0,2,1: 64:[14, 25] Operation: 60-35=25
Exploring Operation: 35-14=21, Resulting Numbers: [60, 21]
Generated Node #0,2,2: 64:[60, 21] Operation: 35-14=21
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[14, 25], Operations: ['70-56=14', '60-35=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,64 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[60, 21], Operations: ['70-56=14', '35-14=21']
Exploring Operation: 60*21=1260, Resulting Numbers: [1260]
1260,64 unequal: No Solution
Exploring Operation: 60+21=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[35, 74], Operations: ['70-56=14', '60+14=74']
Exploring Operation: 35*74=2590, Resulting Numbers: [2590]
2590,64 unequal: No Solution
Exploring Operation: 35+74=109, Resulting Numbers: [109]
109,64 unequal: No Solution
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,64 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: 64:[56, 60, 2], Operations: ['70/35=2']
Exploring Operation: 56+2=58, Resulting Numbers: [60, 58]
Generated Node #0,1,0: 64:[60, 58] Operation: 56+2=58
Exploring Operation: 56/2=28, Resulting Numbers: [60, 28]
Generated Node #0,1,1: 64:[60, 28] Operation: 56/2=28
Exploring Operation: 60-56=4, Resulting Numbers: [2, 4]
Generated Node #0,1,2: 64:[2, 4] Operation: 60-56=4
Moving to Node #0,1,2
Current State: 64:[2, 4], Operations: ['70/35=2', '60-56=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[60, 28], Operations: ['70/35=2', '56/2=28']
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[60, 58], Operations: ['70/35=2', '56+2=58']
Exploring Operation: 60+58=118, Resulting Numbers: [118]
118,64 unequal: No Solution
Exploring Operation: 60*58=3480, Resulting Numbers: [3480]
3480,64 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,64 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
8,
42,
80,
63
] | 92 | [
"8*63=504",
"504/42=12",
"80+12=92"
] | Current State: 92:[8, 42, 80, 63], Operations: []
Exploring Operation: 8*63=504, Resulting Numbers: [42, 80, 504]
Generated Node #2: [42, 80, 504] from Operation: 8*63=504
Current State: 92:[42, 80, 504], Operations: ['8*63=504']
Exploring Operation: 504/42=12, Resulting Numbers: [80, 12]
Generated Node #3: [80, 12] from Operation: 504/42=12
Current State: 92:[80, 12], Operations: ['8*63=504', '504/42=12']
Exploring Operation: 80+12=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[8, 42, 80, 63], Operations: []
Exploring Operation: 63-42=21, Resulting Numbers: [8, 80, 21]
Generated Node #0,0: 92:[8, 80, 21] Operation: 63-42=21
Exploring Operation: 80-63=17, Resulting Numbers: [8, 42, 17]
Generated Node #0,1: 92:[8, 42, 17] Operation: 80-63=17
Moving to Node #0,1
Current State: 92:[8, 42, 17], Operations: ['80-63=17']
Exploring Operation: 8+17=25, Resulting Numbers: [42, 25]
Generated Node #0,1,0: 92:[42, 25] Operation: 8+17=25
Exploring Operation: 42-17=25, Resulting Numbers: [8, 25]
Generated Node #0,1,1: 92:[8, 25] Operation: 42-17=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[42, 25], Operations: ['80-63=17', '8+17=25']
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,92 unequal: No Solution
No 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: 92:[8, 25], Operations: ['80-63=17', '42-17=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,92 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: 92:[8, 80, 21], Operations: ['63-42=21']
Exploring Operation: 8+80=88, Resulting Numbers: [21, 88]
Generated Node #0,0,0: 92:[21, 88] Operation: 8+80=88
Exploring Operation: 80/8=10, Resulting Numbers: [21, 10]
Generated Node #0,0,1: 92:[21, 10] Operation: 80/8=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[21, 88], Operations: ['63-42=21', '8+80=88']
Exploring Operation: 21+88=109, Resulting Numbers: [109]
109,92 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,92 unequal: No Solution
No 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: 92:[21, 10], Operations: ['63-42=21', '80/8=10']
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,92 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 |
[
59,
23,
97,
39
] | 92 | [
"59+97=156",
"23*156=3588",
"3588/39=92"
] | Current State: 92:[59, 23, 97, 39], Operations: []
Exploring Operation: 59+97=156, Resulting Numbers: [23, 39, 156]
Generated Node #2: [23, 39, 156] from Operation: 59+97=156
Current State: 92:[23, 39, 156], Operations: ['59+97=156']
Exploring Operation: 23*156=3588, Resulting Numbers: [39, 3588]
Generated Node #3: [39, 3588] from Operation: 23*156=3588
Current State: 92:[39, 3588], Operations: ['59+97=156', '23*156=3588']
Exploring Operation: 3588/39=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[59, 23, 97, 39], Operations: []
Exploring Operation: 97-59=38, Resulting Numbers: [23, 39, 38]
Generated Node #0,0: 92:[23, 39, 38] Operation: 97-59=38
Exploring Operation: 59+39=98, Resulting Numbers: [23, 97, 98]
Generated Node #0,1: 92:[23, 97, 98] Operation: 59+39=98
Exploring Operation: 59-39=20, Resulting Numbers: [23, 97, 20]
Generated Node #0,2: 92:[23, 97, 20] Operation: 59-39=20
Moving to Node #0,2
Current State: 92:[23, 97, 20], Operations: ['59-39=20']
Exploring Operation: 23-20=3, Resulting Numbers: [97, 3]
Generated Node #0,2,0: 92:[97, 3] Operation: 23-20=3
Exploring Operation: 97-20=77, Resulting Numbers: [23, 77]
Generated Node #0,2,1: 92:[23, 77] Operation: 97-20=77
Exploring Operation: 23+20=43, Resulting Numbers: [97, 43]
Generated Node #0,2,2: 92:[97, 43] Operation: 23+20=43
Moving to Node #0,1
Current State: 92:[23, 97, 98], Operations: ['59+39=98']
Exploring Operation: 98-23=75, Resulting Numbers: [97, 75]
Generated Node #0,1,0: 92:[97, 75] Operation: 98-23=75
Exploring Operation: 97-23=74, Resulting Numbers: [98, 74]
Generated Node #0,1,1: 92:[98, 74] Operation: 97-23=74
Exploring Operation: 98-97=1, Resulting Numbers: [23, 1]
Generated Node #0,1,2: 92:[23, 1] Operation: 98-97=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[23, 1], Operations: ['59+39=98', '98-97=1']
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,92 unequal: No Solution
No 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: 92:[97, 75], Operations: ['59+39=98', '98-23=75']
Exploring Operation: 97+75=172, Resulting Numbers: [172]
172,92 unequal: No Solution
Exploring Operation: 97-75=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 97*75=7275, Resulting Numbers: [7275]
7275,92 unequal: No Solution
No 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: 92:[98, 74], Operations: ['59+39=98', '97-23=74']
Exploring Operation: 98+74=172, Resulting Numbers: [172]
172,92 unequal: No Solution
Exploring Operation: 98*74=7252, Resulting Numbers: [7252]
7252,92 unequal: No Solution
Exploring Operation: 98-74=24, Resulting Numbers: [24]
24,92 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: 92:[23, 39, 38], Operations: ['97-59=38']
Exploring Operation: 39-38=1, Resulting Numbers: [23, 1]
Generated Node #0,0,0: 92:[23, 1] Operation: 39-38=1
Exploring Operation: 39-23=16, Resulting Numbers: [38, 16]
Generated Node #0,0,1: 92:[38, 16] Operation: 39-23=16
Exploring Operation: 38-23=15, Resulting Numbers: [39, 15]
Generated Node #0,0,2: 92:[39, 15] Operation: 38-23=15
Moving to Node #0,0,0
Current State: 92:[23, 1], Operations: ['97-59=38', '39-38=1']
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[97, 3], Operations: ['59-39=20', '23-20=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,92 unequal: No Solution
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[97, 43], Operations: ['59-39=20', '23+20=43']
Exploring Operation: 97*43=4171, Resulting Numbers: [4171]
4171,92 unequal: No Solution
Exploring Operation: 97+43=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Exploring Operation: 97-43=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[23, 77], Operations: ['59-39=20', '97-20=77']
Exploring Operation: 23*77=1771, Resulting Numbers: [1771]
1771,92 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 23+77=100, Resulting Numbers: [100]
100,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[39, 15], Operations: ['97-59=38', '38-23=15']
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 39*15=585, Resulting Numbers: [585]
585,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[38, 16], Operations: ['97-59=38', '39-23=16']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 38+16=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 38*16=608, Resulting Numbers: [608]
608,92 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
28,
61,
5,
14
] | 24 | [
"61-28=33",
"14-5=9",
"33-9=24"
] | Current State: 24:[28, 61, 5, 14], Operations: []
Exploring Operation: 61-28=33, Resulting Numbers: [5, 14, 33]
Generated Node #2: [5, 14, 33] from Operation: 61-28=33
Current State: 24:[5, 14, 33], Operations: ['61-28=33']
Exploring Operation: 14-5=9, Resulting Numbers: [33, 9]
Generated Node #3: [33, 9] from Operation: 14-5=9
Current State: 24:[33, 9], Operations: ['61-28=33', '14-5=9']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[28, 61, 5, 14], Operations: []
Exploring Operation: 61-28=33, Resulting Numbers: [5, 14, 33]
Generated Node #0,0: 24:[5, 14, 33] Operation: 61-28=33
Exploring Operation: 61-14=47, Resulting Numbers: [28, 5, 47]
Generated Node #0,1: 24:[28, 5, 47] Operation: 61-14=47
Exploring Operation: 61-5=56, Resulting Numbers: [28, 14, 56]
Generated Node #0,2: 24:[28, 14, 56] Operation: 61-5=56
Exploring Operation: 28/14=2, Resulting Numbers: [61, 5, 2]
Generated Node #0,3: 24:[61, 5, 2] Operation: 28/14=2
Moving to Node #0,0
Current State: 24:[5, 14, 33], Operations: ['61-28=33']
Exploring Operation: 33-5=28, Resulting Numbers: [14, 28]
Generated Node #0,0,0: 24:[14, 28] Operation: 33-5=28
Exploring Operation: 14-5=9, Resulting Numbers: [33, 9]
Generated Node #0,0,1: 24:[33, 9] Operation: 14-5=9
Exploring Operation: 33-14=19, Resulting Numbers: [5, 19]
Generated Node #0,0,2: 24:[5, 19] Operation: 33-14=19
Exploring Operation: 5+14=19, Resulting Numbers: [33, 19]
Generated Node #0,0,3: 24:[33, 19] Operation: 5+14=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[14, 28], Operations: ['61-28=33', '33-5=28']
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,24 unequal: No Solution
No 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: 24:[5, 19], Operations: ['61-28=33', '33-14=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[28, 61, 5, 14], Operations: []
Exploring Operation: 61-28=33, Resulting Numbers: [5, 14, 33]
Generated Node #0,0: 24:[5, 14, 33] Operation: 61-28=33
Moving to Node #0,0
Current State: 24:[5, 14, 33], Operations: ['61-28=33']
Exploring Operation: 33-14=19, Resulting Numbers: [5, 19]
Generated Node #0,0,2: 24:[5, 19] Operation: 33-14=19
Moving to Node #0,0,2
Current State: 24:[5, 19], Operations: ['61-28=33', '33-14=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
41,
24,
20,
22
] | 25 | [
"41-24=17",
"20+22=42",
"42-17=25"
] | Current State: 25:[41, 24, 20, 22], Operations: []
Exploring Operation: 41-24=17, Resulting Numbers: [20, 22, 17]
Generated Node #2: [20, 22, 17] from Operation: 41-24=17
Current State: 25:[20, 22, 17], Operations: ['41-24=17']
Exploring Operation: 20+22=42, Resulting Numbers: [17, 42]
Generated Node #3: [17, 42] from Operation: 20+22=42
Current State: 25:[17, 42], Operations: ['41-24=17', '20+22=42']
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[41, 24, 20, 22], Operations: []
Exploring Operation: 41-20=21, Resulting Numbers: [24, 22, 21]
Generated Node #0,0: 25:[24, 22, 21] Operation: 41-20=21
Exploring Operation: 41-24=17, Resulting Numbers: [20, 22, 17]
Generated Node #0,1: 25:[20, 22, 17] Operation: 41-24=17
Exploring Operation: 41-22=19, Resulting Numbers: [24, 20, 19]
Generated Node #0,2: 25:[24, 20, 19] Operation: 41-22=19
Moving to Node #0,0
Current State: 25:[24, 22, 21], Operations: ['41-20=21']
Exploring Operation: 24-21=3, Resulting Numbers: [22, 3]
Generated Node #0,0,0: 25:[22, 3] Operation: 24-21=3
Exploring Operation: 22-21=1, Resulting Numbers: [24, 1]
Generated Node #0,0,1: 25:[24, 1] Operation: 22-21=1
Exploring Operation: 24-22=2, Resulting Numbers: [21, 2]
Generated Node #0,0,2: 25:[21, 2] Operation: 24-22=2
Moving to Node #0,2
Current State: 25:[24, 20, 19], Operations: ['41-22=19']
Exploring Operation: 24-20=4, Resulting Numbers: [19, 4]
Generated Node #0,2,0: 25:[19, 4] Operation: 24-20=4
Exploring Operation: 24-19=5, Resulting Numbers: [20, 5]
Generated Node #0,2,1: 25:[20, 5] Operation: 24-19=5
Exploring Operation: 20-19=1, Resulting Numbers: [24, 1]
Generated Node #0,2,2: 25:[24, 1] Operation: 20-19=1
Moving to Node #0,1
Current State: 25:[20, 22, 17], Operations: ['41-24=17']
Exploring Operation: 22-17=5, Resulting Numbers: [20, 5]
Generated Node #0,1,0: 25:[20, 5] Operation: 22-17=5
Exploring Operation: 20-17=3, Resulting Numbers: [22, 3]
Generated Node #0,1,1: 25:[22, 3] Operation: 20-17=3
Exploring Operation: 22-20=2, Resulting Numbers: [17, 2]
Generated Node #0,1,2: 25:[17, 2] Operation: 22-20=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[20, 5], Operations: ['41-24=17', '22-17=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[41, 24, 20, 22], Operations: []
Exploring Operation: 41-24=17, Resulting Numbers: [20, 22, 17]
Generated Node #0,1: 25:[20, 22, 17] Operation: 41-24=17
Moving to Node #0,1
Current State: 25:[20, 22, 17], Operations: ['41-24=17']
Exploring Operation: 22-17=5, Resulting Numbers: [20, 5]
Generated Node #0,1,0: 25:[20, 5] Operation: 22-17=5
Moving to Node #0,1,0
Current State: 25:[20, 5], Operations: ['41-24=17', '22-17=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
74,
72,
47,
58
] | 69 | [
"74-72=2",
"58*2=116",
"116-47=69"
] | Current State: 69:[74, 72, 47, 58], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [47, 58, 2]
Generated Node #2: [47, 58, 2] from Operation: 74-72=2
Current State: 69:[47, 58, 2], Operations: ['74-72=2']
Exploring Operation: 58*2=116, Resulting Numbers: [47, 116]
Generated Node #3: [47, 116] from Operation: 58*2=116
Current State: 69:[47, 116], Operations: ['74-72=2', '58*2=116']
Exploring Operation: 116-47=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[74, 72, 47, 58], Operations: []
Exploring Operation: 58-47=11, Resulting Numbers: [74, 72, 11]
Generated Node #0,0: 69:[74, 72, 11] Operation: 58-47=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[74, 72, 11], Operations: ['58-47=11']
Exploring Operation: 74-72=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 69:[11, 2] Operation: 74-72=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[11, 2], Operations: ['58-47=11', '74-72=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,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 |
[
52,
15,
49,
64
] | 69 | [
"52-49=3",
"15/3=5",
"64+5=69"
] | Current State: 69:[52, 15, 49, 64], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [15, 64, 3]
Generated Node #2: [15, 64, 3] from Operation: 52-49=3
Current State: 69:[15, 64, 3], Operations: ['52-49=3']
Exploring Operation: 15/3=5, Resulting Numbers: [64, 5]
Generated Node #3: [64, 5] from Operation: 15/3=5
Current State: 69:[64, 5], Operations: ['52-49=3', '15/3=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[52, 15, 49, 64], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [15, 64, 3]
Generated Node #0,0: 69:[15, 64, 3] Operation: 52-49=3
Exploring Operation: 49-15=34, Resulting Numbers: [52, 64, 34]
Generated Node #0,1: 69:[52, 64, 34] Operation: 49-15=34
Exploring Operation: 15+49=64, Resulting Numbers: [52, 64, 64]
Generated Node #0,2: 69:[52, 64, 64] Operation: 15+49=64
Exploring Operation: 64-49=15, Resulting Numbers: [52, 15, 15]
Generated Node #0,3: 69:[52, 15, 15] Operation: 64-49=15
Exploring Operation: 52+15=67, Resulting Numbers: [49, 64, 67]
Generated Node #0,4: 69:[49, 64, 67] Operation: 52+15=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[15, 64, 3], Operations: ['52-49=3']
Exploring Operation: 15/3=5, Resulting Numbers: [64, 5]
Generated Node #0,0,0: 69:[64, 5] Operation: 15/3=5
Exploring Operation: 15+3=18, Resulting Numbers: [64, 18]
Generated Node #0,0,1: 69:[64, 18] Operation: 15+3=18
Exploring Operation: 64+3=67, Resulting Numbers: [15, 67]
Generated Node #0,0,2: 69:[15, 67] Operation: 64+3=67
Exploring Operation: 15-3=12, Resulting Numbers: [64, 12]
Generated Node #0,0,3: 69:[64, 12] Operation: 15-3=12
Exploring Operation: 15+64=79, Resulting Numbers: [3, 79]
Generated Node #0,0,4: 69:[3, 79] Operation: 15+64=79
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[64, 5], Operations: ['52-49=3', '15/3=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[52, 15, 49, 64], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [15, 64, 3]
Generated Node #0,0: 69:[15, 64, 3] Operation: 52-49=3
Moving to Node #0,0
Current State: 69:[15, 64, 3], Operations: ['52-49=3']
Exploring Operation: 15/3=5, Resulting Numbers: [64, 5]
Generated Node #0,0,0: 69:[64, 5] Operation: 15/3=5
Moving to Node #0,0,0
Current State: 69:[64, 5], Operations: ['52-49=3', '15/3=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
73,
40,
63,
45
] | 50 | [
"73-63=10",
"45-40=5",
"10*5=50"
] | Current State: 50:[73, 40, 63, 45], Operations: []
Exploring Operation: 73-63=10, Resulting Numbers: [40, 45, 10]
Generated Node #2: [40, 45, 10] from Operation: 73-63=10
Current State: 50:[40, 45, 10], Operations: ['73-63=10']
Exploring Operation: 45-40=5, Resulting Numbers: [10, 5]
Generated Node #3: [10, 5] from Operation: 45-40=5
Current State: 50:[10, 5], Operations: ['73-63=10', '45-40=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[73, 40, 63, 45], Operations: []
Exploring Operation: 73-63=10, Resulting Numbers: [40, 45, 10]
Generated Node #0,0: 50:[40, 45, 10] Operation: 73-63=10
Exploring Operation: 73-40=33, Resulting Numbers: [63, 45, 33]
Generated Node #0,1: 50:[63, 45, 33] Operation: 73-40=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[40, 45, 10], Operations: ['73-63=10']
Exploring Operation: 40+10=50, Resulting Numbers: [45, 50]
Generated Node #0,0,0: 50:[45, 50] Operation: 40+10=50
Exploring Operation: 45-40=5, Resulting Numbers: [10, 5]
Generated Node #0,0,1: 50:[10, 5] Operation: 45-40=5
Moving to Node #0,0,1
Current State: 50:[10, 5], Operations: ['73-63=10', '45-40=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[73, 40, 63, 45], Operations: []
Exploring Operation: 73-63=10, Resulting Numbers: [40, 45, 10]
Generated Node #0,0: 50:[40, 45, 10] Operation: 73-63=10
Moving to Node #0,0
Current State: 50:[40, 45, 10], Operations: ['73-63=10']
Exploring Operation: 45-40=5, Resulting Numbers: [10, 5]
Generated Node #0,0,1: 50:[10, 5] Operation: 45-40=5
Moving to Node #0,0,1
Current State: 50:[10, 5], Operations: ['73-63=10', '45-40=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
1,
56,
60,
35
] | 40 | [
"56-1=55",
"60+35=95",
"95-55=40"
] | Current State: 40:[1, 56, 60, 35], Operations: []
Exploring Operation: 56-1=55, Resulting Numbers: [60, 35, 55]
Generated Node #2: [60, 35, 55] from Operation: 56-1=55
Current State: 40:[60, 35, 55], Operations: ['56-1=55']
Exploring Operation: 60+35=95, Resulting Numbers: [55, 95]
Generated Node #3: [55, 95] from Operation: 60+35=95
Current State: 40:[55, 95], Operations: ['56-1=55', '60+35=95']
Exploring Operation: 95-55=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[1, 56, 60, 35], Operations: []
Exploring Operation: 56-35=21, Resulting Numbers: [1, 60, 21]
Generated Node #0,0: 40:[1, 60, 21] Operation: 56-35=21
Exploring Operation: 60-56=4, Resulting Numbers: [1, 35, 4]
Generated Node #0,1: 40:[1, 35, 4] Operation: 60-56=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[1, 35, 4], Operations: ['60-56=4']
Exploring Operation: 35+4=39, Resulting Numbers: [1, 39]
Generated Node #0,1,0: 40:[1, 39] Operation: 35+4=39
Exploring Operation: 1+35=36, Resulting Numbers: [4, 36]
Generated Node #0,1,1: 40:[4, 36] Operation: 1+35=36
Moving to Node #0,1,0
Current State: 40:[1, 39], Operations: ['60-56=4', '35+4=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[1, 56, 60, 35], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [1, 35, 4]
Generated Node #0,1: 40:[1, 35, 4] Operation: 60-56=4
Moving to Node #0,1
Current State: 40:[1, 35, 4], Operations: ['60-56=4']
Exploring Operation: 35+4=39, Resulting Numbers: [1, 39]
Generated Node #0,1,0: 40:[1, 39] Operation: 35+4=39
Moving to Node #0,1,0
Current State: 40:[1, 39], Operations: ['60-56=4', '35+4=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
56,
10,
8,
25
] | 29 | [
"56-10=46",
"25-8=17",
"46-17=29"
] | Current State: 29:[56, 10, 8, 25], Operations: []
Exploring Operation: 56-10=46, Resulting Numbers: [8, 25, 46]
Generated Node #2: [8, 25, 46] from Operation: 56-10=46
Current State: 29:[8, 25, 46], Operations: ['56-10=46']
Exploring Operation: 25-8=17, Resulting Numbers: [46, 17]
Generated Node #3: [46, 17] from Operation: 25-8=17
Current State: 29:[46, 17], Operations: ['56-10=46', '25-8=17']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[56, 10, 8, 25], Operations: []
Exploring Operation: 56/8=7, Resulting Numbers: [10, 25, 7]
Generated Node #0,0: 29:[10, 25, 7] Operation: 56/8=7
Exploring Operation: 56-10=46, Resulting Numbers: [8, 25, 46]
Generated Node #0,1: 29:[8, 25, 46] Operation: 56-10=46
Exploring Operation: 56-25=31, Resulting Numbers: [10, 8, 31]
Generated Node #0,2: 29:[10, 8, 31] Operation: 56-25=31
Exploring Operation: 10+8=18, Resulting Numbers: [56, 25, 18]
Generated Node #0,3: 29:[56, 25, 18] Operation: 10+8=18
Exploring Operation: 56-8=48, Resulting Numbers: [10, 25, 48]
Generated Node #0,4: 29:[10, 25, 48] Operation: 56-8=48
Moving to Node #0,1
Current State: 29:[8, 25, 46], Operations: ['56-10=46']
Exploring Operation: 8+25=33, Resulting Numbers: [46, 33]
Generated Node #0,1,0: 29:[46, 33] Operation: 8+25=33
Exploring Operation: 46-25=21, Resulting Numbers: [8, 21]
Generated Node #0,1,1: 29:[8, 21] Operation: 46-25=21
Exploring Operation: 8+46=54, Resulting Numbers: [25, 54]
Generated Node #0,1,2: 29:[25, 54] Operation: 8+46=54
Exploring Operation: 25-8=17, Resulting Numbers: [46, 17]
Generated Node #0,1,3: 29:[46, 17] Operation: 25-8=17
Exploring Operation: 46-8=38, Resulting Numbers: [25, 38]
Generated Node #0,1,4: 29:[25, 38] Operation: 46-8=38
Moving to Node #0,3
Current State: 29:[56, 25, 18], Operations: ['10+8=18']
Exploring Operation: 56-18=38, Resulting Numbers: [25, 38]
Generated Node #0,3,0: 29:[25, 38] Operation: 56-18=38
Exploring Operation: 56+18=74, Resulting Numbers: [25, 74]
Generated Node #0,3,1: 29:[25, 74] Operation: 56+18=74
Exploring Operation: 25+18=43, Resulting Numbers: [56, 43]
Generated Node #0,3,2: 29:[56, 43] Operation: 25+18=43
Exploring Operation: 25-18=7, Resulting Numbers: [56, 7]
Generated Node #0,3,3: 29:[56, 7] Operation: 25-18=7
Exploring Operation: 56-25=31, Resulting Numbers: [18, 31]
Generated Node #0,3,4: 29:[18, 31] Operation: 56-25=31
Moving to Node #0,2
Current State: 29:[10, 8, 31], Operations: ['56-25=31']
Exploring Operation: 31-8=23, Resulting Numbers: [10, 23]
Generated Node #0,2,0: 29:[10, 23] Operation: 31-8=23
Exploring Operation: 10-8=2, Resulting Numbers: [31, 2]
Generated Node #0,2,1: 29:[31, 2] Operation: 10-8=2
Exploring Operation: 10+8=18, Resulting Numbers: [31, 18]
Generated Node #0,2,2: 29:[31, 18] Operation: 10+8=18
Exploring Operation: 31-10=21, Resulting Numbers: [8, 21]
Generated Node #0,2,3: 29:[8, 21] Operation: 31-10=21
Exploring Operation: 8+31=39, Resulting Numbers: [10, 39]
Generated Node #0,2,4: 29:[10, 39] Operation: 8+31=39
Moving to Node #0,4
Current State: 29:[10, 25, 48], Operations: ['56-8=48']
Exploring Operation: 10+25=35, Resulting Numbers: [48, 35]
Generated Node #0,4,0: 29:[48, 35] Operation: 10+25=35
Exploring Operation: 48-25=23, Resulting Numbers: [10, 23]
Generated Node #0,4,1: 29:[10, 23] Operation: 48-25=23
Exploring Operation: 25-10=15, Resulting Numbers: [48, 15]
Generated Node #0,4,2: 29:[48, 15] Operation: 25-10=15
Exploring Operation: 10+48=58, Resulting Numbers: [25, 58]
Generated Node #0,4,3: 29:[25, 58] Operation: 10+48=58
Exploring Operation: 48-10=38, Resulting Numbers: [25, 38]
Generated Node #0,4,4: 29:[25, 38] Operation: 48-10=38
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 29:[25, 38], Operations: ['56-8=48', '48-10=38']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,29 unequal: No Solution
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,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,4,0
Current State: 29:[48, 35], Operations: ['56-8=48', '10+25=35']
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,29 unequal: No Solution
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,29 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,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,4,1
Current State: 29:[10, 23], Operations: ['56-8=48', '48-25=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,29 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,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,4,2
Current State: 29:[48, 15], Operations: ['56-8=48', '25-10=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,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,4,3
Current State: 29:[25, 58], Operations: ['56-8=48', '10+48=58']
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,29 unequal: No Solution
Exploring Operation: 25*58=1450, Resulting Numbers: [1450]
1450,29 unequal: No Solution
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,29 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: 29:[10, 25, 7], Operations: ['56/8=7']
Exploring Operation: 25+7=32, Resulting Numbers: [10, 32]
Generated Node #0,0,0: 29:[10, 32] Operation: 25+7=32
Exploring Operation: 25-7=18, Resulting Numbers: [10, 18]
Generated Node #0,0,1: 29:[10, 18] Operation: 25-7=18
Exploring Operation: 10+7=17, Resulting Numbers: [25, 17]
Generated Node #0,0,2: 29:[25, 17] Operation: 10+7=17
Exploring Operation: 10-7=3, Resulting Numbers: [25, 3]
Generated Node #0,0,3: 29:[25, 3] Operation: 10-7=3
Exploring Operation: 10+25=35, Resulting Numbers: [7, 35]
Generated Node #0,0,4: 29:[7, 35] Operation: 10+25=35
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[25, 17], Operations: ['56/8=7', '10+7=17']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,29 unequal: No Solution
Exploring Operation: 25+17=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,0,0
Current State: 29:[10, 32], Operations: ['56/8=7', '25+7=32']
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,29 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 10+32=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,0,4
Current State: 29:[7, 35], Operations: ['56/8=7', '10+25=35']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,29 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 7+35=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,0,1
Current State: 29:[10, 18], Operations: ['56/8=7', '25-7=18']
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,29 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 29:[25, 3], Operations: ['56/8=7', '10-7=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,29 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: 29:[25, 38], Operations: ['56-10=46', '46-8=38']
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,29 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[25, 38], Operations: ['10+8=18', '56-18=38']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,29 unequal: No Solution
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Moving to Node #0,3,4
Current State: 29:[18, 31], Operations: ['10+8=18', '56-25=31']
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,29 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[31, 18], Operations: ['56-25=31', '10+8=18']
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[46, 33], Operations: ['56-10=46', '8+25=33']
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,29 unequal: No Solution
Exploring Operation: 46*33=1518, Resulting Numbers: [1518]
1518,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[10, 23], Operations: ['56-25=31', '31-8=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,29 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[8, 21], Operations: ['56-25=31', '31-10=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[56, 10, 8, 25], Operations: []
Exploring Operation: 56-25=31, Resulting Numbers: [10, 8, 31]
Generated Node #0,2: 29:[10, 8, 31] Operation: 56-25=31
Moving to Node #0,2
Current State: 29:[10, 8, 31], Operations: ['56-25=31']
Exploring Operation: 31-10=21, Resulting Numbers: [8, 21]
Generated Node #0,2,3: 29:[8, 21] Operation: 31-10=21
Moving to Node #0,2,3
Current State: 29:[8, 21], Operations: ['56-25=31', '31-10=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.927083 | hs_5 | mult_heuristic |
[
4,
88,
55,
71
] | 68 | [
"88-4=84",
"71-55=16",
"84-16=68"
] | Current State: 68:[4, 88, 55, 71], Operations: []
Exploring Operation: 88-4=84, Resulting Numbers: [55, 71, 84]
Generated Node #2: [55, 71, 84] from Operation: 88-4=84
Current State: 68:[55, 71, 84], Operations: ['88-4=84']
Exploring Operation: 71-55=16, Resulting Numbers: [84, 16]
Generated Node #3: [84, 16] from Operation: 71-55=16
Current State: 68:[84, 16], Operations: ['88-4=84', '71-55=16']
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[4, 88, 55, 71], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [4, 71, 33]
Generated Node #0,0: 68:[4, 71, 33] Operation: 88-55=33
Exploring Operation: 88-71=17, Resulting Numbers: [4, 55, 17]
Generated Node #0,1: 68:[4, 55, 17] Operation: 88-71=17
Moving to Node #0,0
Current State: 68:[4, 71, 33], Operations: ['88-55=33']
Exploring Operation: 71-4=67, Resulting Numbers: [33, 67]
Generated Node #0,0,0: 68:[33, 67] Operation: 71-4=67
Exploring Operation: 71-33=38, Resulting Numbers: [4, 38]
Generated Node #0,0,1: 68:[4, 38] Operation: 71-33=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[33, 67], Operations: ['88-55=33', '71-4=67']
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 33+67=100, Resulting Numbers: [100]
100,68 unequal: No Solution
No 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: 68:[4, 38], Operations: ['88-55=33', '71-33=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,68 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: 68:[4, 55, 17], Operations: ['88-71=17']
Exploring Operation: 55-17=38, Resulting Numbers: [4, 38]
Generated Node #0,1,0: 68:[4, 38] Operation: 55-17=38
Exploring Operation: 55+17=72, Resulting Numbers: [4, 72]
Generated Node #0,1,1: 68:[4, 72] Operation: 55+17=72
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[4, 38], Operations: ['88-71=17', '55-17=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,68 unequal: No Solution
No 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: 68:[4, 72], Operations: ['88-71=17', '55+17=72']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[4, 88, 55, 71], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [4, 55, 17]
Generated Node #0,1: 68:[4, 55, 17] Operation: 88-71=17
Moving to Node #0,1
Current State: 68:[4, 55, 17], Operations: ['88-71=17']
Exploring Operation: 55+17=72, Resulting Numbers: [4, 72]
Generated Node #0,1,1: 68:[4, 72] Operation: 55+17=72
Moving to Node #0,1,1
Current State: 68:[4, 72], Operations: ['88-71=17', '55+17=72']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
88,
47,
68,
31
] | 98 | [
"88+47=135",
"68-31=37",
"135-37=98"
] | Current State: 98:[88, 47, 68, 31], Operations: []
Exploring Operation: 88+47=135, Resulting Numbers: [68, 31, 135]
Generated Node #2: [68, 31, 135] from Operation: 88+47=135
Current State: 98:[68, 31, 135], Operations: ['88+47=135']
Exploring Operation: 68-31=37, Resulting Numbers: [135, 37]
Generated Node #3: [135, 37] from Operation: 68-31=37
Current State: 98:[135, 37], Operations: ['88+47=135', '68-31=37']
Exploring Operation: 135-37=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[88, 47, 68, 31], Operations: []
Exploring Operation: 68+31=99, Resulting Numbers: [88, 47, 99]
Generated Node #0,0: 98:[88, 47, 99] Operation: 68+31=99
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[88, 47, 99], Operations: ['68+31=99']
Exploring Operation: 99-88=11, Resulting Numbers: [47, 11]
Generated Node #0,0,0: 98:[47, 11] Operation: 99-88=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[47, 11], Operations: ['68+31=99', '99-88=11']
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,98 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 |
[
17,
15,
20,
40
] | 75 | [
"20-17=3",
"40-15=25",
"3*25=75"
] | Current State: 75:[17, 15, 20, 40], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [15, 40, 3]
Generated Node #2: [15, 40, 3] from Operation: 20-17=3
Current State: 75:[15, 40, 3], Operations: ['20-17=3']
Exploring Operation: 40-15=25, Resulting Numbers: [3, 25]
Generated Node #3: [3, 25] from Operation: 40-15=25
Current State: 75:[3, 25], Operations: ['20-17=3', '40-15=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[17, 15, 20, 40], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [17, 15, 2]
Generated Node #0,0: 75:[17, 15, 2] Operation: 40/20=2
Moving to Node #0,0
Current State: 75:[17, 15, 2], Operations: ['40/20=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15, 15]
Generated Node #0,0,0: 75:[15, 15] Operation: 17-2=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[15, 15], Operations: ['40/20=2', '17-2=15']
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
8,
61,
47
] | 44 | [
"19*8=152",
"61+47=108",
"152-108=44"
] | Current State: 44:[19, 8, 61, 47], Operations: []
Exploring Operation: 19*8=152, Resulting Numbers: [61, 47, 152]
Generated Node #2: [61, 47, 152] from Operation: 19*8=152
Current State: 44:[61, 47, 152], Operations: ['19*8=152']
Exploring Operation: 61+47=108, Resulting Numbers: [152, 108]
Generated Node #3: [152, 108] from Operation: 61+47=108
Current State: 44:[152, 108], Operations: ['19*8=152', '61+47=108']
Exploring Operation: 152-108=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[19, 8, 61, 47], Operations: []
Exploring Operation: 61-47=14, Resulting Numbers: [19, 8, 14]
Generated Node #0,0: 44:[19, 8, 14] Operation: 61-47=14
Exploring Operation: 19+8=27, Resulting Numbers: [61, 47, 27]
Generated Node #0,1: 44:[61, 47, 27] Operation: 19+8=27
Exploring Operation: 61-8=53, Resulting Numbers: [19, 47, 53]
Generated Node #0,2: 44:[19, 47, 53] Operation: 61-8=53
Exploring Operation: 19-8=11, Resulting Numbers: [61, 47, 11]
Generated Node #0,3: 44:[61, 47, 11] Operation: 19-8=11
Exploring Operation: 61-19=42, Resulting Numbers: [8, 47, 42]
Generated Node #0,4: 44:[8, 47, 42] Operation: 61-19=42
Moving to Node #0,4
Current State: 44:[8, 47, 42], Operations: ['61-19=42']
Exploring Operation: 47-8=39, Resulting Numbers: [42, 39]
Generated Node #0,4,0: 44:[42, 39] Operation: 47-8=39
Exploring Operation: 47-42=5, Resulting Numbers: [8, 5]
Generated Node #0,4,1: 44:[8, 5] Operation: 47-42=5
Exploring Operation: 42-8=34, Resulting Numbers: [47, 34]
Generated Node #0,4,2: 44:[47, 34] Operation: 42-8=34
Exploring Operation: 8+42=50, Resulting Numbers: [47, 50]
Generated Node #0,4,3: 44:[47, 50] Operation: 8+42=50
Exploring Operation: 8+47=55, Resulting Numbers: [42, 55]
Generated Node #0,4,4: 44:[42, 55] Operation: 8+47=55
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 44:[8, 5], Operations: ['61-19=42', '47-42=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,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,4,0
Current State: 44:[42, 39], Operations: ['61-19=42', '47-8=39']
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 42*39=1638, Resulting Numbers: [1638]
1638,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,4,3
Current State: 44:[47, 50], Operations: ['61-19=42', '8+42=50']
Exploring Operation: 47*50=2350, Resulting Numbers: [2350]
2350,44 unequal: No Solution
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 47+50=97, Resulting Numbers: [97]
97,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,4,2
Current State: 44:[47, 34], Operations: ['61-19=42', '42-8=34']
Exploring Operation: 47+34=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 47*34=1598, Resulting Numbers: [1598]
1598,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,4,4
Current State: 44:[42, 55], Operations: ['61-19=42', '8+47=55']
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 42+55=97, Resulting Numbers: [97]
97,44 unequal: No Solution
Exploring Operation: 42*55=2310, Resulting Numbers: [2310]
2310,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 44:[19, 8, 14], Operations: ['61-47=14']
Exploring Operation: 19-14=5, Resulting Numbers: [8, 5]
Generated Node #0,0,0: 44:[8, 5] Operation: 19-14=5
Exploring Operation: 19-8=11, Resulting Numbers: [14, 11]
Generated Node #0,0,1: 44:[14, 11] Operation: 19-8=11
Exploring Operation: 19+8=27, Resulting Numbers: [14, 27]
Generated Node #0,0,2: 44:[14, 27] Operation: 19+8=27
Exploring Operation: 14-8=6, Resulting Numbers: [19, 6]
Generated Node #0,0,3: 44:[19, 6] Operation: 14-8=6
Exploring Operation: 8+14=22, Resulting Numbers: [19, 22]
Generated Node #0,0,4: 44:[19, 22] Operation: 8+14=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[14, 11], Operations: ['61-47=14', '19-8=11']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,44 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,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,0,4
Current State: 44:[19, 22], Operations: ['61-47=14', '8+14=22']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,44 unequal: No Solution
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,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,0,0
Current State: 44:[8, 5], Operations: ['61-47=14', '19-14=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,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,0,3
Current State: 44:[19, 6], Operations: ['61-47=14', '14-8=6']
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,44 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,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,0,2
Current State: 44:[14, 27], Operations: ['61-47=14', '19+8=27']
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,44 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: 44:[19, 47, 53], Operations: ['61-8=53']
Exploring Operation: 19+53=72, Resulting Numbers: [47, 72]
Generated Node #0,2,0: 44:[47, 72] Operation: 19+53=72
Exploring Operation: 47-19=28, Resulting Numbers: [53, 28]
Generated Node #0,2,1: 44:[53, 28] Operation: 47-19=28
Exploring Operation: 53-19=34, Resulting Numbers: [47, 34]
Generated Node #0,2,2: 44:[47, 34] Operation: 53-19=34
Exploring Operation: 53-47=6, Resulting Numbers: [19, 6]
Generated Node #0,2,3: 44:[19, 6] Operation: 53-47=6
Exploring Operation: 19+47=66, Resulting Numbers: [53, 66]
Generated Node #0,2,4: 44:[53, 66] Operation: 19+47=66
Moving to Node #0,3
Current State: 44:[61, 47, 11], Operations: ['19-8=11']
Exploring Operation: 47-11=36, Resulting Numbers: [61, 36]
Generated Node #0,3,0: 44:[61, 36] Operation: 47-11=36
Exploring Operation: 61-47=14, Resulting Numbers: [11, 14]
Generated Node #0,3,1: 44:[11, 14] Operation: 61-47=14
Exploring Operation: 61+11=72, Resulting Numbers: [47, 72]
Generated Node #0,3,2: 44:[47, 72] Operation: 61+11=72
Exploring Operation: 61-11=50, Resulting Numbers: [47, 50]
Generated Node #0,3,3: 44:[47, 50] Operation: 61-11=50
Exploring Operation: 47+11=58, Resulting Numbers: [61, 58]
Generated Node #0,3,4: 44:[61, 58] Operation: 47+11=58
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 44:[11, 14], Operations: ['19-8=11', '61-47=14']
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,44 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 44:[47, 50], Operations: ['19-8=11', '61-11=50']
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 47*50=2350, Resulting Numbers: [2350]
2350,44 unequal: No Solution
Exploring Operation: 47+50=97, Resulting Numbers: [97]
97,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,3,0
Current State: 44:[61, 36], Operations: ['19-8=11', '47-11=36']
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 61*36=2196, Resulting Numbers: [2196]
2196,44 unequal: No Solution
Exploring Operation: 61+36=97, Resulting Numbers: [97]
97,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,3,2
Current State: 44:[47, 72], Operations: ['19-8=11', '61+11=72']
Exploring Operation: 47+72=119, Resulting Numbers: [119]
119,44 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 47*72=3384, Resulting Numbers: [3384]
3384,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,3,4
Current State: 44:[61, 58], Operations: ['19-8=11', '47+11=58']
Exploring Operation: 61+58=119, Resulting Numbers: [119]
119,44 unequal: No Solution
Exploring Operation: 61-58=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 61*58=3538, Resulting Numbers: [3538]
3538,44 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: 44:[61, 47, 27], Operations: ['19+8=27']
Exploring Operation: 47+27=74, Resulting Numbers: [61, 74]
Generated Node #0,1,0: 44:[61, 74] Operation: 47+27=74
Exploring Operation: 61-47=14, Resulting Numbers: [27, 14]
Generated Node #0,1,1: 44:[27, 14] Operation: 61-47=14
Exploring Operation: 61+27=88, Resulting Numbers: [47, 88]
Generated Node #0,1,2: 44:[47, 88] Operation: 61+27=88
Exploring Operation: 47-27=20, Resulting Numbers: [61, 20]
Generated Node #0,1,3: 44:[61, 20] Operation: 47-27=20
Exploring Operation: 61-27=34, Resulting Numbers: [47, 34]
Generated Node #0,1,4: 44:[47, 34] Operation: 61-27=34
Moving to Node #0,2,3
Current State: 44:[19, 6], Operations: ['61-8=53', '53-47=6']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,44 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[27, 14], Operations: ['19+8=27', '61-47=14']
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,44 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Moving to Node #0,1,4
Current State: 44:[47, 34], Operations: ['19+8=27', '61-27=34']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 47*34=1598, Resulting Numbers: [1598]
1598,44 unequal: No Solution
Exploring Operation: 47+34=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[47, 34], Operations: ['61-8=53', '53-19=34']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 47*34=1598, Resulting Numbers: [1598]
1598,44 unequal: No Solution
Exploring Operation: 47+34=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[53, 28], Operations: ['61-8=53', '47-19=28']
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[61, 20], Operations: ['19+8=27', '47-27=20']
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,44 unequal: No Solution
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Moving to Node #0,2,4
Current State: 44:[53, 66], Operations: ['61-8=53', '19+47=66']
Exploring Operation: 53+66=119, Resulting Numbers: [119]
119,44 unequal: No Solution
Exploring Operation: 53*66=3498, Resulting Numbers: [3498]
3498,44 unequal: No Solution
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[47, 72], Operations: ['61-8=53', '19+53=72']
Exploring Operation: 47*72=3384, Resulting Numbers: [3384]
3384,44 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 47+72=119, Resulting Numbers: [119]
119,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[47, 88], Operations: ['19+8=27', '61+27=88']
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,44 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 47*88=4136, Resulting Numbers: [4136]
4136,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[61, 74], Operations: ['19+8=27', '47+27=74']
Exploring Operation: 61*74=4514, Resulting Numbers: [4514]
4514,44 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 61+74=135, Resulting Numbers: [135]
135,44 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
48,
24,
23,
17
] | 11 | [
"48/24=2",
"17*2=34",
"34-23=11"
] | Current State: 11:[48, 24, 23, 17], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [23, 17, 2]
Generated Node #2: [23, 17, 2] from Operation: 48/24=2
Current State: 11:[23, 17, 2], Operations: ['48/24=2']
Exploring Operation: 17*2=34, Resulting Numbers: [23, 34]
Generated Node #3: [23, 34] from Operation: 17*2=34
Current State: 11:[23, 34], Operations: ['48/24=2', '17*2=34']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[48, 24, 23, 17], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [23, 17, 2]
Generated Node #0,0: 11:[23, 17, 2] Operation: 48/24=2
Exploring Operation: 48-23=25, Resulting Numbers: [24, 17, 25]
Generated Node #0,1: 11:[24, 17, 25] Operation: 48-23=25
Exploring Operation: 48-17=31, Resulting Numbers: [24, 23, 31]
Generated Node #0,2: 11:[24, 23, 31] Operation: 48-17=31
Exploring Operation: 48-24=24, Resulting Numbers: [23, 17, 24]
Generated Node #0,3: 11:[23, 17, 24] Operation: 48-24=24
Moving to Node #0,0
Current State: 11:[23, 17, 2], Operations: ['48/24=2']
Exploring Operation: 23-17=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 11:[2, 6] Operation: 23-17=6
Exploring Operation: 17-2=15, Resulting Numbers: [23, 15]
Generated Node #0,0,1: 11:[23, 15] Operation: 17-2=15
Exploring Operation: 23-2=21, Resulting Numbers: [17, 21]
Generated Node #0,0,2: 11:[17, 21] Operation: 23-2=21
Exploring Operation: 23+2=25, Resulting Numbers: [17, 25]
Generated Node #0,0,3: 11:[17, 25] Operation: 23+2=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[2, 6], Operations: ['48/24=2', '23-17=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[23, 15], Operations: ['48/24=2', '17-2=15']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 11:[17, 21], Operations: ['48/24=2', '23-2=21']
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,11 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 11:[17, 25], Operations: ['48/24=2', '23+2=25']
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,11 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: 11:[23, 17, 24], Operations: ['48-24=24']
Exploring Operation: 24-23=1, Resulting Numbers: [17, 1]
Generated Node #0,3,0: 11:[17, 1] Operation: 24-23=1
Exploring Operation: 23+17=40, Resulting Numbers: [24, 40]
Generated Node #0,3,1: 11:[24, 40] Operation: 23+17=40
Exploring Operation: 23-17=6, Resulting Numbers: [24, 6]
Generated Node #0,3,2: 11:[24, 6] Operation: 23-17=6
Exploring Operation: 24-17=7, Resulting Numbers: [23, 7]
Generated Node #0,3,3: 11:[23, 7] Operation: 24-17=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 11:[17, 1], Operations: ['48-24=24', '24-23=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 11:[23, 7], Operations: ['48-24=24', '24-17=7']
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,11 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 11:[24, 6], Operations: ['48-24=24', '23-17=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 11:[24, 40], Operations: ['48-24=24', '23+17=40']
Exploring Operation: 24*40=960, Resulting Numbers: [960]
960,11 unequal: No Solution
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 24+40=64, Resulting Numbers: [64]
64,11 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: 11:[24, 17, 25], Operations: ['48-23=25']
Exploring Operation: 25-24=1, Resulting Numbers: [17, 1]
Generated Node #0,1,0: 11:[17, 1] Operation: 25-24=1
Exploring Operation: 24-17=7, Resulting Numbers: [25, 7]
Generated Node #0,1,1: 11:[25, 7] Operation: 24-17=7
Exploring Operation: 25-17=8, Resulting Numbers: [24, 8]
Generated Node #0,1,2: 11:[24, 8] Operation: 25-17=8
Exploring Operation: 24+17=41, Resulting Numbers: [25, 41]
Generated Node #0,1,3: 11:[25, 41] Operation: 24+17=41
Moving to Node #0,2
Current State: 11:[24, 23, 31], Operations: ['48-17=31']
Exploring Operation: 31-24=7, Resulting Numbers: [23, 7]
Generated Node #0,2,0: 11:[23, 7] Operation: 31-24=7
Exploring Operation: 24+23=47, Resulting Numbers: [31, 47]
Generated Node #0,2,1: 11:[31, 47] Operation: 24+23=47
Exploring Operation: 24-23=1, Resulting Numbers: [31, 1]
Generated Node #0,2,2: 11:[31, 1] Operation: 24-23=1
Exploring Operation: 31-23=8, Resulting Numbers: [24, 8]
Generated Node #0,2,3: 11:[24, 8] Operation: 31-23=8
Moving to Node #0,1,0
Current State: 11:[17, 1], Operations: ['48-23=25', '25-24=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[24, 8], Operations: ['48-17=31', '31-23=8']
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,11 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[24, 8], Operations: ['48-23=25', '25-17=8']
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,11 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[23, 7], Operations: ['48-17=31', '31-24=7']
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,11 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[25, 7], Operations: ['48-23=25', '24-17=7']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,11 unequal: No Solution
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[31, 1], Operations: ['48-17=31', '24-23=1']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[25, 41], Operations: ['48-23=25', '24+17=41']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[31, 47], Operations: ['48-17=31', '24+23=47']
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 31+47=78, Resulting Numbers: [78]
78,11 unequal: No Solution
Exploring Operation: 31*47=1457, Resulting Numbers: [1457]
1457,11 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
63,
8,
79,
11
] | 72 | [
"79-63=16",
"8*11=88",
"88-16=72"
] | Current State: 72:[63, 8, 79, 11], Operations: []
Exploring Operation: 79-63=16, Resulting Numbers: [8, 11, 16]
Generated Node #2: [8, 11, 16] from Operation: 79-63=16
Current State: 72:[8, 11, 16], Operations: ['79-63=16']
Exploring Operation: 8*11=88, Resulting Numbers: [16, 88]
Generated Node #3: [16, 88] from Operation: 8*11=88
Current State: 72:[16, 88], Operations: ['79-63=16', '8*11=88']
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[63, 8, 79, 11], Operations: []
Exploring Operation: 63+11=74, Resulting Numbers: [8, 79, 74]
Generated Node #0,0: 72:[8, 79, 74] Operation: 63+11=74
Exploring Operation: 63+8=71, Resulting Numbers: [79, 11, 71]
Generated Node #0,1: 72:[79, 11, 71] Operation: 63+8=71
Exploring Operation: 79-63=16, Resulting Numbers: [8, 11, 16]
Generated Node #0,2: 72:[8, 11, 16] Operation: 79-63=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[8, 11, 16], Operations: ['79-63=16']
Exploring Operation: 16/8=2, Resulting Numbers: [11, 2]
Generated Node #0,2,0: 72:[11, 2] Operation: 16/8=2
Exploring Operation: 8+16=24, Resulting Numbers: [11, 24]
Generated Node #0,2,1: 72:[11, 24] Operation: 8+16=24
Exploring Operation: 16-8=8, Resulting Numbers: [11, 8]
Generated Node #0,2,2: 72:[11, 8] Operation: 16-8=8
Moving to Node #0,2,0
Current State: 72:[11, 2], Operations: ['79-63=16', '16/8=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[11, 24], Operations: ['79-63=16', '8+16=24']
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,72 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[11, 8], Operations: ['79-63=16', '16-8=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,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
Current State: 72:[8, 79, 74], Operations: ['63+11=74']
Exploring Operation: 79-74=5, Resulting Numbers: [8, 5]
Generated Node #0,0,0: 72:[8, 5] Operation: 79-74=5
Exploring Operation: 74-8=66, Resulting Numbers: [79, 66]
Generated Node #0,0,1: 72:[79, 66] Operation: 74-8=66
Exploring Operation: 79-8=71, Resulting Numbers: [74, 71]
Generated Node #0,0,2: 72:[74, 71] Operation: 79-8=71
Moving to Node #0,0,0
Current State: 72:[8, 5], Operations: ['63+11=74', '79-74=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[74, 71], Operations: ['63+11=74', '79-8=71']
Exploring Operation: 74*71=5254, Resulting Numbers: [5254]
5254,72 unequal: No Solution
Exploring Operation: 74+71=145, Resulting Numbers: [145]
145,72 unequal: No Solution
Exploring Operation: 74-71=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[79, 66], Operations: ['63+11=74', '74-8=66']
Exploring Operation: 79-66=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 79+66=145, Resulting Numbers: [145]
145,72 unequal: No Solution
Exploring Operation: 79*66=5214, Resulting Numbers: [5214]
5214,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,1
Current State: 72:[79, 11, 71], Operations: ['63+8=71']
Exploring Operation: 79-11=68, Resulting Numbers: [71, 68]
Generated Node #0,1,0: 72:[71, 68] Operation: 79-11=68
Exploring Operation: 79-71=8, Resulting Numbers: [11, 8]
Generated Node #0,1,1: 72:[11, 8] Operation: 79-71=8
Exploring Operation: 11+71=82, Resulting Numbers: [79, 82]
Generated Node #0,1,2: 72:[79, 82] Operation: 11+71=82
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[11, 8], Operations: ['63+8=71', '79-71=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,72 unequal: No Solution
No 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: 72:[71, 68], Operations: ['63+8=71', '79-11=68']
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 71+68=139, Resulting Numbers: [139]
139,72 unequal: No Solution
Exploring Operation: 71*68=4828, Resulting Numbers: [4828]
4828,72 unequal: No Solution
No 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: 72:[79, 82], Operations: ['63+8=71', '11+71=82']
Exploring Operation: 79+82=161, Resulting Numbers: [161]
161,72 unequal: No Solution
Exploring Operation: 82-79=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 79*82=6478, Resulting Numbers: [6478]
6478,72 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 |
[
48,
9,
38,
2
] | 52 | [
"48+38=86",
"86/2=43",
"9+43=52"
] | Current State: 52:[48, 9, 38, 2], Operations: []
Exploring Operation: 48+38=86, Resulting Numbers: [9, 2, 86]
Generated Node #2: [9, 2, 86] from Operation: 48+38=86
Current State: 52:[9, 2, 86], Operations: ['48+38=86']
Exploring Operation: 86/2=43, Resulting Numbers: [9, 43]
Generated Node #3: [9, 43] from Operation: 86/2=43
Current State: 52:[9, 43], Operations: ['48+38=86', '86/2=43']
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[48, 9, 38, 2], Operations: []
Exploring Operation: 38-9=29, Resulting Numbers: [48, 2, 29]
Generated Node #0,0: 52:[48, 2, 29] Operation: 38-9=29
Exploring Operation: 38/2=19, Resulting Numbers: [48, 9, 19]
Generated Node #0,1: 52:[48, 9, 19] Operation: 38/2=19
Exploring Operation: 48-38=10, Resulting Numbers: [9, 2, 10]
Generated Node #0,2: 52:[9, 2, 10] Operation: 48-38=10
Exploring Operation: 9+38=47, Resulting Numbers: [48, 2, 47]
Generated Node #0,3: 52:[48, 2, 47] Operation: 9+38=47
Moving to Node #0,0
Current State: 52:[48, 2, 29], Operations: ['38-9=29']
Exploring Operation: 48/2=24, Resulting Numbers: [29, 24]
Generated Node #0,0,0: 52:[29, 24] Operation: 48/2=24
Exploring Operation: 48-29=19, Resulting Numbers: [2, 19]
Generated Node #0,0,1: 52:[2, 19] Operation: 48-29=19
Exploring Operation: 29-2=27, Resulting Numbers: [48, 27]
Generated Node #0,0,2: 52:[48, 27] Operation: 29-2=27
Exploring Operation: 48+2=50, Resulting Numbers: [29, 50]
Generated Node #0,0,3: 52:[29, 50] Operation: 48+2=50
Moving to Node #0,2
Current State: 52:[9, 2, 10], Operations: ['48-38=10']
Exploring Operation: 2+10=12, Resulting Numbers: [9, 12]
Generated Node #0,2,0: 52:[9, 12] Operation: 2+10=12
Exploring Operation: 9+2=11, Resulting Numbers: [10, 11]
Generated Node #0,2,1: 52:[10, 11] Operation: 9+2=11
Exploring Operation: 10/2=5, Resulting Numbers: [9, 5]
Generated Node #0,2,2: 52:[9, 5] Operation: 10/2=5
Exploring Operation: 10-9=1, Resulting Numbers: [2, 1]
Generated Node #0,2,3: 52:[2, 1] Operation: 10-9=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 52:[2, 1], Operations: ['48-38=10', '10-9=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[9, 12], Operations: ['48-38=10', '2+10=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[10, 11], Operations: ['48-38=10', '9+2=11']
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,52 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[9, 5], Operations: ['48-38=10', '10/2=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 52:[48, 2, 47], Operations: ['9+38=47']
Exploring Operation: 48+2=50, Resulting Numbers: [47, 50]
Generated Node #0,3,0: 52:[47, 50] Operation: 48+2=50
Exploring Operation: 2+47=49, Resulting Numbers: [48, 49]
Generated Node #0,3,1: 52:[48, 49] Operation: 2+47=49
Exploring Operation: 48-47=1, Resulting Numbers: [2, 1]
Generated Node #0,3,2: 52:[2, 1] Operation: 48-47=1
Exploring Operation: 48/2=24, Resulting Numbers: [47, 24]
Generated Node #0,3,3: 52:[47, 24] Operation: 48/2=24
Moving to Node #0,1
Current State: 52:[48, 9, 19], Operations: ['38/2=19']
Exploring Operation: 19-9=10, Resulting Numbers: [48, 10]
Generated Node #0,1,0: 52:[48, 10] Operation: 19-9=10
Exploring Operation: 48-19=29, Resulting Numbers: [9, 29]
Generated Node #0,1,1: 52:[9, 29] Operation: 48-19=29
Exploring Operation: 48+9=57, Resulting Numbers: [19, 57]
Generated Node #0,1,2: 52:[19, 57] Operation: 48+9=57
Exploring Operation: 9+19=28, Resulting Numbers: [48, 28]
Generated Node #0,1,3: 52:[48, 28] Operation: 9+19=28
Moving to Node #0,3,2
Current State: 52:[2, 1], Operations: ['9+38=47', '48-47=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[29, 50], Operations: ['38-9=29', '48+2=50']
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 29+50=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 29*50=1450, Resulting Numbers: [1450]
1450,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[29, 24], Operations: ['38-9=29', '48/2=24']
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,52 unequal: No Solution
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[48, 27], Operations: ['38-9=29', '29-2=27']
Exploring Operation: 48*27=1296, Resulting Numbers: [1296]
1296,52 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 48+27=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[2, 19], Operations: ['38-9=29', '48-29=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[48, 28], Operations: ['38/2=19', '9+19=28']
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,52 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[48, 49], Operations: ['9+38=47', '2+47=49']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,52 unequal: No Solution
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[47, 50], Operations: ['9+38=47', '48+2=50']
Exploring Operation: 47*50=2350, Resulting Numbers: [2350]
2350,52 unequal: No Solution
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 47+50=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[48, 10], Operations: ['38/2=19', '19-9=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[47, 24], Operations: ['9+38=47', '48/2=24']
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,52 unequal: No Solution
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[9, 29], Operations: ['38/2=19', '48-19=29']
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,52 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[19, 57], Operations: ['38/2=19', '48+9=57']
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 19*57=1083, Resulting Numbers: [1083]
1083,52 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
51,
41,
6,
79
] | 78 | [
"51+41=92",
"92-79=13",
"6*13=78"
] | Current State: 78:[51, 41, 6, 79], Operations: []
Exploring Operation: 51+41=92, Resulting Numbers: [6, 79, 92]
Generated Node #2: [6, 79, 92] from Operation: 51+41=92
Current State: 78:[6, 79, 92], Operations: ['51+41=92']
Exploring Operation: 92-79=13, Resulting Numbers: [6, 13]
Generated Node #3: [6, 13] from Operation: 92-79=13
Current State: 78:[6, 13], Operations: ['51+41=92', '92-79=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[51, 41, 6, 79], Operations: []
Exploring Operation: 79-51=28, Resulting Numbers: [41, 6, 28]
Generated Node #0,0: 78:[41, 6, 28] Operation: 79-51=28
Exploring Operation: 51-41=10, Resulting Numbers: [6, 79, 10]
Generated Node #0,1: 78:[6, 79, 10] Operation: 51-41=10
Exploring Operation: 51-6=45, Resulting Numbers: [41, 79, 45]
Generated Node #0,2: 78:[41, 79, 45] Operation: 51-6=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[41, 6, 28], Operations: ['79-51=28']
Exploring Operation: 28-6=22, Resulting Numbers: [41, 22]
Generated Node #0,0,0: 78:[41, 22] Operation: 28-6=22
Exploring Operation: 41-28=13, Resulting Numbers: [6, 13]
Generated Node #0,0,1: 78:[6, 13] Operation: 41-28=13
Exploring Operation: 41-6=35, Resulting Numbers: [28, 35]
Generated Node #0,0,2: 78:[28, 35] Operation: 41-6=35
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[6, 13], Operations: ['79-51=28', '41-28=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[51, 41, 6, 79], Operations: []
Exploring Operation: 79-51=28, Resulting Numbers: [41, 6, 28]
Generated Node #0,0: 78:[41, 6, 28] Operation: 79-51=28
Moving to Node #0,0
Current State: 78:[41, 6, 28], Operations: ['79-51=28']
Exploring Operation: 41-28=13, Resulting Numbers: [6, 13]
Generated Node #0,0,1: 78:[6, 13] Operation: 41-28=13
Moving to Node #0,0,1
Current State: 78:[6, 13], Operations: ['79-51=28', '41-28=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
40,
91,
27,
45
] | 59 | [
"40+91=131",
"27+45=72",
"131-72=59"
] | Current State: 59:[40, 91, 27, 45], Operations: []
Exploring Operation: 40+91=131, Resulting Numbers: [27, 45, 131]
Generated Node #2: [27, 45, 131] from Operation: 40+91=131
Current State: 59:[27, 45, 131], Operations: ['40+91=131']
Exploring Operation: 27+45=72, Resulting Numbers: [131, 72]
Generated Node #3: [131, 72] from Operation: 27+45=72
Current State: 59:[131, 72], Operations: ['40+91=131', '27+45=72']
Exploring Operation: 131-72=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[40, 91, 27, 45], Operations: []
Exploring Operation: 40+27=67, Resulting Numbers: [91, 45, 67]
Generated Node #0,0: 59:[91, 45, 67] Operation: 40+27=67
Exploring Operation: 91-40=51, Resulting Numbers: [27, 45, 51]
Generated Node #0,1: 59:[27, 45, 51] Operation: 91-40=51
Exploring Operation: 91-45=46, Resulting Numbers: [40, 27, 46]
Generated Node #0,2: 59:[40, 27, 46] Operation: 91-45=46
Exploring Operation: 91-27=64, Resulting Numbers: [40, 45, 64]
Generated Node #0,3: 59:[40, 45, 64] Operation: 91-27=64
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[40, 45, 64], Operations: ['91-27=64']
Exploring Operation: 45-40=5, Resulting Numbers: [64, 5]
Generated Node #0,3,0: 59:[64, 5] Operation: 45-40=5
Exploring Operation: 40+45=85, Resulting Numbers: [64, 85]
Generated Node #0,3,1: 59:[64, 85] Operation: 40+45=85
Exploring Operation: 64-40=24, Resulting Numbers: [45, 24]
Generated Node #0,3,2: 59:[45, 24] Operation: 64-40=24
Exploring Operation: 40+64=104, Resulting Numbers: [45, 104]
Generated Node #0,3,3: 59:[45, 104] Operation: 40+64=104
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 59:[64, 85], Operations: ['91-27=64', '40+45=85']
Exploring Operation: 64*85=5440, Resulting Numbers: [5440]
5440,59 unequal: No Solution
Exploring Operation: 64+85=149, Resulting Numbers: [149]
149,59 unequal: No Solution
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,59 unequal: No Solution
No 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: 59:[45, 24], Operations: ['91-27=64', '64-40=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,59 unequal: No Solution
No 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: 59:[64, 5], Operations: ['91-27=64', '45-40=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,59 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[40, 91, 27, 45], Operations: []
Exploring Operation: 91-27=64, Resulting Numbers: [40, 45, 64]
Generated Node #0,3: 59:[40, 45, 64] Operation: 91-27=64
Moving to Node #0,3
Current State: 59:[40, 45, 64], Operations: ['91-27=64']
Exploring Operation: 45-40=5, Resulting Numbers: [64, 5]
Generated Node #0,3,0: 59:[64, 5] Operation: 45-40=5
Moving to Node #0,3,0
Current State: 59:[64, 5], Operations: ['91-27=64', '45-40=5']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
60,
3,
7,
95
] | 82 | [
"60/3=20",
"7+95=102",
"102-20=82"
] | Current State: 82:[60, 3, 7, 95], Operations: []
Exploring Operation: 60/3=20, Resulting Numbers: [7, 95, 20]
Generated Node #2: [7, 95, 20] from Operation: 60/3=20
Current State: 82:[7, 95, 20], Operations: ['60/3=20']
Exploring Operation: 7+95=102, Resulting Numbers: [20, 102]
Generated Node #3: [20, 102] from Operation: 7+95=102
Current State: 82:[20, 102], Operations: ['60/3=20', '7+95=102']
Exploring Operation: 102-20=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[60, 3, 7, 95], Operations: []
Exploring Operation: 95-60=35, Resulting Numbers: [3, 7, 35]
Generated Node #0,0: 82:[3, 7, 35] Operation: 95-60=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[3, 7, 35], Operations: ['95-60=35']
Exploring Operation: 7+35=42, Resulting Numbers: [3, 42]
Generated Node #0,0,0: 82:[3, 42] Operation: 7+35=42
Moving to Node #0,0,0
Current State: 82:[3, 42], Operations: ['95-60=35', '7+35=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,82 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 |
[
72,
78,
63,
30
] | 12 | [
"72-63=9",
"78+30=108",
"108/9=12"
] | Current State: 12:[72, 78, 63, 30], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [78, 30, 9]
Generated Node #2: [78, 30, 9] from Operation: 72-63=9
Current State: 12:[78, 30, 9], Operations: ['72-63=9']
Exploring Operation: 78+30=108, Resulting Numbers: [9, 108]
Generated Node #3: [9, 108] from Operation: 78+30=108
Current State: 12:[9, 108], Operations: ['72-63=9', '78+30=108']
Exploring Operation: 108/9=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[72, 78, 63, 30], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [63, 30, 6]
Generated Node #0,0: 12:[63, 30, 6] Operation: 78-72=6
Moving to Node #0,0
Current State: 12:[63, 30, 6], Operations: ['78-72=6']
Exploring Operation: 63-30=33, Resulting Numbers: [6, 33]
Generated Node #0,0,0: 12:[6, 33] Operation: 63-30=33
Moving to Node #0,0,0
Current State: 12:[6, 33], Operations: ['78-72=6', '63-30=33']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,12 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
72,
91,
28,
73
] | 64 | [
"91-72=19",
"73-28=45",
"19+45=64"
] | Current State: 64:[72, 91, 28, 73], Operations: []
Exploring Operation: 91-72=19, Resulting Numbers: [28, 73, 19]
Generated Node #2: [28, 73, 19] from Operation: 91-72=19
Current State: 64:[28, 73, 19], Operations: ['91-72=19']
Exploring Operation: 73-28=45, Resulting Numbers: [19, 45]
Generated Node #3: [19, 45] from Operation: 73-28=45
Current State: 64:[19, 45], Operations: ['91-72=19', '73-28=45']
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[72, 91, 28, 73], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [72, 28, 18]
Generated Node #0,0: 64:[72, 28, 18] Operation: 91-73=18
Moving to Node #0,0
Current State: 64:[72, 28, 18], Operations: ['91-73=18']
Exploring Operation: 72/18=4, Resulting Numbers: [28, 4]
Generated Node #0,0,0: 64:[28, 4] Operation: 72/18=4
Moving to Node #0,0,0
Current State: 64:[28, 4], Operations: ['91-73=18', '72/18=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,64 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
99,
52,
46,
87
] | 87 | [
"99-52=47",
"47-46=1",
"87*1=87"
] | Current State: 87:[99, 52, 46, 87], Operations: []
Exploring Operation: 99-52=47, Resulting Numbers: [46, 87, 47]
Generated Node #2: [46, 87, 47] from Operation: 99-52=47
Current State: 87:[46, 87, 47], Operations: ['99-52=47']
Exploring Operation: 47-46=1, Resulting Numbers: [87, 1]
Generated Node #3: [87, 1] from Operation: 47-46=1
Current State: 87:[87, 1], Operations: ['99-52=47', '47-46=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[99, 52, 46, 87], Operations: []
Exploring Operation: 52+46=98, Resulting Numbers: [99, 87, 98]
Generated Node #0,0: 87:[99, 87, 98] Operation: 52+46=98
Exploring Operation: 99-52=47, Resulting Numbers: [46, 87, 47]
Generated Node #0,1: 87:[46, 87, 47] Operation: 99-52=47
Exploring Operation: 52-46=6, Resulting Numbers: [99, 87, 6]
Generated Node #0,2: 87:[99, 87, 6] Operation: 52-46=6
Moving to Node #0,2
Current State: 87:[99, 87, 6], Operations: ['52-46=6']
Exploring Operation: 99-87=12, Resulting Numbers: [6, 12]
Generated Node #0,2,0: 87:[6, 12] Operation: 99-87=12
Exploring Operation: 99+6=105, Resulting Numbers: [87, 105]
Generated Node #0,2,1: 87:[87, 105] Operation: 99+6=105
Exploring Operation: 99-6=93, Resulting Numbers: [87, 93]
Generated Node #0,2,2: 87:[87, 93] Operation: 99-6=93
Moving to Node #0,0
Current State: 87:[99, 87, 98], Operations: ['52+46=98']
Exploring Operation: 98-87=11, Resulting Numbers: [99, 11]
Generated Node #0,0,0: 87:[99, 11] Operation: 98-87=11
Exploring Operation: 99-87=12, Resulting Numbers: [98, 12]
Generated Node #0,0,1: 87:[98, 12] Operation: 99-87=12
Exploring Operation: 99-98=1, Resulting Numbers: [87, 1]
Generated Node #0,0,2: 87:[87, 1] Operation: 99-98=1
Moving to Node #0,1
Current State: 87:[46, 87, 47], Operations: ['99-52=47']
Exploring Operation: 46+47=93, Resulting Numbers: [87, 93]
Generated Node #0,1,0: 87:[87, 93] Operation: 46+47=93
Exploring Operation: 47-46=1, Resulting Numbers: [87, 1]
Generated Node #0,1,1: 87:[87, 1] Operation: 47-46=1
Exploring Operation: 87-47=40, Resulting Numbers: [46, 40]
Generated Node #0,1,2: 87:[46, 40] Operation: 87-47=40
Moving to Node #0,0,2
Current State: 87:[87, 1], Operations: ['52+46=98', '99-98=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[99, 52, 46, 87], Operations: []
Exploring Operation: 52+46=98, Resulting Numbers: [99, 87, 98]
Generated Node #0,0: 87:[99, 87, 98] Operation: 52+46=98
Moving to Node #0,0
Current State: 87:[99, 87, 98], Operations: ['52+46=98']
Exploring Operation: 99-98=1, Resulting Numbers: [87, 1]
Generated Node #0,0,2: 87:[87, 1] Operation: 99-98=1
Moving to Node #0,0,2
Current State: 87:[87, 1], Operations: ['52+46=98', '99-98=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.985243 | hs_3 | mult_heuristic |
[
73,
77,
14,
76
] | 94 | [
"77-73=4",
"14+76=90",
"4+90=94"
] | Current State: 94:[73, 77, 14, 76], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [14, 76, 4]
Generated Node #2: [14, 76, 4] from Operation: 77-73=4
Current State: 94:[14, 76, 4], Operations: ['77-73=4']
Exploring Operation: 14+76=90, Resulting Numbers: [4, 90]
Generated Node #3: [4, 90] from Operation: 14+76=90
Current State: 94:[4, 90], Operations: ['77-73=4', '14+76=90']
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[73, 77, 14, 76], Operations: []
Exploring Operation: 77-76=1, Resulting Numbers: [73, 14, 1]
Generated Node #0,0: 94:[73, 14, 1] Operation: 77-76=1
Exploring Operation: 77-73=4, Resulting Numbers: [14, 76, 4]
Generated Node #0,1: 94:[14, 76, 4] Operation: 77-73=4
Exploring Operation: 76-73=3, Resulting Numbers: [77, 14, 3]
Generated Node #0,2: 94:[77, 14, 3] Operation: 76-73=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[77, 14, 3], Operations: ['76-73=3']
Exploring Operation: 77-14=63, Resulting Numbers: [3, 63]
Generated Node #0,2,0: 94:[3, 63] Operation: 77-14=63
Exploring Operation: 14*3=42, Resulting Numbers: [77, 42]
Generated Node #0,2,1: 94:[77, 42] Operation: 14*3=42
Exploring Operation: 77+14=91, Resulting Numbers: [3, 91]
Generated Node #0,2,2: 94:[3, 91] Operation: 77+14=91
Moving to Node #0,2,2
Current State: 94:[3, 91], Operations: ['76-73=3', '77+14=91']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,94 unequal: No Solution
Exploring Operation: 3*91=273, Resulting Numbers: [273]
273,94 unequal: No Solution
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[73, 77, 14, 76], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [77, 14, 3]
Generated Node #0,2: 94:[77, 14, 3] Operation: 76-73=3
Moving to Node #0,2
Current State: 94:[77, 14, 3], Operations: ['76-73=3']
Exploring Operation: 77+14=91, Resulting Numbers: [3, 91]
Generated Node #0,2,2: 94:[3, 91] Operation: 77+14=91
Moving to Node #0,2,2
Current State: 94:[3, 91], Operations: ['76-73=3', '77+14=91']
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
50,
21,
83,
31
] | 100 | [
"83-21=62",
"50*62=3100",
"3100/31=100"
] | Current State: 100:[50, 21, 83, 31], Operations: []
Exploring Operation: 83-21=62, Resulting Numbers: [50, 31, 62]
Generated Node #2: [50, 31, 62] from Operation: 83-21=62
Current State: 100:[50, 31, 62], Operations: ['83-21=62']
Exploring Operation: 50*62=3100, Resulting Numbers: [31, 3100]
Generated Node #3: [31, 3100] from Operation: 50*62=3100
Current State: 100:[31, 3100], Operations: ['83-21=62', '50*62=3100']
Exploring Operation: 3100/31=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[50, 21, 83, 31], Operations: []
Exploring Operation: 83-31=52, Resulting Numbers: [50, 21, 52]
Generated Node #0,0: 100:[50, 21, 52] Operation: 83-31=52
Moving to Node #0,0
Current State: 100:[50, 21, 52], Operations: ['83-31=52']
Exploring Operation: 52-50=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 100:[21, 2] Operation: 52-50=2
Moving to Node #0,0,0
Current State: 100:[21, 2], Operations: ['83-31=52', '52-50=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,100 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
31,
97,
32,
45
] | 51 | [
"31+97=128",
"32+45=77",
"128-77=51"
] | Current State: 51:[31, 97, 32, 45], Operations: []
Exploring Operation: 31+97=128, Resulting Numbers: [32, 45, 128]
Generated Node #2: [32, 45, 128] from Operation: 31+97=128
Current State: 51:[32, 45, 128], Operations: ['31+97=128']
Exploring Operation: 32+45=77, Resulting Numbers: [128, 77]
Generated Node #3: [128, 77] from Operation: 32+45=77
Current State: 51:[128, 77], Operations: ['31+97=128', '32+45=77']
Exploring Operation: 128-77=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[31, 97, 32, 45], Operations: []
Exploring Operation: 97-32=65, Resulting Numbers: [31, 45, 65]
Generated Node #0,0: 51:[31, 45, 65] Operation: 97-32=65
Exploring Operation: 97-31=66, Resulting Numbers: [32, 45, 66]
Generated Node #0,1: 51:[32, 45, 66] Operation: 97-31=66
Exploring Operation: 31+32=63, Resulting Numbers: [97, 45, 63]
Generated Node #0,2: 51:[97, 45, 63] Operation: 31+32=63
Exploring Operation: 32-31=1, Resulting Numbers: [97, 45, 1]
Generated Node #0,3: 51:[97, 45, 1] Operation: 32-31=1
Exploring Operation: 97-45=52, Resulting Numbers: [31, 32, 52]
Generated Node #0,4: 51:[31, 32, 52] Operation: 97-45=52
Moving to Node #0,4
Current State: 51:[31, 32, 52], Operations: ['97-45=52']
Exploring Operation: 31+32=63, Resulting Numbers: [52, 63]
Generated Node #0,4,0: 51:[52, 63] Operation: 31+32=63
Exploring Operation: 52-31=21, Resulting Numbers: [32, 21]
Generated Node #0,4,1: 51:[32, 21] Operation: 52-31=21
Exploring Operation: 32-31=1, Resulting Numbers: [52, 1]
Generated Node #0,4,2: 51:[52, 1] Operation: 32-31=1
Exploring Operation: 31+52=83, Resulting Numbers: [32, 83]
Generated Node #0,4,3: 51:[32, 83] Operation: 31+52=83
Exploring Operation: 52-32=20, Resulting Numbers: [31, 20]
Generated Node #0,4,4: 51:[31, 20] Operation: 52-32=20
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 51:[52, 1], Operations: ['97-45=52', '32-31=1']
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,51 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[31, 97, 32, 45], Operations: []
Exploring Operation: 97-45=52, Resulting Numbers: [31, 32, 52]
Generated Node #0,4: 51:[31, 32, 52] Operation: 97-45=52
Moving to Node #0,4
Current State: 51:[31, 32, 52], Operations: ['97-45=52']
Exploring Operation: 32-31=1, Resulting Numbers: [52, 1]
Generated Node #0,4,2: 51:[52, 1] Operation: 32-31=1
Moving to Node #0,4,2
Current State: 51:[52, 1], Operations: ['97-45=52', '32-31=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
72,
83,
90,
19
] | 84 | [
"72+83=155",
"90-19=71",
"155-71=84"
] | Current State: 84:[72, 83, 90, 19], Operations: []
Exploring Operation: 72+83=155, Resulting Numbers: [90, 19, 155]
Generated Node #2: [90, 19, 155] from Operation: 72+83=155
Current State: 84:[90, 19, 155], Operations: ['72+83=155']
Exploring Operation: 90-19=71, Resulting Numbers: [155, 71]
Generated Node #3: [155, 71] from Operation: 90-19=71
Current State: 84:[155, 71], Operations: ['72+83=155', '90-19=71']
Exploring Operation: 155-71=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[72, 83, 90, 19], Operations: []
Exploring Operation: 72+19=91, Resulting Numbers: [83, 90, 91]
Generated Node #0,0: 84:[83, 90, 91] Operation: 72+19=91
Exploring Operation: 90-72=18, Resulting Numbers: [83, 19, 18]
Generated Node #0,1: 84:[83, 19, 18] Operation: 90-72=18
Exploring Operation: 90-83=7, Resulting Numbers: [72, 19, 7]
Generated Node #0,2: 84:[72, 19, 7] Operation: 90-83=7
Exploring Operation: 72-19=53, Resulting Numbers: [83, 90, 53]
Generated Node #0,3: 84:[83, 90, 53] Operation: 72-19=53
Exploring Operation: 83-72=11, Resulting Numbers: [90, 19, 11]
Generated Node #0,4: 84:[90, 19, 11] Operation: 83-72=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[83, 19, 18], Operations: ['90-72=18']
Exploring Operation: 19+18=37, Resulting Numbers: [83, 37]
Generated Node #0,1,0: 84:[83, 37] Operation: 19+18=37
Exploring Operation: 83+18=101, Resulting Numbers: [19, 101]
Generated Node #0,1,1: 84:[19, 101] Operation: 83+18=101
Exploring Operation: 83-18=65, Resulting Numbers: [19, 65]
Generated Node #0,1,2: 84:[19, 65] Operation: 83-18=65
Exploring Operation: 83+19=102, Resulting Numbers: [18, 102]
Generated Node #0,1,3: 84:[18, 102] Operation: 83+19=102
Exploring Operation: 19-18=1, Resulting Numbers: [83, 1]
Generated Node #0,1,4: 84:[83, 1] Operation: 19-18=1
Moving to Node #0,1,4
Current State: 84:[83, 1], Operations: ['90-72=18', '19-18=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,84 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[72, 83, 90, 19], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [83, 19, 18]
Generated Node #0,1: 84:[83, 19, 18] Operation: 90-72=18
Moving to Node #0,1
Current State: 84:[83, 19, 18], Operations: ['90-72=18']
Exploring Operation: 19-18=1, Resulting Numbers: [83, 1]
Generated Node #0,1,4: 84:[83, 1] Operation: 19-18=1
Moving to Node #0,1,4
Current State: 84:[83, 1], Operations: ['90-72=18', '19-18=1']
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
84,
1,
96,
30
] | 18 | [
"84*1=84",
"96-30=66",
"84-66=18"
] | Current State: 18:[84, 1, 96, 30], Operations: []
Exploring Operation: 84*1=84, Resulting Numbers: [96, 30, 84]
Generated Node #2: [96, 30, 84] from Operation: 84*1=84
Current State: 18:[96, 30, 84], Operations: ['84*1=84']
Exploring Operation: 96-30=66, Resulting Numbers: [84, 66]
Generated Node #3: [84, 66] from Operation: 96-30=66
Current State: 18:[84, 66], Operations: ['84*1=84', '96-30=66']
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[84, 1, 96, 30], Operations: []
Exploring Operation: 96-30=66, Resulting Numbers: [84, 1, 66]
Generated Node #0,0: 18:[84, 1, 66] Operation: 96-30=66
Exploring Operation: 84-1=83, Resulting Numbers: [96, 30, 83]
Generated Node #0,1: 18:[96, 30, 83] Operation: 84-1=83
Exploring Operation: 96-84=12, Resulting Numbers: [1, 30, 12]
Generated Node #0,2: 18:[1, 30, 12] Operation: 96-84=12
Exploring Operation: 84-30=54, Resulting Numbers: [1, 96, 54]
Generated Node #0,3: 18:[1, 96, 54] Operation: 84-30=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[1, 30, 12], Operations: ['96-84=12']
Exploring Operation: 30-1=29, Resulting Numbers: [12, 29]
Generated Node #0,2,0: 18:[12, 29] Operation: 30-1=29
Exploring Operation: 12-1=11, Resulting Numbers: [30, 11]
Generated Node #0,2,1: 18:[30, 11] Operation: 12-1=11
Exploring Operation: 30-12=18, Resulting Numbers: [1, 18]
Generated Node #0,2,2: 18:[1, 18] Operation: 30-12=18
Exploring Operation: 1*30=30, Resulting Numbers: [12, 30]
Generated Node #0,2,3: 18:[12, 30] Operation: 1*30=30
Moving to Node #0,2,2
Current State: 18:[1, 18], Operations: ['96-84=12', '30-12=18']
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[84, 1, 96, 30], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [1, 30, 12]
Generated Node #0,2: 18:[1, 30, 12] Operation: 96-84=12
Moving to Node #0,2
Current State: 18:[1, 30, 12], Operations: ['96-84=12']
Exploring Operation: 30-12=18, Resulting Numbers: [1, 18]
Generated Node #0,2,2: 18:[1, 18] Operation: 30-12=18
Moving to Node #0,2,2
Current State: 18:[1, 18], Operations: ['96-84=12', '30-12=18']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
38,
53,
48,
20
] | 42 | [
"53-48=5",
"20/5=4",
"38+4=42"
] | Current State: 42:[38, 53, 48, 20], Operations: []
Exploring Operation: 53-48=5, Resulting Numbers: [38, 20, 5]
Generated Node #2: [38, 20, 5] from Operation: 53-48=5
Current State: 42:[38, 20, 5], Operations: ['53-48=5']
Exploring Operation: 20/5=4, Resulting Numbers: [38, 4]
Generated Node #3: [38, 4] from Operation: 20/5=4
Current State: 42:[38, 4], Operations: ['53-48=5', '20/5=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[38, 53, 48, 20], Operations: []
Exploring Operation: 53-48=5, Resulting Numbers: [38, 20, 5]
Generated Node #0,0: 42:[38, 20, 5] Operation: 53-48=5
Exploring Operation: 53-38=15, Resulting Numbers: [48, 20, 15]
Generated Node #0,1: 42:[48, 20, 15] Operation: 53-38=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[38, 20, 5], Operations: ['53-48=5']
Exploring Operation: 38-20=18, Resulting Numbers: [5, 18]
Generated Node #0,0,0: 42:[5, 18] Operation: 38-20=18
Exploring Operation: 38+5=43, Resulting Numbers: [20, 43]
Generated Node #0,0,1: 42:[20, 43] Operation: 38+5=43
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[20, 43], Operations: ['53-48=5', '38+5=43']
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,42 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[5, 18], Operations: ['53-48=5', '38-20=18']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[48, 20, 15], Operations: ['53-38=15']
Exploring Operation: 20-15=5, Resulting Numbers: [48, 5]
Generated Node #0,1,0: 42:[48, 5] Operation: 20-15=5
Exploring Operation: 48-20=28, Resulting Numbers: [15, 28]
Generated Node #0,1,1: 42:[15, 28] Operation: 48-20=28
Moving to Node #0,1,0
Current State: 42:[48, 5], Operations: ['53-38=15', '20-15=5']
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[15, 28], Operations: ['53-38=15', '48-20=28']
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,42 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 |
[
34,
58,
68,
28
] | 84 | [
"68/34=2",
"58+28=86",
"86-2=84"
] | Current State: 84:[34, 58, 68, 28], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [58, 28, 2]
Generated Node #2: [58, 28, 2] from Operation: 68/34=2
Current State: 84:[58, 28, 2], Operations: ['68/34=2']
Exploring Operation: 58+28=86, Resulting Numbers: [2, 86]
Generated Node #3: [2, 86] from Operation: 58+28=86
Current State: 84:[2, 86], Operations: ['68/34=2', '58+28=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[34, 58, 68, 28], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [58, 28, 2]
Generated Node #0,0: 84:[58, 28, 2] Operation: 68/34=2
Exploring Operation: 68-58=10, Resulting Numbers: [34, 28, 10]
Generated Node #0,1: 84:[34, 28, 10] Operation: 68-58=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[34, 28, 10], Operations: ['68-58=10']
Exploring Operation: 34-28=6, Resulting Numbers: [10, 6]
Generated Node #0,1,0: 84:[10, 6] Operation: 34-28=6
Exploring Operation: 34+10=44, Resulting Numbers: [28, 44]
Generated Node #0,1,1: 84:[28, 44] Operation: 34+10=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[10, 6], Operations: ['68-58=10', '34-28=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,84 unequal: No Solution
No 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: 84:[28, 44], Operations: ['68-58=10', '34+10=44']
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[58, 28, 2], Operations: ['68/34=2']
Exploring Operation: 58+28=86, Resulting Numbers: [2, 86]
Generated Node #0,0,0: 84:[2, 86] Operation: 58+28=86
Exploring Operation: 58/2=29, Resulting Numbers: [28, 29]
Generated Node #0,0,1: 84:[28, 29] Operation: 58/2=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[28, 29], Operations: ['68/34=2', '58/2=29']
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,84 unequal: No Solution
No 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: 84:[2, 86], Operations: ['68/34=2', '58+28=86']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[34, 58, 68, 28], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [58, 28, 2]
Generated Node #0,0: 84:[58, 28, 2] Operation: 68/34=2
Moving to Node #0,0
Current State: 84:[58, 28, 2], Operations: ['68/34=2']
Exploring Operation: 58+28=86, Resulting Numbers: [2, 86]
Generated Node #0,0,0: 84:[2, 86] Operation: 58+28=86
Moving to Node #0,0,0
Current State: 84:[2, 86], Operations: ['68/34=2', '58+28=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
8,
40,
16,
66
] | 80 | [
"40+16=56",
"66-56=10",
"8*10=80"
] | Current State: 80:[8, 40, 16, 66], Operations: []
Exploring Operation: 40+16=56, Resulting Numbers: [8, 66, 56]
Generated Node #2: [8, 66, 56] from Operation: 40+16=56
Current State: 80:[8, 66, 56], Operations: ['40+16=56']
Exploring Operation: 66-56=10, Resulting Numbers: [8, 10]
Generated Node #3: [8, 10] from Operation: 66-56=10
Current State: 80:[8, 10], Operations: ['40+16=56', '66-56=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[8, 40, 16, 66], Operations: []
Exploring Operation: 40/8=5, Resulting Numbers: [16, 66, 5]
Generated Node #0,0: 80:[16, 66, 5] Operation: 40/8=5
Exploring Operation: 66-16=50, Resulting Numbers: [8, 40, 50]
Generated Node #0,1: 80:[8, 40, 50] Operation: 66-16=50
Exploring Operation: 66-40=26, Resulting Numbers: [8, 16, 26]
Generated Node #0,2: 80:[8, 16, 26] Operation: 66-40=26
Exploring Operation: 8+66=74, Resulting Numbers: [40, 16, 74]
Generated Node #0,3: 80:[40, 16, 74] Operation: 8+66=74
Exploring Operation: 16+66=82, Resulting Numbers: [8, 40, 82]
Generated Node #0,4: 80:[8, 40, 82] Operation: 16+66=82
Start Sub Search at level 1: Moving to Node #0,4
Current State: 80:[8, 40, 82], Operations: ['16+66=82']
Exploring Operation: 82-8=74, Resulting Numbers: [40, 74]
Generated Node #0,4,0: 80:[40, 74] Operation: 82-8=74
Exploring Operation: 40-8=32, Resulting Numbers: [82, 32]
Generated Node #0,4,1: 80:[82, 32] Operation: 40-8=32
Exploring Operation: 8+40=48, Resulting Numbers: [82, 48]
Generated Node #0,4,2: 80:[82, 48] Operation: 8+40=48
Exploring Operation: 40/8=5, Resulting Numbers: [82, 5]
Generated Node #0,4,3: 80:[82, 5] Operation: 40/8=5
Exploring Operation: 82-40=42, Resulting Numbers: [8, 42]
Generated Node #0,4,4: 80:[8, 42] Operation: 82-40=42
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 80:[82, 5], Operations: ['16+66=82', '40/8=5']
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,80 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,80 unequal: No Solution
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,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:[8, 42], Operations: ['16+66=82', '82-40=42']
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,80 unequal: No Solution
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,80 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,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,0
Current State: 80:[40, 74], Operations: ['16+66=82', '82-8=74']
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,80 unequal: No Solution
Exploring Operation: 40+74=114, Resulting Numbers: [114]
114,80 unequal: No Solution
Exploring Operation: 40*74=2960, Resulting Numbers: [2960]
2960,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:[82, 32], Operations: ['16+66=82', '40-8=32']
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,80 unequal: No Solution
Exploring Operation: 82*32=2624, Resulting Numbers: [2624]
2624,80 unequal: No Solution
Exploring Operation: 82+32=114, Resulting Numbers: [114]
114,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:[82, 48], Operations: ['16+66=82', '8+40=48']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,80 unequal: No Solution
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,80 unequal: No Solution
Exploring Operation: 82*48=3936, Resulting Numbers: [3936]
3936,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,2
Current State: 80:[8, 16, 26], Operations: ['66-40=26']
Exploring Operation: 16+26=42, Resulting Numbers: [8, 42]
Generated Node #0,2,0: 80:[8, 42] Operation: 16+26=42
Exploring Operation: 16/8=2, Resulting Numbers: [26, 2]
Generated Node #0,2,1: 80:[26, 2] Operation: 16/8=2
Exploring Operation: 16-8=8, Resulting Numbers: [26, 8]
Generated Node #0,2,2: 80:[26, 8] Operation: 16-8=8
Exploring Operation: 26-8=18, Resulting Numbers: [16, 18]
Generated Node #0,2,3: 80:[16, 18] Operation: 26-8=18
Exploring Operation: 26-16=10, Resulting Numbers: [8, 10]
Generated Node #0,2,4: 80:[8, 10] Operation: 26-16=10
Moving to Node #0,2,4
Current State: 80:[8, 10], Operations: ['66-40=26', '26-16=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[8, 40, 16, 66], Operations: []
Exploring Operation: 66-40=26, Resulting Numbers: [8, 16, 26]
Generated Node #0,2: 80:[8, 16, 26] Operation: 66-40=26
Moving to Node #0,2
Current State: 80:[8, 16, 26], Operations: ['66-40=26']
Exploring Operation: 26-16=10, Resulting Numbers: [8, 10]
Generated Node #0,2,4: 80:[8, 10] Operation: 26-16=10
Moving to Node #0,2,4
Current State: 80:[8, 10], Operations: ['66-40=26', '26-16=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
87,
80,
70,
77
] | 59 | [
"87-80=7",
"77/7=11",
"70-11=59"
] | Current State: 59:[87, 80, 70, 77], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [70, 77, 7]
Generated Node #2: [70, 77, 7] from Operation: 87-80=7
Current State: 59:[70, 77, 7], Operations: ['87-80=7']
Exploring Operation: 77/7=11, Resulting Numbers: [70, 11]
Generated Node #3: [70, 11] from Operation: 77/7=11
Current State: 59:[70, 11], Operations: ['87-80=7', '77/7=11']
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[87, 80, 70, 77], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [80, 70, 10]
Generated Node #0,0: 59:[80, 70, 10] Operation: 87-77=10
Exploring Operation: 80-70=10, Resulting Numbers: [87, 77, 10]
Generated Node #0,1: 59:[87, 77, 10] Operation: 80-70=10
Exploring Operation: 87-80=7, Resulting Numbers: [70, 77, 7]
Generated Node #0,2: 59:[70, 77, 7] Operation: 87-80=7
Exploring Operation: 87-70=17, Resulting Numbers: [80, 77, 17]
Generated Node #0,3: 59:[80, 77, 17] Operation: 87-70=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[80, 70, 10], Operations: ['87-77=10']
Exploring Operation: 80+10=90, Resulting Numbers: [70, 90]
Generated Node #0,0,0: 59:[70, 90] Operation: 80+10=90
Exploring Operation: 70-10=60, Resulting Numbers: [80, 60]
Generated Node #0,0,1: 59:[80, 60] Operation: 70-10=60
Exploring Operation: 70+10=80, Resulting Numbers: [80, 80]
Generated Node #0,0,2: 59:[80, 80] Operation: 70+10=80
Exploring Operation: 80-10=70, Resulting Numbers: [70, 70]
Generated Node #0,0,3: 59:[70, 70] Operation: 80-10=70
Moving to Node #0,0,1
Current State: 59:[80, 60], Operations: ['87-77=10', '70-10=60']
Exploring Operation: 80+60=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 80*60=4800, Resulting Numbers: [4800]
4800,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[70, 70], Operations: ['87-77=10', '80-10=70']
Exploring Operation: 70-70=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 70+70=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Exploring Operation: 70*70=4900, Resulting Numbers: [4900]
4900,59 unequal: No Solution
Exploring Operation: 70/70=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[80, 80], Operations: ['87-77=10', '70+10=80']
Exploring Operation: 80*80=6400, Resulting Numbers: [6400]
6400,59 unequal: No Solution
Exploring Operation: 80+80=160, Resulting Numbers: [160]
160,59 unequal: No Solution
Exploring Operation: 80/80=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 80-80=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[70, 90], Operations: ['87-77=10', '80+10=90']
Exploring Operation: 70*90=6300, Resulting Numbers: [6300]
6300,59 unequal: No Solution
Exploring Operation: 90-70=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 70+90=160, Resulting Numbers: [160]
160,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,2
Current State: 59:[70, 77, 7], Operations: ['87-80=7']
Exploring Operation: 70-7=63, Resulting Numbers: [77, 63]
Generated Node #0,2,0: 59:[77, 63] Operation: 70-7=63
Exploring Operation: 77+7=84, Resulting Numbers: [70, 84]
Generated Node #0,2,1: 59:[70, 84] Operation: 77+7=84
Exploring Operation: 70+7=77, Resulting Numbers: [77, 77]
Generated Node #0,2,2: 59:[77, 77] Operation: 70+7=77
Exploring Operation: 77-7=70, Resulting Numbers: [70, 70]
Generated Node #0,2,3: 59:[70, 70] Operation: 77-7=70
Moving to Node #0,2,0
Current State: 59:[77, 63], Operations: ['87-80=7', '70-7=63']
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 77*63=4851, Resulting Numbers: [4851]
4851,59 unequal: No Solution
Exploring Operation: 77+63=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[70, 70], Operations: ['87-80=7', '77-7=70']
Exploring Operation: 70/70=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 70-70=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 70+70=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Exploring Operation: 70*70=4900, Resulting Numbers: [4900]
4900,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[77, 77], Operations: ['87-80=7', '70+7=77']
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 77*77=5929, Resulting Numbers: [5929]
5929,59 unequal: No Solution
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[70, 84], Operations: ['87-80=7', '77+7=84']
Exploring Operation: 70+84=154, Resulting Numbers: [154]
154,59 unequal: No Solution
Exploring Operation: 70*84=5880, Resulting Numbers: [5880]
5880,59 unequal: No Solution
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,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,3
Current State: 59:[80, 77, 17], Operations: ['87-70=17']
Exploring Operation: 80-17=63, Resulting Numbers: [77, 63]
Generated Node #0,3,0: 59:[77, 63] Operation: 80-17=63
Exploring Operation: 80+17=97, Resulting Numbers: [77, 97]
Generated Node #0,3,1: 59:[77, 97] Operation: 80+17=97
Exploring Operation: 77-17=60, Resulting Numbers: [80, 60]
Generated Node #0,3,2: 59:[80, 60] Operation: 77-17=60
Exploring Operation: 77+17=94, Resulting Numbers: [80, 94]
Generated Node #0,3,3: 59:[80, 94] Operation: 77+17=94
Moving to Node #0,3,0
Current State: 59:[77, 63], Operations: ['87-70=17', '80-17=63']
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 77*63=4851, Resulting Numbers: [4851]
4851,59 unequal: No Solution
Exploring Operation: 77+63=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[80, 60], Operations: ['87-70=17', '77-17=60']
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 80*60=4800, Resulting Numbers: [4800]
4800,59 unequal: No Solution
Exploring Operation: 80+60=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[80, 94], Operations: ['87-70=17', '77+17=94']
Exploring Operation: 94-80=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 80+94=174, Resulting Numbers: [174]
174,59 unequal: No Solution
Exploring Operation: 80*94=7520, Resulting Numbers: [7520]
7520,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[77, 97], Operations: ['87-70=17', '80+17=97']
Exploring Operation: 97-77=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 77+97=174, Resulting Numbers: [174]
174,59 unequal: No Solution
Exploring Operation: 77*97=7469, Resulting Numbers: [7469]
7469,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[87, 77, 10], Operations: ['80-70=10']
Exploring Operation: 77-10=67, Resulting Numbers: [87, 67]
Generated Node #0,1,0: 59:[87, 67] Operation: 77-10=67
Exploring Operation: 87+10=97, Resulting Numbers: [77, 97]
Generated Node #0,1,1: 59:[77, 97] Operation: 87+10=97
Exploring Operation: 87-10=77, Resulting Numbers: [77, 77]
Generated Node #0,1,2: 59:[77, 77] Operation: 87-10=77
Exploring Operation: 77+10=87, Resulting Numbers: [87, 87]
Generated Node #0,1,3: 59:[87, 87] Operation: 77+10=87
Moving to Node #0,1,0
Current State: 59:[87, 67], Operations: ['80-70=10', '77-10=67']
Exploring Operation: 87+67=154, Resulting Numbers: [154]
154,59 unequal: No Solution
Exploring Operation: 87-67=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 87*67=5829, Resulting Numbers: [5829]
5829,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[77, 77], Operations: ['80-70=10', '87-10=77']
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,59 unequal: No Solution
Exploring Operation: 77*77=5929, Resulting Numbers: [5929]
5929,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[87, 87], Operations: ['80-70=10', '77+10=87']
Exploring Operation: 87/87=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 87-87=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 87+87=174, Resulting Numbers: [174]
174,59 unequal: No Solution
Exploring Operation: 87*87=7569, Resulting Numbers: [7569]
7569,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[77, 97], Operations: ['80-70=10', '87+10=97']
Exploring Operation: 77+97=174, Resulting Numbers: [174]
174,59 unequal: No Solution
Exploring Operation: 77*97=7469, Resulting Numbers: [7469]
7469,59 unequal: No Solution
Exploring Operation: 97-77=20, Resulting Numbers: [20]
20,59 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 |
[
94,
23,
32,
16
] | 69 | [
"94+23=117",
"32+16=48",
"117-48=69"
] | Current State: 69:[94, 23, 32, 16], Operations: []
Exploring Operation: 94+23=117, Resulting Numbers: [32, 16, 117]
Generated Node #2: [32, 16, 117] from Operation: 94+23=117
Current State: 69:[32, 16, 117], Operations: ['94+23=117']
Exploring Operation: 32+16=48, Resulting Numbers: [117, 48]
Generated Node #3: [117, 48] from Operation: 32+16=48
Current State: 69:[117, 48], Operations: ['94+23=117', '32+16=48']
Exploring Operation: 117-48=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[94, 23, 32, 16], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [94, 23, 2]
Generated Node #0,0: 69:[94, 23, 2] Operation: 32/16=2
Exploring Operation: 94-16=78, Resulting Numbers: [23, 32, 78]
Generated Node #0,1: 69:[23, 32, 78] Operation: 94-16=78
Exploring Operation: 94-23=71, Resulting Numbers: [32, 16, 71]
Generated Node #0,2: 69:[32, 16, 71] Operation: 94-23=71
Exploring Operation: 94-32=62, Resulting Numbers: [23, 16, 62]
Generated Node #0,3: 69:[23, 16, 62] Operation: 94-32=62
Exploring Operation: 32-16=16, Resulting Numbers: [94, 23, 16]
Generated Node #0,4: 69:[94, 23, 16] Operation: 32-16=16
Moving to Node #0,3
Current State: 69:[23, 16, 62], Operations: ['94-32=62']
Exploring Operation: 23+16=39, Resulting Numbers: [62, 39]
Generated Node #0,3,0: 69:[62, 39] Operation: 23+16=39
Exploring Operation: 23+62=85, Resulting Numbers: [16, 85]
Generated Node #0,3,1: 69:[16, 85] Operation: 23+62=85
Exploring Operation: 62-23=39, Resulting Numbers: [16, 39]
Generated Node #0,3,2: 69:[16, 39] Operation: 62-23=39
Exploring Operation: 23-16=7, Resulting Numbers: [62, 7]
Generated Node #0,3,3: 69:[62, 7] Operation: 23-16=7
Exploring Operation: 16+62=78, Resulting Numbers: [23, 78]
Generated Node #0,3,4: 69:[23, 78] Operation: 16+62=78
Moving to Node #0,2
Current State: 69:[32, 16, 71], Operations: ['94-23=71']
Exploring Operation: 71-16=55, Resulting Numbers: [32, 55]
Generated Node #0,2,0: 69:[32, 55] Operation: 71-16=55
Exploring Operation: 32/16=2, Resulting Numbers: [71, 2]
Generated Node #0,2,1: 69:[71, 2] Operation: 32/16=2
Exploring Operation: 71-32=39, Resulting Numbers: [16, 39]
Generated Node #0,2,2: 69:[16, 39] Operation: 71-32=39
Exploring Operation: 32+16=48, Resulting Numbers: [71, 48]
Generated Node #0,2,3: 69:[71, 48] Operation: 32+16=48
Exploring Operation: 32-16=16, Resulting Numbers: [71, 16]
Generated Node #0,2,4: 69:[71, 16] Operation: 32-16=16
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[71, 2], Operations: ['94-23=71', '32/16=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[94, 23, 32, 16], Operations: []
Exploring Operation: 94-23=71, Resulting Numbers: [32, 16, 71]
Generated Node #0,2: 69:[32, 16, 71] Operation: 94-23=71
Moving to Node #0,2
Current State: 69:[32, 16, 71], Operations: ['94-23=71']
Exploring Operation: 32/16=2, Resulting Numbers: [71, 2]
Generated Node #0,2,1: 69:[71, 2] Operation: 32/16=2
Moving to Node #0,2,1
Current State: 69:[71, 2], Operations: ['94-23=71', '32/16=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
89,
70,
36,
76
] | 95 | [
"76-70=6",
"36/6=6",
"89+6=95"
] | Current State: 95:[89, 70, 36, 76], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [89, 36, 6]
Generated Node #2: [89, 36, 6] from Operation: 76-70=6
Current State: 95:[89, 36, 6], Operations: ['76-70=6']
Exploring Operation: 36/6=6, Resulting Numbers: [89, 6]
Generated Node #3: [89, 6] from Operation: 36/6=6
Current State: 95:[89, 6], Operations: ['76-70=6', '36/6=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[89, 70, 36, 76], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [89, 36, 6]
Generated Node #0,0: 95:[89, 36, 6] Operation: 76-70=6
Exploring Operation: 70+36=106, Resulting Numbers: [89, 76, 106]
Generated Node #0,1: 95:[89, 76, 106] Operation: 70+36=106
Exploring Operation: 89-70=19, Resulting Numbers: [36, 76, 19]
Generated Node #0,2: 95:[36, 76, 19] Operation: 89-70=19
Exploring Operation: 70-36=34, Resulting Numbers: [89, 76, 34]
Generated Node #0,3: 95:[89, 76, 34] Operation: 70-36=34
Exploring Operation: 89-76=13, Resulting Numbers: [70, 36, 13]
Generated Node #0,4: 95:[70, 36, 13] Operation: 89-76=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[89, 36, 6], Operations: ['76-70=6']
Exploring Operation: 89-6=83, Resulting Numbers: [36, 83]
Generated Node #0,0,0: 95:[36, 83] Operation: 89-6=83
Exploring Operation: 36+6=42, Resulting Numbers: [89, 42]
Generated Node #0,0,1: 95:[89, 42] Operation: 36+6=42
Exploring Operation: 89+6=95, Resulting Numbers: [36, 95]
Generated Node #0,0,2: 95:[36, 95] Operation: 89+6=95
Exploring Operation: 36/6=6, Resulting Numbers: [89, 6]
Generated Node #0,0,3: 95:[89, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [89, 30]
Generated Node #0,0,4: 95:[89, 30] Operation: 36-6=30
Moving to Node #0,0,3
Current State: 95:[89, 6], Operations: ['76-70=6', '36/6=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[89, 70, 36, 76], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [89, 36, 6]
Generated Node #0,0: 95:[89, 36, 6] Operation: 76-70=6
Moving to Node #0,0
Current State: 95:[89, 36, 6], Operations: ['76-70=6']
Exploring Operation: 36/6=6, Resulting Numbers: [89, 6]
Generated Node #0,0,3: 95:[89, 6] Operation: 36/6=6
Moving to Node #0,0,3
Current State: 95:[89, 6], Operations: ['76-70=6', '36/6=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
10,
54,
85,
7
] | 67 | [
"10-7=3",
"54/3=18",
"85-18=67"
] | Current State: 67:[10, 54, 85, 7], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [54, 85, 3]
Generated Node #2: [54, 85, 3] from Operation: 10-7=3
Current State: 67:[54, 85, 3], Operations: ['10-7=3']
Exploring Operation: 54/3=18, Resulting Numbers: [85, 18]
Generated Node #3: [85, 18] from Operation: 54/3=18
Current State: 67:[85, 18], Operations: ['10-7=3', '54/3=18']
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[10, 54, 85, 7], Operations: []
Exploring Operation: 10*7=70, Resulting Numbers: [54, 85, 70]
Generated Node #0,0: 67:[54, 85, 70] Operation: 10*7=70
Exploring Operation: 10+54=64, Resulting Numbers: [85, 7, 64]
Generated Node #0,1: 67:[85, 7, 64] Operation: 10+54=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[54, 85, 70], Operations: ['10*7=70']
Exploring Operation: 85-54=31, Resulting Numbers: [70, 31]
Generated Node #0,0,0: 67:[70, 31] Operation: 85-54=31
Exploring Operation: 85-70=15, Resulting Numbers: [54, 15]
Generated Node #0,0,1: 67:[54, 15] Operation: 85-70=15
Moving to Node #0,0,0
Current State: 67:[70, 31], Operations: ['10*7=70', '85-54=31']
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[54, 15], Operations: ['10*7=70', '85-70=15']
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,67 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[85, 7, 64], Operations: ['10+54=64']
Exploring Operation: 7+64=71, Resulting Numbers: [85, 71]
Generated Node #0,1,0: 67:[85, 71] Operation: 7+64=71
Exploring Operation: 85-7=78, Resulting Numbers: [64, 78]
Generated Node #0,1,1: 67:[64, 78] Operation: 85-7=78
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[64, 78], Operations: ['10+54=64', '85-7=78']
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 64+78=142, Resulting Numbers: [142]
142,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[85, 71], Operations: ['10+54=64', '7+64=71']
Exploring Operation: 85-71=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 85+71=156, Resulting Numbers: [156]
156,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
37,
2,
75,
34
] | 34 | [
"37*2=74",
"75-74=1",
"34*1=34"
] | Current State: 34:[37, 2, 75, 34], Operations: []
Exploring Operation: 37*2=74, Resulting Numbers: [75, 34, 74]
Generated Node #2: [75, 34, 74] from Operation: 37*2=74
Current State: 34:[75, 34, 74], Operations: ['37*2=74']
Exploring Operation: 75-74=1, Resulting Numbers: [34, 1]
Generated Node #3: [34, 1] from Operation: 75-74=1
Current State: 34:[34, 1], Operations: ['37*2=74', '75-74=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[37, 2, 75, 34], Operations: []
Exploring Operation: 75-34=41, Resulting Numbers: [37, 2, 41]
Generated Node #0,0: 34:[37, 2, 41] Operation: 75-34=41
Exploring Operation: 75-37=38, Resulting Numbers: [2, 34, 38]
Generated Node #0,1: 34:[2, 34, 38] Operation: 75-37=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[2, 34, 38], Operations: ['75-37=38']
Exploring Operation: 38-2=36, Resulting Numbers: [34, 36]
Generated Node #0,1,0: 34:[34, 36] Operation: 38-2=36
Exploring Operation: 38/2=19, Resulting Numbers: [34, 19]
Generated Node #0,1,1: 34:[34, 19] Operation: 38/2=19
Moving to Node #0,1,0
Current State: 34:[34, 36], Operations: ['75-37=38', '38-2=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[34, 19], Operations: ['75-37=38', '38/2=19']
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[37, 2, 41], Operations: ['75-34=41']
Exploring Operation: 37-2=35, Resulting Numbers: [41, 35]
Generated Node #0,0,0: 34:[41, 35] Operation: 37-2=35
Exploring Operation: 41-37=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 34:[2, 4] Operation: 41-37=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[2, 4], Operations: ['75-34=41', '41-37=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,34 unequal: No Solution
No 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: 34:[41, 35], Operations: ['75-34=41', '37-2=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,34 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 |
[
53,
47,
31,
90
] | 96 | [
"53-47=6",
"31*6=186",
"186-90=96"
] | Current State: 96:[53, 47, 31, 90], Operations: []
Exploring Operation: 53-47=6, Resulting Numbers: [31, 90, 6]
Generated Node #2: [31, 90, 6] from Operation: 53-47=6
Current State: 96:[31, 90, 6], Operations: ['53-47=6']
Exploring Operation: 31*6=186, Resulting Numbers: [90, 186]
Generated Node #3: [90, 186] from Operation: 31*6=186
Current State: 96:[90, 186], Operations: ['53-47=6', '31*6=186']
Exploring Operation: 186-90=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[53, 47, 31, 90], Operations: []
Exploring Operation: 53-47=6, Resulting Numbers: [31, 90, 6]
Generated Node #0,0: 96:[31, 90, 6] Operation: 53-47=6
Exploring Operation: 90-53=37, Resulting Numbers: [47, 31, 37]
Generated Node #0,1: 96:[47, 31, 37] Operation: 90-53=37
Exploring Operation: 53-31=22, Resulting Numbers: [47, 90, 22]
Generated Node #0,2: 96:[47, 90, 22] Operation: 53-31=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[31, 90, 6], Operations: ['53-47=6']
Exploring Operation: 90+6=96, Resulting Numbers: [31, 96]
Generated Node #0,0,0: 96:[31, 96] Operation: 90+6=96
Exploring Operation: 31-6=25, Resulting Numbers: [90, 25]
Generated Node #0,0,1: 96:[90, 25] Operation: 31-6=25
Exploring Operation: 90/6=15, Resulting Numbers: [31, 15]
Generated Node #0,0,2: 96:[31, 15] Operation: 90/6=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[31, 96], Operations: ['53-47=6', '90+6=96']
Exploring Operation: 31*96=2976, Resulting Numbers: [2976]
2976,96 unequal: No Solution
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,96 unequal: No Solution
Exploring Operation: 31+96=127, Resulting Numbers: [127]
127,96 unequal: No Solution
No 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: 96:[31, 15], Operations: ['53-47=6', '90/6=15']
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,96 unequal: No Solution
No 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: 96:[90, 25], Operations: ['53-47=6', '31-6=25']
Exploring Operation: 90+25=115, Resulting Numbers: [115]
115,96 unequal: No Solution
Exploring Operation: 90*25=2250, Resulting Numbers: [2250]
2250,96 unequal: No Solution
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,96 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: 96:[47, 31, 37], Operations: ['90-53=37']
Exploring Operation: 47-31=16, Resulting Numbers: [37, 16]
Generated Node #0,1,0: 96:[37, 16] Operation: 47-31=16
Exploring Operation: 37-31=6, Resulting Numbers: [47, 6]
Generated Node #0,1,1: 96:[47, 6] Operation: 37-31=6
Exploring Operation: 47-37=10, Resulting Numbers: [31, 10]
Generated Node #0,1,2: 96:[31, 10] Operation: 47-37=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[47, 6], Operations: ['90-53=37', '37-31=6']
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,96 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,96 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,96 unequal: No Solution
No 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: 96:[31, 10], Operations: ['90-53=37', '47-37=10']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,96 unequal: No Solution
No 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: 96:[37, 16], Operations: ['90-53=37', '47-31=16']
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,96 unequal: No Solution
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,96 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,96 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: 96:[47, 90, 22], Operations: ['53-31=22']
Exploring Operation: 90-47=43, Resulting Numbers: [22, 43]
Generated Node #0,2,0: 96:[22, 43] Operation: 90-47=43
Exploring Operation: 47-22=25, Resulting Numbers: [90, 25]
Generated Node #0,2,1: 96:[90, 25] Operation: 47-22=25
Exploring Operation: 90+22=112, Resulting Numbers: [47, 112]
Generated Node #0,2,2: 96:[47, 112] Operation: 90+22=112
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[22, 43], Operations: ['53-31=22', '90-47=43']
Exploring Operation: 22*43=946, Resulting Numbers: [946]
946,96 unequal: No Solution
Exploring Operation: 22+43=65, Resulting Numbers: [65]
65,96 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,96 unequal: No Solution
No 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: 96:[90, 25], Operations: ['53-31=22', '47-22=25']
Exploring Operation: 90*25=2250, Resulting Numbers: [2250]
2250,96 unequal: No Solution
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,96 unequal: No Solution
Exploring Operation: 90+25=115, Resulting Numbers: [115]
115,96 unequal: No Solution
No 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: 96:[47, 112], Operations: ['53-31=22', '90+22=112']
Exploring Operation: 47+112=159, Resulting Numbers: [159]
159,96 unequal: No Solution
Exploring Operation: 112-47=65, Resulting Numbers: [65]
65,96 unequal: No Solution
Exploring Operation: 47*112=5264, Resulting Numbers: [5264]
5264,96 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 |
[
10,
90,
18,
8
] | 30 | [
"90/18=5",
"8*5=40",
"40-10=30"
] | Current State: 30:[10, 90, 18, 8], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [10, 8, 5]
Generated Node #2: [10, 8, 5] from Operation: 90/18=5
Current State: 30:[10, 8, 5], Operations: ['90/18=5']
Exploring Operation: 8*5=40, Resulting Numbers: [10, 40]
Generated Node #3: [10, 40] from Operation: 8*5=40
Current State: 30:[10, 40], Operations: ['90/18=5', '8*5=40']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[10, 90, 18, 8], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [10, 8, 5]
Generated Node #0,0: 30:[10, 8, 5] Operation: 90/18=5
Exploring Operation: 90/10=9, Resulting Numbers: [18, 8, 9]
Generated Node #0,1: 30:[18, 8, 9] Operation: 90/10=9
Moving to Node #0,0
Current State: 30:[10, 8, 5], Operations: ['90/18=5']
Exploring Operation: 10-8=2, Resulting Numbers: [5, 2]
Generated Node #0,0,0: 30:[5, 2] Operation: 10-8=2
Exploring Operation: 8-5=3, Resulting Numbers: [10, 3]
Generated Node #0,0,1: 30:[10, 3] Operation: 8-5=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[5, 2], Operations: ['90/18=5', '10-8=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[10, 3], Operations: ['90/18=5', '8-5=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[10, 90, 18, 8], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [10, 8, 5]
Generated Node #0,0: 30:[10, 8, 5] Operation: 90/18=5
Moving to Node #0,0
Current State: 30:[10, 8, 5], Operations: ['90/18=5']
Exploring Operation: 8-5=3, Resulting Numbers: [10, 3]
Generated Node #0,0,1: 30:[10, 3] Operation: 8-5=3
Moving to Node #0,0,1
Current State: 30:[10, 3], Operations: ['90/18=5', '8-5=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
71,
2,
14,
94
] | 30 | [
"94-71=23",
"14/2=7",
"23+7=30"
] | Current State: 30:[71, 2, 14, 94], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [2, 14, 23]
Generated Node #2: [2, 14, 23] from Operation: 94-71=23
Current State: 30:[2, 14, 23], Operations: ['94-71=23']
Exploring Operation: 14/2=7, Resulting Numbers: [23, 7]
Generated Node #3: [23, 7] from Operation: 14/2=7
Current State: 30:[23, 7], Operations: ['94-71=23', '14/2=7']
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[71, 2, 14, 94], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [2, 14, 23]
Generated Node #0,0: 30:[2, 14, 23] Operation: 94-71=23
Exploring Operation: 94/2=47, Resulting Numbers: [71, 14, 47]
Generated Node #0,1: 30:[71, 14, 47] Operation: 94/2=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[2, 14, 23], Operations: ['94-71=23']
Exploring Operation: 2+23=25, Resulting Numbers: [14, 25]
Generated Node #0,0,0: 30:[14, 25] Operation: 2+23=25
Exploring Operation: 23-14=9, Resulting Numbers: [2, 9]
Generated Node #0,0,1: 30:[2, 9] Operation: 23-14=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 30:[2, 9], Operations: ['94-71=23', '23-14=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,30 unequal: No Solution
No 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: 30:[14, 25], Operations: ['94-71=23', '2+23=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[71, 14, 47], Operations: ['94/2=47']
Exploring Operation: 71-14=57, Resulting Numbers: [47, 57]
Generated Node #0,1,0: 30:[47, 57] Operation: 71-14=57
Exploring Operation: 71-47=24, Resulting Numbers: [14, 24]
Generated Node #0,1,1: 30:[14, 24] Operation: 71-47=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[14, 24], Operations: ['94/2=47', '71-47=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,30 unequal: No Solution
No 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: 30:[47, 57], Operations: ['94/2=47', '71-14=57']
Exploring Operation: 47+57=104, Resulting Numbers: [104]
104,30 unequal: No Solution
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
26,
56,
76,
47
] | 53 | [
"26+56=82",
"76-47=29",
"82-29=53"
] | Current State: 53:[26, 56, 76, 47], Operations: []
Exploring Operation: 26+56=82, Resulting Numbers: [76, 47, 82]
Generated Node #2: [76, 47, 82] from Operation: 26+56=82
Current State: 53:[76, 47, 82], Operations: ['26+56=82']
Exploring Operation: 76-47=29, Resulting Numbers: [82, 29]
Generated Node #3: [82, 29] from Operation: 76-47=29
Current State: 53:[82, 29], Operations: ['26+56=82', '76-47=29']
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[26, 56, 76, 47], Operations: []
Exploring Operation: 76-26=50, Resulting Numbers: [56, 47, 50]
Generated Node #0,0: 53:[56, 47, 50] Operation: 76-26=50
Exploring Operation: 56-26=30, Resulting Numbers: [76, 47, 30]
Generated Node #0,1: 53:[76, 47, 30] Operation: 56-26=30
Exploring Operation: 26+47=73, Resulting Numbers: [56, 76, 73]
Generated Node #0,2: 53:[56, 76, 73] Operation: 26+47=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[56, 47, 50], Operations: ['76-26=50']
Exploring Operation: 56+47=103, Resulting Numbers: [50, 103]
Generated Node #0,0,0: 53:[50, 103] Operation: 56+47=103
Exploring Operation: 47+50=97, Resulting Numbers: [56, 97]
Generated Node #0,0,1: 53:[56, 97] Operation: 47+50=97
Exploring Operation: 56-47=9, Resulting Numbers: [50, 9]
Generated Node #0,0,2: 53:[50, 9] Operation: 56-47=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[56, 97], Operations: ['76-26=50', '47+50=97']
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 56+97=153, Resulting Numbers: [153]
153,53 unequal: No Solution
Exploring Operation: 56*97=5432, Resulting Numbers: [5432]
5432,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,2
Current State: 53:[50, 9], Operations: ['76-26=50', '56-47=9']
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,53 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,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,0
Current State: 53:[50, 103], Operations: ['76-26=50', '56+47=103']
Exploring Operation: 103-50=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[26, 56, 76, 47], Operations: []
Exploring Operation: 76-26=50, Resulting Numbers: [56, 47, 50]
Generated Node #0,0: 53:[56, 47, 50] Operation: 76-26=50
Moving to Node #0,0
Current State: 53:[56, 47, 50], Operations: ['76-26=50']
Exploring Operation: 56+47=103, Resulting Numbers: [50, 103]
Generated Node #0,0,0: 53:[50, 103] Operation: 56+47=103
Moving to Node #0,0,0
Current State: 53:[50, 103], Operations: ['76-26=50', '56+47=103']
Exploring Operation: 103-50=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
50,
36,
40,
53
] | 12 | [
"53-50=3",
"40-36=4",
"3*4=12"
] | Current State: 12:[50, 36, 40, 53], Operations: []
Exploring Operation: 53-50=3, Resulting Numbers: [36, 40, 3]
Generated Node #2: [36, 40, 3] from Operation: 53-50=3
Current State: 12:[36, 40, 3], Operations: ['53-50=3']
Exploring Operation: 40-36=4, Resulting Numbers: [3, 4]
Generated Node #3: [3, 4] from Operation: 40-36=4
Current State: 12:[3, 4], Operations: ['53-50=3', '40-36=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[50, 36, 40, 53], Operations: []
Exploring Operation: 53-40=13, Resulting Numbers: [50, 36, 13]
Generated Node #0,0: 12:[50, 36, 13] Operation: 53-40=13
Exploring Operation: 50-36=14, Resulting Numbers: [40, 53, 14]
Generated Node #0,1: 12:[40, 53, 14] Operation: 50-36=14
Exploring Operation: 50-40=10, Resulting Numbers: [36, 53, 10]
Generated Node #0,2: 12:[36, 53, 10] Operation: 50-40=10
Exploring Operation: 53-50=3, Resulting Numbers: [36, 40, 3]
Generated Node #0,3: 12:[36, 40, 3] Operation: 53-50=3
Exploring Operation: 53-36=17, Resulting Numbers: [50, 40, 17]
Generated Node #0,4: 12:[50, 40, 17] Operation: 53-36=17
Moving to Node #0,3
Current State: 12:[36, 40, 3], Operations: ['53-50=3']
Exploring Operation: 36+3=39, Resulting Numbers: [40, 39]
Generated Node #0,3,0: 12:[40, 39] Operation: 36+3=39
Exploring Operation: 36-3=33, Resulting Numbers: [40, 33]
Generated Node #0,3,1: 12:[40, 33] Operation: 36-3=33
Exploring Operation: 40-3=37, Resulting Numbers: [36, 37]
Generated Node #0,3,2: 12:[36, 37] Operation: 40-3=37
Exploring Operation: 36/3=12, Resulting Numbers: [40, 12]
Generated Node #0,3,3: 12:[40, 12] Operation: 36/3=12
Exploring Operation: 40-36=4, Resulting Numbers: [3, 4]
Generated Node #0,3,4: 12:[3, 4] Operation: 40-36=4
Moving to Node #0,0
Current State: 12:[50, 36, 13], Operations: ['53-40=13']
Exploring Operation: 36-13=23, Resulting Numbers: [50, 23]
Generated Node #0,0,0: 12:[50, 23] Operation: 36-13=23
Exploring Operation: 50+36=86, Resulting Numbers: [13, 86]
Generated Node #0,0,1: 12:[13, 86] Operation: 50+36=86
Exploring Operation: 50-13=37, Resulting Numbers: [36, 37]
Generated Node #0,0,2: 12:[36, 37] Operation: 50-13=37
Exploring Operation: 50-36=14, Resulting Numbers: [13, 14]
Generated Node #0,0,3: 12:[13, 14] Operation: 50-36=14
Exploring Operation: 50+13=63, Resulting Numbers: [36, 63]
Generated Node #0,0,4: 12:[36, 63] Operation: 50+13=63
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[13, 14], Operations: ['53-40=13', '50-36=14']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,12 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[50, 23], Operations: ['53-40=13', '36-13=23']
Exploring Operation: 50*23=1150, Resulting Numbers: [1150]
1150,12 unequal: No Solution
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,12 unequal: No Solution
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[36, 37], Operations: ['53-40=13', '50-13=37']
Exploring Operation: 36*37=1332, Resulting Numbers: [1332]
1332,12 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[13, 86], Operations: ['53-40=13', '50+36=86']
Exploring Operation: 13*86=1118, Resulting Numbers: [1118]
1118,12 unequal: No Solution
Exploring Operation: 13+86=99, Resulting Numbers: [99]
99,12 unequal: No Solution
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 12:[36, 63], Operations: ['53-40=13', '50+13=63']
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,12 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 36*63=2268, Resulting Numbers: [2268]
2268,12 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: 12:[36, 53, 10], Operations: ['50-40=10']
Exploring Operation: 53+10=63, Resulting Numbers: [36, 63]
Generated Node #0,2,0: 12:[36, 63] Operation: 53+10=63
Exploring Operation: 53-10=43, Resulting Numbers: [36, 43]
Generated Node #0,2,1: 12:[36, 43] Operation: 53-10=43
Exploring Operation: 36-10=26, Resulting Numbers: [53, 26]
Generated Node #0,2,2: 12:[53, 26] Operation: 36-10=26
Exploring Operation: 36+10=46, Resulting Numbers: [53, 46]
Generated Node #0,2,3: 12:[53, 46] Operation: 36+10=46
Exploring Operation: 53-36=17, Resulting Numbers: [10, 17]
Generated Node #0,2,4: 12:[10, 17] Operation: 53-36=17
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 12:[10, 17], Operations: ['50-40=10', '53-36=17']
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,12 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[36, 43], Operations: ['50-40=10', '53-10=43']
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 36+43=79, Resulting Numbers: [79]
79,12 unequal: No Solution
Exploring Operation: 36*43=1548, Resulting Numbers: [1548]
1548,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[53, 26], Operations: ['50-40=10', '36-10=26']
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,12 unequal: No Solution
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[36, 63], Operations: ['50-40=10', '53+10=63']
Exploring Operation: 36*63=2268, Resulting Numbers: [2268]
2268,12 unequal: No Solution
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,12 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[53, 46], Operations: ['50-40=10', '36+10=46']
Exploring Operation: 53*46=2438, Resulting Numbers: [2438]
2438,12 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 12:[40, 53, 14], Operations: ['50-36=14']
Exploring Operation: 53-40=13, Resulting Numbers: [14, 13]
Generated Node #0,1,0: 12:[14, 13] Operation: 53-40=13
Exploring Operation: 40+14=54, Resulting Numbers: [53, 54]
Generated Node #0,1,1: 12:[53, 54] Operation: 40+14=54
Exploring Operation: 40-14=26, Resulting Numbers: [53, 26]
Generated Node #0,1,2: 12:[53, 26] Operation: 40-14=26
Exploring Operation: 53-14=39, Resulting Numbers: [40, 39]
Generated Node #0,1,3: 12:[40, 39] Operation: 53-14=39
Exploring Operation: 40+53=93, Resulting Numbers: [14, 93]
Generated Node #0,1,4: 12:[14, 93] Operation: 40+53=93
Moving to Node #0,4
Current State: 12:[50, 40, 17], Operations: ['53-36=17']
Exploring Operation: 40-17=23, Resulting Numbers: [50, 23]
Generated Node #0,4,0: 12:[50, 23] Operation: 40-17=23
Exploring Operation: 50+40=90, Resulting Numbers: [17, 90]
Generated Node #0,4,1: 12:[17, 90] Operation: 50+40=90
Exploring Operation: 50+17=67, Resulting Numbers: [40, 67]
Generated Node #0,4,2: 12:[40, 67] Operation: 50+17=67
Exploring Operation: 50-17=33, Resulting Numbers: [40, 33]
Generated Node #0,4,3: 12:[40, 33] Operation: 50-17=33
Exploring Operation: 50-40=10, Resulting Numbers: [17, 10]
Generated Node #0,4,4: 12:[17, 10] Operation: 50-40=10
Moving to Node #0,3,4
Current State: 12:[3, 4], Operations: ['53-50=3', '40-36=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[50, 36, 40, 53], Operations: []
Exploring Operation: 53-50=3, Resulting Numbers: [36, 40, 3]
Generated Node #0,3: 12:[36, 40, 3] Operation: 53-50=3
Moving to Node #0,3
Current State: 12:[36, 40, 3], Operations: ['53-50=3']
Exploring Operation: 40-36=4, Resulting Numbers: [3, 4]
Generated Node #0,3,4: 12:[3, 4] Operation: 40-36=4
Moving to Node #0,3,4
Current State: 12:[3, 4], Operations: ['53-50=3', '40-36=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.94184 | hs_5 | sum_heuristic |
[
49,
33,
41,
38
] | 36 | [
"49+33=82",
"82/41=2",
"38-2=36"
] | Current State: 36:[49, 33, 41, 38], Operations: []
Exploring Operation: 49+33=82, Resulting Numbers: [41, 38, 82]
Generated Node #2: [41, 38, 82] from Operation: 49+33=82
Current State: 36:[41, 38, 82], Operations: ['49+33=82']
Exploring Operation: 82/41=2, Resulting Numbers: [38, 2]
Generated Node #3: [38, 2] from Operation: 82/41=2
Current State: 36:[38, 2], Operations: ['49+33=82', '82/41=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[49, 33, 41, 38], Operations: []
Exploring Operation: 49-33=16, Resulting Numbers: [41, 38, 16]
Generated Node #0,0: 36:[41, 38, 16] Operation: 49-33=16
Exploring Operation: 49-41=8, Resulting Numbers: [33, 38, 8]
Generated Node #0,1: 36:[33, 38, 8] Operation: 49-41=8
Exploring Operation: 49-38=11, Resulting Numbers: [33, 41, 11]
Generated Node #0,2: 36:[33, 41, 11] Operation: 49-38=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[33, 38, 8], Operations: ['49-41=8']
Exploring Operation: 33+8=41, Resulting Numbers: [38, 41]
Generated Node #0,1,0: 36:[38, 41] Operation: 33+8=41
Exploring Operation: 33-8=25, Resulting Numbers: [38, 25]
Generated Node #0,1,1: 36:[38, 25] Operation: 33-8=25
Exploring Operation: 38-33=5, Resulting Numbers: [8, 5]
Generated Node #0,1,2: 36:[8, 5] Operation: 38-33=5
Moving to Node #0,1,2
Current State: 36:[8, 5], Operations: ['49-41=8', '38-33=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[38, 41], Operations: ['49-41=8', '33+8=41']
Exploring Operation: 38+41=79, Resulting Numbers: [79]
79,36 unequal: No Solution
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 38*41=1558, Resulting Numbers: [1558]
1558,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[38, 25], Operations: ['49-41=8', '33-8=25']
Exploring Operation: 38*25=950, Resulting Numbers: [950]
950,36 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[41, 38, 16], Operations: ['49-33=16']
Exploring Operation: 38-16=22, Resulting Numbers: [41, 22]
Generated Node #0,0,0: 36:[41, 22] Operation: 38-16=22
Exploring Operation: 41-16=25, Resulting Numbers: [38, 25]
Generated Node #0,0,1: 36:[38, 25] Operation: 41-16=25
Exploring Operation: 41-38=3, Resulting Numbers: [16, 3]
Generated Node #0,0,2: 36:[16, 3] Operation: 41-38=3
Moving to Node #0,0,2
Current State: 36:[16, 3], Operations: ['49-33=16', '41-38=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[41, 22], Operations: ['49-33=16', '38-16=22']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[38, 25], Operations: ['49-33=16', '41-16=25']
Exploring Operation: 38*25=950, Resulting Numbers: [950]
950,36 unequal: No Solution
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[33, 41, 11], Operations: ['49-38=11']
Exploring Operation: 33-11=22, Resulting Numbers: [41, 22]
Generated Node #0,2,0: 36:[41, 22] Operation: 33-11=22
Exploring Operation: 41-33=8, Resulting Numbers: [11, 8]
Generated Node #0,2,1: 36:[11, 8] Operation: 41-33=8
Exploring Operation: 33/11=3, Resulting Numbers: [41, 3]
Generated Node #0,2,2: 36:[41, 3] Operation: 33/11=3
Moving to Node #0,2,1
Current State: 36:[11, 8], Operations: ['49-38=11', '41-33=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[41, 3], Operations: ['49-38=11', '33/11=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,36 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[41, 22], Operations: ['49-38=11', '33-11=22']
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,36 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,36 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 |
[
92,
87,
75,
66
] | 14 | [
"92-87=5",
"75-66=9",
"5+9=14"
] | Current State: 14:[92, 87, 75, 66], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [75, 66, 5]
Generated Node #2: [75, 66, 5] from Operation: 92-87=5
Current State: 14:[75, 66, 5], Operations: ['92-87=5']
Exploring Operation: 75-66=9, Resulting Numbers: [5, 9]
Generated Node #3: [5, 9] from Operation: 75-66=9
Current State: 14:[5, 9], Operations: ['92-87=5', '75-66=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[92, 87, 75, 66], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [75, 66, 5]
Generated Node #0,0: 14:[75, 66, 5] Operation: 92-87=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[75, 66, 5], Operations: ['92-87=5']
Exploring Operation: 75-66=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 14:[5, 9] Operation: 75-66=9
Moving to Node #0,0,0
Current State: 14:[5, 9], Operations: ['92-87=5', '75-66=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[92, 87, 75, 66], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [75, 66, 5]
Generated Node #0,0: 14:[75, 66, 5] Operation: 92-87=5
Moving to Node #0,0
Current State: 14:[75, 66, 5], Operations: ['92-87=5']
Exploring Operation: 75-66=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 14:[5, 9] Operation: 75-66=9
Moving to Node #0,0,0
Current State: 14:[5, 9], Operations: ['92-87=5', '75-66=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
41,
7,
19,
69
] | 63 | [
"41+19=60",
"69-60=9",
"7*9=63"
] | Current State: 63:[41, 7, 19, 69], Operations: []
Exploring Operation: 41+19=60, Resulting Numbers: [7, 69, 60]
Generated Node #2: [7, 69, 60] from Operation: 41+19=60
Current State: 63:[7, 69, 60], Operations: ['41+19=60']
Exploring Operation: 69-60=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 69-60=9
Current State: 63:[7, 9], Operations: ['41+19=60', '69-60=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[41, 7, 19, 69], Operations: []
Exploring Operation: 69-41=28, Resulting Numbers: [7, 19, 28]
Generated Node #0,0: 63:[7, 19, 28] Operation: 69-41=28
Exploring Operation: 41+19=60, Resulting Numbers: [7, 69, 60]
Generated Node #0,1: 63:[7, 69, 60] Operation: 41+19=60
Exploring Operation: 41-7=34, Resulting Numbers: [19, 69, 34]
Generated Node #0,2: 63:[19, 69, 34] Operation: 41-7=34
Exploring Operation: 41-19=22, Resulting Numbers: [7, 69, 22]
Generated Node #0,3: 63:[7, 69, 22] Operation: 41-19=22
Moving to Node #0,3
Current State: 63:[7, 69, 22], Operations: ['41-19=22']
Exploring Operation: 22-7=15, Resulting Numbers: [69, 15]
Generated Node #0,3,0: 63:[69, 15] Operation: 22-7=15
Exploring Operation: 7+22=29, Resulting Numbers: [69, 29]
Generated Node #0,3,1: 63:[69, 29] Operation: 7+22=29
Exploring Operation: 7+69=76, Resulting Numbers: [22, 76]
Generated Node #0,3,2: 63:[22, 76] Operation: 7+69=76
Exploring Operation: 69-7=62, Resulting Numbers: [22, 62]
Generated Node #0,3,3: 63:[22, 62] Operation: 69-7=62
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 63:[22, 62], Operations: ['41-19=22', '69-7=62']
Exploring Operation: 22+62=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Exploring Operation: 22*62=1364, Resulting Numbers: [1364]
1364,63 unequal: No Solution
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,63 unequal: No Solution
No 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: 63:[69, 15], Operations: ['41-19=22', '22-7=15']
Exploring Operation: 69+15=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 69*15=1035, Resulting Numbers: [1035]
1035,63 unequal: No Solution
No 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: 63:[69, 29], Operations: ['41-19=22', '7+22=29']
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,63 unequal: No Solution
Exploring Operation: 69*29=2001, Resulting Numbers: [2001]
2001,63 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,63 unequal: No Solution
No 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: 63:[22, 76], Operations: ['41-19=22', '7+69=76']
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 22*76=1672, Resulting Numbers: [1672]
1672,63 unequal: No Solution
Exploring Operation: 22+76=98, Resulting Numbers: [98]
98,63 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: 63:[7, 69, 60], Operations: ['41+19=60']
Exploring Operation: 69-7=62, Resulting Numbers: [60, 62]
Generated Node #0,1,0: 63:[60, 62] Operation: 69-7=62
Exploring Operation: 7+60=67, Resulting Numbers: [69, 67]
Generated Node #0,1,1: 63:[69, 67] Operation: 7+60=67
Exploring Operation: 7+69=76, Resulting Numbers: [60, 76]
Generated Node #0,1,2: 63:[60, 76] Operation: 7+69=76
Exploring Operation: 69-60=9, Resulting Numbers: [7, 9]
Generated Node #0,1,3: 63:[7, 9] Operation: 69-60=9
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 63:[7, 9], Operations: ['41+19=60', '69-60=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[41, 7, 19, 69], Operations: []
Exploring Operation: 41+19=60, Resulting Numbers: [7, 69, 60]
Generated Node #0,1: 63:[7, 69, 60] Operation: 41+19=60
Moving to Node #0,1
Current State: 63:[7, 69, 60], Operations: ['41+19=60']
Exploring Operation: 69-60=9, Resulting Numbers: [7, 9]
Generated Node #0,1,3: 63:[7, 9] Operation: 69-60=9
Moving to Node #0,1,3
Current State: 63:[7, 9], Operations: ['41+19=60', '69-60=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
75,
6,
19,
7
] | 73 | [
"19-7=12",
"12/6=2",
"75-2=73"
] | Current State: 73:[75, 6, 19, 7], Operations: []
Exploring Operation: 19-7=12, Resulting Numbers: [75, 6, 12]
Generated Node #2: [75, 6, 12] from Operation: 19-7=12
Current State: 73:[75, 6, 12], Operations: ['19-7=12']
Exploring Operation: 12/6=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 12/6=2
Current State: 73:[75, 2], Operations: ['19-7=12', '12/6=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[75, 6, 19, 7], Operations: []
Exploring Operation: 6*7=42, Resulting Numbers: [75, 19, 42]
Generated Node #0,0: 73:[75, 19, 42] Operation: 6*7=42
Exploring Operation: 6*19=114, Resulting Numbers: [75, 7, 114]
Generated Node #0,1: 73:[75, 7, 114] Operation: 6*19=114
Moving to Node #0,0
Current State: 73:[75, 19, 42], Operations: ['6*7=42']
Exploring Operation: 75-19=56, Resulting Numbers: [42, 56]
Generated Node #0,0,0: 73:[42, 56] Operation: 75-19=56
Exploring Operation: 19+42=61, Resulting Numbers: [75, 61]
Generated Node #0,0,1: 73:[75, 61] Operation: 19+42=61
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[75, 61], Operations: ['6*7=42', '19+42=61']
Exploring Operation: 75+61=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[42, 56], Operations: ['6*7=42', '75-19=56']
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,73 unequal: No Solution
Exploring Operation: 42+56=98, Resulting Numbers: [98]
98,73 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: 73:[75, 7, 114], Operations: ['6*19=114']
Exploring Operation: 75-7=68, Resulting Numbers: [114, 68]
Generated Node #0,1,0: 73:[114, 68] Operation: 75-7=68
Exploring Operation: 114-7=107, Resulting Numbers: [75, 107]
Generated Node #0,1,1: 73:[75, 107] Operation: 114-7=107
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[75, 107], Operations: ['6*19=114', '114-7=107']
Exploring Operation: 75+107=182, Resulting Numbers: [182]
182,73 unequal: No Solution
Exploring Operation: 107-75=32, Resulting Numbers: [32]
32,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[114, 68], Operations: ['6*19=114', '75-7=68']
Exploring Operation: 114+68=182, Resulting Numbers: [182]
182,73 unequal: No Solution
Exploring Operation: 114-68=46, Resulting Numbers: [46]
46,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
40,
14,
92,
8
] | 83 | [
"40/8=5",
"92-14=78",
"5+78=83"
] | Current State: 83:[40, 14, 92, 8], Operations: []
Exploring Operation: 40/8=5, Resulting Numbers: [14, 92, 5]
Generated Node #2: [14, 92, 5] from Operation: 40/8=5
Current State: 83:[14, 92, 5], Operations: ['40/8=5']
Exploring Operation: 92-14=78, Resulting Numbers: [5, 78]
Generated Node #3: [5, 78] from Operation: 92-14=78
Current State: 83:[5, 78], Operations: ['40/8=5', '92-14=78']
Exploring Operation: 5+78=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[40, 14, 92, 8], Operations: []
Exploring Operation: 14*8=112, Resulting Numbers: [40, 92, 112]
Generated Node #0,0: 83:[40, 92, 112] Operation: 14*8=112
Moving to Node #0,0
Current State: 83:[40, 92, 112], Operations: ['14*8=112']
Exploring Operation: 112-40=72, Resulting Numbers: [92, 72]
Generated Node #0,0,0: 83:[92, 72] Operation: 112-40=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[92, 72], Operations: ['14*8=112', '112-40=72']
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,83 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 |
[
97,
13,
34,
12
] | 25 | [
"97+34=131",
"13*12=156",
"156-131=25"
] | Current State: 25:[97, 13, 34, 12], Operations: []
Exploring Operation: 97+34=131, Resulting Numbers: [13, 12, 131]
Generated Node #2: [13, 12, 131] from Operation: 97+34=131
Current State: 25:[13, 12, 131], Operations: ['97+34=131']
Exploring Operation: 13*12=156, Resulting Numbers: [131, 156]
Generated Node #3: [131, 156] from Operation: 13*12=156
Current State: 25:[131, 156], Operations: ['97+34=131', '13*12=156']
Exploring Operation: 156-131=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[97, 13, 34, 12], Operations: []
Exploring Operation: 97-34=63, Resulting Numbers: [13, 12, 63]
Generated Node #0,0: 25:[13, 12, 63] Operation: 97-34=63
Exploring Operation: 97-13=84, Resulting Numbers: [34, 12, 84]
Generated Node #0,1: 25:[34, 12, 84] Operation: 97-13=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[13, 12, 63], Operations: ['97-34=63']
Exploring Operation: 63-13=50, Resulting Numbers: [12, 50]
Generated Node #0,0,0: 25:[12, 50] Operation: 63-13=50
Exploring Operation: 63-12=51, Resulting Numbers: [13, 51]
Generated Node #0,0,1: 25:[13, 51] Operation: 63-12=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[12, 50], Operations: ['97-34=63', '63-13=50']
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[13, 51], Operations: ['97-34=63', '63-12=51']
Exploring Operation: 13+51=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[34, 12, 84], Operations: ['97-13=84']
Exploring Operation: 84-34=50, Resulting Numbers: [12, 50]
Generated Node #0,1,0: 25:[12, 50] Operation: 84-34=50
Exploring Operation: 84/12=7, Resulting Numbers: [34, 7]
Generated Node #0,1,1: 25:[34, 7] Operation: 84/12=7
Moving to Node #0,1,1
Current State: 25:[34, 7], Operations: ['97-13=84', '84/12=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[12, 50], Operations: ['97-13=84', '84-34=50']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
21,
74,
70,
35
] | 18 | [
"74-21=53",
"70-35=35",
"53-35=18"
] | Current State: 18:[21, 74, 70, 35], Operations: []
Exploring Operation: 74-21=53, Resulting Numbers: [70, 35, 53]
Generated Node #2: [70, 35, 53] from Operation: 74-21=53
Current State: 18:[70, 35, 53], Operations: ['74-21=53']
Exploring Operation: 70-35=35, Resulting Numbers: [53, 35]
Generated Node #3: [53, 35] from Operation: 70-35=35
Current State: 18:[53, 35], Operations: ['74-21=53', '70-35=35']
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[21, 74, 70, 35], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [21, 35, 4]
Generated Node #0,0: 18:[21, 35, 4] Operation: 74-70=4
Exploring Operation: 70/35=2, Resulting Numbers: [21, 74, 2]
Generated Node #0,1: 18:[21, 74, 2] Operation: 70/35=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[21, 35, 4], Operations: ['74-70=4']
Exploring Operation: 35-4=31, Resulting Numbers: [21, 31]
Generated Node #0,0,0: 18:[21, 31] Operation: 35-4=31
Exploring Operation: 35-21=14, Resulting Numbers: [4, 14]
Generated Node #0,0,1: 18:[4, 14] Operation: 35-21=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 18:[4, 14], Operations: ['74-70=4', '35-21=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[21, 74, 70, 35], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [21, 35, 4]
Generated Node #0,0: 18:[21, 35, 4] Operation: 74-70=4
Moving to Node #0,0
Current State: 18:[21, 35, 4], Operations: ['74-70=4']
Exploring Operation: 35-21=14, Resulting Numbers: [4, 14]
Generated Node #0,0,1: 18:[4, 14] Operation: 35-21=14
Moving to Node #0,0,1
Current State: 18:[4, 14], Operations: ['74-70=4', '35-21=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
8,
27,
10,
1
] | 11 | [
"10-1=9",
"27/9=3",
"8+3=11"
] | Current State: 11:[8, 27, 10, 1], Operations: []
Exploring Operation: 10-1=9, Resulting Numbers: [8, 27, 9]
Generated Node #2: [8, 27, 9] from Operation: 10-1=9
Current State: 11:[8, 27, 9], Operations: ['10-1=9']
Exploring Operation: 27/9=3, Resulting Numbers: [8, 3]
Generated Node #3: [8, 3] from Operation: 27/9=3
Current State: 11:[8, 3], Operations: ['10-1=9', '27/9=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[8, 27, 10, 1], Operations: []
Exploring Operation: 8+1=9, Resulting Numbers: [27, 10, 9]
Generated Node #0,0: 11:[27, 10, 9] Operation: 8+1=9
Exploring Operation: 27-8=19, Resulting Numbers: [10, 1, 19]
Generated Node #0,1: 11:[10, 1, 19] Operation: 27-8=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[27, 10, 9], Operations: ['8+1=9']
Exploring Operation: 27-9=18, Resulting Numbers: [10, 18]
Generated Node #0,0,0: 11:[10, 18] Operation: 27-9=18
Exploring Operation: 27-10=17, Resulting Numbers: [9, 17]
Generated Node #0,0,1: 11:[9, 17] Operation: 27-10=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[10, 18], Operations: ['8+1=9', '27-9=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,11 unequal: No Solution
No 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: 11:[9, 17], Operations: ['8+1=9', '27-10=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[10, 1, 19], Operations: ['27-8=19']
Exploring Operation: 10+1=11, Resulting Numbers: [19, 11]
Generated Node #0,1,0: 11:[19, 11] Operation: 10+1=11
Exploring Operation: 19-1=18, Resulting Numbers: [10, 18]
Generated Node #0,1,1: 11:[10, 18] Operation: 19-1=18
Moving to Node #0,1,0
Current State: 11:[19, 11], Operations: ['27-8=19', '10+1=11']
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[10, 18], Operations: ['27-8=19', '19-1=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,11 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 |
[
9,
83,
31,
28
] | 95 | [
"9+83=92",
"31-28=3",
"92+3=95"
] | Current State: 95:[9, 83, 31, 28], Operations: []
Exploring Operation: 9+83=92, Resulting Numbers: [31, 28, 92]
Generated Node #2: [31, 28, 92] from Operation: 9+83=92
Current State: 95:[31, 28, 92], Operations: ['9+83=92']
Exploring Operation: 31-28=3, Resulting Numbers: [92, 3]
Generated Node #3: [92, 3] from Operation: 31-28=3
Current State: 95:[92, 3], Operations: ['9+83=92', '31-28=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[9, 83, 31, 28], Operations: []
Exploring Operation: 9+83=92, Resulting Numbers: [31, 28, 92]
Generated Node #0,0: 95:[31, 28, 92] Operation: 9+83=92
Exploring Operation: 31-28=3, Resulting Numbers: [9, 83, 3]
Generated Node #0,1: 95:[9, 83, 3] Operation: 31-28=3
Moving to Node #0,1
Current State: 95:[9, 83, 3], Operations: ['31-28=3']
Exploring Operation: 9+83=92, Resulting Numbers: [3, 92]
Generated Node #0,1,0: 95:[3, 92] Operation: 9+83=92
Exploring Operation: 9-3=6, Resulting Numbers: [83, 6]
Generated Node #0,1,1: 95:[83, 6] Operation: 9-3=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[3, 92], Operations: ['31-28=3', '9+83=92']
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[9, 83, 31, 28], Operations: []
Exploring Operation: 31-28=3, Resulting Numbers: [9, 83, 3]
Generated Node #0,1: 95:[9, 83, 3] Operation: 31-28=3
Moving to Node #0,1
Current State: 95:[9, 83, 3], Operations: ['31-28=3']
Exploring Operation: 9+83=92, Resulting Numbers: [3, 92]
Generated Node #0,1,0: 95:[3, 92] Operation: 9+83=92
Moving to Node #0,1,0
Current State: 95:[3, 92], Operations: ['31-28=3', '9+83=92']
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
10,
40,
83,
5
] | 84 | [
"40/10=4",
"83+5=88",
"88-4=84"
] | Current State: 84:[10, 40, 83, 5], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [83, 5, 4]
Generated Node #2: [83, 5, 4] from Operation: 40/10=4
Current State: 84:[83, 5, 4], Operations: ['40/10=4']
Exploring Operation: 83+5=88, Resulting Numbers: [4, 88]
Generated Node #3: [4, 88] from Operation: 83+5=88
Current State: 84:[4, 88], Operations: ['40/10=4', '83+5=88']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[10, 40, 83, 5], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [83, 5, 4]
Generated Node #0,0: 84:[83, 5, 4] Operation: 40/10=4
Moving to Node #0,0
Current State: 84:[83, 5, 4], Operations: ['40/10=4']
Exploring Operation: 5*4=20, Resulting Numbers: [83, 20]
Generated Node #0,0,0: 84:[83, 20] Operation: 5*4=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[83, 20], Operations: ['40/10=4', '5*4=20']
Exploring Operation: 83+20=103, Resulting Numbers: [103]
103,84 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 |
[
62,
6,
47,
74
] | 95 | [
"62+6=68",
"74-47=27",
"68+27=95"
] | Current State: 95:[62, 6, 47, 74], Operations: []
Exploring Operation: 62+6=68, Resulting Numbers: [47, 74, 68]
Generated Node #2: [47, 74, 68] from Operation: 62+6=68
Current State: 95:[47, 74, 68], Operations: ['62+6=68']
Exploring Operation: 74-47=27, Resulting Numbers: [68, 27]
Generated Node #3: [68, 27] from Operation: 74-47=27
Current State: 95:[68, 27], Operations: ['62+6=68', '74-47=27']
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[62, 6, 47, 74], Operations: []
Exploring Operation: 74-62=12, Resulting Numbers: [6, 47, 12]
Generated Node #0,0: 95:[6, 47, 12] Operation: 74-62=12
Exploring Operation: 62-47=15, Resulting Numbers: [6, 74, 15]
Generated Node #0,1: 95:[6, 74, 15] Operation: 62-47=15
Exploring Operation: 62+47=109, Resulting Numbers: [6, 74, 109]
Generated Node #0,2: 95:[6, 74, 109] Operation: 62+47=109
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[6, 74, 15], Operations: ['62-47=15']
Exploring Operation: 74+15=89, Resulting Numbers: [6, 89]
Generated Node #0,1,0: 95:[6, 89] Operation: 74+15=89
Exploring Operation: 6+15=21, Resulting Numbers: [74, 21]
Generated Node #0,1,1: 95:[74, 21] Operation: 6+15=21
Exploring Operation: 6+74=80, Resulting Numbers: [15, 80]
Generated Node #0,1,2: 95:[15, 80] Operation: 6+74=80
Moving to Node #0,1,0
Current State: 95:[6, 89], Operations: ['62-47=15', '74+15=89']
Exploring Operation: 6*89=534, Resulting Numbers: [534]
534,95 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 6+89=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[62, 6, 47, 74], Operations: []
Exploring Operation: 62-47=15, Resulting Numbers: [6, 74, 15]
Generated Node #0,1: 95:[6, 74, 15] Operation: 62-47=15
Moving to Node #0,1
Current State: 95:[6, 74, 15], Operations: ['62-47=15']
Exploring Operation: 74+15=89, Resulting Numbers: [6, 89]
Generated Node #0,1,0: 95:[6, 89] Operation: 74+15=89
Moving to Node #0,1,0
Current State: 95:[6, 89], Operations: ['62-47=15', '74+15=89']
Exploring Operation: 6+89=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
70,
74,
26,
11
] | 60 | [
"74-70=4",
"26-11=15",
"4*15=60"
] | Current State: 60:[70, 74, 26, 11], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [26, 11, 4]
Generated Node #2: [26, 11, 4] from Operation: 74-70=4
Current State: 60:[26, 11, 4], Operations: ['74-70=4']
Exploring Operation: 26-11=15, Resulting Numbers: [4, 15]
Generated Node #3: [4, 15] from Operation: 26-11=15
Current State: 60:[4, 15], Operations: ['74-70=4', '26-11=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[70, 74, 26, 11], Operations: []
Exploring Operation: 26-11=15, Resulting Numbers: [70, 74, 15]
Generated Node #0,0: 60:[70, 74, 15] Operation: 26-11=15
Exploring Operation: 74-11=63, Resulting Numbers: [70, 26, 63]
Generated Node #0,1: 60:[70, 26, 63] Operation: 74-11=63
Exploring Operation: 74-70=4, Resulting Numbers: [26, 11, 4]
Generated Node #0,2: 60:[26, 11, 4] Operation: 74-70=4
Exploring Operation: 70-11=59, Resulting Numbers: [74, 26, 59]
Generated Node #0,3: 60:[74, 26, 59] Operation: 70-11=59
Exploring Operation: 74-26=48, Resulting Numbers: [70, 11, 48]
Generated Node #0,4: 60:[70, 11, 48] Operation: 74-26=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[26, 11, 4], Operations: ['74-70=4']
Exploring Operation: 11+4=15, Resulting Numbers: [26, 15]
Generated Node #0,2,0: 60:[26, 15] Operation: 11+4=15
Exploring Operation: 26+4=30, Resulting Numbers: [11, 30]
Generated Node #0,2,1: 60:[11, 30] Operation: 26+4=30
Exploring Operation: 11-4=7, Resulting Numbers: [26, 7]
Generated Node #0,2,2: 60:[26, 7] Operation: 11-4=7
Exploring Operation: 26-4=22, Resulting Numbers: [11, 22]
Generated Node #0,2,3: 60:[11, 22] Operation: 26-4=22
Exploring Operation: 26-11=15, Resulting Numbers: [4, 15]
Generated Node #0,2,4: 60:[4, 15] Operation: 26-11=15
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 60:[4, 15], Operations: ['74-70=4', '26-11=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[70, 74, 26, 11], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [26, 11, 4]
Generated Node #0,2: 60:[26, 11, 4] Operation: 74-70=4
Moving to Node #0,2
Current State: 60:[26, 11, 4], Operations: ['74-70=4']
Exploring Operation: 26-11=15, Resulting Numbers: [4, 15]
Generated Node #0,2,4: 60:[4, 15] Operation: 26-11=15
Moving to Node #0,2,4
Current State: 60:[4, 15], Operations: ['74-70=4', '26-11=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
32,
56,
1,
52
] | 77 | [
"56-32=24",
"1+52=53",
"24+53=77"
] | Current State: 77:[32, 56, 1, 52], Operations: []
Exploring Operation: 56-32=24, Resulting Numbers: [1, 52, 24]
Generated Node #2: [1, 52, 24] from Operation: 56-32=24
Current State: 77:[1, 52, 24], Operations: ['56-32=24']
Exploring Operation: 1+52=53, Resulting Numbers: [24, 53]
Generated Node #3: [24, 53] from Operation: 1+52=53
Current State: 77:[24, 53], Operations: ['56-32=24', '1+52=53']
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[32, 56, 1, 52], Operations: []
Exploring Operation: 56-32=24, Resulting Numbers: [1, 52, 24]
Generated Node #0,0: 77:[1, 52, 24] Operation: 56-32=24
Exploring Operation: 32+56=88, Resulting Numbers: [1, 52, 88]
Generated Node #0,1: 77:[1, 52, 88] Operation: 32+56=88
Exploring Operation: 32+52=84, Resulting Numbers: [56, 1, 84]
Generated Node #0,2: 77:[56, 1, 84] Operation: 32+52=84
Exploring Operation: 52-32=20, Resulting Numbers: [56, 1, 20]
Generated Node #0,3: 77:[56, 1, 20] Operation: 52-32=20
Exploring Operation: 56-52=4, Resulting Numbers: [32, 1, 4]
Generated Node #0,4: 77:[32, 1, 4] Operation: 56-52=4
Moving to Node #0,4
Current State: 77:[32, 1, 4], Operations: ['56-52=4']
Exploring Operation: 1+4=5, Resulting Numbers: [32, 5]
Generated Node #0,4,0: 77:[32, 5] Operation: 1+4=5
Exploring Operation: 32*1=32, Resulting Numbers: [4, 32]
Generated Node #0,4,1: 77:[4, 32] Operation: 32*1=32
Exploring Operation: 32-1=31, Resulting Numbers: [4, 31]
Generated Node #0,4,2: 77:[4, 31] Operation: 32-1=31
Exploring Operation: 32/4=8, Resulting Numbers: [1, 8]
Generated Node #0,4,3: 77:[1, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [1, 28]
Generated Node #0,4,4: 77:[1, 28] Operation: 32-4=28
Moving to Node #0,2
Current State: 77:[56, 1, 84], Operations: ['32+52=84']
Exploring Operation: 84-56=28, Resulting Numbers: [1, 28]
Generated Node #0,2,0: 77:[1, 28] Operation: 84-56=28
Exploring Operation: 56*1=56, Resulting Numbers: [84, 56]
Generated Node #0,2,1: 77:[84, 56] Operation: 56*1=56
Exploring Operation: 84-1=83, Resulting Numbers: [56, 83]
Generated Node #0,2,2: 77:[56, 83] Operation: 84-1=83
Exploring Operation: 56+1=57, Resulting Numbers: [84, 57]
Generated Node #0,2,3: 77:[84, 57] Operation: 56+1=57
Exploring Operation: 56/1=56, Resulting Numbers: [84, 56]
Generated Node #0,2,4: 77:[84, 56] Operation: 56/1=56
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[1, 28], Operations: ['32+52=84', '84-56=28']
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,77 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,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,2,2
Current State: 77:[56, 83], Operations: ['32+52=84', '84-1=83']
Exploring Operation: 56*83=4648, Resulting Numbers: [4648]
4648,77 unequal: No Solution
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,77 unequal: No Solution
Exploring Operation: 56+83=139, Resulting Numbers: [139]
139,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,2,3
Current State: 77:[84, 57], Operations: ['32+52=84', '56+1=57']
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,77 unequal: No Solution
Exploring Operation: 84*57=4788, Resulting Numbers: [4788]
4788,77 unequal: No Solution
Exploring Operation: 84+57=141, Resulting Numbers: [141]
141,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,2,1
Current State: 77:[84, 56], Operations: ['32+52=84', '56*1=56']
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 84+56=140, Resulting Numbers: [140]
140,77 unequal: No Solution
Exploring Operation: 84*56=4704, Resulting Numbers: [4704]
4704,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,2,4
Current State: 77:[84, 56], Operations: ['32+52=84', '56/1=56']
Exploring Operation: 84*56=4704, Resulting Numbers: [4704]
4704,77 unequal: No Solution
Exploring Operation: 84+56=140, Resulting Numbers: [140]
140,77 unequal: No Solution
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,77 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: 77:[56, 1, 20], Operations: ['52-32=20']
Exploring Operation: 56+1=57, Resulting Numbers: [20, 57]
Generated Node #0,3,0: 77:[20, 57] Operation: 56+1=57
Exploring Operation: 20-1=19, Resulting Numbers: [56, 19]
Generated Node #0,3,1: 77:[56, 19] Operation: 20-1=19
Exploring Operation: 56+20=76, Resulting Numbers: [1, 76]
Generated Node #0,3,2: 77:[1, 76] Operation: 56+20=76
Exploring Operation: 56*1=56, Resulting Numbers: [20, 56]
Generated Node #0,3,3: 77:[20, 56] Operation: 56*1=56
Exploring Operation: 56/1=56, Resulting Numbers: [20, 56]
Generated Node #0,3,4: 77:[20, 56] Operation: 56/1=56
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 77:[1, 76], Operations: ['52-32=20', '56+20=76']
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[32, 56, 1, 52], Operations: []
Exploring Operation: 52-32=20, Resulting Numbers: [56, 1, 20]
Generated Node #0,3: 77:[56, 1, 20] Operation: 52-32=20
Moving to Node #0,3
Current State: 77:[56, 1, 20], Operations: ['52-32=20']
Exploring Operation: 56+20=76, Resulting Numbers: [1, 76]
Generated Node #0,3,2: 77:[1, 76] Operation: 56+20=76
Moving to Node #0,3,2
Current State: 77:[1, 76], Operations: ['52-32=20', '56+20=76']
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
86,
84,
5,
80
] | 85 | [
"86+84=170",
"5+80=85",
"170-85=85"
] | Current State: 85:[86, 84, 5, 80], Operations: []
Exploring Operation: 86+84=170, Resulting Numbers: [5, 80, 170]
Generated Node #2: [5, 80, 170] from Operation: 86+84=170
Current State: 85:[5, 80, 170], Operations: ['86+84=170']
Exploring Operation: 5+80=85, Resulting Numbers: [170, 85]
Generated Node #3: [170, 85] from Operation: 5+80=85
Current State: 85:[170, 85], Operations: ['86+84=170', '5+80=85']
Exploring Operation: 170-85=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[86, 84, 5, 80], Operations: []
Exploring Operation: 86-80=6, Resulting Numbers: [84, 5, 6]
Generated Node #0,0: 85:[84, 5, 6] Operation: 86-80=6
Exploring Operation: 84-80=4, Resulting Numbers: [86, 5, 4]
Generated Node #0,1: 85:[86, 5, 4] Operation: 84-80=4
Exploring Operation: 5+80=85, Resulting Numbers: [86, 84, 85]
Generated Node #0,2: 85:[86, 84, 85] Operation: 5+80=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[84, 5, 6], Operations: ['86-80=6']
Exploring Operation: 84+5=89, Resulting Numbers: [6, 89]
Generated Node #0,0,0: 85:[6, 89] Operation: 84+5=89
Exploring Operation: 84+6=90, Resulting Numbers: [5, 90]
Generated Node #0,0,1: 85:[5, 90] Operation: 84+6=90
Exploring Operation: 84/6=14, Resulting Numbers: [5, 14]
Generated Node #0,0,2: 85:[5, 14] Operation: 84/6=14
Moving to Node #0,0,2
Current State: 85:[5, 14], Operations: ['86-80=6', '84/6=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[6, 89], Operations: ['86-80=6', '84+5=89']
Exploring Operation: 6+89=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Exploring Operation: 6*89=534, Resulting Numbers: [534]
534,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[5, 90], Operations: ['86-80=6', '84+6=90']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[86, 84, 5, 80], Operations: []
Exploring Operation: 86-80=6, Resulting Numbers: [84, 5, 6]
Generated Node #0,0: 85:[84, 5, 6] Operation: 86-80=6
Moving to Node #0,0
Current State: 85:[84, 5, 6], Operations: ['86-80=6']
Exploring Operation: 84+6=90, Resulting Numbers: [5, 90]
Generated Node #0,0,1: 85:[5, 90] Operation: 84+6=90
Moving to Node #0,0,1
Current State: 85:[5, 90], Operations: ['86-80=6', '84+6=90']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
15,
5,
55,
48
] | 89 | [
"15/5=3",
"48*3=144",
"144-55=89"
] | Current State: 89:[15, 5, 55, 48], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [55, 48, 3]
Generated Node #2: [55, 48, 3] from Operation: 15/5=3
Current State: 89:[55, 48, 3], Operations: ['15/5=3']
Exploring Operation: 48*3=144, Resulting Numbers: [55, 144]
Generated Node #3: [55, 144] from Operation: 48*3=144
Current State: 89:[55, 144], Operations: ['15/5=3', '48*3=144']
Exploring Operation: 144-55=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[15, 5, 55, 48], Operations: []
Exploring Operation: 15+5=20, Resulting Numbers: [55, 48, 20]
Generated Node #0,0: 89:[55, 48, 20] Operation: 15+5=20
Exploring Operation: 15*5=75, Resulting Numbers: [55, 48, 75]
Generated Node #0,1: 89:[55, 48, 75] Operation: 15*5=75
Moving to Node #0,1
Current State: 89:[55, 48, 75], Operations: ['15*5=75']
Exploring Operation: 55+48=103, Resulting Numbers: [75, 103]
Generated Node #0,1,0: 89:[75, 103] Operation: 55+48=103
Exploring Operation: 48+75=123, Resulting Numbers: [55, 123]
Generated Node #0,1,1: 89:[55, 123] Operation: 48+75=123
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[75, 103], Operations: ['15*5=75', '55+48=103']
Exploring Operation: 103-75=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Exploring Operation: 75+103=178, Resulting Numbers: [178]
178,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[55, 123], Operations: ['15*5=75', '48+75=123']
Exploring Operation: 55+123=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Exploring Operation: 123-55=68, Resulting Numbers: [68]
68,89 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: 89:[55, 48, 20], Operations: ['15+5=20']
Exploring Operation: 48+20=68, Resulting Numbers: [55, 68]
Generated Node #0,0,0: 89:[55, 68] Operation: 48+20=68
Exploring Operation: 55+20=75, Resulting Numbers: [48, 75]
Generated Node #0,0,1: 89:[48, 75] Operation: 55+20=75
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[55, 68], Operations: ['15+5=20', '48+20=68']
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,89 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[48, 75], Operations: ['15+5=20', '55+20=75']
Exploring Operation: 48+75=123, Resulting Numbers: [123]
123,89 unequal: No Solution
Exploring Operation: 75-48=27, Resulting Numbers: [27]
27,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
22,
45,
18,
3
] | 57 | [
"22-18=4",
"3*4=12",
"45+12=57"
] | Current State: 57:[22, 45, 18, 3], Operations: []
Exploring Operation: 22-18=4, Resulting Numbers: [45, 3, 4]
Generated Node #2: [45, 3, 4] from Operation: 22-18=4
Current State: 57:[45, 3, 4], Operations: ['22-18=4']
Exploring Operation: 3*4=12, Resulting Numbers: [45, 12]
Generated Node #3: [45, 12] from Operation: 3*4=12
Current State: 57:[45, 12], Operations: ['22-18=4', '3*4=12']
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[22, 45, 18, 3], Operations: []
Exploring Operation: 45+18=63, Resulting Numbers: [22, 3, 63]
Generated Node #0,0: 57:[22, 3, 63] Operation: 45+18=63
Exploring Operation: 22+45=67, Resulting Numbers: [18, 3, 67]
Generated Node #0,1: 57:[18, 3, 67] Operation: 22+45=67
Exploring Operation: 45-18=27, Resulting Numbers: [22, 3, 27]
Generated Node #0,2: 57:[22, 3, 27] Operation: 45-18=27
Exploring Operation: 45/3=15, Resulting Numbers: [22, 18, 15]
Generated Node #0,3: 57:[22, 18, 15] Operation: 45/3=15
Exploring Operation: 45-22=23, Resulting Numbers: [18, 3, 23]
Generated Node #0,4: 57:[18, 3, 23] Operation: 45-22=23
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[18, 3, 23], Operations: ['45-22=23']
Exploring Operation: 18+3=21, Resulting Numbers: [23, 21]
Generated Node #0,4,0: 57:[23, 21] Operation: 18+3=21
Exploring Operation: 23-3=20, Resulting Numbers: [18, 20]
Generated Node #0,4,1: 57:[18, 20] Operation: 23-3=20
Exploring Operation: 18*3=54, Resulting Numbers: [23, 54]
Generated Node #0,4,2: 57:[23, 54] Operation: 18*3=54
Exploring Operation: 18/3=6, Resulting Numbers: [23, 6]
Generated Node #0,4,3: 57:[23, 6] Operation: 18/3=6
Exploring Operation: 23-18=5, Resulting Numbers: [3, 5]
Generated Node #0,4,4: 57:[3, 5] Operation: 23-18=5
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 57:[18, 20], Operations: ['45-22=23', '23-3=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,57 unequal: No Solution
No 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: 57:[3, 5], Operations: ['45-22=23', '23-18=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,57 unequal: No Solution
No 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: 57:[23, 21], Operations: ['45-22=23', '18+3=21']
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,57 unequal: No Solution
No 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: 57:[23, 54], Operations: ['45-22=23', '18*3=54']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,57 unequal: No Solution
No 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: 57:[23, 6], Operations: ['45-22=23', '18/3=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,57 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,57 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: 57:[22, 18, 15], Operations: ['45/3=15']
Exploring Operation: 18+15=33, Resulting Numbers: [22, 33]
Generated Node #0,3,0: 57:[22, 33] Operation: 18+15=33
Exploring Operation: 22-15=7, Resulting Numbers: [18, 7]
Generated Node #0,3,1: 57:[18, 7] Operation: 22-15=7
Exploring Operation: 22+15=37, Resulting Numbers: [18, 37]
Generated Node #0,3,2: 57:[18, 37] Operation: 22+15=37
Exploring Operation: 18-15=3, Resulting Numbers: [22, 3]
Generated Node #0,3,3: 57:[22, 3] Operation: 18-15=3
Exploring Operation: 22-18=4, Resulting Numbers: [15, 4]
Generated Node #0,3,4: 57:[15, 4] Operation: 22-18=4
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[22, 3], Operations: ['45/3=15', '18-15=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,57 unequal: No Solution
No 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: 57:[18, 7], Operations: ['45/3=15', '22-15=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,57 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 57:[15, 4], Operations: ['45/3=15', '22-18=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,57 unequal: No Solution
No 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: 57:[22, 33], Operations: ['45/3=15', '18+15=33']
Exploring Operation: 22*33=726, Resulting Numbers: [726]
726,57 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,57 unequal: No Solution
No 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: 57:[18, 37], Operations: ['45/3=15', '22+15=37']
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,57 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: 57:[22, 3, 63], Operations: ['45+18=63']
Exploring Operation: 22+3=25, Resulting Numbers: [63, 25]
Generated Node #0,0,0: 57:[63, 25] Operation: 22+3=25
Exploring Operation: 22-3=19, Resulting Numbers: [63, 19]
Generated Node #0,0,1: 57:[63, 19] Operation: 22-3=19
Exploring Operation: 63-3=60, Resulting Numbers: [22, 60]
Generated Node #0,0,2: 57:[22, 60] Operation: 63-3=60
Exploring Operation: 63/3=21, Resulting Numbers: [22, 21]
Generated Node #0,0,3: 57:[22, 21] Operation: 63/3=21
Exploring Operation: 3+63=66, Resulting Numbers: [22, 66]
Generated Node #0,0,4: 57:[22, 66] Operation: 3+63=66
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 57:[22, 21], Operations: ['45+18=63', '63/3=21']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,57 unequal: No Solution
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,57 unequal: No Solution
No 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: 57:[63, 19], Operations: ['45+18=63', '22-3=19']
Exploring Operation: 63+19=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 63*19=1197, Resulting Numbers: [1197]
1197,57 unequal: No Solution
No 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: 57:[22, 60], Operations: ['45+18=63', '63-3=60']
Exploring Operation: 22*60=1320, Resulting Numbers: [1320]
1320,57 unequal: No Solution
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,57 unequal: No Solution
No 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: 57:[63, 25], Operations: ['45+18=63', '22+3=25']
Exploring Operation: 63*25=1575, Resulting Numbers: [1575]
1575,57 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 63+25=88, Resulting Numbers: [88]
88,57 unequal: No Solution
No 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: 57:[22, 66], Operations: ['45+18=63', '3+63=66']
Exploring Operation: 22+66=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 22*66=1452, Resulting Numbers: [1452]
1452,57 unequal: No Solution
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,57 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: 57:[18, 3, 67], Operations: ['22+45=67']
Exploring Operation: 18/3=6, Resulting Numbers: [67, 6]
Generated Node #0,1,0: 57:[67, 6] Operation: 18/3=6
Exploring Operation: 18+3=21, Resulting Numbers: [67, 21]
Generated Node #0,1,1: 57:[67, 21] Operation: 18+3=21
Exploring Operation: 67-18=49, Resulting Numbers: [3, 49]
Generated Node #0,1,2: 57:[3, 49] Operation: 67-18=49
Exploring Operation: 18*3=54, Resulting Numbers: [67, 54]
Generated Node #0,1,3: 57:[67, 54] Operation: 18*3=54
Exploring Operation: 67-3=64, Resulting Numbers: [18, 64]
Generated Node #0,1,4: 57:[18, 64] Operation: 67-3=64
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[3, 49], Operations: ['22+45=67', '67-18=49']
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,57 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,57 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 57:[18, 64], Operations: ['22+45=67', '67-3=64']
Exploring Operation: 18+64=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,57 unequal: No Solution
Exploring Operation: 18*64=1152, Resulting Numbers: [1152]
1152,57 unequal: No Solution
No 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: 57:[67, 21], Operations: ['22+45=67', '18+3=21']
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,57 unequal: No Solution
Exploring Operation: 67*21=1407, Resulting Numbers: [1407]
1407,57 unequal: No Solution
Exploring Operation: 67+21=88, Resulting Numbers: [88]
88,57 unequal: No Solution
No 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: 57:[67, 6], Operations: ['22+45=67', '18/3=6']
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 67*6=402, Resulting Numbers: [402]
402,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[67, 54], Operations: ['22+45=67', '18*3=54']
Exploring Operation: 67-54=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 67*54=3618, Resulting Numbers: [3618]
3618,57 unequal: No Solution
Exploring Operation: 67+54=121, Resulting Numbers: [121]
121,57 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: 57:[22, 3, 27], Operations: ['45-18=27']
Exploring Operation: 27-3=24, Resulting Numbers: [22, 24]
Generated Node #0,2,0: 57:[22, 24] Operation: 27-3=24
Exploring Operation: 22-3=19, Resulting Numbers: [27, 19]
Generated Node #0,2,1: 57:[27, 19] Operation: 22-3=19
Exploring Operation: 22+27=49, Resulting Numbers: [3, 49]
Generated Node #0,2,2: 57:[3, 49] Operation: 22+27=49
Exploring Operation: 27-22=5, Resulting Numbers: [3, 5]
Generated Node #0,2,3: 57:[3, 5] Operation: 27-22=5
Exploring Operation: 27/3=9, Resulting Numbers: [22, 9]
Generated Node #0,2,4: 57:[22, 9] Operation: 27/3=9
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[3, 5], Operations: ['45-18=27', '27-22=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,57 unequal: No Solution
No 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: 57:[22, 24], Operations: ['45-18=27', '27-3=24']
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,57 unequal: No Solution
Exploring Operation: 22*24=528, Resulting Numbers: [528]
528,57 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No 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: 57:[27, 19], Operations: ['45-18=27', '22-3=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,57 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,57 unequal: No Solution
No 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: 57:[3, 49], Operations: ['45-18=27', '22+27=49']
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,57 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 57:[22, 9], Operations: ['45-18=27', '27/3=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,57 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,57 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 |
[
12,
23,
53,
33
] | 50 | [
"23-12=11",
"33/11=3",
"53-3=50"
] | Current State: 50:[12, 23, 53, 33], Operations: []
Exploring Operation: 23-12=11, Resulting Numbers: [53, 33, 11]
Generated Node #2: [53, 33, 11] from Operation: 23-12=11
Current State: 50:[53, 33, 11], Operations: ['23-12=11']
Exploring Operation: 33/11=3, Resulting Numbers: [53, 3]
Generated Node #3: [53, 3] from Operation: 33/11=3
Current State: 50:[53, 3], Operations: ['23-12=11', '33/11=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[12, 23, 53, 33], Operations: []
Exploring Operation: 33-23=10, Resulting Numbers: [12, 53, 10]
Generated Node #0,0: 50:[12, 53, 10] Operation: 33-23=10
Exploring Operation: 33-12=21, Resulting Numbers: [23, 53, 21]
Generated Node #0,1: 50:[23, 53, 21] Operation: 33-12=21
Exploring Operation: 53-33=20, Resulting Numbers: [12, 23, 20]
Generated Node #0,2: 50:[12, 23, 20] Operation: 53-33=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[12, 53, 10], Operations: ['33-23=10']
Exploring Operation: 12+10=22, Resulting Numbers: [53, 22]
Generated Node #0,0,0: 50:[53, 22] Operation: 12+10=22
Exploring Operation: 53-12=41, Resulting Numbers: [10, 41]
Generated Node #0,0,1: 50:[10, 41] Operation: 53-12=41
Exploring Operation: 12-10=2, Resulting Numbers: [53, 2]
Generated Node #0,0,2: 50:[53, 2] Operation: 12-10=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 50:[53, 2], Operations: ['33-23=10', '12-10=2']
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,50 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,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,0,0
Current State: 50:[53, 22], Operations: ['33-23=10', '12+10=22']
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,50 unequal: No Solution
Exploring Operation: 53*22=1166, Resulting Numbers: [1166]
1166,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,0,1
Current State: 50:[10, 41], Operations: ['33-23=10', '53-12=41']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,50 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,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,1
Current State: 50:[23, 53, 21], Operations: ['33-12=21']
Exploring Operation: 23-21=2, Resulting Numbers: [53, 2]
Generated Node #0,1,0: 50:[53, 2] Operation: 23-21=2
Exploring Operation: 23+21=44, Resulting Numbers: [53, 44]
Generated Node #0,1,1: 50:[53, 44] Operation: 23+21=44
Exploring Operation: 53-23=30, Resulting Numbers: [21, 30]
Generated Node #0,1,2: 50:[21, 30] Operation: 53-23=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[53, 2], Operations: ['33-12=21', '23-21=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,50 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,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:[53, 44], Operations: ['33-12=21', '23+21=44']
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,50 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 53*44=2332, Resulting Numbers: [2332]
2332,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,2
Current State: 50:[21, 30], Operations: ['33-12=21', '53-23=30']
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,50 unequal: No Solution
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,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:[12, 23, 20], Operations: ['53-33=20']
Exploring Operation: 23-20=3, Resulting Numbers: [12, 3]
Generated Node #0,2,0: 50:[12, 3] Operation: 23-20=3
Exploring Operation: 20-12=8, Resulting Numbers: [23, 8]
Generated Node #0,2,1: 50:[23, 8] Operation: 20-12=8
Exploring Operation: 23-12=11, Resulting Numbers: [20, 11]
Generated Node #0,2,2: 50:[20, 11] Operation: 23-12=11
Moving to Node #0,2,0
Current State: 50:[12, 3], Operations: ['53-33=20', '23-20=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[23, 8], Operations: ['53-33=20', '20-12=8']
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,50 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[20, 11], Operations: ['53-33=20', '23-12=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,50 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,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 | sum_heuristic |
[
10,
40,
9,
8
] | 32 | [
"10-9=1",
"40-8=32",
"1*32=32"
] | Current State: 32:[10, 40, 9, 8], Operations: []
Exploring Operation: 10-9=1, Resulting Numbers: [40, 8, 1]
Generated Node #2: [40, 8, 1] from Operation: 10-9=1
Current State: 32:[40, 8, 1], Operations: ['10-9=1']
Exploring Operation: 40-8=32, Resulting Numbers: [1, 32]
Generated Node #3: [1, 32] from Operation: 40-8=32
Current State: 32:[1, 32], Operations: ['10-9=1', '40-8=32']
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[10, 40, 9, 8], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [9, 8, 4]
Generated Node #0,0: 32:[9, 8, 4] Operation: 40/10=4
Exploring Operation: 40-10=30, Resulting Numbers: [9, 8, 30]
Generated Node #0,1: 32:[9, 8, 30] Operation: 40-10=30
Moving to Node #0,0
Current State: 32:[9, 8, 4], Operations: ['40/10=4']
Exploring Operation: 9+8=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 32:[4, 17] Operation: 9+8=17
Exploring Operation: 9-8=1, Resulting Numbers: [4, 1]
Generated Node #0,0,1: 32:[4, 1] Operation: 9-8=1
Moving to Node #0,1
Current State: 32:[9, 8, 30], Operations: ['40-10=30']
Exploring Operation: 9+8=17, Resulting Numbers: [30, 17]
Generated Node #0,1,0: 32:[30, 17] Operation: 9+8=17
Exploring Operation: 9-8=1, Resulting Numbers: [30, 1]
Generated Node #0,1,1: 32:[30, 1] Operation: 9-8=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[30, 17], Operations: ['40-10=30', '9+8=17']
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,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,1,1
Current State: 32:[30, 1], Operations: ['40-10=30', '9-8=1']
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,32 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: 32:[4, 17], Operations: ['40/10=4', '9+8=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[4, 1], Operations: ['40/10=4', '9-8=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
11,
50,
95,
7
] | 65 | [
"11*50=550",
"550-95=455",
"455/7=65"
] | Current State: 65:[11, 50, 95, 7], Operations: []
Exploring Operation: 11*50=550, Resulting Numbers: [95, 7, 550]
Generated Node #2: [95, 7, 550] from Operation: 11*50=550
Current State: 65:[95, 7, 550], Operations: ['11*50=550']
Exploring Operation: 550-95=455, Resulting Numbers: [7, 455]
Generated Node #3: [7, 455] from Operation: 550-95=455
Current State: 65:[7, 455], Operations: ['11*50=550', '550-95=455']
Exploring Operation: 455/7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[11, 50, 95, 7], Operations: []
Exploring Operation: 95-50=45, Resulting Numbers: [11, 7, 45]
Generated Node #0,0: 65:[11, 7, 45] Operation: 95-50=45
Exploring Operation: 11+50=61, Resulting Numbers: [95, 7, 61]
Generated Node #0,1: 65:[95, 7, 61] Operation: 11+50=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[11, 7, 45], Operations: ['95-50=45']
Exploring Operation: 7+45=52, Resulting Numbers: [11, 52]
Generated Node #0,0,0: 65:[11, 52] Operation: 7+45=52
Exploring Operation: 11+45=56, Resulting Numbers: [7, 56]
Generated Node #0,0,1: 65:[7, 56] Operation: 11+45=56
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[7, 56], Operations: ['95-50=45', '11+45=56']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[11, 52], Operations: ['95-50=45', '7+45=52']
Exploring Operation: 11+52=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,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:[95, 7, 61], Operations: ['11+50=61']
Exploring Operation: 95-7=88, Resulting Numbers: [61, 88]
Generated Node #0,1,0: 65:[61, 88] Operation: 95-7=88
Exploring Operation: 95-61=34, Resulting Numbers: [7, 34]
Generated Node #0,1,1: 65:[7, 34] Operation: 95-61=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[7, 34], Operations: ['11+50=61', '95-61=34']
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,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,0
Current State: 65:[61, 88], Operations: ['11+50=61', '95-7=88']
Exploring Operation: 61+88=149, Resulting Numbers: [149]
149,65 unequal: No Solution
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,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
No solution found.
| 0 | hs_2 | mult_heuristic |
[
72,
28,
70,
48
] | 18 | [
"72+28=100",
"70+48=118",
"118-100=18"
] | Current State: 18:[72, 28, 70, 48], Operations: []
Exploring Operation: 72+28=100, Resulting Numbers: [70, 48, 100]
Generated Node #2: [70, 48, 100] from Operation: 72+28=100
Current State: 18:[70, 48, 100], Operations: ['72+28=100']
Exploring Operation: 70+48=118, Resulting Numbers: [100, 118]
Generated Node #3: [100, 118] from Operation: 70+48=118
Current State: 18:[100, 118], Operations: ['72+28=100', '70+48=118']
Exploring Operation: 118-100=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[72, 28, 70, 48], Operations: []
Exploring Operation: 70-28=42, Resulting Numbers: [72, 48, 42]
Generated Node #0,0: 18:[72, 48, 42] Operation: 70-28=42
Exploring Operation: 72-70=2, Resulting Numbers: [28, 48, 2]
Generated Node #0,1: 18:[28, 48, 2] Operation: 72-70=2
Exploring Operation: 70-48=22, Resulting Numbers: [72, 28, 22]
Generated Node #0,2: 18:[72, 28, 22] Operation: 70-48=22
Exploring Operation: 72-28=44, Resulting Numbers: [70, 48, 44]
Generated Node #0,3: 18:[70, 48, 44] Operation: 72-28=44
Exploring Operation: 72-48=24, Resulting Numbers: [28, 70, 24]
Generated Node #0,4: 18:[28, 70, 24] Operation: 72-48=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[28, 48, 2], Operations: ['72-70=2']
Exploring Operation: 48-28=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 18:[2, 20] Operation: 48-28=20
Exploring Operation: 48/2=24, Resulting Numbers: [28, 24]
Generated Node #0,1,1: 18:[28, 24] Operation: 48/2=24
Exploring Operation: 28/2=14, Resulting Numbers: [48, 14]
Generated Node #0,1,2: 18:[48, 14] Operation: 28/2=14
Exploring Operation: 48-2=46, Resulting Numbers: [28, 46]
Generated Node #0,1,3: 18:[28, 46] Operation: 48-2=46
Exploring Operation: 28-2=26, Resulting Numbers: [48, 26]
Generated Node #0,1,4: 18:[48, 26] Operation: 28-2=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[2, 20], Operations: ['72-70=2', '48-28=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[72, 28, 70, 48], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [28, 48, 2]
Generated Node #0,1: 18:[28, 48, 2] Operation: 72-70=2
Moving to Node #0,1
Current State: 18:[28, 48, 2], Operations: ['72-70=2']
Exploring Operation: 48-28=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 18:[2, 20] Operation: 48-28=20
Moving to Node #0,1,0
Current State: 18:[2, 20], Operations: ['72-70=2', '48-28=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
30,
23,
7,
17
] | 16 | [
"30-23=7",
"7/7=1",
"17-1=16"
] | Current State: 16:[30, 23, 7, 17], Operations: []
Exploring Operation: 30-23=7, Resulting Numbers: [7, 17, 7]
Generated Node #2: [7, 17, 7] from Operation: 30-23=7
Current State: 16:[7, 17, 7], Operations: ['30-23=7']
Exploring Operation: 7/7=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 7/7=1
Current State: 16:[17, 1], Operations: ['30-23=7', '7/7=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[30, 23, 7, 17], Operations: []
Exploring Operation: 30-23=7, Resulting Numbers: [7, 17, 7]
Generated Node #0,0: 16:[7, 17, 7] Operation: 30-23=7
Exploring Operation: 30-7=23, Resulting Numbers: [23, 17, 23]
Generated Node #0,1: 16:[23, 17, 23] Operation: 30-7=23
Exploring Operation: 30-17=13, Resulting Numbers: [23, 7, 13]
Generated Node #0,2: 16:[23, 7, 13] Operation: 30-17=13
Exploring Operation: 23-7=16, Resulting Numbers: [30, 17, 16]
Generated Node #0,3: 16:[30, 17, 16] Operation: 23-7=16
Exploring Operation: 23-17=6, Resulting Numbers: [30, 7, 6]
Generated Node #0,4: 16:[30, 7, 6] Operation: 23-17=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[7, 17, 7], Operations: ['30-23=7']
Exploring Operation: 7/7=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 16:[17, 1] Operation: 7/7=1
Exploring Operation: 17-7=10, Resulting Numbers: [7, 10]
Generated Node #0,0,1: 16:[7, 10] Operation: 17-7=10
Exploring Operation: 17-7=10, Resulting Numbers: [7, 10]
Generated Node #0,0,2: 16:[7, 10] Operation: 17-7=10
Exploring Operation: 7-7=0, Resulting Numbers: [17, 0]
Generated Node #0,0,3: 16:[17, 0] Operation: 7-7=0
Exploring Operation: 7+7=14, Resulting Numbers: [17, 14]
Generated Node #0,0,4: 16:[17, 14] Operation: 7+7=14
Moving to Node #0,0,0
Current State: 16:[17, 1], Operations: ['30-23=7', '7/7=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[30, 23, 7, 17], Operations: []
Exploring Operation: 30-23=7, Resulting Numbers: [7, 17, 7]
Generated Node #0,0: 16:[7, 17, 7] Operation: 30-23=7
Moving to Node #0,0
Current State: 16:[7, 17, 7], Operations: ['30-23=7']
Exploring Operation: 7/7=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 16:[17, 1] Operation: 7/7=1
Moving to Node #0,0,0
Current State: 16:[17, 1], Operations: ['30-23=7', '7/7=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
4,
6,
21,
20
] | 35 | [
"20-6=14",
"4*14=56",
"56-21=35"
] | Current State: 35:[4, 6, 21, 20], Operations: []
Exploring Operation: 20-6=14, Resulting Numbers: [4, 21, 14]
Generated Node #2: [4, 21, 14] from Operation: 20-6=14
Current State: 35:[4, 21, 14], Operations: ['20-6=14']
Exploring Operation: 4*14=56, Resulting Numbers: [21, 56]
Generated Node #3: [21, 56] from Operation: 4*14=56
Current State: 35:[21, 56], Operations: ['20-6=14', '4*14=56']
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[4, 6, 21, 20], Operations: []
Exploring Operation: 21+20=41, Resulting Numbers: [4, 6, 41]
Generated Node #0,0: 35:[4, 6, 41] Operation: 21+20=41
Exploring Operation: 21-6=15, Resulting Numbers: [4, 20, 15]
Generated Node #0,1: 35:[4, 20, 15] Operation: 21-6=15
Exploring Operation: 21-20=1, Resulting Numbers: [4, 6, 1]
Generated Node #0,2: 35:[4, 6, 1] Operation: 21-20=1
Exploring Operation: 20/4=5, Resulting Numbers: [6, 21, 5]
Generated Node #0,3: 35:[6, 21, 5] Operation: 20/4=5
Exploring Operation: 6+21=27, Resulting Numbers: [4, 20, 27]
Generated Node #0,4: 35:[4, 20, 27] Operation: 6+21=27
Moving to Node #0,2
Current State: 35:[4, 6, 1], Operations: ['21-20=1']
Exploring Operation: 4+1=5, Resulting Numbers: [6, 5]
Generated Node #0,2,0: 35:[6, 5] Operation: 4+1=5
Exploring Operation: 4/1=4, Resulting Numbers: [6, 4]
Generated Node #0,2,1: 35:[6, 4] Operation: 4/1=4
Exploring Operation: 6+1=7, Resulting Numbers: [4, 7]
Generated Node #0,2,2: 35:[4, 7] Operation: 6+1=7
Exploring Operation: 4*1=4, Resulting Numbers: [6, 4]
Generated Node #0,2,3: 35:[6, 4] Operation: 4*1=4
Exploring Operation: 6-1=5, Resulting Numbers: [4, 5]
Generated Node #0,2,4: 35:[4, 5] Operation: 6-1=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[6, 5], Operations: ['21-20=1', '4+1=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[4, 7], Operations: ['21-20=1', '6+1=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 35:[4, 5], Operations: ['21-20=1', '6-1=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[6, 4], Operations: ['21-20=1', '4/1=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[6, 4], Operations: ['21-20=1', '4*1=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,35 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: 35:[4, 6, 41], Operations: ['21+20=41']
Exploring Operation: 4+41=45, Resulting Numbers: [6, 45]
Generated Node #0,0,0: 35:[6, 45] Operation: 4+41=45
Exploring Operation: 6-4=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 35:[41, 2] Operation: 6-4=2
Exploring Operation: 4+6=10, Resulting Numbers: [41, 10]
Generated Node #0,0,2: 35:[41, 10] Operation: 4+6=10
Exploring Operation: 41-6=35, Resulting Numbers: [4, 35]
Generated Node #0,0,3: 35:[4, 35] Operation: 41-6=35
Exploring Operation: 41-4=37, Resulting Numbers: [6, 37]
Generated Node #0,0,4: 35:[6, 37] Operation: 41-4=37
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[4, 35], Operations: ['21+20=41', '41-6=35']
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,35 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 35:[6, 37], Operations: ['21+20=41', '41-4=37']
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,35 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[41, 2], Operations: ['21+20=41', '6-4=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[41, 10], Operations: ['21+20=41', '4+6=10']
Exploring Operation: 41*10=410, Resulting Numbers: [410]
410,35 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[6, 45], Operations: ['21+20=41', '4+41=45']
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,35 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,35 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: 35:[6, 21, 5], Operations: ['20/4=5']
Exploring Operation: 6+5=11, Resulting Numbers: [21, 11]
Generated Node #0,3,0: 35:[21, 11] Operation: 6+5=11
Exploring Operation: 21-5=16, Resulting Numbers: [6, 16]
Generated Node #0,3,1: 35:[6, 16] Operation: 21-5=16
Exploring Operation: 21+5=26, Resulting Numbers: [6, 26]
Generated Node #0,3,2: 35:[6, 26] Operation: 21+5=26
Exploring Operation: 6+21=27, Resulting Numbers: [5, 27]
Generated Node #0,3,3: 35:[5, 27] Operation: 6+21=27
Exploring Operation: 21-6=15, Resulting Numbers: [5, 15]
Generated Node #0,3,4: 35:[5, 15] Operation: 21-6=15
Moving to Node #0,1
Current State: 35:[4, 20, 15], Operations: ['21-6=15']
Exploring Operation: 20+15=35, Resulting Numbers: [4, 35]
Generated Node #0,1,0: 35:[4, 35] Operation: 20+15=35
Exploring Operation: 20-15=5, Resulting Numbers: [4, 5]
Generated Node #0,1,1: 35:[4, 5] Operation: 20-15=5
Exploring Operation: 20-4=16, Resulting Numbers: [15, 16]
Generated Node #0,1,2: 35:[15, 16] Operation: 20-4=16
Exploring Operation: 20/4=5, Resulting Numbers: [15, 5]
Generated Node #0,1,3: 35:[15, 5] Operation: 20/4=5
Exploring Operation: 15-4=11, Resulting Numbers: [20, 11]
Generated Node #0,1,4: 35:[20, 11] Operation: 15-4=11
Moving to Node #0,4
Current State: 35:[4, 20, 27], Operations: ['6+21=27']
Exploring Operation: 20+27=47, Resulting Numbers: [4, 47]
Generated Node #0,4,0: 35:[4, 47] Operation: 20+27=47
Exploring Operation: 20-4=16, Resulting Numbers: [27, 16]
Generated Node #0,4,1: 35:[27, 16] Operation: 20-4=16
Exploring Operation: 27-20=7, Resulting Numbers: [4, 7]
Generated Node #0,4,2: 35:[4, 7] Operation: 27-20=7
Exploring Operation: 20/4=5, Resulting Numbers: [27, 5]
Generated Node #0,4,3: 35:[27, 5] Operation: 20/4=5
Exploring Operation: 4+27=31, Resulting Numbers: [20, 31]
Generated Node #0,4,4: 35:[20, 31] Operation: 4+27=31
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 35:[4, 7], Operations: ['6+21=27', '27-20=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 35:[27, 5], Operations: ['6+21=27', '20/4=5']
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,35 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 35:[4, 47], Operations: ['6+21=27', '20+27=47']
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,35 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 35:[27, 16], Operations: ['6+21=27', '20-4=16']
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,35 unequal: No Solution
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,35 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 35:[20, 31], Operations: ['6+21=27', '4+27=31']
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,35 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,35 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: 35:[4, 35], Operations: ['21-6=15', '20+15=35']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,35 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[4, 5], Operations: ['21-6=15', '20-15=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[5, 27], Operations: ['20/4=5', '6+21=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,35 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Moving to Node #0,3,4
Current State: 35:[5, 15], Operations: ['20/4=5', '21-6=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,35 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[15, 5], Operations: ['21-6=15', '20/4=5']
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,35 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[6, 16], Operations: ['20/4=5', '21-5=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[6, 26], Operations: ['20/4=5', '21+5=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[15, 16], Operations: ['21-6=15', '20-4=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,35 unequal: No Solution
Moving to Node #0,1,4
Current State: 35:[20, 11], Operations: ['21-6=15', '15-4=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[21, 11], Operations: ['20/4=5', '6+5=11']
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,35 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,35 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.