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 |
|---|---|---|---|---|---|---|---|---|
[
63,
6,
61,
46
] | 72 | [
"63-6=57",
"61-46=15",
"57+15=72"
] | Current State: 72:[63, 6, 61, 46], Operations: []
Exploring Operation: 63-6=57, Resulting Numbers: [61, 46, 57]
Generated Node #2: [61, 46, 57] from Operation: 63-6=57
Current State: 72:[61, 46, 57], Operations: ['63-6=57']
Exploring Operation: 61-46=15, Resulting Numbers: [57, 15]
Generated Node #3: [57, 15] from Operation: 61-46=15
Current State: 72:[57, 15], Operations: ['63-6=57', '61-46=15']
Exploring Operation: 57+15=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[63, 6, 61, 46], Operations: []
Exploring Operation: 6+61=67, Resulting Numbers: [63, 46, 67]
Generated Node #0,0: 72:[63, 46, 67] Operation: 6+61=67
Exploring Operation: 63-61=2, Resulting Numbers: [6, 46, 2]
Generated Node #0,1: 72:[6, 46, 2] Operation: 63-61=2
Exploring Operation: 63+6=69, Resulting Numbers: [61, 46, 69]
Generated Node #0,2: 72:[61, 46, 69] Operation: 63+6=69
Exploring Operation: 61-46=15, Resulting Numbers: [63, 6, 15]
Generated Node #0,3: 72:[63, 6, 15] Operation: 61-46=15
Exploring Operation: 63-46=17, Resulting Numbers: [6, 61, 17]
Generated Node #0,4: 72:[6, 61, 17] Operation: 63-46=17
Moving to Node #0,1
Current State: 72:[6, 46, 2], Operations: ['63-61=2']
Exploring Operation: 46/2=23, Resulting Numbers: [6, 23]
Generated Node #0,1,0: 72:[6, 23] Operation: 46/2=23
Exploring Operation: 6+2=8, Resulting Numbers: [46, 8]
Generated Node #0,1,1: 72:[46, 8] Operation: 6+2=8
Exploring Operation: 46-2=44, Resulting Numbers: [6, 44]
Generated Node #0,1,2: 72:[6, 44] Operation: 46-2=44
Exploring Operation: 6*2=12, Resulting Numbers: [46, 12]
Generated Node #0,1,3: 72:[46, 12] Operation: 6*2=12
Exploring Operation: 46-6=40, Resulting Numbers: [2, 40]
Generated Node #0,1,4: 72:[2, 40] Operation: 46-6=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[6, 23], Operations: ['63-61=2', '46/2=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,72 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,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,4
Current State: 72:[2, 40], Operations: ['63-61=2', '46-6=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,72 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,72 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,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,2
Current State: 72:[6, 44], Operations: ['63-61=2', '46-2=44']
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,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,1
Current State: 72:[46, 8], Operations: ['63-61=2', '6+2=8']
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,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,3
Current State: 72:[46, 12], Operations: ['63-61=2', '6*2=12']
Exploring Operation: 46*12=552, Resulting Numbers: [552]
552,72 unequal: No Solution
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,72 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,72 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: 72:[6, 61, 17], Operations: ['63-46=17']
Exploring Operation: 61-17=44, Resulting Numbers: [6, 44]
Generated Node #0,4,0: 72:[6, 44] Operation: 61-17=44
Exploring Operation: 6+61=67, Resulting Numbers: [17, 67]
Generated Node #0,4,1: 72:[17, 67] Operation: 6+61=67
Exploring Operation: 61+17=78, Resulting Numbers: [6, 78]
Generated Node #0,4,2: 72:[6, 78] Operation: 61+17=78
Exploring Operation: 6+17=23, Resulting Numbers: [61, 23]
Generated Node #0,4,3: 72:[61, 23] Operation: 6+17=23
Exploring Operation: 17-6=11, Resulting Numbers: [61, 11]
Generated Node #0,4,4: 72:[61, 11] Operation: 17-6=11
Moving to Node #0,3
Current State: 72:[63, 6, 15], Operations: ['61-46=15']
Exploring Operation: 6+15=21, Resulting Numbers: [63, 21]
Generated Node #0,3,0: 72:[63, 21] Operation: 6+15=21
Exploring Operation: 63-15=48, Resulting Numbers: [6, 48]
Generated Node #0,3,1: 72:[6, 48] Operation: 63-15=48
Exploring Operation: 63+6=69, Resulting Numbers: [15, 69]
Generated Node #0,3,2: 72:[15, 69] Operation: 63+6=69
Exploring Operation: 63+15=78, Resulting Numbers: [6, 78]
Generated Node #0,3,3: 72:[6, 78] Operation: 63+15=78
Exploring Operation: 15-6=9, Resulting Numbers: [63, 9]
Generated Node #0,3,4: 72:[63, 9] Operation: 15-6=9
Moving to Node #0,0
Current State: 72:[63, 46, 67], Operations: ['6+61=67']
Exploring Operation: 67-46=21, Resulting Numbers: [63, 21]
Generated Node #0,0,0: 72:[63, 21] Operation: 67-46=21
Exploring Operation: 63-46=17, Resulting Numbers: [67, 17]
Generated Node #0,0,1: 72:[67, 17] Operation: 63-46=17
Exploring Operation: 67-63=4, Resulting Numbers: [46, 4]
Generated Node #0,0,2: 72:[46, 4] Operation: 67-63=4
Exploring Operation: 63+46=109, Resulting Numbers: [67, 109]
Generated Node #0,0,3: 72:[67, 109] Operation: 63+46=109
Exploring Operation: 46+67=113, Resulting Numbers: [63, 113]
Generated Node #0,0,4: 72:[63, 113] Operation: 46+67=113
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[67, 17], Operations: ['6+61=67', '63-46=17']
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,72 unequal: No Solution
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[46, 4], Operations: ['6+61=67', '67-63=4']
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[63, 21], Operations: ['6+61=67', '67-46=21']
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 63*21=1323, Resulting Numbers: [1323]
1323,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 72:[67, 109], Operations: ['6+61=67', '63+46=109']
Exploring Operation: 109-67=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 67+109=176, Resulting Numbers: [176]
176,72 unequal: No Solution
Exploring Operation: 67*109=7303, Resulting Numbers: [7303]
7303,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 72:[63, 113], Operations: ['6+61=67', '46+67=113']
Exploring Operation: 113-63=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 63*113=7119, Resulting Numbers: [7119]
7119,72 unequal: No Solution
Exploring Operation: 63+113=176, Resulting Numbers: [176]
176,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 72:[61, 46, 69], Operations: ['63+6=69']
Exploring Operation: 69-61=8, Resulting Numbers: [46, 8]
Generated Node #0,2,0: 72:[46, 8] Operation: 69-61=8
Exploring Operation: 61-46=15, Resulting Numbers: [69, 15]
Generated Node #0,2,1: 72:[69, 15] Operation: 61-46=15
Exploring Operation: 69-46=23, Resulting Numbers: [61, 23]
Generated Node #0,2,2: 72:[61, 23] Operation: 69-46=23
Exploring Operation: 46+69=115, Resulting Numbers: [61, 115]
Generated Node #0,2,3: 72:[61, 115] Operation: 46+69=115
Exploring Operation: 61+46=107, Resulting Numbers: [69, 107]
Generated Node #0,2,4: 72:[69, 107] Operation: 61+46=107
Moving to Node #0,4,1
Current State: 72:[17, 67], Operations: ['63-46=17', '6+61=67']
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 17*67=1139, Resulting Numbers: [1139]
1139,72 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[15, 69], Operations: ['61-46=15', '63+6=69']
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 15*69=1035, Resulting Numbers: [1035]
1035,72 unequal: No Solution
Exploring Operation: 15+69=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[6, 78], Operations: ['61-46=15', '63+15=78']
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 6*78=468, Resulting Numbers: [468]
468,72 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[63, 6, 61, 46], Operations: []
Exploring Operation: 61-46=15, Resulting Numbers: [63, 6, 15]
Generated Node #0,3: 72:[63, 6, 15] Operation: 61-46=15
Moving to Node #0,3
Current State: 72:[63, 6, 15], Operations: ['61-46=15']
Exploring Operation: 63+15=78, Resulting Numbers: [6, 78]
Generated Node #0,3,3: 72:[6, 78] Operation: 63+15=78
Moving to Node #0,3,3
Current State: 72:[6, 78], Operations: ['61-46=15', '63+15=78']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.934028 | hs_5 | mult_heuristic |
[
9,
4,
71,
62
] | 27 | [
"9*4=36",
"71-62=9",
"36-9=27"
] | Current State: 27:[9, 4, 71, 62], Operations: []
Exploring Operation: 9*4=36, Resulting Numbers: [71, 62, 36]
Generated Node #2: [71, 62, 36] from Operation: 9*4=36
Current State: 27:[71, 62, 36], Operations: ['9*4=36']
Exploring Operation: 71-62=9, Resulting Numbers: [36, 9]
Generated Node #3: [36, 9] from Operation: 71-62=9
Current State: 27:[36, 9], Operations: ['9*4=36', '71-62=9']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[9, 4, 71, 62], Operations: []
Exploring Operation: 71-62=9, Resulting Numbers: [9, 4, 9]
Generated Node #0,0: 27:[9, 4, 9] Operation: 71-62=9
Moving to Node #0,0
Current State: 27:[9, 4, 9], Operations: ['71-62=9']
Exploring Operation: 9-4=5, Resulting Numbers: [9, 5]
Generated Node #0,0,0: 27:[9, 5] Operation: 9-4=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[9, 5], Operations: ['71-62=9', '9-4=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
14,
80,
33,
25
] | 32 | [
"33-25=8",
"14*8=112",
"112-80=32"
] | Current State: 32:[14, 80, 33, 25], Operations: []
Exploring Operation: 33-25=8, Resulting Numbers: [14, 80, 8]
Generated Node #2: [14, 80, 8] from Operation: 33-25=8
Current State: 32:[14, 80, 8], Operations: ['33-25=8']
Exploring Operation: 14*8=112, Resulting Numbers: [80, 112]
Generated Node #3: [80, 112] from Operation: 14*8=112
Current State: 32:[80, 112], Operations: ['33-25=8', '14*8=112']
Exploring Operation: 112-80=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[14, 80, 33, 25], Operations: []
Exploring Operation: 80-33=47, Resulting Numbers: [14, 25, 47]
Generated Node #0,0: 32:[14, 25, 47] Operation: 80-33=47
Exploring Operation: 80-25=55, Resulting Numbers: [14, 33, 55]
Generated Node #0,1: 32:[14, 33, 55] Operation: 80-25=55
Moving to Node #0,0
Current State: 32:[14, 25, 47], Operations: ['80-33=47']
Exploring Operation: 47-14=33, Resulting Numbers: [25, 33]
Generated Node #0,0,0: 32:[25, 33] Operation: 47-14=33
Exploring Operation: 47-25=22, Resulting Numbers: [14, 22]
Generated Node #0,0,1: 32:[14, 22] Operation: 47-25=22
Moving to Node #0,1
Current State: 32:[14, 33, 55], Operations: ['80-25=55']
Exploring Operation: 55-14=41, Resulting Numbers: [33, 41]
Generated Node #0,1,0: 32:[33, 41] Operation: 55-14=41
Exploring Operation: 55-33=22, Resulting Numbers: [14, 22]
Generated Node #0,1,1: 32:[14, 22] Operation: 55-33=22
Moving to Node #0,0,0
Current State: 32:[25, 33], Operations: ['80-33=47', '47-14=33']
Exploring Operation: 25+33=58, Resulting Numbers: [58]
58,32 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[14, 22], Operations: ['80-25=55', '55-33=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[14, 22], Operations: ['80-33=47', '47-25=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[33, 41], Operations: ['80-25=55', '55-14=41']
Exploring Operation: 33+41=74, Resulting Numbers: [74]
74,32 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,32 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
93,
14,
9,
96
] | 41 | [
"96-93=3",
"9*3=27",
"14+27=41"
] | Current State: 41:[93, 14, 9, 96], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [14, 9, 3]
Generated Node #2: [14, 9, 3] from Operation: 96-93=3
Current State: 41:[14, 9, 3], Operations: ['96-93=3']
Exploring Operation: 9*3=27, Resulting Numbers: [14, 27]
Generated Node #3: [14, 27] from Operation: 9*3=27
Current State: 41:[14, 27], Operations: ['96-93=3', '9*3=27']
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[93, 14, 9, 96], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [14, 9, 3]
Generated Node #0,0: 41:[14, 9, 3] Operation: 96-93=3
Moving to Node #0,0
Current State: 41:[14, 9, 3], Operations: ['96-93=3']
Exploring Operation: 14*3=42, Resulting Numbers: [9, 42]
Generated Node #0,0,0: 41:[9, 42] Operation: 14*3=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[9, 42], Operations: ['96-93=3', '14*3=42']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
55,
83,
59
] | 77 | [
"55-2=53",
"83-59=24",
"53+24=77"
] | Current State: 77:[2, 55, 83, 59], Operations: []
Exploring Operation: 55-2=53, Resulting Numbers: [83, 59, 53]
Generated Node #2: [83, 59, 53] from Operation: 55-2=53
Current State: 77:[83, 59, 53], Operations: ['55-2=53']
Exploring Operation: 83-59=24, Resulting Numbers: [53, 24]
Generated Node #3: [53, 24] from Operation: 83-59=24
Current State: 77:[53, 24], Operations: ['55-2=53', '83-59=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[2, 55, 83, 59], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [2, 83, 4]
Generated Node #0,0: 77:[2, 83, 4] Operation: 59-55=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[2, 83, 4], Operations: ['59-55=4']
Exploring Operation: 83-2=81, Resulting Numbers: [4, 81]
Generated Node #0,0,0: 77:[4, 81] Operation: 83-2=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[4, 81], Operations: ['59-55=4', '83-2=81']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[2, 55, 83, 59], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [2, 83, 4]
Generated Node #0,0: 77:[2, 83, 4] Operation: 59-55=4
Moving to Node #0,0
Current State: 77:[2, 83, 4], Operations: ['59-55=4']
Exploring Operation: 83-2=81, Resulting Numbers: [4, 81]
Generated Node #0,0,0: 77:[4, 81] Operation: 83-2=81
Moving to Node #0,0,0
Current State: 77:[4, 81], Operations: ['59-55=4', '83-2=81']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
49,
3,
10,
60
] | 63 | [
"49-10=39",
"60-39=21",
"3*21=63"
] | Current State: 63:[49, 3, 10, 60], Operations: []
Exploring Operation: 49-10=39, Resulting Numbers: [3, 60, 39]
Generated Node #2: [3, 60, 39] from Operation: 49-10=39
Current State: 63:[3, 60, 39], Operations: ['49-10=39']
Exploring Operation: 60-39=21, Resulting Numbers: [3, 21]
Generated Node #3: [3, 21] from Operation: 60-39=21
Current State: 63:[3, 21], Operations: ['49-10=39', '60-39=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[49, 3, 10, 60], Operations: []
Exploring Operation: 49+10=59, Resulting Numbers: [3, 60, 59]
Generated Node #0,0: 63:[3, 60, 59] Operation: 49+10=59
Exploring Operation: 49+3=52, Resulting Numbers: [10, 60, 52]
Generated Node #0,1: 63:[10, 60, 52] Operation: 49+3=52
Exploring Operation: 60-49=11, Resulting Numbers: [3, 10, 11]
Generated Node #0,2: 63:[3, 10, 11] Operation: 60-49=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[3, 10, 11], Operations: ['60-49=11']
Exploring Operation: 11-3=8, Resulting Numbers: [10, 8]
Generated Node #0,2,0: 63:[10, 8] Operation: 11-3=8
Exploring Operation: 10-3=7, Resulting Numbers: [11, 7]
Generated Node #0,2,1: 63:[11, 7] Operation: 10-3=7
Exploring Operation: 10+11=21, Resulting Numbers: [3, 21]
Generated Node #0,2,2: 63:[3, 21] Operation: 10+11=21
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 63:[3, 21], Operations: ['60-49=11', '10+11=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[49, 3, 10, 60], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [3, 10, 11]
Generated Node #0,2: 63:[3, 10, 11] Operation: 60-49=11
Moving to Node #0,2
Current State: 63:[3, 10, 11], Operations: ['60-49=11']
Exploring Operation: 10+11=21, Resulting Numbers: [3, 21]
Generated Node #0,2,2: 63:[3, 21] Operation: 10+11=21
Moving to Node #0,2,2
Current State: 63:[3, 21], Operations: ['60-49=11', '10+11=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
42,
11,
26,
11
] | 69 | [
"42+26=68",
"11/11=1",
"68+1=69"
] | Current State: 69:[42, 11, 26, 11], Operations: []
Exploring Operation: 42+26=68, Resulting Numbers: [11, 11, 68]
Generated Node #2: [11, 11, 68] from Operation: 42+26=68
Current State: 69:[11, 11, 68], Operations: ['42+26=68']
Exploring Operation: 11/11=1, Resulting Numbers: [68, 1]
Generated Node #3: [68, 1] from Operation: 11/11=1
Current State: 69:[68, 1], Operations: ['42+26=68', '11/11=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[42, 11, 26, 11], Operations: []
Exploring Operation: 42+26=68, Resulting Numbers: [11, 11, 68]
Generated Node #0,0: 69:[11, 11, 68] Operation: 42+26=68
Exploring Operation: 42-11=31, Resulting Numbers: [26, 11, 31]
Generated Node #0,1: 69:[26, 11, 31] Operation: 42-11=31
Moving to Node #0,0
Current State: 69:[11, 11, 68], Operations: ['42+26=68']
Exploring Operation: 11+11=22, Resulting Numbers: [68, 22]
Generated Node #0,0,0: 69:[68, 22] Operation: 11+11=22
Exploring Operation: 11/11=1, Resulting Numbers: [68, 1]
Generated Node #0,0,1: 69:[68, 1] Operation: 11/11=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[68, 22], Operations: ['42+26=68', '11+11=22']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[68, 1], Operations: ['42+26=68', '11/11=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[42, 11, 26, 11], Operations: []
Exploring Operation: 42+26=68, Resulting Numbers: [11, 11, 68]
Generated Node #0,0: 69:[11, 11, 68] Operation: 42+26=68
Moving to Node #0,0
Current State: 69:[11, 11, 68], Operations: ['42+26=68']
Exploring Operation: 11/11=1, Resulting Numbers: [68, 1]
Generated Node #0,0,1: 69:[68, 1] Operation: 11/11=1
Moving to Node #0,0,1
Current State: 69:[68, 1], Operations: ['42+26=68', '11/11=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
21,
96,
2,
57
] | 30 | [
"21+96=117",
"117-57=60",
"60/2=30"
] | Current State: 30:[21, 96, 2, 57], Operations: []
Exploring Operation: 21+96=117, Resulting Numbers: [2, 57, 117]
Generated Node #2: [2, 57, 117] from Operation: 21+96=117
Current State: 30:[2, 57, 117], Operations: ['21+96=117']
Exploring Operation: 117-57=60, Resulting Numbers: [2, 60]
Generated Node #3: [2, 60] from Operation: 117-57=60
Current State: 30:[2, 60], Operations: ['21+96=117', '117-57=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[21, 96, 2, 57], Operations: []
Exploring Operation: 96-57=39, Resulting Numbers: [21, 2, 39]
Generated Node #0,0: 30:[21, 2, 39] Operation: 96-57=39
Moving to Node #0,0
Current State: 30:[21, 2, 39], Operations: ['96-57=39']
Exploring Operation: 39-21=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 30:[2, 18] Operation: 39-21=18
Moving to Node #0,0,0
Current State: 30:[2, 18], Operations: ['96-57=39', '39-21=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,30 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
25,
79,
29,
61
] | 86 | [
"79-25=54",
"61-29=32",
"54+32=86"
] | Current State: 86:[25, 79, 29, 61], Operations: []
Exploring Operation: 79-25=54, Resulting Numbers: [29, 61, 54]
Generated Node #2: [29, 61, 54] from Operation: 79-25=54
Current State: 86:[29, 61, 54], Operations: ['79-25=54']
Exploring Operation: 61-29=32, Resulting Numbers: [54, 32]
Generated Node #3: [54, 32] from Operation: 61-29=32
Current State: 86:[54, 32], Operations: ['79-25=54', '61-29=32']
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[25, 79, 29, 61], Operations: []
Exploring Operation: 61-25=36, Resulting Numbers: [79, 29, 36]
Generated Node #0,0: 86:[79, 29, 36] Operation: 61-25=36
Exploring Operation: 29-25=4, Resulting Numbers: [79, 61, 4]
Generated Node #0,1: 86:[79, 61, 4] Operation: 29-25=4
Exploring Operation: 25+61=86, Resulting Numbers: [79, 29, 86]
Generated Node #0,2: 86:[79, 29, 86] Operation: 25+61=86
Moving to Node #0,2
Current State: 86:[79, 29, 86], Operations: ['25+61=86']
Exploring Operation: 86-29=57, Resulting Numbers: [79, 57]
Generated Node #0,2,0: 86:[79, 57] Operation: 86-29=57
Exploring Operation: 79-29=50, Resulting Numbers: [86, 50]
Generated Node #0,2,1: 86:[86, 50] Operation: 79-29=50
Exploring Operation: 86-79=7, Resulting Numbers: [29, 7]
Generated Node #0,2,2: 86:[29, 7] Operation: 86-79=7
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[86, 50], Operations: ['25+61=86', '79-29=50']
Exploring Operation: 86+50=136, Resulting Numbers: [136]
136,86 unequal: No Solution
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 86*50=4300, Resulting Numbers: [4300]
4300,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[29, 7], Operations: ['25+61=86', '86-79=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,86 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[79, 57], Operations: ['25+61=86', '86-29=57']
Exploring Operation: 79+57=136, Resulting Numbers: [136]
136,86 unequal: No Solution
Exploring Operation: 79*57=4503, Resulting Numbers: [4503]
4503,86 unequal: No Solution
Exploring Operation: 79-57=22, Resulting Numbers: [22]
22,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 86:[79, 61, 4], Operations: ['29-25=4']
Exploring Operation: 61-4=57, Resulting Numbers: [79, 57]
Generated Node #0,1,0: 86:[79, 57] Operation: 61-4=57
Exploring Operation: 79-61=18, Resulting Numbers: [4, 18]
Generated Node #0,1,1: 86:[4, 18] Operation: 79-61=18
Exploring Operation: 79+4=83, Resulting Numbers: [61, 83]
Generated Node #0,1,2: 86:[61, 83] Operation: 79+4=83
Moving to Node #0,0
Current State: 86:[79, 29, 36], Operations: ['61-25=36']
Exploring Operation: 79-36=43, Resulting Numbers: [29, 43]
Generated Node #0,0,0: 86:[29, 43] Operation: 79-36=43
Exploring Operation: 36-29=7, Resulting Numbers: [79, 7]
Generated Node #0,0,1: 86:[79, 7] Operation: 36-29=7
Exploring Operation: 79-29=50, Resulting Numbers: [36, 50]
Generated Node #0,0,2: 86:[36, 50] Operation: 79-29=50
Moving to Node #0,0,1
Current State: 86:[79, 7], Operations: ['61-25=36', '36-29=7']
Exploring Operation: 79*7=553, Resulting Numbers: [553]
553,86 unequal: No Solution
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[25, 79, 29, 61], Operations: []
Exploring Operation: 61-25=36, Resulting Numbers: [79, 29, 36]
Generated Node #0,0: 86:[79, 29, 36] Operation: 61-25=36
Moving to Node #0,0
Current State: 86:[79, 29, 36], Operations: ['61-25=36']
Exploring Operation: 36-29=7, Resulting Numbers: [79, 7]
Generated Node #0,0,1: 86:[79, 7] Operation: 36-29=7
Moving to Node #0,0,1
Current State: 86:[79, 7], Operations: ['61-25=36', '36-29=7']
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
1,
52,
66,
49
] | 36 | [
"1+52=53",
"66-49=17",
"53-17=36"
] | Current State: 36:[1, 52, 66, 49], Operations: []
Exploring Operation: 1+52=53, Resulting Numbers: [66, 49, 53]
Generated Node #2: [66, 49, 53] from Operation: 1+52=53
Current State: 36:[66, 49, 53], Operations: ['1+52=53']
Exploring Operation: 66-49=17, Resulting Numbers: [53, 17]
Generated Node #3: [53, 17] from Operation: 66-49=17
Current State: 36:[53, 17], Operations: ['1+52=53', '66-49=17']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[1, 52, 66, 49], Operations: []
Exploring Operation: 66-52=14, Resulting Numbers: [1, 49, 14]
Generated Node #0,0: 36:[1, 49, 14] Operation: 66-52=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[1, 49, 14], Operations: ['66-52=14']
Exploring Operation: 49-14=35, Resulting Numbers: [1, 35]
Generated Node #0,0,0: 36:[1, 35] Operation: 49-14=35
Moving to Node #0,0,0
Current State: 36:[1, 35], Operations: ['66-52=14', '49-14=35']
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[1, 52, 66, 49], Operations: []
Exploring Operation: 66-52=14, Resulting Numbers: [1, 49, 14]
Generated Node #0,0: 36:[1, 49, 14] Operation: 66-52=14
Moving to Node #0,0
Current State: 36:[1, 49, 14], Operations: ['66-52=14']
Exploring Operation: 49-14=35, Resulting Numbers: [1, 35]
Generated Node #0,0,0: 36:[1, 35] Operation: 49-14=35
Moving to Node #0,0,0
Current State: 36:[1, 35], Operations: ['66-52=14', '49-14=35']
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
66,
83,
41,
68
] | 21 | [
"68-66=2",
"83-41=42",
"42/2=21"
] | Current State: 21:[66, 83, 41, 68], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [83, 41, 2]
Generated Node #2: [83, 41, 2] from Operation: 68-66=2
Current State: 21:[83, 41, 2], Operations: ['68-66=2']
Exploring Operation: 83-41=42, Resulting Numbers: [2, 42]
Generated Node #3: [2, 42] from Operation: 83-41=42
Current State: 21:[2, 42], Operations: ['68-66=2', '83-41=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[66, 83, 41, 68], Operations: []
Exploring Operation: 83-66=17, Resulting Numbers: [41, 68, 17]
Generated Node #0,0: 21:[41, 68, 17] Operation: 83-66=17
Exploring Operation: 83-68=15, Resulting Numbers: [66, 41, 15]
Generated Node #0,1: 21:[66, 41, 15] Operation: 83-68=15
Exploring Operation: 68-66=2, Resulting Numbers: [83, 41, 2]
Generated Node #0,2: 21:[83, 41, 2] Operation: 68-66=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[41, 68, 17], Operations: ['83-66=17']
Exploring Operation: 68/17=4, Resulting Numbers: [41, 4]
Generated Node #0,0,0: 21:[41, 4] Operation: 68/17=4
Exploring Operation: 41-17=24, Resulting Numbers: [68, 24]
Generated Node #0,0,1: 21:[68, 24] Operation: 41-17=24
Exploring Operation: 68-41=27, Resulting Numbers: [17, 27]
Generated Node #0,0,2: 21:[17, 27] Operation: 68-41=27
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[17, 27], Operations: ['83-66=17', '68-41=27']
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,21 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[41, 4], Operations: ['83-66=17', '68/17=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[68, 24], Operations: ['83-66=17', '41-17=24']
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,21 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,21 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: 21:[66, 41, 15], Operations: ['83-68=15']
Exploring Operation: 66-15=51, Resulting Numbers: [41, 51]
Generated Node #0,1,0: 21:[41, 51] Operation: 66-15=51
Exploring Operation: 66-41=25, Resulting Numbers: [15, 25]
Generated Node #0,1,1: 21:[15, 25] Operation: 66-41=25
Exploring Operation: 41-15=26, Resulting Numbers: [66, 26]
Generated Node #0,1,2: 21:[66, 26] Operation: 41-15=26
Moving to Node #0,1,1
Current State: 21:[15, 25], Operations: ['83-68=15', '66-41=25']
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,21 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[41, 51], Operations: ['83-68=15', '66-15=51']
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 41+51=92, Resulting Numbers: [92]
92,21 unequal: No Solution
Exploring Operation: 41*51=2091, Resulting Numbers: [2091]
2091,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[66, 26], Operations: ['83-68=15', '41-15=26']
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 66+26=92, Resulting Numbers: [92]
92,21 unequal: No Solution
Exploring Operation: 66*26=1716, Resulting Numbers: [1716]
1716,21 unequal: No Solution
No 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: 21:[83, 41, 2], Operations: ['68-66=2']
Exploring Operation: 83-41=42, Resulting Numbers: [2, 42]
Generated Node #0,2,0: 21:[2, 42] Operation: 83-41=42
Exploring Operation: 83-2=81, Resulting Numbers: [41, 81]
Generated Node #0,2,1: 21:[41, 81] Operation: 83-2=81
Exploring Operation: 41-2=39, Resulting Numbers: [83, 39]
Generated Node #0,2,2: 21:[83, 39] Operation: 41-2=39
Moving to Node #0,2,0
Current State: 21:[2, 42], Operations: ['68-66=2', '83-41=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[66, 83, 41, 68], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [83, 41, 2]
Generated Node #0,2: 21:[83, 41, 2] Operation: 68-66=2
Moving to Node #0,2
Current State: 21:[83, 41, 2], Operations: ['68-66=2']
Exploring Operation: 83-41=42, Resulting Numbers: [2, 42]
Generated Node #0,2,0: 21:[2, 42] Operation: 83-41=42
Moving to Node #0,2,0
Current State: 21:[2, 42], Operations: ['68-66=2', '83-41=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_3 | mult_heuristic |
[
35,
89,
21,
11
] | 45 | [
"89+21=110",
"110/11=10",
"35+10=45"
] | Current State: 45:[35, 89, 21, 11], Operations: []
Exploring Operation: 89+21=110, Resulting Numbers: [35, 11, 110]
Generated Node #2: [35, 11, 110] from Operation: 89+21=110
Current State: 45:[35, 11, 110], Operations: ['89+21=110']
Exploring Operation: 110/11=10, Resulting Numbers: [35, 10]
Generated Node #3: [35, 10] from Operation: 110/11=10
Current State: 45:[35, 10], Operations: ['89+21=110', '110/11=10']
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[35, 89, 21, 11], Operations: []
Exploring Operation: 89-35=54, Resulting Numbers: [21, 11, 54]
Generated Node #0,0: 45:[21, 11, 54] Operation: 89-35=54
Exploring Operation: 35-21=14, Resulting Numbers: [89, 11, 14]
Generated Node #0,1: 45:[89, 11, 14] Operation: 35-21=14
Exploring Operation: 89-11=78, Resulting Numbers: [35, 21, 78]
Generated Node #0,2: 45:[35, 21, 78] Operation: 89-11=78
Exploring Operation: 89-21=68, Resulting Numbers: [35, 11, 68]
Generated Node #0,3: 45:[35, 11, 68] Operation: 89-21=68
Moving to Node #0,0
Current State: 45:[21, 11, 54], Operations: ['89-35=54']
Exploring Operation: 54-11=43, Resulting Numbers: [21, 43]
Generated Node #0,0,0: 45:[21, 43] Operation: 54-11=43
Exploring Operation: 21-11=10, Resulting Numbers: [54, 10]
Generated Node #0,0,1: 45:[54, 10] Operation: 21-11=10
Exploring Operation: 54-21=33, Resulting Numbers: [11, 33]
Generated Node #0,0,2: 45:[11, 33] Operation: 54-21=33
Exploring Operation: 21+11=32, Resulting Numbers: [54, 32]
Generated Node #0,0,3: 45:[54, 32] Operation: 21+11=32
Moving to Node #0,3
Current State: 45:[35, 11, 68], Operations: ['89-21=68']
Exploring Operation: 35+11=46, Resulting Numbers: [68, 46]
Generated Node #0,3,0: 45:[68, 46] Operation: 35+11=46
Exploring Operation: 35-11=24, Resulting Numbers: [68, 24]
Generated Node #0,3,1: 45:[68, 24] Operation: 35-11=24
Exploring Operation: 68-35=33, Resulting Numbers: [11, 33]
Generated Node #0,3,2: 45:[11, 33] Operation: 68-35=33
Exploring Operation: 68-11=57, Resulting Numbers: [35, 57]
Generated Node #0,3,3: 45:[35, 57] Operation: 68-11=57
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 45:[11, 33], Operations: ['89-21=68', '68-35=33']
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,45 unequal: No Solution
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 45:[35, 57], Operations: ['89-21=68', '68-11=57']
Exploring Operation: 35*57=1995, Resulting Numbers: [1995]
1995,45 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Exploring Operation: 35+57=92, Resulting Numbers: [92]
92,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[68, 46], Operations: ['89-21=68', '35+11=46']
Exploring Operation: 68*46=3128, Resulting Numbers: [3128]
3128,45 unequal: No Solution
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Exploring Operation: 68+46=114, Resulting Numbers: [114]
114,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[68, 24], Operations: ['89-21=68', '35-11=24']
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,45 unequal: No Solution
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,45 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: 45:[89, 11, 14], Operations: ['35-21=14']
Exploring Operation: 11+14=25, Resulting Numbers: [89, 25]
Generated Node #0,1,0: 45:[89, 25] Operation: 11+14=25
Exploring Operation: 89-11=78, Resulting Numbers: [14, 78]
Generated Node #0,1,1: 45:[14, 78] Operation: 89-11=78
Exploring Operation: 14-11=3, Resulting Numbers: [89, 3]
Generated Node #0,1,2: 45:[89, 3] Operation: 14-11=3
Exploring Operation: 89-14=75, Resulting Numbers: [11, 75]
Generated Node #0,1,3: 45:[11, 75] Operation: 89-14=75
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 45:[11, 75], Operations: ['35-21=14', '89-14=75']
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 11+75=86, Resulting Numbers: [86]
86,45 unequal: No Solution
Exploring Operation: 11*75=825, Resulting Numbers: [825]
825,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[14, 78], Operations: ['35-21=14', '89-11=78']
Exploring Operation: 14+78=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 14*78=1092, Resulting Numbers: [1092]
1092,45 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[89, 3], Operations: ['35-21=14', '14-11=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,45 unequal: No Solution
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 89*3=267, Resulting Numbers: [267]
267,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[89, 25], Operations: ['35-21=14', '11+14=25']
Exploring Operation: 89+25=114, Resulting Numbers: [114]
114,45 unequal: No Solution
Exploring Operation: 89*25=2225, Resulting Numbers: [2225]
2225,45 unequal: No Solution
Exploring Operation: 89-25=64, Resulting Numbers: [64]
64,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 45:[35, 21, 78], Operations: ['89-11=78']
Exploring Operation: 78-21=57, Resulting Numbers: [35, 57]
Generated Node #0,2,0: 45:[35, 57] Operation: 78-21=57
Exploring Operation: 78-35=43, Resulting Numbers: [21, 43]
Generated Node #0,2,1: 45:[21, 43] Operation: 78-35=43
Exploring Operation: 35-21=14, Resulting Numbers: [78, 14]
Generated Node #0,2,2: 45:[78, 14] Operation: 35-21=14
Exploring Operation: 35+21=56, Resulting Numbers: [78, 56]
Generated Node #0,2,3: 45:[78, 56] Operation: 35+21=56
Moving to Node #0,0,0
Current State: 45:[21, 43], Operations: ['89-35=54', '54-11=43']
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[21, 43], Operations: ['89-11=78', '78-35=43']
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[54, 10], Operations: ['89-35=54', '21-11=10']
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,45 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[11, 33], Operations: ['89-35=54', '54-21=33']
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,45 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[35, 57], Operations: ['89-11=78', '78-21=57']
Exploring Operation: 35+57=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 35*57=1995, Resulting Numbers: [1995]
1995,45 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[54, 32], Operations: ['89-35=54', '21+11=32']
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,45 unequal: No Solution
Exploring Operation: 54*32=1728, Resulting Numbers: [1728]
1728,45 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[78, 14], Operations: ['89-11=78', '35-21=14']
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,45 unequal: No Solution
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[78, 56], Operations: ['89-11=78', '35+21=56']
Exploring Operation: 78*56=4368, Resulting Numbers: [4368]
4368,45 unequal: No Solution
Exploring Operation: 78-56=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Exploring Operation: 78+56=134, Resulting Numbers: [134]
134,45 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
9,
15,
81,
73
] | 49 | [
"81/9=9",
"73-15=58",
"58-9=49"
] | Current State: 49:[9, 15, 81, 73], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [15, 73, 9]
Generated Node #2: [15, 73, 9] from Operation: 81/9=9
Current State: 49:[15, 73, 9], Operations: ['81/9=9']
Exploring Operation: 73-15=58, Resulting Numbers: [9, 58]
Generated Node #3: [9, 58] from Operation: 73-15=58
Current State: 49:[9, 58], Operations: ['81/9=9', '73-15=58']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[9, 15, 81, 73], Operations: []
Exploring Operation: 81-73=8, Resulting Numbers: [9, 15, 8]
Generated Node #0,0: 49:[9, 15, 8] Operation: 81-73=8
Exploring Operation: 81-15=66, Resulting Numbers: [9, 73, 66]
Generated Node #0,1: 49:[9, 73, 66] Operation: 81-15=66
Exploring Operation: 81/9=9, Resulting Numbers: [15, 73, 9]
Generated Node #0,2: 49:[15, 73, 9] Operation: 81/9=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[9, 15, 8], Operations: ['81-73=8']
Exploring Operation: 9-8=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 49:[15, 1] Operation: 9-8=1
Exploring Operation: 15-8=7, Resulting Numbers: [9, 7]
Generated Node #0,0,1: 49:[9, 7] Operation: 15-8=7
Exploring Operation: 15-9=6, Resulting Numbers: [8, 6]
Generated Node #0,0,2: 49:[8, 6] Operation: 15-9=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[9, 7], Operations: ['81-73=8', '15-8=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[8, 6], Operations: ['81-73=8', '15-9=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[15, 1], Operations: ['81-73=8', '9-8=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[15, 73, 9], Operations: ['81/9=9']
Exploring Operation: 73-15=58, Resulting Numbers: [9, 58]
Generated Node #0,2,0: 49:[9, 58] Operation: 73-15=58
Exploring Operation: 73-9=64, Resulting Numbers: [15, 64]
Generated Node #0,2,1: 49:[15, 64] Operation: 73-9=64
Exploring Operation: 15-9=6, Resulting Numbers: [73, 6]
Generated Node #0,2,2: 49:[73, 6] Operation: 15-9=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[9, 58], Operations: ['81/9=9', '73-15=58']
Exploring Operation: 9*58=522, Resulting Numbers: [522]
522,49 unequal: No Solution
Exploring Operation: 9+58=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[9, 15, 81, 73], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [15, 73, 9]
Generated Node #0,2: 49:[15, 73, 9] Operation: 81/9=9
Moving to Node #0,2
Current State: 49:[15, 73, 9], Operations: ['81/9=9']
Exploring Operation: 73-15=58, Resulting Numbers: [9, 58]
Generated Node #0,2,0: 49:[9, 58] Operation: 73-15=58
Moving to Node #0,2,0
Current State: 49:[9, 58], Operations: ['81/9=9', '73-15=58']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
21,
75,
32,
56
] | 34 | [
"75-21=54",
"32+56=88",
"88-54=34"
] | Current State: 34:[21, 75, 32, 56], Operations: []
Exploring Operation: 75-21=54, Resulting Numbers: [32, 56, 54]
Generated Node #2: [32, 56, 54] from Operation: 75-21=54
Current State: 34:[32, 56, 54], Operations: ['75-21=54']
Exploring Operation: 32+56=88, Resulting Numbers: [54, 88]
Generated Node #3: [54, 88] from Operation: 32+56=88
Current State: 34:[54, 88], Operations: ['75-21=54', '32+56=88']
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[21, 75, 32, 56], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [21, 32, 19]
Generated Node #0,0: 34:[21, 32, 19] Operation: 75-56=19
Exploring Operation: 75-32=43, Resulting Numbers: [21, 56, 43]
Generated Node #0,1: 34:[21, 56, 43] Operation: 75-32=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[21, 32, 19], Operations: ['75-56=19']
Exploring Operation: 32-21=11, Resulting Numbers: [19, 11]
Generated Node #0,0,0: 34:[19, 11] Operation: 32-21=11
Exploring Operation: 21-19=2, Resulting Numbers: [32, 2]
Generated Node #0,0,1: 34:[32, 2] Operation: 21-19=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[32, 2], Operations: ['75-56=19', '21-19=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[21, 75, 32, 56], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [21, 32, 19]
Generated Node #0,0: 34:[21, 32, 19] Operation: 75-56=19
Moving to Node #0,0
Current State: 34:[21, 32, 19], Operations: ['75-56=19']
Exploring Operation: 21-19=2, Resulting Numbers: [32, 2]
Generated Node #0,0,1: 34:[32, 2] Operation: 21-19=2
Moving to Node #0,0,1
Current State: 34:[32, 2], Operations: ['75-56=19', '21-19=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
4,
40,
95,
48
] | 37 | [
"40/4=10",
"95-48=47",
"47-10=37"
] | Current State: 37:[4, 40, 95, 48], Operations: []
Exploring Operation: 40/4=10, Resulting Numbers: [95, 48, 10]
Generated Node #2: [95, 48, 10] from Operation: 40/4=10
Current State: 37:[95, 48, 10], Operations: ['40/4=10']
Exploring Operation: 95-48=47, Resulting Numbers: [10, 47]
Generated Node #3: [10, 47] from Operation: 95-48=47
Current State: 37:[10, 47], Operations: ['40/4=10', '95-48=47']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[4, 40, 95, 48], Operations: []
Exploring Operation: 95-48=47, Resulting Numbers: [4, 40, 47]
Generated Node #0,0: 37:[4, 40, 47] Operation: 95-48=47
Exploring Operation: 95-4=91, Resulting Numbers: [40, 48, 91]
Generated Node #0,1: 37:[40, 48, 91] Operation: 95-4=91
Exploring Operation: 95-40=55, Resulting Numbers: [4, 48, 55]
Generated Node #0,2: 37:[4, 48, 55] Operation: 95-40=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[4, 40, 47], Operations: ['95-48=47']
Exploring Operation: 47-4=43, Resulting Numbers: [40, 43]
Generated Node #0,0,0: 37:[40, 43] Operation: 47-4=43
Exploring Operation: 4+40=44, Resulting Numbers: [47, 44]
Generated Node #0,0,1: 37:[47, 44] Operation: 4+40=44
Exploring Operation: 40-4=36, Resulting Numbers: [47, 36]
Generated Node #0,0,2: 37:[47, 36] Operation: 40-4=36
Moving to Node #0,0,0
Current State: 37:[40, 43], Operations: ['95-48=47', '47-4=43']
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,37 unequal: No Solution
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,37 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[47, 36], Operations: ['95-48=47', '40-4=36']
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,37 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 47*36=1692, Resulting Numbers: [1692]
1692,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[47, 44], Operations: ['95-48=47', '4+40=44']
Exploring Operation: 47+44=91, Resulting Numbers: [91]
91,37 unequal: No Solution
Exploring Operation: 47*44=2068, Resulting Numbers: [2068]
2068,37 unequal: No Solution
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,37 unequal: No Solution
No 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: 37:[4, 48, 55], Operations: ['95-40=55']
Exploring Operation: 4+48=52, Resulting Numbers: [55, 52]
Generated Node #0,2,0: 37:[55, 52] Operation: 4+48=52
Exploring Operation: 55-4=51, Resulting Numbers: [48, 51]
Generated Node #0,2,1: 37:[48, 51] Operation: 55-4=51
Exploring Operation: 48-4=44, Resulting Numbers: [55, 44]
Generated Node #0,2,2: 37:[55, 44] Operation: 48-4=44
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[48, 51], Operations: ['95-40=55', '55-4=51']
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 48+51=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 48*51=2448, Resulting Numbers: [2448]
2448,37 unequal: No Solution
No 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: 37:[55, 44], Operations: ['95-40=55', '48-4=44']
Exploring Operation: 55+44=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 55*44=2420, Resulting Numbers: [2420]
2420,37 unequal: No Solution
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,37 unequal: No Solution
No 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: 37:[55, 52], Operations: ['95-40=55', '4+48=52']
Exploring Operation: 55*52=2860, Resulting Numbers: [2860]
2860,37 unequal: No Solution
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,37 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[40, 48, 91], Operations: ['95-4=91']
Exploring Operation: 48-40=8, Resulting Numbers: [91, 8]
Generated Node #0,1,0: 37:[91, 8] Operation: 48-40=8
Exploring Operation: 91-40=51, Resulting Numbers: [48, 51]
Generated Node #0,1,1: 37:[48, 51] Operation: 91-40=51
Exploring Operation: 91-48=43, Resulting Numbers: [40, 43]
Generated Node #0,1,2: 37:[40, 43] Operation: 91-48=43
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[40, 43], Operations: ['95-4=91', '91-48=43']
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,37 unequal: No Solution
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,37 unequal: No Solution
No 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: 37:[48, 51], Operations: ['95-4=91', '91-40=51']
Exploring Operation: 48*51=2448, Resulting Numbers: [2448]
2448,37 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 48+51=99, Resulting Numbers: [99]
99,37 unequal: No Solution
No 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: 37:[91, 8], Operations: ['95-4=91', '48-40=8']
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,37 unequal: No Solution
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,37 unequal: No Solution
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
81,
14,
65,
10
] | 40 | [
"81+14=95",
"65-10=55",
"95-55=40"
] | Current State: 40:[81, 14, 65, 10], Operations: []
Exploring Operation: 81+14=95, Resulting Numbers: [65, 10, 95]
Generated Node #2: [65, 10, 95] from Operation: 81+14=95
Current State: 40:[65, 10, 95], Operations: ['81+14=95']
Exploring Operation: 65-10=55, Resulting Numbers: [95, 55]
Generated Node #3: [95, 55] from Operation: 65-10=55
Current State: 40:[95, 55], Operations: ['81+14=95', '65-10=55']
Exploring Operation: 95-55=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[81, 14, 65, 10], Operations: []
Exploring Operation: 81-14=67, Resulting Numbers: [65, 10, 67]
Generated Node #0,0: 40:[65, 10, 67] Operation: 81-14=67
Exploring Operation: 81-10=71, Resulting Numbers: [14, 65, 71]
Generated Node #0,1: 40:[14, 65, 71] Operation: 81-10=71
Exploring Operation: 81-65=16, Resulting Numbers: [14, 10, 16]
Generated Node #0,2: 40:[14, 10, 16] Operation: 81-65=16
Exploring Operation: 65-14=51, Resulting Numbers: [81, 10, 51]
Generated Node #0,3: 40:[81, 10, 51] Operation: 65-14=51
Moving to Node #0,2
Current State: 40:[14, 10, 16], Operations: ['81-65=16']
Exploring Operation: 14+10=24, Resulting Numbers: [16, 24]
Generated Node #0,2,0: 40:[16, 24] Operation: 14+10=24
Exploring Operation: 16-10=6, Resulting Numbers: [14, 6]
Generated Node #0,2,1: 40:[14, 6] Operation: 16-10=6
Exploring Operation: 16-14=2, Resulting Numbers: [10, 2]
Generated Node #0,2,2: 40:[10, 2] Operation: 16-14=2
Exploring Operation: 14-10=4, Resulting Numbers: [16, 4]
Generated Node #0,2,3: 40:[16, 4] Operation: 14-10=4
Moving to Node #0,3
Current State: 40:[81, 10, 51], Operations: ['65-14=51']
Exploring Operation: 81-51=30, Resulting Numbers: [10, 30]
Generated Node #0,3,0: 40:[10, 30] Operation: 81-51=30
Exploring Operation: 51-10=41, Resulting Numbers: [81, 41]
Generated Node #0,3,1: 40:[81, 41] Operation: 51-10=41
Exploring Operation: 81-10=71, Resulting Numbers: [51, 71]
Generated Node #0,3,2: 40:[51, 71] Operation: 81-10=71
Exploring Operation: 81+10=91, Resulting Numbers: [51, 91]
Generated Node #0,3,3: 40:[51, 91] Operation: 81+10=91
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 40:[10, 30], Operations: ['65-14=51', '81-51=30']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,40 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[81, 14, 65, 10], Operations: []
Exploring Operation: 65-14=51, Resulting Numbers: [81, 10, 51]
Generated Node #0,3: 40:[81, 10, 51] Operation: 65-14=51
Moving to Node #0,3
Current State: 40:[81, 10, 51], Operations: ['65-14=51']
Exploring Operation: 81-51=30, Resulting Numbers: [10, 30]
Generated Node #0,3,0: 40:[10, 30] Operation: 81-51=30
Moving to Node #0,3,0
Current State: 40:[10, 30], Operations: ['65-14=51', '81-51=30']
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
36,
45,
74,
44
] | 38 | [
"74-36=38",
"45-44=1",
"38*1=38"
] | Current State: 38:[36, 45, 74, 44], Operations: []
Exploring Operation: 74-36=38, Resulting Numbers: [45, 44, 38]
Generated Node #2: [45, 44, 38] from Operation: 74-36=38
Current State: 38:[45, 44, 38], Operations: ['74-36=38']
Exploring Operation: 45-44=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 45-44=1
Current State: 38:[38, 1], Operations: ['74-36=38', '45-44=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[36, 45, 74, 44], Operations: []
Exploring Operation: 45-44=1, Resulting Numbers: [36, 74, 1]
Generated Node #0,0: 38:[36, 74, 1] Operation: 45-44=1
Exploring Operation: 74-45=29, Resulting Numbers: [36, 44, 29]
Generated Node #0,1: 38:[36, 44, 29] Operation: 74-45=29
Exploring Operation: 74-36=38, Resulting Numbers: [45, 44, 38]
Generated Node #0,2: 38:[45, 44, 38] Operation: 74-36=38
Exploring Operation: 45-36=9, Resulting Numbers: [74, 44, 9]
Generated Node #0,3: 38:[74, 44, 9] Operation: 45-36=9
Exploring Operation: 74-44=30, Resulting Numbers: [36, 45, 30]
Generated Node #0,4: 38:[36, 45, 30] Operation: 74-44=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[45, 44, 38], Operations: ['74-36=38']
Exploring Operation: 45+38=83, Resulting Numbers: [44, 83]
Generated Node #0,2,0: 38:[44, 83] Operation: 45+38=83
Exploring Operation: 45-38=7, Resulting Numbers: [44, 7]
Generated Node #0,2,1: 38:[44, 7] Operation: 45-38=7
Exploring Operation: 44-38=6, Resulting Numbers: [45, 6]
Generated Node #0,2,2: 38:[45, 6] Operation: 44-38=6
Exploring Operation: 45+44=89, Resulting Numbers: [38, 89]
Generated Node #0,2,3: 38:[38, 89] Operation: 45+44=89
Exploring Operation: 45-44=1, Resulting Numbers: [38, 1]
Generated Node #0,2,4: 38:[38, 1] Operation: 45-44=1
Moving to Node #0,2,4
Current State: 38:[38, 1], Operations: ['74-36=38', '45-44=1']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[36, 45, 74, 44], Operations: []
Exploring Operation: 74-36=38, Resulting Numbers: [45, 44, 38]
Generated Node #0,2: 38:[45, 44, 38] Operation: 74-36=38
Moving to Node #0,2
Current State: 38:[45, 44, 38], Operations: ['74-36=38']
Exploring Operation: 45-44=1, Resulting Numbers: [38, 1]
Generated Node #0,2,4: 38:[38, 1] Operation: 45-44=1
Moving to Node #0,2,4
Current State: 38:[38, 1], Operations: ['74-36=38', '45-44=1']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
72,
55,
21,
3
] | 35 | [
"72-55=17",
"21-3=18",
"17+18=35"
] | Current State: 35:[72, 55, 21, 3], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [21, 3, 17]
Generated Node #2: [21, 3, 17] from Operation: 72-55=17
Current State: 35:[21, 3, 17], Operations: ['72-55=17']
Exploring Operation: 21-3=18, Resulting Numbers: [17, 18]
Generated Node #3: [17, 18] from Operation: 21-3=18
Current State: 35:[17, 18], Operations: ['72-55=17', '21-3=18']
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[72, 55, 21, 3], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [21, 3, 17]
Generated Node #0,0: 35:[21, 3, 17] Operation: 72-55=17
Moving to Node #0,0
Current State: 35:[21, 3, 17], Operations: ['72-55=17']
Exploring Operation: 21-17=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 35:[3, 4] Operation: 21-17=4
Moving to Node #0,0,0
Current State: 35:[3, 4], Operations: ['72-55=17', '21-17=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,35 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
62,
63,
56,
19
] | 88 | [
"62+63=125",
"56-19=37",
"125-37=88"
] | Current State: 88:[62, 63, 56, 19], Operations: []
Exploring Operation: 62+63=125, Resulting Numbers: [56, 19, 125]
Generated Node #2: [56, 19, 125] from Operation: 62+63=125
Current State: 88:[56, 19, 125], Operations: ['62+63=125']
Exploring Operation: 56-19=37, Resulting Numbers: [125, 37]
Generated Node #3: [125, 37] from Operation: 56-19=37
Current State: 88:[125, 37], Operations: ['62+63=125', '56-19=37']
Exploring Operation: 125-37=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[62, 63, 56, 19], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [62, 19, 7]
Generated Node #0,0: 88:[62, 19, 7] Operation: 63-56=7
Exploring Operation: 63-62=1, Resulting Numbers: [56, 19, 1]
Generated Node #0,1: 88:[56, 19, 1] Operation: 63-62=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[56, 19, 1], Operations: ['63-62=1']
Exploring Operation: 56-19=37, Resulting Numbers: [1, 37]
Generated Node #0,1,0: 88:[1, 37] Operation: 56-19=37
Exploring Operation: 56+19=75, Resulting Numbers: [1, 75]
Generated Node #0,1,1: 88:[1, 75] Operation: 56+19=75
Moving to Node #0,1,0
Current State: 88:[1, 37], Operations: ['63-62=1', '56-19=37']
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[1, 75], Operations: ['63-62=1', '56+19=75']
Exploring Operation: 1*75=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,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
Current State: 88:[62, 19, 7], Operations: ['63-56=7']
Exploring Operation: 62-19=43, Resulting Numbers: [7, 43]
Generated Node #0,0,0: 88:[7, 43] Operation: 62-19=43
Exploring Operation: 62+19=81, Resulting Numbers: [7, 81]
Generated Node #0,0,1: 88:[7, 81] Operation: 62+19=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[7, 43], Operations: ['63-56=7', '62-19=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[7, 81], Operations: ['63-56=7', '62+19=81']
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[62, 63, 56, 19], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [62, 19, 7]
Generated Node #0,0: 88:[62, 19, 7] Operation: 63-56=7
Moving to Node #0,0
Current State: 88:[62, 19, 7], Operations: ['63-56=7']
Exploring Operation: 62+19=81, Resulting Numbers: [7, 81]
Generated Node #0,0,1: 88:[7, 81] Operation: 62+19=81
Moving to Node #0,0,1
Current State: 88:[7, 81], Operations: ['63-56=7', '62+19=81']
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | sum_heuristic |
[
83,
35,
85,
10
] | 23 | [
"83+35=118",
"85+10=95",
"118-95=23"
] | Current State: 23:[83, 35, 85, 10], Operations: []
Exploring Operation: 83+35=118, Resulting Numbers: [85, 10, 118]
Generated Node #2: [85, 10, 118] from Operation: 83+35=118
Current State: 23:[85, 10, 118], Operations: ['83+35=118']
Exploring Operation: 85+10=95, Resulting Numbers: [118, 95]
Generated Node #3: [118, 95] from Operation: 85+10=95
Current State: 23:[118, 95], Operations: ['83+35=118', '85+10=95']
Exploring Operation: 118-95=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[83, 35, 85, 10], Operations: []
Exploring Operation: 85-35=50, Resulting Numbers: [83, 10, 50]
Generated Node #0,0: 23:[83, 10, 50] Operation: 85-35=50
Exploring Operation: 85-83=2, Resulting Numbers: [35, 10, 2]
Generated Node #0,1: 23:[35, 10, 2] Operation: 85-83=2
Exploring Operation: 83-35=48, Resulting Numbers: [85, 10, 48]
Generated Node #0,2: 23:[85, 10, 48] Operation: 83-35=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[35, 10, 2], Operations: ['85-83=2']
Exploring Operation: 35-10=25, Resulting Numbers: [2, 25]
Generated Node #0,1,0: 23:[2, 25] Operation: 35-10=25
Exploring Operation: 10*2=20, Resulting Numbers: [35, 20]
Generated Node #0,1,1: 23:[35, 20] Operation: 10*2=20
Exploring Operation: 35-2=33, Resulting Numbers: [10, 33]
Generated Node #0,1,2: 23:[10, 33] Operation: 35-2=33
Moving to Node #0,1,1
Current State: 23:[35, 20], Operations: ['85-83=2', '10*2=20']
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,23 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[2, 25], Operations: ['85-83=2', '35-10=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[83, 35, 85, 10], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [35, 10, 2]
Generated Node #0,1: 23:[35, 10, 2] Operation: 85-83=2
Moving to Node #0,1
Current State: 23:[35, 10, 2], Operations: ['85-83=2']
Exploring Operation: 35-10=25, Resulting Numbers: [2, 25]
Generated Node #0,1,0: 23:[2, 25] Operation: 35-10=25
Moving to Node #0,1,0
Current State: 23:[2, 25], Operations: ['85-83=2', '35-10=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
62,
41,
90,
31
] | 44 | [
"62+41=103",
"90-31=59",
"103-59=44"
] | Current State: 44:[62, 41, 90, 31], Operations: []
Exploring Operation: 62+41=103, Resulting Numbers: [90, 31, 103]
Generated Node #2: [90, 31, 103] from Operation: 62+41=103
Current State: 44:[90, 31, 103], Operations: ['62+41=103']
Exploring Operation: 90-31=59, Resulting Numbers: [103, 59]
Generated Node #3: [103, 59] from Operation: 90-31=59
Current State: 44:[103, 59], Operations: ['62+41=103', '90-31=59']
Exploring Operation: 103-59=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[62, 41, 90, 31], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [41, 90, 2]
Generated Node #0,0: 44:[41, 90, 2] Operation: 62/31=2
Exploring Operation: 90-62=28, Resulting Numbers: [41, 31, 28]
Generated Node #0,1: 44:[41, 31, 28] Operation: 90-62=28
Exploring Operation: 90-31=59, Resulting Numbers: [62, 41, 59]
Generated Node #0,2: 44:[62, 41, 59] Operation: 90-31=59
Exploring Operation: 90-41=49, Resulting Numbers: [62, 31, 49]
Generated Node #0,3: 44:[62, 31, 49] Operation: 90-41=49
Moving to Node #0,1
Current State: 44:[41, 31, 28], Operations: ['90-62=28']
Exploring Operation: 31+28=59, Resulting Numbers: [41, 59]
Generated Node #0,1,0: 44:[41, 59] Operation: 31+28=59
Exploring Operation: 31-28=3, Resulting Numbers: [41, 3]
Generated Node #0,1,1: 44:[41, 3] Operation: 31-28=3
Exploring Operation: 41-28=13, Resulting Numbers: [31, 13]
Generated Node #0,1,2: 44:[31, 13] Operation: 41-28=13
Exploring Operation: 41-31=10, Resulting Numbers: [28, 10]
Generated Node #0,1,3: 44:[28, 10] Operation: 41-31=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[41, 3], Operations: ['90-62=28', '31-28=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,44 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[62, 41, 90, 31], Operations: []
Exploring Operation: 90-62=28, Resulting Numbers: [41, 31, 28]
Generated Node #0,1: 44:[41, 31, 28] Operation: 90-62=28
Moving to Node #0,1
Current State: 44:[41, 31, 28], Operations: ['90-62=28']
Exploring Operation: 31-28=3, Resulting Numbers: [41, 3]
Generated Node #0,1,1: 44:[41, 3] Operation: 31-28=3
Moving to Node #0,1,1
Current State: 44:[41, 3], Operations: ['90-62=28', '31-28=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
56,
8,
46,
9
] | 23 | [
"56/8=7",
"9-7=2",
"46/2=23"
] | Current State: 23:[56, 8, 46, 9], Operations: []
Exploring Operation: 56/8=7, Resulting Numbers: [46, 9, 7]
Generated Node #2: [46, 9, 7] from Operation: 56/8=7
Current State: 23:[46, 9, 7], Operations: ['56/8=7']
Exploring Operation: 9-7=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 9-7=2
Current State: 23:[46, 2], Operations: ['56/8=7', '9-7=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[56, 8, 46, 9], Operations: []
Exploring Operation: 56-9=47, Resulting Numbers: [8, 46, 47]
Generated Node #0,0: 23:[8, 46, 47] Operation: 56-9=47
Exploring Operation: 56-8=48, Resulting Numbers: [46, 9, 48]
Generated Node #0,1: 23:[46, 9, 48] Operation: 56-8=48
Exploring Operation: 56-46=10, Resulting Numbers: [8, 9, 10]
Generated Node #0,2: 23:[8, 9, 10] Operation: 56-46=10
Exploring Operation: 56/8=7, Resulting Numbers: [46, 9, 7]
Generated Node #0,3: 23:[46, 9, 7] Operation: 56/8=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[8, 9, 10], Operations: ['56-46=10']
Exploring Operation: 8+10=18, Resulting Numbers: [9, 18]
Generated Node #0,2,0: 23:[9, 18] Operation: 8+10=18
Exploring Operation: 9+10=19, Resulting Numbers: [8, 19]
Generated Node #0,2,1: 23:[8, 19] Operation: 9+10=19
Exploring Operation: 9-8=1, Resulting Numbers: [10, 1]
Generated Node #0,2,2: 23:[10, 1] Operation: 9-8=1
Exploring Operation: 8+9=17, Resulting Numbers: [10, 17]
Generated Node #0,2,3: 23:[10, 17] Operation: 8+9=17
Moving to Node #0,2,0
Current State: 23:[9, 18], Operations: ['56-46=10', '8+10=18']
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,23 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[10, 17], Operations: ['56-46=10', '8+9=17']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[8, 19], Operations: ['56-46=10', '9+10=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[10, 1], Operations: ['56-46=10', '9-8=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[46, 9, 7], Operations: ['56/8=7']
Exploring Operation: 46+7=53, Resulting Numbers: [9, 53]
Generated Node #0,3,0: 23:[9, 53] Operation: 46+7=53
Exploring Operation: 9+7=16, Resulting Numbers: [46, 16]
Generated Node #0,3,1: 23:[46, 16] Operation: 9+7=16
Exploring Operation: 46-9=37, Resulting Numbers: [7, 37]
Generated Node #0,3,2: 23:[7, 37] Operation: 46-9=37
Exploring Operation: 46-7=39, Resulting Numbers: [9, 39]
Generated Node #0,3,3: 23:[9, 39] Operation: 46-7=39
Moving to Node #0,3,1
Current State: 23:[46, 16], Operations: ['56/8=7', '9+7=16']
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,23 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[9, 39], Operations: ['56/8=7', '46-7=39']
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,23 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[7, 37], Operations: ['56/8=7', '46-9=37']
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,23 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[9, 53], Operations: ['56/8=7', '46+7=53']
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[8, 46, 47], Operations: ['56-9=47']
Exploring Operation: 46-8=38, Resulting Numbers: [47, 38]
Generated Node #0,0,0: 23:[47, 38] Operation: 46-8=38
Exploring Operation: 8+46=54, Resulting Numbers: [47, 54]
Generated Node #0,0,1: 23:[47, 54] Operation: 8+46=54
Exploring Operation: 47-8=39, Resulting Numbers: [46, 39]
Generated Node #0,0,2: 23:[46, 39] Operation: 47-8=39
Exploring Operation: 47-46=1, Resulting Numbers: [8, 1]
Generated Node #0,0,3: 23:[8, 1] Operation: 47-46=1
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 23:[8, 1], Operations: ['56-9=47', '47-46=1']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[47, 38], Operations: ['56-9=47', '46-8=38']
Exploring Operation: 47*38=1786, Resulting Numbers: [1786]
1786,23 unequal: No Solution
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 47+38=85, Resulting Numbers: [85]
85,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[46, 39], Operations: ['56-9=47', '47-8=39']
Exploring Operation: 46*39=1794, Resulting Numbers: [1794]
1794,23 unequal: No Solution
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,23 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[47, 54], Operations: ['56-9=47', '8+46=54']
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,23 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 47*54=2538, Resulting Numbers: [2538]
2538,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[46, 9, 48], Operations: ['56-8=48']
Exploring Operation: 46+9=55, Resulting Numbers: [48, 55]
Generated Node #0,1,0: 23:[48, 55] Operation: 46+9=55
Exploring Operation: 48-46=2, Resulting Numbers: [9, 2]
Generated Node #0,1,1: 23:[9, 2] Operation: 48-46=2
Exploring Operation: 48-9=39, Resulting Numbers: [46, 39]
Generated Node #0,1,2: 23:[46, 39] Operation: 48-9=39
Exploring Operation: 46-9=37, Resulting Numbers: [48, 37]
Generated Node #0,1,3: 23:[48, 37] Operation: 46-9=37
Moving to Node #0,1,1
Current State: 23:[9, 2], Operations: ['56-8=48', '48-46=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[48, 37], Operations: ['56-8=48', '46-9=37']
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,23 unequal: No Solution
Exploring Operation: 48*37=1776, Resulting Numbers: [1776]
1776,23 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[46, 39], Operations: ['56-8=48', '48-9=39']
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,23 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 46*39=1794, Resulting Numbers: [1794]
1794,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[48, 55], Operations: ['56-8=48', '46+9=55']
Exploring Operation: 48*55=2640, Resulting Numbers: [2640]
2640,23 unequal: No Solution
Exploring Operation: 48+55=103, Resulting Numbers: [103]
103,23 unequal: No Solution
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
93,
17,
79,
66
] | 89 | [
"93-17=76",
"79-66=13",
"76+13=89"
] | Current State: 89:[93, 17, 79, 66], Operations: []
Exploring Operation: 93-17=76, Resulting Numbers: [79, 66, 76]
Generated Node #2: [79, 66, 76] from Operation: 93-17=76
Current State: 89:[79, 66, 76], Operations: ['93-17=76']
Exploring Operation: 79-66=13, Resulting Numbers: [76, 13]
Generated Node #3: [76, 13] from Operation: 79-66=13
Current State: 89:[76, 13], Operations: ['93-17=76', '79-66=13']
Exploring Operation: 76+13=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[93, 17, 79, 66], Operations: []
Exploring Operation: 17+79=96, Resulting Numbers: [93, 66, 96]
Generated Node #0,0: 89:[93, 66, 96] Operation: 17+79=96
Exploring Operation: 93-17=76, Resulting Numbers: [79, 66, 76]
Generated Node #0,1: 89:[79, 66, 76] Operation: 93-17=76
Exploring Operation: 93+17=110, Resulting Numbers: [79, 66, 110]
Generated Node #0,2: 89:[79, 66, 110] Operation: 93+17=110
Exploring Operation: 79-17=62, Resulting Numbers: [93, 66, 62]
Generated Node #0,3: 89:[93, 66, 62] Operation: 79-17=62
Exploring Operation: 17+66=83, Resulting Numbers: [93, 79, 83]
Generated Node #0,4: 89:[93, 79, 83] Operation: 17+66=83
Start Sub Search at level 1: Moving to Node #0,4
Current State: 89:[93, 79, 83], Operations: ['17+66=83']
Exploring Operation: 93-79=14, Resulting Numbers: [83, 14]
Generated Node #0,4,0: 89:[83, 14] Operation: 93-79=14
Exploring Operation: 79+83=162, Resulting Numbers: [93, 162]
Generated Node #0,4,1: 89:[93, 162] Operation: 79+83=162
Exploring Operation: 93+79=172, Resulting Numbers: [83, 172]
Generated Node #0,4,2: 89:[83, 172] Operation: 93+79=172
Exploring Operation: 93-83=10, Resulting Numbers: [79, 10]
Generated Node #0,4,3: 89:[79, 10] Operation: 93-83=10
Exploring Operation: 83-79=4, Resulting Numbers: [93, 4]
Generated Node #0,4,4: 89:[93, 4] Operation: 83-79=4
Moving to Node #0,4,1
Current State: 89:[93, 162], Operations: ['17+66=83', '79+83=162']
Exploring Operation: 93*162=15066, Resulting Numbers: [15066]
15066,89 unequal: No Solution
Exploring Operation: 93+162=255, Resulting Numbers: [255]
255,89 unequal: No Solution
Exploring Operation: 162-93=69, Resulting Numbers: [69]
69,89 unequal: No Solution
Moving to Node #0,4,0
Current State: 89:[83, 14], Operations: ['17+66=83', '93-79=14']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,89 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,89 unequal: No Solution
Moving to Node #0,4,2
Current State: 89:[83, 172], Operations: ['17+66=83', '93+79=172']
Exploring Operation: 172-83=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[93, 17, 79, 66], Operations: []
Exploring Operation: 17+66=83, Resulting Numbers: [93, 79, 83]
Generated Node #0,4: 89:[93, 79, 83] Operation: 17+66=83
Moving to Node #0,4
Current State: 89:[93, 79, 83], Operations: ['17+66=83']
Exploring Operation: 93+79=172, Resulting Numbers: [83, 172]
Generated Node #0,4,2: 89:[83, 172] Operation: 93+79=172
Moving to Node #0,4,2
Current State: 89:[83, 172], Operations: ['17+66=83', '93+79=172']
Exploring Operation: 172-83=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
69,
52,
2,
1
] | 85 | [
"69*2=138",
"52+1=53",
"138-53=85"
] | Current State: 85:[69, 52, 2, 1], Operations: []
Exploring Operation: 69*2=138, Resulting Numbers: [52, 1, 138]
Generated Node #2: [52, 1, 138] from Operation: 69*2=138
Current State: 85:[52, 1, 138], Operations: ['69*2=138']
Exploring Operation: 52+1=53, Resulting Numbers: [138, 53]
Generated Node #3: [138, 53] from Operation: 52+1=53
Current State: 85:[138, 53], Operations: ['69*2=138', '52+1=53']
Exploring Operation: 138-53=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[69, 52, 2, 1], Operations: []
Exploring Operation: 69-52=17, Resulting Numbers: [2, 1, 17]
Generated Node #0,0: 85:[2, 1, 17] Operation: 69-52=17
Moving to Node #0,0
Current State: 85:[2, 1, 17], Operations: ['69-52=17']
Exploring Operation: 2+1=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 85:[17, 3] Operation: 2+1=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[17, 3], Operations: ['69-52=17', '2+1=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
60,
90,
39,
15
] | 49 | [
"60+90=150",
"150/15=10",
"39+10=49"
] | Current State: 49:[60, 90, 39, 15], Operations: []
Exploring Operation: 60+90=150, Resulting Numbers: [39, 15, 150]
Generated Node #2: [39, 15, 150] from Operation: 60+90=150
Current State: 49:[39, 15, 150], Operations: ['60+90=150']
Exploring Operation: 150/15=10, Resulting Numbers: [39, 10]
Generated Node #3: [39, 10] from Operation: 150/15=10
Current State: 49:[39, 10], Operations: ['60+90=150', '150/15=10']
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[60, 90, 39, 15], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [60, 39, 6]
Generated Node #0,0: 49:[60, 39, 6] Operation: 90/15=6
Exploring Operation: 90-15=75, Resulting Numbers: [60, 39, 75]
Generated Node #0,1: 49:[60, 39, 75] Operation: 90-15=75
Exploring Operation: 90-39=51, Resulting Numbers: [60, 15, 51]
Generated Node #0,2: 49:[60, 15, 51] Operation: 90-39=51
Exploring Operation: 90-60=30, Resulting Numbers: [39, 15, 30]
Generated Node #0,3: 49:[39, 15, 30] Operation: 90-60=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[60, 15, 51], Operations: ['90-39=51']
Exploring Operation: 51-15=36, Resulting Numbers: [60, 36]
Generated Node #0,2,0: 49:[60, 36] Operation: 51-15=36
Exploring Operation: 60-15=45, Resulting Numbers: [51, 45]
Generated Node #0,2,1: 49:[51, 45] Operation: 60-15=45
Exploring Operation: 60/15=4, Resulting Numbers: [51, 4]
Generated Node #0,2,2: 49:[51, 4] Operation: 60/15=4
Exploring Operation: 60-51=9, Resulting Numbers: [15, 9]
Generated Node #0,2,3: 49:[15, 9] Operation: 60-51=9
Moving to Node #0,2,2
Current State: 49:[51, 4], Operations: ['90-39=51', '60/15=4']
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,49 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[51, 45], Operations: ['90-39=51', '60-15=45']
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 51*45=2295, Resulting Numbers: [2295]
2295,49 unequal: No Solution
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[15, 9], Operations: ['90-39=51', '60-51=9']
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,49 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[60, 36], Operations: ['90-39=51', '51-15=36']
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 60*36=2160, Resulting Numbers: [2160]
2160,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,0
Current State: 49:[60, 39, 6], Operations: ['90/15=6']
Exploring Operation: 60/6=10, Resulting Numbers: [39, 10]
Generated Node #0,0,0: 49:[39, 10] Operation: 60/6=10
Exploring Operation: 60-39=21, Resulting Numbers: [6, 21]
Generated Node #0,0,1: 49:[6, 21] Operation: 60-39=21
Exploring Operation: 60-6=54, Resulting Numbers: [39, 54]
Generated Node #0,0,2: 49:[39, 54] Operation: 60-6=54
Exploring Operation: 39+6=45, Resulting Numbers: [60, 45]
Generated Node #0,0,3: 49:[60, 45] Operation: 39+6=45
Moving to Node #0,0,0
Current State: 49:[39, 10], Operations: ['90/15=6', '60/6=10']
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[60, 90, 39, 15], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [60, 39, 6]
Generated Node #0,0: 49:[60, 39, 6] Operation: 90/15=6
Moving to Node #0,0
Current State: 49:[60, 39, 6], Operations: ['90/15=6']
Exploring Operation: 60/6=10, Resulting Numbers: [39, 10]
Generated Node #0,0,0: 49:[39, 10] Operation: 60/6=10
Moving to Node #0,0,0
Current State: 49:[39, 10], Operations: ['90/15=6', '60/6=10']
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
96,
84,
58,
99
] | 23 | [
"96+84=180",
"58+99=157",
"180-157=23"
] | Current State: 23:[96, 84, 58, 99], Operations: []
Exploring Operation: 96+84=180, Resulting Numbers: [58, 99, 180]
Generated Node #2: [58, 99, 180] from Operation: 96+84=180
Current State: 23:[58, 99, 180], Operations: ['96+84=180']
Exploring Operation: 58+99=157, Resulting Numbers: [180, 157]
Generated Node #3: [180, 157] from Operation: 58+99=157
Current State: 23:[180, 157], Operations: ['96+84=180', '58+99=157']
Exploring Operation: 180-157=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[96, 84, 58, 99], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [58, 99, 12]
Generated Node #0,0: 23:[58, 99, 12] Operation: 96-84=12
Exploring Operation: 99-84=15, Resulting Numbers: [96, 58, 15]
Generated Node #0,1: 23:[96, 58, 15] Operation: 99-84=15
Exploring Operation: 99-96=3, Resulting Numbers: [84, 58, 3]
Generated Node #0,2: 23:[84, 58, 3] Operation: 99-96=3
Moving to Node #0,1
Current State: 23:[96, 58, 15], Operations: ['99-84=15']
Exploring Operation: 58-15=43, Resulting Numbers: [96, 43]
Generated Node #0,1,0: 23:[96, 43] Operation: 58-15=43
Exploring Operation: 96-15=81, Resulting Numbers: [58, 81]
Generated Node #0,1,1: 23:[58, 81] Operation: 96-15=81
Exploring Operation: 96-58=38, Resulting Numbers: [15, 38]
Generated Node #0,1,2: 23:[15, 38] Operation: 96-58=38
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[15, 38], Operations: ['99-84=15', '96-58=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[96, 84, 58, 99], Operations: []
Exploring Operation: 99-84=15, Resulting Numbers: [96, 58, 15]
Generated Node #0,1: 23:[96, 58, 15] Operation: 99-84=15
Moving to Node #0,1
Current State: 23:[96, 58, 15], Operations: ['99-84=15']
Exploring Operation: 96-58=38, Resulting Numbers: [15, 38]
Generated Node #0,1,2: 23:[15, 38] Operation: 96-58=38
Moving to Node #0,1,2
Current State: 23:[15, 38], Operations: ['99-84=15', '96-58=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
91,
6,
54,
79
] | 11 | [
"91+54=145",
"145-79=66",
"66/6=11"
] | Current State: 11:[91, 6, 54, 79], Operations: []
Exploring Operation: 91+54=145, Resulting Numbers: [6, 79, 145]
Generated Node #2: [6, 79, 145] from Operation: 91+54=145
Current State: 11:[6, 79, 145], Operations: ['91+54=145']
Exploring Operation: 145-79=66, Resulting Numbers: [6, 66]
Generated Node #3: [6, 66] from Operation: 145-79=66
Current State: 11:[6, 66], Operations: ['91+54=145', '145-79=66']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[91, 6, 54, 79], Operations: []
Exploring Operation: 91-54=37, Resulting Numbers: [6, 79, 37]
Generated Node #0,0: 11:[6, 79, 37] Operation: 91-54=37
Exploring Operation: 79-54=25, Resulting Numbers: [91, 6, 25]
Generated Node #0,1: 11:[91, 6, 25] Operation: 79-54=25
Exploring Operation: 91-79=12, Resulting Numbers: [6, 54, 12]
Generated Node #0,2: 11:[6, 54, 12] Operation: 91-79=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[6, 54, 12], Operations: ['91-79=12']
Exploring Operation: 54-6=48, Resulting Numbers: [12, 48]
Generated Node #0,2,0: 11:[12, 48] Operation: 54-6=48
Exploring Operation: 54-12=42, Resulting Numbers: [6, 42]
Generated Node #0,2,1: 11:[6, 42] Operation: 54-12=42
Exploring Operation: 54/6=9, Resulting Numbers: [12, 9]
Generated Node #0,2,2: 11:[12, 9] Operation: 54/6=9
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 11:[12, 9], Operations: ['91-79=12', '54/6=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,11 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,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,2,1
Current State: 11:[6, 42], Operations: ['91-79=12', '54-12=42']
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,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,2,0
Current State: 11:[12, 48], Operations: ['91-79=12', '54-6=48']
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,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,0
Current State: 11:[6, 79, 37], Operations: ['91-54=37']
Exploring Operation: 79-6=73, Resulting Numbers: [37, 73]
Generated Node #0,0,0: 11:[37, 73] Operation: 79-6=73
Exploring Operation: 79-37=42, Resulting Numbers: [6, 42]
Generated Node #0,0,1: 11:[6, 42] Operation: 79-37=42
Exploring Operation: 37-6=31, Resulting Numbers: [79, 31]
Generated Node #0,0,2: 11:[79, 31] Operation: 37-6=31
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[6, 42], Operations: ['91-54=37', '79-37=42']
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,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,0
Current State: 11:[37, 73], Operations: ['91-54=37', '79-6=73']
Exploring Operation: 73-37=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 37*73=2701, Resulting Numbers: [2701]
2701,11 unequal: No Solution
Exploring Operation: 37+73=110, Resulting Numbers: [110]
110,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,2
Current State: 11:[79, 31], Operations: ['91-54=37', '37-6=31']
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 79*31=2449, Resulting Numbers: [2449]
2449,11 unequal: No Solution
Exploring Operation: 79+31=110, Resulting Numbers: [110]
110,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:[91, 6, 25], Operations: ['79-54=25']
Exploring Operation: 25-6=19, Resulting Numbers: [91, 19]
Generated Node #0,1,0: 11:[91, 19] Operation: 25-6=19
Exploring Operation: 91-6=85, Resulting Numbers: [25, 85]
Generated Node #0,1,1: 11:[25, 85] Operation: 91-6=85
Exploring Operation: 91-25=66, Resulting Numbers: [6, 66]
Generated Node #0,1,2: 11:[6, 66] Operation: 91-25=66
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[6, 66], Operations: ['79-54=25', '91-25=66']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[91, 6, 54, 79], Operations: []
Exploring Operation: 79-54=25, Resulting Numbers: [91, 6, 25]
Generated Node #0,1: 11:[91, 6, 25] Operation: 79-54=25
Moving to Node #0,1
Current State: 11:[91, 6, 25], Operations: ['79-54=25']
Exploring Operation: 91-25=66, Resulting Numbers: [6, 66]
Generated Node #0,1,2: 11:[6, 66] Operation: 91-25=66
Moving to Node #0,1,2
Current State: 11:[6, 66], Operations: ['79-54=25', '91-25=66']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | sum_heuristic |
[
66,
34,
61,
88
] | 82 | [
"66-61=5",
"34*5=170",
"170-88=82"
] | Current State: 82:[66, 34, 61, 88], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [34, 88, 5]
Generated Node #2: [34, 88, 5] from Operation: 66-61=5
Current State: 82:[34, 88, 5], Operations: ['66-61=5']
Exploring Operation: 34*5=170, Resulting Numbers: [88, 170]
Generated Node #3: [88, 170] from Operation: 34*5=170
Current State: 82:[88, 170], Operations: ['66-61=5', '34*5=170']
Exploring Operation: 170-88=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[66, 34, 61, 88], Operations: []
Exploring Operation: 88-61=27, Resulting Numbers: [66, 34, 27]
Generated Node #0,0: 82:[66, 34, 27] Operation: 88-61=27
Exploring Operation: 66-61=5, Resulting Numbers: [34, 88, 5]
Generated Node #0,1: 82:[34, 88, 5] Operation: 66-61=5
Exploring Operation: 66-34=32, Resulting Numbers: [61, 88, 32]
Generated Node #0,2: 82:[61, 88, 32] Operation: 66-34=32
Exploring Operation: 61-34=27, Resulting Numbers: [66, 88, 27]
Generated Node #0,3: 82:[66, 88, 27] Operation: 61-34=27
Exploring Operation: 34+61=95, Resulting Numbers: [66, 88, 95]
Generated Node #0,4: 82:[66, 88, 95] Operation: 34+61=95
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[34, 88, 5], Operations: ['66-61=5']
Exploring Operation: 34-5=29, Resulting Numbers: [88, 29]
Generated Node #0,1,0: 82:[88, 29] Operation: 34-5=29
Exploring Operation: 34+5=39, Resulting Numbers: [88, 39]
Generated Node #0,1,1: 82:[88, 39] Operation: 34+5=39
Exploring Operation: 88-34=54, Resulting Numbers: [5, 54]
Generated Node #0,1,2: 82:[5, 54] Operation: 88-34=54
Exploring Operation: 88+5=93, Resulting Numbers: [34, 93]
Generated Node #0,1,3: 82:[34, 93] Operation: 88+5=93
Exploring Operation: 88-5=83, Resulting Numbers: [34, 83]
Generated Node #0,1,4: 82:[34, 83] Operation: 88-5=83
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[88, 39], Operations: ['66-61=5', '34+5=39']
Exploring Operation: 88+39=127, Resulting Numbers: [127]
127,82 unequal: No Solution
Exploring Operation: 88*39=3432, Resulting Numbers: [3432]
3432,82 unequal: No Solution
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 82:[34, 83], Operations: ['66-61=5', '88-5=83']
Exploring Operation: 83-34=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 34+83=117, Resulting Numbers: [117]
117,82 unequal: No Solution
Exploring Operation: 34*83=2822, Resulting Numbers: [2822]
2822,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[5, 54], Operations: ['66-61=5', '88-34=54']
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,82 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[88, 29], Operations: ['66-61=5', '34-5=29']
Exploring Operation: 88+29=117, Resulting Numbers: [117]
117,82 unequal: No Solution
Exploring Operation: 88*29=2552, Resulting Numbers: [2552]
2552,82 unequal: No Solution
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 82:[34, 93], Operations: ['66-61=5', '88+5=93']
Exploring Operation: 34*93=3162, Resulting Numbers: [3162]
3162,82 unequal: No Solution
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 34+93=127, Resulting Numbers: [127]
127,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[61, 88, 32], Operations: ['66-34=32']
Exploring Operation: 88-32=56, Resulting Numbers: [61, 56]
Generated Node #0,2,0: 82:[61, 56] Operation: 88-32=56
Exploring Operation: 61-32=29, Resulting Numbers: [88, 29]
Generated Node #0,2,1: 82:[88, 29] Operation: 61-32=29
Exploring Operation: 88-61=27, Resulting Numbers: [32, 27]
Generated Node #0,2,2: 82:[32, 27] Operation: 88-61=27
Exploring Operation: 88+32=120, Resulting Numbers: [61, 120]
Generated Node #0,2,3: 82:[61, 120] Operation: 88+32=120
Exploring Operation: 61+32=93, Resulting Numbers: [88, 93]
Generated Node #0,2,4: 82:[88, 93] Operation: 61+32=93
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 82:[88, 93], Operations: ['66-34=32', '61+32=93']
Exploring Operation: 88+93=181, Resulting Numbers: [181]
181,82 unequal: No Solution
Exploring Operation: 88*93=8184, Resulting Numbers: [8184]
8184,82 unequal: No Solution
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[88, 29], Operations: ['66-34=32', '61-32=29']
Exploring Operation: 88+29=117, Resulting Numbers: [117]
117,82 unequal: No Solution
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 88*29=2552, Resulting Numbers: [2552]
2552,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[32, 27], Operations: ['66-34=32', '88-61=27']
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,82 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[61, 56], Operations: ['66-34=32', '88-32=56']
Exploring Operation: 61*56=3416, Resulting Numbers: [3416]
3416,82 unequal: No Solution
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 61+56=117, Resulting Numbers: [117]
117,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 82:[61, 120], Operations: ['66-34=32', '88+32=120']
Exploring Operation: 61*120=7320, Resulting Numbers: [7320]
7320,82 unequal: No Solution
Exploring Operation: 61+120=181, Resulting Numbers: [181]
181,82 unequal: No Solution
Exploring Operation: 120-61=59, Resulting Numbers: [59]
59,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 82:[66, 88, 95], Operations: ['34+61=95']
Exploring Operation: 88-66=22, Resulting Numbers: [95, 22]
Generated Node #0,4,0: 82:[95, 22] Operation: 88-66=22
Exploring Operation: 95-66=29, Resulting Numbers: [88, 29]
Generated Node #0,4,1: 82:[88, 29] Operation: 95-66=29
Exploring Operation: 66+95=161, Resulting Numbers: [88, 161]
Generated Node #0,4,2: 82:[88, 161] Operation: 66+95=161
Exploring Operation: 66+88=154, Resulting Numbers: [95, 154]
Generated Node #0,4,3: 82:[95, 154] Operation: 66+88=154
Exploring Operation: 95-88=7, Resulting Numbers: [66, 7]
Generated Node #0,4,4: 82:[66, 7] Operation: 95-88=7
Moving to Node #0,4,1
Current State: 82:[88, 29], Operations: ['34+61=95', '95-66=29']
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 88+29=117, Resulting Numbers: [117]
117,82 unequal: No Solution
Exploring Operation: 88*29=2552, Resulting Numbers: [2552]
2552,82 unequal: No Solution
Moving to Node #0,4,4
Current State: 82:[66, 7], Operations: ['34+61=95', '95-88=7']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,82 unequal: No Solution
Moving to Node #0,4,0
Current State: 82:[95, 22], Operations: ['34+61=95', '88-66=22']
Exploring Operation: 95-22=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Exploring Operation: 95+22=117, Resulting Numbers: [117]
117,82 unequal: No Solution
Exploring Operation: 95*22=2090, Resulting Numbers: [2090]
2090,82 unequal: No Solution
Moving to Node #0,4,2
Current State: 82:[88, 161], Operations: ['34+61=95', '66+95=161']
Exploring Operation: 88+161=249, Resulting Numbers: [249]
249,82 unequal: No Solution
Exploring Operation: 88*161=14168, Resulting Numbers: [14168]
14168,82 unequal: No Solution
Exploring Operation: 161-88=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Moving to Node #0,4,3
Current State: 82:[95, 154], Operations: ['34+61=95', '66+88=154']
Exploring Operation: 95*154=14630, Resulting Numbers: [14630]
14630,82 unequal: No Solution
Exploring Operation: 154-95=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 95+154=249, Resulting Numbers: [249]
249,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[66, 88, 27], Operations: ['61-34=27']
Exploring Operation: 88-66=22, Resulting Numbers: [27, 22]
Generated Node #0,3,0: 82:[27, 22] Operation: 88-66=22
Exploring Operation: 88-27=61, Resulting Numbers: [66, 61]
Generated Node #0,3,1: 82:[66, 61] Operation: 88-27=61
Exploring Operation: 66+27=93, Resulting Numbers: [88, 93]
Generated Node #0,3,2: 82:[88, 93] Operation: 66+27=93
Exploring Operation: 66-27=39, Resulting Numbers: [88, 39]
Generated Node #0,3,3: 82:[88, 39] Operation: 66-27=39
Exploring Operation: 88+27=115, Resulting Numbers: [66, 115]
Generated Node #0,3,4: 82:[66, 115] Operation: 88+27=115
Moving to Node #0,3,3
Current State: 82:[88, 39], Operations: ['61-34=27', '66-27=39']
Exploring Operation: 88*39=3432, Resulting Numbers: [3432]
3432,82 unequal: No Solution
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 88+39=127, Resulting Numbers: [127]
127,82 unequal: No Solution
Moving to Node #0,3,2
Current State: 82:[88, 93], Operations: ['61-34=27', '66+27=93']
Exploring Operation: 88*93=8184, Resulting Numbers: [8184]
8184,82 unequal: No Solution
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 88+93=181, Resulting Numbers: [181]
181,82 unequal: No Solution
Moving to Node #0,3,0
Current State: 82:[27, 22], Operations: ['61-34=27', '88-66=22']
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,82 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Moving to Node #0,3,1
Current State: 82:[66, 61], Operations: ['61-34=27', '88-27=61']
Exploring Operation: 66+61=127, Resulting Numbers: [127]
127,82 unequal: No Solution
Exploring Operation: 66-61=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 66*61=4026, Resulting Numbers: [4026]
4026,82 unequal: No Solution
Moving to Node #0,3,4
Current State: 82:[66, 115], Operations: ['61-34=27', '88+27=115']
Exploring Operation: 66+115=181, Resulting Numbers: [181]
181,82 unequal: No Solution
Exploring Operation: 115-66=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 66*115=7590, Resulting Numbers: [7590]
7590,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[66, 34, 27], Operations: ['88-61=27']
Exploring Operation: 34-27=7, Resulting Numbers: [66, 7]
Generated Node #0,0,0: 82:[66, 7] Operation: 34-27=7
Exploring Operation: 66+34=100, Resulting Numbers: [27, 100]
Generated Node #0,0,1: 82:[27, 100] Operation: 66+34=100
Exploring Operation: 66-34=32, Resulting Numbers: [27, 32]
Generated Node #0,0,2: 82:[27, 32] Operation: 66-34=32
Exploring Operation: 66-27=39, Resulting Numbers: [34, 39]
Generated Node #0,0,3: 82:[34, 39] Operation: 66-27=39
Exploring Operation: 66+27=93, Resulting Numbers: [34, 93]
Generated Node #0,0,4: 82:[34, 93] Operation: 66+27=93
Moving to Node #0,0,3
Current State: 82:[34, 39], Operations: ['88-61=27', '66-27=39']
Exploring Operation: 34+39=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 34*39=1326, Resulting Numbers: [1326]
1326,82 unequal: No Solution
Moving to Node #0,0,4
Current State: 82:[34, 93], Operations: ['88-61=27', '66+27=93']
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 34+93=127, Resulting Numbers: [127]
127,82 unequal: No Solution
Exploring Operation: 34*93=3162, Resulting Numbers: [3162]
3162,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[66, 7], Operations: ['88-61=27', '34-27=7']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[27, 32], Operations: ['88-61=27', '66-34=32']
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,82 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[27, 100], Operations: ['88-61=27', '66+34=100']
Exploring Operation: 100-27=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Exploring Operation: 27*100=2700, Resulting Numbers: [2700]
2700,82 unequal: No Solution
Exploring Operation: 27+100=127, Resulting Numbers: [127]
127,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
26,
32,
58,
19
] | 56 | [
"32-26=6",
"19*6=114",
"114-58=56"
] | Current State: 56:[26, 32, 58, 19], Operations: []
Exploring Operation: 32-26=6, Resulting Numbers: [58, 19, 6]
Generated Node #2: [58, 19, 6] from Operation: 32-26=6
Current State: 56:[58, 19, 6], Operations: ['32-26=6']
Exploring Operation: 19*6=114, Resulting Numbers: [58, 114]
Generated Node #3: [58, 114] from Operation: 19*6=114
Current State: 56:[58, 114], Operations: ['32-26=6', '19*6=114']
Exploring Operation: 114-58=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[26, 32, 58, 19], Operations: []
Exploring Operation: 32-19=13, Resulting Numbers: [26, 58, 13]
Generated Node #0,0: 56:[26, 58, 13] Operation: 32-19=13
Exploring Operation: 26-19=7, Resulting Numbers: [32, 58, 7]
Generated Node #0,1: 56:[32, 58, 7] Operation: 26-19=7
Moving to Node #0,0
Current State: 56:[26, 58, 13], Operations: ['32-19=13']
Exploring Operation: 26/13=2, Resulting Numbers: [58, 2]
Generated Node #0,0,0: 56:[58, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [58, 13]
Generated Node #0,0,1: 56:[58, 13] Operation: 26-13=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[58, 2], Operations: ['32-19=13', '26/13=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[26, 32, 58, 19], Operations: []
Exploring Operation: 32-19=13, Resulting Numbers: [26, 58, 13]
Generated Node #0,0: 56:[26, 58, 13] Operation: 32-19=13
Moving to Node #0,0
Current State: 56:[26, 58, 13], Operations: ['32-19=13']
Exploring Operation: 26/13=2, Resulting Numbers: [58, 2]
Generated Node #0,0,0: 56:[58, 2] Operation: 26/13=2
Moving to Node #0,0,0
Current State: 56:[58, 2], Operations: ['32-19=13', '26/13=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
60,
2,
12,
24
] | 31 | [
"60+2=62",
"24/12=2",
"62/2=31"
] | Current State: 31:[60, 2, 12, 24], Operations: []
Exploring Operation: 60+2=62, Resulting Numbers: [12, 24, 62]
Generated Node #2: [12, 24, 62] from Operation: 60+2=62
Current State: 31:[12, 24, 62], Operations: ['60+2=62']
Exploring Operation: 24/12=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 24/12=2
Current State: 31:[62, 2], Operations: ['60+2=62', '24/12=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[60, 2, 12, 24], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [12, 24, 30]
Generated Node #0,0: 31:[12, 24, 30] Operation: 60/2=30
Exploring Operation: 2*12=24, Resulting Numbers: [60, 24, 24]
Generated Node #0,1: 31:[60, 24, 24] Operation: 2*12=24
Moving to Node #0,0
Current State: 31:[12, 24, 30], Operations: ['60/2=30']
Exploring Operation: 12+30=42, Resulting Numbers: [24, 42]
Generated Node #0,0,0: 31:[24, 42] Operation: 12+30=42
Exploring Operation: 12+24=36, Resulting Numbers: [30, 36]
Generated Node #0,0,1: 31:[30, 36] Operation: 12+24=36
Moving to Node #0,1
Current State: 31:[60, 24, 24], Operations: ['2*12=24']
Exploring Operation: 60-24=36, Resulting Numbers: [24, 36]
Generated Node #0,1,0: 31:[24, 36] Operation: 60-24=36
Exploring Operation: 60-24=36, Resulting Numbers: [24, 36]
Generated Node #0,1,1: 31:[24, 36] Operation: 60-24=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[24, 36], Operations: ['2*12=24', '60-24=36']
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[24, 36], Operations: ['2*12=24', '60-24=36']
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 31:[30, 36], Operations: ['60/2=30', '12+24=36']
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[24, 42], Operations: ['60/2=30', '12+30=42']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,31 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
96,
25,
9,
90
] | 40 | [
"96+25=121",
"90-9=81",
"121-81=40"
] | Current State: 40:[96, 25, 9, 90], Operations: []
Exploring Operation: 96+25=121, Resulting Numbers: [9, 90, 121]
Generated Node #2: [9, 90, 121] from Operation: 96+25=121
Current State: 40:[9, 90, 121], Operations: ['96+25=121']
Exploring Operation: 90-9=81, Resulting Numbers: [121, 81]
Generated Node #3: [121, 81] from Operation: 90-9=81
Current State: 40:[121, 81], Operations: ['96+25=121', '90-9=81']
Exploring Operation: 121-81=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[96, 25, 9, 90], Operations: []
Exploring Operation: 96-25=71, Resulting Numbers: [9, 90, 71]
Generated Node #0,0: 40:[9, 90, 71] Operation: 96-25=71
Exploring Operation: 96-90=6, Resulting Numbers: [25, 9, 6]
Generated Node #0,1: 40:[25, 9, 6] Operation: 96-90=6
Exploring Operation: 90-25=65, Resulting Numbers: [96, 9, 65]
Generated Node #0,2: 40:[96, 9, 65] Operation: 90-25=65
Exploring Operation: 90/9=10, Resulting Numbers: [96, 25, 10]
Generated Node #0,3: 40:[96, 25, 10] Operation: 90/9=10
Moving to Node #0,1
Current State: 40:[25, 9, 6], Operations: ['96-90=6']
Exploring Operation: 25-9=16, Resulting Numbers: [6, 16]
Generated Node #0,1,0: 40:[6, 16] Operation: 25-9=16
Exploring Operation: 25+9=34, Resulting Numbers: [6, 34]
Generated Node #0,1,1: 40:[6, 34] Operation: 25+9=34
Exploring Operation: 25-6=19, Resulting Numbers: [9, 19]
Generated Node #0,1,2: 40:[9, 19] Operation: 25-6=19
Exploring Operation: 9-6=3, Resulting Numbers: [25, 3]
Generated Node #0,1,3: 40:[25, 3] Operation: 9-6=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 40:[9, 19], Operations: ['96-90=6', '25-6=19']
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,40 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[6, 16], Operations: ['96-90=6', '25-9=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,40 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 40:[25, 3], Operations: ['96-90=6', '9-6=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[6, 34], Operations: ['96-90=6', '25+9=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[96, 25, 9, 90], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [25, 9, 6]
Generated Node #0,1: 40:[25, 9, 6] Operation: 96-90=6
Moving to Node #0,1
Current State: 40:[25, 9, 6], Operations: ['96-90=6']
Exploring Operation: 25+9=34, Resulting Numbers: [6, 34]
Generated Node #0,1,1: 40:[6, 34] Operation: 25+9=34
Moving to Node #0,1,1
Current State: 40:[6, 34], Operations: ['96-90=6', '25+9=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
40,
13,
13,
75
] | 61 | [
"40-13=27",
"13+75=88",
"88-27=61"
] | Current State: 61:[40, 13, 13, 75], Operations: []
Exploring Operation: 40-13=27, Resulting Numbers: [75, 27]
Generated Node #2: [75, 27] from Operation: 40-13=27
Current State: 61:[75, 27], Operations: ['40-13=27']
Exploring Operation: 13+75=88, Resulting Numbers: [27, 88]
Generated Node #3: [27, 88] from Operation: 13+75=88
Current State: 61:[27, 88], Operations: ['40-13=27', '13+75=88']
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[40, 13, 13, 75], Operations: []
Exploring Operation: 40+13=53, Resulting Numbers: [13, 75, 53]
Generated Node #0,0: 61:[13, 75, 53] Operation: 40+13=53
Exploring Operation: 40+13=53, Resulting Numbers: [13, 75, 53]
Generated Node #0,1: 61:[13, 75, 53] Operation: 40+13=53
Moving to Node #0,0
Current State: 61:[13, 75, 53], Operations: ['40+13=53']
Exploring Operation: 13+53=66, Resulting Numbers: [75, 66]
Generated Node #0,0,0: 61:[75, 66] Operation: 13+53=66
Exploring Operation: 75-13=62, Resulting Numbers: [53, 62]
Generated Node #0,0,1: 61:[53, 62] Operation: 75-13=62
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[53, 62], Operations: ['40+13=53', '75-13=62']
Exploring Operation: 53+62=115, Resulting Numbers: [115]
115,61 unequal: No Solution
Exploring Operation: 62-53=9, Resulting Numbers: [9]
9,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,0
Current State: 61:[75, 66], Operations: ['40+13=53', '13+53=66']
Exploring Operation: 75+66=141, Resulting Numbers: [141]
141,61 unequal: No Solution
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 61:[13, 75, 53], Operations: ['40+13=53']
Exploring Operation: 75-13=62, Resulting Numbers: [53, 62]
Generated Node #0,1,0: 61:[53, 62] Operation: 75-13=62
Exploring Operation: 13+53=66, Resulting Numbers: [75, 66]
Generated Node #0,1,1: 61:[75, 66] Operation: 13+53=66
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[53, 62], Operations: ['40+13=53', '75-13=62']
Exploring Operation: 62-53=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 53+62=115, Resulting Numbers: [115]
115,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[75, 66], Operations: ['40+13=53', '13+53=66']
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 75+66=141, Resulting Numbers: [141]
141,61 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 |
[
39,
68,
73,
18
] | 52 | [
"39+68=107",
"73-18=55",
"107-55=52"
] | Current State: 52:[39, 68, 73, 18], Operations: []
Exploring Operation: 39+68=107, Resulting Numbers: [73, 18, 107]
Generated Node #2: [73, 18, 107] from Operation: 39+68=107
Current State: 52:[73, 18, 107], Operations: ['39+68=107']
Exploring Operation: 73-18=55, Resulting Numbers: [107, 55]
Generated Node #3: [107, 55] from Operation: 73-18=55
Current State: 52:[107, 55], Operations: ['39+68=107', '73-18=55']
Exploring Operation: 107-55=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[39, 68, 73, 18], Operations: []
Exploring Operation: 73-68=5, Resulting Numbers: [39, 18, 5]
Generated Node #0,0: 52:[39, 18, 5] Operation: 73-68=5
Exploring Operation: 68-39=29, Resulting Numbers: [73, 18, 29]
Generated Node #0,1: 52:[73, 18, 29] Operation: 68-39=29
Exploring Operation: 73-39=34, Resulting Numbers: [68, 18, 34]
Generated Node #0,2: 52:[68, 18, 34] Operation: 73-39=34
Moving to Node #0,0
Current State: 52:[39, 18, 5], Operations: ['73-68=5']
Exploring Operation: 39-18=21, Resulting Numbers: [5, 21]
Generated Node #0,0,0: 52:[5, 21] Operation: 39-18=21
Exploring Operation: 39+18=57, Resulting Numbers: [5, 57]
Generated Node #0,0,1: 52:[5, 57] Operation: 39+18=57
Exploring Operation: 39+5=44, Resulting Numbers: [18, 44]
Generated Node #0,0,2: 52:[18, 44] Operation: 39+5=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[5, 21], Operations: ['73-68=5', '39-18=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,52 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[5, 57], Operations: ['73-68=5', '39+18=57']
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[39, 68, 73, 18], Operations: []
Exploring Operation: 73-68=5, Resulting Numbers: [39, 18, 5]
Generated Node #0,0: 52:[39, 18, 5] Operation: 73-68=5
Moving to Node #0,0
Current State: 52:[39, 18, 5], Operations: ['73-68=5']
Exploring Operation: 39+18=57, Resulting Numbers: [5, 57]
Generated Node #0,0,1: 52:[5, 57] Operation: 39+18=57
Moving to Node #0,0,1
Current State: 52:[5, 57], Operations: ['73-68=5', '39+18=57']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
3,
10,
10,
4
] | 75 | [
"3*10=30",
"10*30=300",
"300/4=75"
] | Current State: 75:[3, 10, 10, 4], Operations: []
Exploring Operation: 3*10=30, Resulting Numbers: [4, 30]
Generated Node #2: [4, 30] from Operation: 3*10=30
Current State: 75:[4, 30], Operations: ['3*10=30']
Exploring Operation: 10*30=300, Resulting Numbers: [4, 300]
Generated Node #3: [4, 300] from Operation: 10*30=300
Current State: 75:[4, 300], Operations: ['3*10=30', '10*30=300']
Exploring Operation: 300/4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[3, 10, 10, 4], Operations: []
Exploring Operation: 10-10=0, Resulting Numbers: [3, 4, 0]
Generated Node #0,0: 75:[3, 4, 0] Operation: 10-10=0
Exploring Operation: 10+4=14, Resulting Numbers: [3, 10, 14]
Generated Node #0,1: 75:[3, 10, 14] Operation: 10+4=14
Exploring Operation: 10+10=20, Resulting Numbers: [3, 4, 20]
Generated Node #0,2: 75:[3, 4, 20] Operation: 10+10=20
Exploring Operation: 10/10=1, Resulting Numbers: [3, 4, 1]
Generated Node #0,3: 75:[3, 4, 1] Operation: 10/10=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[3, 4, 1], Operations: ['10/10=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3, 3]
Generated Node #0,3,0: 75:[3, 3] Operation: 4-1=3
Exploring Operation: 4+1=5, Resulting Numbers: [3, 5]
Generated Node #0,3,1: 75:[3, 5] Operation: 4+1=5
Exploring Operation: 3/1=3, Resulting Numbers: [4, 3]
Generated Node #0,3,2: 75:[4, 3] Operation: 3/1=3
Exploring Operation: 3*1=3, Resulting Numbers: [4, 3]
Generated Node #0,3,3: 75:[4, 3] Operation: 3*1=3
Moving to Node #0,3,0
Current State: 75:[3, 3], Operations: ['10/10=1', '4-1=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Moving to Node #0,3,1
Current State: 75:[3, 5], Operations: ['10/10=1', '4+1=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Moving to Node #0,3,3
Current State: 75:[4, 3], Operations: ['10/10=1', '3*1=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Moving to Node #0,3,2
Current State: 75:[4, 3], Operations: ['10/10=1', '3/1=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,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
Current State: 75:[3, 4, 0], Operations: ['10-10=0']
Exploring Operation: 3+0=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 75:[4, 3] Operation: 3+0=3
Exploring Operation: 4-0=4, Resulting Numbers: [3, 4]
Generated Node #0,0,1: 75:[3, 4] Operation: 4-0=4
Exploring Operation: 3-0=3, Resulting Numbers: [4, 3]
Generated Node #0,0,2: 75:[4, 3] Operation: 3-0=3
Exploring Operation: 4+0=4, Resulting Numbers: [3, 4]
Generated Node #0,0,3: 75:[3, 4] Operation: 4+0=4
Moving to Node #0,0,0
Current State: 75:[4, 3], Operations: ['10-10=0', '3+0=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[4, 3], Operations: ['10-10=0', '3-0=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[3, 4], Operations: ['10-10=0', '4-0=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[3, 4], Operations: ['10-10=0', '4+0=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,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
Current State: 75:[3, 10, 14], Operations: ['10+4=14']
Exploring Operation: 3+10=13, Resulting Numbers: [14, 13]
Generated Node #0,1,0: 75:[14, 13] Operation: 3+10=13
Exploring Operation: 10+14=24, Resulting Numbers: [3, 24]
Generated Node #0,1,1: 75:[3, 24] Operation: 10+14=24
Exploring Operation: 14-10=4, Resulting Numbers: [3, 4]
Generated Node #0,1,2: 75:[3, 4] Operation: 14-10=4
Exploring Operation: 10-3=7, Resulting Numbers: [14, 7]
Generated Node #0,1,3: 75:[14, 7] Operation: 10-3=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[3, 24], Operations: ['10+4=14', '10+14=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,75 unequal: No Solution
No 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: 75:[3, 4], Operations: ['10+4=14', '14-10=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,75 unequal: No Solution
No 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: 75:[14, 13], Operations: ['10+4=14', '3+10=13']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,75 unequal: No Solution
No 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: 75:[14, 7], Operations: ['10+4=14', '10-3=7']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[3, 4, 20], Operations: ['10+10=20']
Exploring Operation: 20-4=16, Resulting Numbers: [3, 16]
Generated Node #0,2,0: 75:[3, 16] Operation: 20-4=16
Exploring Operation: 3+20=23, Resulting Numbers: [4, 23]
Generated Node #0,2,1: 75:[4, 23] Operation: 3+20=23
Exploring Operation: 4+20=24, Resulting Numbers: [3, 24]
Generated Node #0,2,2: 75:[3, 24] Operation: 4+20=24
Exploring Operation: 20/4=5, Resulting Numbers: [3, 5]
Generated Node #0,2,3: 75:[3, 5] Operation: 20/4=5
Moving to Node #0,2,3
Current State: 75:[3, 5], Operations: ['10+10=20', '20/4=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[3, 24], Operations: ['10+10=20', '4+20=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[3, 16], Operations: ['10+10=20', '20-4=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[4, 23], Operations: ['10+10=20', '3+20=23']
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,75 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,75 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 |
[
39,
66,
51,
42
] | 12 | [
"39+66=105",
"51+42=93",
"105-93=12"
] | Current State: 12:[39, 66, 51, 42], Operations: []
Exploring Operation: 39+66=105, Resulting Numbers: [51, 42, 105]
Generated Node #2: [51, 42, 105] from Operation: 39+66=105
Current State: 12:[51, 42, 105], Operations: ['39+66=105']
Exploring Operation: 51+42=93, Resulting Numbers: [105, 93]
Generated Node #3: [105, 93] from Operation: 51+42=93
Current State: 12:[105, 93], Operations: ['39+66=105', '51+42=93']
Exploring Operation: 105-93=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[39, 66, 51, 42], Operations: []
Exploring Operation: 66-51=15, Resulting Numbers: [39, 42, 15]
Generated Node #0,0: 12:[39, 42, 15] Operation: 66-51=15
Moving to Node #0,0
Current State: 12:[39, 42, 15], Operations: ['66-51=15']
Exploring Operation: 42-39=3, Resulting Numbers: [15, 3]
Generated Node #0,0,0: 12:[15, 3] Operation: 42-39=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[15, 3], Operations: ['66-51=15', '42-39=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[39, 66, 51, 42], Operations: []
Exploring Operation: 66-51=15, Resulting Numbers: [39, 42, 15]
Generated Node #0,0: 12:[39, 42, 15] Operation: 66-51=15
Moving to Node #0,0
Current State: 12:[39, 42, 15], Operations: ['66-51=15']
Exploring Operation: 42-39=3, Resulting Numbers: [15, 3]
Generated Node #0,0,0: 12:[15, 3] Operation: 42-39=3
Moving to Node #0,0,0
Current State: 12:[15, 3], Operations: ['66-51=15', '42-39=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
15,
23,
48,
19
] | 11 | [
"19-15=4",
"48/4=12",
"23-12=11"
] | Current State: 11:[15, 23, 48, 19], Operations: []
Exploring Operation: 19-15=4, Resulting Numbers: [23, 48, 4]
Generated Node #2: [23, 48, 4] from Operation: 19-15=4
Current State: 11:[23, 48, 4], Operations: ['19-15=4']
Exploring Operation: 48/4=12, Resulting Numbers: [23, 12]
Generated Node #3: [23, 12] from Operation: 48/4=12
Current State: 11:[23, 12], Operations: ['19-15=4', '48/4=12']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[15, 23, 48, 19], Operations: []
Exploring Operation: 48-23=25, Resulting Numbers: [15, 19, 25]
Generated Node #0,0: 11:[15, 19, 25] Operation: 48-23=25
Exploring Operation: 23-15=8, Resulting Numbers: [48, 19, 8]
Generated Node #0,1: 11:[48, 19, 8] Operation: 23-15=8
Exploring Operation: 23-19=4, Resulting Numbers: [15, 48, 4]
Generated Node #0,2: 11:[15, 48, 4] Operation: 23-19=4
Exploring Operation: 48-15=33, Resulting Numbers: [23, 19, 33]
Generated Node #0,3: 11:[23, 19, 33] Operation: 48-15=33
Exploring Operation: 48-19=29, Resulting Numbers: [15, 23, 29]
Generated Node #0,4: 11:[15, 23, 29] Operation: 48-19=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[15, 19, 25], Operations: ['48-23=25']
Exploring Operation: 15+19=34, Resulting Numbers: [25, 34]
Generated Node #0,0,0: 11:[25, 34] Operation: 15+19=34
Exploring Operation: 15+25=40, Resulting Numbers: [19, 40]
Generated Node #0,0,1: 11:[19, 40] Operation: 15+25=40
Exploring Operation: 19-15=4, Resulting Numbers: [25, 4]
Generated Node #0,0,2: 11:[25, 4] Operation: 19-15=4
Exploring Operation: 25-19=6, Resulting Numbers: [15, 6]
Generated Node #0,0,3: 11:[15, 6] Operation: 25-19=6
Exploring Operation: 25-15=10, Resulting Numbers: [19, 10]
Generated Node #0,0,4: 11:[19, 10] Operation: 25-15=10
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 11:[15, 6], Operations: ['48-23=25', '25-19=6']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,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,4
Current State: 11:[19, 10], Operations: ['48-23=25', '25-15=10']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,11 unequal: No Solution
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,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,2
Current State: 11:[25, 4], Operations: ['48-23=25', '19-15=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,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,0
Current State: 11:[25, 34], Operations: ['48-23=25', '15+19=34']
Exploring Operation: 25*34=850, Resulting Numbers: [850]
850,11 unequal: No Solution
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,11 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,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:[19, 40], Operations: ['48-23=25', '15+25=40']
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,11 unequal: No Solution
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,11 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,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,4
Current State: 11:[15, 23, 29], Operations: ['48-19=29']
Exploring Operation: 29-23=6, Resulting Numbers: [15, 6]
Generated Node #0,4,0: 11:[15, 6] Operation: 29-23=6
Exploring Operation: 23-15=8, Resulting Numbers: [29, 8]
Generated Node #0,4,1: 11:[29, 8] Operation: 23-15=8
Exploring Operation: 15+23=38, Resulting Numbers: [29, 38]
Generated Node #0,4,2: 11:[29, 38] Operation: 15+23=38
Exploring Operation: 15+29=44, Resulting Numbers: [23, 44]
Generated Node #0,4,3: 11:[23, 44] Operation: 15+29=44
Exploring Operation: 29-15=14, Resulting Numbers: [23, 14]
Generated Node #0,4,4: 11:[23, 14] Operation: 29-15=14
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 11:[15, 6], Operations: ['48-19=29', '29-23=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,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,4,4
Current State: 11:[23, 14], Operations: ['48-19=29', '29-15=14']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,11 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,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,4,1
Current State: 11:[29, 8], Operations: ['48-19=29', '23-15=8']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,11 unequal: No Solution
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,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,4,2
Current State: 11:[29, 38], Operations: ['48-19=29', '15+23=38']
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,11 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,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,4,3
Current State: 11:[23, 44], Operations: ['48-19=29', '15+29=44']
Exploring Operation: 23*44=1012, Resulting Numbers: [1012]
1012,11 unequal: No Solution
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,11 unequal: No Solution
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,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,3
Current State: 11:[23, 19, 33], Operations: ['48-15=33']
Exploring Operation: 23-19=4, Resulting Numbers: [33, 4]
Generated Node #0,3,0: 11:[33, 4] Operation: 23-19=4
Exploring Operation: 33-19=14, Resulting Numbers: [23, 14]
Generated Node #0,3,1: 11:[23, 14] Operation: 33-19=14
Exploring Operation: 23+33=56, Resulting Numbers: [19, 56]
Generated Node #0,3,2: 11:[19, 56] Operation: 23+33=56
Exploring Operation: 23+19=42, Resulting Numbers: [33, 42]
Generated Node #0,3,3: 11:[33, 42] Operation: 23+19=42
Exploring Operation: 33-23=10, Resulting Numbers: [19, 10]
Generated Node #0,3,4: 11:[19, 10] Operation: 33-23=10
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 11:[19, 10], Operations: ['48-15=33', '33-23=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,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,3,1
Current State: 11:[23, 14], Operations: ['48-15=33', '33-19=14']
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,11 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,11 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,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,3,0
Current State: 11:[33, 4], Operations: ['48-15=33', '23-19=4']
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,11 unequal: No Solution
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,11 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,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,3,2
Current State: 11:[19, 56], Operations: ['48-15=33', '23+33=56']
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,11 unequal: No Solution
Exploring Operation: 19+56=75, Resulting Numbers: [75]
75,11 unequal: No Solution
Exploring Operation: 19*56=1064, Resulting Numbers: [1064]
1064,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,3,3
Current State: 11:[33, 42], Operations: ['48-15=33', '23+19=42']
Exploring Operation: 33+42=75, Resulting Numbers: [75]
75,11 unequal: No Solution
Exploring Operation: 33*42=1386, Resulting Numbers: [1386]
1386,11 unequal: No Solution
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[48, 19, 8], Operations: ['23-15=8']
Exploring Operation: 48-19=29, Resulting Numbers: [8, 29]
Generated Node #0,1,0: 11:[8, 29] Operation: 48-19=29
Exploring Operation: 48+8=56, Resulting Numbers: [19, 56]
Generated Node #0,1,1: 11:[19, 56] Operation: 48+8=56
Exploring Operation: 48-8=40, Resulting Numbers: [19, 40]
Generated Node #0,1,2: 11:[19, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [19, 6]
Generated Node #0,1,3: 11:[19, 6] Operation: 48/8=6
Exploring Operation: 19-8=11, Resulting Numbers: [48, 11]
Generated Node #0,1,4: 11:[48, 11] Operation: 19-8=11
Moving to Node #0,1,3
Current State: 11:[19, 6], Operations: ['23-15=8', '48/8=6']
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,11 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[8, 29], Operations: ['23-15=8', '48-19=29']
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,11 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[19, 40], Operations: ['23-15=8', '48-8=40']
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,11 unequal: No Solution
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,11 unequal: No Solution
Moving to Node #0,1,4
Current State: 11:[48, 11], Operations: ['23-15=8', '19-8=11']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,11 unequal: No Solution
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,11 unequal: No Solution
Exploring Operation: 48*11=528, Resulting Numbers: [528]
528,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[19, 56], Operations: ['23-15=8', '48+8=56']
Exploring Operation: 19*56=1064, Resulting Numbers: [1064]
1064,11 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,11 unequal: No Solution
Exploring Operation: 19+56=75, Resulting Numbers: [75]
75,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,2
Current State: 11:[15, 48, 4], Operations: ['23-19=4']
Exploring Operation: 15-4=11, Resulting Numbers: [48, 11]
Generated Node #0,2,0: 11:[48, 11] Operation: 15-4=11
Exploring Operation: 48/4=12, Resulting Numbers: [15, 12]
Generated Node #0,2,1: 11:[15, 12] Operation: 48/4=12
Exploring Operation: 15+4=19, Resulting Numbers: [48, 19]
Generated Node #0,2,2: 11:[48, 19] Operation: 15+4=19
Exploring Operation: 48-15=33, Resulting Numbers: [4, 33]
Generated Node #0,2,3: 11:[4, 33] Operation: 48-15=33
Exploring Operation: 48-4=44, Resulting Numbers: [15, 44]
Generated Node #0,2,4: 11:[15, 44] Operation: 48-4=44
Moving to Node #0,2,1
Current State: 11:[15, 12], Operations: ['23-19=4', '48/4=12']
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,11 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[4, 33], Operations: ['23-19=4', '48-15=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,11 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[48, 11], Operations: ['23-19=4', '15-4=11']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,11 unequal: No Solution
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,11 unequal: No Solution
Exploring Operation: 48*11=528, Resulting Numbers: [528]
528,11 unequal: No Solution
Moving to Node #0,2,4
Current State: 11:[15, 44], Operations: ['23-19=4', '48-4=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,11 unequal: No Solution
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[48, 19], Operations: ['23-19=4', '15+4=19']
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,11 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
88,
11,
92,
2
] | 62 | [
"88-11=77",
"2*77=154",
"154-92=62"
] | Current State: 62:[88, 11, 92, 2], Operations: []
Exploring Operation: 88-11=77, Resulting Numbers: [92, 2, 77]
Generated Node #2: [92, 2, 77] from Operation: 88-11=77
Current State: 62:[92, 2, 77], Operations: ['88-11=77']
Exploring Operation: 2*77=154, Resulting Numbers: [92, 154]
Generated Node #3: [92, 154] from Operation: 2*77=154
Current State: 62:[92, 154], Operations: ['88-11=77', '2*77=154']
Exploring Operation: 154-92=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[88, 11, 92, 2], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [11, 2, 4]
Generated Node #0,0: 62:[11, 2, 4] Operation: 92-88=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[11, 2, 4], Operations: ['92-88=4']
Exploring Operation: 11-4=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 62:[2, 7] Operation: 11-4=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[2, 7], Operations: ['92-88=4', '11-4=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
15,
93,
74,
77
] | 26 | [
"93-15=78",
"77-74=3",
"78/3=26"
] | Current State: 26:[15, 93, 74, 77], Operations: []
Exploring Operation: 93-15=78, Resulting Numbers: [74, 77, 78]
Generated Node #2: [74, 77, 78] from Operation: 93-15=78
Current State: 26:[74, 77, 78], Operations: ['93-15=78']
Exploring Operation: 77-74=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 77-74=3
Current State: 26:[78, 3], Operations: ['93-15=78', '77-74=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[15, 93, 74, 77], Operations: []
Exploring Operation: 93-77=16, Resulting Numbers: [15, 74, 16]
Generated Node #0,0: 26:[15, 74, 16] Operation: 93-77=16
Exploring Operation: 74-15=59, Resulting Numbers: [93, 77, 59]
Generated Node #0,1: 26:[93, 77, 59] Operation: 74-15=59
Exploring Operation: 93-15=78, Resulting Numbers: [74, 77, 78]
Generated Node #0,2: 26:[74, 77, 78] Operation: 93-15=78
Exploring Operation: 93-74=19, Resulting Numbers: [15, 77, 19]
Generated Node #0,3: 26:[15, 77, 19] Operation: 93-74=19
Exploring Operation: 77-74=3, Resulting Numbers: [15, 93, 3]
Generated Node #0,4: 26:[15, 93, 3] Operation: 77-74=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[15, 74, 16], Operations: ['93-77=16']
Exploring Operation: 74-16=58, Resulting Numbers: [15, 58]
Generated Node #0,0,0: 26:[15, 58] Operation: 74-16=58
Exploring Operation: 15+16=31, Resulting Numbers: [74, 31]
Generated Node #0,0,1: 26:[74, 31] Operation: 15+16=31
Exploring Operation: 15+74=89, Resulting Numbers: [16, 89]
Generated Node #0,0,2: 26:[16, 89] Operation: 15+74=89
Exploring Operation: 74-15=59, Resulting Numbers: [16, 59]
Generated Node #0,0,3: 26:[16, 59] Operation: 74-15=59
Exploring Operation: 16-15=1, Resulting Numbers: [74, 1]
Generated Node #0,0,4: 26:[74, 1] Operation: 16-15=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[15, 58], Operations: ['93-77=16', '74-16=58']
Exploring Operation: 15+58=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 15*58=870, Resulting Numbers: [870]
870,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 26:[16, 59], Operations: ['93-77=16', '74-15=59']
Exploring Operation: 16+59=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 16*59=944, Resulting Numbers: [944]
944,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 26:[74, 1], Operations: ['93-77=16', '16-15=1']
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[74, 31], Operations: ['93-77=16', '15+16=31']
Exploring Operation: 74+31=105, Resulting Numbers: [105]
105,26 unequal: No Solution
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 74*31=2294, Resulting Numbers: [2294]
2294,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 26:[16, 89], Operations: ['93-77=16', '15+74=89']
Exploring Operation: 16+89=105, Resulting Numbers: [105]
105,26 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 16*89=1424, Resulting Numbers: [1424]
1424,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[15, 77, 19], Operations: ['93-74=19']
Exploring Operation: 77-15=62, Resulting Numbers: [19, 62]
Generated Node #0,3,0: 26:[19, 62] Operation: 77-15=62
Exploring Operation: 77-19=58, Resulting Numbers: [15, 58]
Generated Node #0,3,1: 26:[15, 58] Operation: 77-19=58
Exploring Operation: 15+19=34, Resulting Numbers: [77, 34]
Generated Node #0,3,2: 26:[77, 34] Operation: 15+19=34
Exploring Operation: 15+77=92, Resulting Numbers: [19, 92]
Generated Node #0,3,3: 26:[19, 92] Operation: 15+77=92
Exploring Operation: 19-15=4, Resulting Numbers: [77, 4]
Generated Node #0,3,4: 26:[77, 4] Operation: 19-15=4
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 26:[15, 58], Operations: ['93-74=19', '77-19=58']
Exploring Operation: 15+58=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 15*58=870, Resulting Numbers: [870]
870,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[19, 62], Operations: ['93-74=19', '77-15=62']
Exploring Operation: 19+62=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 19*62=1178, Resulting Numbers: [1178]
1178,26 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 26:[77, 4], Operations: ['93-74=19', '19-15=4']
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,26 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 26:[77, 34], Operations: ['93-74=19', '15+19=34']
Exploring Operation: 77*34=2618, Resulting Numbers: [2618]
2618,26 unequal: No Solution
Exploring Operation: 77+34=111, Resulting Numbers: [111]
111,26 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 26:[19, 92], Operations: ['93-74=19', '15+77=92']
Exploring Operation: 19*92=1748, Resulting Numbers: [1748]
1748,26 unequal: No Solution
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 19+92=111, Resulting Numbers: [111]
111,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 26:[15, 93, 3], Operations: ['77-74=3']
Exploring Operation: 93/3=31, Resulting Numbers: [15, 31]
Generated Node #0,4,0: 26:[15, 31] Operation: 93/3=31
Exploring Operation: 93-3=90, Resulting Numbers: [15, 90]
Generated Node #0,4,1: 26:[15, 90] Operation: 93-3=90
Exploring Operation: 15/3=5, Resulting Numbers: [93, 5]
Generated Node #0,4,2: 26:[93, 5] Operation: 15/3=5
Exploring Operation: 93-15=78, Resulting Numbers: [3, 78]
Generated Node #0,4,3: 26:[3, 78] Operation: 93-15=78
Exploring Operation: 15-3=12, Resulting Numbers: [93, 12]
Generated Node #0,4,4: 26:[93, 12] Operation: 15-3=12
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 26:[15, 31], Operations: ['77-74=3', '93/3=31']
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,26 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 26:[3, 78], Operations: ['77-74=3', '93-15=78']
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,26 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[15, 93, 74, 77], Operations: []
Exploring Operation: 77-74=3, Resulting Numbers: [15, 93, 3]
Generated Node #0,4: 26:[15, 93, 3] Operation: 77-74=3
Moving to Node #0,4
Current State: 26:[15, 93, 3], Operations: ['77-74=3']
Exploring Operation: 93-15=78, Resulting Numbers: [3, 78]
Generated Node #0,4,3: 26:[3, 78] Operation: 93-15=78
Moving to Node #0,4,3
Current State: 26:[3, 78], Operations: ['77-74=3', '93-15=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947917 | hs_5 | mult_heuristic |
[
48,
48,
54,
57
] | 15 | [
"48+48=96",
"54+57=111",
"111-96=15"
] | Current State: 15:[48, 48, 54, 57], Operations: []
Exploring Operation: 48+48=96, Resulting Numbers: [54, 57, 96]
Generated Node #2: [54, 57, 96] from Operation: 48+48=96
Current State: 15:[54, 57, 96], Operations: ['48+48=96']
Exploring Operation: 54+57=111, Resulting Numbers: [96, 111]
Generated Node #3: [96, 111] from Operation: 54+57=111
Current State: 15:[96, 111], Operations: ['48+48=96', '54+57=111']
Exploring Operation: 111-96=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[48, 48, 54, 57], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [48, 48, 3]
Generated Node #0,0: 15:[48, 48, 3] Operation: 57-54=3
Moving to Node #0,0
Current State: 15:[48, 48, 3], Operations: ['57-54=3']
Exploring Operation: 48/48=1, Resulting Numbers: [3, 1]
Generated Node #0,0,0: 15:[3, 1] Operation: 48/48=1
Moving to Node #0,0,0
Current State: 15:[3, 1], Operations: ['57-54=3', '48/48=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,15 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
33,
29,
83,
58
] | 87 | [
"33+29=62",
"83-58=25",
"62+25=87"
] | Current State: 87:[33, 29, 83, 58], Operations: []
Exploring Operation: 33+29=62, Resulting Numbers: [83, 58, 62]
Generated Node #2: [83, 58, 62] from Operation: 33+29=62
Current State: 87:[83, 58, 62], Operations: ['33+29=62']
Exploring Operation: 83-58=25, Resulting Numbers: [62, 25]
Generated Node #3: [62, 25] from Operation: 83-58=25
Current State: 87:[62, 25], Operations: ['33+29=62', '83-58=25']
Exploring Operation: 62+25=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[33, 29, 83, 58], Operations: []
Exploring Operation: 58-33=25, Resulting Numbers: [29, 83, 25]
Generated Node #0,0: 87:[29, 83, 25] Operation: 58-33=25
Exploring Operation: 29+58=87, Resulting Numbers: [33, 83, 87]
Generated Node #0,1: 87:[33, 83, 87] Operation: 29+58=87
Exploring Operation: 33+58=91, Resulting Numbers: [29, 83, 91]
Generated Node #0,2: 87:[29, 83, 91] Operation: 33+58=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[29, 83, 25], Operations: ['58-33=25']
Exploring Operation: 29+83=112, Resulting Numbers: [25, 112]
Generated Node #0,0,0: 87:[25, 112] Operation: 29+83=112
Exploring Operation: 83+25=108, Resulting Numbers: [29, 108]
Generated Node #0,0,1: 87:[29, 108] Operation: 83+25=108
Exploring Operation: 29-25=4, Resulting Numbers: [83, 4]
Generated Node #0,0,2: 87:[83, 4] Operation: 29-25=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[83, 4], Operations: ['58-33=25', '29-25=4']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,87 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[33, 29, 83, 58], Operations: []
Exploring Operation: 58-33=25, Resulting Numbers: [29, 83, 25]
Generated Node #0,0: 87:[29, 83, 25] Operation: 58-33=25
Moving to Node #0,0
Current State: 87:[29, 83, 25], Operations: ['58-33=25']
Exploring Operation: 29-25=4, Resulting Numbers: [83, 4]
Generated Node #0,0,2: 87:[83, 4] Operation: 29-25=4
Moving to Node #0,0,2
Current State: 87:[83, 4], Operations: ['58-33=25', '29-25=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
57,
6,
10,
62
] | 90 | [
"57-10=47",
"62-47=15",
"6*15=90"
] | Current State: 90:[57, 6, 10, 62], Operations: []
Exploring Operation: 57-10=47, Resulting Numbers: [6, 62, 47]
Generated Node #2: [6, 62, 47] from Operation: 57-10=47
Current State: 90:[6, 62, 47], Operations: ['57-10=47']
Exploring Operation: 62-47=15, Resulting Numbers: [6, 15]
Generated Node #3: [6, 15] from Operation: 62-47=15
Current State: 90:[6, 15], Operations: ['57-10=47', '62-47=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[57, 6, 10, 62], Operations: []
Exploring Operation: 57-6=51, Resulting Numbers: [10, 62, 51]
Generated Node #0,0: 90:[10, 62, 51] Operation: 57-6=51
Exploring Operation: 62-57=5, Resulting Numbers: [6, 10, 5]
Generated Node #0,1: 90:[6, 10, 5] Operation: 62-57=5
Exploring Operation: 62-10=52, Resulting Numbers: [57, 6, 52]
Generated Node #0,2: 90:[57, 6, 52] Operation: 62-10=52
Exploring Operation: 57-10=47, Resulting Numbers: [6, 62, 47]
Generated Node #0,3: 90:[6, 62, 47] Operation: 57-10=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[6, 10, 5], Operations: ['62-57=5']
Exploring Operation: 10-5=5, Resulting Numbers: [6, 5]
Generated Node #0,1,0: 90:[6, 5] Operation: 10-5=5
Exploring Operation: 10+5=15, Resulting Numbers: [6, 15]
Generated Node #0,1,1: 90:[6, 15] Operation: 10+5=15
Exploring Operation: 10/5=2, Resulting Numbers: [6, 2]
Generated Node #0,1,2: 90:[6, 2] Operation: 10/5=2
Exploring Operation: 6*5=30, Resulting Numbers: [10, 30]
Generated Node #0,1,3: 90:[10, 30] Operation: 6*5=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[6, 5], Operations: ['62-57=5', '10-5=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[6, 15], Operations: ['62-57=5', '10+5=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[57, 6, 10, 62], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [6, 10, 5]
Generated Node #0,1: 90:[6, 10, 5] Operation: 62-57=5
Moving to Node #0,1
Current State: 90:[6, 10, 5], Operations: ['62-57=5']
Exploring Operation: 10+5=15, Resulting Numbers: [6, 15]
Generated Node #0,1,1: 90:[6, 15] Operation: 10+5=15
Moving to Node #0,1,1
Current State: 90:[6, 15], Operations: ['62-57=5', '10+5=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
14,
14,
34,
99
] | 99 | [
"14-14=0",
"34*0=0",
"99+0=99"
] | Current State: 99:[14, 14, 34, 99], Operations: []
Exploring Operation: 14-14=0, Resulting Numbers: [34, 99, 0]
Generated Node #2: [34, 99, 0] from Operation: 14-14=0
Current State: 99:[34, 99, 0], Operations: ['14-14=0']
Exploring Operation: 34*0=0, Resulting Numbers: [99, 0]
Generated Node #3: [99, 0] from Operation: 34*0=0
Current State: 99:[99, 0], Operations: ['14-14=0', '34*0=0']
Exploring Operation: 99+0=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[14, 14, 34, 99], Operations: []
Exploring Operation: 14/14=1, Resulting Numbers: [34, 99, 1]
Generated Node #0,0: 99:[34, 99, 1] Operation: 14/14=1
Exploring Operation: 14-14=0, Resulting Numbers: [34, 99, 0]
Generated Node #0,1: 99:[34, 99, 0] Operation: 14-14=0
Exploring Operation: 14+14=28, Resulting Numbers: [34, 99, 28]
Generated Node #0,2: 99:[34, 99, 28] Operation: 14+14=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[34, 99, 1], Operations: ['14/14=1']
Exploring Operation: 34-1=33, Resulting Numbers: [99, 33]
Generated Node #0,0,0: 99:[99, 33] Operation: 34-1=33
Exploring Operation: 34*1=34, Resulting Numbers: [99, 34]
Generated Node #0,0,1: 99:[99, 34] Operation: 34*1=34
Exploring Operation: 34/1=34, Resulting Numbers: [99, 34]
Generated Node #0,0,2: 99:[99, 34] Operation: 34/1=34
Moving to Node #0,0,0
Current State: 99:[99, 33], Operations: ['14/14=1', '34-1=33']
Exploring Operation: 99/33=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 99-33=66, Resulting Numbers: [66]
66,99 unequal: No Solution
Exploring Operation: 99+33=132, Resulting Numbers: [132]
132,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[99, 34], Operations: ['14/14=1', '34*1=34']
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 99+34=133, Resulting Numbers: [133]
133,99 unequal: No Solution
Exploring Operation: 99*34=3366, Resulting Numbers: [3366]
3366,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[99, 34], Operations: ['14/14=1', '34/1=34']
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 99*34=3366, Resulting Numbers: [3366]
3366,99 unequal: No Solution
Exploring Operation: 99+34=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,1
Current State: 99:[34, 99, 0], Operations: ['14-14=0']
Exploring Operation: 99+0=99, Resulting Numbers: [34, 99]
Generated Node #0,1,0: 99:[34, 99] Operation: 99+0=99
Exploring Operation: 34-0=34, Resulting Numbers: [99, 34]
Generated Node #0,1,1: 99:[99, 34] Operation: 34-0=34
Exploring Operation: 34+0=34, Resulting Numbers: [99, 34]
Generated Node #0,1,2: 99:[99, 34] Operation: 34+0=34
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[34, 99], Operations: ['14-14=0', '99+0=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
Exploring Operation: 34*99=3366, Resulting Numbers: [3366]
3366,99 unequal: No Solution
No 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: 99:[99, 34], Operations: ['14-14=0', '34-0=34']
Exploring Operation: 99+34=133, Resulting Numbers: [133]
133,99 unequal: No Solution
Exploring Operation: 99*34=3366, Resulting Numbers: [3366]
3366,99 unequal: No Solution
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,99 unequal: No Solution
No 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: 99:[99, 34], Operations: ['14-14=0', '34+0=34']
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 99+34=133, Resulting Numbers: [133]
133,99 unequal: No Solution
Exploring Operation: 99*34=3366, Resulting Numbers: [3366]
3366,99 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: 99:[34, 99, 28], Operations: ['14+14=28']
Exploring Operation: 34+28=62, Resulting Numbers: [99, 62]
Generated Node #0,2,0: 99:[99, 62] Operation: 34+28=62
Exploring Operation: 34-28=6, Resulting Numbers: [99, 6]
Generated Node #0,2,1: 99:[99, 6] Operation: 34-28=6
Exploring Operation: 99+28=127, Resulting Numbers: [34, 127]
Generated Node #0,2,2: 99:[34, 127] Operation: 99+28=127
Moving to Node #0,2,1
Current State: 99:[99, 6], Operations: ['14+14=28', '34-28=6']
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,99 unequal: No Solution
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 99*6=594, Resulting Numbers: [594]
594,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[99, 62], Operations: ['14+14=28', '34+28=62']
Exploring Operation: 99*62=6138, Resulting Numbers: [6138]
6138,99 unequal: No Solution
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 99+62=161, Resulting Numbers: [161]
161,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[34, 127], Operations: ['14+14=28', '99+28=127']
Exploring Operation: 127-34=93, Resulting Numbers: [93]
93,99 unequal: No Solution
Exploring Operation: 34*127=4318, Resulting Numbers: [4318]
4318,99 unequal: No Solution
Exploring Operation: 34+127=161, Resulting Numbers: [161]
161,99 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 |
[
16,
11,
36,
7
] | 70 | [
"16+11=27",
"36+7=43",
"27+43=70"
] | Current State: 70:[16, 11, 36, 7], Operations: []
Exploring Operation: 16+11=27, Resulting Numbers: [36, 7, 27]
Generated Node #2: [36, 7, 27] from Operation: 16+11=27
Current State: 70:[36, 7, 27], Operations: ['16+11=27']
Exploring Operation: 36+7=43, Resulting Numbers: [27, 43]
Generated Node #3: [27, 43] from Operation: 36+7=43
Current State: 70:[27, 43], Operations: ['16+11=27', '36+7=43']
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[16, 11, 36, 7], Operations: []
Exploring Operation: 16-11=5, Resulting Numbers: [36, 7, 5]
Generated Node #0,0: 70:[36, 7, 5] Operation: 16-11=5
Exploring Operation: 11-7=4, Resulting Numbers: [16, 36, 4]
Generated Node #0,1: 70:[16, 36, 4] Operation: 11-7=4
Exploring Operation: 36-16=20, Resulting Numbers: [11, 7, 20]
Generated Node #0,2: 70:[11, 7, 20] Operation: 36-16=20
Exploring Operation: 16-7=9, Resulting Numbers: [11, 36, 9]
Generated Node #0,3: 70:[11, 36, 9] Operation: 16-7=9
Exploring Operation: 11+7=18, Resulting Numbers: [16, 36, 18]
Generated Node #0,4: 70:[16, 36, 18] Operation: 11+7=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[36, 7, 5], Operations: ['16-11=5']
Exploring Operation: 36-7=29, Resulting Numbers: [5, 29]
Generated Node #0,0,0: 70:[5, 29] Operation: 36-7=29
Exploring Operation: 7+5=12, Resulting Numbers: [36, 12]
Generated Node #0,0,1: 70:[36, 12] Operation: 7+5=12
Exploring Operation: 36-5=31, Resulting Numbers: [7, 31]
Generated Node #0,0,2: 70:[7, 31] Operation: 36-5=31
Exploring Operation: 7-5=2, Resulting Numbers: [36, 2]
Generated Node #0,0,3: 70:[36, 2] Operation: 7-5=2
Exploring Operation: 7*5=35, Resulting Numbers: [36, 35]
Generated Node #0,0,4: 70:[36, 35] Operation: 7*5=35
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 70:[36, 2], Operations: ['16-11=5', '7-5=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 70:[36, 35], Operations: ['16-11=5', '7*5=35']
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,70 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[36, 12], Operations: ['16-11=5', '7+5=12']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,70 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[7, 31], Operations: ['16-11=5', '36-5=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,70 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[5, 29], Operations: ['16-11=5', '36-7=29']
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,70 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[11, 36, 9], Operations: ['16-7=9']
Exploring Operation: 36-11=25, Resulting Numbers: [9, 25]
Generated Node #0,3,0: 70:[9, 25] Operation: 36-11=25
Exploring Operation: 36-9=27, Resulting Numbers: [11, 27]
Generated Node #0,3,1: 70:[11, 27] Operation: 36-9=27
Exploring Operation: 36/9=4, Resulting Numbers: [11, 4]
Generated Node #0,3,2: 70:[11, 4] Operation: 36/9=4
Exploring Operation: 11+9=20, Resulting Numbers: [36, 20]
Generated Node #0,3,3: 70:[36, 20] Operation: 11+9=20
Exploring Operation: 11-9=2, Resulting Numbers: [36, 2]
Generated Node #0,3,4: 70:[36, 2] Operation: 11-9=2
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 70:[36, 2], Operations: ['16-7=9', '11-9=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[11, 4], Operations: ['16-7=9', '36/9=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 70:[36, 20], Operations: ['16-7=9', '11+9=20']
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,70 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[11, 27], Operations: ['16-7=9', '36-9=27']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,70 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[9, 25], Operations: ['16-7=9', '36-11=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[16, 36, 4], Operations: ['11-7=4']
Exploring Operation: 36/4=9, Resulting Numbers: [16, 9]
Generated Node #0,1,0: 70:[16, 9] Operation: 36/4=9
Exploring Operation: 16/4=4, Resulting Numbers: [36, 4]
Generated Node #0,1,1: 70:[36, 4] Operation: 16/4=4
Exploring Operation: 36-16=20, Resulting Numbers: [4, 20]
Generated Node #0,1,2: 70:[4, 20] Operation: 36-16=20
Exploring Operation: 36-4=32, Resulting Numbers: [16, 32]
Generated Node #0,1,3: 70:[16, 32] Operation: 36-4=32
Exploring Operation: 16-4=12, Resulting Numbers: [36, 12]
Generated Node #0,1,4: 70:[36, 12] Operation: 16-4=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[36, 4], Operations: ['11-7=4', '16/4=4']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[16, 9], Operations: ['11-7=4', '36/4=9']
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,70 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 70:[36, 12], Operations: ['11-7=4', '16-4=12']
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,70 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,70 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[16, 32], Operations: ['11-7=4', '36-4=32']
Exploring Operation: 16*32=512, Resulting Numbers: [512]
512,70 unequal: No Solution
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,70 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[4, 20], Operations: ['11-7=4', '36-16=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[11, 7, 20], Operations: ['36-16=20']
Exploring Operation: 11+20=31, Resulting Numbers: [7, 31]
Generated Node #0,2,0: 70:[7, 31] Operation: 11+20=31
Exploring Operation: 7+20=27, Resulting Numbers: [11, 27]
Generated Node #0,2,1: 70:[11, 27] Operation: 7+20=27
Exploring Operation: 11-7=4, Resulting Numbers: [20, 4]
Generated Node #0,2,2: 70:[20, 4] Operation: 11-7=4
Exploring Operation: 20-7=13, Resulting Numbers: [11, 13]
Generated Node #0,2,3: 70:[11, 13] Operation: 20-7=13
Exploring Operation: 20-11=9, Resulting Numbers: [7, 9]
Generated Node #0,2,4: 70:[7, 9] Operation: 20-11=9
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 70:[7, 9], Operations: ['36-16=20', '20-11=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,70 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[11, 13], Operations: ['36-16=20', '20-7=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[7, 31], Operations: ['36-16=20', '11+20=31']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[20, 4], Operations: ['36-16=20', '11-7=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[11, 27], Operations: ['36-16=20', '7+20=27']
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 70:[16, 36, 18], Operations: ['11+7=18']
Exploring Operation: 16+18=34, Resulting Numbers: [36, 34]
Generated Node #0,4,0: 70:[36, 34] Operation: 16+18=34
Exploring Operation: 36-18=18, Resulting Numbers: [16, 18]
Generated Node #0,4,1: 70:[16, 18] Operation: 36-18=18
Exploring Operation: 36/18=2, Resulting Numbers: [16, 2]
Generated Node #0,4,2: 70:[16, 2] Operation: 36/18=2
Exploring Operation: 18-16=2, Resulting Numbers: [36, 2]
Generated Node #0,4,3: 70:[36, 2] Operation: 18-16=2
Exploring Operation: 36-16=20, Resulting Numbers: [18, 20]
Generated Node #0,4,4: 70:[18, 20] Operation: 36-16=20
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 70:[36, 2], Operations: ['11+7=18', '18-16=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 70:[36, 34], Operations: ['11+7=18', '16+18=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[16, 11, 36, 7], Operations: []
Exploring Operation: 11+7=18, Resulting Numbers: [16, 36, 18]
Generated Node #0,4: 70:[16, 36, 18] Operation: 11+7=18
Moving to Node #0,4
Current State: 70:[16, 36, 18], Operations: ['11+7=18']
Exploring Operation: 16+18=34, Resulting Numbers: [36, 34]
Generated Node #0,4,0: 70:[36, 34] Operation: 16+18=34
Moving to Node #0,4,0
Current State: 70:[36, 34], Operations: ['11+7=18', '16+18=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.907118 | hs_5 | sum_heuristic |
[
65,
1,
70,
9
] | 58 | [
"1+9=10",
"70/10=7",
"65-7=58"
] | Current State: 58:[65, 1, 70, 9], Operations: []
Exploring Operation: 1+9=10, Resulting Numbers: [65, 70, 10]
Generated Node #2: [65, 70, 10] from Operation: 1+9=10
Current State: 58:[65, 70, 10], Operations: ['1+9=10']
Exploring Operation: 70/10=7, Resulting Numbers: [65, 7]
Generated Node #3: [65, 7] from Operation: 70/10=7
Current State: 58:[65, 7], Operations: ['1+9=10', '70/10=7']
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[65, 1, 70, 9], Operations: []
Exploring Operation: 70-9=61, Resulting Numbers: [65, 1, 61]
Generated Node #0,0: 58:[65, 1, 61] Operation: 70-9=61
Exploring Operation: 65-9=56, Resulting Numbers: [1, 70, 56]
Generated Node #0,1: 58:[1, 70, 56] Operation: 65-9=56
Exploring Operation: 65-1=64, Resulting Numbers: [70, 9, 64]
Generated Node #0,2: 58:[70, 9, 64] Operation: 65-1=64
Exploring Operation: 70-65=5, Resulting Numbers: [1, 9, 5]
Generated Node #0,3: 58:[1, 9, 5] Operation: 70-65=5
Moving to Node #0,0
Current State: 58:[65, 1, 61], Operations: ['70-9=61']
Exploring Operation: 65*1=65, Resulting Numbers: [61, 65]
Generated Node #0,0,0: 58:[61, 65] Operation: 65*1=65
Exploring Operation: 61-1=60, Resulting Numbers: [65, 60]
Generated Node #0,0,1: 58:[65, 60] Operation: 61-1=60
Exploring Operation: 65-1=64, Resulting Numbers: [61, 64]
Generated Node #0,0,2: 58:[61, 64] Operation: 65-1=64
Exploring Operation: 65-61=4, Resulting Numbers: [1, 4]
Generated Node #0,0,3: 58:[1, 4] Operation: 65-61=4
Moving to Node #0,3
Current State: 58:[1, 9, 5], Operations: ['70-65=5']
Exploring Operation: 9-1=8, Resulting Numbers: [5, 8]
Generated Node #0,3,0: 58:[5, 8] Operation: 9-1=8
Exploring Operation: 1*9=9, Resulting Numbers: [5, 9]
Generated Node #0,3,1: 58:[5, 9] Operation: 1*9=9
Exploring Operation: 9-5=4, Resulting Numbers: [1, 4]
Generated Node #0,3,2: 58:[1, 4] Operation: 9-5=4
Exploring Operation: 5-1=4, Resulting Numbers: [9, 4]
Generated Node #0,3,3: 58:[9, 4] Operation: 5-1=4
Moving to Node #0,1
Current State: 58:[1, 70, 56], Operations: ['65-9=56']
Exploring Operation: 70-56=14, Resulting Numbers: [1, 14]
Generated Node #0,1,0: 58:[1, 14] Operation: 70-56=14
Exploring Operation: 1+56=57, Resulting Numbers: [70, 57]
Generated Node #0,1,1: 58:[70, 57] Operation: 1+56=57
Exploring Operation: 1*70=70, Resulting Numbers: [56, 70]
Generated Node #0,1,2: 58:[56, 70] Operation: 1*70=70
Exploring Operation: 70-1=69, Resulting Numbers: [56, 69]
Generated Node #0,1,3: 58:[56, 69] Operation: 70-1=69
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[1, 14], Operations: ['65-9=56', '70-56=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,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,1,1
Current State: 58:[70, 57], Operations: ['65-9=56', '1+56=57']
Exploring Operation: 70*57=3990, Resulting Numbers: [3990]
3990,58 unequal: No Solution
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 70+57=127, Resulting Numbers: [127]
127,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,1,3
Current State: 58:[56, 69], Operations: ['65-9=56', '70-1=69']
Exploring Operation: 56*69=3864, Resulting Numbers: [3864]
3864,58 unequal: No Solution
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 56+69=125, Resulting Numbers: [125]
125,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,1,2
Current State: 58:[56, 70], Operations: ['65-9=56', '1*70=70']
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 56+70=126, Resulting Numbers: [126]
126,58 unequal: No Solution
Exploring Operation: 56*70=3920, Resulting Numbers: [3920]
3920,58 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: 58:[70, 9, 64], Operations: ['65-1=64']
Exploring Operation: 70-9=61, Resulting Numbers: [64, 61]
Generated Node #0,2,0: 58:[64, 61] Operation: 70-9=61
Exploring Operation: 64-9=55, Resulting Numbers: [70, 55]
Generated Node #0,2,1: 58:[70, 55] Operation: 64-9=55
Exploring Operation: 70-64=6, Resulting Numbers: [9, 6]
Generated Node #0,2,2: 58:[9, 6] Operation: 70-64=6
Exploring Operation: 70+9=79, Resulting Numbers: [64, 79]
Generated Node #0,2,3: 58:[64, 79] Operation: 70+9=79
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[64, 61], Operations: ['65-1=64', '70-9=61']
Exploring Operation: 64+61=125, Resulting Numbers: [125]
125,58 unequal: No Solution
Exploring Operation: 64*61=3904, Resulting Numbers: [3904]
3904,58 unequal: No Solution
Exploring Operation: 64-61=3, Resulting Numbers: [3]
3,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[9, 6], Operations: ['65-1=64', '70-64=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 58:[70, 55], Operations: ['65-1=64', '64-9=55']
Exploring Operation: 70*55=3850, Resulting Numbers: [3850]
3850,58 unequal: No Solution
Exploring Operation: 70+55=125, Resulting Numbers: [125]
125,58 unequal: No Solution
Exploring Operation: 70-55=15, Resulting Numbers: [15]
15,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 58:[64, 79], Operations: ['65-1=64', '70+9=79']
Exploring Operation: 64*79=5056, Resulting Numbers: [5056]
5056,58 unequal: No Solution
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 64+79=143, Resulting Numbers: [143]
143,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 58:[1, 4], Operations: ['70-9=61', '65-61=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Moving to Node #0,3,2
Current State: 58:[1, 4], Operations: ['70-65=5', '9-5=4']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[61, 64], Operations: ['70-9=61', '65-1=64']
Exploring Operation: 61*64=3904, Resulting Numbers: [3904]
3904,58 unequal: No Solution
Exploring Operation: 61+64=125, Resulting Numbers: [125]
125,58 unequal: No Solution
Exploring Operation: 64-61=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Moving to Node #0,3,0
Current State: 58:[5, 8], Operations: ['70-65=5', '9-1=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[9, 4], Operations: ['70-65=5', '5-1=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[65, 60], Operations: ['70-9=61', '61-1=60']
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 65*60=3900, Resulting Numbers: [3900]
3900,58 unequal: No Solution
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[61, 65], Operations: ['70-9=61', '65*1=65']
Exploring Operation: 61+65=126, Resulting Numbers: [126]
126,58 unequal: No Solution
Exploring Operation: 61*65=3965, Resulting Numbers: [3965]
3965,58 unequal: No Solution
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[5, 9], Operations: ['70-65=5', '1*9=9']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,58 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
23,
25,
92,
3
] | 87 | [
"25-23=2",
"92-3=89",
"89-2=87"
] | Current State: 87:[23, 25, 92, 3], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [92, 3, 2]
Generated Node #2: [92, 3, 2] from Operation: 25-23=2
Current State: 87:[92, 3, 2], Operations: ['25-23=2']
Exploring Operation: 92-3=89, Resulting Numbers: [2, 89]
Generated Node #3: [2, 89] from Operation: 92-3=89
Current State: 87:[2, 89], Operations: ['25-23=2', '92-3=89']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[23, 25, 92, 3], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [92, 3, 2]
Generated Node #0,0: 87:[92, 3, 2] Operation: 25-23=2
Exploring Operation: 25+3=28, Resulting Numbers: [23, 92, 28]
Generated Node #0,1: 87:[23, 92, 28] Operation: 25+3=28
Exploring Operation: 23+3=26, Resulting Numbers: [25, 92, 26]
Generated Node #0,2: 87:[25, 92, 26] Operation: 23+3=26
Exploring Operation: 92/23=4, Resulting Numbers: [25, 3, 4]
Generated Node #0,3: 87:[25, 3, 4] Operation: 92/23=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[25, 3, 4], Operations: ['92/23=4']
Exploring Operation: 25+3=28, Resulting Numbers: [4, 28]
Generated Node #0,3,0: 87:[4, 28] Operation: 25+3=28
Exploring Operation: 25-3=22, Resulting Numbers: [4, 22]
Generated Node #0,3,1: 87:[4, 22] Operation: 25-3=22
Exploring Operation: 4-3=1, Resulting Numbers: [25, 1]
Generated Node #0,3,2: 87:[25, 1] Operation: 4-3=1
Exploring Operation: 25+4=29, Resulting Numbers: [3, 29]
Generated Node #0,3,3: 87:[3, 29] Operation: 25+4=29
Moving to Node #0,3,3
Current State: 87:[3, 29], Operations: ['92/23=4', '25+4=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[23, 25, 92, 3], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [25, 3, 4]
Generated Node #0,3: 87:[25, 3, 4] Operation: 92/23=4
Moving to Node #0,3
Current State: 87:[25, 3, 4], Operations: ['92/23=4']
Exploring Operation: 25+4=29, Resulting Numbers: [3, 29]
Generated Node #0,3,3: 87:[3, 29] Operation: 25+4=29
Moving to Node #0,3,3
Current State: 87:[3, 29], Operations: ['92/23=4', '25+4=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
90,
5,
34,
74
] | 46 | [
"90-74=16",
"5*16=80",
"80-34=46"
] | Current State: 46:[90, 5, 34, 74], Operations: []
Exploring Operation: 90-74=16, Resulting Numbers: [5, 34, 16]
Generated Node #2: [5, 34, 16] from Operation: 90-74=16
Current State: 46:[5, 34, 16], Operations: ['90-74=16']
Exploring Operation: 5*16=80, Resulting Numbers: [34, 80]
Generated Node #3: [34, 80] from Operation: 5*16=80
Current State: 46:[34, 80], Operations: ['90-74=16', '5*16=80']
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[90, 5, 34, 74], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [34, 74, 18]
Generated Node #0,0: 46:[34, 74, 18] Operation: 90/5=18
Exploring Operation: 90-74=16, Resulting Numbers: [5, 34, 16]
Generated Node #0,1: 46:[5, 34, 16] Operation: 90-74=16
Exploring Operation: 90-34=56, Resulting Numbers: [5, 74, 56]
Generated Node #0,2: 46:[5, 74, 56] Operation: 90-34=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[5, 34, 16], Operations: ['90-74=16']
Exploring Operation: 34-5=29, Resulting Numbers: [16, 29]
Generated Node #0,1,0: 46:[16, 29] Operation: 34-5=29
Exploring Operation: 34+16=50, Resulting Numbers: [5, 50]
Generated Node #0,1,1: 46:[5, 50] Operation: 34+16=50
Exploring Operation: 34-16=18, Resulting Numbers: [5, 18]
Generated Node #0,1,2: 46:[5, 18] Operation: 34-16=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 46:[5, 50], Operations: ['90-74=16', '34+16=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,46 unequal: No Solution
No 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: 46:[5, 18], Operations: ['90-74=16', '34-16=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,46 unequal: No Solution
No 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: 46:[16, 29], Operations: ['90-74=16', '34-5=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,46 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: 46:[5, 74, 56], Operations: ['90-34=56']
Exploring Operation: 74-5=69, Resulting Numbers: [56, 69]
Generated Node #0,2,0: 46:[56, 69] Operation: 74-5=69
Exploring Operation: 74-56=18, Resulting Numbers: [5, 18]
Generated Node #0,2,1: 46:[5, 18] Operation: 74-56=18
Exploring Operation: 56-5=51, Resulting Numbers: [74, 51]
Generated Node #0,2,2: 46:[74, 51] Operation: 56-5=51
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 46:[5, 18], Operations: ['90-34=56', '74-56=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,46 unequal: No Solution
No 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: 46:[56, 69], Operations: ['90-34=56', '74-5=69']
Exploring Operation: 56*69=3864, Resulting Numbers: [3864]
3864,46 unequal: No Solution
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 56+69=125, Resulting Numbers: [125]
125,46 unequal: No Solution
No 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: 46:[74, 51], Operations: ['90-34=56', '56-5=51']
Exploring Operation: 74*51=3774, Resulting Numbers: [3774]
3774,46 unequal: No Solution
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 74+51=125, Resulting Numbers: [125]
125,46 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: 46:[34, 74, 18], Operations: ['90/5=18']
Exploring Operation: 74-34=40, Resulting Numbers: [18, 40]
Generated Node #0,0,0: 46:[18, 40] Operation: 74-34=40
Exploring Operation: 34+18=52, Resulting Numbers: [74, 52]
Generated Node #0,0,1: 46:[74, 52] Operation: 34+18=52
Exploring Operation: 74-18=56, Resulting Numbers: [34, 56]
Generated Node #0,0,2: 46:[34, 56] Operation: 74-18=56
Moving to Node #0,0,0
Current State: 46:[18, 40], Operations: ['90/5=18', '74-34=40']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,46 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[34, 56], Operations: ['90/5=18', '74-18=56']
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 34*56=1904, Resulting Numbers: [1904]
1904,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[74, 52], Operations: ['90/5=18', '34+18=52']
Exploring Operation: 74+52=126, Resulting Numbers: [126]
126,46 unequal: No Solution
Exploring Operation: 74*52=3848, Resulting Numbers: [3848]
3848,46 unequal: No Solution
Exploring Operation: 74-52=22, Resulting Numbers: [22]
22,46 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 |
[
21,
84,
35,
92
] | 61 | [
"84/21=4",
"92-35=57",
"4+57=61"
] | Current State: 61:[21, 84, 35, 92], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [35, 92, 4]
Generated Node #2: [35, 92, 4] from Operation: 84/21=4
Current State: 61:[35, 92, 4], Operations: ['84/21=4']
Exploring Operation: 92-35=57, Resulting Numbers: [4, 57]
Generated Node #3: [4, 57] from Operation: 92-35=57
Current State: 61:[4, 57], Operations: ['84/21=4', '92-35=57']
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[21, 84, 35, 92], Operations: []
Exploring Operation: 21+35=56, Resulting Numbers: [84, 92, 56]
Generated Node #0,0: 61:[84, 92, 56] Operation: 21+35=56
Exploring Operation: 92-35=57, Resulting Numbers: [21, 84, 57]
Generated Node #0,1: 61:[21, 84, 57] Operation: 92-35=57
Exploring Operation: 84-21=63, Resulting Numbers: [35, 92, 63]
Generated Node #0,2: 61:[35, 92, 63] Operation: 84-21=63
Exploring Operation: 92-21=71, Resulting Numbers: [84, 35, 71]
Generated Node #0,3: 61:[84, 35, 71] Operation: 92-21=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[84, 92, 56], Operations: ['21+35=56']
Exploring Operation: 84-56=28, Resulting Numbers: [92, 28]
Generated Node #0,0,0: 61:[92, 28] Operation: 84-56=28
Exploring Operation: 84+56=140, Resulting Numbers: [92, 140]
Generated Node #0,0,1: 61:[92, 140] Operation: 84+56=140
Exploring Operation: 92-84=8, Resulting Numbers: [56, 8]
Generated Node #0,0,2: 61:[56, 8] Operation: 92-84=8
Exploring Operation: 92-56=36, Resulting Numbers: [84, 36]
Generated Node #0,0,3: 61:[84, 36] Operation: 92-56=36
Moving to Node #0,0,3
Current State: 61:[84, 36], Operations: ['21+35=56', '92-56=36']
Exploring Operation: 84+36=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 84*36=3024, Resulting Numbers: [3024]
3024,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[56, 8], Operations: ['21+35=56', '92-84=8']
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 56*8=448, Resulting Numbers: [448]
448,61 unequal: No Solution
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[92, 28], Operations: ['21+35=56', '84-56=28']
Exploring Operation: 92+28=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 92*28=2576, Resulting Numbers: [2576]
2576,61 unequal: No Solution
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[92, 140], Operations: ['21+35=56', '84+56=140']
Exploring Operation: 92*140=12880, Resulting Numbers: [12880]
12880,61 unequal: No Solution
Exploring Operation: 140-92=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 92+140=232, Resulting Numbers: [232]
232,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:[35, 92, 63], Operations: ['84-21=63']
Exploring Operation: 63-35=28, Resulting Numbers: [92, 28]
Generated Node #0,2,0: 61:[92, 28] Operation: 63-35=28
Exploring Operation: 92-63=29, Resulting Numbers: [35, 29]
Generated Node #0,2,1: 61:[35, 29] Operation: 92-63=29
Exploring Operation: 35+92=127, Resulting Numbers: [63, 127]
Generated Node #0,2,2: 61:[63, 127] Operation: 35+92=127
Exploring Operation: 92-35=57, Resulting Numbers: [63, 57]
Generated Node #0,2,3: 61:[63, 57] Operation: 92-35=57
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[63, 57], Operations: ['84-21=63', '92-35=57']
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 63*57=3591, Resulting Numbers: [3591]
3591,61 unequal: No Solution
Exploring Operation: 63+57=120, Resulting Numbers: [120]
120,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,2,1
Current State: 61:[35, 29], Operations: ['84-21=63', '92-63=29']
Exploring Operation: 35+29=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 35*29=1015, Resulting Numbers: [1015]
1015,61 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,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,2,0
Current State: 61:[92, 28], Operations: ['84-21=63', '63-35=28']
Exploring Operation: 92*28=2576, Resulting Numbers: [2576]
2576,61 unequal: No Solution
Exploring Operation: 92+28=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,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,2,2
Current State: 61:[63, 127], Operations: ['84-21=63', '35+92=127']
Exploring Operation: 63*127=8001, Resulting Numbers: [8001]
8001,61 unequal: No Solution
Exploring Operation: 63+127=190, Resulting Numbers: [190]
190,61 unequal: No Solution
Exploring Operation: 127-63=64, Resulting Numbers: [64]
64,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,3
Current State: 61:[84, 35, 71], Operations: ['92-21=71']
Exploring Operation: 84+35=119, Resulting Numbers: [71, 119]
Generated Node #0,3,0: 61:[71, 119] Operation: 84+35=119
Exploring Operation: 71-35=36, Resulting Numbers: [84, 36]
Generated Node #0,3,1: 61:[84, 36] Operation: 71-35=36
Exploring Operation: 35+71=106, Resulting Numbers: [84, 106]
Generated Node #0,3,2: 61:[84, 106] Operation: 35+71=106
Exploring Operation: 84-35=49, Resulting Numbers: [71, 49]
Generated Node #0,3,3: 61:[71, 49] Operation: 84-35=49
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 61:[71, 49], Operations: ['92-21=71', '84-35=49']
Exploring Operation: 71*49=3479, Resulting Numbers: [3479]
3479,61 unequal: No Solution
Exploring Operation: 71+49=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,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,1
Current State: 61:[84, 36], Operations: ['92-21=71', '71-35=36']
Exploring Operation: 84*36=3024, Resulting Numbers: [3024]
3024,61 unequal: No Solution
Exploring Operation: 84+36=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,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:[71, 119], Operations: ['92-21=71', '84+35=119']
Exploring Operation: 71*119=8449, Resulting Numbers: [8449]
8449,61 unequal: No Solution
Exploring Operation: 71+119=190, Resulting Numbers: [190]
190,61 unequal: No Solution
Exploring Operation: 119-71=48, Resulting Numbers: [48]
48,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:[84, 106], Operations: ['92-21=71', '35+71=106']
Exploring Operation: 84*106=8904, Resulting Numbers: [8904]
8904,61 unequal: No Solution
Exploring Operation: 84+106=190, Resulting Numbers: [190]
190,61 unequal: No Solution
Exploring Operation: 106-84=22, Resulting Numbers: [22]
22,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:[21, 84, 57], Operations: ['92-35=57']
Exploring Operation: 57-21=36, Resulting Numbers: [84, 36]
Generated Node #0,1,0: 61:[84, 36] Operation: 57-21=36
Exploring Operation: 21+84=105, Resulting Numbers: [57, 105]
Generated Node #0,1,1: 61:[57, 105] Operation: 21+84=105
Exploring Operation: 21+57=78, Resulting Numbers: [84, 78]
Generated Node #0,1,2: 61:[84, 78] Operation: 21+57=78
Exploring Operation: 84-21=63, Resulting Numbers: [57, 63]
Generated Node #0,1,3: 61:[57, 63] Operation: 84-21=63
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 61:[57, 63], Operations: ['92-35=57', '84-21=63']
Exploring Operation: 57*63=3591, Resulting Numbers: [3591]
3591,61 unequal: No Solution
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 57+63=120, Resulting Numbers: [120]
120,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,1,2
Current State: 61:[84, 78], Operations: ['92-35=57', '21+57=78']
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 84+78=162, Resulting Numbers: [162]
162,61 unequal: No Solution
Exploring Operation: 84*78=6552, Resulting Numbers: [6552]
6552,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,1,0
Current State: 61:[84, 36], Operations: ['92-35=57', '57-21=36']
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 84+36=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 84*36=3024, Resulting Numbers: [3024]
3024,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,1,1
Current State: 61:[57, 105], Operations: ['92-35=57', '21+84=105']
Exploring Operation: 105-57=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 57+105=162, Resulting Numbers: [162]
162,61 unequal: No Solution
Exploring Operation: 57*105=5985, Resulting Numbers: [5985]
5985,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_4 | sum_heuristic |
[
28,
90,
60,
91
] | 88 | [
"28+60=88",
"91-90=1",
"88*1=88"
] | Current State: 88:[28, 90, 60, 91], Operations: []
Exploring Operation: 28+60=88, Resulting Numbers: [90, 91, 88]
Generated Node #2: [90, 91, 88] from Operation: 28+60=88
Current State: 88:[90, 91, 88], Operations: ['28+60=88']
Exploring Operation: 91-90=1, Resulting Numbers: [88, 1]
Generated Node #3: [88, 1] from Operation: 91-90=1
Current State: 88:[88, 1], Operations: ['28+60=88', '91-90=1']
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[28, 90, 60, 91], Operations: []
Exploring Operation: 28+60=88, Resulting Numbers: [90, 91, 88]
Generated Node #0,0: 88:[90, 91, 88] Operation: 28+60=88
Exploring Operation: 90-60=30, Resulting Numbers: [28, 91, 30]
Generated Node #0,1: 88:[28, 91, 30] Operation: 90-60=30
Exploring Operation: 60-28=32, Resulting Numbers: [90, 91, 32]
Generated Node #0,2: 88:[90, 91, 32] Operation: 60-28=32
Exploring Operation: 91-60=31, Resulting Numbers: [28, 90, 31]
Generated Node #0,3: 88:[28, 90, 31] Operation: 91-60=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[90, 91, 88], Operations: ['28+60=88']
Exploring Operation: 90-88=2, Resulting Numbers: [91, 2]
Generated Node #0,0,0: 88:[91, 2] Operation: 90-88=2
Exploring Operation: 90+91=181, Resulting Numbers: [88, 181]
Generated Node #0,0,1: 88:[88, 181] Operation: 90+91=181
Exploring Operation: 91-88=3, Resulting Numbers: [90, 3]
Generated Node #0,0,2: 88:[90, 3] Operation: 91-88=3
Exploring Operation: 91-90=1, Resulting Numbers: [88, 1]
Generated Node #0,0,3: 88:[88, 1] Operation: 91-90=1
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 88:[88, 1], Operations: ['28+60=88', '91-90=1']
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[28, 90, 60, 91], Operations: []
Exploring Operation: 28+60=88, Resulting Numbers: [90, 91, 88]
Generated Node #0,0: 88:[90, 91, 88] Operation: 28+60=88
Moving to Node #0,0
Current State: 88:[90, 91, 88], Operations: ['28+60=88']
Exploring Operation: 91-90=1, Resulting Numbers: [88, 1]
Generated Node #0,0,3: 88:[88, 1] Operation: 91-90=1
Moving to Node #0,0,3
Current State: 88:[88, 1], Operations: ['28+60=88', '91-90=1']
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
15,
9,
90,
42
] | 67 | [
"15+42=57",
"90/9=10",
"57+10=67"
] | Current State: 67:[15, 9, 90, 42], Operations: []
Exploring Operation: 15+42=57, Resulting Numbers: [9, 90, 57]
Generated Node #2: [9, 90, 57] from Operation: 15+42=57
Current State: 67:[9, 90, 57], Operations: ['15+42=57']
Exploring Operation: 90/9=10, Resulting Numbers: [57, 10]
Generated Node #3: [57, 10] from Operation: 90/9=10
Current State: 67:[57, 10], Operations: ['15+42=57', '90/9=10']
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[15, 9, 90, 42], Operations: []
Exploring Operation: 15+9=24, Resulting Numbers: [90, 42, 24]
Generated Node #0,0: 67:[90, 42, 24] Operation: 15+9=24
Exploring Operation: 90-15=75, Resulting Numbers: [9, 42, 75]
Generated Node #0,1: 67:[9, 42, 75] Operation: 90-15=75
Exploring Operation: 15+42=57, Resulting Numbers: [9, 90, 57]
Generated Node #0,2: 67:[9, 90, 57] Operation: 15+42=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[90, 42, 24], Operations: ['15+9=24']
Exploring Operation: 90-24=66, Resulting Numbers: [42, 66]
Generated Node #0,0,0: 67:[42, 66] Operation: 90-24=66
Exploring Operation: 42+24=66, Resulting Numbers: [90, 66]
Generated Node #0,0,1: 67:[90, 66] Operation: 42+24=66
Exploring Operation: 90-42=48, Resulting Numbers: [24, 48]
Generated Node #0,0,2: 67:[24, 48] Operation: 90-42=48
Moving to Node #0,0,1
Current State: 67:[90, 66], Operations: ['15+9=24', '42+24=66']
Exploring Operation: 90+66=156, Resulting Numbers: [156]
156,67 unequal: No Solution
Exploring Operation: 90*66=5940, Resulting Numbers: [5940]
5940,67 unequal: No Solution
Exploring Operation: 90-66=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[42, 66], Operations: ['15+9=24', '90-24=66']
Exploring Operation: 42*66=2772, Resulting Numbers: [2772]
2772,67 unequal: No Solution
Exploring Operation: 42+66=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[24, 48], Operations: ['15+9=24', '90-42=48']
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,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:[9, 42, 75], Operations: ['90-15=75']
Exploring Operation: 42-9=33, Resulting Numbers: [75, 33]
Generated Node #0,1,0: 67:[75, 33] Operation: 42-9=33
Exploring Operation: 75-9=66, Resulting Numbers: [42, 66]
Generated Node #0,1,1: 67:[42, 66] Operation: 75-9=66
Exploring Operation: 9+42=51, Resulting Numbers: [75, 51]
Generated Node #0,1,2: 67:[75, 51] Operation: 9+42=51
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[75, 51], Operations: ['90-15=75', '9+42=51']
Exploring Operation: 75*51=3825, Resulting Numbers: [3825]
3825,67 unequal: No Solution
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 75+51=126, Resulting Numbers: [126]
126,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[42, 66], Operations: ['90-15=75', '75-9=66']
Exploring Operation: 42+66=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 42*66=2772, Resulting Numbers: [2772]
2772,67 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,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:[75, 33], Operations: ['90-15=75', '42-9=33']
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 75*33=2475, Resulting Numbers: [2475]
2475,67 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[9, 90, 57], Operations: ['15+42=57']
Exploring Operation: 9+57=66, Resulting Numbers: [90, 66]
Generated Node #0,2,0: 67:[90, 66] Operation: 9+57=66
Exploring Operation: 9+90=99, Resulting Numbers: [57, 99]
Generated Node #0,2,1: 67:[57, 99] Operation: 9+90=99
Exploring Operation: 90-9=81, Resulting Numbers: [57, 81]
Generated Node #0,2,2: 67:[57, 81] Operation: 90-9=81
Moving to Node #0,2,0
Current State: 67:[90, 66], Operations: ['15+42=57', '9+57=66']
Exploring Operation: 90+66=156, Resulting Numbers: [156]
156,67 unequal: No Solution
Exploring Operation: 90*66=5940, Resulting Numbers: [5940]
5940,67 unequal: No Solution
Exploring Operation: 90-66=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[57, 81], Operations: ['15+42=57', '90-9=81']
Exploring Operation: 81-57=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 57*81=4617, Resulting Numbers: [4617]
4617,67 unequal: No Solution
Exploring Operation: 57+81=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[57, 99], Operations: ['15+42=57', '9+90=99']
Exploring Operation: 99-57=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 57+99=156, Resulting Numbers: [156]
156,67 unequal: No Solution
Exploring Operation: 57*99=5643, Resulting Numbers: [5643]
5643,67 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 |
[
94,
65,
58,
7
] | 93 | [
"65-58=7",
"7/7=1",
"94-1=93"
] | Current State: 93:[94, 65, 58, 7], Operations: []
Exploring Operation: 65-58=7, Resulting Numbers: [94, 7, 7]
Generated Node #2: [94, 7, 7] from Operation: 65-58=7
Current State: 93:[94, 7, 7], Operations: ['65-58=7']
Exploring Operation: 7/7=1, Resulting Numbers: [94, 1]
Generated Node #3: [94, 1] from Operation: 7/7=1
Current State: 93:[94, 1], Operations: ['65-58=7', '7/7=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[94, 65, 58, 7], Operations: []
Exploring Operation: 94-58=36, Resulting Numbers: [65, 7, 36]
Generated Node #0,0: 93:[65, 7, 36] Operation: 94-58=36
Exploring Operation: 65-58=7, Resulting Numbers: [94, 7, 7]
Generated Node #0,1: 93:[94, 7, 7] Operation: 65-58=7
Exploring Operation: 94-65=29, Resulting Numbers: [58, 7, 29]
Generated Node #0,2: 93:[58, 7, 29] Operation: 94-65=29
Exploring Operation: 65+58=123, Resulting Numbers: [94, 7, 123]
Generated Node #0,3: 93:[94, 7, 123] Operation: 65+58=123
Moving to Node #0,1
Current State: 93:[94, 7, 7], Operations: ['65-58=7']
Exploring Operation: 94-7=87, Resulting Numbers: [7, 87]
Generated Node #0,1,0: 93:[7, 87] Operation: 94-7=87
Exploring Operation: 7/7=1, Resulting Numbers: [94, 1]
Generated Node #0,1,1: 93:[94, 1] Operation: 7/7=1
Exploring Operation: 94-7=87, Resulting Numbers: [7, 87]
Generated Node #0,1,2: 93:[7, 87] Operation: 94-7=87
Exploring Operation: 7-7=0, Resulting Numbers: [94, 0]
Generated Node #0,1,3: 93:[94, 0] Operation: 7-7=0
Moving to Node #0,2
Current State: 93:[58, 7, 29], Operations: ['94-65=29']
Exploring Operation: 58-29=29, Resulting Numbers: [7, 29]
Generated Node #0,2,0: 93:[7, 29] Operation: 58-29=29
Exploring Operation: 58/29=2, Resulting Numbers: [7, 2]
Generated Node #0,2,1: 93:[7, 2] Operation: 58/29=2
Exploring Operation: 58-7=51, Resulting Numbers: [29, 51]
Generated Node #0,2,2: 93:[29, 51] Operation: 58-7=51
Exploring Operation: 58+29=87, Resulting Numbers: [7, 87]
Generated Node #0,2,3: 93:[7, 87] Operation: 58+29=87
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[7, 2], Operations: ['94-65=29', '58/29=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,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,0
Current State: 93:[7, 29], Operations: ['94-65=29', '58-29=29']
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,93 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,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,3
Current State: 93:[7, 87], Operations: ['94-65=29', '58+29=87']
Exploring Operation: 7*87=609, Resulting Numbers: [609]
609,93 unequal: No Solution
Exploring Operation: 7+87=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,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:[29, 51], Operations: ['94-65=29', '58-7=51']
Exploring Operation: 29+51=80, Resulting Numbers: [80]
80,93 unequal: No Solution
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 29*51=1479, Resulting Numbers: [1479]
1479,93 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: 93:[94, 7, 123], Operations: ['65+58=123']
Exploring Operation: 123-94=29, Resulting Numbers: [7, 29]
Generated Node #0,3,0: 93:[7, 29] Operation: 123-94=29
Exploring Operation: 94+7=101, Resulting Numbers: [123, 101]
Generated Node #0,3,1: 93:[123, 101] Operation: 94+7=101
Exploring Operation: 94-7=87, Resulting Numbers: [123, 87]
Generated Node #0,3,2: 93:[123, 87] Operation: 94-7=87
Exploring Operation: 123-7=116, Resulting Numbers: [94, 116]
Generated Node #0,3,3: 93:[94, 116] Operation: 123-7=116
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 93:[7, 29], Operations: ['65+58=123', '123-94=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,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,3,3
Current State: 93:[94, 116], Operations: ['65+58=123', '123-7=116']
Exploring Operation: 116-94=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 94+116=210, Resulting Numbers: [210]
210,93 unequal: No Solution
Exploring Operation: 94*116=10904, Resulting Numbers: [10904]
10904,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,3,2
Current State: 93:[123, 87], Operations: ['65+58=123', '94-7=87']
Exploring Operation: 123*87=10701, Resulting Numbers: [10701]
10701,93 unequal: No Solution
Exploring Operation: 123+87=210, Resulting Numbers: [210]
210,93 unequal: No Solution
Exploring Operation: 123-87=36, Resulting Numbers: [36]
36,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,3,1
Current State: 93:[123, 101], Operations: ['65+58=123', '94+7=101']
Exploring Operation: 123*101=12423, Resulting Numbers: [12423]
12423,93 unequal: No Solution
Exploring Operation: 123+101=224, Resulting Numbers: [224]
224,93 unequal: No Solution
Exploring Operation: 123-101=22, Resulting Numbers: [22]
22,93 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: 93:[65, 7, 36], Operations: ['94-58=36']
Exploring Operation: 65-36=29, Resulting Numbers: [7, 29]
Generated Node #0,0,0: 93:[7, 29] Operation: 65-36=29
Exploring Operation: 65+7=72, Resulting Numbers: [36, 72]
Generated Node #0,0,1: 93:[36, 72] Operation: 65+7=72
Exploring Operation: 65+36=101, Resulting Numbers: [7, 101]
Generated Node #0,0,2: 93:[7, 101] Operation: 65+36=101
Exploring Operation: 36-7=29, Resulting Numbers: [65, 29]
Generated Node #0,0,3: 93:[65, 29] Operation: 36-7=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[7, 29], Operations: ['94-58=36', '65-36=29']
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,93 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,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:[7, 101], Operations: ['94-58=36', '65+36=101']
Exploring Operation: 101-7=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 7*101=707, Resulting Numbers: [707]
707,93 unequal: No Solution
Exploring Operation: 7+101=108, Resulting Numbers: [108]
108,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:[36, 72], Operations: ['94-58=36', '65+7=72']
Exploring Operation: 36*72=2592, Resulting Numbers: [2592]
2592,93 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 36+72=108, Resulting Numbers: [108]
108,93 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,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,3
Current State: 93:[65, 29], Operations: ['94-58=36', '36-7=29']
Exploring Operation: 65+29=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 65*29=1885, Resulting Numbers: [1885]
1885,93 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,93 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: 93:[94, 1], Operations: ['65-58=7', '7/7=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[94, 65, 58, 7], Operations: []
Exploring Operation: 65-58=7, Resulting Numbers: [94, 7, 7]
Generated Node #0,1: 93:[94, 7, 7] Operation: 65-58=7
Moving to Node #0,1
Current State: 93:[94, 7, 7], Operations: ['65-58=7']
Exploring Operation: 7/7=1, Resulting Numbers: [94, 1]
Generated Node #0,1,1: 93:[94, 1] Operation: 7/7=1
Moving to Node #0,1,1
Current State: 93:[94, 1], Operations: ['65-58=7', '7/7=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.946181 | hs_4 | mult_heuristic |
[
24,
62,
30,
33
] | 89 | [
"24+62=86",
"33-30=3",
"86+3=89"
] | Current State: 89:[24, 62, 30, 33], Operations: []
Exploring Operation: 24+62=86, Resulting Numbers: [30, 33, 86]
Generated Node #2: [30, 33, 86] from Operation: 24+62=86
Current State: 89:[30, 33, 86], Operations: ['24+62=86']
Exploring Operation: 33-30=3, Resulting Numbers: [86, 3]
Generated Node #3: [86, 3] from Operation: 33-30=3
Current State: 89:[86, 3], Operations: ['24+62=86', '33-30=3']
Exploring Operation: 86+3=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[24, 62, 30, 33], Operations: []
Exploring Operation: 24+62=86, Resulting Numbers: [30, 33, 86]
Generated Node #0,0: 89:[30, 33, 86] Operation: 24+62=86
Exploring Operation: 24+30=54, Resulting Numbers: [62, 33, 54]
Generated Node #0,1: 89:[62, 33, 54] Operation: 24+30=54
Exploring Operation: 30+33=63, Resulting Numbers: [24, 62, 63]
Generated Node #0,2: 89:[24, 62, 63] Operation: 30+33=63
Exploring Operation: 24+33=57, Resulting Numbers: [62, 30, 57]
Generated Node #0,3: 89:[62, 30, 57] Operation: 24+33=57
Moving to Node #0,0
Current State: 89:[30, 33, 86], Operations: ['24+62=86']
Exploring Operation: 30+86=116, Resulting Numbers: [33, 116]
Generated Node #0,0,0: 89:[33, 116] Operation: 30+86=116
Exploring Operation: 86-30=56, Resulting Numbers: [33, 56]
Generated Node #0,0,1: 89:[33, 56] Operation: 86-30=56
Exploring Operation: 30+33=63, Resulting Numbers: [86, 63]
Generated Node #0,0,2: 89:[86, 63] Operation: 30+33=63
Exploring Operation: 33-30=3, Resulting Numbers: [86, 3]
Generated Node #0,0,3: 89:[86, 3] Operation: 33-30=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[86, 63], Operations: ['24+62=86', '30+33=63']
Exploring Operation: 86+63=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 86*63=5418, Resulting Numbers: [5418]
5418,89 unequal: No Solution
Exploring Operation: 86-63=23, Resulting Numbers: [23]
23,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[33, 116], Operations: ['24+62=86', '30+86=116']
Exploring Operation: 33*116=3828, Resulting Numbers: [3828]
3828,89 unequal: No Solution
Exploring Operation: 33+116=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 116-33=83, Resulting Numbers: [83]
83,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:[33, 56], Operations: ['24+62=86', '86-30=56']
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,89 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[24, 62, 30, 33], Operations: []
Exploring Operation: 24+62=86, Resulting Numbers: [30, 33, 86]
Generated Node #0,0: 89:[30, 33, 86] Operation: 24+62=86
Moving to Node #0,0
Current State: 89:[30, 33, 86], Operations: ['24+62=86']
Exploring Operation: 86-30=56, Resulting Numbers: [33, 56]
Generated Node #0,0,1: 89:[33, 56] Operation: 86-30=56
Moving to Node #0,0,1
Current State: 89:[33, 56], Operations: ['24+62=86', '86-30=56']
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
24,
30,
2,
88
] | 35 | [
"30+88=118",
"118/2=59",
"59-24=35"
] | Current State: 35:[24, 30, 2, 88], Operations: []
Exploring Operation: 30+88=118, Resulting Numbers: [24, 2, 118]
Generated Node #2: [24, 2, 118] from Operation: 30+88=118
Current State: 35:[24, 2, 118], Operations: ['30+88=118']
Exploring Operation: 118/2=59, Resulting Numbers: [24, 59]
Generated Node #3: [24, 59] from Operation: 118/2=59
Current State: 35:[24, 59], Operations: ['30+88=118', '118/2=59']
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[24, 30, 2, 88], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [24, 30, 44]
Generated Node #0,0: 35:[24, 30, 44] Operation: 88/2=44
Exploring Operation: 88-24=64, Resulting Numbers: [30, 2, 64]
Generated Node #0,1: 35:[30, 2, 64] Operation: 88-24=64
Exploring Operation: 88-30=58, Resulting Numbers: [24, 2, 58]
Generated Node #0,2: 35:[24, 2, 58] Operation: 88-30=58
Exploring Operation: 30-24=6, Resulting Numbers: [2, 88, 6]
Generated Node #0,3: 35:[2, 88, 6] Operation: 30-24=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[24, 30, 44], Operations: ['88/2=44']
Exploring Operation: 24+30=54, Resulting Numbers: [44, 54]
Generated Node #0,0,0: 35:[44, 54] Operation: 24+30=54
Exploring Operation: 44-24=20, Resulting Numbers: [30, 20]
Generated Node #0,0,1: 35:[30, 20] Operation: 44-24=20
Exploring Operation: 30-24=6, Resulting Numbers: [44, 6]
Generated Node #0,0,2: 35:[44, 6] Operation: 30-24=6
Exploring Operation: 44-30=14, Resulting Numbers: [24, 14]
Generated Node #0,0,3: 35:[24, 14] Operation: 44-30=14
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[44, 6], Operations: ['88/2=44', '30-24=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,35 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,35 unequal: No Solution
No 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: 35:[30, 20], Operations: ['88/2=44', '44-24=20']
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,35 unequal: No Solution
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,35 unequal: No Solution
No 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: 35:[24, 14], Operations: ['88/2=44', '44-30=14']
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,35 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,35 unequal: No Solution
No 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: 35:[44, 54], Operations: ['88/2=44', '24+30=54']
Exploring Operation: 44+54=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Exploring Operation: 44*54=2376, Resulting Numbers: [2376]
2376,35 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,35 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: 35:[30, 2, 64], Operations: ['88-24=64']
Exploring Operation: 64/2=32, Resulting Numbers: [30, 32]
Generated Node #0,1,0: 35:[30, 32] Operation: 64/2=32
Exploring Operation: 64-30=34, Resulting Numbers: [2, 34]
Generated Node #0,1,1: 35:[2, 34] Operation: 64-30=34
Exploring Operation: 30+2=32, Resulting Numbers: [64, 32]
Generated Node #0,1,2: 35:[64, 32] Operation: 30+2=32
Exploring Operation: 64-2=62, Resulting Numbers: [30, 62]
Generated Node #0,1,3: 35:[30, 62] Operation: 64-2=62
Moving to Node #0,1,1
Current State: 35:[2, 34], Operations: ['88-24=64', '64-30=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[30, 32], Operations: ['88-24=64', '64/2=32']
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[30, 62], Operations: ['88-24=64', '64-2=62']
Exploring Operation: 30*62=1860, Resulting Numbers: [1860]
1860,35 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 30+62=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[64, 32], Operations: ['88-24=64', '30+2=32']
Exploring Operation: 64+32=96, Resulting Numbers: [96]
96,35 unequal: No Solution
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 64*32=2048, Resulting Numbers: [2048]
2048,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
Current State: 35:[24, 2, 58], Operations: ['88-30=58']
Exploring Operation: 24/2=12, Resulting Numbers: [58, 12]
Generated Node #0,2,0: 35:[58, 12] Operation: 24/2=12
Exploring Operation: 58-24=34, Resulting Numbers: [2, 34]
Generated Node #0,2,1: 35:[2, 34] Operation: 58-24=34
Exploring Operation: 24+2=26, Resulting Numbers: [58, 26]
Generated Node #0,2,2: 35:[58, 26] Operation: 24+2=26
Exploring Operation: 58/2=29, Resulting Numbers: [24, 29]
Generated Node #0,2,3: 35:[24, 29] Operation: 58/2=29
Moving to Node #0,2,1
Current State: 35:[2, 34], Operations: ['88-30=58', '58-24=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[24, 29], Operations: ['88-30=58', '58/2=29']
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,35 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[58, 12], Operations: ['88-30=58', '24/2=12']
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 58*12=696, Resulting Numbers: [696]
696,35 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[58, 26], Operations: ['88-30=58', '24+2=26']
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 58+26=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 58*26=1508, Resulting Numbers: [1508]
1508,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,3
Current State: 35:[2, 88, 6], Operations: ['30-24=6']
Exploring Operation: 2+6=8, Resulting Numbers: [88, 8]
Generated Node #0,3,0: 35:[88, 8] Operation: 2+6=8
Exploring Operation: 88-6=82, Resulting Numbers: [2, 82]
Generated Node #0,3,1: 35:[2, 82] Operation: 88-6=82
Exploring Operation: 88/2=44, Resulting Numbers: [6, 44]
Generated Node #0,3,2: 35:[6, 44] Operation: 88/2=44
Exploring Operation: 88-2=86, Resulting Numbers: [6, 86]
Generated Node #0,3,3: 35:[6, 86] Operation: 88-2=86
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 35:[6, 44], Operations: ['30-24=6', '88/2=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,35 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,35 unequal: No Solution
No 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: 35:[2, 82], Operations: ['30-24=6', '88-6=82']
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,35 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,35 unequal: No Solution
No 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: 35:[6, 86], Operations: ['30-24=6', '88-2=86']
Exploring Operation: 6+86=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 6*86=516, Resulting Numbers: [516]
516,35 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,35 unequal: No Solution
No 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: 35:[88, 8], Operations: ['30-24=6', '2+6=8']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,35 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,35 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
79,
55,
39,
29
] | 92 | [
"79-55=24",
"39+29=68",
"24+68=92"
] | Current State: 92:[79, 55, 39, 29], Operations: []
Exploring Operation: 79-55=24, Resulting Numbers: [39, 29, 24]
Generated Node #2: [39, 29, 24] from Operation: 79-55=24
Current State: 92:[39, 29, 24], Operations: ['79-55=24']
Exploring Operation: 39+29=68, Resulting Numbers: [24, 68]
Generated Node #3: [24, 68] from Operation: 39+29=68
Current State: 92:[24, 68], Operations: ['79-55=24', '39+29=68']
Exploring Operation: 24+68=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[79, 55, 39, 29], Operations: []
Exploring Operation: 79-55=24, Resulting Numbers: [39, 29, 24]
Generated Node #0,0: 92:[39, 29, 24] Operation: 79-55=24
Moving to Node #0,0
Current State: 92:[39, 29, 24], Operations: ['79-55=24']
Exploring Operation: 39-29=10, Resulting Numbers: [24, 10]
Generated Node #0,0,0: 92:[24, 10] Operation: 39-29=10
Moving to Node #0,0,0
Current State: 92:[24, 10], Operations: ['79-55=24', '39-29=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,92 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
47,
27,
27,
12
] | 58 | [
"47+12=59",
"27/27=1",
"59-1=58"
] | Current State: 58:[47, 27, 27, 12], Operations: []
Exploring Operation: 47+12=59, Resulting Numbers: [27, 27, 59]
Generated Node #2: [27, 27, 59] from Operation: 47+12=59
Current State: 58:[27, 27, 59], Operations: ['47+12=59']
Exploring Operation: 27/27=1, Resulting Numbers: [59, 1]
Generated Node #3: [59, 1] from Operation: 27/27=1
Current State: 58:[59, 1], Operations: ['47+12=59', '27/27=1']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[47, 27, 27, 12], Operations: []
Exploring Operation: 47-27=20, Resulting Numbers: [27, 12, 20]
Generated Node #0,0: 58:[27, 12, 20] Operation: 47-27=20
Exploring Operation: 47+12=59, Resulting Numbers: [27, 27, 59]
Generated Node #0,1: 58:[27, 27, 59] Operation: 47+12=59
Exploring Operation: 47-12=35, Resulting Numbers: [27, 27, 35]
Generated Node #0,2: 58:[27, 27, 35] Operation: 47-12=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[27, 27, 59], Operations: ['47+12=59']
Exploring Operation: 27-27=0, Resulting Numbers: [59, 0]
Generated Node #0,1,0: 58:[59, 0] Operation: 27-27=0
Exploring Operation: 27+27=54, Resulting Numbers: [59, 54]
Generated Node #0,1,1: 58:[59, 54] Operation: 27+27=54
Exploring Operation: 27/27=1, Resulting Numbers: [59, 1]
Generated Node #0,1,2: 58:[59, 1] Operation: 27/27=1
Moving to Node #0,1,2
Current State: 58:[59, 1], Operations: ['47+12=59', '27/27=1']
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,58 unequal: No Solution
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,58 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[47, 27, 27, 12], Operations: []
Exploring Operation: 47+12=59, Resulting Numbers: [27, 27, 59]
Generated Node #0,1: 58:[27, 27, 59] Operation: 47+12=59
Moving to Node #0,1
Current State: 58:[27, 27, 59], Operations: ['47+12=59']
Exploring Operation: 27/27=1, Resulting Numbers: [59, 1]
Generated Node #0,1,2: 58:[59, 1] Operation: 27/27=1
Moving to Node #0,1,2
Current State: 58:[59, 1], Operations: ['47+12=59', '27/27=1']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
86,
18,
58,
88
] | 67 | [
"88-86=2",
"18/2=9",
"58+9=67"
] | Current State: 67:[86, 18, 58, 88], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [18, 58, 2]
Generated Node #2: [18, 58, 2] from Operation: 88-86=2
Current State: 67:[18, 58, 2], Operations: ['88-86=2']
Exploring Operation: 18/2=9, Resulting Numbers: [58, 9]
Generated Node #3: [58, 9] from Operation: 18/2=9
Current State: 67:[58, 9], Operations: ['88-86=2', '18/2=9']
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[86, 18, 58, 88], Operations: []
Exploring Operation: 86-18=68, Resulting Numbers: [58, 88, 68]
Generated Node #0,0: 67:[58, 88, 68] Operation: 86-18=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[58, 88, 68], Operations: ['86-18=68']
Exploring Operation: 88-58=30, Resulting Numbers: [68, 30]
Generated Node #0,0,0: 67:[68, 30] Operation: 88-58=30
Moving to Node #0,0,0
Current State: 67:[68, 30], Operations: ['86-18=68', '88-58=30']
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,67 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 |
[
52,
19,
30,
33
] | 49 | [
"30-19=11",
"33/11=3",
"52-3=49"
] | Current State: 49:[52, 19, 30, 33], Operations: []
Exploring Operation: 30-19=11, Resulting Numbers: [52, 33, 11]
Generated Node #2: [52, 33, 11] from Operation: 30-19=11
Current State: 49:[52, 33, 11], Operations: ['30-19=11']
Exploring Operation: 33/11=3, Resulting Numbers: [52, 3]
Generated Node #3: [52, 3] from Operation: 33/11=3
Current State: 49:[52, 3], Operations: ['30-19=11', '33/11=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[52, 19, 30, 33], Operations: []
Exploring Operation: 19+30=49, Resulting Numbers: [52, 33, 49]
Generated Node #0,0: 49:[52, 33, 49] Operation: 19+30=49
Moving to Node #0,0
Current State: 49:[52, 33, 49], Operations: ['19+30=49']
Exploring Operation: 52-33=19, Resulting Numbers: [49, 19]
Generated Node #0,0,0: 49:[49, 19] Operation: 52-33=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[49, 19], Operations: ['19+30=49', '52-33=19']
Exploring Operation: 49+19=68, Resulting Numbers: [68]
68,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
22,
91,
45
] | 44 | [
"22-19=3",
"45*3=135",
"135-91=44"
] | Current State: 44:[19, 22, 91, 45], Operations: []
Exploring Operation: 22-19=3, Resulting Numbers: [91, 45, 3]
Generated Node #2: [91, 45, 3] from Operation: 22-19=3
Current State: 44:[91, 45, 3], Operations: ['22-19=3']
Exploring Operation: 45*3=135, Resulting Numbers: [91, 135]
Generated Node #3: [91, 135] from Operation: 45*3=135
Current State: 44:[91, 135], Operations: ['22-19=3', '45*3=135']
Exploring Operation: 135-91=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[19, 22, 91, 45], Operations: []
Exploring Operation: 91-45=46, Resulting Numbers: [19, 22, 46]
Generated Node #0,0: 44:[19, 22, 46] Operation: 91-45=46
Moving to Node #0,0
Current State: 44:[19, 22, 46], Operations: ['91-45=46']
Exploring Operation: 22-19=3, Resulting Numbers: [46, 3]
Generated Node #0,0,0: 44:[46, 3] Operation: 22-19=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[46, 3], Operations: ['91-45=46', '22-19=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
35,
59,
67,
82
] | 55 | [
"35+59=94",
"67+82=149",
"149-94=55"
] | Current State: 55:[35, 59, 67, 82], Operations: []
Exploring Operation: 35+59=94, Resulting Numbers: [67, 82, 94]
Generated Node #2: [67, 82, 94] from Operation: 35+59=94
Current State: 55:[67, 82, 94], Operations: ['35+59=94']
Exploring Operation: 67+82=149, Resulting Numbers: [94, 149]
Generated Node #3: [94, 149] from Operation: 67+82=149
Current State: 55:[94, 149], Operations: ['35+59=94', '67+82=149']
Exploring Operation: 149-94=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[35, 59, 67, 82], Operations: []
Exploring Operation: 82-59=23, Resulting Numbers: [35, 67, 23]
Generated Node #0,0: 55:[35, 67, 23] Operation: 82-59=23
Exploring Operation: 82-35=47, Resulting Numbers: [59, 67, 47]
Generated Node #0,1: 55:[59, 67, 47] Operation: 82-35=47
Exploring Operation: 82-67=15, Resulting Numbers: [35, 59, 15]
Generated Node #0,2: 55:[35, 59, 15] Operation: 82-67=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[59, 67, 47], Operations: ['82-35=47']
Exploring Operation: 67-47=20, Resulting Numbers: [59, 20]
Generated Node #0,1,0: 55:[59, 20] Operation: 67-47=20
Exploring Operation: 67-59=8, Resulting Numbers: [47, 8]
Generated Node #0,1,1: 55:[47, 8] Operation: 67-59=8
Exploring Operation: 59-47=12, Resulting Numbers: [67, 12]
Generated Node #0,1,2: 55:[67, 12] Operation: 59-47=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[47, 8], Operations: ['82-35=47', '67-59=8']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,55 unequal: No Solution
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[35, 59, 67, 82], Operations: []
Exploring Operation: 82-35=47, Resulting Numbers: [59, 67, 47]
Generated Node #0,1: 55:[59, 67, 47] Operation: 82-35=47
Moving to Node #0,1
Current State: 55:[59, 67, 47], Operations: ['82-35=47']
Exploring Operation: 67-59=8, Resulting Numbers: [47, 8]
Generated Node #0,1,1: 55:[47, 8] Operation: 67-59=8
Moving to Node #0,1,1
Current State: 55:[47, 8], Operations: ['82-35=47', '67-59=8']
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
1,
2,
46,
59
] | 74 | [
"1+59=60",
"2*60=120",
"120-46=74"
] | Current State: 74:[1, 2, 46, 59], Operations: []
Exploring Operation: 1+59=60, Resulting Numbers: [2, 46, 60]
Generated Node #2: [2, 46, 60] from Operation: 1+59=60
Current State: 74:[2, 46, 60], Operations: ['1+59=60']
Exploring Operation: 2*60=120, Resulting Numbers: [46, 120]
Generated Node #3: [46, 120] from Operation: 2*60=120
Current State: 74:[46, 120], Operations: ['1+59=60', '2*60=120']
Exploring Operation: 120-46=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[1, 2, 46, 59], Operations: []
Exploring Operation: 59-46=13, Resulting Numbers: [1, 2, 13]
Generated Node #0,0: 74:[1, 2, 13] Operation: 59-46=13
Moving to Node #0,0
Current State: 74:[1, 2, 13], Operations: ['59-46=13']
Exploring Operation: 13-1=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 74:[2, 12] Operation: 13-1=12
Moving to Node #0,0,0
Current State: 74:[2, 12], Operations: ['59-46=13', '13-1=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,74 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
29,
32,
68,
72
] | 57 | [
"29+32=61",
"72-68=4",
"61-4=57"
] | Current State: 57:[29, 32, 68, 72], Operations: []
Exploring Operation: 29+32=61, Resulting Numbers: [68, 72, 61]
Generated Node #2: [68, 72, 61] from Operation: 29+32=61
Current State: 57:[68, 72, 61], Operations: ['29+32=61']
Exploring Operation: 72-68=4, Resulting Numbers: [61, 4]
Generated Node #3: [61, 4] from Operation: 72-68=4
Current State: 57:[61, 4], Operations: ['29+32=61', '72-68=4']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[29, 32, 68, 72], Operations: []
Exploring Operation: 72-32=40, Resulting Numbers: [29, 68, 40]
Generated Node #0,0: 57:[29, 68, 40] Operation: 72-32=40
Exploring Operation: 32-29=3, Resulting Numbers: [68, 72, 3]
Generated Node #0,1: 57:[68, 72, 3] Operation: 32-29=3
Exploring Operation: 72-68=4, Resulting Numbers: [29, 32, 4]
Generated Node #0,2: 57:[29, 32, 4] Operation: 72-68=4
Exploring Operation: 72-29=43, Resulting Numbers: [32, 68, 43]
Generated Node #0,3: 57:[32, 68, 43] Operation: 72-29=43
Exploring Operation: 29+32=61, Resulting Numbers: [68, 72, 61]
Generated Node #0,4: 57:[68, 72, 61] Operation: 29+32=61
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[29, 32, 4], Operations: ['72-68=4']
Exploring Operation: 29-4=25, Resulting Numbers: [32, 25]
Generated Node #0,2,0: 57:[32, 25] Operation: 29-4=25
Exploring Operation: 29+32=61, Resulting Numbers: [4, 61]
Generated Node #0,2,1: 57:[4, 61] Operation: 29+32=61
Exploring Operation: 32-4=28, Resulting Numbers: [29, 28]
Generated Node #0,2,2: 57:[29, 28] Operation: 32-4=28
Exploring Operation: 32-29=3, Resulting Numbers: [4, 3]
Generated Node #0,2,3: 57:[4, 3] Operation: 32-29=3
Exploring Operation: 32/4=8, Resulting Numbers: [29, 8]
Generated Node #0,2,4: 57:[29, 8] Operation: 32/4=8
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[4, 3], Operations: ['72-68=4', '32-29=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,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:[4, 61], Operations: ['72-68=4', '29+32=61']
Exploring Operation: 4*61=244, Resulting Numbers: [244]
244,57 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[29, 32, 68, 72], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [29, 32, 4]
Generated Node #0,2: 57:[29, 32, 4] Operation: 72-68=4
Moving to Node #0,2
Current State: 57:[29, 32, 4], Operations: ['72-68=4']
Exploring Operation: 29+32=61, Resulting Numbers: [4, 61]
Generated Node #0,2,1: 57:[4, 61] Operation: 29+32=61
Moving to Node #0,2,1
Current State: 57:[4, 61], Operations: ['72-68=4', '29+32=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
39,
78,
32,
54
] | 95 | [
"39+78=117",
"54-32=22",
"117-22=95"
] | Current State: 95:[39, 78, 32, 54], Operations: []
Exploring Operation: 39+78=117, Resulting Numbers: [32, 54, 117]
Generated Node #2: [32, 54, 117] from Operation: 39+78=117
Current State: 95:[32, 54, 117], Operations: ['39+78=117']
Exploring Operation: 54-32=22, Resulting Numbers: [117, 22]
Generated Node #3: [117, 22] from Operation: 54-32=22
Current State: 95:[117, 22], Operations: ['39+78=117', '54-32=22']
Exploring Operation: 117-22=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[39, 78, 32, 54], Operations: []
Exploring Operation: 32+54=86, Resulting Numbers: [39, 78, 86]
Generated Node #0,0: 95:[39, 78, 86] Operation: 32+54=86
Exploring Operation: 78-54=24, Resulting Numbers: [39, 32, 24]
Generated Node #0,1: 95:[39, 32, 24] Operation: 78-54=24
Exploring Operation: 39+54=93, Resulting Numbers: [78, 32, 93]
Generated Node #0,2: 95:[78, 32, 93] Operation: 39+54=93
Exploring Operation: 54-39=15, Resulting Numbers: [78, 32, 15]
Generated Node #0,3: 95:[78, 32, 15] Operation: 54-39=15
Exploring Operation: 54-32=22, Resulting Numbers: [39, 78, 22]
Generated Node #0,4: 95:[39, 78, 22] Operation: 54-32=22
Moving to Node #0,2
Current State: 95:[78, 32, 93], Operations: ['39+54=93']
Exploring Operation: 78-32=46, Resulting Numbers: [93, 46]
Generated Node #0,2,0: 95:[93, 46] Operation: 78-32=46
Exploring Operation: 93-32=61, Resulting Numbers: [78, 61]
Generated Node #0,2,1: 95:[78, 61] Operation: 93-32=61
Exploring Operation: 93-78=15, Resulting Numbers: [32, 15]
Generated Node #0,2,2: 95:[32, 15] Operation: 93-78=15
Exploring Operation: 32+93=125, Resulting Numbers: [78, 125]
Generated Node #0,2,3: 95:[78, 125] Operation: 32+93=125
Exploring Operation: 78+32=110, Resulting Numbers: [93, 110]
Generated Node #0,2,4: 95:[93, 110] Operation: 78+32=110
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[32, 15], Operations: ['39+54=93', '93-78=15']
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,95 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 95:[93, 110], Operations: ['39+54=93', '78+32=110']
Exploring Operation: 93*110=10230, Resulting Numbers: [10230]
10230,95 unequal: No Solution
Exploring Operation: 110-93=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 93+110=203, Resulting Numbers: [203]
203,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[93, 46], Operations: ['39+54=93', '78-32=46']
Exploring Operation: 93-46=47, Resulting Numbers: [47]
47,95 unequal: No Solution
Exploring Operation: 93*46=4278, Resulting Numbers: [4278]
4278,95 unequal: No Solution
Exploring Operation: 93+46=139, Resulting Numbers: [139]
139,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 95:[78, 125], Operations: ['39+54=93', '32+93=125']
Exploring Operation: 125-78=47, Resulting Numbers: [47]
47,95 unequal: No Solution
Exploring Operation: 78+125=203, Resulting Numbers: [203]
203,95 unequal: No Solution
Exploring Operation: 78*125=9750, Resulting Numbers: [9750]
9750,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[78, 61], Operations: ['39+54=93', '93-32=61']
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 78+61=139, Resulting Numbers: [139]
139,95 unequal: No Solution
Exploring Operation: 78*61=4758, Resulting Numbers: [4758]
4758,95 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: 95:[78, 32, 15], Operations: ['54-39=15']
Exploring Operation: 78+32=110, Resulting Numbers: [15, 110]
Generated Node #0,3,0: 95:[15, 110] Operation: 78+32=110
Exploring Operation: 78-15=63, Resulting Numbers: [32, 63]
Generated Node #0,3,1: 95:[32, 63] Operation: 78-15=63
Exploring Operation: 78+15=93, Resulting Numbers: [32, 93]
Generated Node #0,3,2: 95:[32, 93] Operation: 78+15=93
Exploring Operation: 78-32=46, Resulting Numbers: [15, 46]
Generated Node #0,3,3: 95:[15, 46] Operation: 78-32=46
Exploring Operation: 32-15=17, Resulting Numbers: [78, 17]
Generated Node #0,3,4: 95:[78, 17] Operation: 32-15=17
Moving to Node #0,1
Current State: 95:[39, 32, 24], Operations: ['78-54=24']
Exploring Operation: 39-32=7, Resulting Numbers: [24, 7]
Generated Node #0,1,0: 95:[24, 7] Operation: 39-32=7
Exploring Operation: 39-24=15, Resulting Numbers: [32, 15]
Generated Node #0,1,1: 95:[32, 15] Operation: 39-24=15
Exploring Operation: 39+32=71, Resulting Numbers: [24, 71]
Generated Node #0,1,2: 95:[24, 71] Operation: 39+32=71
Exploring Operation: 39+24=63, Resulting Numbers: [32, 63]
Generated Node #0,1,3: 95:[32, 63] Operation: 39+24=63
Exploring Operation: 32-24=8, Resulting Numbers: [39, 8]
Generated Node #0,1,4: 95:[39, 8] Operation: 32-24=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[24, 7], Operations: ['78-54=24', '39-32=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[32, 15], Operations: ['78-54=24', '39-24=15']
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,95 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 95:[39, 8], Operations: ['78-54=24', '32-24=8']
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,95 unequal: No Solution
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,95 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[24, 71], Operations: ['78-54=24', '39+32=71']
Exploring Operation: 24+71=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[39, 78, 32, 54], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [39, 32, 24]
Generated Node #0,1: 95:[39, 32, 24] Operation: 78-54=24
Moving to Node #0,1
Current State: 95:[39, 32, 24], Operations: ['78-54=24']
Exploring Operation: 39+32=71, Resulting Numbers: [24, 71]
Generated Node #0,1,2: 95:[24, 71] Operation: 39+32=71
Moving to Node #0,1,2
Current State: 95:[24, 71], Operations: ['78-54=24', '39+32=71']
Exploring Operation: 24+71=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_5 | mult_heuristic |
[
69,
4,
68,
51
] | 72 | [
"68/4=17",
"51/17=3",
"69+3=72"
] | Current State: 72:[69, 4, 68, 51], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [69, 51, 17]
Generated Node #2: [69, 51, 17] from Operation: 68/4=17
Current State: 72:[69, 51, 17], Operations: ['68/4=17']
Exploring Operation: 51/17=3, Resulting Numbers: [69, 3]
Generated Node #3: [69, 3] from Operation: 51/17=3
Current State: 72:[69, 3], Operations: ['68/4=17', '51/17=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[69, 4, 68, 51], Operations: []
Exploring Operation: 68-51=17, Resulting Numbers: [69, 4, 17]
Generated Node #0,0: 72:[69, 4, 17] Operation: 68-51=17
Exploring Operation: 69-51=18, Resulting Numbers: [4, 68, 18]
Generated Node #0,1: 72:[4, 68, 18] Operation: 69-51=18
Moving to Node #0,0
Current State: 72:[69, 4, 17], Operations: ['68-51=17']
Exploring Operation: 17-4=13, Resulting Numbers: [69, 13]
Generated Node #0,0,0: 72:[69, 13] Operation: 17-4=13
Exploring Operation: 69+4=73, Resulting Numbers: [17, 73]
Generated Node #0,0,1: 72:[17, 73] Operation: 69+4=73
Moving to Node #0,1
Current State: 72:[4, 68, 18], Operations: ['69-51=18']
Exploring Operation: 4+68=72, Resulting Numbers: [18, 72]
Generated Node #0,1,0: 72:[18, 72] Operation: 4+68=72
Exploring Operation: 68/4=17, Resulting Numbers: [18, 17]
Generated Node #0,1,1: 72:[18, 17] Operation: 68/4=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[18, 72], Operations: ['69-51=18', '4+68=72']
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,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,1
Current State: 72:[18, 17], Operations: ['69-51=18', '68/4=17']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,72 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: 72:[17, 73], Operations: ['68-51=17', '69+4=73']
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 17+73=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[69, 13], Operations: ['68-51=17', '17-4=13']
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,72 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
84,
68,
4,
46
] | 50 | [
"84-68=16",
"16/4=4",
"46+4=50"
] | Current State: 50:[84, 68, 4, 46], Operations: []
Exploring Operation: 84-68=16, Resulting Numbers: [4, 46, 16]
Generated Node #2: [4, 46, 16] from Operation: 84-68=16
Current State: 50:[4, 46, 16], Operations: ['84-68=16']
Exploring Operation: 16/4=4, Resulting Numbers: [46, 4]
Generated Node #3: [46, 4] from Operation: 16/4=4
Current State: 50:[46, 4], Operations: ['84-68=16', '16/4=4']
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[84, 68, 4, 46], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [68, 46, 21]
Generated Node #0,0: 50:[68, 46, 21] Operation: 84/4=21
Exploring Operation: 84-68=16, Resulting Numbers: [4, 46, 16]
Generated Node #0,1: 50:[4, 46, 16] Operation: 84-68=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[4, 46, 16], Operations: ['84-68=16']
Exploring Operation: 16/4=4, Resulting Numbers: [46, 4]
Generated Node #0,1,0: 50:[46, 4] Operation: 16/4=4
Exploring Operation: 4+46=50, Resulting Numbers: [16, 50]
Generated Node #0,1,1: 50:[16, 50] Operation: 4+46=50
Moving to Node #0,1,0
Current State: 50:[46, 4], Operations: ['84-68=16', '16/4=4']
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[84, 68, 4, 46], Operations: []
Exploring Operation: 84-68=16, Resulting Numbers: [4, 46, 16]
Generated Node #0,1: 50:[4, 46, 16] Operation: 84-68=16
Moving to Node #0,1
Current State: 50:[4, 46, 16], Operations: ['84-68=16']
Exploring Operation: 16/4=4, Resulting Numbers: [46, 4]
Generated Node #0,1,0: 50:[46, 4] Operation: 16/4=4
Moving to Node #0,1,0
Current State: 50:[46, 4], Operations: ['84-68=16', '16/4=4']
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
75,
70,
26,
56
] | 25 | [
"75-70=5",
"56-26=30",
"30-5=25"
] | Current State: 25:[75, 70, 26, 56], Operations: []
Exploring Operation: 75-70=5, Resulting Numbers: [26, 56, 5]
Generated Node #2: [26, 56, 5] from Operation: 75-70=5
Current State: 25:[26, 56, 5], Operations: ['75-70=5']
Exploring Operation: 56-26=30, Resulting Numbers: [5, 30]
Generated Node #3: [5, 30] from Operation: 56-26=30
Current State: 25:[5, 30], Operations: ['75-70=5', '56-26=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[75, 70, 26, 56], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [70, 26, 19]
Generated Node #0,0: 25:[70, 26, 19] Operation: 75-56=19
Exploring Operation: 70-56=14, Resulting Numbers: [75, 26, 14]
Generated Node #0,1: 25:[75, 26, 14] Operation: 70-56=14
Exploring Operation: 75-70=5, Resulting Numbers: [26, 56, 5]
Generated Node #0,2: 25:[26, 56, 5] Operation: 75-70=5
Moving to Node #0,2
Current State: 25:[26, 56, 5], Operations: ['75-70=5']
Exploring Operation: 26-5=21, Resulting Numbers: [56, 21]
Generated Node #0,2,0: 25:[56, 21] Operation: 26-5=21
Exploring Operation: 56-26=30, Resulting Numbers: [5, 30]
Generated Node #0,2,1: 25:[5, 30] Operation: 56-26=30
Exploring Operation: 56-5=51, Resulting Numbers: [26, 51]
Generated Node #0,2,2: 25:[26, 51] Operation: 56-5=51
Moving to Node #0,0
Current State: 25:[70, 26, 19], Operations: ['75-56=19']
Exploring Operation: 26-19=7, Resulting Numbers: [70, 7]
Generated Node #0,0,0: 25:[70, 7] Operation: 26-19=7
Exploring Operation: 70-19=51, Resulting Numbers: [26, 51]
Generated Node #0,0,1: 25:[26, 51] Operation: 70-19=51
Exploring Operation: 70-26=44, Resulting Numbers: [19, 44]
Generated Node #0,0,2: 25:[19, 44] Operation: 70-26=44
Moving to Node #0,1
Current State: 25:[75, 26, 14], Operations: ['70-56=14']
Exploring Operation: 26-14=12, Resulting Numbers: [75, 12]
Generated Node #0,1,0: 25:[75, 12] Operation: 26-14=12
Exploring Operation: 75-14=61, Resulting Numbers: [26, 61]
Generated Node #0,1,1: 25:[26, 61] Operation: 75-14=61
Exploring Operation: 75-26=49, Resulting Numbers: [14, 49]
Generated Node #0,1,2: 25:[14, 49] Operation: 75-26=49
Moving to Node #0,2,1
Current State: 25:[5, 30], Operations: ['75-70=5', '56-26=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[75, 70, 26, 56], Operations: []
Exploring Operation: 75-70=5, Resulting Numbers: [26, 56, 5]
Generated Node #0,2: 25:[26, 56, 5] Operation: 75-70=5
Moving to Node #0,2
Current State: 25:[26, 56, 5], Operations: ['75-70=5']
Exploring Operation: 56-26=30, Resulting Numbers: [5, 30]
Generated Node #0,2,1: 25:[5, 30] Operation: 56-26=30
Moving to Node #0,2,1
Current State: 25:[5, 30], Operations: ['75-70=5', '56-26=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
11,
53,
95,
8
] | 10 | [
"11+95=106",
"106/53=2",
"8+2=10"
] | Current State: 10:[11, 53, 95, 8], Operations: []
Exploring Operation: 11+95=106, Resulting Numbers: [53, 8, 106]
Generated Node #2: [53, 8, 106] from Operation: 11+95=106
Current State: 10:[53, 8, 106], Operations: ['11+95=106']
Exploring Operation: 106/53=2, Resulting Numbers: [8, 2]
Generated Node #3: [8, 2] from Operation: 106/53=2
Current State: 10:[8, 2], Operations: ['11+95=106', '106/53=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[11, 53, 95, 8], Operations: []
Exploring Operation: 53-11=42, Resulting Numbers: [95, 8, 42]
Generated Node #0,0: 10:[95, 8, 42] Operation: 53-11=42
Exploring Operation: 53-8=45, Resulting Numbers: [11, 95, 45]
Generated Node #0,1: 10:[11, 95, 45] Operation: 53-8=45
Exploring Operation: 95-11=84, Resulting Numbers: [53, 8, 84]
Generated Node #0,2: 10:[53, 8, 84] Operation: 95-11=84
Exploring Operation: 95-8=87, Resulting Numbers: [11, 53, 87]
Generated Node #0,3: 10:[11, 53, 87] Operation: 95-8=87
Exploring Operation: 95-53=42, Resulting Numbers: [11, 8, 42]
Generated Node #0,4: 10:[11, 8, 42] Operation: 95-53=42
Moving to Node #0,4
Current State: 10:[11, 8, 42], Operations: ['95-53=42']
Exploring Operation: 42-11=31, Resulting Numbers: [8, 31]
Generated Node #0,4,0: 10:[8, 31] Operation: 42-11=31
Exploring Operation: 8+42=50, Resulting Numbers: [11, 50]
Generated Node #0,4,1: 10:[11, 50] Operation: 8+42=50
Exploring Operation: 11-8=3, Resulting Numbers: [42, 3]
Generated Node #0,4,2: 10:[42, 3] Operation: 11-8=3
Exploring Operation: 42-8=34, Resulting Numbers: [11, 34]
Generated Node #0,4,3: 10:[11, 34] Operation: 42-8=34
Exploring Operation: 11+8=19, Resulting Numbers: [42, 19]
Generated Node #0,4,4: 10:[42, 19] Operation: 11+8=19
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 10:[8, 31], Operations: ['95-53=42', '42-11=31']
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,10 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 10:[11, 34], Operations: ['95-53=42', '42-8=34']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,10 unequal: No Solution
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 10:[42, 3], Operations: ['95-53=42', '11-8=3']
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,10 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 10:[11, 50], Operations: ['95-53=42', '8+42=50']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,10 unequal: No Solution
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 10:[42, 19], Operations: ['95-53=42', '11+8=19']
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,10 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,10 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: 10:[53, 8, 84], Operations: ['95-11=84']
Exploring Operation: 8+84=92, Resulting Numbers: [53, 92]
Generated Node #0,2,0: 10:[53, 92] Operation: 8+84=92
Exploring Operation: 84-8=76, Resulting Numbers: [53, 76]
Generated Node #0,2,1: 10:[53, 76] Operation: 84-8=76
Exploring Operation: 84-53=31, Resulting Numbers: [8, 31]
Generated Node #0,2,2: 10:[8, 31] Operation: 84-53=31
Exploring Operation: 53+8=61, Resulting Numbers: [84, 61]
Generated Node #0,2,3: 10:[84, 61] Operation: 53+8=61
Exploring Operation: 53-8=45, Resulting Numbers: [84, 45]
Generated Node #0,2,4: 10:[84, 45] Operation: 53-8=45
Moving to Node #0,0
Current State: 10:[95, 8, 42], Operations: ['53-11=42']
Exploring Operation: 8+42=50, Resulting Numbers: [95, 50]
Generated Node #0,0,0: 10:[95, 50] Operation: 8+42=50
Exploring Operation: 95-8=87, Resulting Numbers: [42, 87]
Generated Node #0,0,1: 10:[42, 87] Operation: 95-8=87
Exploring Operation: 42-8=34, Resulting Numbers: [95, 34]
Generated Node #0,0,2: 10:[95, 34] Operation: 42-8=34
Exploring Operation: 95+8=103, Resulting Numbers: [42, 103]
Generated Node #0,0,3: 10:[42, 103] Operation: 95+8=103
Exploring Operation: 95-42=53, Resulting Numbers: [8, 53]
Generated Node #0,0,4: 10:[8, 53] Operation: 95-42=53
Moving to Node #0,1
Current State: 10:[11, 95, 45], Operations: ['53-8=45']
Exploring Operation: 45-11=34, Resulting Numbers: [95, 34]
Generated Node #0,1,0: 10:[95, 34] Operation: 45-11=34
Exploring Operation: 11+45=56, Resulting Numbers: [95, 56]
Generated Node #0,1,1: 10:[95, 56] Operation: 11+45=56
Exploring Operation: 95-11=84, Resulting Numbers: [45, 84]
Generated Node #0,1,2: 10:[45, 84] Operation: 95-11=84
Exploring Operation: 95-45=50, Resulting Numbers: [11, 50]
Generated Node #0,1,3: 10:[11, 50] Operation: 95-45=50
Exploring Operation: 11+95=106, Resulting Numbers: [45, 106]
Generated Node #0,1,4: 10:[45, 106] Operation: 11+95=106
Moving to Node #0,3
Current State: 10:[11, 53, 87], Operations: ['95-8=87']
Exploring Operation: 11+87=98, Resulting Numbers: [53, 98]
Generated Node #0,3,0: 10:[53, 98] Operation: 11+87=98
Exploring Operation: 87-11=76, Resulting Numbers: [53, 76]
Generated Node #0,3,1: 10:[53, 76] Operation: 87-11=76
Exploring Operation: 11+53=64, Resulting Numbers: [87, 64]
Generated Node #0,3,2: 10:[87, 64] Operation: 11+53=64
Exploring Operation: 53-11=42, Resulting Numbers: [87, 42]
Generated Node #0,3,3: 10:[87, 42] Operation: 53-11=42
Exploring Operation: 87-53=34, Resulting Numbers: [11, 34]
Generated Node #0,3,4: 10:[11, 34] Operation: 87-53=34
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 10:[11, 34], Operations: ['95-8=87', '87-53=34']
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,10 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[53, 76], Operations: ['95-8=87', '87-11=76']
Exploring Operation: 53+76=129, Resulting Numbers: [129]
129,10 unequal: No Solution
Exploring Operation: 76-53=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 53*76=4028, Resulting Numbers: [4028]
4028,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[87, 42], Operations: ['95-8=87', '53-11=42']
Exploring Operation: 87+42=129, Resulting Numbers: [129]
129,10 unequal: No Solution
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 87*42=3654, Resulting Numbers: [3654]
3654,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[53, 98], Operations: ['95-8=87', '11+87=98']
Exploring Operation: 53+98=151, Resulting Numbers: [151]
151,10 unequal: No Solution
Exploring Operation: 98-53=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 53*98=5194, Resulting Numbers: [5194]
5194,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[87, 64], Operations: ['95-8=87', '11+53=64']
Exploring Operation: 87-64=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 87+64=151, Resulting Numbers: [151]
151,10 unequal: No Solution
Exploring Operation: 87*64=5568, Resulting Numbers: [5568]
5568,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 10:[8, 31], Operations: ['95-11=84', '84-53=31']
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,10 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[11, 50], Operations: ['53-8=45', '95-45=50']
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,10 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Moving to Node #0,0,4
Current State: 10:[8, 53], Operations: ['53-11=42', '95-42=53']
Exploring Operation: 8*53=424, Resulting Numbers: [424]
424,10 unequal: No Solution
Exploring Operation: 8+53=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[42, 87], Operations: ['53-11=42', '95-8=87']
Exploring Operation: 42*87=3654, Resulting Numbers: [3654]
3654,10 unequal: No Solution
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 42+87=129, Resulting Numbers: [129]
129,10 unequal: No Solution
Moving to Node #0,2,4
Current State: 10:[84, 45], Operations: ['95-11=84', '53-8=45']
Exploring Operation: 84*45=3780, Resulting Numbers: [3780]
3780,10 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 84+45=129, Resulting Numbers: [129]
129,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[95, 34], Operations: ['53-8=45', '45-11=34']
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 95+34=129, Resulting Numbers: [129]
129,10 unequal: No Solution
Exploring Operation: 95*34=3230, Resulting Numbers: [3230]
3230,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[45, 84], Operations: ['53-8=45', '95-11=84']
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 45*84=3780, Resulting Numbers: [3780]
3780,10 unequal: No Solution
Exploring Operation: 45+84=129, Resulting Numbers: [129]
129,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[53, 76], Operations: ['95-11=84', '84-8=76']
Exploring Operation: 53*76=4028, Resulting Numbers: [4028]
4028,10 unequal: No Solution
Exploring Operation: 76-53=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 53+76=129, Resulting Numbers: [129]
129,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[95, 34], Operations: ['53-11=42', '42-8=34']
Exploring Operation: 95+34=129, Resulting Numbers: [129]
129,10 unequal: No Solution
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 95*34=3230, Resulting Numbers: [3230]
3230,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[42, 103], Operations: ['53-11=42', '95+8=103']
Exploring Operation: 42*103=4326, Resulting Numbers: [4326]
4326,10 unequal: No Solution
Exploring Operation: 42+103=145, Resulting Numbers: [145]
145,10 unequal: No Solution
Exploring Operation: 103-42=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[84, 61], Operations: ['95-11=84', '53+8=61']
Exploring Operation: 84*61=5124, Resulting Numbers: [5124]
5124,10 unequal: No Solution
Exploring Operation: 84-61=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 84+61=145, Resulting Numbers: [145]
145,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[95, 50], Operations: ['53-11=42', '8+42=50']
Exploring Operation: 95*50=4750, Resulting Numbers: [4750]
4750,10 unequal: No Solution
Exploring Operation: 95+50=145, Resulting Numbers: [145]
145,10 unequal: No Solution
Exploring Operation: 95-50=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[53, 92], Operations: ['95-11=84', '8+84=92']
Exploring Operation: 53*92=4876, Resulting Numbers: [4876]
4876,10 unequal: No Solution
Exploring Operation: 53+92=145, Resulting Numbers: [145]
145,10 unequal: No Solution
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[95, 56], Operations: ['53-8=45', '11+45=56']
Exploring Operation: 95+56=151, Resulting Numbers: [151]
151,10 unequal: No Solution
Exploring Operation: 95-56=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 95*56=5320, Resulting Numbers: [5320]
5320,10 unequal: No Solution
Moving to Node #0,1,4
Current State: 10:[45, 106], Operations: ['53-8=45', '11+95=106']
Exploring Operation: 45+106=151, Resulting Numbers: [151]
151,10 unequal: No Solution
Exploring Operation: 106-45=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 45*106=4770, Resulting Numbers: [4770]
4770,10 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
70,
22,
77,
75
] | 94 | [
"70+22=92",
"77-75=2",
"92+2=94"
] | Current State: 94:[70, 22, 77, 75], Operations: []
Exploring Operation: 70+22=92, Resulting Numbers: [77, 75, 92]
Generated Node #2: [77, 75, 92] from Operation: 70+22=92
Current State: 94:[77, 75, 92], Operations: ['70+22=92']
Exploring Operation: 77-75=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 77-75=2
Current State: 94:[92, 2], Operations: ['70+22=92', '77-75=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[70, 22, 77, 75], Operations: []
Exploring Operation: 70-22=48, Resulting Numbers: [77, 75, 48]
Generated Node #0,0: 94:[77, 75, 48] Operation: 70-22=48
Moving to Node #0,0
Current State: 94:[77, 75, 48], Operations: ['70-22=48']
Exploring Operation: 77-75=2, Resulting Numbers: [48, 2]
Generated Node #0,0,0: 94:[48, 2] Operation: 77-75=2
Moving to Node #0,0,0
Current State: 94:[48, 2], Operations: ['70-22=48', '77-75=2']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,94 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
35,
70,
74,
11
] | 28 | [
"70-35=35",
"74-11=63",
"63-35=28"
] | Current State: 28:[35, 70, 74, 11], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [74, 11, 35]
Generated Node #2: [74, 11, 35] from Operation: 70-35=35
Current State: 28:[74, 11, 35], Operations: ['70-35=35']
Exploring Operation: 74-11=63, Resulting Numbers: [35, 63]
Generated Node #3: [35, 63] from Operation: 74-11=63
Current State: 28:[35, 63], Operations: ['70-35=35', '74-11=63']
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[35, 70, 74, 11], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [74, 11, 2]
Generated Node #0,0: 28:[74, 11, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [74, 11, 35]
Generated Node #0,1: 28:[74, 11, 35] Operation: 70-35=35
Exploring Operation: 74-70=4, Resulting Numbers: [35, 11, 4]
Generated Node #0,2: 28:[35, 11, 4] Operation: 74-70=4
Moving to Node #0,2
Current State: 28:[35, 11, 4], Operations: ['74-70=4']
Exploring Operation: 35-4=31, Resulting Numbers: [11, 31]
Generated Node #0,2,0: 28:[11, 31] Operation: 35-4=31
Exploring Operation: 35-11=24, Resulting Numbers: [4, 24]
Generated Node #0,2,1: 28:[4, 24] Operation: 35-11=24
Exploring Operation: 11-4=7, Resulting Numbers: [35, 7]
Generated Node #0,2,2: 28:[35, 7] Operation: 11-4=7
Moving to Node #0,0
Current State: 28:[74, 11, 2], Operations: ['70/35=2']
Exploring Operation: 74-2=72, Resulting Numbers: [11, 72]
Generated Node #0,0,0: 28:[11, 72] Operation: 74-2=72
Exploring Operation: 74/2=37, Resulting Numbers: [11, 37]
Generated Node #0,0,1: 28:[11, 37] Operation: 74/2=37
Exploring Operation: 74-11=63, Resulting Numbers: [2, 63]
Generated Node #0,0,2: 28:[2, 63] Operation: 74-11=63
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[11, 37], Operations: ['70/35=2', '74/2=37']
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,28 unequal: No Solution
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[2, 63], Operations: ['70/35=2', '74-11=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,28 unequal: No Solution
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,28 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[11, 72], Operations: ['70/35=2', '74-2=72']
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 11*72=792, Resulting Numbers: [792]
792,28 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: 28:[74, 11, 35], Operations: ['70-35=35']
Exploring Operation: 74-35=39, Resulting Numbers: [11, 39]
Generated Node #0,1,0: 28:[11, 39] Operation: 74-35=39
Exploring Operation: 74-11=63, Resulting Numbers: [35, 63]
Generated Node #0,1,1: 28:[35, 63] Operation: 74-11=63
Exploring Operation: 35-11=24, Resulting Numbers: [74, 24]
Generated Node #0,1,2: 28:[74, 24] Operation: 35-11=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[11, 39], Operations: ['70-35=35', '74-35=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,28 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[35, 70, 74, 11], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [74, 11, 35]
Generated Node #0,1: 28:[74, 11, 35] Operation: 70-35=35
Moving to Node #0,1
Current State: 28:[74, 11, 35], Operations: ['70-35=35']
Exploring Operation: 74-35=39, Resulting Numbers: [11, 39]
Generated Node #0,1,0: 28:[11, 39] Operation: 74-35=39
Moving to Node #0,1,0
Current State: 28:[11, 39], Operations: ['70-35=35', '74-35=39']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
37,
95,
83,
15
] | 64 | [
"37+95=132",
"83-15=68",
"132-68=64"
] | Current State: 64:[37, 95, 83, 15], Operations: []
Exploring Operation: 37+95=132, Resulting Numbers: [83, 15, 132]
Generated Node #2: [83, 15, 132] from Operation: 37+95=132
Current State: 64:[83, 15, 132], Operations: ['37+95=132']
Exploring Operation: 83-15=68, Resulting Numbers: [132, 68]
Generated Node #3: [132, 68] from Operation: 83-15=68
Current State: 64:[132, 68], Operations: ['37+95=132', '83-15=68']
Exploring Operation: 132-68=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[37, 95, 83, 15], Operations: []
Exploring Operation: 95-37=58, Resulting Numbers: [83, 15, 58]
Generated Node #0,0: 64:[83, 15, 58] Operation: 95-37=58
Exploring Operation: 95-15=80, Resulting Numbers: [37, 83, 80]
Generated Node #0,1: 64:[37, 83, 80] Operation: 95-15=80
Exploring Operation: 95-83=12, Resulting Numbers: [37, 15, 12]
Generated Node #0,2: 64:[37, 15, 12] Operation: 95-83=12
Exploring Operation: 83-15=68, Resulting Numbers: [37, 95, 68]
Generated Node #0,3: 64:[37, 95, 68] Operation: 83-15=68
Moving to Node #0,2
Current State: 64:[37, 15, 12], Operations: ['95-83=12']
Exploring Operation: 37-12=25, Resulting Numbers: [15, 25]
Generated Node #0,2,0: 64:[15, 25] Operation: 37-12=25
Exploring Operation: 37-15=22, Resulting Numbers: [12, 22]
Generated Node #0,2,1: 64:[12, 22] Operation: 37-15=22
Exploring Operation: 15-12=3, Resulting Numbers: [37, 3]
Generated Node #0,2,2: 64:[37, 3] Operation: 15-12=3
Exploring Operation: 15+12=27, Resulting Numbers: [37, 27]
Generated Node #0,2,3: 64:[37, 27] Operation: 15+12=27
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[37, 3], Operations: ['95-83=12', '15-12=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,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:[15, 25], Operations: ['95-83=12', '37-12=25']
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[12, 22], Operations: ['95-83=12', '37-15=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 64:[37, 27], Operations: ['95-83=12', '15+12=27']
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[37, 95, 83, 15], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [37, 15, 12]
Generated Node #0,2: 64:[37, 15, 12] Operation: 95-83=12
Moving to Node #0,2
Current State: 64:[37, 15, 12], Operations: ['95-83=12']
Exploring Operation: 15+12=27, Resulting Numbers: [37, 27]
Generated Node #0,2,3: 64:[37, 27] Operation: 15+12=27
Moving to Node #0,2,3
Current State: 64:[37, 27], Operations: ['95-83=12', '15+12=27']
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
58,
63,
65,
18
] | 88 | [
"63-58=5",
"65+18=83",
"5+83=88"
] | Current State: 88:[58, 63, 65, 18], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [65, 18, 5]
Generated Node #2: [65, 18, 5] from Operation: 63-58=5
Current State: 88:[65, 18, 5], Operations: ['63-58=5']
Exploring Operation: 65+18=83, Resulting Numbers: [5, 83]
Generated Node #3: [5, 83] from Operation: 65+18=83
Current State: 88:[5, 83], Operations: ['63-58=5', '65+18=83']
Exploring Operation: 5+83=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[58, 63, 65, 18], Operations: []
Exploring Operation: 63-18=45, Resulting Numbers: [58, 65, 45]
Generated Node #0,0: 88:[58, 65, 45] Operation: 63-18=45
Exploring Operation: 63-58=5, Resulting Numbers: [65, 18, 5]
Generated Node #0,1: 88:[65, 18, 5] Operation: 63-58=5
Exploring Operation: 65-63=2, Resulting Numbers: [58, 18, 2]
Generated Node #0,2: 88:[58, 18, 2] Operation: 65-63=2
Exploring Operation: 65-58=7, Resulting Numbers: [63, 18, 7]
Generated Node #0,3: 88:[63, 18, 7] Operation: 65-58=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[58, 18, 2], Operations: ['65-63=2']
Exploring Operation: 58/2=29, Resulting Numbers: [18, 29]
Generated Node #0,2,0: 88:[18, 29] Operation: 58/2=29
Exploring Operation: 58-18=40, Resulting Numbers: [2, 40]
Generated Node #0,2,1: 88:[2, 40] Operation: 58-18=40
Exploring Operation: 58+18=76, Resulting Numbers: [2, 76]
Generated Node #0,2,2: 88:[2, 76] Operation: 58+18=76
Exploring Operation: 18/2=9, Resulting Numbers: [58, 9]
Generated Node #0,2,3: 88:[58, 9] Operation: 18/2=9
Moving to Node #0,2,1
Current State: 88:[2, 40], Operations: ['65-63=2', '58-18=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[18, 29], Operations: ['65-63=2', '58/2=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[2, 76], Operations: ['65-63=2', '58+18=76']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,88 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,88 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[58, 9], Operations: ['65-63=2', '18/2=9']
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,88 unequal: No Solution
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[63, 18, 7], Operations: ['65-58=7']
Exploring Operation: 63+18=81, Resulting Numbers: [7, 81]
Generated Node #0,3,0: 88:[7, 81] Operation: 63+18=81
Exploring Operation: 63-7=56, Resulting Numbers: [18, 56]
Generated Node #0,3,1: 88:[18, 56] Operation: 63-7=56
Exploring Operation: 63-18=45, Resulting Numbers: [7, 45]
Generated Node #0,3,2: 88:[7, 45] Operation: 63-18=45
Exploring Operation: 63/7=9, Resulting Numbers: [18, 9]
Generated Node #0,3,3: 88:[18, 9] Operation: 63/7=9
Moving to Node #0,3,2
Current State: 88:[7, 45], Operations: ['65-58=7', '63-18=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[18, 9], Operations: ['65-58=7', '63/7=9']
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,88 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[7, 81], Operations: ['65-58=7', '63+18=81']
Exploring Operation: 7*81=567, Resulting Numbers: [567]
567,88 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[58, 63, 65, 18], Operations: []
Exploring Operation: 65-58=7, Resulting Numbers: [63, 18, 7]
Generated Node #0,3: 88:[63, 18, 7] Operation: 65-58=7
Moving to Node #0,3
Current State: 88:[63, 18, 7], Operations: ['65-58=7']
Exploring Operation: 63+18=81, Resulting Numbers: [7, 81]
Generated Node #0,3,0: 88:[7, 81] Operation: 63+18=81
Moving to Node #0,3,0
Current State: 88:[7, 81], Operations: ['65-58=7', '63+18=81']
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | mult_heuristic |
[
65,
55,
48,
16
] | 30 | [
"65-55=10",
"48/16=3",
"10*3=30"
] | Current State: 30:[65, 55, 48, 16], Operations: []
Exploring Operation: 65-55=10, Resulting Numbers: [48, 16, 10]
Generated Node #2: [48, 16, 10] from Operation: 65-55=10
Current State: 30:[48, 16, 10], Operations: ['65-55=10']
Exploring Operation: 48/16=3, Resulting Numbers: [10, 3]
Generated Node #3: [10, 3] from Operation: 48/16=3
Current State: 30:[10, 3], Operations: ['65-55=10', '48/16=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[65, 55, 48, 16], Operations: []
Exploring Operation: 65-55=10, Resulting Numbers: [48, 16, 10]
Generated Node #0,0: 30:[48, 16, 10] Operation: 65-55=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[48, 16, 10], Operations: ['65-55=10']
Exploring Operation: 48/16=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 30:[10, 3] Operation: 48/16=3
Moving to Node #0,0,0
Current State: 30:[10, 3], Operations: ['65-55=10', '48/16=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[65, 55, 48, 16], Operations: []
Exploring Operation: 65-55=10, Resulting Numbers: [48, 16, 10]
Generated Node #0,0: 30:[48, 16, 10] Operation: 65-55=10
Moving to Node #0,0
Current State: 30:[48, 16, 10], Operations: ['65-55=10']
Exploring Operation: 48/16=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 30:[10, 3] Operation: 48/16=3
Moving to Node #0,0,0
Current State: 30:[10, 3], Operations: ['65-55=10', '48/16=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
21,
85,
6,
67
] | 63 | [
"85-67=18",
"21*18=378",
"378/6=63"
] | Current State: 63:[21, 85, 6, 67], Operations: []
Exploring Operation: 85-67=18, Resulting Numbers: [21, 6, 18]
Generated Node #2: [21, 6, 18] from Operation: 85-67=18
Current State: 63:[21, 6, 18], Operations: ['85-67=18']
Exploring Operation: 21*18=378, Resulting Numbers: [6, 378]
Generated Node #3: [6, 378] from Operation: 21*18=378
Current State: 63:[6, 378], Operations: ['85-67=18', '21*18=378']
Exploring Operation: 378/6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[21, 85, 6, 67], Operations: []
Exploring Operation: 85-6=79, Resulting Numbers: [21, 67, 79]
Generated Node #0,0: 63:[21, 67, 79] Operation: 85-6=79
Exploring Operation: 85-21=64, Resulting Numbers: [6, 67, 64]
Generated Node #0,1: 63:[6, 67, 64] Operation: 85-21=64
Exploring Operation: 85-67=18, Resulting Numbers: [21, 6, 18]
Generated Node #0,2: 63:[21, 6, 18] Operation: 85-67=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[21, 6, 18], Operations: ['85-67=18']
Exploring Operation: 6+18=24, Resulting Numbers: [21, 24]
Generated Node #0,2,0: 63:[21, 24] Operation: 6+18=24
Exploring Operation: 18/6=3, Resulting Numbers: [21, 3]
Generated Node #0,2,1: 63:[21, 3] Operation: 18/6=3
Exploring Operation: 21-18=3, Resulting Numbers: [6, 3]
Generated Node #0,2,2: 63:[6, 3] Operation: 21-18=3
Moving to Node #0,2,1
Current State: 63:[21, 3], Operations: ['85-67=18', '18/6=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[21, 85, 6, 67], Operations: []
Exploring Operation: 85-67=18, Resulting Numbers: [21, 6, 18]
Generated Node #0,2: 63:[21, 6, 18] Operation: 85-67=18
Moving to Node #0,2
Current State: 63:[21, 6, 18], Operations: ['85-67=18']
Exploring Operation: 18/6=3, Resulting Numbers: [21, 3]
Generated Node #0,2,1: 63:[21, 3] Operation: 18/6=3
Moving to Node #0,2,1
Current State: 63:[21, 3], Operations: ['85-67=18', '18/6=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
36,
71,
7,
35
] | 40 | [
"71-36=35",
"35/7=5",
"35+5=40"
] | Current State: 40:[36, 71, 7, 35], Operations: []
Exploring Operation: 71-36=35, Resulting Numbers: [7, 35, 35]
Generated Node #2: [7, 35, 35] from Operation: 71-36=35
Current State: 40:[7, 35, 35], Operations: ['71-36=35']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,40 equal: Goal Reached
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[36, 71, 7, 35], Operations: []
Exploring Operation: 71-35=36, Resulting Numbers: [36, 7, 36]
Generated Node #0,0: 40:[36, 7, 36] Operation: 71-35=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[36, 7, 36], Operations: ['71-35=36']
Exploring Operation: 36/36=1, Resulting Numbers: [7, 1]
Generated Node #0,0,0: 40:[7, 1] Operation: 36/36=1
Moving to Node #0,0,0
Current State: 40:[7, 1], Operations: ['71-35=36', '36/36=1']
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
93,
43,
54,
52
] | 68 | [
"93+43=136",
"54-52=2",
"136/2=68"
] | Current State: 68:[93, 43, 54, 52], Operations: []
Exploring Operation: 93+43=136, Resulting Numbers: [54, 52, 136]
Generated Node #2: [54, 52, 136] from Operation: 93+43=136
Current State: 68:[54, 52, 136], Operations: ['93+43=136']
Exploring Operation: 54-52=2, Resulting Numbers: [136, 2]
Generated Node #3: [136, 2] from Operation: 54-52=2
Current State: 68:[136, 2], Operations: ['93+43=136', '54-52=2']
Exploring Operation: 136/2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[93, 43, 54, 52], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [93, 43, 2]
Generated Node #0,0: 68:[93, 43, 2] Operation: 54-52=2
Exploring Operation: 93-52=41, Resulting Numbers: [43, 54, 41]
Generated Node #0,1: 68:[43, 54, 41] Operation: 93-52=41
Exploring Operation: 93-54=39, Resulting Numbers: [43, 52, 39]
Generated Node #0,2: 68:[43, 52, 39] Operation: 93-54=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[43, 54, 41], Operations: ['93-52=41']
Exploring Operation: 54-43=11, Resulting Numbers: [41, 11]
Generated Node #0,1,0: 68:[41, 11] Operation: 54-43=11
Exploring Operation: 43-41=2, Resulting Numbers: [54, 2]
Generated Node #0,1,1: 68:[54, 2] Operation: 43-41=2
Exploring Operation: 54-41=13, Resulting Numbers: [43, 13]
Generated Node #0,1,2: 68:[43, 13] Operation: 54-41=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[41, 11], Operations: ['93-52=41', '54-43=11']
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,68 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,68 unequal: No Solution
No 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: 68:[43, 13], Operations: ['93-52=41', '54-41=13']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,68 unequal: No Solution
No 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: 68:[54, 2], Operations: ['93-52=41', '43-41=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,68 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: 68:[43, 52, 39], Operations: ['93-54=39']
Exploring Operation: 52-43=9, Resulting Numbers: [39, 9]
Generated Node #0,2,0: 68:[39, 9] Operation: 52-43=9
Exploring Operation: 52-39=13, Resulting Numbers: [43, 13]
Generated Node #0,2,1: 68:[43, 13] Operation: 52-39=13
Exploring Operation: 43-39=4, Resulting Numbers: [52, 4]
Generated Node #0,2,2: 68:[52, 4] Operation: 43-39=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 68:[39, 9], Operations: ['93-54=39', '52-43=9']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,68 unequal: No Solution
No 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: 68:[43, 13], Operations: ['93-54=39', '52-39=13']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,68 unequal: No Solution
No 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: 68:[52, 4], Operations: ['93-54=39', '43-39=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,68 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: 68:[93, 43, 2], Operations: ['54-52=2']
Exploring Operation: 93-43=50, Resulting Numbers: [2, 50]
Generated Node #0,0,0: 68:[2, 50] Operation: 93-43=50
Exploring Operation: 43-2=41, Resulting Numbers: [93, 41]
Generated Node #0,0,1: 68:[93, 41] Operation: 43-2=41
Exploring Operation: 93-2=91, Resulting Numbers: [43, 91]
Generated Node #0,0,2: 68:[43, 91] Operation: 93-2=91
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[2, 50], Operations: ['54-52=2', '93-43=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,68 unequal: No Solution
No 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: 68:[93, 41], Operations: ['54-52=2', '43-2=41']
Exploring Operation: 93+41=134, Resulting Numbers: [134]
134,68 unequal: No Solution
Exploring Operation: 93-41=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 93*41=3813, Resulting Numbers: [3813]
3813,68 unequal: No Solution
No 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: 68:[43, 91], Operations: ['54-52=2', '93-2=91']
Exploring Operation: 43+91=134, Resulting Numbers: [134]
134,68 unequal: No Solution
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 43*91=3913, Resulting Numbers: [3913]
3913,68 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 |
[
20,
38,
16,
66
] | 23 | [
"38-16=22",
"66/22=3",
"20+3=23"
] | Current State: 23:[20, 38, 16, 66], Operations: []
Exploring Operation: 38-16=22, Resulting Numbers: [20, 66, 22]
Generated Node #2: [20, 66, 22] from Operation: 38-16=22
Current State: 23:[20, 66, 22], Operations: ['38-16=22']
Exploring Operation: 66/22=3, Resulting Numbers: [20, 3]
Generated Node #3: [20, 3] from Operation: 66/22=3
Current State: 23:[20, 3], Operations: ['38-16=22', '66/22=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[20, 38, 16, 66], Operations: []
Exploring Operation: 66-38=28, Resulting Numbers: [20, 16, 28]
Generated Node #0,0: 23:[20, 16, 28] Operation: 66-38=28
Exploring Operation: 66-20=46, Resulting Numbers: [38, 16, 46]
Generated Node #0,1: 23:[38, 16, 46] Operation: 66-20=46
Exploring Operation: 66-16=50, Resulting Numbers: [20, 38, 50]
Generated Node #0,2: 23:[20, 38, 50] Operation: 66-16=50
Moving to Node #0,0
Current State: 23:[20, 16, 28], Operations: ['66-38=28']
Exploring Operation: 28-20=8, Resulting Numbers: [16, 8]
Generated Node #0,0,0: 23:[16, 8] Operation: 28-20=8
Exploring Operation: 20+16=36, Resulting Numbers: [28, 36]
Generated Node #0,0,1: 23:[28, 36] Operation: 20+16=36
Exploring Operation: 28-16=12, Resulting Numbers: [20, 12]
Generated Node #0,0,2: 23:[20, 12] Operation: 28-16=12
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[20, 12], Operations: ['66-38=28', '28-16=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[28, 36], Operations: ['66-38=28', '20+16=36']
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 28*36=1008, Resulting Numbers: [1008]
1008,23 unequal: No Solution
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[16, 8], Operations: ['66-38=28', '28-20=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,23 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: 23:[38, 16, 46], Operations: ['66-20=46']
Exploring Operation: 46-16=30, Resulting Numbers: [38, 30]
Generated Node #0,1,0: 23:[38, 30] Operation: 46-16=30
Exploring Operation: 46-38=8, Resulting Numbers: [16, 8]
Generated Node #0,1,1: 23:[16, 8] Operation: 46-38=8
Exploring Operation: 38-16=22, Resulting Numbers: [46, 22]
Generated Node #0,1,2: 23:[46, 22] Operation: 38-16=22
Moving to Node #0,2
Current State: 23:[20, 38, 50], Operations: ['66-16=50']
Exploring Operation: 50-20=30, Resulting Numbers: [38, 30]
Generated Node #0,2,0: 23:[38, 30] Operation: 50-20=30
Exploring Operation: 38-20=18, Resulting Numbers: [50, 18]
Generated Node #0,2,1: 23:[50, 18] Operation: 38-20=18
Exploring Operation: 50-38=12, Resulting Numbers: [20, 12]
Generated Node #0,2,2: 23:[20, 12] Operation: 50-38=12
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[20, 12], Operations: ['66-16=50', '50-38=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[38, 30], Operations: ['66-16=50', '50-20=30']
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[50, 18], Operations: ['66-16=50', '38-20=18']
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,23 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,23 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: 23:[38, 30], Operations: ['66-20=46', '46-16=30']
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,23 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[16, 8], Operations: ['66-20=46', '46-38=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[46, 22], Operations: ['66-20=46', '38-16=22']
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,23 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
95,
41,
62,
81
] | 46 | [
"81-62=19",
"95/19=5",
"41+5=46"
] | Current State: 46:[95, 41, 62, 81], Operations: []
Exploring Operation: 81-62=19, Resulting Numbers: [95, 41, 19]
Generated Node #2: [95, 41, 19] from Operation: 81-62=19
Current State: 46:[95, 41, 19], Operations: ['81-62=19']
Exploring Operation: 95/19=5, Resulting Numbers: [41, 5]
Generated Node #3: [41, 5] from Operation: 95/19=5
Current State: 46:[41, 5], Operations: ['81-62=19', '95/19=5']
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[95, 41, 62, 81], Operations: []
Exploring Operation: 95-41=54, Resulting Numbers: [62, 81, 54]
Generated Node #0,0: 46:[62, 81, 54] Operation: 95-41=54
Exploring Operation: 81-62=19, Resulting Numbers: [95, 41, 19]
Generated Node #0,1: 46:[95, 41, 19] Operation: 81-62=19
Exploring Operation: 95-81=14, Resulting Numbers: [41, 62, 14]
Generated Node #0,2: 46:[41, 62, 14] Operation: 95-81=14
Exploring Operation: 95-62=33, Resulting Numbers: [41, 81, 33]
Generated Node #0,3: 46:[41, 81, 33] Operation: 95-62=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[41, 62, 14], Operations: ['95-81=14']
Exploring Operation: 62-14=48, Resulting Numbers: [41, 48]
Generated Node #0,2,0: 46:[41, 48] Operation: 62-14=48
Exploring Operation: 41+14=55, Resulting Numbers: [62, 55]
Generated Node #0,2,1: 46:[62, 55] Operation: 41+14=55
Exploring Operation: 41-14=27, Resulting Numbers: [62, 27]
Generated Node #0,2,2: 46:[62, 27] Operation: 41-14=27
Exploring Operation: 62-41=21, Resulting Numbers: [14, 21]
Generated Node #0,2,3: 46:[14, 21] Operation: 62-41=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 46:[41, 48], Operations: ['95-81=14', '62-14=48']
Exploring Operation: 41*48=1968, Resulting Numbers: [1968]
1968,46 unequal: No Solution
Exploring Operation: 41+48=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No 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: 46:[14, 21], Operations: ['95-81=14', '62-41=21']
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,46 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No 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: 46:[62, 27], Operations: ['95-81=14', '41-14=27']
Exploring Operation: 62*27=1674, Resulting Numbers: [1674]
1674,46 unequal: No Solution
Exploring Operation: 62+27=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,46 unequal: No Solution
No 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: 46:[62, 55], Operations: ['95-81=14', '41+14=55']
Exploring Operation: 62+55=117, Resulting Numbers: [117]
117,46 unequal: No Solution
Exploring Operation: 62-55=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 62*55=3410, Resulting Numbers: [3410]
3410,46 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: 46:[41, 81, 33], Operations: ['95-62=33']
Exploring Operation: 41-33=8, Resulting Numbers: [81, 8]
Generated Node #0,3,0: 46:[81, 8] Operation: 41-33=8
Exploring Operation: 81-41=40, Resulting Numbers: [33, 40]
Generated Node #0,3,1: 46:[33, 40] Operation: 81-41=40
Exploring Operation: 81-33=48, Resulting Numbers: [41, 48]
Generated Node #0,3,2: 46:[41, 48] Operation: 81-33=48
Exploring Operation: 41+33=74, Resulting Numbers: [81, 74]
Generated Node #0,3,3: 46:[81, 74] Operation: 41+33=74
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 46:[41, 48], Operations: ['95-62=33', '81-33=48']
Exploring Operation: 41+48=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Exploring Operation: 41*48=1968, Resulting Numbers: [1968]
1968,46 unequal: No Solution
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No 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: 46:[33, 40], Operations: ['95-62=33', '81-41=40']
Exploring Operation: 33*40=1320, Resulting Numbers: [1320]
1320,46 unequal: No Solution
Exploring Operation: 33+40=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No 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: 46:[81, 8], Operations: ['95-62=33', '41-33=8']
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Exploring Operation: 81*8=648, Resulting Numbers: [648]
648,46 unequal: No Solution
No 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: 46:[81, 74], Operations: ['95-62=33', '41+33=74']
Exploring Operation: 81-74=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 81*74=5994, Resulting Numbers: [5994]
5994,46 unequal: No Solution
Exploring Operation: 81+74=155, Resulting Numbers: [155]
155,46 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: 46:[95, 41, 19], Operations: ['81-62=19']
Exploring Operation: 41-19=22, Resulting Numbers: [95, 22]
Generated Node #0,1,0: 46:[95, 22] Operation: 41-19=22
Exploring Operation: 95-19=76, Resulting Numbers: [41, 76]
Generated Node #0,1,1: 46:[41, 76] Operation: 95-19=76
Exploring Operation: 95-41=54, Resulting Numbers: [19, 54]
Generated Node #0,1,2: 46:[19, 54] Operation: 95-41=54
Exploring Operation: 95/19=5, Resulting Numbers: [41, 5]
Generated Node #0,1,3: 46:[41, 5] Operation: 95/19=5
Moving to Node #0,1,3
Current State: 46:[41, 5], Operations: ['81-62=19', '95/19=5']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[95, 41, 62, 81], Operations: []
Exploring Operation: 81-62=19, Resulting Numbers: [95, 41, 19]
Generated Node #0,1: 46:[95, 41, 19] Operation: 81-62=19
Moving to Node #0,1
Current State: 46:[95, 41, 19], Operations: ['81-62=19']
Exploring Operation: 95/19=5, Resulting Numbers: [41, 5]
Generated Node #0,1,3: 46:[41, 5] Operation: 95/19=5
Moving to Node #0,1,3
Current State: 46:[41, 5], Operations: ['81-62=19', '95/19=5']
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
5,
2,
9,
68
] | 87 | [
"5*2=10",
"9+68=77",
"10+77=87"
] | Current State: 87:[5, 2, 9, 68], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [9, 68, 10]
Generated Node #2: [9, 68, 10] from Operation: 5*2=10
Current State: 87:[9, 68, 10], Operations: ['5*2=10']
Exploring Operation: 9+68=77, Resulting Numbers: [10, 77]
Generated Node #3: [10, 77] from Operation: 9+68=77
Current State: 87:[10, 77], Operations: ['5*2=10', '9+68=77']
Exploring Operation: 10+77=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[5, 2, 9, 68], Operations: []
Exploring Operation: 68/2=34, Resulting Numbers: [5, 9, 34]
Generated Node #0,0: 87:[5, 9, 34] Operation: 68/2=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[5, 9, 34], Operations: ['68/2=34']
Exploring Operation: 9-5=4, Resulting Numbers: [34, 4]
Generated Node #0,0,0: 87:[34, 4] Operation: 9-5=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[34, 4], Operations: ['68/2=34', '9-5=4']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,87 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 |
[
7,
28,
45,
14
] | 24 | [
"7+28=35",
"45+14=59",
"59-35=24"
] | Current State: 24:[7, 28, 45, 14], Operations: []
Exploring Operation: 7+28=35, Resulting Numbers: [45, 14, 35]
Generated Node #2: [45, 14, 35] from Operation: 7+28=35
Current State: 24:[45, 14, 35], Operations: ['7+28=35']
Exploring Operation: 45+14=59, Resulting Numbers: [35, 59]
Generated Node #3: [35, 59] from Operation: 45+14=59
Current State: 24:[35, 59], Operations: ['7+28=35', '45+14=59']
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[7, 28, 45, 14], Operations: []
Exploring Operation: 45-28=17, Resulting Numbers: [7, 14, 17]
Generated Node #0,0: 24:[7, 14, 17] Operation: 45-28=17
Moving to Node #0,0
Current State: 24:[7, 14, 17], Operations: ['45-28=17']
Exploring Operation: 17-14=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 24:[7, 3] Operation: 17-14=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[7, 3], Operations: ['45-28=17', '17-14=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
38,
1,
59,
48
] | 50 | [
"38+1=39",
"59-48=11",
"39+11=50"
] | Current State: 50:[38, 1, 59, 48], Operations: []
Exploring Operation: 38+1=39, Resulting Numbers: [59, 48, 39]
Generated Node #2: [59, 48, 39] from Operation: 38+1=39
Current State: 50:[59, 48, 39], Operations: ['38+1=39']
Exploring Operation: 59-48=11, Resulting Numbers: [39, 11]
Generated Node #3: [39, 11] from Operation: 59-48=11
Current State: 50:[39, 11], Operations: ['38+1=39', '59-48=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[38, 1, 59, 48], Operations: []
Exploring Operation: 59-38=21, Resulting Numbers: [1, 48, 21]
Generated Node #0,0: 50:[1, 48, 21] Operation: 59-38=21
Exploring Operation: 48-38=10, Resulting Numbers: [1, 59, 10]
Generated Node #0,1: 50:[1, 59, 10] Operation: 48-38=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[1, 48, 21], Operations: ['59-38=21']
Exploring Operation: 48-21=27, Resulting Numbers: [1, 27]
Generated Node #0,0,0: 50:[1, 27] Operation: 48-21=27
Exploring Operation: 1+48=49, Resulting Numbers: [21, 49]
Generated Node #0,0,1: 50:[21, 49] Operation: 1+48=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[1, 27], Operations: ['59-38=21', '48-21=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,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:[21, 49], Operations: ['59-38=21', '1+48=49']
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,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:[1, 59, 10], Operations: ['48-38=10']
Exploring Operation: 59-1=58, Resulting Numbers: [10, 58]
Generated Node #0,1,0: 50:[10, 58] Operation: 59-1=58
Exploring Operation: 59-10=49, Resulting Numbers: [1, 49]
Generated Node #0,1,1: 50:[1, 49] Operation: 59-10=49
Moving to Node #0,1,1
Current State: 50:[1, 49], Operations: ['48-38=10', '59-10=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[38, 1, 59, 48], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [1, 59, 10]
Generated Node #0,1: 50:[1, 59, 10] Operation: 48-38=10
Moving to Node #0,1
Current State: 50:[1, 59, 10], Operations: ['48-38=10']
Exploring Operation: 59-10=49, Resulting Numbers: [1, 49]
Generated Node #0,1,1: 50:[1, 49] Operation: 59-10=49
Moving to Node #0,1,1
Current State: 50:[1, 49], Operations: ['48-38=10', '59-10=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
64,
52,
27,
56
] | 44 | [
"56-52=4",
"27*4=108",
"108-64=44"
] | Current State: 44:[64, 52, 27, 56], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [64, 27, 4]
Generated Node #2: [64, 27, 4] from Operation: 56-52=4
Current State: 44:[64, 27, 4], Operations: ['56-52=4']
Exploring Operation: 27*4=108, Resulting Numbers: [64, 108]
Generated Node #3: [64, 108] from Operation: 27*4=108
Current State: 44:[64, 108], Operations: ['56-52=4', '27*4=108']
Exploring Operation: 108-64=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[64, 52, 27, 56], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [52, 27, 8]
Generated Node #0,0: 44:[52, 27, 8] Operation: 64-56=8
Exploring Operation: 64-52=12, Resulting Numbers: [27, 56, 12]
Generated Node #0,1: 44:[27, 56, 12] Operation: 64-52=12
Moving to Node #0,0
Current State: 44:[52, 27, 8], Operations: ['64-56=8']
Exploring Operation: 52-8=44, Resulting Numbers: [27, 44]
Generated Node #0,0,0: 44:[27, 44] Operation: 52-8=44
Exploring Operation: 52-27=25, Resulting Numbers: [8, 25]
Generated Node #0,0,1: 44:[8, 25] Operation: 52-27=25
Moving to Node #0,1
Current State: 44:[27, 56, 12], Operations: ['64-52=12']
Exploring Operation: 56-12=44, Resulting Numbers: [27, 44]
Generated Node #0,1,0: 44:[27, 44] Operation: 56-12=44
Exploring Operation: 56-27=29, Resulting Numbers: [12, 29]
Generated Node #0,1,1: 44:[12, 29] Operation: 56-27=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[27, 44], Operations: ['64-52=12', '56-12=44']
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,44 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[12, 29], Operations: ['64-52=12', '56-27=29']
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,44 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: 44:[27, 44], Operations: ['64-56=8', '52-8=44']
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,44 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[8, 25], Operations: ['64-56=8', '52-27=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,44 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
87,
90,
10
] | 81 | [
"25-10=15",
"90/15=6",
"87-6=81"
] | Current State: 81:[25, 87, 90, 10], Operations: []
Exploring Operation: 25-10=15, Resulting Numbers: [87, 90, 15]
Generated Node #2: [87, 90, 15] from Operation: 25-10=15
Current State: 81:[87, 90, 15], Operations: ['25-10=15']
Exploring Operation: 90/15=6, Resulting Numbers: [87, 6]
Generated Node #3: [87, 6] from Operation: 90/15=6
Current State: 81:[87, 6], Operations: ['25-10=15', '90/15=6']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[25, 87, 90, 10], Operations: []
Exploring Operation: 90/10=9, Resulting Numbers: [25, 87, 9]
Generated Node #0,0: 81:[25, 87, 9] Operation: 90/10=9
Exploring Operation: 87-10=77, Resulting Numbers: [25, 90, 77]
Generated Node #0,1: 81:[25, 90, 77] Operation: 87-10=77
Exploring Operation: 90-87=3, Resulting Numbers: [25, 10, 3]
Generated Node #0,2: 81:[25, 10, 3] Operation: 90-87=3
Exploring Operation: 90-10=80, Resulting Numbers: [25, 87, 80]
Generated Node #0,3: 81:[25, 87, 80] Operation: 90-10=80
Moving to Node #0,2
Current State: 81:[25, 10, 3], Operations: ['90-87=3']
Exploring Operation: 25-10=15, Resulting Numbers: [3, 15]
Generated Node #0,2,0: 81:[3, 15] Operation: 25-10=15
Exploring Operation: 10-3=7, Resulting Numbers: [25, 7]
Generated Node #0,2,1: 81:[25, 7] Operation: 10-3=7
Exploring Operation: 25+3=28, Resulting Numbers: [10, 28]
Generated Node #0,2,2: 81:[10, 28] Operation: 25+3=28
Exploring Operation: 10*3=30, Resulting Numbers: [25, 30]
Generated Node #0,2,3: 81:[25, 30] Operation: 10*3=30
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[10, 28], Operations: ['90-87=3', '25+3=28']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[25, 7], Operations: ['90-87=3', '10-3=7']
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,81 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 81:[25, 30], Operations: ['90-87=3', '10*3=30']
Exploring Operation: 25*30=750, Resulting Numbers: [750]
750,81 unequal: No Solution
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,81 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[3, 15], Operations: ['90-87=3', '25-10=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,81 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: 81:[25, 87, 9], Operations: ['90/10=9']
Exploring Operation: 25-9=16, Resulting Numbers: [87, 16]
Generated Node #0,0,0: 81:[87, 16] Operation: 25-9=16
Exploring Operation: 87+9=96, Resulting Numbers: [25, 96]
Generated Node #0,0,1: 81:[25, 96] Operation: 87+9=96
Exploring Operation: 25+9=34, Resulting Numbers: [87, 34]
Generated Node #0,0,2: 81:[87, 34] Operation: 25+9=34
Exploring Operation: 87-9=78, Resulting Numbers: [25, 78]
Generated Node #0,0,3: 81:[25, 78] Operation: 87-9=78
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[25, 78], Operations: ['90/10=9', '87-9=78']
Exploring Operation: 25+78=103, Resulting Numbers: [103]
103,81 unequal: No Solution
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,81 unequal: No Solution
Exploring Operation: 25*78=1950, Resulting Numbers: [1950]
1950,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[87, 16], Operations: ['90/10=9', '25-9=16']
Exploring Operation: 87+16=103, Resulting Numbers: [103]
103,81 unequal: No Solution
Exploring Operation: 87*16=1392, Resulting Numbers: [1392]
1392,81 unequal: No Solution
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[87, 34], Operations: ['90/10=9', '25+9=34']
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,81 unequal: No Solution
Exploring Operation: 87+34=121, Resulting Numbers: [121]
121,81 unequal: No Solution
Exploring Operation: 87*34=2958, Resulting Numbers: [2958]
2958,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[25, 96], Operations: ['90/10=9', '87+9=96']
Exploring Operation: 25*96=2400, Resulting Numbers: [2400]
2400,81 unequal: No Solution
Exploring Operation: 25+96=121, Resulting Numbers: [121]
121,81 unequal: No Solution
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,81 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: 81:[25, 87, 80], Operations: ['90-10=80']
Exploring Operation: 25+87=112, Resulting Numbers: [80, 112]
Generated Node #0,3,0: 81:[80, 112] Operation: 25+87=112
Exploring Operation: 25+80=105, Resulting Numbers: [87, 105]
Generated Node #0,3,1: 81:[87, 105] Operation: 25+80=105
Exploring Operation: 87-80=7, Resulting Numbers: [25, 7]
Generated Node #0,3,2: 81:[25, 7] Operation: 87-80=7
Exploring Operation: 87-25=62, Resulting Numbers: [80, 62]
Generated Node #0,3,3: 81:[80, 62] Operation: 87-25=62
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[25, 7], Operations: ['90-10=80', '87-80=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,81 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[80, 62], Operations: ['90-10=80', '87-25=62']
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 80+62=142, Resulting Numbers: [142]
142,81 unequal: No Solution
Exploring Operation: 80*62=4960, Resulting Numbers: [4960]
4960,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 81:[87, 105], Operations: ['90-10=80', '25+80=105']
Exploring Operation: 87+105=192, Resulting Numbers: [192]
192,81 unequal: No Solution
Exploring Operation: 105-87=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 87*105=9135, Resulting Numbers: [9135]
9135,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[80, 112], Operations: ['90-10=80', '25+87=112']
Exploring Operation: 80+112=192, Resulting Numbers: [192]
192,81 unequal: No Solution
Exploring Operation: 80*112=8960, Resulting Numbers: [8960]
8960,81 unequal: No Solution
Exploring Operation: 112-80=32, Resulting Numbers: [32]
32,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 81:[25, 90, 77], Operations: ['87-10=77']
Exploring Operation: 90-77=13, Resulting Numbers: [25, 13]
Generated Node #0,1,0: 81:[25, 13] Operation: 90-77=13
Exploring Operation: 25+77=102, Resulting Numbers: [90, 102]
Generated Node #0,1,1: 81:[90, 102] Operation: 25+77=102
Exploring Operation: 90-25=65, Resulting Numbers: [77, 65]
Generated Node #0,1,2: 81:[77, 65] Operation: 90-25=65
Exploring Operation: 77-25=52, Resulting Numbers: [90, 52]
Generated Node #0,1,3: 81:[90, 52] Operation: 77-25=52
Moving to Node #0,1,0
Current State: 81:[25, 13], Operations: ['87-10=77', '90-77=13']
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,81 unequal: No Solution
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[77, 65], Operations: ['87-10=77', '90-25=65']
Exploring Operation: 77+65=142, Resulting Numbers: [142]
142,81 unequal: No Solution
Exploring Operation: 77*65=5005, Resulting Numbers: [5005]
5005,81 unequal: No Solution
Exploring Operation: 77-65=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[90, 102], Operations: ['87-10=77', '25+77=102']
Exploring Operation: 90+102=192, Resulting Numbers: [192]
192,81 unequal: No Solution
Exploring Operation: 102-90=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 90*102=9180, Resulting Numbers: [9180]
9180,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[90, 52], Operations: ['87-10=77', '77-25=52']
Exploring Operation: 90+52=142, Resulting Numbers: [142]
142,81 unequal: No Solution
Exploring Operation: 90*52=4680, Resulting Numbers: [4680]
4680,81 unequal: No Solution
Exploring Operation: 90-52=38, Resulting Numbers: [38]
38,81 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
53,
82,
39,
45
] | 13 | [
"53+82=135",
"39*45=1755",
"1755/135=13"
] | Current State: 13:[53, 82, 39, 45], Operations: []
Exploring Operation: 53+82=135, Resulting Numbers: [39, 45, 135]
Generated Node #2: [39, 45, 135] from Operation: 53+82=135
Current State: 13:[39, 45, 135], Operations: ['53+82=135']
Exploring Operation: 39*45=1755, Resulting Numbers: [135, 1755]
Generated Node #3: [135, 1755] from Operation: 39*45=1755
Current State: 13:[135, 1755], Operations: ['53+82=135', '39*45=1755']
Exploring Operation: 1755/135=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[53, 82, 39, 45], Operations: []
Exploring Operation: 82-45=37, Resulting Numbers: [53, 39, 37]
Generated Node #0,0: 13:[53, 39, 37] Operation: 82-45=37
Exploring Operation: 82-53=29, Resulting Numbers: [39, 45, 29]
Generated Node #0,1: 13:[39, 45, 29] Operation: 82-53=29
Moving to Node #0,1
Current State: 13:[39, 45, 29], Operations: ['82-53=29']
Exploring Operation: 45-29=16, Resulting Numbers: [39, 16]
Generated Node #0,1,0: 13:[39, 16] Operation: 45-29=16
Exploring Operation: 45-39=6, Resulting Numbers: [29, 6]
Generated Node #0,1,1: 13:[29, 6] Operation: 45-39=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[29, 6], Operations: ['82-53=29', '45-39=6']
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[39, 16], Operations: ['82-53=29', '45-29=16']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,13 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: 13:[53, 39, 37], Operations: ['82-45=37']
Exploring Operation: 53-39=14, Resulting Numbers: [37, 14]
Generated Node #0,0,0: 13:[37, 14] Operation: 53-39=14
Exploring Operation: 53-37=16, Resulting Numbers: [39, 16]
Generated Node #0,0,1: 13:[39, 16] Operation: 53-37=16
Moving to Node #0,0,0
Current State: 13:[37, 14], Operations: ['82-45=37', '53-39=14']
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[39, 16], Operations: ['82-45=37', '53-37=16']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,13 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
42,
61,
42,
14
] | 100 | [
"42+61=103",
"42/14=3",
"103-3=100"
] | Current State: 100:[42, 61, 42, 14], Operations: []
Exploring Operation: 42+61=103, Resulting Numbers: [14, 103]
Generated Node #2: [14, 103] from Operation: 42+61=103
Current State: 100:[14, 103], Operations: ['42+61=103']
Exploring Operation: 42/14=3, Resulting Numbers: [103, 3]
Generated Node #3: [103, 3] from Operation: 42/14=3
Current State: 100:[103, 3], Operations: ['42+61=103', '42/14=3']
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[42, 61, 42, 14], Operations: []
Exploring Operation: 61-42=19, Resulting Numbers: [42, 14, 19]
Generated Node #0,0: 100:[42, 14, 19] Operation: 61-42=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[42, 14, 19], Operations: ['61-42=19']
Exploring Operation: 42/14=3, Resulting Numbers: [19, 3]
Generated Node #0,0,0: 100:[19, 3] Operation: 42/14=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[19, 3], Operations: ['61-42=19', '42/14=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,100 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 |
[
55,
42,
5,
11
] | 100 | [
"42-11=31",
"5*31=155",
"155-55=100"
] | Current State: 100:[55, 42, 5, 11], Operations: []
Exploring Operation: 42-11=31, Resulting Numbers: [55, 5, 31]
Generated Node #2: [55, 5, 31] from Operation: 42-11=31
Current State: 100:[55, 5, 31], Operations: ['42-11=31']
Exploring Operation: 5*31=155, Resulting Numbers: [55, 155]
Generated Node #3: [55, 155] from Operation: 5*31=155
Current State: 100:[55, 155], Operations: ['42-11=31', '5*31=155']
Exploring Operation: 155-55=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[55, 42, 5, 11], Operations: []
Exploring Operation: 42+11=53, Resulting Numbers: [55, 5, 53]
Generated Node #0,0: 100:[55, 5, 53] Operation: 42+11=53
Exploring Operation: 55-5=50, Resulting Numbers: [42, 11, 50]
Generated Node #0,1: 100:[42, 11, 50] Operation: 55-5=50
Exploring Operation: 55/11=5, Resulting Numbers: [42, 5, 5]
Generated Node #0,2: 100:[42, 5, 5] Operation: 55/11=5
Exploring Operation: 55-42=13, Resulting Numbers: [5, 11, 13]
Generated Node #0,3: 100:[5, 11, 13] Operation: 55-42=13
Exploring Operation: 55+42=97, Resulting Numbers: [5, 11, 97]
Generated Node #0,4: 100:[5, 11, 97] Operation: 55+42=97
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[5, 11, 13], Operations: ['55-42=13']
Exploring Operation: 13-11=2, Resulting Numbers: [5, 2]
Generated Node #0,3,0: 100:[5, 2] Operation: 13-11=2
Exploring Operation: 11+13=24, Resulting Numbers: [5, 24]
Generated Node #0,3,1: 100:[5, 24] Operation: 11+13=24
Exploring Operation: 13-5=8, Resulting Numbers: [11, 8]
Generated Node #0,3,2: 100:[11, 8] Operation: 13-5=8
Exploring Operation: 11-5=6, Resulting Numbers: [13, 6]
Generated Node #0,3,3: 100:[13, 6] Operation: 11-5=6
Exploring Operation: 5+13=18, Resulting Numbers: [11, 18]
Generated Node #0,3,4: 100:[11, 18] Operation: 5+13=18
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 100:[5, 2], Operations: ['55-42=13', '13-11=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,100 unequal: No Solution
No 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: 100:[5, 24], Operations: ['55-42=13', '11+13=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,100 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,100 unequal: No Solution
No 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: 100:[11, 8], Operations: ['55-42=13', '13-5=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,100 unequal: No Solution
No 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: 100:[11, 18], Operations: ['55-42=13', '5+13=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,100 unequal: No Solution
No 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: 100:[13, 6], Operations: ['55-42=13', '11-5=6']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,100 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 100:[5, 11, 97], Operations: ['55+42=97']
Exploring Operation: 5+97=102, Resulting Numbers: [11, 102]
Generated Node #0,4,0: 100:[11, 102] Operation: 5+97=102
Exploring Operation: 11+97=108, Resulting Numbers: [5, 108]
Generated Node #0,4,1: 100:[5, 108] Operation: 11+97=108
Exploring Operation: 11-5=6, Resulting Numbers: [97, 6]
Generated Node #0,4,2: 100:[97, 6] Operation: 11-5=6
Exploring Operation: 5+11=16, Resulting Numbers: [97, 16]
Generated Node #0,4,3: 100:[97, 16] Operation: 5+11=16
Exploring Operation: 5*11=55, Resulting Numbers: [97, 55]
Generated Node #0,4,4: 100:[97, 55] Operation: 5*11=55
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 100:[11, 102], Operations: ['55+42=97', '5+97=102']
Exploring Operation: 102-11=91, Resulting Numbers: [91]
91,100 unequal: No Solution
Exploring Operation: 11+102=113, Resulting Numbers: [113]
113,100 unequal: No Solution
Exploring Operation: 11*102=1122, Resulting Numbers: [1122]
1122,100 unequal: No Solution
No 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: 100:[97, 6], Operations: ['55+42=97', '11-5=6']
Exploring Operation: 97+6=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 97*6=582, Resulting Numbers: [582]
582,100 unequal: No Solution
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,100 unequal: No Solution
No 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: 100:[97, 16], Operations: ['55+42=97', '5+11=16']
Exploring Operation: 97*16=1552, Resulting Numbers: [1552]
1552,100 unequal: No Solution
Exploring Operation: 97+16=113, Resulting Numbers: [113]
113,100 unequal: No Solution
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,100 unequal: No Solution
No 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: 100:[5, 108], Operations: ['55+42=97', '11+97=108']
Exploring Operation: 5+108=113, Resulting Numbers: [113]
113,100 unequal: No Solution
Exploring Operation: 5*108=540, Resulting Numbers: [540]
540,100 unequal: No Solution
Exploring Operation: 108-5=103, Resulting Numbers: [103]
103,100 unequal: No Solution
No 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: 100:[97, 55], Operations: ['55+42=97', '5*11=55']
Exploring Operation: 97-55=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 97+55=152, Resulting Numbers: [152]
152,100 unequal: No Solution
Exploring Operation: 97*55=5335, Resulting Numbers: [5335]
5335,100 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: 100:[55, 5, 53], Operations: ['42+11=53']
Exploring Operation: 53-5=48, Resulting Numbers: [55, 48]
Generated Node #0,0,0: 100:[55, 48] Operation: 53-5=48
Exploring Operation: 55+53=108, Resulting Numbers: [5, 108]
Generated Node #0,0,1: 100:[5, 108] Operation: 55+53=108
Exploring Operation: 55/5=11, Resulting Numbers: [53, 11]
Generated Node #0,0,2: 100:[53, 11] Operation: 55/5=11
Exploring Operation: 55-53=2, Resulting Numbers: [5, 2]
Generated Node #0,0,3: 100:[5, 2] Operation: 55-53=2
Exploring Operation: 55-5=50, Resulting Numbers: [53, 50]
Generated Node #0,0,4: 100:[53, 50] Operation: 55-5=50
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 100:[5, 2], Operations: ['42+11=53', '55-53=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,100 unequal: No Solution
No 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: 100:[53, 50], Operations: ['42+11=53', '55-5=50']
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,100 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,100 unequal: No Solution
No 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: 100:[53, 11], Operations: ['42+11=53', '55/5=11']
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,100 unequal: No Solution
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,100 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,100 unequal: No Solution
No 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: 100:[55, 48], Operations: ['42+11=53', '53-5=48']
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Exploring Operation: 55*48=2640, Resulting Numbers: [2640]
2640,100 unequal: No Solution
Exploring Operation: 55+48=103, Resulting Numbers: [103]
103,100 unequal: No Solution
No 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: 100:[5, 108], Operations: ['42+11=53', '55+53=108']
Exploring Operation: 5+108=113, Resulting Numbers: [113]
113,100 unequal: No Solution
Exploring Operation: 5*108=540, Resulting Numbers: [540]
540,100 unequal: No Solution
Exploring Operation: 108-5=103, Resulting Numbers: [103]
103,100 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: 100:[42, 5, 5], Operations: ['55/11=5']
Exploring Operation: 42+5=47, Resulting Numbers: [5, 47]
Generated Node #0,2,0: 100:[5, 47] Operation: 42+5=47
Exploring Operation: 5/5=1, Resulting Numbers: [42, 1]
Generated Node #0,2,1: 100:[42, 1] Operation: 5/5=1
Exploring Operation: 5*5=25, Resulting Numbers: [42, 25]
Generated Node #0,2,2: 100:[42, 25] Operation: 5*5=25
Exploring Operation: 42+5=47, Resulting Numbers: [5, 47]
Generated Node #0,2,3: 100:[5, 47] Operation: 42+5=47
Exploring Operation: 5+5=10, Resulting Numbers: [42, 10]
Generated Node #0,2,4: 100:[42, 10] Operation: 5+5=10
Moving to Node #0,2,0
Current State: 100:[5, 47], Operations: ['55/11=5', '42+5=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,100 unequal: No Solution
Moving to Node #0,2,3
Current State: 100:[5, 47], Operations: ['55/11=5', '42+5=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[42, 25], Operations: ['55/11=5', '5*5=25']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,100 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,100 unequal: No Solution
Moving to Node #0,2,4
Current State: 100:[42, 10], Operations: ['55/11=5', '5+5=10']
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,100 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,100 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[42, 1], Operations: ['55/11=5', '5/5=1']
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[42, 11, 50], Operations: ['55-5=50']
Exploring Operation: 42-11=31, Resulting Numbers: [50, 31]
Generated Node #0,1,0: 100:[50, 31] Operation: 42-11=31
Exploring Operation: 50-42=8, Resulting Numbers: [11, 8]
Generated Node #0,1,1: 100:[11, 8] Operation: 50-42=8
Exploring Operation: 42+11=53, Resulting Numbers: [50, 53]
Generated Node #0,1,2: 100:[50, 53] Operation: 42+11=53
Exploring Operation: 11+50=61, Resulting Numbers: [42, 61]
Generated Node #0,1,3: 100:[42, 61] Operation: 11+50=61
Exploring Operation: 42+50=92, Resulting Numbers: [11, 92]
Generated Node #0,1,4: 100:[11, 92] Operation: 42+50=92
Moving to Node #0,1,1
Current State: 100:[11, 8], Operations: ['55-5=50', '50-42=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,100 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[50, 53], Operations: ['55-5=50', '42+11=53']
Exploring Operation: 50*53=2650, Resulting Numbers: [2650]
2650,100 unequal: No Solution
Exploring Operation: 50+53=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[50, 31], Operations: ['55-5=50', '42-11=31']
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,100 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,100 unequal: No Solution
Moving to Node #0,1,4
Current State: 100:[11, 92], Operations: ['55-5=50', '42+50=92']
Exploring Operation: 11*92=1012, Resulting Numbers: [1012]
1012,100 unequal: No Solution
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,100 unequal: No Solution
Exploring Operation: 11+92=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[42, 61], Operations: ['55-5=50', '11+50=61']
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 42+61=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 42*61=2562, Resulting Numbers: [2562]
2562,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
44,
3,
45,
87
] | 90 | [
"44*3=132",
"87-45=42",
"132-42=90"
] | Current State: 90:[44, 3, 45, 87], Operations: []
Exploring Operation: 44*3=132, Resulting Numbers: [45, 87, 132]
Generated Node #2: [45, 87, 132] from Operation: 44*3=132
Current State: 90:[45, 87, 132], Operations: ['44*3=132']
Exploring Operation: 87-45=42, Resulting Numbers: [132, 42]
Generated Node #3: [132, 42] from Operation: 87-45=42
Current State: 90:[132, 42], Operations: ['44*3=132', '87-45=42']
Exploring Operation: 132-42=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[44, 3, 45, 87], Operations: []
Exploring Operation: 87-44=43, Resulting Numbers: [3, 45, 43]
Generated Node #0,0: 90:[3, 45, 43] Operation: 87-44=43
Exploring Operation: 87/3=29, Resulting Numbers: [44, 45, 29]
Generated Node #0,1: 90:[44, 45, 29] Operation: 87/3=29
Exploring Operation: 3+87=90, Resulting Numbers: [44, 45, 90]
Generated Node #0,2: 90:[44, 45, 90] Operation: 3+87=90
Moving to Node #0,2
Current State: 90:[44, 45, 90], Operations: ['3+87=90']
Exploring Operation: 90-44=46, Resulting Numbers: [45, 46]
Generated Node #0,2,0: 90:[45, 46] Operation: 90-44=46
Exploring Operation: 44+45=89, Resulting Numbers: [90, 89]
Generated Node #0,2,1: 90:[90, 89] Operation: 44+45=89
Exploring Operation: 45-44=1, Resulting Numbers: [90, 1]
Generated Node #0,2,2: 90:[90, 1] Operation: 45-44=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[45, 46], Operations: ['3+87=90', '90-44=46']
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 45*46=2070, Resulting Numbers: [2070]
2070,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[90, 89], Operations: ['3+87=90', '44+45=89']
Exploring Operation: 90*89=8010, Resulting Numbers: [8010]
8010,90 unequal: No Solution
Exploring Operation: 90+89=179, Resulting Numbers: [179]
179,90 unequal: No Solution
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[90, 1], Operations: ['3+87=90', '45-44=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[44, 3, 45, 87], Operations: []
Exploring Operation: 3+87=90, Resulting Numbers: [44, 45, 90]
Generated Node #0,2: 90:[44, 45, 90] Operation: 3+87=90
Moving to Node #0,2
Current State: 90:[44, 45, 90], Operations: ['3+87=90']
Exploring Operation: 45-44=1, Resulting Numbers: [90, 1]
Generated Node #0,2,2: 90:[90, 1] Operation: 45-44=1
Moving to Node #0,2,2
Current State: 90:[90, 1], Operations: ['3+87=90', '45-44=1']
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
99,
23,
3,
61
] | 91 | [
"99+61=160",
"23*3=69",
"160-69=91"
] | Current State: 91:[99, 23, 3, 61], Operations: []
Exploring Operation: 99+61=160, Resulting Numbers: [23, 3, 160]
Generated Node #2: [23, 3, 160] from Operation: 99+61=160
Current State: 91:[23, 3, 160], Operations: ['99+61=160']
Exploring Operation: 23*3=69, Resulting Numbers: [160, 69]
Generated Node #3: [160, 69] from Operation: 23*3=69
Current State: 91:[160, 69], Operations: ['99+61=160', '23*3=69']
Exploring Operation: 160-69=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[99, 23, 3, 61], Operations: []
Exploring Operation: 23+61=84, Resulting Numbers: [99, 3, 84]
Generated Node #0,0: 91:[99, 3, 84] Operation: 23+61=84
Exploring Operation: 61-23=38, Resulting Numbers: [99, 3, 38]
Generated Node #0,1: 91:[99, 3, 38] Operation: 61-23=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[99, 3, 84], Operations: ['23+61=84']
Exploring Operation: 99-3=96, Resulting Numbers: [84, 96]
Generated Node #0,0,0: 91:[84, 96] Operation: 99-3=96
Exploring Operation: 99-84=15, Resulting Numbers: [3, 15]
Generated Node #0,0,1: 91:[3, 15] Operation: 99-84=15
Moving to Node #0,0,1
Current State: 91:[3, 15], Operations: ['23+61=84', '99-84=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[84, 96], Operations: ['23+61=84', '99-3=96']
Exploring Operation: 96-84=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 84+96=180, Resulting Numbers: [180]
180,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[99, 3, 38], Operations: ['61-23=38']
Exploring Operation: 38-3=35, Resulting Numbers: [99, 35]
Generated Node #0,1,0: 91:[99, 35] Operation: 38-3=35
Exploring Operation: 99-3=96, Resulting Numbers: [38, 96]
Generated Node #0,1,1: 91:[38, 96] Operation: 99-3=96
Moving to Node #0,1,0
Current State: 91:[99, 35], Operations: ['61-23=38', '38-3=35']
Exploring Operation: 99+35=134, Resulting Numbers: [134]
134,91 unequal: No Solution
Exploring Operation: 99-35=64, Resulting Numbers: [64]
64,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[38, 96], Operations: ['61-23=38', '99-3=96']
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 38+96=134, Resulting Numbers: [134]
134,91 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 |
[
7,
29,
55,
7
] | 25 | [
"7/7=1",
"55-29=26",
"26-1=25"
] | Current State: 25:[7, 29, 55, 7], Operations: []
Exploring Operation: 7/7=1, Resulting Numbers: [29, 55, 1]
Generated Node #2: [29, 55, 1] from Operation: 7/7=1
Current State: 25:[29, 55, 1], Operations: ['7/7=1']
Exploring Operation: 55-29=26, Resulting Numbers: [1, 26]
Generated Node #3: [1, 26] from Operation: 55-29=26
Current State: 25:[1, 26], Operations: ['7/7=1', '55-29=26']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[7, 29, 55, 7], Operations: []
Exploring Operation: 55-29=26, Resulting Numbers: [7, 7, 26]
Generated Node #0,0: 25:[7, 7, 26] Operation: 55-29=26
Exploring Operation: 55-7=48, Resulting Numbers: [29, 7, 48]
Generated Node #0,1: 25:[29, 7, 48] Operation: 55-7=48
Moving to Node #0,0
Current State: 25:[7, 7, 26], Operations: ['55-29=26']
Exploring Operation: 7-7=0, Resulting Numbers: [26, 0]
Generated Node #0,0,0: 25:[26, 0] Operation: 7-7=0
Exploring Operation: 7/7=1, Resulting Numbers: [26, 1]
Generated Node #0,0,1: 25:[26, 1] Operation: 7/7=1
Moving to Node #0,1
Current State: 25:[29, 7, 48], Operations: ['55-7=48']
Exploring Operation: 48-7=41, Resulting Numbers: [29, 41]
Generated Node #0,1,0: 25:[29, 41] Operation: 48-7=41
Exploring Operation: 48-29=19, Resulting Numbers: [7, 19]
Generated Node #0,1,1: 25:[7, 19] Operation: 48-29=19
Moving to Node #0,0,1
Current State: 25:[26, 1], Operations: ['55-29=26', '7/7=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[7, 29, 55, 7], Operations: []
Exploring Operation: 55-29=26, Resulting Numbers: [7, 7, 26]
Generated Node #0,0: 25:[7, 7, 26] Operation: 55-29=26
Moving to Node #0,0
Current State: 25:[7, 7, 26], Operations: ['55-29=26']
Exploring Operation: 7/7=1, Resulting Numbers: [26, 1]
Generated Node #0,0,1: 25:[26, 1] Operation: 7/7=1
Moving to Node #0,0,1
Current State: 25:[26, 1], Operations: ['55-29=26', '7/7=1']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
9,
63,
67,
87
] | 82 | [
"9+63=72",
"67+87=154",
"154-72=82"
] | Current State: 82:[9, 63, 67, 87], Operations: []
Exploring Operation: 9+63=72, Resulting Numbers: [67, 87, 72]
Generated Node #2: [67, 87, 72] from Operation: 9+63=72
Current State: 82:[67, 87, 72], Operations: ['9+63=72']
Exploring Operation: 67+87=154, Resulting Numbers: [72, 154]
Generated Node #3: [72, 154] from Operation: 67+87=154
Current State: 82:[72, 154], Operations: ['9+63=72', '67+87=154']
Exploring Operation: 154-72=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[9, 63, 67, 87], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [9, 87, 4]
Generated Node #0,0: 82:[9, 87, 4] Operation: 67-63=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[9, 87, 4], Operations: ['67-63=4']
Exploring Operation: 87-9=78, Resulting Numbers: [4, 78]
Generated Node #0,0,0: 82:[4, 78] Operation: 87-9=78
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[4, 78], Operations: ['67-63=4', '87-9=78']
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[9, 63, 67, 87], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [9, 87, 4]
Generated Node #0,0: 82:[9, 87, 4] Operation: 67-63=4
Moving to Node #0,0
Current State: 82:[9, 87, 4], Operations: ['67-63=4']
Exploring Operation: 87-9=78, Resulting Numbers: [4, 78]
Generated Node #0,0,0: 82:[4, 78] Operation: 87-9=78
Moving to Node #0,0,0
Current State: 82:[4, 78], Operations: ['67-63=4', '87-9=78']
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
87,
63,
93,
64
] | 53 | [
"87-63=24",
"93-64=29",
"24+29=53"
] | Current State: 53:[87, 63, 93, 64], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [93, 64, 24]
Generated Node #2: [93, 64, 24] from Operation: 87-63=24
Current State: 53:[93, 64, 24], Operations: ['87-63=24']
Exploring Operation: 93-64=29, Resulting Numbers: [24, 29]
Generated Node #3: [24, 29] from Operation: 93-64=29
Current State: 53:[24, 29], Operations: ['87-63=24', '93-64=29']
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[87, 63, 93, 64], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [93, 64, 24]
Generated Node #0,0: 53:[93, 64, 24] Operation: 87-63=24
Exploring Operation: 93-64=29, Resulting Numbers: [87, 63, 29]
Generated Node #0,1: 53:[87, 63, 29] Operation: 93-64=29
Exploring Operation: 87-64=23, Resulting Numbers: [63, 93, 23]
Generated Node #0,2: 53:[63, 93, 23] Operation: 87-64=23
Exploring Operation: 93-87=6, Resulting Numbers: [63, 64, 6]
Generated Node #0,3: 53:[63, 64, 6] Operation: 93-87=6
Exploring Operation: 93-63=30, Resulting Numbers: [87, 64, 30]
Generated Node #0,4: 53:[87, 64, 30] Operation: 93-63=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[87, 63, 29], Operations: ['93-64=29']
Exploring Operation: 63-29=34, Resulting Numbers: [87, 34]
Generated Node #0,1,0: 53:[87, 34] Operation: 63-29=34
Exploring Operation: 87+29=116, Resulting Numbers: [63, 116]
Generated Node #0,1,1: 53:[63, 116] Operation: 87+29=116
Exploring Operation: 87/29=3, Resulting Numbers: [63, 3]
Generated Node #0,1,2: 53:[63, 3] Operation: 87/29=3
Exploring Operation: 87-29=58, Resulting Numbers: [63, 58]
Generated Node #0,1,3: 53:[63, 58] Operation: 87-29=58
Exploring Operation: 87-63=24, Resulting Numbers: [29, 24]
Generated Node #0,1,4: 53:[29, 24] Operation: 87-63=24
Moving to Node #0,1,3
Current State: 53:[63, 58], Operations: ['93-64=29', '87-29=58']
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 63+58=121, Resulting Numbers: [121]
121,53 unequal: No Solution
Exploring Operation: 63*58=3654, Resulting Numbers: [3654]
3654,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[29, 24], Operations: ['93-64=29', '87-63=24']
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,53 unequal: No Solution
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[87, 63, 93, 64], Operations: []
Exploring Operation: 93-64=29, Resulting Numbers: [87, 63, 29]
Generated Node #0,1: 53:[87, 63, 29] Operation: 93-64=29
Moving to Node #0,1
Current State: 53:[87, 63, 29], Operations: ['93-64=29']
Exploring Operation: 87-63=24, Resulting Numbers: [29, 24]
Generated Node #0,1,4: 53:[29, 24] Operation: 87-63=24
Moving to Node #0,1,4
Current State: 53:[29, 24], Operations: ['93-64=29', '87-63=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
30,
34,
33,
3
] | 32 | [
"34-30=4",
"33+3=36",
"36-4=32"
] | Current State: 32:[30, 34, 33, 3], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [33, 3, 4]
Generated Node #2: [33, 3, 4] from Operation: 34-30=4
Current State: 32:[33, 3, 4], Operations: ['34-30=4']
Exploring Operation: 33+3=36, Resulting Numbers: [4, 36]
Generated Node #3: [4, 36] from Operation: 33+3=36
Current State: 32:[4, 36], Operations: ['34-30=4', '33+3=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[30, 34, 33, 3], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [33, 3, 4]
Generated Node #0,0: 32:[33, 3, 4] Operation: 34-30=4
Exploring Operation: 33-30=3, Resulting Numbers: [34, 3, 3]
Generated Node #0,1: 32:[34, 3, 3] Operation: 33-30=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[33, 3, 4], Operations: ['34-30=4']
Exploring Operation: 33-3=30, Resulting Numbers: [4, 30]
Generated Node #0,0,0: 32:[4, 30] Operation: 33-3=30
Exploring Operation: 3+4=7, Resulting Numbers: [33, 7]
Generated Node #0,0,1: 32:[33, 7] Operation: 3+4=7
Moving to Node #0,0,0
Current State: 32:[4, 30], Operations: ['34-30=4', '33-3=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[33, 7], Operations: ['34-30=4', '3+4=7']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,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
Current State: 32:[34, 3, 3], Operations: ['33-30=3']
Exploring Operation: 34-3=31, Resulting Numbers: [3, 31]
Generated Node #0,1,0: 32:[3, 31] Operation: 34-3=31
Exploring Operation: 34-3=31, Resulting Numbers: [3, 31]
Generated Node #0,1,1: 32:[3, 31] Operation: 34-3=31
Moving to Node #0,1,0
Current State: 32:[3, 31], Operations: ['33-30=3', '34-3=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[3, 31], Operations: ['33-30=3', '34-3=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
66,
68,
62,
38
] | 22 | [
"68-66=2",
"62-38=24",
"24-2=22"
] | Current State: 22:[66, 68, 62, 38], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [62, 38, 2]
Generated Node #2: [62, 38, 2] from Operation: 68-66=2
Current State: 22:[62, 38, 2], Operations: ['68-66=2']
Exploring Operation: 62-38=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 62-38=24
Current State: 22:[2, 24], Operations: ['68-66=2', '62-38=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[66, 68, 62, 38], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [62, 38, 2]
Generated Node #0,0: 22:[62, 38, 2] Operation: 68-66=2
Exploring Operation: 66-62=4, Resulting Numbers: [68, 38, 4]
Generated Node #0,1: 22:[68, 38, 4] Operation: 66-62=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[62, 38, 2], Operations: ['68-66=2']
Exploring Operation: 62/2=31, Resulting Numbers: [38, 31]
Generated Node #0,0,0: 22:[38, 31] Operation: 62/2=31
Exploring Operation: 62-38=24, Resulting Numbers: [2, 24]
Generated Node #0,0,1: 22:[2, 24] Operation: 62-38=24
Moving to Node #0,0,1
Current State: 22:[2, 24], Operations: ['68-66=2', '62-38=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[66, 68, 62, 38], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [62, 38, 2]
Generated Node #0,0: 22:[62, 38, 2] Operation: 68-66=2
Moving to Node #0,0
Current State: 22:[62, 38, 2], Operations: ['68-66=2']
Exploring Operation: 62-38=24, Resulting Numbers: [2, 24]
Generated Node #0,0,1: 22:[2, 24] Operation: 62-38=24
Moving to Node #0,0,1
Current State: 22:[2, 24], Operations: ['68-66=2', '62-38=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
58,
54,
64,
4
] | 78 | [
"64-58=6",
"4*6=24",
"54+24=78"
] | Current State: 78:[58, 54, 64, 4], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [54, 4, 6]
Generated Node #2: [54, 4, 6] from Operation: 64-58=6
Current State: 78:[54, 4, 6], Operations: ['64-58=6']
Exploring Operation: 4*6=24, Resulting Numbers: [54, 24]
Generated Node #3: [54, 24] from Operation: 4*6=24
Current State: 78:[54, 24], Operations: ['64-58=6', '4*6=24']
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[58, 54, 64, 4], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [54, 4, 6]
Generated Node #0,0: 78:[54, 4, 6] Operation: 64-58=6
Exploring Operation: 58-54=4, Resulting Numbers: [64, 4, 4]
Generated Node #0,1: 78:[64, 4, 4] Operation: 58-54=4
Moving to Node #0,0
Current State: 78:[54, 4, 6], Operations: ['64-58=6']
Exploring Operation: 54-6=48, Resulting Numbers: [4, 48]
Generated Node #0,0,0: 78:[4, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [4, 9]
Generated Node #0,0,1: 78:[4, 9] Operation: 54/6=9
Moving to Node #0,1
Current State: 78:[64, 4, 4], Operations: ['58-54=4']
Exploring Operation: 64/4=16, Resulting Numbers: [4, 16]
Generated Node #0,1,0: 78:[4, 16] Operation: 64/4=16
Exploring Operation: 64/4=16, Resulting Numbers: [4, 16]
Generated Node #0,1,1: 78:[4, 16] Operation: 64/4=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[4, 16], Operations: ['58-54=4', '64/4=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[4, 16], Operations: ['58-54=4', '64/4=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,78 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: 78:[4, 9], Operations: ['64-58=6', '54/6=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[4, 48], Operations: ['64-58=6', '54-6=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,78 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,78 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
81,
20,
3
] | 94 | [
"20/2=10",
"81+3=84",
"10+84=94"
] | Current State: 94:[2, 81, 20, 3], Operations: []
Exploring Operation: 20/2=10, Resulting Numbers: [81, 3, 10]
Generated Node #2: [81, 3, 10] from Operation: 20/2=10
Current State: 94:[81, 3, 10], Operations: ['20/2=10']
Exploring Operation: 81+3=84, Resulting Numbers: [10, 84]
Generated Node #3: [10, 84] from Operation: 81+3=84
Current State: 94:[10, 84], Operations: ['20/2=10', '81+3=84']
Exploring Operation: 10+84=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[2, 81, 20, 3], Operations: []
Exploring Operation: 81+20=101, Resulting Numbers: [2, 3, 101]
Generated Node #0,0: 94:[2, 3, 101] Operation: 81+20=101
Moving to Node #0,0
Current State: 94:[2, 3, 101], Operations: ['81+20=101']
Exploring Operation: 101-3=98, Resulting Numbers: [2, 98]
Generated Node #0,0,0: 94:[2, 98] Operation: 101-3=98
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[2, 98], Operations: ['81+20=101', '101-3=98']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,94 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 |
[
18,
73,
27,
97
] | 33 | [
"18+73=91",
"27+97=124",
"124-91=33"
] | Current State: 33:[18, 73, 27, 97], Operations: []
Exploring Operation: 18+73=91, Resulting Numbers: [27, 97, 91]
Generated Node #2: [27, 97, 91] from Operation: 18+73=91
Current State: 33:[27, 97, 91], Operations: ['18+73=91']
Exploring Operation: 27+97=124, Resulting Numbers: [91, 124]
Generated Node #3: [91, 124] from Operation: 27+97=124
Current State: 33:[91, 124], Operations: ['18+73=91', '27+97=124']
Exploring Operation: 124-91=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[18, 73, 27, 97], Operations: []
Exploring Operation: 73-27=46, Resulting Numbers: [18, 97, 46]
Generated Node #0,0: 33:[18, 97, 46] Operation: 73-27=46
Exploring Operation: 97-73=24, Resulting Numbers: [18, 27, 24]
Generated Node #0,1: 33:[18, 27, 24] Operation: 97-73=24
Exploring Operation: 97-27=70, Resulting Numbers: [18, 73, 70]
Generated Node #0,2: 33:[18, 73, 70] Operation: 97-27=70
Exploring Operation: 73-18=55, Resulting Numbers: [27, 97, 55]
Generated Node #0,3: 33:[27, 97, 55] Operation: 73-18=55
Moving to Node #0,1
Current State: 33:[18, 27, 24], Operations: ['97-73=24']
Exploring Operation: 18+24=42, Resulting Numbers: [27, 42]
Generated Node #0,1,0: 33:[27, 42] Operation: 18+24=42
Exploring Operation: 27-24=3, Resulting Numbers: [18, 3]
Generated Node #0,1,1: 33:[18, 3] Operation: 27-24=3
Exploring Operation: 27-18=9, Resulting Numbers: [24, 9]
Generated Node #0,1,2: 33:[24, 9] Operation: 27-18=9
Exploring Operation: 24-18=6, Resulting Numbers: [27, 6]
Generated Node #0,1,3: 33:[27, 6] Operation: 24-18=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[18, 3], Operations: ['97-73=24', '27-24=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 33:[27, 6], Operations: ['97-73=24', '24-18=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[18, 73, 27, 97], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [18, 27, 24]
Generated Node #0,1: 33:[18, 27, 24] Operation: 97-73=24
Moving to Node #0,1
Current State: 33:[18, 27, 24], Operations: ['97-73=24']
Exploring Operation: 24-18=6, Resulting Numbers: [27, 6]
Generated Node #0,1,3: 33:[27, 6] Operation: 24-18=6
Moving to Node #0,1,3
Current State: 33:[27, 6], Operations: ['97-73=24', '24-18=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
23,
61,
34,
60
] | 58 | [
"23+61=84",
"60-34=26",
"84-26=58"
] | Current State: 58:[23, 61, 34, 60], Operations: []
Exploring Operation: 23+61=84, Resulting Numbers: [34, 60, 84]
Generated Node #2: [34, 60, 84] from Operation: 23+61=84
Current State: 58:[34, 60, 84], Operations: ['23+61=84']
Exploring Operation: 60-34=26, Resulting Numbers: [84, 26]
Generated Node #3: [84, 26] from Operation: 60-34=26
Current State: 58:[84, 26], Operations: ['23+61=84', '60-34=26']
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[23, 61, 34, 60], Operations: []
Exploring Operation: 23+34=57, Resulting Numbers: [61, 60, 57]
Generated Node #0,0: 58:[61, 60, 57] Operation: 23+34=57
Exploring Operation: 61-34=27, Resulting Numbers: [23, 60, 27]
Generated Node #0,1: 58:[23, 60, 27] Operation: 61-34=27
Exploring Operation: 61-60=1, Resulting Numbers: [23, 34, 1]
Generated Node #0,2: 58:[23, 34, 1] Operation: 61-60=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[61, 60, 57], Operations: ['23+34=57']
Exploring Operation: 61-57=4, Resulting Numbers: [60, 4]
Generated Node #0,0,0: 58:[60, 4] Operation: 61-57=4
Exploring Operation: 61-60=1, Resulting Numbers: [57, 1]
Generated Node #0,0,1: 58:[57, 1] Operation: 61-60=1
Exploring Operation: 60-57=3, Resulting Numbers: [61, 3]
Generated Node #0,0,2: 58:[61, 3] Operation: 60-57=3
Moving to Node #0,0,1
Current State: 58:[57, 1], Operations: ['23+34=57', '61-60=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[23, 61, 34, 60], Operations: []
Exploring Operation: 23+34=57, Resulting Numbers: [61, 60, 57]
Generated Node #0,0: 58:[61, 60, 57] Operation: 23+34=57
Moving to Node #0,0
Current State: 58:[61, 60, 57], Operations: ['23+34=57']
Exploring Operation: 61-60=1, Resulting Numbers: [57, 1]
Generated Node #0,0,1: 58:[57, 1] Operation: 61-60=1
Moving to Node #0,0,1
Current State: 58:[57, 1], Operations: ['23+34=57', '61-60=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
12,
52,
83,
88
] | 35 | [
"52-12=40",
"88-83=5",
"40-5=35"
] | Current State: 35:[12, 52, 83, 88], Operations: []
Exploring Operation: 52-12=40, Resulting Numbers: [83, 88, 40]
Generated Node #2: [83, 88, 40] from Operation: 52-12=40
Current State: 35:[83, 88, 40], Operations: ['52-12=40']
Exploring Operation: 88-83=5, Resulting Numbers: [40, 5]
Generated Node #3: [40, 5] from Operation: 88-83=5
Current State: 35:[40, 5], Operations: ['52-12=40', '88-83=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[12, 52, 83, 88], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [12, 52, 5]
Generated Node #0,0: 35:[12, 52, 5] Operation: 88-83=5
Exploring Operation: 88-52=36, Resulting Numbers: [12, 83, 36]
Generated Node #0,1: 35:[12, 83, 36] Operation: 88-52=36
Moving to Node #0,0
Current State: 35:[12, 52, 5], Operations: ['88-83=5']
Exploring Operation: 52-12=40, Resulting Numbers: [5, 40]
Generated Node #0,0,0: 35:[5, 40] Operation: 52-12=40
Exploring Operation: 12-5=7, Resulting Numbers: [52, 7]
Generated Node #0,0,1: 35:[52, 7] Operation: 12-5=7
Moving to Node #0,1
Current State: 35:[12, 83, 36], Operations: ['88-52=36']
Exploring Operation: 83-36=47, Resulting Numbers: [12, 47]
Generated Node #0,1,0: 35:[12, 47] Operation: 83-36=47
Exploring Operation: 83-12=71, Resulting Numbers: [36, 71]
Generated Node #0,1,1: 35:[36, 71] Operation: 83-12=71
Moving to Node #0,0,0
Current State: 35:[5, 40], Operations: ['88-83=5', '52-12=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[12, 52, 83, 88], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [12, 52, 5]
Generated Node #0,0: 35:[12, 52, 5] Operation: 88-83=5
Moving to Node #0,0
Current State: 35:[12, 52, 5], Operations: ['88-83=5']
Exploring Operation: 52-12=40, Resulting Numbers: [5, 40]
Generated Node #0,0,0: 35:[5, 40] Operation: 52-12=40
Moving to Node #0,0,0
Current State: 35:[5, 40], Operations: ['88-83=5', '52-12=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
77,
71,
68,
90
] | 39 | [
"90-77=13",
"71-68=3",
"13*3=39"
] | Current State: 39:[77, 71, 68, 90], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [71, 68, 13]
Generated Node #2: [71, 68, 13] from Operation: 90-77=13
Current State: 39:[71, 68, 13], Operations: ['90-77=13']
Exploring Operation: 71-68=3, Resulting Numbers: [13, 3]
Generated Node #3: [13, 3] from Operation: 71-68=3
Current State: 39:[13, 3], Operations: ['90-77=13', '71-68=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[77, 71, 68, 90], Operations: []
Exploring Operation: 77-68=9, Resulting Numbers: [71, 90, 9]
Generated Node #0,0: 39:[71, 90, 9] Operation: 77-68=9
Exploring Operation: 77-71=6, Resulting Numbers: [68, 90, 6]
Generated Node #0,1: 39:[68, 90, 6] Operation: 77-71=6
Exploring Operation: 90-71=19, Resulting Numbers: [77, 68, 19]
Generated Node #0,2: 39:[77, 68, 19] Operation: 90-71=19
Exploring Operation: 90-68=22, Resulting Numbers: [77, 71, 22]
Generated Node #0,3: 39:[77, 71, 22] Operation: 90-68=22
Exploring Operation: 90-77=13, Resulting Numbers: [71, 68, 13]
Generated Node #0,4: 39:[71, 68, 13] Operation: 90-77=13
Moving to Node #0,4
Current State: 39:[71, 68, 13], Operations: ['90-77=13']
Exploring Operation: 71-13=58, Resulting Numbers: [68, 58]
Generated Node #0,4,0: 39:[68, 58] Operation: 71-13=58
Exploring Operation: 68+13=81, Resulting Numbers: [71, 81]
Generated Node #0,4,1: 39:[71, 81] Operation: 68+13=81
Exploring Operation: 71-68=3, Resulting Numbers: [13, 3]
Generated Node #0,4,2: 39:[13, 3] Operation: 71-68=3
Exploring Operation: 68-13=55, Resulting Numbers: [71, 55]
Generated Node #0,4,3: 39:[71, 55] Operation: 68-13=55
Exploring Operation: 71+13=84, Resulting Numbers: [68, 84]
Generated Node #0,4,4: 39:[68, 84] Operation: 71+13=84
Moving to Node #0,2
Current State: 39:[77, 68, 19], Operations: ['90-71=19']
Exploring Operation: 68-19=49, Resulting Numbers: [77, 49]
Generated Node #0,2,0: 39:[77, 49] Operation: 68-19=49
Exploring Operation: 77-19=58, Resulting Numbers: [68, 58]
Generated Node #0,2,1: 39:[68, 58] Operation: 77-19=58
Exploring Operation: 68+19=87, Resulting Numbers: [77, 87]
Generated Node #0,2,2: 39:[77, 87] Operation: 68+19=87
Exploring Operation: 77-68=9, Resulting Numbers: [19, 9]
Generated Node #0,2,3: 39:[19, 9] Operation: 77-68=9
Exploring Operation: 77+19=96, Resulting Numbers: [68, 96]
Generated Node #0,2,4: 39:[68, 96] Operation: 77+19=96
Moving to Node #0,3
Current State: 39:[77, 71, 22], Operations: ['90-68=22']
Exploring Operation: 77+22=99, Resulting Numbers: [71, 99]
Generated Node #0,3,0: 39:[71, 99] Operation: 77+22=99
Exploring Operation: 71-22=49, Resulting Numbers: [77, 49]
Generated Node #0,3,1: 39:[77, 49] Operation: 71-22=49
Exploring Operation: 77-22=55, Resulting Numbers: [71, 55]
Generated Node #0,3,2: 39:[71, 55] Operation: 77-22=55
Exploring Operation: 71+22=93, Resulting Numbers: [77, 93]
Generated Node #0,3,3: 39:[77, 93] Operation: 71+22=93
Exploring Operation: 77-71=6, Resulting Numbers: [22, 6]
Generated Node #0,3,4: 39:[22, 6] Operation: 77-71=6
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 39:[22, 6], Operations: ['90-68=22', '77-71=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 39:[77, 49], Operations: ['90-68=22', '71-22=49']
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 77*49=3773, Resulting Numbers: [3773]
3773,39 unequal: No Solution
Exploring Operation: 77+49=126, Resulting Numbers: [126]
126,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 39:[71, 55], Operations: ['90-68=22', '77-22=55']
Exploring Operation: 71+55=126, Resulting Numbers: [126]
126,39 unequal: No Solution
Exploring Operation: 71*55=3905, Resulting Numbers: [3905]
3905,39 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 39:[71, 99], Operations: ['90-68=22', '77+22=99']
Exploring Operation: 99-71=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 71+99=170, Resulting Numbers: [170]
170,39 unequal: No Solution
Exploring Operation: 71*99=7029, Resulting Numbers: [7029]
7029,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 39:[77, 93], Operations: ['90-68=22', '71+22=93']
Exploring Operation: 77*93=7161, Resulting Numbers: [7161]
7161,39 unequal: No Solution
Exploring Operation: 93-77=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 77+93=170, Resulting Numbers: [170]
170,39 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: 39:[68, 90, 6], Operations: ['77-71=6']
Exploring Operation: 68+6=74, Resulting Numbers: [90, 74]
Generated Node #0,1,0: 39:[90, 74] Operation: 68+6=74
Exploring Operation: 90-68=22, Resulting Numbers: [6, 22]
Generated Node #0,1,1: 39:[6, 22] Operation: 90-68=22
Exploring Operation: 90-6=84, Resulting Numbers: [68, 84]
Generated Node #0,1,2: 39:[68, 84] Operation: 90-6=84
Exploring Operation: 90/6=15, Resulting Numbers: [68, 15]
Generated Node #0,1,3: 39:[68, 15] Operation: 90/6=15
Exploring Operation: 68-6=62, Resulting Numbers: [90, 62]
Generated Node #0,1,4: 39:[90, 62] Operation: 68-6=62
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[6, 22], Operations: ['77-71=6', '90-68=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,39 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[68, 15], Operations: ['77-71=6', '90/6=15']
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,39 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,39 unequal: No Solution
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[68, 84], Operations: ['77-71=6', '90-6=84']
Exploring Operation: 68+84=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 84-68=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 68*84=5712, Resulting Numbers: [5712]
5712,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 39:[90, 62], Operations: ['77-71=6', '68-6=62']
Exploring Operation: 90-62=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 90+62=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 90*62=5580, Resulting Numbers: [5580]
5580,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[90, 74], Operations: ['77-71=6', '68+6=74']
Exploring Operation: 90+74=164, Resulting Numbers: [164]
164,39 unequal: No Solution
Exploring Operation: 90*74=6660, Resulting Numbers: [6660]
6660,39 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,39 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: 39:[71, 90, 9], Operations: ['77-68=9']
Exploring Operation: 71+9=80, Resulting Numbers: [90, 80]
Generated Node #0,0,0: 39:[90, 80] Operation: 71+9=80
Exploring Operation: 90/9=10, Resulting Numbers: [71, 10]
Generated Node #0,0,1: 39:[71, 10] Operation: 90/9=10
Exploring Operation: 90-9=81, Resulting Numbers: [71, 81]
Generated Node #0,0,2: 39:[71, 81] Operation: 90-9=81
Exploring Operation: 90-71=19, Resulting Numbers: [9, 19]
Generated Node #0,0,3: 39:[9, 19] Operation: 90-71=19
Exploring Operation: 71-9=62, Resulting Numbers: [90, 62]
Generated Node #0,0,4: 39:[90, 62] Operation: 71-9=62
Moving to Node #0,4,2
Current State: 39:[13, 3], Operations: ['90-77=13', '71-68=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[77, 71, 68, 90], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [71, 68, 13]
Generated Node #0,4: 39:[71, 68, 13] Operation: 90-77=13
Moving to Node #0,4
Current State: 39:[71, 68, 13], Operations: ['90-77=13']
Exploring Operation: 71-68=3, Resulting Numbers: [13, 3]
Generated Node #0,4,2: 39:[13, 3] Operation: 71-68=3
Moving to Node #0,4,2
Current State: 39:[13, 3], Operations: ['90-77=13', '71-68=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.942708 | hs_5 | sum_heuristic |
[
4,
78,
58,
56
] | 19 | [
"78-58=20",
"56+20=76",
"76/4=19"
] | Current State: 19:[4, 78, 58, 56], Operations: []
Exploring Operation: 78-58=20, Resulting Numbers: [4, 56, 20]
Generated Node #2: [4, 56, 20] from Operation: 78-58=20
Current State: 19:[4, 56, 20], Operations: ['78-58=20']
Exploring Operation: 56+20=76, Resulting Numbers: [4, 76]
Generated Node #3: [4, 76] from Operation: 56+20=76
Current State: 19:[4, 76], Operations: ['78-58=20', '56+20=76']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[4, 78, 58, 56], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [4, 78, 2]
Generated Node #0,0: 19:[4, 78, 2] Operation: 58-56=2
Exploring Operation: 78-56=22, Resulting Numbers: [4, 58, 22]
Generated Node #0,1: 19:[4, 58, 22] Operation: 78-56=22
Exploring Operation: 78-58=20, Resulting Numbers: [4, 56, 20]
Generated Node #0,2: 19:[4, 56, 20] Operation: 78-58=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[4, 56, 20], Operations: ['78-58=20']
Exploring Operation: 56/4=14, Resulting Numbers: [20, 14]
Generated Node #0,2,0: 19:[20, 14] Operation: 56/4=14
Exploring Operation: 56-4=52, Resulting Numbers: [20, 52]
Generated Node #0,2,1: 19:[20, 52] Operation: 56-4=52
Exploring Operation: 56-20=36, Resulting Numbers: [4, 36]
Generated Node #0,2,2: 19:[4, 36] Operation: 56-20=36
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 19:[20, 14], Operations: ['78-58=20', '56/4=14']
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,19 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,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,2,2
Current State: 19:[4, 36], Operations: ['78-58=20', '56-20=36']
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,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,2,1
Current State: 19:[20, 52], Operations: ['78-58=20', '56-4=52']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,19 unequal: No Solution
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,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:[4, 58, 22], Operations: ['78-56=22']
Exploring Operation: 58-4=54, Resulting Numbers: [22, 54]
Generated Node #0,1,0: 19:[22, 54] Operation: 58-4=54
Exploring Operation: 58-22=36, Resulting Numbers: [4, 36]
Generated Node #0,1,1: 19:[4, 36] Operation: 58-22=36
Exploring Operation: 22-4=18, Resulting Numbers: [58, 18]
Generated Node #0,1,2: 19:[58, 18] Operation: 22-4=18
Moving to Node #0,1,1
Current State: 19:[4, 36], Operations: ['78-56=22', '58-22=36']
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[22, 54], Operations: ['78-56=22', '58-4=54']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 22*54=1188, Resulting Numbers: [1188]
1188,19 unequal: No Solution
Exploring Operation: 22+54=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[58, 18], Operations: ['78-56=22', '22-4=18']
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,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:[4, 78, 2], Operations: ['58-56=2']
Exploring Operation: 78/2=39, Resulting Numbers: [4, 39]
Generated Node #0,0,0: 19:[4, 39] Operation: 78/2=39
Exploring Operation: 78-4=74, Resulting Numbers: [2, 74]
Generated Node #0,0,1: 19:[2, 74] Operation: 78-4=74
Exploring Operation: 4*2=8, Resulting Numbers: [78, 8]
Generated Node #0,0,2: 19:[78, 8] Operation: 4*2=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[4, 39], Operations: ['58-56=2', '78/2=39']
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,19 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[78, 8], Operations: ['58-56=2', '4*2=8']
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,19 unequal: No Solution
Exploring Operation: 78*8=624, Resulting Numbers: [624]
624,19 unequal: No Solution
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[2, 74], Operations: ['58-56=2', '78-4=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,19 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
52,
33,
71,
25
] | 39 | [
"52+33=85",
"71-25=46",
"85-46=39"
] | Current State: 39:[52, 33, 71, 25], Operations: []
Exploring Operation: 52+33=85, Resulting Numbers: [71, 25, 85]
Generated Node #2: [71, 25, 85] from Operation: 52+33=85
Current State: 39:[71, 25, 85], Operations: ['52+33=85']
Exploring Operation: 71-25=46, Resulting Numbers: [85, 46]
Generated Node #3: [85, 46] from Operation: 71-25=46
Current State: 39:[85, 46], Operations: ['52+33=85', '71-25=46']
Exploring Operation: 85-46=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[52, 33, 71, 25], Operations: []
Exploring Operation: 71-52=19, Resulting Numbers: [33, 25, 19]
Generated Node #0,0: 39:[33, 25, 19] Operation: 71-52=19
Exploring Operation: 71-33=38, Resulting Numbers: [52, 25, 38]
Generated Node #0,1: 39:[52, 25, 38] Operation: 71-33=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[33, 25, 19], Operations: ['71-52=19']
Exploring Operation: 25-19=6, Resulting Numbers: [33, 6]
Generated Node #0,0,0: 39:[33, 6] Operation: 25-19=6
Exploring Operation: 33-25=8, Resulting Numbers: [19, 8]
Generated Node #0,0,1: 39:[19, 8] Operation: 33-25=8
Moving to Node #0,0,0
Current State: 39:[33, 6], Operations: ['71-52=19', '25-19=6']
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[52, 33, 71, 25], Operations: []
Exploring Operation: 71-52=19, Resulting Numbers: [33, 25, 19]
Generated Node #0,0: 39:[33, 25, 19] Operation: 71-52=19
Moving to Node #0,0
Current State: 39:[33, 25, 19], Operations: ['71-52=19']
Exploring Operation: 25-19=6, Resulting Numbers: [33, 6]
Generated Node #0,0,0: 39:[33, 6] Operation: 25-19=6
Moving to Node #0,0,0
Current State: 39:[33, 6], Operations: ['71-52=19', '25-19=6']
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
16,
39,
25,
46
] | 23 | [
"39-16=23",
"25-23=2",
"46/2=23"
] | Current State: 23:[16, 39, 25, 46], Operations: []
Exploring Operation: 39-16=23, Resulting Numbers: [25, 46, 23]
Generated Node #2: [25, 46, 23] from Operation: 39-16=23
Current State: 23:[25, 46, 23], Operations: ['39-16=23']
Exploring Operation: 25-23=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 25-23=2
Current State: 23:[46, 2], Operations: ['39-16=23', '25-23=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[16, 39, 25, 46], Operations: []
Exploring Operation: 39-16=23, Resulting Numbers: [25, 46, 23]
Generated Node #0,0: 23:[25, 46, 23] Operation: 39-16=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[25, 46, 23], Operations: ['39-16=23']
Exploring Operation: 46-25=21, Resulting Numbers: [23, 21]
Generated Node #0,0,0: 23:[23, 21] Operation: 46-25=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[23, 21], Operations: ['39-16=23', '46-25=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
42,
48,
36,
83
] | 89 | [
"48-42=6",
"36/6=6",
"83+6=89"
] | Current State: 89:[42, 48, 36, 83], Operations: []
Exploring Operation: 48-42=6, Resulting Numbers: [36, 83, 6]
Generated Node #2: [36, 83, 6] from Operation: 48-42=6
Current State: 89:[36, 83, 6], Operations: ['48-42=6']
Exploring Operation: 36/6=6, Resulting Numbers: [83, 6]
Generated Node #3: [83, 6] from Operation: 36/6=6
Current State: 89:[83, 6], Operations: ['48-42=6', '36/6=6']
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[42, 48, 36, 83], Operations: []
Exploring Operation: 42+36=78, Resulting Numbers: [48, 83, 78]
Generated Node #0,0: 89:[48, 83, 78] Operation: 42+36=78
Exploring Operation: 48+36=84, Resulting Numbers: [42, 83, 84]
Generated Node #0,1: 89:[42, 83, 84] Operation: 48+36=84
Exploring Operation: 42+48=90, Resulting Numbers: [36, 83, 90]
Generated Node #0,2: 89:[36, 83, 90] Operation: 42+48=90
Exploring Operation: 42-36=6, Resulting Numbers: [48, 83, 6]
Generated Node #0,3: 89:[48, 83, 6] Operation: 42-36=6
Exploring Operation: 36+83=119, Resulting Numbers: [42, 48, 119]
Generated Node #0,4: 89:[42, 48, 119] Operation: 36+83=119
Moving to Node #0,0
Current State: 89:[48, 83, 78], Operations: ['42+36=78']
Exploring Operation: 48+78=126, Resulting Numbers: [83, 126]
Generated Node #0,0,0: 89:[83, 126] Operation: 48+78=126
Exploring Operation: 83-48=35, Resulting Numbers: [78, 35]
Generated Node #0,0,1: 89:[78, 35] Operation: 83-48=35
Exploring Operation: 83+78=161, Resulting Numbers: [48, 161]
Generated Node #0,0,2: 89:[48, 161] Operation: 83+78=161
Exploring Operation: 48+83=131, Resulting Numbers: [78, 131]
Generated Node #0,0,3: 89:[78, 131] Operation: 48+83=131
Exploring Operation: 78-48=30, Resulting Numbers: [83, 30]
Generated Node #0,0,4: 89:[83, 30] Operation: 78-48=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[83, 126], Operations: ['42+36=78', '48+78=126']
Exploring Operation: 83+126=209, Resulting Numbers: [209]
209,89 unequal: No Solution
Exploring Operation: 126-83=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Exploring Operation: 83*126=10458, Resulting Numbers: [10458]
10458,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,3
Current State: 89:[78, 131], Operations: ['42+36=78', '48+83=131']
Exploring Operation: 78+131=209, Resulting Numbers: [209]
209,89 unequal: No Solution
Exploring Operation: 78*131=10218, Resulting Numbers: [10218]
10218,89 unequal: No Solution
Exploring Operation: 131-78=53, Resulting Numbers: [53]
53,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:[78, 35], Operations: ['42+36=78', '83-48=35']
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Exploring Operation: 78*35=2730, Resulting Numbers: [2730]
2730,89 unequal: No Solution
Exploring Operation: 78+35=113, Resulting Numbers: [113]
113,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,4
Current State: 89:[83, 30], Operations: ['42+36=78', '78-48=30']
Exploring Operation: 83*30=2490, Resulting Numbers: [2490]
2490,89 unequal: No Solution
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Exploring Operation: 83+30=113, Resulting Numbers: [113]
113,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[48, 161], Operations: ['42+36=78', '83+78=161']
Exploring Operation: 161-48=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Exploring Operation: 48+161=209, Resulting Numbers: [209]
209,89 unequal: No Solution
Exploring Operation: 48*161=7728, Resulting Numbers: [7728]
7728,89 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: 89:[42, 83, 84], Operations: ['48+36=84']
Exploring Operation: 42+84=126, Resulting Numbers: [83, 126]
Generated Node #0,1,0: 89:[83, 126] Operation: 42+84=126
Exploring Operation: 84-42=42, Resulting Numbers: [83, 42]
Generated Node #0,1,1: 89:[83, 42] Operation: 84-42=42
Exploring Operation: 42+83=125, Resulting Numbers: [84, 125]
Generated Node #0,1,2: 89:[84, 125] Operation: 42+83=125
Exploring Operation: 83-42=41, Resulting Numbers: [84, 41]
Generated Node #0,1,3: 89:[84, 41] Operation: 83-42=41
Exploring Operation: 84/42=2, Resulting Numbers: [83, 2]
Generated Node #0,1,4: 89:[83, 2] Operation: 84/42=2
Moving to Node #0,2
Current State: 89:[36, 83, 90], Operations: ['42+48=90']
Exploring Operation: 90-36=54, Resulting Numbers: [83, 54]
Generated Node #0,2,0: 89:[83, 54] Operation: 90-36=54
Exploring Operation: 90-83=7, Resulting Numbers: [36, 7]
Generated Node #0,2,1: 89:[36, 7] Operation: 90-83=7
Exploring Operation: 36+90=126, Resulting Numbers: [83, 126]
Generated Node #0,2,2: 89:[83, 126] Operation: 36+90=126
Exploring Operation: 36+83=119, Resulting Numbers: [90, 119]
Generated Node #0,2,3: 89:[90, 119] Operation: 36+83=119
Exploring Operation: 83-36=47, Resulting Numbers: [90, 47]
Generated Node #0,2,4: 89:[90, 47] Operation: 83-36=47
Moving to Node #0,4
Current State: 89:[42, 48, 119], Operations: ['36+83=119']
Exploring Operation: 48-42=6, Resulting Numbers: [119, 6]
Generated Node #0,4,0: 89:[119, 6] Operation: 48-42=6
Exploring Operation: 119-42=77, Resulting Numbers: [48, 77]
Generated Node #0,4,1: 89:[48, 77] Operation: 119-42=77
Exploring Operation: 119-48=71, Resulting Numbers: [42, 71]
Generated Node #0,4,2: 89:[42, 71] Operation: 119-48=71
Exploring Operation: 42+119=161, Resulting Numbers: [48, 161]
Generated Node #0,4,3: 89:[48, 161] Operation: 42+119=161
Exploring Operation: 42+48=90, Resulting Numbers: [119, 90]
Generated Node #0,4,4: 89:[119, 90] Operation: 42+48=90
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 89:[119, 90], Operations: ['36+83=119', '42+48=90']
Exploring Operation: 119-90=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 119*90=10710, Resulting Numbers: [10710]
10710,89 unequal: No Solution
Exploring Operation: 119+90=209, Resulting Numbers: [209]
209,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,4,1
Current State: 89:[48, 77], Operations: ['36+83=119', '119-42=77']
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 48*77=3696, Resulting Numbers: [3696]
3696,89 unequal: No Solution
Exploring Operation: 48+77=125, Resulting Numbers: [125]
125,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,4,2
Current State: 89:[42, 71], Operations: ['36+83=119', '119-48=71']
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 42+71=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Exploring Operation: 42*71=2982, Resulting Numbers: [2982]
2982,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,4,0
Current State: 89:[119, 6], Operations: ['36+83=119', '48-42=6']
Exploring Operation: 119+6=125, Resulting Numbers: [125]
125,89 unequal: No Solution
Exploring Operation: 119*6=714, Resulting Numbers: [714]
714,89 unequal: No Solution
Exploring Operation: 119-6=113, Resulting Numbers: [113]
113,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,4,3
Current State: 89:[48, 161], Operations: ['36+83=119', '42+119=161']
Exploring Operation: 48*161=7728, Resulting Numbers: [7728]
7728,89 unequal: No Solution
Exploring Operation: 161-48=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Exploring Operation: 48+161=209, Resulting Numbers: [209]
209,89 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: 89:[48, 83, 6], Operations: ['42-36=6']
Exploring Operation: 48/6=8, Resulting Numbers: [83, 8]
Generated Node #0,3,0: 89:[83, 8] Operation: 48/6=8
Exploring Operation: 83-6=77, Resulting Numbers: [48, 77]
Generated Node #0,3,1: 89:[48, 77] Operation: 83-6=77
Exploring Operation: 48+6=54, Resulting Numbers: [83, 54]
Generated Node #0,3,2: 89:[83, 54] Operation: 48+6=54
Exploring Operation: 48-6=42, Resulting Numbers: [83, 42]
Generated Node #0,3,3: 89:[83, 42] Operation: 48-6=42
Exploring Operation: 83+6=89, Resulting Numbers: [48, 89]
Generated Node #0,3,4: 89:[48, 89] Operation: 83+6=89
Moving to Node #0,2,3
Current State: 89:[90, 119], Operations: ['42+48=90', '36+83=119']
Exploring Operation: 119-90=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 90+119=209, Resulting Numbers: [209]
209,89 unequal: No Solution
Exploring Operation: 90*119=10710, Resulting Numbers: [10710]
10710,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[84, 125], Operations: ['48+36=84', '42+83=125']
Exploring Operation: 84*125=10500, Resulting Numbers: [10500]
10500,89 unequal: No Solution
Exploring Operation: 84+125=209, Resulting Numbers: [209]
209,89 unequal: No Solution
Exploring Operation: 125-84=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[83, 54], Operations: ['42+48=90', '90-36=54']
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 83*54=4482, Resulting Numbers: [4482]
4482,89 unequal: No Solution
Exploring Operation: 83+54=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[48, 89], Operations: ['42-36=6', '83+6=89']
Exploring Operation: 48*89=4272, Resulting Numbers: [4272]
4272,89 unequal: No Solution
Exploring Operation: 48+89=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Exploring Operation: 89-48=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[83, 54], Operations: ['42-36=6', '48+6=54']
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 83+54=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Exploring Operation: 83*54=4482, Resulting Numbers: [4482]
4482,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[83, 126], Operations: ['48+36=84', '42+84=126']
Exploring Operation: 83+126=209, Resulting Numbers: [209]
209,89 unequal: No Solution
Exploring Operation: 126-83=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Exploring Operation: 83*126=10458, Resulting Numbers: [10458]
10458,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[83, 126], Operations: ['42+48=90', '36+90=126']
Exploring Operation: 83*126=10458, Resulting Numbers: [10458]
10458,89 unequal: No Solution
Exploring Operation: 126-83=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Exploring Operation: 83+126=209, Resulting Numbers: [209]
209,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[90, 47], Operations: ['42+48=90', '83-36=47']
Exploring Operation: 90*47=4230, Resulting Numbers: [4230]
4230,89 unequal: No Solution
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Exploring Operation: 90+47=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[83, 42], Operations: ['42-36=6', '48-6=42']
Exploring Operation: 83+42=125, Resulting Numbers: [125]
125,89 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 83*42=3486, Resulting Numbers: [3486]
3486,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[48, 77], Operations: ['42-36=6', '83-6=77']
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 48*77=3696, Resulting Numbers: [3696]
3696,89 unequal: No Solution
Exploring Operation: 48+77=125, Resulting Numbers: [125]
125,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[83, 42], Operations: ['48+36=84', '84-42=42']
Exploring Operation: 83+42=125, Resulting Numbers: [125]
125,89 unequal: No Solution
Exploring Operation: 83*42=3486, Resulting Numbers: [3486]
3486,89 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[84, 41], Operations: ['48+36=84', '83-42=41']
Exploring Operation: 84+41=125, Resulting Numbers: [125]
125,89 unequal: No Solution
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Exploring Operation: 84*41=3444, Resulting Numbers: [3444]
3444,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[83, 8], Operations: ['42-36=6', '48/6=8']
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 83*8=664, Resulting Numbers: [664]
664,89 unequal: No Solution
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[83, 2], Operations: ['48+36=84', '84/42=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,89 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,89 unequal: No Solution
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[36, 7], Operations: ['42+48=90', '90-83=7']
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,89 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,89 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.