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 |
|---|---|---|---|---|---|---|---|---|
[
24,
18,
21,
85
] | 22 | [
"24+18=42",
"85-21=64",
"64-42=22"
] | Current State: 22:[24, 18, 21, 85], Operations: []
Exploring Operation: 24+18=42, Resulting Numbers: [21, 85, 42]
Generated Node #2: [21, 85, 42] from Operation: 24+18=42
Current State: 22:[21, 85, 42], Operations: ['24+18=42']
Exploring Operation: 85-21=64, Resulting Numbers: [42, 64]
Generated Node #3: [42, 64] from Operation: 85-21=64
Current State: 22:[42, 64], Operations: ['24+18=42', '85-21=64']
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[24, 18, 21, 85], Operations: []
Exploring Operation: 85-18=67, Resulting Numbers: [24, 21, 67]
Generated Node #0,0: 22:[24, 21, 67] Operation: 85-18=67
Exploring Operation: 85-24=61, Resulting Numbers: [18, 21, 61]
Generated Node #0,1: 22:[18, 21, 61] Operation: 85-24=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[18, 21, 61], Operations: ['85-24=61']
Exploring Operation: 61-18=43, Resulting Numbers: [21, 43]
Generated Node #0,1,0: 22:[21, 43] Operation: 61-18=43
Exploring Operation: 61-21=40, Resulting Numbers: [18, 40]
Generated Node #0,1,1: 22:[18, 40] Operation: 61-21=40
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[21, 43], Operations: ['85-24=61', '61-18=43']
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[24, 18, 21, 85], Operations: []
Exploring Operation: 85-24=61, Resulting Numbers: [18, 21, 61]
Generated Node #0,1: 22:[18, 21, 61] Operation: 85-24=61
Moving to Node #0,1
Current State: 22:[18, 21, 61], Operations: ['85-24=61']
Exploring Operation: 61-18=43, Resulting Numbers: [21, 43]
Generated Node #0,1,0: 22:[21, 43] Operation: 61-18=43
Moving to Node #0,1,0
Current State: 22:[21, 43], Operations: ['85-24=61', '61-18=43']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
28,
75,
8,
19
] | 35 | [
"75-19=56",
"56/8=7",
"28+7=35"
] | Current State: 35:[28, 75, 8, 19], Operations: []
Exploring Operation: 75-19=56, Resulting Numbers: [28, 8, 56]
Generated Node #2: [28, 8, 56] from Operation: 75-19=56
Current State: 35:[28, 8, 56], Operations: ['75-19=56']
Exploring Operation: 56/8=7, Resulting Numbers: [28, 7]
Generated Node #3: [28, 7] from Operation: 56/8=7
Current State: 35:[28, 7], Operations: ['75-19=56', '56/8=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[28, 75, 8, 19], Operations: []
Exploring Operation: 28-19=9, Resulting Numbers: [75, 8, 9]
Generated Node #0,0: 35:[75, 8, 9] Operation: 28-19=9
Exploring Operation: 75-19=56, Resulting Numbers: [28, 8, 56]
Generated Node #0,1: 35:[28, 8, 56] Operation: 75-19=56
Exploring Operation: 75-28=47, Resulting Numbers: [8, 19, 47]
Generated Node #0,2: 35:[8, 19, 47] Operation: 75-28=47
Exploring Operation: 19-8=11, Resulting Numbers: [28, 75, 11]
Generated Node #0,3: 35:[28, 75, 11] Operation: 19-8=11
Exploring Operation: 75-8=67, Resulting Numbers: [28, 19, 67]
Generated Node #0,4: 35:[28, 19, 67] Operation: 75-8=67
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[8, 19, 47], Operations: ['75-28=47']
Exploring Operation: 8+47=55, Resulting Numbers: [19, 55]
Generated Node #0,2,0: 35:[19, 55] Operation: 8+47=55
Exploring Operation: 19-8=11, Resulting Numbers: [47, 11]
Generated Node #0,2,1: 35:[47, 11] Operation: 19-8=11
Exploring Operation: 8+19=27, Resulting Numbers: [47, 27]
Generated Node #0,2,2: 35:[47, 27] Operation: 8+19=27
Exploring Operation: 47-19=28, Resulting Numbers: [8, 28]
Generated Node #0,2,3: 35:[8, 28] Operation: 47-19=28
Exploring Operation: 47-8=39, Resulting Numbers: [19, 39]
Generated Node #0,2,4: 35:[19, 39] Operation: 47-8=39
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 35:[8, 28], Operations: ['75-28=47', '47-19=28']
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,35 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,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,2,1
Current State: 35:[47, 11], Operations: ['75-28=47', '19-8=11']
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,35 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,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,2,4
Current State: 35:[19, 39], Operations: ['75-28=47', '47-8=39']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,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,2,2
Current State: 35:[47, 27], Operations: ['75-28=47', '8+19=27']
Exploring Operation: 47*27=1269, Resulting Numbers: [1269]
1269,35 unequal: No Solution
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 47+27=74, Resulting Numbers: [74]
74,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,2,0
Current State: 35:[19, 55], Operations: ['75-28=47', '8+47=55']
Exploring Operation: 19+55=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 19*55=1045, Resulting Numbers: [1045]
1045,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:[28, 8, 56], Operations: ['75-19=56']
Exploring Operation: 56-8=48, Resulting Numbers: [28, 48]
Generated Node #0,1,0: 35:[28, 48] Operation: 56-8=48
Exploring Operation: 28+8=36, Resulting Numbers: [56, 36]
Generated Node #0,1,1: 35:[56, 36] Operation: 28+8=36
Exploring Operation: 56/8=7, Resulting Numbers: [28, 7]
Generated Node #0,1,2: 35:[28, 7] Operation: 56/8=7
Exploring Operation: 56/28=2, Resulting Numbers: [8, 2]
Generated Node #0,1,3: 35:[8, 2] Operation: 56/28=2
Exploring Operation: 56-28=28, Resulting Numbers: [8, 28]
Generated Node #0,1,4: 35:[8, 28] Operation: 56-28=28
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 35:[8, 2], Operations: ['75-19=56', '56/28=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 8+2=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,1,2
Current State: 35:[28, 7], Operations: ['75-19=56', '56/8=7']
Exploring Operation: 28*7=196, Resulting Numbers: [196]
196,35 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[28, 75, 8, 19], Operations: []
Exploring Operation: 75-19=56, Resulting Numbers: [28, 8, 56]
Generated Node #0,1: 35:[28, 8, 56] Operation: 75-19=56
Moving to Node #0,1
Current State: 35:[28, 8, 56], Operations: ['75-19=56']
Exploring Operation: 56/8=7, Resulting Numbers: [28, 7]
Generated Node #0,1,2: 35:[28, 7] Operation: 56/8=7
Moving to Node #0,1,2
Current State: 35:[28, 7], Operations: ['75-19=56', '56/8=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
30,
89,
61,
4
] | 92 | [
"30*4=120",
"89-61=28",
"120-28=92"
] | Current State: 92:[30, 89, 61, 4], Operations: []
Exploring Operation: 30*4=120, Resulting Numbers: [89, 61, 120]
Generated Node #2: [89, 61, 120] from Operation: 30*4=120
Current State: 92:[89, 61, 120], Operations: ['30*4=120']
Exploring Operation: 89-61=28, Resulting Numbers: [120, 28]
Generated Node #3: [120, 28] from Operation: 89-61=28
Current State: 92:[120, 28], Operations: ['30*4=120', '89-61=28']
Exploring Operation: 120-28=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[30, 89, 61, 4], Operations: []
Exploring Operation: 30+61=91, Resulting Numbers: [89, 4, 91]
Generated Node #0,0: 92:[89, 4, 91] Operation: 30+61=91
Exploring Operation: 61-4=57, Resulting Numbers: [30, 89, 57]
Generated Node #0,1: 92:[30, 89, 57] Operation: 61-4=57
Exploring Operation: 61-30=31, Resulting Numbers: [89, 4, 31]
Generated Node #0,2: 92:[89, 4, 31] Operation: 61-30=31
Exploring Operation: 89-61=28, Resulting Numbers: [30, 4, 28]
Generated Node #0,3: 92:[30, 4, 28] Operation: 89-61=28
Exploring Operation: 30-4=26, Resulting Numbers: [89, 61, 26]
Generated Node #0,4: 92:[89, 61, 26] Operation: 30-4=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[89, 4, 91], Operations: ['30+61=91']
Exploring Operation: 89+4=93, Resulting Numbers: [91, 93]
Generated Node #0,0,0: 92:[91, 93] Operation: 89+4=93
Exploring Operation: 4+91=95, Resulting Numbers: [89, 95]
Generated Node #0,0,1: 92:[89, 95] Operation: 4+91=95
Exploring Operation: 91-89=2, Resulting Numbers: [4, 2]
Generated Node #0,0,2: 92:[4, 2] Operation: 91-89=2
Exploring Operation: 89-4=85, Resulting Numbers: [91, 85]
Generated Node #0,0,3: 92:[91, 85] Operation: 89-4=85
Exploring Operation: 91-4=87, Resulting Numbers: [89, 87]
Generated Node #0,0,4: 92:[89, 87] Operation: 91-4=87
Moving to Node #0,0,2
Current State: 92:[4, 2], Operations: ['30+61=91', '91-89=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[91, 93], Operations: ['30+61=91', '89+4=93']
Exploring Operation: 91+93=184, Resulting Numbers: [184]
184,92 unequal: No Solution
Exploring Operation: 91*93=8463, Resulting Numbers: [8463]
8463,92 unequal: No Solution
Exploring Operation: 93-91=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[89, 95], Operations: ['30+61=91', '4+91=95']
Exploring Operation: 95-89=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 89*95=8455, Resulting Numbers: [8455]
8455,92 unequal: No Solution
Exploring Operation: 89+95=184, Resulting Numbers: [184]
184,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[91, 85], Operations: ['30+61=91', '89-4=85']
Exploring Operation: 91-85=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 91*85=7735, Resulting Numbers: [7735]
7735,92 unequal: No Solution
Exploring Operation: 91+85=176, Resulting Numbers: [176]
176,92 unequal: No Solution
Moving to Node #0,0,4
Current State: 92:[89, 87], Operations: ['30+61=91', '91-4=87']
Exploring Operation: 89+87=176, Resulting Numbers: [176]
176,92 unequal: No Solution
Exploring Operation: 89*87=7743, Resulting Numbers: [7743]
7743,92 unequal: No Solution
Exploring Operation: 89-87=2, Resulting Numbers: [2]
2,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[89, 4, 31], Operations: ['61-30=31']
Exploring Operation: 4+31=35, Resulting Numbers: [89, 35]
Generated Node #0,2,0: 92:[89, 35] Operation: 4+31=35
Exploring Operation: 89+4=93, Resulting Numbers: [31, 93]
Generated Node #0,2,1: 92:[31, 93] Operation: 89+4=93
Exploring Operation: 89-31=58, Resulting Numbers: [4, 58]
Generated Node #0,2,2: 92:[4, 58] Operation: 89-31=58
Exploring Operation: 89-4=85, Resulting Numbers: [31, 85]
Generated Node #0,2,3: 92:[31, 85] Operation: 89-4=85
Exploring Operation: 31-4=27, Resulting Numbers: [89, 27]
Generated Node #0,2,4: 92:[89, 27] Operation: 31-4=27
Moving to Node #0,2,4
Current State: 92:[89, 27], Operations: ['61-30=31', '31-4=27']
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 89+27=116, Resulting Numbers: [116]
116,92 unequal: No Solution
Exploring Operation: 89*27=2403, Resulting Numbers: [2403]
2403,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[31, 93], Operations: ['61-30=31', '89+4=93']
Exploring Operation: 31*93=2883, Resulting Numbers: [2883]
2883,92 unequal: No Solution
Exploring Operation: 93-31=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 31+93=124, Resulting Numbers: [124]
124,92 unequal: No Solution
Exploring Operation: 93/31=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[4, 58], Operations: ['61-30=31', '89-31=58']
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 4*58=232, Resulting Numbers: [232]
232,92 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[89, 35], Operations: ['61-30=31', '4+31=35']
Exploring Operation: 89-35=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 89*35=3115, Resulting Numbers: [3115]
3115,92 unequal: No Solution
Exploring Operation: 89+35=124, Resulting Numbers: [124]
124,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[31, 85], Operations: ['61-30=31', '89-4=85']
Exploring Operation: 31+85=116, Resulting Numbers: [116]
116,92 unequal: No Solution
Exploring Operation: 85-31=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 31*85=2635, Resulting Numbers: [2635]
2635,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[30, 4, 28], Operations: ['89-61=28']
Exploring Operation: 28/4=7, Resulting Numbers: [30, 7]
Generated Node #0,3,0: 92:[30, 7] Operation: 28/4=7
Exploring Operation: 30-4=26, Resulting Numbers: [28, 26]
Generated Node #0,3,1: 92:[28, 26] Operation: 30-4=26
Exploring Operation: 30+28=58, Resulting Numbers: [4, 58]
Generated Node #0,3,2: 92:[4, 58] Operation: 30+28=58
Exploring Operation: 30-28=2, Resulting Numbers: [4, 2]
Generated Node #0,3,3: 92:[4, 2] Operation: 30-28=2
Exploring Operation: 28-4=24, Resulting Numbers: [30, 24]
Generated Node #0,3,4: 92:[30, 24] Operation: 28-4=24
Moving to Node #0,3,3
Current State: 92:[4, 2], Operations: ['89-61=28', '30-28=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Moving to Node #0,3,4
Current State: 92:[30, 24], Operations: ['89-61=28', '28-4=24']
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,92 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[28, 26], Operations: ['89-61=28', '30-4=26']
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,92 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Moving to Node #0,3,0
Current State: 92:[30, 7], Operations: ['89-61=28', '28/4=7']
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,92 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[4, 58], Operations: ['89-61=28', '30+28=58']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 4*58=232, Resulting Numbers: [232]
232,92 unequal: No Solution
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[30, 89, 57], Operations: ['61-4=57']
Exploring Operation: 30+57=87, Resulting Numbers: [89, 87]
Generated Node #0,1,0: 92:[89, 87] Operation: 30+57=87
Exploring Operation: 89-57=32, Resulting Numbers: [30, 32]
Generated Node #0,1,1: 92:[30, 32] Operation: 89-57=32
Exploring Operation: 30+89=119, Resulting Numbers: [57, 119]
Generated Node #0,1,2: 92:[57, 119] Operation: 30+89=119
Exploring Operation: 89-30=59, Resulting Numbers: [57, 59]
Generated Node #0,1,3: 92:[57, 59] Operation: 89-30=59
Exploring Operation: 57-30=27, Resulting Numbers: [89, 27]
Generated Node #0,1,4: 92:[89, 27] Operation: 57-30=27
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 92:[89, 27], Operations: ['61-4=57', '57-30=27']
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 89+27=116, Resulting Numbers: [116]
116,92 unequal: No Solution
Exploring Operation: 89*27=2403, Resulting Numbers: [2403]
2403,92 unequal: No Solution
No 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: 92:[89, 87], Operations: ['61-4=57', '30+57=87']
Exploring Operation: 89+87=176, Resulting Numbers: [176]
176,92 unequal: No Solution
Exploring Operation: 89-87=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 89*87=7743, Resulting Numbers: [7743]
7743,92 unequal: No Solution
No 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: 92:[30, 32], Operations: ['61-4=57', '89-57=32']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,92 unequal: No Solution
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,92 unequal: No Solution
No 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: 92:[57, 59], Operations: ['61-4=57', '89-30=59']
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 57+59=116, Resulting Numbers: [116]
116,92 unequal: No Solution
Exploring Operation: 57*59=3363, Resulting Numbers: [3363]
3363,92 unequal: No Solution
No 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: 92:[57, 119], Operations: ['61-4=57', '30+89=119']
Exploring Operation: 57+119=176, Resulting Numbers: [176]
176,92 unequal: No Solution
Exploring Operation: 57*119=6783, Resulting Numbers: [6783]
6783,92 unequal: No Solution
Exploring Operation: 119-57=62, Resulting Numbers: [62]
62,92 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: 92:[89, 61, 26], Operations: ['30-4=26']
Exploring Operation: 89-26=63, Resulting Numbers: [61, 63]
Generated Node #0,4,0: 92:[61, 63] Operation: 89-26=63
Exploring Operation: 89+26=115, Resulting Numbers: [61, 115]
Generated Node #0,4,1: 92:[61, 115] Operation: 89+26=115
Exploring Operation: 61-26=35, Resulting Numbers: [89, 35]
Generated Node #0,4,2: 92:[89, 35] Operation: 61-26=35
Exploring Operation: 89-61=28, Resulting Numbers: [26, 28]
Generated Node #0,4,3: 92:[26, 28] Operation: 89-61=28
Exploring Operation: 61+26=87, Resulting Numbers: [89, 87]
Generated Node #0,4,4: 92:[89, 87] Operation: 61+26=87
Moving to Node #0,4,3
Current State: 92:[26, 28], Operations: ['30-4=26', '89-61=28']
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,92 unequal: No Solution
Moving to Node #0,4,4
Current State: 92:[89, 87], Operations: ['30-4=26', '61+26=87']
Exploring Operation: 89+87=176, Resulting Numbers: [176]
176,92 unequal: No Solution
Exploring Operation: 89*87=7743, Resulting Numbers: [7743]
7743,92 unequal: No Solution
Exploring Operation: 89-87=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Moving to Node #0,4,2
Current State: 92:[89, 35], Operations: ['30-4=26', '61-26=35']
Exploring Operation: 89*35=3115, Resulting Numbers: [3115]
3115,92 unequal: No Solution
Exploring Operation: 89+35=124, Resulting Numbers: [124]
124,92 unequal: No Solution
Exploring Operation: 89-35=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Moving to Node #0,4,0
Current State: 92:[61, 63], Operations: ['30-4=26', '89-26=63']
Exploring Operation: 61+63=124, Resulting Numbers: [124]
124,92 unequal: No Solution
Exploring Operation: 61*63=3843, Resulting Numbers: [3843]
3843,92 unequal: No Solution
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Moving to Node #0,4,1
Current State: 92:[61, 115], Operations: ['30-4=26', '89+26=115']
Exploring Operation: 115-61=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 61*115=7015, Resulting Numbers: [7015]
7015,92 unequal: No Solution
Exploring Operation: 61+115=176, Resulting Numbers: [176]
176,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
19,
3,
9,
49
] | 81 | [
"49-19=30",
"3*30=90",
"90-9=81"
] | Current State: 81:[19, 3, 9, 49], Operations: []
Exploring Operation: 49-19=30, Resulting Numbers: [3, 9, 30]
Generated Node #2: [3, 9, 30] from Operation: 49-19=30
Current State: 81:[3, 9, 30], Operations: ['49-19=30']
Exploring Operation: 3*30=90, Resulting Numbers: [9, 90]
Generated Node #3: [9, 90] from Operation: 3*30=90
Current State: 81:[9, 90], Operations: ['49-19=30', '3*30=90']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[19, 3, 9, 49], Operations: []
Exploring Operation: 49-19=30, Resulting Numbers: [3, 9, 30]
Generated Node #0,0: 81:[3, 9, 30] Operation: 49-19=30
Exploring Operation: 19+49=68, Resulting Numbers: [3, 9, 68]
Generated Node #0,1: 81:[3, 9, 68] Operation: 19+49=68
Exploring Operation: 49-9=40, Resulting Numbers: [19, 3, 40]
Generated Node #0,2: 81:[19, 3, 40] Operation: 49-9=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[3, 9, 30], Operations: ['49-19=30']
Exploring Operation: 30-3=27, Resulting Numbers: [9, 27]
Generated Node #0,0,0: 81:[9, 27] Operation: 30-3=27
Exploring Operation: 30/3=10, Resulting Numbers: [9, 10]
Generated Node #0,0,1: 81:[9, 10] Operation: 30/3=10
Exploring Operation: 3*9=27, Resulting Numbers: [30, 27]
Generated Node #0,0,2: 81:[30, 27] Operation: 3*9=27
Moving to Node #0,0,0
Current State: 81:[9, 27], Operations: ['49-19=30', '30-3=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[9, 10], Operations: ['49-19=30', '30/3=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[30, 27], Operations: ['49-19=30', '3*9=27']
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[3, 9, 68], Operations: ['19+49=68']
Exploring Operation: 3*9=27, Resulting Numbers: [68, 27]
Generated Node #0,1,0: 81:[68, 27] Operation: 3*9=27
Exploring Operation: 3+68=71, Resulting Numbers: [9, 71]
Generated Node #0,1,1: 81:[9, 71] Operation: 3+68=71
Exploring Operation: 9+68=77, Resulting Numbers: [3, 77]
Generated Node #0,1,2: 81:[3, 77] Operation: 9+68=77
Moving to Node #0,1,2
Current State: 81:[3, 77], Operations: ['19+49=68', '9+68=77']
Exploring Operation: 3*77=231, Resulting Numbers: [231]
231,81 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 3+77=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[9, 71], Operations: ['19+49=68', '3+68=71']
Exploring Operation: 9*71=639, Resulting Numbers: [639]
639,81 unequal: No Solution
Exploring Operation: 9+71=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[68, 27], Operations: ['19+49=68', '3*9=27']
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,81 unequal: No Solution
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,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
Current State: 81:[19, 3, 40], Operations: ['49-9=40']
Exploring Operation: 40-3=37, Resulting Numbers: [19, 37]
Generated Node #0,2,0: 81:[19, 37] Operation: 40-3=37
Exploring Operation: 40-19=21, Resulting Numbers: [3, 21]
Generated Node #0,2,1: 81:[3, 21] Operation: 40-19=21
Exploring Operation: 19+3=22, Resulting Numbers: [40, 22]
Generated Node #0,2,2: 81:[40, 22] Operation: 19+3=22
Moving to Node #0,2,1
Current State: 81:[3, 21], Operations: ['49-9=40', '40-19=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[19, 37], Operations: ['49-9=40', '40-3=37']
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[40, 22], Operations: ['49-9=40', '19+3=22']
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,81 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,81 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 |
[
28,
22,
29,
54
] | 84 | [
"22+29=51",
"54-51=3",
"28*3=84"
] | Current State: 84:[28, 22, 29, 54], Operations: []
Exploring Operation: 22+29=51, Resulting Numbers: [28, 54, 51]
Generated Node #2: [28, 54, 51] from Operation: 22+29=51
Current State: 84:[28, 54, 51], Operations: ['22+29=51']
Exploring Operation: 54-51=3, Resulting Numbers: [28, 3]
Generated Node #3: [28, 3] from Operation: 54-51=3
Current State: 84:[28, 3], Operations: ['22+29=51', '54-51=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[28, 22, 29, 54], Operations: []
Exploring Operation: 29+54=83, Resulting Numbers: [28, 22, 83]
Generated Node #0,0: 84:[28, 22, 83] Operation: 29+54=83
Exploring Operation: 54-28=26, Resulting Numbers: [22, 29, 26]
Generated Node #0,1: 84:[22, 29, 26] Operation: 54-28=26
Exploring Operation: 54-29=25, Resulting Numbers: [28, 22, 25]
Generated Node #0,2: 84:[28, 22, 25] Operation: 54-29=25
Exploring Operation: 28+54=82, Resulting Numbers: [22, 29, 82]
Generated Node #0,3: 84:[22, 29, 82] Operation: 28+54=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[28, 22, 83], Operations: ['29+54=83']
Exploring Operation: 83-28=55, Resulting Numbers: [22, 55]
Generated Node #0,0,0: 84:[22, 55] Operation: 83-28=55
Exploring Operation: 83-22=61, Resulting Numbers: [28, 61]
Generated Node #0,0,1: 84:[28, 61] Operation: 83-22=61
Exploring Operation: 28+22=50, Resulting Numbers: [83, 50]
Generated Node #0,0,2: 84:[83, 50] Operation: 28+22=50
Exploring Operation: 28-22=6, Resulting Numbers: [83, 6]
Generated Node #0,0,3: 84:[83, 6] Operation: 28-22=6
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 84:[83, 6], Operations: ['29+54=83', '28-22=6']
Exploring Operation: 83*6=498, Resulting Numbers: [498]
498,84 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 84:[83, 50], Operations: ['29+54=83', '28+22=50']
Exploring Operation: 83*50=4150, Resulting Numbers: [4150]
4150,84 unequal: No Solution
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 83+50=133, Resulting Numbers: [133]
133,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[22, 55], Operations: ['29+54=83', '83-28=55']
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 22*55=1210, Resulting Numbers: [1210]
1210,84 unequal: No Solution
Exploring Operation: 22+55=77, Resulting Numbers: [77]
77,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[28, 61], Operations: ['29+54=83', '83-22=61']
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,84 unequal: No Solution
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[22, 29, 26], Operations: ['54-28=26']
Exploring Operation: 22+26=48, Resulting Numbers: [29, 48]
Generated Node #0,1,0: 84:[29, 48] Operation: 22+26=48
Exploring Operation: 29-26=3, Resulting Numbers: [22, 3]
Generated Node #0,1,1: 84:[22, 3] Operation: 29-26=3
Exploring Operation: 26-22=4, Resulting Numbers: [29, 4]
Generated Node #0,1,2: 84:[29, 4] Operation: 26-22=4
Exploring Operation: 29-22=7, Resulting Numbers: [26, 7]
Generated Node #0,1,3: 84:[26, 7] Operation: 29-22=7
Moving to Node #0,1,1
Current State: 84:[22, 3], Operations: ['54-28=26', '29-26=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[29, 4], Operations: ['54-28=26', '26-22=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,84 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[26, 7], Operations: ['54-28=26', '29-22=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,84 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[29, 48], Operations: ['54-28=26', '22+26=48']
Exploring Operation: 29*48=1392, Resulting Numbers: [1392]
1392,84 unequal: No Solution
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[28, 22, 25], Operations: ['54-29=25']
Exploring Operation: 28-25=3, Resulting Numbers: [22, 3]
Generated Node #0,2,0: 84:[22, 3] Operation: 28-25=3
Exploring Operation: 28-22=6, Resulting Numbers: [25, 6]
Generated Node #0,2,1: 84:[25, 6] Operation: 28-22=6
Exploring Operation: 22+25=47, Resulting Numbers: [28, 47]
Generated Node #0,2,2: 84:[28, 47] Operation: 22+25=47
Exploring Operation: 25-22=3, Resulting Numbers: [28, 3]
Generated Node #0,2,3: 84:[28, 3] Operation: 25-22=3
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 84:[28, 3], Operations: ['54-29=25', '25-22=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[28, 22, 29, 54], Operations: []
Exploring Operation: 54-29=25, Resulting Numbers: [28, 22, 25]
Generated Node #0,2: 84:[28, 22, 25] Operation: 54-29=25
Moving to Node #0,2
Current State: 84:[28, 22, 25], Operations: ['54-29=25']
Exploring Operation: 25-22=3, Resulting Numbers: [28, 3]
Generated Node #0,2,3: 84:[28, 3] Operation: 25-22=3
Moving to Node #0,2,3
Current State: 84:[28, 3], Operations: ['54-29=25', '25-22=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960938 | hs_4 | sum_heuristic |
[
39,
97,
68,
1
] | 67 | [
"39+97=136",
"68+1=69",
"136-69=67"
] | Current State: 67:[39, 97, 68, 1], Operations: []
Exploring Operation: 39+97=136, Resulting Numbers: [68, 1, 136]
Generated Node #2: [68, 1, 136] from Operation: 39+97=136
Current State: 67:[68, 1, 136], Operations: ['39+97=136']
Exploring Operation: 68+1=69, Resulting Numbers: [136, 69]
Generated Node #3: [136, 69] from Operation: 68+1=69
Current State: 67:[136, 69], Operations: ['39+97=136', '68+1=69']
Exploring Operation: 136-69=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[39, 97, 68, 1], Operations: []
Exploring Operation: 39+1=40, Resulting Numbers: [97, 68, 40]
Generated Node #0,0: 67:[97, 68, 40] Operation: 39+1=40
Exploring Operation: 68-1=67, Resulting Numbers: [39, 97, 67]
Generated Node #0,1: 67:[39, 97, 67] Operation: 68-1=67
Exploring Operation: 97-1=96, Resulting Numbers: [39, 68, 96]
Generated Node #0,2: 67:[39, 68, 96] Operation: 97-1=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[97, 68, 40], Operations: ['39+1=40']
Exploring Operation: 97-68=29, Resulting Numbers: [40, 29]
Generated Node #0,0,0: 67:[40, 29] Operation: 97-68=29
Exploring Operation: 97-40=57, Resulting Numbers: [68, 57]
Generated Node #0,0,1: 67:[68, 57] Operation: 97-40=57
Exploring Operation: 68-40=28, Resulting Numbers: [97, 28]
Generated Node #0,0,2: 67:[97, 28] Operation: 68-40=28
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[68, 57], Operations: ['39+1=40', '97-40=57']
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 68+57=125, Resulting Numbers: [125]
125,67 unequal: No Solution
Exploring Operation: 68*57=3876, Resulting Numbers: [3876]
3876,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[40, 29], Operations: ['39+1=40', '97-68=29']
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,67 unequal: No Solution
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[97, 28], Operations: ['39+1=40', '68-40=28']
Exploring Operation: 97*28=2716, Resulting Numbers: [2716]
2716,67 unequal: No Solution
Exploring Operation: 97-28=69, Resulting Numbers: [69]
69,67 unequal: No Solution
Exploring Operation: 97+28=125, Resulting Numbers: [125]
125,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[39, 97, 67], Operations: ['68-1=67']
Exploring Operation: 39+97=136, Resulting Numbers: [67, 136]
Generated Node #0,1,0: 67:[67, 136] Operation: 39+97=136
Exploring Operation: 97-39=58, Resulting Numbers: [67, 58]
Generated Node #0,1,1: 67:[67, 58] Operation: 97-39=58
Exploring Operation: 97-67=30, Resulting Numbers: [39, 30]
Generated Node #0,1,2: 67:[39, 30] Operation: 97-67=30
Moving to Node #0,1,1
Current State: 67:[67, 58], Operations: ['68-1=67', '97-39=58']
Exploring Operation: 67*58=3886, Resulting Numbers: [3886]
3886,67 unequal: No Solution
Exploring Operation: 67-58=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 67+58=125, Resulting Numbers: [125]
125,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[39, 30], Operations: ['68-1=67', '97-67=30']
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,67 unequal: No Solution
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,67 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[67, 136], Operations: ['68-1=67', '39+97=136']
Exploring Operation: 67+136=203, Resulting Numbers: [203]
203,67 unequal: No Solution
Exploring Operation: 67*136=9112, Resulting Numbers: [9112]
9112,67 unequal: No Solution
Exploring Operation: 136-67=69, Resulting Numbers: [69]
69,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[39, 68, 96], Operations: ['97-1=96']
Exploring Operation: 96-39=57, Resulting Numbers: [68, 57]
Generated Node #0,2,0: 67:[68, 57] Operation: 96-39=57
Exploring Operation: 96-68=28, Resulting Numbers: [39, 28]
Generated Node #0,2,1: 67:[39, 28] Operation: 96-68=28
Exploring Operation: 68-39=29, Resulting Numbers: [96, 29]
Generated Node #0,2,2: 67:[96, 29] Operation: 68-39=29
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[68, 57], Operations: ['97-1=96', '96-39=57']
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 68*57=3876, Resulting Numbers: [3876]
3876,67 unequal: No Solution
Exploring Operation: 68+57=125, Resulting Numbers: [125]
125,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[39, 28], Operations: ['97-1=96', '96-68=28']
Exploring Operation: 39*28=1092, Resulting Numbers: [1092]
1092,67 unequal: No Solution
Exploring Operation: 39+28=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[39, 97, 68, 1], Operations: []
Exploring Operation: 97-1=96, Resulting Numbers: [39, 68, 96]
Generated Node #0,2: 67:[39, 68, 96] Operation: 97-1=96
Moving to Node #0,2
Current State: 67:[39, 68, 96], Operations: ['97-1=96']
Exploring Operation: 96-68=28, Resulting Numbers: [39, 28]
Generated Node #0,2,1: 67:[39, 28] Operation: 96-68=28
Moving to Node #0,2,1
Current State: 67:[39, 28], Operations: ['97-1=96', '96-68=28']
Exploring Operation: 39+28=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_3 | sum_heuristic |
[
20,
70,
2,
73
] | 18 | [
"73-20=53",
"70/2=35",
"53-35=18"
] | Current State: 18:[20, 70, 2, 73], Operations: []
Exploring Operation: 73-20=53, Resulting Numbers: [70, 2, 53]
Generated Node #2: [70, 2, 53] from Operation: 73-20=53
Current State: 18:[70, 2, 53], Operations: ['73-20=53']
Exploring Operation: 70/2=35, Resulting Numbers: [53, 35]
Generated Node #3: [53, 35] from Operation: 70/2=35
Current State: 18:[53, 35], Operations: ['73-20=53', '70/2=35']
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[20, 70, 2, 73], Operations: []
Exploring Operation: 70/2=35, Resulting Numbers: [20, 73, 35]
Generated Node #0,0: 18:[20, 73, 35] Operation: 70/2=35
Exploring Operation: 73-70=3, Resulting Numbers: [20, 2, 3]
Generated Node #0,1: 18:[20, 2, 3] Operation: 73-70=3
Exploring Operation: 70-20=50, Resulting Numbers: [2, 73, 50]
Generated Node #0,2: 18:[2, 73, 50] Operation: 70-20=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[20, 2, 3], Operations: ['73-70=3']
Exploring Operation: 20-2=18, Resulting Numbers: [3, 18]
Generated Node #0,1,0: 18:[3, 18] Operation: 20-2=18
Exploring Operation: 20/2=10, Resulting Numbers: [3, 10]
Generated Node #0,1,1: 18:[3, 10] Operation: 20/2=10
Exploring Operation: 20-3=17, Resulting Numbers: [2, 17]
Generated Node #0,1,2: 18:[2, 17] Operation: 20-3=17
Moving to Node #0,1,0
Current State: 18:[3, 18], Operations: ['73-70=3', '20-2=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[3, 10], Operations: ['73-70=3', '20/2=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[2, 17], Operations: ['73-70=3', '20-3=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[20, 73, 35], Operations: ['70/2=35']
Exploring Operation: 73-35=38, Resulting Numbers: [20, 38]
Generated Node #0,0,0: 18:[20, 38] Operation: 73-35=38
Exploring Operation: 73-20=53, Resulting Numbers: [35, 53]
Generated Node #0,0,1: 18:[35, 53] Operation: 73-20=53
Exploring Operation: 35-20=15, Resulting Numbers: [73, 15]
Generated Node #0,0,2: 18:[73, 15] Operation: 35-20=15
Moving to Node #0,0,0
Current State: 18:[20, 38], Operations: ['70/2=35', '73-35=38']
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,18 unequal: No Solution
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,18 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[20, 70, 2, 73], Operations: []
Exploring Operation: 70/2=35, Resulting Numbers: [20, 73, 35]
Generated Node #0,0: 18:[20, 73, 35] Operation: 70/2=35
Moving to Node #0,0
Current State: 18:[20, 73, 35], Operations: ['70/2=35']
Exploring Operation: 73-35=38, Resulting Numbers: [20, 38]
Generated Node #0,0,0: 18:[20, 38] Operation: 73-35=38
Moving to Node #0,0,0
Current State: 18:[20, 38], Operations: ['70/2=35', '73-35=38']
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
3,
57,
50,
78
] | 43 | [
"3*57=171",
"50+78=128",
"171-128=43"
] | Current State: 43:[3, 57, 50, 78], Operations: []
Exploring Operation: 3*57=171, Resulting Numbers: [50, 78, 171]
Generated Node #2: [50, 78, 171] from Operation: 3*57=171
Current State: 43:[50, 78, 171], Operations: ['3*57=171']
Exploring Operation: 50+78=128, Resulting Numbers: [171, 128]
Generated Node #3: [171, 128] from Operation: 50+78=128
Current State: 43:[171, 128], Operations: ['3*57=171', '50+78=128']
Exploring Operation: 171-128=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[3, 57, 50, 78], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [57, 50, 26]
Generated Node #0,0: 43:[57, 50, 26] Operation: 78/3=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[57, 50, 26], Operations: ['78/3=26']
Exploring Operation: 57-26=31, Resulting Numbers: [50, 31]
Generated Node #0,0,0: 43:[50, 31] Operation: 57-26=31
Moving to Node #0,0,0
Current State: 43:[50, 31], Operations: ['78/3=26', '57-26=31']
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,43 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 |
[
8,
82,
38,
49
] | 64 | [
"82+38=120",
"120/8=15",
"49+15=64"
] | Current State: 64:[8, 82, 38, 49], Operations: []
Exploring Operation: 82+38=120, Resulting Numbers: [8, 49, 120]
Generated Node #2: [8, 49, 120] from Operation: 82+38=120
Current State: 64:[8, 49, 120], Operations: ['82+38=120']
Exploring Operation: 120/8=15, Resulting Numbers: [49, 15]
Generated Node #3: [49, 15] from Operation: 120/8=15
Current State: 64:[49, 15], Operations: ['82+38=120', '120/8=15']
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[8, 82, 38, 49], Operations: []
Exploring Operation: 49-38=11, Resulting Numbers: [8, 82, 11]
Generated Node #0,0: 64:[8, 82, 11] Operation: 49-38=11
Exploring Operation: 82-49=33, Resulting Numbers: [8, 38, 33]
Generated Node #0,1: 64:[8, 38, 33] Operation: 82-49=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[8, 38, 33], Operations: ['82-49=33']
Exploring Operation: 38-33=5, Resulting Numbers: [8, 5]
Generated Node #0,1,0: 64:[8, 5] Operation: 38-33=5
Exploring Operation: 38-8=30, Resulting Numbers: [33, 30]
Generated Node #0,1,1: 64:[33, 30] Operation: 38-8=30
Moving to Node #0,1,0
Current State: 64:[8, 5], Operations: ['82-49=33', '38-33=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[33, 30], Operations: ['82-49=33', '38-8=30']
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[8, 82, 11], Operations: ['49-38=11']
Exploring Operation: 82-11=71, Resulting Numbers: [8, 71]
Generated Node #0,0,0: 64:[8, 71] Operation: 82-11=71
Exploring Operation: 82-8=74, Resulting Numbers: [11, 74]
Generated Node #0,0,1: 64:[11, 74] Operation: 82-8=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[8, 71], Operations: ['49-38=11', '82-11=71']
Exploring Operation: 8+71=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[11, 74], Operations: ['49-38=11', '82-8=74']
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,64 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
82,
96,
11,
13
] | 34 | [
"13-11=2",
"96/2=48",
"82-48=34"
] | Current State: 34:[82, 96, 11, 13], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [82, 96, 2]
Generated Node #2: [82, 96, 2] from Operation: 13-11=2
Current State: 34:[82, 96, 2], Operations: ['13-11=2']
Exploring Operation: 96/2=48, Resulting Numbers: [82, 48]
Generated Node #3: [82, 48] from Operation: 96/2=48
Current State: 34:[82, 48], Operations: ['13-11=2', '96/2=48']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[82, 96, 11, 13], Operations: []
Exploring Operation: 82-11=71, Resulting Numbers: [96, 13, 71]
Generated Node #0,0: 34:[96, 13, 71] Operation: 82-11=71
Exploring Operation: 82-13=69, Resulting Numbers: [96, 11, 69]
Generated Node #0,1: 34:[96, 11, 69] Operation: 82-13=69
Exploring Operation: 96-82=14, Resulting Numbers: [11, 13, 14]
Generated Node #0,2: 34:[11, 13, 14] Operation: 96-82=14
Moving to Node #0,2
Current State: 34:[11, 13, 14], Operations: ['96-82=14']
Exploring Operation: 14-13=1, Resulting Numbers: [11, 1]
Generated Node #0,2,0: 34:[11, 1] Operation: 14-13=1
Exploring Operation: 14-11=3, Resulting Numbers: [13, 3]
Generated Node #0,2,1: 34:[13, 3] Operation: 14-11=3
Exploring Operation: 13-11=2, Resulting Numbers: [14, 2]
Generated Node #0,2,2: 34:[14, 2] Operation: 13-11=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[14, 2], Operations: ['96-82=14', '13-11=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[13, 3], Operations: ['96-82=14', '14-11=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[11, 1], Operations: ['96-82=14', '14-13=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 34:[96, 13, 71], Operations: ['82-11=71']
Exploring Operation: 96-13=83, Resulting Numbers: [71, 83]
Generated Node #0,0,0: 34:[71, 83] Operation: 96-13=83
Exploring Operation: 71-13=58, Resulting Numbers: [96, 58]
Generated Node #0,0,1: 34:[96, 58] Operation: 71-13=58
Exploring Operation: 96-71=25, Resulting Numbers: [13, 25]
Generated Node #0,0,2: 34:[13, 25] Operation: 96-71=25
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[13, 25], Operations: ['82-11=71', '96-71=25']
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,34 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[71, 83], Operations: ['82-11=71', '96-13=83']
Exploring Operation: 71+83=154, Resulting Numbers: [154]
154,34 unequal: No Solution
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 71*83=5893, Resulting Numbers: [5893]
5893,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[96, 58], Operations: ['82-11=71', '71-13=58']
Exploring Operation: 96+58=154, Resulting Numbers: [154]
154,34 unequal: No Solution
Exploring Operation: 96*58=5568, Resulting Numbers: [5568]
5568,34 unequal: No Solution
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 34:[96, 11, 69], Operations: ['82-13=69']
Exploring Operation: 69-11=58, Resulting Numbers: [96, 58]
Generated Node #0,1,0: 34:[96, 58] Operation: 69-11=58
Exploring Operation: 96-69=27, Resulting Numbers: [11, 27]
Generated Node #0,1,1: 34:[11, 27] Operation: 96-69=27
Exploring Operation: 96-11=85, Resulting Numbers: [69, 85]
Generated Node #0,1,2: 34:[69, 85] Operation: 96-11=85
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[11, 27], Operations: ['82-13=69', '96-69=27']
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,34 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[96, 58], Operations: ['82-13=69', '69-11=58']
Exploring Operation: 96*58=5568, Resulting Numbers: [5568]
5568,34 unequal: No Solution
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 96+58=154, Resulting Numbers: [154]
154,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[69, 85], Operations: ['82-13=69', '96-11=85']
Exploring Operation: 85-69=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 69*85=5865, Resulting Numbers: [5865]
5865,34 unequal: No Solution
Exploring Operation: 69+85=154, Resulting Numbers: [154]
154,34 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 |
[
42,
31,
58,
92
] | 39 | [
"42+31=73",
"92-58=34",
"73-34=39"
] | Current State: 39:[42, 31, 58, 92], Operations: []
Exploring Operation: 42+31=73, Resulting Numbers: [58, 92, 73]
Generated Node #2: [58, 92, 73] from Operation: 42+31=73
Current State: 39:[58, 92, 73], Operations: ['42+31=73']
Exploring Operation: 92-58=34, Resulting Numbers: [73, 34]
Generated Node #3: [73, 34] from Operation: 92-58=34
Current State: 39:[73, 34], Operations: ['42+31=73', '92-58=34']
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[42, 31, 58, 92], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [42, 31, 34]
Generated Node #0,0: 39:[42, 31, 34] Operation: 92-58=34
Exploring Operation: 92-42=50, Resulting Numbers: [31, 58, 50]
Generated Node #0,1: 39:[31, 58, 50] Operation: 92-42=50
Moving to Node #0,0
Current State: 39:[42, 31, 34], Operations: ['92-58=34']
Exploring Operation: 42-31=11, Resulting Numbers: [34, 11]
Generated Node #0,0,0: 39:[34, 11] Operation: 42-31=11
Exploring Operation: 34-31=3, Resulting Numbers: [42, 3]
Generated Node #0,0,1: 39:[42, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[42, 3], Operations: ['92-58=34', '34-31=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[42, 31, 58, 92], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [42, 31, 34]
Generated Node #0,0: 39:[42, 31, 34] Operation: 92-58=34
Moving to Node #0,0
Current State: 39:[42, 31, 34], Operations: ['92-58=34']
Exploring Operation: 34-31=3, Resulting Numbers: [42, 3]
Generated Node #0,0,1: 39:[42, 3] Operation: 34-31=3
Moving to Node #0,0,1
Current State: 39:[42, 3], Operations: ['92-58=34', '34-31=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
85,
9,
44,
88
] | 67 | [
"9*88=792",
"792/44=18",
"85-18=67"
] | Current State: 67:[85, 9, 44, 88], Operations: []
Exploring Operation: 9*88=792, Resulting Numbers: [85, 44, 792]
Generated Node #2: [85, 44, 792] from Operation: 9*88=792
Current State: 67:[85, 44, 792], Operations: ['9*88=792']
Exploring Operation: 792/44=18, Resulting Numbers: [85, 18]
Generated Node #3: [85, 18] from Operation: 792/44=18
Current State: 67:[85, 18], Operations: ['9*88=792', '792/44=18']
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[85, 9, 44, 88], Operations: []
Exploring Operation: 85+9=94, Resulting Numbers: [44, 88, 94]
Generated Node #0,0: 67:[44, 88, 94] Operation: 85+9=94
Exploring Operation: 85-9=76, Resulting Numbers: [44, 88, 76]
Generated Node #0,1: 67:[44, 88, 76] Operation: 85-9=76
Exploring Operation: 88-9=79, Resulting Numbers: [85, 44, 79]
Generated Node #0,2: 67:[85, 44, 79] Operation: 88-9=79
Exploring Operation: 44-9=35, Resulting Numbers: [85, 88, 35]
Generated Node #0,3: 67:[85, 88, 35] Operation: 44-9=35
Exploring Operation: 9+44=53, Resulting Numbers: [85, 88, 53]
Generated Node #0,4: 67:[85, 88, 53] Operation: 9+44=53
Moving to Node #0,1
Current State: 67:[44, 88, 76], Operations: ['85-9=76']
Exploring Operation: 88-44=44, Resulting Numbers: [76, 44]
Generated Node #0,1,0: 67:[76, 44] Operation: 88-44=44
Exploring Operation: 88/44=2, Resulting Numbers: [76, 2]
Generated Node #0,1,1: 67:[76, 2] Operation: 88/44=2
Exploring Operation: 44+88=132, Resulting Numbers: [76, 132]
Generated Node #0,1,2: 67:[76, 132] Operation: 44+88=132
Exploring Operation: 44+76=120, Resulting Numbers: [88, 120]
Generated Node #0,1,3: 67:[88, 120] Operation: 44+76=120
Exploring Operation: 76-44=32, Resulting Numbers: [88, 32]
Generated Node #0,1,4: 67:[88, 32] Operation: 76-44=32
Moving to Node #0,4
Current State: 67:[85, 88, 53], Operations: ['9+44=53']
Exploring Operation: 88+53=141, Resulting Numbers: [85, 141]
Generated Node #0,4,0: 67:[85, 141] Operation: 88+53=141
Exploring Operation: 85-53=32, Resulting Numbers: [88, 32]
Generated Node #0,4,1: 67:[88, 32] Operation: 85-53=32
Exploring Operation: 88-85=3, Resulting Numbers: [53, 3]
Generated Node #0,4,2: 67:[53, 3] Operation: 88-85=3
Exploring Operation: 88-53=35, Resulting Numbers: [85, 35]
Generated Node #0,4,3: 67:[85, 35] Operation: 88-53=35
Exploring Operation: 85+53=138, Resulting Numbers: [88, 138]
Generated Node #0,4,4: 67:[88, 138] Operation: 85+53=138
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 67:[85, 35], Operations: ['9+44=53', '88-53=35']
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 85*35=2975, Resulting Numbers: [2975]
2975,67 unequal: No Solution
Exploring Operation: 85+35=120, Resulting Numbers: [120]
120,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 67:[88, 32], Operations: ['9+44=53', '85-53=32']
Exploring Operation: 88+32=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 88*32=2816, Resulting Numbers: [2816]
2816,67 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 67:[53, 3], Operations: ['9+44=53', '88-85=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,67 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 67:[85, 141], Operations: ['9+44=53', '88+53=141']
Exploring Operation: 85*141=11985, Resulting Numbers: [11985]
11985,67 unequal: No Solution
Exploring Operation: 85+141=226, Resulting Numbers: [226]
226,67 unequal: No Solution
Exploring Operation: 141-85=56, Resulting Numbers: [56]
56,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 67:[88, 138], Operations: ['9+44=53', '85+53=138']
Exploring Operation: 138-88=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 88*138=12144, Resulting Numbers: [12144]
12144,67 unequal: No Solution
Exploring Operation: 88+138=226, Resulting Numbers: [226]
226,67 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: 67:[85, 44, 79], Operations: ['88-9=79']
Exploring Operation: 85+44=129, Resulting Numbers: [79, 129]
Generated Node #0,2,0: 67:[79, 129] Operation: 85+44=129
Exploring Operation: 85-44=41, Resulting Numbers: [79, 41]
Generated Node #0,2,1: 67:[79, 41] Operation: 85-44=41
Exploring Operation: 44+79=123, Resulting Numbers: [85, 123]
Generated Node #0,2,2: 67:[85, 123] Operation: 44+79=123
Exploring Operation: 85-79=6, Resulting Numbers: [44, 6]
Generated Node #0,2,3: 67:[44, 6] Operation: 85-79=6
Exploring Operation: 79-44=35, Resulting Numbers: [85, 35]
Generated Node #0,2,4: 67:[85, 35] Operation: 79-44=35
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[79, 41], Operations: ['88-9=79', '85-44=41']
Exploring Operation: 79+41=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 79*41=3239, Resulting Numbers: [3239]
3239,67 unequal: No Solution
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 67:[85, 35], Operations: ['88-9=79', '79-44=35']
Exploring Operation: 85+35=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 85*35=2975, Resulting Numbers: [2975]
2975,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[79, 129], Operations: ['88-9=79', '85+44=129']
Exploring Operation: 79+129=208, Resulting Numbers: [208]
208,67 unequal: No Solution
Exploring Operation: 129-79=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 79*129=10191, Resulting Numbers: [10191]
10191,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[85, 123], Operations: ['88-9=79', '44+79=123']
Exploring Operation: 85+123=208, Resulting Numbers: [208]
208,67 unequal: No Solution
Exploring Operation: 123-85=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 85*123=10455, Resulting Numbers: [10455]
10455,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[44, 6], Operations: ['88-9=79', '85-79=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,67 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: 67:[44, 88, 94], Operations: ['85+9=94']
Exploring Operation: 88/44=2, Resulting Numbers: [94, 2]
Generated Node #0,0,0: 67:[94, 2] Operation: 88/44=2
Exploring Operation: 44+88=132, Resulting Numbers: [94, 132]
Generated Node #0,0,1: 67:[94, 132] Operation: 44+88=132
Exploring Operation: 94-44=50, Resulting Numbers: [88, 50]
Generated Node #0,0,2: 67:[88, 50] Operation: 94-44=50
Exploring Operation: 94-88=6, Resulting Numbers: [44, 6]
Generated Node #0,0,3: 67:[44, 6] Operation: 94-88=6
Exploring Operation: 88-44=44, Resulting Numbers: [94, 44]
Generated Node #0,0,4: 67:[94, 44] Operation: 88-44=44
Moving to Node #0,3
Current State: 67:[85, 88, 35], Operations: ['44-9=35']
Exploring Operation: 88-85=3, Resulting Numbers: [35, 3]
Generated Node #0,3,0: 67:[35, 3] Operation: 88-85=3
Exploring Operation: 85-35=50, Resulting Numbers: [88, 50]
Generated Node #0,3,1: 67:[88, 50] Operation: 85-35=50
Exploring Operation: 88+35=123, Resulting Numbers: [85, 123]
Generated Node #0,3,2: 67:[85, 123] Operation: 88+35=123
Exploring Operation: 88-35=53, Resulting Numbers: [85, 53]
Generated Node #0,3,3: 67:[85, 53] Operation: 88-35=53
Exploring Operation: 85+35=120, Resulting Numbers: [88, 120]
Generated Node #0,3,4: 67:[88, 120] Operation: 85+35=120
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[85, 53], Operations: ['44-9=35', '88-35=53']
Exploring Operation: 85*53=4505, Resulting Numbers: [4505]
4505,67 unequal: No Solution
Exploring Operation: 85-53=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 85+53=138, Resulting Numbers: [138]
138,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,3,1
Current State: 67:[88, 50], Operations: ['44-9=35', '85-35=50']
Exploring Operation: 88*50=4400, Resulting Numbers: [4400]
4400,67 unequal: No Solution
Exploring Operation: 88+50=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,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,3,2
Current State: 67:[85, 123], Operations: ['44-9=35', '88+35=123']
Exploring Operation: 85+123=208, Resulting Numbers: [208]
208,67 unequal: No Solution
Exploring Operation: 123-85=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 85*123=10455, Resulting Numbers: [10455]
10455,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,3,4
Current State: 67:[88, 120], Operations: ['44-9=35', '85+35=120']
Exploring Operation: 120-88=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 88*120=10560, Resulting Numbers: [10560]
10560,67 unequal: No Solution
Exploring Operation: 88+120=208, Resulting Numbers: [208]
208,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,3,0
Current State: 67:[35, 3], Operations: ['44-9=35', '88-85=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,67 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,67 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: 67:[76, 44], Operations: ['85-9=76', '88-44=44']
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 76*44=3344, Resulting Numbers: [3344]
3344,67 unequal: No Solution
Exploring Operation: 76+44=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[88, 50], Operations: ['85+9=94', '94-44=50']
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 88+50=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 88*50=4400, Resulting Numbers: [4400]
4400,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[94, 44], Operations: ['85+9=94', '88-44=44']
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 94*44=4136, Resulting Numbers: [4136]
4136,67 unequal: No Solution
Exploring Operation: 94+44=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[88, 32], Operations: ['85-9=76', '76-44=32']
Exploring Operation: 88*32=2816, Resulting Numbers: [2816]
2816,67 unequal: No Solution
Exploring Operation: 88+32=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[76, 2], Operations: ['85-9=76', '88/44=2']
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[88, 120], Operations: ['85-9=76', '44+76=120']
Exploring Operation: 88+120=208, Resulting Numbers: [208]
208,67 unequal: No Solution
Exploring Operation: 88*120=10560, Resulting Numbers: [10560]
10560,67 unequal: No Solution
Exploring Operation: 120-88=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[76, 132], Operations: ['85-9=76', '44+88=132']
Exploring Operation: 132-76=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 76+132=208, Resulting Numbers: [208]
208,67 unequal: No Solution
Exploring Operation: 76*132=10032, Resulting Numbers: [10032]
10032,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[44, 6], Operations: ['85+9=94', '94-88=6']
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,67 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[94, 132], Operations: ['85+9=94', '44+88=132']
Exploring Operation: 94+132=226, Resulting Numbers: [226]
226,67 unequal: No Solution
Exploring Operation: 94*132=12408, Resulting Numbers: [12408]
12408,67 unequal: No Solution
Exploring Operation: 132-94=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[94, 2], Operations: ['85+9=94', '88/44=2']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,67 unequal: No Solution
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,67 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
31,
24,
27,
5
] | 25 | [
"31-24=7",
"27+5=32",
"32-7=25"
] | Current State: 25:[31, 24, 27, 5], Operations: []
Exploring Operation: 31-24=7, Resulting Numbers: [27, 5, 7]
Generated Node #2: [27, 5, 7] from Operation: 31-24=7
Current State: 25:[27, 5, 7], Operations: ['31-24=7']
Exploring Operation: 27+5=32, Resulting Numbers: [7, 32]
Generated Node #3: [7, 32] from Operation: 27+5=32
Current State: 25:[7, 32], Operations: ['31-24=7', '27+5=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[31, 24, 27, 5], Operations: []
Exploring Operation: 31-27=4, Resulting Numbers: [24, 5, 4]
Generated Node #0,0: 25:[24, 5, 4] Operation: 31-27=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[24, 5, 4], Operations: ['31-27=4']
Exploring Operation: 24/4=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 25:[5, 6] Operation: 24/4=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[5, 6], Operations: ['31-27=4', '24/4=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
30,
92,
98,
52
] | 15 | [
"98-52=46",
"30*46=1380",
"1380/92=15"
] | Current State: 15:[30, 92, 98, 52], Operations: []
Exploring Operation: 98-52=46, Resulting Numbers: [30, 92, 46]
Generated Node #2: [30, 92, 46] from Operation: 98-52=46
Current State: 15:[30, 92, 46], Operations: ['98-52=46']
Exploring Operation: 30*46=1380, Resulting Numbers: [92, 1380]
Generated Node #3: [92, 1380] from Operation: 30*46=1380
Current State: 15:[92, 1380], Operations: ['98-52=46', '30*46=1380']
Exploring Operation: 1380/92=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[30, 92, 98, 52], Operations: []
Exploring Operation: 92-30=62, Resulting Numbers: [98, 52, 62]
Generated Node #0,0: 15:[98, 52, 62] Operation: 92-30=62
Exploring Operation: 98-52=46, Resulting Numbers: [30, 92, 46]
Generated Node #0,1: 15:[30, 92, 46] Operation: 98-52=46
Exploring Operation: 98-92=6, Resulting Numbers: [30, 52, 6]
Generated Node #0,2: 15:[30, 52, 6] Operation: 98-92=6
Exploring Operation: 92-52=40, Resulting Numbers: [30, 98, 40]
Generated Node #0,3: 15:[30, 98, 40] Operation: 92-52=40
Moving to Node #0,2
Current State: 15:[30, 52, 6], Operations: ['98-92=6']
Exploring Operation: 30/6=5, Resulting Numbers: [52, 5]
Generated Node #0,2,0: 15:[52, 5] Operation: 30/6=5
Exploring Operation: 52-30=22, Resulting Numbers: [6, 22]
Generated Node #0,2,1: 15:[6, 22] Operation: 52-30=22
Exploring Operation: 30-6=24, Resulting Numbers: [52, 24]
Generated Node #0,2,2: 15:[52, 24] Operation: 30-6=24
Exploring Operation: 52-6=46, Resulting Numbers: [30, 46]
Generated Node #0,2,3: 15:[30, 46] Operation: 52-6=46
Moving to Node #0,3
Current State: 15:[30, 98, 40], Operations: ['92-52=40']
Exploring Operation: 98-30=68, Resulting Numbers: [40, 68]
Generated Node #0,3,0: 15:[40, 68] Operation: 98-30=68
Exploring Operation: 98-40=58, Resulting Numbers: [30, 58]
Generated Node #0,3,1: 15:[30, 58] Operation: 98-40=58
Exploring Operation: 40-30=10, Resulting Numbers: [98, 10]
Generated Node #0,3,2: 15:[98, 10] Operation: 40-30=10
Exploring Operation: 30+98=128, Resulting Numbers: [40, 128]
Generated Node #0,3,3: 15:[40, 128] Operation: 30+98=128
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 15:[30, 58], Operations: ['92-52=40', '98-40=58']
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 30+58=88, Resulting Numbers: [88]
88,15 unequal: No Solution
Exploring Operation: 30*58=1740, Resulting Numbers: [1740]
1740,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 15:[40, 68], Operations: ['92-52=40', '98-30=68']
Exploring Operation: 40+68=108, Resulting Numbers: [108]
108,15 unequal: No Solution
Exploring Operation: 40*68=2720, Resulting Numbers: [2720]
2720,15 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 15:[98, 10], Operations: ['92-52=40', '40-30=10']
Exploring Operation: 98-10=88, Resulting Numbers: [88]
88,15 unequal: No Solution
Exploring Operation: 98*10=980, Resulting Numbers: [980]
980,15 unequal: No Solution
Exploring Operation: 98+10=108, Resulting Numbers: [108]
108,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 15:[40, 128], Operations: ['92-52=40', '30+98=128']
Exploring Operation: 40*128=5120, Resulting Numbers: [5120]
5120,15 unequal: No Solution
Exploring Operation: 128-40=88, Resulting Numbers: [88]
88,15 unequal: No Solution
Exploring Operation: 40+128=168, Resulting Numbers: [168]
168,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 15:[30, 92, 46], Operations: ['98-52=46']
Exploring Operation: 92-46=46, Resulting Numbers: [30, 46]
Generated Node #0,1,0: 15:[30, 46] Operation: 92-46=46
Exploring Operation: 92-30=62, Resulting Numbers: [46, 62]
Generated Node #0,1,1: 15:[46, 62] Operation: 92-30=62
Exploring Operation: 46-30=16, Resulting Numbers: [92, 16]
Generated Node #0,1,2: 15:[92, 16] Operation: 46-30=16
Exploring Operation: 92/46=2, Resulting Numbers: [30, 2]
Generated Node #0,1,3: 15:[30, 2] Operation: 92/46=2
Moving to Node #0,0
Current State: 15:[98, 52, 62], Operations: ['92-30=62']
Exploring Operation: 98+52=150, Resulting Numbers: [62, 150]
Generated Node #0,0,0: 15:[62, 150] Operation: 98+52=150
Exploring Operation: 62-52=10, Resulting Numbers: [98, 10]
Generated Node #0,0,1: 15:[98, 10] Operation: 62-52=10
Exploring Operation: 98-52=46, Resulting Numbers: [62, 46]
Generated Node #0,0,2: 15:[62, 46] Operation: 98-52=46
Exploring Operation: 98-62=36, Resulting Numbers: [52, 36]
Generated Node #0,0,3: 15:[52, 36] Operation: 98-62=36
Moving to Node #0,2,1
Current State: 15:[6, 22], Operations: ['98-92=6', '52-30=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[30, 2], Operations: ['98-52=46', '92/46=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[30, 92, 98, 52], Operations: []
Exploring Operation: 98-52=46, Resulting Numbers: [30, 92, 46]
Generated Node #0,1: 15:[30, 92, 46] Operation: 98-52=46
Moving to Node #0,1
Current State: 15:[30, 92, 46], Operations: ['98-52=46']
Exploring Operation: 92/46=2, Resulting Numbers: [30, 2]
Generated Node #0,1,3: 15:[30, 2] Operation: 92/46=2
Moving to Node #0,1,3
Current State: 15:[30, 2], Operations: ['98-52=46', '92/46=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.962674 | hs_4 | sum_heuristic |
[
5,
69,
78,
81
] | 61 | [
"69-5=64",
"81-78=3",
"64-3=61"
] | Current State: 61:[5, 69, 78, 81], Operations: []
Exploring Operation: 69-5=64, Resulting Numbers: [78, 81, 64]
Generated Node #2: [78, 81, 64] from Operation: 69-5=64
Current State: 61:[78, 81, 64], Operations: ['69-5=64']
Exploring Operation: 81-78=3, Resulting Numbers: [64, 3]
Generated Node #3: [64, 3] from Operation: 81-78=3
Current State: 61:[64, 3], Operations: ['69-5=64', '81-78=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[5, 69, 78, 81], Operations: []
Exploring Operation: 69-5=64, Resulting Numbers: [78, 81, 64]
Generated Node #0,0: 61:[78, 81, 64] Operation: 69-5=64
Moving to Node #0,0
Current State: 61:[78, 81, 64], Operations: ['69-5=64']
Exploring Operation: 81-78=3, Resulting Numbers: [64, 3]
Generated Node #0,0,0: 61:[64, 3] Operation: 81-78=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[64, 3], Operations: ['69-5=64', '81-78=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[5, 69, 78, 81], Operations: []
Exploring Operation: 69-5=64, Resulting Numbers: [78, 81, 64]
Generated Node #0,0: 61:[78, 81, 64] Operation: 69-5=64
Moving to Node #0,0
Current State: 61:[78, 81, 64], Operations: ['69-5=64']
Exploring Operation: 81-78=3, Resulting Numbers: [64, 3]
Generated Node #0,0,0: 61:[64, 3] Operation: 81-78=3
Moving to Node #0,0,0
Current State: 61:[64, 3], Operations: ['69-5=64', '81-78=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
60,
80,
5,
5
] | 33 | [
"60+80=140",
"140/5=28",
"5+28=33"
] | Current State: 33:[60, 80, 5, 5], Operations: []
Exploring Operation: 60+80=140, Resulting Numbers: [5, 5, 140]
Generated Node #2: [5, 5, 140] from Operation: 60+80=140
Current State: 33:[5, 5, 140], Operations: ['60+80=140']
Exploring Operation: 140/5=28, Resulting Numbers: [28]
28,33 equal: Goal Reached
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[60, 80, 5, 5], Operations: []
Exploring Operation: 80-60=20, Resulting Numbers: [5, 5, 20]
Generated Node #0,0: 33:[5, 5, 20] Operation: 80-60=20
Moving to Node #0,0
Current State: 33:[5, 5, 20], Operations: ['80-60=20']
Exploring Operation: 20/5=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 33:[5, 4] Operation: 20/5=4
Moving to Node #0,0,0
Current State: 33:[5, 4], Operations: ['80-60=20', '20/5=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,33 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
49,
25,
62,
49
] | 88 | [
"49/49=1",
"25+62=87",
"1+87=88"
] | Current State: 88:[49, 25, 62, 49], Operations: []
Exploring Operation: 49/49=1, Resulting Numbers: [25, 62, 1]
Generated Node #2: [25, 62, 1] from Operation: 49/49=1
Current State: 88:[25, 62, 1], Operations: ['49/49=1']
Exploring Operation: 25+62=87, Resulting Numbers: [1, 87]
Generated Node #3: [1, 87] from Operation: 25+62=87
Current State: 88:[1, 87], Operations: ['49/49=1', '25+62=87']
Exploring Operation: 1+87=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[49, 25, 62, 49], Operations: []
Exploring Operation: 62-49=13, Resulting Numbers: [25, 49, 13]
Generated Node #0,0: 88:[25, 49, 13] Operation: 62-49=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[25, 49, 13], Operations: ['62-49=13']
Exploring Operation: 49-25=24, Resulting Numbers: [13, 24]
Generated Node #0,0,0: 88:[13, 24] Operation: 49-25=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[13, 24], Operations: ['62-49=13', '49-25=24']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
95,
90,
18
] | 19 | [
"95-4=91",
"90-18=72",
"91-72=19"
] | Current State: 19:[4, 95, 90, 18], Operations: []
Exploring Operation: 95-4=91, Resulting Numbers: [90, 18, 91]
Generated Node #2: [90, 18, 91] from Operation: 95-4=91
Current State: 19:[90, 18, 91], Operations: ['95-4=91']
Exploring Operation: 90-18=72, Resulting Numbers: [91, 72]
Generated Node #3: [91, 72] from Operation: 90-18=72
Current State: 19:[91, 72], Operations: ['95-4=91', '90-18=72']
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[4, 95, 90, 18], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [4, 18, 5]
Generated Node #0,0: 19:[4, 18, 5] Operation: 95-90=5
Exploring Operation: 90/18=5, Resulting Numbers: [4, 95, 5]
Generated Node #0,1: 19:[4, 95, 5] Operation: 90/18=5
Exploring Operation: 95-18=77, Resulting Numbers: [4, 90, 77]
Generated Node #0,2: 19:[4, 90, 77] Operation: 95-18=77
Exploring Operation: 90-4=86, Resulting Numbers: [95, 18, 86]
Generated Node #0,3: 19:[95, 18, 86] Operation: 90-4=86
Exploring Operation: 95-4=91, Resulting Numbers: [90, 18, 91]
Generated Node #0,4: 19:[90, 18, 91] Operation: 95-4=91
Moving to Node #0,0
Current State: 19:[4, 18, 5], Operations: ['95-90=5']
Exploring Operation: 4+5=9, Resulting Numbers: [18, 9]
Generated Node #0,0,0: 19:[18, 9] Operation: 4+5=9
Exploring Operation: 5-4=1, Resulting Numbers: [18, 1]
Generated Node #0,0,1: 19:[18, 1] Operation: 5-4=1
Exploring Operation: 4+18=22, Resulting Numbers: [5, 22]
Generated Node #0,0,2: 19:[5, 22] Operation: 4+18=22
Exploring Operation: 18-4=14, Resulting Numbers: [5, 14]
Generated Node #0,0,3: 19:[5, 14] Operation: 18-4=14
Exploring Operation: 4*5=20, Resulting Numbers: [18, 20]
Generated Node #0,0,4: 19:[18, 20] Operation: 4*5=20
Moving to Node #0,1
Current State: 19:[4, 95, 5], Operations: ['90/18=5']
Exploring Operation: 95-5=90, Resulting Numbers: [4, 90]
Generated Node #0,1,0: 19:[4, 90] Operation: 95-5=90
Exploring Operation: 95/5=19, Resulting Numbers: [4, 19]
Generated Node #0,1,1: 19:[4, 19] Operation: 95/5=19
Exploring Operation: 4*5=20, Resulting Numbers: [95, 20]
Generated Node #0,1,2: 19:[95, 20] Operation: 4*5=20
Exploring Operation: 4+5=9, Resulting Numbers: [95, 9]
Generated Node #0,1,3: 19:[95, 9] Operation: 4+5=9
Exploring Operation: 95-4=91, Resulting Numbers: [5, 91]
Generated Node #0,1,4: 19:[5, 91] Operation: 95-4=91
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[4, 19], Operations: ['90/18=5', '95/5=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[95, 20], Operations: ['90/18=5', '4*5=20']
Exploring Operation: 95*20=1900, Resulting Numbers: [1900]
1900,19 unequal: No Solution
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,19 unequal: No Solution
Exploring Operation: 95+20=115, Resulting Numbers: [115]
115,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,1,0
Current State: 19:[4, 90], Operations: ['90/18=5', '95-5=90']
Exploring Operation: 4*90=360, Resulting Numbers: [360]
360,19 unequal: No Solution
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,19 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,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,1,3
Current State: 19:[95, 9], Operations: ['90/18=5', '4+5=9']
Exploring Operation: 95*9=855, Resulting Numbers: [855]
855,19 unequal: No Solution
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,19 unequal: No Solution
Exploring Operation: 95+9=104, Resulting Numbers: [104]
104,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,1,4
Current State: 19:[5, 91], Operations: ['90/18=5', '95-4=91']
Exploring Operation: 5+91=96, Resulting Numbers: [96]
96,19 unequal: No Solution
Exploring Operation: 5*91=455, Resulting Numbers: [455]
455,19 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,19 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: 19:[4, 90, 77], Operations: ['95-18=77']
Exploring Operation: 4+90=94, Resulting Numbers: [77, 94]
Generated Node #0,2,0: 19:[77, 94] Operation: 4+90=94
Exploring Operation: 90-77=13, Resulting Numbers: [4, 13]
Generated Node #0,2,1: 19:[4, 13] Operation: 90-77=13
Exploring Operation: 90-4=86, Resulting Numbers: [77, 86]
Generated Node #0,2,2: 19:[77, 86] Operation: 90-4=86
Exploring Operation: 4+77=81, Resulting Numbers: [90, 81]
Generated Node #0,2,3: 19:[90, 81] Operation: 4+77=81
Exploring Operation: 77-4=73, Resulting Numbers: [90, 73]
Generated Node #0,2,4: 19:[90, 73] Operation: 77-4=73
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[4, 13], Operations: ['95-18=77', '90-77=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[77, 86], Operations: ['95-18=77', '90-4=86']
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 77*86=6622, Resulting Numbers: [6622]
6622,19 unequal: No Solution
Exploring Operation: 77+86=163, Resulting Numbers: [163]
163,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 19:[90, 73], Operations: ['95-18=77', '77-4=73']
Exploring Operation: 90-73=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 90*73=6570, Resulting Numbers: [6570]
6570,19 unequal: No Solution
Exploring Operation: 90+73=163, Resulting Numbers: [163]
163,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[77, 94], Operations: ['95-18=77', '4+90=94']
Exploring Operation: 77+94=171, Resulting Numbers: [171]
171,19 unequal: No Solution
Exploring Operation: 77*94=7238, Resulting Numbers: [7238]
7238,19 unequal: No Solution
Exploring Operation: 94-77=17, Resulting Numbers: [17]
17,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 19:[90, 81], Operations: ['95-18=77', '4+77=81']
Exploring Operation: 90*81=7290, Resulting Numbers: [7290]
7290,19 unequal: No Solution
Exploring Operation: 90+81=171, Resulting Numbers: [171]
171,19 unequal: No Solution
Exploring Operation: 90-81=9, Resulting Numbers: [9]
9,19 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: 19:[95, 18, 86], Operations: ['90-4=86']
Exploring Operation: 18+86=104, Resulting Numbers: [95, 104]
Generated Node #0,3,0: 19:[95, 104] Operation: 18+86=104
Exploring Operation: 95+18=113, Resulting Numbers: [86, 113]
Generated Node #0,3,1: 19:[86, 113] Operation: 95+18=113
Exploring Operation: 95-18=77, Resulting Numbers: [86, 77]
Generated Node #0,3,2: 19:[86, 77] Operation: 95-18=77
Exploring Operation: 95-86=9, Resulting Numbers: [18, 9]
Generated Node #0,3,3: 19:[18, 9] Operation: 95-86=9
Exploring Operation: 86-18=68, Resulting Numbers: [95, 68]
Generated Node #0,3,4: 19:[95, 68] Operation: 86-18=68
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 19:[18, 9], Operations: ['90-4=86', '95-86=9']
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,19 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 19:[86, 77], Operations: ['90-4=86', '95-18=77']
Exploring Operation: 86*77=6622, Resulting Numbers: [6622]
6622,19 unequal: No Solution
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 86+77=163, Resulting Numbers: [163]
163,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 19:[95, 68], Operations: ['90-4=86', '86-18=68']
Exploring Operation: 95-68=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 95+68=163, Resulting Numbers: [163]
163,19 unequal: No Solution
Exploring Operation: 95*68=6460, Resulting Numbers: [6460]
6460,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[95, 104], Operations: ['90-4=86', '18+86=104']
Exploring Operation: 95*104=9880, Resulting Numbers: [9880]
9880,19 unequal: No Solution
Exploring Operation: 104-95=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 95+104=199, Resulting Numbers: [199]
199,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[86, 113], Operations: ['90-4=86', '95+18=113']
Exploring Operation: 86*113=9718, Resulting Numbers: [9718]
9718,19 unequal: No Solution
Exploring Operation: 86+113=199, Resulting Numbers: [199]
199,19 unequal: No Solution
Exploring Operation: 113-86=27, Resulting Numbers: [27]
27,19 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: 19:[90, 18, 91], Operations: ['95-4=91']
Exploring Operation: 91-90=1, Resulting Numbers: [18, 1]
Generated Node #0,4,0: 19:[18, 1] Operation: 91-90=1
Exploring Operation: 90-18=72, Resulting Numbers: [91, 72]
Generated Node #0,4,1: 19:[91, 72] Operation: 90-18=72
Exploring Operation: 90/18=5, Resulting Numbers: [91, 5]
Generated Node #0,4,2: 19:[91, 5] Operation: 90/18=5
Exploring Operation: 90+18=108, Resulting Numbers: [91, 108]
Generated Node #0,4,3: 19:[91, 108] Operation: 90+18=108
Exploring Operation: 91-18=73, Resulting Numbers: [90, 73]
Generated Node #0,4,4: 19:[90, 73] Operation: 91-18=73
Moving to Node #0,0,4
Current State: 19:[18, 20], Operations: ['95-90=5', '4*5=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[18, 9], Operations: ['95-90=5', '4+5=9']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[5, 22], Operations: ['95-90=5', '4+18=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[18, 1], Operations: ['95-4=91', '91-90=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[4, 95, 90, 18], Operations: []
Exploring Operation: 95-4=91, Resulting Numbers: [90, 18, 91]
Generated Node #0,4: 19:[90, 18, 91] Operation: 95-4=91
Moving to Node #0,4
Current State: 19:[90, 18, 91], Operations: ['95-4=91']
Exploring Operation: 91-90=1, Resulting Numbers: [18, 1]
Generated Node #0,4,0: 19:[18, 1] Operation: 91-90=1
Moving to Node #0,4,0
Current State: 19:[18, 1], Operations: ['95-4=91', '91-90=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.918403 | hs_5 | sum_heuristic |
[
79,
67,
2,
21
] | 38 | [
"79-21=58",
"58/2=29",
"67-29=38"
] | Current State: 38:[79, 67, 2, 21], Operations: []
Exploring Operation: 79-21=58, Resulting Numbers: [67, 2, 58]
Generated Node #2: [67, 2, 58] from Operation: 79-21=58
Current State: 38:[67, 2, 58], Operations: ['79-21=58']
Exploring Operation: 58/2=29, Resulting Numbers: [67, 29]
Generated Node #3: [67, 29] from Operation: 58/2=29
Current State: 38:[67, 29], Operations: ['79-21=58', '58/2=29']
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[79, 67, 2, 21], Operations: []
Exploring Operation: 79-67=12, Resulting Numbers: [2, 21, 12]
Generated Node #0,0: 38:[2, 21, 12] Operation: 79-67=12
Exploring Operation: 79-21=58, Resulting Numbers: [67, 2, 58]
Generated Node #0,1: 38:[67, 2, 58] Operation: 79-21=58
Moving to Node #0,0
Current State: 38:[2, 21, 12], Operations: ['79-67=12']
Exploring Operation: 12/2=6, Resulting Numbers: [21, 6]
Generated Node #0,0,0: 38:[21, 6] Operation: 12/2=6
Exploring Operation: 21+12=33, Resulting Numbers: [2, 33]
Generated Node #0,0,1: 38:[2, 33] Operation: 21+12=33
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[2, 33], Operations: ['79-67=12', '21+12=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,38 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[21, 6], Operations: ['79-67=12', '12/2=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,38 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: 38:[67, 2, 58], Operations: ['79-21=58']
Exploring Operation: 58/2=29, Resulting Numbers: [67, 29]
Generated Node #0,1,0: 38:[67, 29] Operation: 58/2=29
Exploring Operation: 67-58=9, Resulting Numbers: [2, 9]
Generated Node #0,1,1: 38:[2, 9] Operation: 67-58=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[2, 9], Operations: ['79-21=58', '67-58=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[67, 29], Operations: ['79-21=58', '58/2=29']
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[79, 67, 2, 21], Operations: []
Exploring Operation: 79-21=58, Resulting Numbers: [67, 2, 58]
Generated Node #0,1: 38:[67, 2, 58] Operation: 79-21=58
Moving to Node #0,1
Current State: 38:[67, 2, 58], Operations: ['79-21=58']
Exploring Operation: 58/2=29, Resulting Numbers: [67, 29]
Generated Node #0,1,0: 38:[67, 29] Operation: 58/2=29
Moving to Node #0,1,0
Current State: 38:[67, 29], Operations: ['79-21=58', '58/2=29']
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
70,
25,
51,
66
] | 60 | [
"70-25=45",
"66-51=15",
"45+15=60"
] | Current State: 60:[70, 25, 51, 66], Operations: []
Exploring Operation: 70-25=45, Resulting Numbers: [51, 66, 45]
Generated Node #2: [51, 66, 45] from Operation: 70-25=45
Current State: 60:[51, 66, 45], Operations: ['70-25=45']
Exploring Operation: 66-51=15, Resulting Numbers: [45, 15]
Generated Node #3: [45, 15] from Operation: 66-51=15
Current State: 60:[45, 15], Operations: ['70-25=45', '66-51=15']
Exploring Operation: 45+15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[70, 25, 51, 66], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [25, 51, 4]
Generated Node #0,0: 60:[25, 51, 4] Operation: 70-66=4
Exploring Operation: 70-51=19, Resulting Numbers: [25, 66, 19]
Generated Node #0,1: 60:[25, 66, 19] Operation: 70-51=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[25, 66, 19], Operations: ['70-51=19']
Exploring Operation: 66-25=41, Resulting Numbers: [19, 41]
Generated Node #0,1,0: 60:[19, 41] Operation: 66-25=41
Exploring Operation: 25-19=6, Resulting Numbers: [66, 6]
Generated Node #0,1,1: 60:[66, 6] Operation: 25-19=6
Moving to Node #0,1,1
Current State: 60:[66, 6], Operations: ['70-51=19', '25-19=6']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[70, 25, 51, 66], Operations: []
Exploring Operation: 70-51=19, Resulting Numbers: [25, 66, 19]
Generated Node #0,1: 60:[25, 66, 19] Operation: 70-51=19
Moving to Node #0,1
Current State: 60:[25, 66, 19], Operations: ['70-51=19']
Exploring Operation: 25-19=6, Resulting Numbers: [66, 6]
Generated Node #0,1,1: 60:[66, 6] Operation: 25-19=6
Moving to Node #0,1,1
Current State: 60:[66, 6], Operations: ['70-51=19', '25-19=6']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
57,
24,
90,
73
] | 71 | [
"24+90=114",
"114/57=2",
"73-2=71"
] | Current State: 71:[57, 24, 90, 73], Operations: []
Exploring Operation: 24+90=114, Resulting Numbers: [57, 73, 114]
Generated Node #2: [57, 73, 114] from Operation: 24+90=114
Current State: 71:[57, 73, 114], Operations: ['24+90=114']
Exploring Operation: 114/57=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 114/57=2
Current State: 71:[73, 2], Operations: ['24+90=114', '114/57=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[57, 24, 90, 73], Operations: []
Exploring Operation: 73-24=49, Resulting Numbers: [57, 90, 49]
Generated Node #0,0: 71:[57, 90, 49] Operation: 73-24=49
Exploring Operation: 90-24=66, Resulting Numbers: [57, 73, 66]
Generated Node #0,1: 71:[57, 73, 66] Operation: 90-24=66
Exploring Operation: 57-24=33, Resulting Numbers: [90, 73, 33]
Generated Node #0,2: 71:[90, 73, 33] Operation: 57-24=33
Exploring Operation: 57+24=81, Resulting Numbers: [90, 73, 81]
Generated Node #0,3: 71:[90, 73, 81] Operation: 57+24=81
Exploring Operation: 24+90=114, Resulting Numbers: [57, 73, 114]
Generated Node #0,4: 71:[57, 73, 114] Operation: 24+90=114
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[57, 73, 66], Operations: ['90-24=66']
Exploring Operation: 57+73=130, Resulting Numbers: [66, 130]
Generated Node #0,1,0: 71:[66, 130] Operation: 57+73=130
Exploring Operation: 73-66=7, Resulting Numbers: [57, 7]
Generated Node #0,1,1: 71:[57, 7] Operation: 73-66=7
Exploring Operation: 57+66=123, Resulting Numbers: [73, 123]
Generated Node #0,1,2: 71:[73, 123] Operation: 57+66=123
Exploring Operation: 73-57=16, Resulting Numbers: [66, 16]
Generated Node #0,1,3: 71:[66, 16] Operation: 73-57=16
Exploring Operation: 66-57=9, Resulting Numbers: [73, 9]
Generated Node #0,1,4: 71:[73, 9] Operation: 66-57=9
Moving to Node #0,1,2
Current State: 71:[73, 123], Operations: ['90-24=66', '57+66=123']
Exploring Operation: 73+123=196, Resulting Numbers: [196]
196,71 unequal: No Solution
Exploring Operation: 73*123=8979, Resulting Numbers: [8979]
8979,71 unequal: No Solution
Exploring Operation: 123-73=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[66, 16], Operations: ['90-24=66', '73-57=16']
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,71 unequal: No Solution
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[66, 130], Operations: ['90-24=66', '57+73=130']
Exploring Operation: 66*130=8580, Resulting Numbers: [8580]
8580,71 unequal: No Solution
Exploring Operation: 66+130=196, Resulting Numbers: [196]
196,71 unequal: No Solution
Exploring Operation: 130-66=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[73, 9], Operations: ['90-24=66', '66-57=9']
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[57, 7], Operations: ['90-24=66', '73-66=7']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 57*7=399, Resulting Numbers: [399]
399,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[90, 73, 81], Operations: ['57+24=81']
Exploring Operation: 90-81=9, Resulting Numbers: [73, 9]
Generated Node #0,3,0: 71:[73, 9] Operation: 90-81=9
Exploring Operation: 81-73=8, Resulting Numbers: [90, 8]
Generated Node #0,3,1: 71:[90, 8] Operation: 81-73=8
Exploring Operation: 90+73=163, Resulting Numbers: [81, 163]
Generated Node #0,3,2: 71:[81, 163] Operation: 90+73=163
Exploring Operation: 90-73=17, Resulting Numbers: [81, 17]
Generated Node #0,3,3: 71:[81, 17] Operation: 90-73=17
Exploring Operation: 90+81=171, Resulting Numbers: [73, 171]
Generated Node #0,3,4: 71:[73, 171] Operation: 90+81=171
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 71:[73, 9], Operations: ['57+24=81', '90-81=9']
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 71:[81, 17], Operations: ['57+24=81', '90-73=17']
Exploring Operation: 81*17=1377, Resulting Numbers: [1377]
1377,71 unequal: No Solution
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 81+17=98, Resulting Numbers: [98]
98,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 71:[90, 8], Operations: ['57+24=81', '81-73=8']
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,71 unequal: No Solution
Exploring Operation: 90*8=720, Resulting Numbers: [720]
720,71 unequal: No Solution
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 71:[81, 163], Operations: ['57+24=81', '90+73=163']
Exploring Operation: 81+163=244, Resulting Numbers: [244]
244,71 unequal: No Solution
Exploring Operation: 163-81=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 81*163=13203, Resulting Numbers: [13203]
13203,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 71:[73, 171], Operations: ['57+24=81', '90+81=171']
Exploring Operation: 171-73=98, Resulting Numbers: [98]
98,71 unequal: No Solution
Exploring Operation: 73+171=244, Resulting Numbers: [244]
244,71 unequal: No Solution
Exploring Operation: 73*171=12483, Resulting Numbers: [12483]
12483,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[57, 90, 49], Operations: ['73-24=49']
Exploring Operation: 90-49=41, Resulting Numbers: [57, 41]
Generated Node #0,0,0: 71:[57, 41] Operation: 90-49=41
Exploring Operation: 57-49=8, Resulting Numbers: [90, 8]
Generated Node #0,0,1: 71:[90, 8] Operation: 57-49=8
Exploring Operation: 90+49=139, Resulting Numbers: [57, 139]
Generated Node #0,0,2: 71:[57, 139] Operation: 90+49=139
Exploring Operation: 90-57=33, Resulting Numbers: [49, 33]
Generated Node #0,0,3: 71:[49, 33] Operation: 90-57=33
Exploring Operation: 57+49=106, Resulting Numbers: [90, 106]
Generated Node #0,0,4: 71:[90, 106] Operation: 57+49=106
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[57, 41], Operations: ['73-24=49', '90-49=41']
Exploring Operation: 57*41=2337, Resulting Numbers: [2337]
2337,71 unequal: No Solution
Exploring Operation: 57+41=98, Resulting Numbers: [98]
98,71 unequal: No Solution
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 71:[90, 106], Operations: ['73-24=49', '57+49=106']
Exploring Operation: 106-90=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 90*106=9540, Resulting Numbers: [9540]
9540,71 unequal: No Solution
Exploring Operation: 90+106=196, Resulting Numbers: [196]
196,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[49, 33], Operations: ['73-24=49', '90-57=33']
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,71 unequal: No Solution
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[90, 8], Operations: ['73-24=49', '57-49=8']
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,71 unequal: No Solution
Exploring Operation: 90*8=720, Resulting Numbers: [720]
720,71 unequal: No Solution
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[57, 139], Operations: ['73-24=49', '90+49=139']
Exploring Operation: 57+139=196, Resulting Numbers: [196]
196,71 unequal: No Solution
Exploring Operation: 57*139=7923, Resulting Numbers: [7923]
7923,71 unequal: No Solution
Exploring Operation: 139-57=82, Resulting Numbers: [82]
82,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[90, 73, 33], Operations: ['57-24=33']
Exploring Operation: 90-33=57, Resulting Numbers: [73, 57]
Generated Node #0,2,0: 71:[73, 57] Operation: 90-33=57
Exploring Operation: 90-73=17, Resulting Numbers: [33, 17]
Generated Node #0,2,1: 71:[33, 17] Operation: 90-73=17
Exploring Operation: 73+33=106, Resulting Numbers: [90, 106]
Generated Node #0,2,2: 71:[90, 106] Operation: 73+33=106
Exploring Operation: 90+33=123, Resulting Numbers: [73, 123]
Generated Node #0,2,3: 71:[73, 123] Operation: 90+33=123
Exploring Operation: 73-33=40, Resulting Numbers: [90, 40]
Generated Node #0,2,4: 71:[90, 40] Operation: 73-33=40
Moving to Node #0,2,0
Current State: 71:[73, 57], Operations: ['57-24=33', '90-33=57']
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 73*57=4161, Resulting Numbers: [4161]
4161,71 unequal: No Solution
Exploring Operation: 73+57=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[90, 40], Operations: ['57-24=33', '73-33=40']
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 90+40=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 90*40=3600, Resulting Numbers: [3600]
3600,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[90, 106], Operations: ['57-24=33', '73+33=106']
Exploring Operation: 90+106=196, Resulting Numbers: [196]
196,71 unequal: No Solution
Exploring Operation: 106-90=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 90*106=9540, Resulting Numbers: [9540]
9540,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[73, 123], Operations: ['57-24=33', '90+33=123']
Exploring Operation: 73+123=196, Resulting Numbers: [196]
196,71 unequal: No Solution
Exploring Operation: 73*123=8979, Resulting Numbers: [8979]
8979,71 unequal: No Solution
Exploring Operation: 123-73=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[33, 17], Operations: ['57-24=33', '90-73=17']
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,71 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 71:[57, 73, 114], Operations: ['24+90=114']
Exploring Operation: 114/57=2, Resulting Numbers: [73, 2]
Generated Node #0,4,0: 71:[73, 2] Operation: 114/57=2
Exploring Operation: 57+73=130, Resulting Numbers: [114, 130]
Generated Node #0,4,1: 71:[114, 130] Operation: 57+73=130
Exploring Operation: 114-73=41, Resulting Numbers: [57, 41]
Generated Node #0,4,2: 71:[57, 41] Operation: 114-73=41
Exploring Operation: 114-57=57, Resulting Numbers: [73, 57]
Generated Node #0,4,3: 71:[73, 57] Operation: 114-57=57
Exploring Operation: 73-57=16, Resulting Numbers: [114, 16]
Generated Node #0,4,4: 71:[114, 16] Operation: 73-57=16
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 71:[73, 57], Operations: ['24+90=114', '114-57=57']
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 73*57=4161, Resulting Numbers: [4161]
4161,71 unequal: No Solution
Exploring Operation: 73+57=130, Resulting Numbers: [130]
130,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 71:[57, 41], Operations: ['24+90=114', '114-73=41']
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 57+41=98, Resulting Numbers: [98]
98,71 unequal: No Solution
Exploring Operation: 57*41=2337, Resulting Numbers: [2337]
2337,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 71:[73, 2], Operations: ['24+90=114', '114/57=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,71 unequal: No Solution
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[57, 24, 90, 73], Operations: []
Exploring Operation: 24+90=114, Resulting Numbers: [57, 73, 114]
Generated Node #0,4: 71:[57, 73, 114] Operation: 24+90=114
Moving to Node #0,4
Current State: 71:[57, 73, 114], Operations: ['24+90=114']
Exploring Operation: 114/57=2, Resulting Numbers: [73, 2]
Generated Node #0,4,0: 71:[73, 2] Operation: 114/57=2
Moving to Node #0,4,0
Current State: 71:[73, 2], Operations: ['24+90=114', '114/57=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.91059 | hs_5 | mult_heuristic |
[
91,
20,
40,
52
] | 65 | [
"40/20=2",
"52/2=26",
"91-26=65"
] | Current State: 65:[91, 20, 40, 52], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [91, 52, 2]
Generated Node #2: [91, 52, 2] from Operation: 40/20=2
Current State: 65:[91, 52, 2], Operations: ['40/20=2']
Exploring Operation: 52/2=26, Resulting Numbers: [91, 26]
Generated Node #3: [91, 26] from Operation: 52/2=26
Current State: 65:[91, 26], Operations: ['40/20=2', '52/2=26']
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[91, 20, 40, 52], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [91, 20, 12]
Generated Node #0,0: 65:[91, 20, 12] Operation: 52-40=12
Exploring Operation: 40/20=2, Resulting Numbers: [91, 52, 2]
Generated Node #0,1: 65:[91, 52, 2] Operation: 40/20=2
Exploring Operation: 91-40=51, Resulting Numbers: [20, 52, 51]
Generated Node #0,2: 65:[20, 52, 51] Operation: 91-40=51
Moving to Node #0,0
Current State: 65:[91, 20, 12], Operations: ['52-40=12']
Exploring Operation: 91-12=79, Resulting Numbers: [20, 79]
Generated Node #0,0,0: 65:[20, 79] Operation: 91-12=79
Exploring Operation: 20-12=8, Resulting Numbers: [91, 8]
Generated Node #0,0,1: 65:[91, 8] Operation: 20-12=8
Exploring Operation: 91-20=71, Resulting Numbers: [12, 71]
Generated Node #0,0,2: 65:[12, 71] Operation: 91-20=71
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[12, 71], Operations: ['52-40=12', '91-20=71']
Exploring Operation: 12*71=852, Resulting Numbers: [852]
852,65 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 12+71=83, Resulting Numbers: [83]
83,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[20, 79], Operations: ['52-40=12', '91-12=79']
Exploring Operation: 20+79=99, Resulting Numbers: [99]
99,65 unequal: No Solution
Exploring Operation: 20*79=1580, Resulting Numbers: [1580]
1580,65 unequal: No Solution
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[91, 8], Operations: ['52-40=12', '20-12=8']
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,65 unequal: No Solution
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,65 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,65 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: 65:[20, 52, 51], Operations: ['91-40=51']
Exploring Operation: 52-51=1, Resulting Numbers: [20, 1]
Generated Node #0,2,0: 65:[20, 1] Operation: 52-51=1
Exploring Operation: 20+51=71, Resulting Numbers: [52, 71]
Generated Node #0,2,1: 65:[52, 71] Operation: 20+51=71
Exploring Operation: 20+52=72, Resulting Numbers: [51, 72]
Generated Node #0,2,2: 65:[51, 72] Operation: 20+52=72
Moving to Node #0,1
Current State: 65:[91, 52, 2], Operations: ['40/20=2']
Exploring Operation: 52+2=54, Resulting Numbers: [91, 54]
Generated Node #0,1,0: 65:[91, 54] Operation: 52+2=54
Exploring Operation: 91-2=89, Resulting Numbers: [52, 89]
Generated Node #0,1,1: 65:[52, 89] Operation: 91-2=89
Exploring Operation: 91-52=39, Resulting Numbers: [2, 39]
Generated Node #0,1,2: 65:[2, 39] Operation: 91-52=39
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[2, 39], Operations: ['40/20=2', '91-52=39']
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[91, 54], Operations: ['40/20=2', '52+2=54']
Exploring Operation: 91+54=145, Resulting Numbers: [145]
145,65 unequal: No Solution
Exploring Operation: 91-54=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 91*54=4914, Resulting Numbers: [4914]
4914,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[52, 89], Operations: ['40/20=2', '91-2=89']
Exploring Operation: 89-52=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 52*89=4628, Resulting Numbers: [4628]
4628,65 unequal: No Solution
Exploring Operation: 52+89=141, Resulting Numbers: [141]
141,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 65:[20, 1], Operations: ['91-40=51', '52-51=1']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[52, 71], Operations: ['91-40=51', '20+51=71']
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 52*71=3692, Resulting Numbers: [3692]
3692,65 unequal: No Solution
Exploring Operation: 52+71=123, Resulting Numbers: [123]
123,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[51, 72], Operations: ['91-40=51', '20+52=72']
Exploring Operation: 51+72=123, Resulting Numbers: [123]
123,65 unequal: No Solution
Exploring Operation: 72-51=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 51*72=3672, Resulting Numbers: [3672]
3672,65 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
95,
65,
63,
40
] | 67 | [
"95+65=160",
"160/40=4",
"63+4=67"
] | Current State: 67:[95, 65, 63, 40], Operations: []
Exploring Operation: 95+65=160, Resulting Numbers: [63, 40, 160]
Generated Node #2: [63, 40, 160] from Operation: 95+65=160
Current State: 67:[63, 40, 160], Operations: ['95+65=160']
Exploring Operation: 160/40=4, Resulting Numbers: [63, 4]
Generated Node #3: [63, 4] from Operation: 160/40=4
Current State: 67:[63, 4], Operations: ['95+65=160', '160/40=4']
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[95, 65, 63, 40], Operations: []
Exploring Operation: 95-40=55, Resulting Numbers: [65, 63, 55]
Generated Node #0,0: 67:[65, 63, 55] Operation: 95-40=55
Exploring Operation: 63+40=103, Resulting Numbers: [95, 65, 103]
Generated Node #0,1: 67:[95, 65, 103] Operation: 63+40=103
Exploring Operation: 95-63=32, Resulting Numbers: [65, 40, 32]
Generated Node #0,2: 67:[65, 40, 32] Operation: 95-63=32
Moving to Node #0,0
Current State: 67:[65, 63, 55], Operations: ['95-40=55']
Exploring Operation: 65+55=120, Resulting Numbers: [63, 120]
Generated Node #0,0,0: 67:[63, 120] Operation: 65+55=120
Exploring Operation: 63+55=118, Resulting Numbers: [65, 118]
Generated Node #0,0,1: 67:[65, 118] Operation: 63+55=118
Exploring Operation: 65-55=10, Resulting Numbers: [63, 10]
Generated Node #0,0,2: 67:[63, 10] Operation: 65-55=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[65, 118], Operations: ['95-40=55', '63+55=118']
Exploring Operation: 118-65=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 65+118=183, Resulting Numbers: [183]
183,67 unequal: No Solution
Exploring Operation: 65*118=7670, Resulting Numbers: [7670]
7670,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[63, 120], Operations: ['95-40=55', '65+55=120']
Exploring Operation: 63*120=7560, Resulting Numbers: [7560]
7560,67 unequal: No Solution
Exploring Operation: 120-63=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 63+120=183, Resulting Numbers: [183]
183,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[63, 10], Operations: ['95-40=55', '65-55=10']
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,67 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: 67:[65, 40, 32], Operations: ['95-63=32']
Exploring Operation: 65-32=33, Resulting Numbers: [40, 33]
Generated Node #0,2,0: 67:[40, 33] Operation: 65-32=33
Exploring Operation: 40+32=72, Resulting Numbers: [65, 72]
Generated Node #0,2,1: 67:[65, 72] Operation: 40+32=72
Exploring Operation: 65+32=97, Resulting Numbers: [40, 97]
Generated Node #0,2,2: 67:[40, 97] Operation: 65+32=97
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[65, 72], Operations: ['95-63=32', '40+32=72']
Exploring Operation: 72-65=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 65+72=137, Resulting Numbers: [137]
137,67 unequal: No Solution
Exploring Operation: 65*72=4680, Resulting Numbers: [4680]
4680,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[40, 97], Operations: ['95-63=32', '65+32=97']
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 40*97=3880, Resulting Numbers: [3880]
3880,67 unequal: No Solution
Exploring Operation: 40+97=137, Resulting Numbers: [137]
137,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[40, 33], Operations: ['95-63=32', '65-32=33']
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,67 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: 67:[95, 65, 103], Operations: ['63+40=103']
Exploring Operation: 95-65=30, Resulting Numbers: [103, 30]
Generated Node #0,1,0: 67:[103, 30] Operation: 95-65=30
Exploring Operation: 103-95=8, Resulting Numbers: [65, 8]
Generated Node #0,1,1: 67:[65, 8] Operation: 103-95=8
Exploring Operation: 103-65=38, Resulting Numbers: [95, 38]
Generated Node #0,1,2: 67:[95, 38] Operation: 103-65=38
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[95, 38], Operations: ['63+40=103', '103-65=38']
Exploring Operation: 95-38=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 95+38=133, Resulting Numbers: [133]
133,67 unequal: No Solution
Exploring Operation: 95*38=3610, Resulting Numbers: [3610]
3610,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,1
Current State: 67:[65, 8], Operations: ['63+40=103', '103-95=8']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,67 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[103, 30], Operations: ['63+40=103', '95-65=30']
Exploring Operation: 103+30=133, Resulting Numbers: [133]
133,67 unequal: No Solution
Exploring Operation: 103-30=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 103*30=3090, Resulting Numbers: [3090]
3090,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 |
[
91,
8,
71,
98
] | 86 | [
"91-8=83",
"71+98=169",
"169-83=86"
] | Current State: 86:[91, 8, 71, 98], Operations: []
Exploring Operation: 91-8=83, Resulting Numbers: [71, 98, 83]
Generated Node #2: [71, 98, 83] from Operation: 91-8=83
Current State: 86:[71, 98, 83], Operations: ['91-8=83']
Exploring Operation: 71+98=169, Resulting Numbers: [83, 169]
Generated Node #3: [83, 169] from Operation: 71+98=169
Current State: 86:[83, 169], Operations: ['91-8=83', '71+98=169']
Exploring Operation: 169-83=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[91, 8, 71, 98], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [8, 71, 7]
Generated Node #0,0: 86:[8, 71, 7] Operation: 98-91=7
Exploring Operation: 98-8=90, Resulting Numbers: [91, 71, 90]
Generated Node #0,1: 86:[91, 71, 90] Operation: 98-8=90
Exploring Operation: 8+71=79, Resulting Numbers: [91, 98, 79]
Generated Node #0,2: 86:[91, 98, 79] Operation: 8+71=79
Moving to Node #0,1
Current State: 86:[91, 71, 90], Operations: ['98-8=90']
Exploring Operation: 91-71=20, Resulting Numbers: [90, 20]
Generated Node #0,1,0: 86:[90, 20] Operation: 91-71=20
Exploring Operation: 91-90=1, Resulting Numbers: [71, 1]
Generated Node #0,1,1: 86:[71, 1] Operation: 91-90=1
Exploring Operation: 90-71=19, Resulting Numbers: [91, 19]
Generated Node #0,1,2: 86:[91, 19] Operation: 90-71=19
Moving to Node #0,2
Current State: 86:[91, 98, 79], Operations: ['8+71=79']
Exploring Operation: 98-79=19, Resulting Numbers: [91, 19]
Generated Node #0,2,0: 86:[91, 19] Operation: 98-79=19
Exploring Operation: 91-79=12, Resulting Numbers: [98, 12]
Generated Node #0,2,1: 86:[98, 12] Operation: 91-79=12
Exploring Operation: 98-91=7, Resulting Numbers: [79, 7]
Generated Node #0,2,2: 86:[79, 7] Operation: 98-91=7
Moving to Node #0,0
Current State: 86:[8, 71, 7], Operations: ['98-91=7']
Exploring Operation: 71+7=78, Resulting Numbers: [8, 78]
Generated Node #0,0,0: 86:[8, 78] Operation: 71+7=78
Exploring Operation: 8+71=79, Resulting Numbers: [7, 79]
Generated Node #0,0,1: 86:[7, 79] Operation: 8+71=79
Exploring Operation: 8-7=1, Resulting Numbers: [71, 1]
Generated Node #0,0,2: 86:[71, 1] Operation: 8-7=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[7, 79], Operations: ['98-91=7', '8+71=79']
Exploring Operation: 7*79=553, Resulting Numbers: [553]
553,86 unequal: No Solution
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 7+79=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[91, 8, 71, 98], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [8, 71, 7]
Generated Node #0,0: 86:[8, 71, 7] Operation: 98-91=7
Moving to Node #0,0
Current State: 86:[8, 71, 7], Operations: ['98-91=7']
Exploring Operation: 8+71=79, Resulting Numbers: [7, 79]
Generated Node #0,0,1: 86:[7, 79] Operation: 8+71=79
Moving to Node #0,0,1
Current State: 86:[7, 79], Operations: ['98-91=7', '8+71=79']
Exploring Operation: 7+79=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
23,
64,
6,
64
] | 23 | [
"64-64=0",
"6*0=0",
"23+0=23"
] | Current State: 23:[23, 64, 6, 64], Operations: []
Exploring Operation: 64-64=0, Resulting Numbers: [23, 6, 0]
Generated Node #2: [23, 6, 0] from Operation: 64-64=0
Current State: 23:[23, 6, 0], Operations: ['64-64=0']
Exploring Operation: 6*0=0, Resulting Numbers: [23, 0]
Generated Node #3: [23, 0] from Operation: 6*0=0
Current State: 23:[23, 0], Operations: ['64-64=0', '6*0=0']
Exploring Operation: 23+0=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[23, 64, 6, 64], Operations: []
Exploring Operation: 64-23=41, Resulting Numbers: [6, 64, 41]
Generated Node #0,0: 23:[6, 64, 41] Operation: 64-23=41
Exploring Operation: 64-64=0, Resulting Numbers: [23, 6, 0]
Generated Node #0,1: 23:[23, 6, 0] Operation: 64-64=0
Exploring Operation: 64/64=1, Resulting Numbers: [23, 6, 1]
Generated Node #0,2: 23:[23, 6, 1] Operation: 64/64=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[23, 6, 1], Operations: ['64/64=1']
Exploring Operation: 6+1=7, Resulting Numbers: [23, 7]
Generated Node #0,2,0: 23:[23, 7] Operation: 6+1=7
Exploring Operation: 23/1=23, Resulting Numbers: [6, 23]
Generated Node #0,2,1: 23:[6, 23] Operation: 23/1=23
Exploring Operation: 23*1=23, Resulting Numbers: [6, 23]
Generated Node #0,2,2: 23:[6, 23] Operation: 23*1=23
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 23:[23, 7], Operations: ['64/64=1', '6+1=7']
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,23 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 23:[6, 23], Operations: ['64/64=1', '23/1=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,23 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 23:[6, 23], Operations: ['64/64=1', '23*1=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,23 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,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:[23, 6, 0], Operations: ['64-64=0']
Exploring Operation: 6+0=6, Resulting Numbers: [23, 6]
Generated Node #0,1,0: 23:[23, 6] Operation: 6+0=6
Exploring Operation: 23-0=23, Resulting Numbers: [6, 23]
Generated Node #0,1,1: 23:[6, 23] Operation: 23-0=23
Exploring Operation: 23+0=23, Resulting Numbers: [6, 23]
Generated Node #0,1,2: 23:[6, 23] Operation: 23+0=23
Moving to Node #0,1,0
Current State: 23:[23, 6], Operations: ['64-64=0', '6+0=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[6, 23], Operations: ['64-64=0', '23-0=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,23 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[6, 23], Operations: ['64-64=0', '23+0=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,23 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,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:[6, 64, 41], Operations: ['64-23=41']
Exploring Operation: 64-41=23, Resulting Numbers: [6, 23]
Generated Node #0,0,0: 23:[6, 23] Operation: 64-41=23
Exploring Operation: 64-6=58, Resulting Numbers: [41, 58]
Generated Node #0,0,1: 23:[41, 58] Operation: 64-6=58
Exploring Operation: 41-6=35, Resulting Numbers: [64, 35]
Generated Node #0,0,2: 23:[64, 35] Operation: 41-6=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[6, 23], Operations: ['64-23=41', '64-41=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,23 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,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:[41, 58], Operations: ['64-23=41', '64-6=58']
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,23 unequal: No Solution
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,23 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[64, 35], Operations: ['64-23=41', '41-6=35']
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 64*35=2240, Resulting Numbers: [2240]
2240,23 unequal: No Solution
Exploring Operation: 64+35=99, Resulting Numbers: [99]
99,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_3 | sum_heuristic |
[
34,
2,
93,
28
] | 53 | [
"34*2=68",
"93+28=121",
"121-68=53"
] | Current State: 53:[34, 2, 93, 28], Operations: []
Exploring Operation: 34*2=68, Resulting Numbers: [93, 28, 68]
Generated Node #2: [93, 28, 68] from Operation: 34*2=68
Current State: 53:[93, 28, 68], Operations: ['34*2=68']
Exploring Operation: 93+28=121, Resulting Numbers: [68, 121]
Generated Node #3: [68, 121] from Operation: 93+28=121
Current State: 53:[68, 121], Operations: ['34*2=68', '93+28=121']
Exploring Operation: 121-68=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[34, 2, 93, 28], Operations: []
Exploring Operation: 2*28=56, Resulting Numbers: [34, 93, 56]
Generated Node #0,0: 53:[34, 93, 56] Operation: 2*28=56
Exploring Operation: 34*2=68, Resulting Numbers: [93, 28, 68]
Generated Node #0,1: 53:[93, 28, 68] Operation: 34*2=68
Exploring Operation: 34+2=36, Resulting Numbers: [93, 28, 36]
Generated Node #0,2: 53:[93, 28, 36] Operation: 34+2=36
Moving to Node #0,0
Current State: 53:[34, 93, 56], Operations: ['2*28=56']
Exploring Operation: 93-34=59, Resulting Numbers: [56, 59]
Generated Node #0,0,0: 53:[56, 59] Operation: 93-34=59
Exploring Operation: 93-56=37, Resulting Numbers: [34, 37]
Generated Node #0,0,1: 53:[34, 37] Operation: 93-56=37
Exploring Operation: 56-34=22, Resulting Numbers: [93, 22]
Generated Node #0,0,2: 53:[93, 22] Operation: 56-34=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[56, 59], Operations: ['2*28=56', '93-34=59']
Exploring Operation: 56*59=3304, Resulting Numbers: [3304]
3304,53 unequal: No Solution
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 56+59=115, Resulting Numbers: [115]
115,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[34, 37], Operations: ['2*28=56', '93-56=37']
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,53 unequal: No Solution
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[93, 22], Operations: ['2*28=56', '56-34=22']
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 93*22=2046, Resulting Numbers: [2046]
2046,53 unequal: No Solution
Exploring Operation: 93+22=115, Resulting Numbers: [115]
115,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 53:[93, 28, 68], Operations: ['34*2=68']
Exploring Operation: 68-28=40, Resulting Numbers: [93, 40]
Generated Node #0,1,0: 53:[93, 40] Operation: 68-28=40
Exploring Operation: 93-28=65, Resulting Numbers: [68, 65]
Generated Node #0,1,1: 53:[68, 65] Operation: 93-28=65
Exploring Operation: 93-68=25, Resulting Numbers: [28, 25]
Generated Node #0,1,2: 53:[28, 25] Operation: 93-68=25
Moving to Node #0,2
Current State: 53:[93, 28, 36], Operations: ['34+2=36']
Exploring Operation: 93-28=65, Resulting Numbers: [36, 65]
Generated Node #0,2,0: 53:[36, 65] Operation: 93-28=65
Exploring Operation: 28+36=64, Resulting Numbers: [93, 64]
Generated Node #0,2,1: 53:[93, 64] Operation: 28+36=64
Exploring Operation: 93-36=57, Resulting Numbers: [28, 57]
Generated Node #0,2,2: 53:[28, 57] Operation: 93-36=57
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[36, 65], Operations: ['34+2=36', '93-28=65']
Exploring Operation: 36*65=2340, Resulting Numbers: [2340]
2340,53 unequal: No Solution
Exploring Operation: 36+65=101, Resulting Numbers: [101]
101,53 unequal: No Solution
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[28, 57], Operations: ['34+2=36', '93-36=57']
Exploring Operation: 28*57=1596, Resulting Numbers: [1596]
1596,53 unequal: No Solution
Exploring Operation: 28+57=85, Resulting Numbers: [85]
85,53 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[93, 64], Operations: ['34+2=36', '28+36=64']
Exploring Operation: 93*64=5952, Resulting Numbers: [5952]
5952,53 unequal: No Solution
Exploring Operation: 93+64=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,53 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: 53:[68, 65], Operations: ['34*2=68', '93-28=65']
Exploring Operation: 68*65=4420, Resulting Numbers: [4420]
4420,53 unequal: No Solution
Exploring Operation: 68-65=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 68+65=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[93, 40], Operations: ['34*2=68', '68-28=40']
Exploring Operation: 93*40=3720, Resulting Numbers: [3720]
3720,53 unequal: No Solution
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[34, 2, 93, 28], Operations: []
Exploring Operation: 34*2=68, Resulting Numbers: [93, 28, 68]
Generated Node #0,1: 53:[93, 28, 68] Operation: 34*2=68
Moving to Node #0,1
Current State: 53:[93, 28, 68], Operations: ['34*2=68']
Exploring Operation: 68-28=40, Resulting Numbers: [93, 40]
Generated Node #0,1,0: 53:[93, 40] Operation: 68-28=40
Moving to Node #0,1,0
Current State: 53:[93, 40], Operations: ['34*2=68', '68-28=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.966146 | hs_3 | sum_heuristic |
[
95,
27,
4,
36
] | 92 | [
"27*4=108",
"108/36=3",
"95-3=92"
] | Current State: 92:[95, 27, 4, 36], Operations: []
Exploring Operation: 27*4=108, Resulting Numbers: [95, 36, 108]
Generated Node #2: [95, 36, 108] from Operation: 27*4=108
Current State: 92:[95, 36, 108], Operations: ['27*4=108']
Exploring Operation: 108/36=3, Resulting Numbers: [95, 3]
Generated Node #3: [95, 3] from Operation: 108/36=3
Current State: 92:[95, 3], Operations: ['27*4=108', '108/36=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[95, 27, 4, 36], Operations: []
Exploring Operation: 95-4=91, Resulting Numbers: [27, 36, 91]
Generated Node #0,0: 92:[27, 36, 91] Operation: 95-4=91
Exploring Operation: 27-4=23, Resulting Numbers: [95, 36, 23]
Generated Node #0,1: 92:[95, 36, 23] Operation: 27-4=23
Exploring Operation: 36/4=9, Resulting Numbers: [95, 27, 9]
Generated Node #0,2: 92:[95, 27, 9] Operation: 36/4=9
Exploring Operation: 4+36=40, Resulting Numbers: [95, 27, 40]
Generated Node #0,3: 92:[95, 27, 40] Operation: 4+36=40
Exploring Operation: 36-27=9, Resulting Numbers: [95, 4, 9]
Generated Node #0,4: 92:[95, 4, 9] Operation: 36-27=9
Start Sub Search at level 1: Moving to Node #0,4
Current State: 92:[95, 4, 9], Operations: ['36-27=9']
Exploring Operation: 95+9=104, Resulting Numbers: [4, 104]
Generated Node #0,4,0: 92:[4, 104] Operation: 95+9=104
Exploring Operation: 95-9=86, Resulting Numbers: [4, 86]
Generated Node #0,4,1: 92:[4, 86] Operation: 95-9=86
Exploring Operation: 9-4=5, Resulting Numbers: [95, 5]
Generated Node #0,4,2: 92:[95, 5] Operation: 9-4=5
Exploring Operation: 95+4=99, Resulting Numbers: [9, 99]
Generated Node #0,4,3: 92:[9, 99] Operation: 95+4=99
Exploring Operation: 95-4=91, Resulting Numbers: [9, 91]
Generated Node #0,4,4: 92:[9, 91] Operation: 95-4=91
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 92:[95, 5], Operations: ['36-27=9', '9-4=5']
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,92 unequal: No Solution
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,92 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,92 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,92 unequal: No Solution
No 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: 92:[4, 86], Operations: ['36-27=9', '95-9=86']
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,92 unequal: No Solution
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,92 unequal: No Solution
Exploring Operation: 4*86=344, Resulting Numbers: [344]
344,92 unequal: No Solution
No 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: 92:[9, 91], Operations: ['36-27=9', '95-4=91']
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,92 unequal: No Solution
Exploring Operation: 9*91=819, Resulting Numbers: [819]
819,92 unequal: No Solution
Exploring Operation: 9+91=100, Resulting Numbers: [100]
100,92 unequal: No Solution
No 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: 92:[4, 104], Operations: ['36-27=9', '95+9=104']
Exploring Operation: 4*104=416, Resulting Numbers: [416]
416,92 unequal: No Solution
Exploring Operation: 104/4=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,92 unequal: No Solution
Exploring Operation: 4+104=108, Resulting Numbers: [108]
108,92 unequal: No Solution
No 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: 92:[9, 99], Operations: ['36-27=9', '95+4=99']
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,92 unequal: No Solution
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 9*99=891, Resulting Numbers: [891]
891,92 unequal: No Solution
Exploring Operation: 9+99=108, Resulting Numbers: [108]
108,92 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: 92:[95, 27, 9], Operations: ['36/4=9']
Exploring Operation: 27-9=18, Resulting Numbers: [95, 18]
Generated Node #0,2,0: 92:[95, 18] Operation: 27-9=18
Exploring Operation: 95+9=104, Resulting Numbers: [27, 104]
Generated Node #0,2,1: 92:[27, 104] Operation: 95+9=104
Exploring Operation: 95-9=86, Resulting Numbers: [27, 86]
Generated Node #0,2,2: 92:[27, 86] Operation: 95-9=86
Exploring Operation: 27+9=36, Resulting Numbers: [95, 36]
Generated Node #0,2,3: 92:[95, 36] Operation: 27+9=36
Exploring Operation: 27/9=3, Resulting Numbers: [95, 3]
Generated Node #0,2,4: 92:[95, 3] Operation: 27/9=3
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 92:[95, 3], Operations: ['36/4=9', '27/9=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,92 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[95, 27, 4, 36], Operations: []
Exploring Operation: 36/4=9, Resulting Numbers: [95, 27, 9]
Generated Node #0,2: 92:[95, 27, 9] Operation: 36/4=9
Moving to Node #0,2
Current State: 92:[95, 27, 9], Operations: ['36/4=9']
Exploring Operation: 27/9=3, Resulting Numbers: [95, 3]
Generated Node #0,2,4: 92:[95, 3] Operation: 27/9=3
Moving to Node #0,2,4
Current State: 92:[95, 3], Operations: ['36/4=9', '27/9=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
38,
57,
11,
48
] | 58 | [
"38+57=95",
"48-11=37",
"95-37=58"
] | Current State: 58:[38, 57, 11, 48], Operations: []
Exploring Operation: 38+57=95, Resulting Numbers: [11, 48, 95]
Generated Node #2: [11, 48, 95] from Operation: 38+57=95
Current State: 58:[11, 48, 95], Operations: ['38+57=95']
Exploring Operation: 48-11=37, Resulting Numbers: [95, 37]
Generated Node #3: [95, 37] from Operation: 48-11=37
Current State: 58:[95, 37], Operations: ['38+57=95', '48-11=37']
Exploring Operation: 95-37=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[38, 57, 11, 48], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [57, 11, 10]
Generated Node #0,0: 58:[57, 11, 10] Operation: 48-38=10
Exploring Operation: 11+48=59, Resulting Numbers: [38, 57, 59]
Generated Node #0,1: 58:[38, 57, 59] Operation: 11+48=59
Exploring Operation: 38-11=27, Resulting Numbers: [57, 48, 27]
Generated Node #0,2: 58:[57, 48, 27] Operation: 38-11=27
Exploring Operation: 48-11=37, Resulting Numbers: [38, 57, 37]
Generated Node #0,3: 58:[38, 57, 37] Operation: 48-11=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[38, 57, 59], Operations: ['11+48=59']
Exploring Operation: 38+57=95, Resulting Numbers: [59, 95]
Generated Node #0,1,0: 58:[59, 95] Operation: 38+57=95
Exploring Operation: 59-57=2, Resulting Numbers: [38, 2]
Generated Node #0,1,1: 58:[38, 2] Operation: 59-57=2
Exploring Operation: 59-38=21, Resulting Numbers: [57, 21]
Generated Node #0,1,2: 58:[57, 21] Operation: 59-38=21
Exploring Operation: 57-38=19, Resulting Numbers: [59, 19]
Generated Node #0,1,3: 58:[59, 19] Operation: 57-38=19
Moving to Node #0,1,1
Current State: 58:[38, 2], Operations: ['11+48=59', '59-57=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[57, 21], Operations: ['11+48=59', '59-38=21']
Exploring Operation: 57+21=78, Resulting Numbers: [78]
78,58 unequal: No Solution
Exploring Operation: 57*21=1197, Resulting Numbers: [1197]
1197,58 unequal: No Solution
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Moving to Node #0,1,3
Current State: 58:[59, 19], Operations: ['11+48=59', '57-38=19']
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 59+19=78, Resulting Numbers: [78]
78,58 unequal: No Solution
Exploring Operation: 59*19=1121, Resulting Numbers: [1121]
1121,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[59, 95], Operations: ['11+48=59', '38+57=95']
Exploring Operation: 59*95=5605, Resulting Numbers: [5605]
5605,58 unequal: No Solution
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 59+95=154, Resulting Numbers: [154]
154,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
Current State: 58:[57, 48, 27], Operations: ['38-11=27']
Exploring Operation: 57-48=9, Resulting Numbers: [27, 9]
Generated Node #0,2,0: 58:[27, 9] Operation: 57-48=9
Exploring Operation: 48+27=75, Resulting Numbers: [57, 75]
Generated Node #0,2,1: 58:[57, 75] Operation: 48+27=75
Exploring Operation: 48-27=21, Resulting Numbers: [57, 21]
Generated Node #0,2,2: 58:[57, 21] Operation: 48-27=21
Exploring Operation: 57-27=30, Resulting Numbers: [48, 30]
Generated Node #0,2,3: 58:[48, 30] Operation: 57-27=30
Moving to Node #0,2,0
Current State: 58:[27, 9], Operations: ['38-11=27', '57-48=9']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[57, 21], Operations: ['38-11=27', '48-27=21']
Exploring Operation: 57+21=78, Resulting Numbers: [78]
78,58 unequal: No Solution
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 57*21=1197, Resulting Numbers: [1197]
1197,58 unequal: No Solution
Moving to Node #0,2,3
Current State: 58:[48, 30], Operations: ['38-11=27', '57-27=30']
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,58 unequal: No Solution
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[57, 75], Operations: ['38-11=27', '48+27=75']
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 57*75=4275, Resulting Numbers: [4275]
4275,58 unequal: No Solution
Exploring Operation: 57+75=132, Resulting Numbers: [132]
132,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[57, 11, 10], Operations: ['48-38=10']
Exploring Operation: 11-10=1, Resulting Numbers: [57, 1]
Generated Node #0,0,0: 58:[57, 1] Operation: 11-10=1
Exploring Operation: 57+11=68, Resulting Numbers: [10, 68]
Generated Node #0,0,1: 58:[10, 68] Operation: 57+11=68
Exploring Operation: 11+10=21, Resulting Numbers: [57, 21]
Generated Node #0,0,2: 58:[57, 21] Operation: 11+10=21
Exploring Operation: 57+10=67, Resulting Numbers: [11, 67]
Generated Node #0,0,3: 58:[11, 67] Operation: 57+10=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[57, 1], Operations: ['48-38=10', '11-10=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[38, 57, 11, 48], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [57, 11, 10]
Generated Node #0,0: 58:[57, 11, 10] Operation: 48-38=10
Moving to Node #0,0
Current State: 58:[57, 11, 10], Operations: ['48-38=10']
Exploring Operation: 11-10=1, Resulting Numbers: [57, 1]
Generated Node #0,0,0: 58:[57, 1] Operation: 11-10=1
Moving to Node #0,0,0
Current State: 58:[57, 1], Operations: ['48-38=10', '11-10=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.956597 | hs_4 | sum_heuristic |
[
42,
52,
44,
37
] | 91 | [
"52-42=10",
"44+37=81",
"10+81=91"
] | Current State: 91:[42, 52, 44, 37], Operations: []
Exploring Operation: 52-42=10, Resulting Numbers: [44, 37, 10]
Generated Node #2: [44, 37, 10] from Operation: 52-42=10
Current State: 91:[44, 37, 10], Operations: ['52-42=10']
Exploring Operation: 44+37=81, Resulting Numbers: [10, 81]
Generated Node #3: [10, 81] from Operation: 44+37=81
Current State: 91:[10, 81], Operations: ['52-42=10', '44+37=81']
Exploring Operation: 10+81=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[42, 52, 44, 37], Operations: []
Exploring Operation: 52-44=8, Resulting Numbers: [42, 37, 8]
Generated Node #0,0: 91:[42, 37, 8] Operation: 52-44=8
Moving to Node #0,0
Current State: 91:[42, 37, 8], Operations: ['52-44=8']
Exploring Operation: 42-37=5, Resulting Numbers: [8, 5]
Generated Node #0,0,0: 91:[8, 5] Operation: 42-37=5
Moving to Node #0,0,0
Current State: 91:[8, 5], Operations: ['52-44=8', '42-37=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,91 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
95,
55,
67,
15
] | 85 | [
"67-55=12",
"15*12=180",
"180-95=85"
] | Current State: 85:[95, 55, 67, 15], Operations: []
Exploring Operation: 67-55=12, Resulting Numbers: [95, 15, 12]
Generated Node #2: [95, 15, 12] from Operation: 67-55=12
Current State: 85:[95, 15, 12], Operations: ['67-55=12']
Exploring Operation: 15*12=180, Resulting Numbers: [95, 180]
Generated Node #3: [95, 180] from Operation: 15*12=180
Current State: 85:[95, 180], Operations: ['67-55=12', '15*12=180']
Exploring Operation: 180-95=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[95, 55, 67, 15], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [67, 15, 40]
Generated Node #0,0: 85:[67, 15, 40] Operation: 95-55=40
Exploring Operation: 67-55=12, Resulting Numbers: [95, 15, 12]
Generated Node #0,1: 85:[95, 15, 12] Operation: 67-55=12
Moving to Node #0,1
Current State: 85:[95, 15, 12], Operations: ['67-55=12']
Exploring Operation: 95-12=83, Resulting Numbers: [15, 83]
Generated Node #0,1,0: 85:[15, 83] Operation: 95-12=83
Exploring Operation: 95-15=80, Resulting Numbers: [12, 80]
Generated Node #0,1,1: 85:[12, 80] Operation: 95-15=80
Moving to Node #0,0
Current State: 85:[67, 15, 40], Operations: ['95-55=40']
Exploring Operation: 67-40=27, Resulting Numbers: [15, 27]
Generated Node #0,0,0: 85:[15, 27] Operation: 67-40=27
Exploring Operation: 67+40=107, Resulting Numbers: [15, 107]
Generated Node #0,0,1: 85:[15, 107] Operation: 67+40=107
Moving to Node #0,1,0
Current State: 85:[15, 83], Operations: ['67-55=12', '95-12=83']
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[12, 80], Operations: ['67-55=12', '95-15=80']
Exploring Operation: 12+80=92, Resulting Numbers: [92]
92,85 unequal: No Solution
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[15, 27], Operations: ['95-55=40', '67-40=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[15, 107], Operations: ['95-55=40', '67+40=107']
Exploring Operation: 107-15=92, Resulting Numbers: [92]
92,85 unequal: No Solution
Exploring Operation: 15+107=122, Resulting Numbers: [122]
122,85 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
29,
19,
4,
14
] | 58 | [
"29+19=48",
"14-4=10",
"48+10=58"
] | Current State: 58:[29, 19, 4, 14], Operations: []
Exploring Operation: 29+19=48, Resulting Numbers: [4, 14, 48]
Generated Node #2: [4, 14, 48] from Operation: 29+19=48
Current State: 58:[4, 14, 48], Operations: ['29+19=48']
Exploring Operation: 14-4=10, Resulting Numbers: [48, 10]
Generated Node #3: [48, 10] from Operation: 14-4=10
Current State: 58:[48, 10], Operations: ['29+19=48', '14-4=10']
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[29, 19, 4, 14], Operations: []
Exploring Operation: 19-14=5, Resulting Numbers: [29, 4, 5]
Generated Node #0,0: 58:[29, 4, 5] Operation: 19-14=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[29, 4, 5], Operations: ['19-14=5']
Exploring Operation: 5-4=1, Resulting Numbers: [29, 1]
Generated Node #0,0,0: 58:[29, 1] Operation: 5-4=1
Moving to Node #0,0,0
Current State: 58:[29, 1], Operations: ['19-14=5', '5-4=1']
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,58 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 |
[
33,
98,
46,
48
] | 67 | [
"98-33=65",
"48-46=2",
"65+2=67"
] | Current State: 67:[33, 98, 46, 48], Operations: []
Exploring Operation: 98-33=65, Resulting Numbers: [46, 48, 65]
Generated Node #2: [46, 48, 65] from Operation: 98-33=65
Current State: 67:[46, 48, 65], Operations: ['98-33=65']
Exploring Operation: 48-46=2, Resulting Numbers: [65, 2]
Generated Node #3: [65, 2] from Operation: 48-46=2
Current State: 67:[65, 2], Operations: ['98-33=65', '48-46=2']
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[33, 98, 46, 48], Operations: []
Exploring Operation: 33+46=79, Resulting Numbers: [98, 48, 79]
Generated Node #0,0: 67:[98, 48, 79] Operation: 33+46=79
Exploring Operation: 98-33=65, Resulting Numbers: [46, 48, 65]
Generated Node #0,1: 67:[46, 48, 65] Operation: 98-33=65
Moving to Node #0,1
Current State: 67:[46, 48, 65], Operations: ['98-33=65']
Exploring Operation: 46+48=94, Resulting Numbers: [65, 94]
Generated Node #0,1,0: 67:[65, 94] Operation: 46+48=94
Exploring Operation: 46+65=111, Resulting Numbers: [48, 111]
Generated Node #0,1,1: 67:[48, 111] Operation: 46+65=111
Moving to Node #0,0
Current State: 67:[98, 48, 79], Operations: ['33+46=79']
Exploring Operation: 98-79=19, Resulting Numbers: [48, 19]
Generated Node #0,0,0: 67:[48, 19] Operation: 98-79=19
Exploring Operation: 98-48=50, Resulting Numbers: [79, 50]
Generated Node #0,0,1: 67:[79, 50] Operation: 98-48=50
Moving to Node #0,1,0
Current State: 67:[65, 94], Operations: ['98-33=65', '46+48=94']
Exploring Operation: 65+94=159, Resulting Numbers: [159]
159,67 unequal: No Solution
Exploring Operation: 94-65=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[79, 50], Operations: ['33+46=79', '98-48=50']
Exploring Operation: 79+50=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 79-50=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[48, 111], Operations: ['98-33=65', '46+65=111']
Exploring Operation: 48+111=159, Resulting Numbers: [159]
159,67 unequal: No Solution
Exploring Operation: 111-48=63, Resulting Numbers: [63]
63,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[48, 19], Operations: ['33+46=79', '98-79=19']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[33, 98, 46, 48], Operations: []
Exploring Operation: 33+46=79, Resulting Numbers: [98, 48, 79]
Generated Node #0,0: 67:[98, 48, 79] Operation: 33+46=79
Moving to Node #0,0
Current State: 67:[98, 48, 79], Operations: ['33+46=79']
Exploring Operation: 98-79=19, Resulting Numbers: [48, 19]
Generated Node #0,0,0: 67:[48, 19] Operation: 98-79=19
Moving to Node #0,0,0
Current State: 67:[48, 19], Operations: ['33+46=79', '98-79=19']
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
14,
7,
40,
57
] | 21 | [
"14+40=54",
"57-54=3",
"7*3=21"
] | Current State: 21:[14, 7, 40, 57], Operations: []
Exploring Operation: 14+40=54, Resulting Numbers: [7, 57, 54]
Generated Node #2: [7, 57, 54] from Operation: 14+40=54
Current State: 21:[7, 57, 54], Operations: ['14+40=54']
Exploring Operation: 57-54=3, Resulting Numbers: [7, 3]
Generated Node #3: [7, 3] from Operation: 57-54=3
Current State: 21:[7, 3], Operations: ['14+40=54', '57-54=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[14, 7, 40, 57], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [14, 7, 17]
Generated Node #0,0: 21:[14, 7, 17] Operation: 57-40=17
Exploring Operation: 40-14=26, Resulting Numbers: [7, 57, 26]
Generated Node #0,1: 21:[7, 57, 26] Operation: 40-14=26
Exploring Operation: 57-14=43, Resulting Numbers: [7, 40, 43]
Generated Node #0,2: 21:[7, 40, 43] Operation: 57-14=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[14, 7, 17], Operations: ['57-40=17']
Exploring Operation: 14-7=7, Resulting Numbers: [17, 7]
Generated Node #0,0,0: 21:[17, 7] Operation: 14-7=7
Exploring Operation: 17-14=3, Resulting Numbers: [7, 3]
Generated Node #0,0,1: 21:[7, 3] Operation: 17-14=3
Exploring Operation: 14+7=21, Resulting Numbers: [17, 21]
Generated Node #0,0,2: 21:[17, 21] Operation: 14+7=21
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[7, 3], Operations: ['57-40=17', '17-14=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[14, 7, 40, 57], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [14, 7, 17]
Generated Node #0,0: 21:[14, 7, 17] Operation: 57-40=17
Moving to Node #0,0
Current State: 21:[14, 7, 17], Operations: ['57-40=17']
Exploring Operation: 17-14=3, Resulting Numbers: [7, 3]
Generated Node #0,0,1: 21:[7, 3] Operation: 17-14=3
Moving to Node #0,0,1
Current State: 21:[7, 3], Operations: ['57-40=17', '17-14=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
63,
7,
84,
77
] | 12 | [
"63+7=70",
"77-70=7",
"84/7=12"
] | Current State: 12:[63, 7, 84, 77], Operations: []
Exploring Operation: 63+7=70, Resulting Numbers: [84, 77, 70]
Generated Node #2: [84, 77, 70] from Operation: 63+7=70
Current State: 12:[84, 77, 70], Operations: ['63+7=70']
Exploring Operation: 77-70=7, Resulting Numbers: [84, 7]
Generated Node #3: [84, 7] from Operation: 77-70=7
Current State: 12:[84, 7], Operations: ['63+7=70', '77-70=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[63, 7, 84, 77], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [63, 7, 7]
Generated Node #0,0: 12:[63, 7, 7] Operation: 84-77=7
Exploring Operation: 77-63=14, Resulting Numbers: [7, 84, 14]
Generated Node #0,1: 12:[7, 84, 14] Operation: 77-63=14
Exploring Operation: 84-63=21, Resulting Numbers: [7, 77, 21]
Generated Node #0,2: 12:[7, 77, 21] Operation: 84-63=21
Exploring Operation: 84/7=12, Resulting Numbers: [63, 77, 12]
Generated Node #0,3: 12:[63, 77, 12] Operation: 84/7=12
Moving to Node #0,0
Current State: 12:[63, 7, 7], Operations: ['84-77=7']
Exploring Operation: 63-7=56, Resulting Numbers: [7, 56]
Generated Node #0,0,0: 12:[7, 56] Operation: 63-7=56
Exploring Operation: 63/7=9, Resulting Numbers: [7, 9]
Generated Node #0,0,1: 12:[7, 9] Operation: 63/7=9
Exploring Operation: 63/7=9, Resulting Numbers: [7, 9]
Generated Node #0,0,2: 12:[7, 9] Operation: 63/7=9
Exploring Operation: 63-7=56, Resulting Numbers: [7, 56]
Generated Node #0,0,3: 12:[7, 56] Operation: 63-7=56
Moving to Node #0,2
Current State: 12:[7, 77, 21], Operations: ['84-63=21']
Exploring Operation: 77-21=56, Resulting Numbers: [7, 56]
Generated Node #0,2,0: 12:[7, 56] Operation: 77-21=56
Exploring Operation: 77/7=11, Resulting Numbers: [21, 11]
Generated Node #0,2,1: 12:[21, 11] Operation: 77/7=11
Exploring Operation: 77-7=70, Resulting Numbers: [21, 70]
Generated Node #0,2,2: 12:[21, 70] Operation: 77-7=70
Exploring Operation: 21/7=3, Resulting Numbers: [77, 3]
Generated Node #0,2,3: 12:[77, 3] Operation: 21/7=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[21, 11], Operations: ['84-63=21', '77/7=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,12 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[7, 56], Operations: ['84-63=21', '77-21=56']
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Exploring Operation: 7*56=392, Resulting Numbers: [392]
392,12 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[77, 3], Operations: ['84-63=21', '21/7=3']
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,12 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,12 unequal: No Solution
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[21, 70], Operations: ['84-63=21', '77-7=70']
Exploring Operation: 21*70=1470, Resulting Numbers: [1470]
1470,12 unequal: No Solution
Exploring Operation: 21+70=91, Resulting Numbers: [91]
91,12 unequal: No Solution
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 12:[7, 84, 14], Operations: ['77-63=14']
Exploring Operation: 84-7=77, Resulting Numbers: [14, 77]
Generated Node #0,1,0: 12:[14, 77] Operation: 84-7=77
Exploring Operation: 84/7=12, Resulting Numbers: [14, 12]
Generated Node #0,1,1: 12:[14, 12] Operation: 84/7=12
Exploring Operation: 84/14=6, Resulting Numbers: [7, 6]
Generated Node #0,1,2: 12:[7, 6] Operation: 84/14=6
Exploring Operation: 84-14=70, Resulting Numbers: [7, 70]
Generated Node #0,1,3: 12:[7, 70] Operation: 84-14=70
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[7, 6], Operations: ['77-63=14', '84/14=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[14, 12], Operations: ['77-63=14', '84/7=12']
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,12 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[7, 70], Operations: ['77-63=14', '84-14=70']
Exploring Operation: 7+70=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 7*70=490, Resulting Numbers: [490]
490,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[14, 77], Operations: ['77-63=14', '84-7=77']
Exploring Operation: 14*77=1078, Resulting Numbers: [1078]
1078,12 unequal: No Solution
Exploring Operation: 14+77=91, Resulting Numbers: [91]
91,12 unequal: No Solution
Exploring Operation: 77-14=63, Resulting Numbers: [63]
63,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 12:[63, 77, 12], Operations: ['84/7=12']
Exploring Operation: 77-12=65, Resulting Numbers: [63, 65]
Generated Node #0,3,0: 12:[63, 65] Operation: 77-12=65
Exploring Operation: 63-12=51, Resulting Numbers: [77, 51]
Generated Node #0,3,1: 12:[77, 51] Operation: 63-12=51
Exploring Operation: 77-63=14, Resulting Numbers: [12, 14]
Generated Node #0,3,2: 12:[12, 14] Operation: 77-63=14
Exploring Operation: 63+77=140, Resulting Numbers: [12, 140]
Generated Node #0,3,3: 12:[12, 140] Operation: 63+77=140
Moving to Node #0,3,2
Current State: 12:[12, 14], Operations: ['84/7=12', '77-63=14']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,12 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[7, 9], Operations: ['84-77=7', '63/7=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[7, 9], Operations: ['84-77=7', '63/7=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,12 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[7, 56], Operations: ['84-77=7', '63-7=56']
Exploring Operation: 7*56=392, Resulting Numbers: [392]
392,12 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[7, 56], Operations: ['84-77=7', '63-7=56']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 7*56=392, Resulting Numbers: [392]
392,12 unequal: No Solution
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Moving to Node #0,3,0
Current State: 12:[63, 65], Operations: ['84/7=12', '77-12=65']
Exploring Operation: 63*65=4095, Resulting Numbers: [4095]
4095,12 unequal: No Solution
Exploring Operation: 65-63=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 63+65=128, Resulting Numbers: [128]
128,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[77, 51], Operations: ['84/7=12', '63-12=51']
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,12 unequal: No Solution
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[12, 140], Operations: ['84/7=12', '63+77=140']
Exploring Operation: 140-12=128, Resulting Numbers: [128]
128,12 unequal: No Solution
Exploring Operation: 12*140=1680, Resulting Numbers: [1680]
1680,12 unequal: No Solution
Exploring Operation: 12+140=152, Resulting Numbers: [152]
152,12 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
62,
13,
36,
60
] | 31 | [
"62-60=2",
"36/2=18",
"13+18=31"
] | Current State: 31:[62, 13, 36, 60], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [13, 36, 2]
Generated Node #2: [13, 36, 2] from Operation: 62-60=2
Current State: 31:[13, 36, 2], Operations: ['62-60=2']
Exploring Operation: 36/2=18, Resulting Numbers: [13, 18]
Generated Node #3: [13, 18] from Operation: 36/2=18
Current State: 31:[13, 18], Operations: ['62-60=2', '36/2=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[62, 13, 36, 60], Operations: []
Exploring Operation: 62-13=49, Resulting Numbers: [36, 60, 49]
Generated Node #0,0: 31:[36, 60, 49] Operation: 62-13=49
Exploring Operation: 62-36=26, Resulting Numbers: [13, 60, 26]
Generated Node #0,1: 31:[13, 60, 26] Operation: 62-36=26
Exploring Operation: 62-60=2, Resulting Numbers: [13, 36, 2]
Generated Node #0,2: 31:[13, 36, 2] Operation: 62-60=2
Moving to Node #0,0
Current State: 31:[36, 60, 49], Operations: ['62-13=49']
Exploring Operation: 49-36=13, Resulting Numbers: [60, 13]
Generated Node #0,0,0: 31:[60, 13] Operation: 49-36=13
Exploring Operation: 60-49=11, Resulting Numbers: [36, 11]
Generated Node #0,0,1: 31:[36, 11] Operation: 60-49=11
Exploring Operation: 60-36=24, Resulting Numbers: [49, 24]
Generated Node #0,0,2: 31:[49, 24] Operation: 60-36=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[36, 11], Operations: ['62-13=49', '60-49=11']
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,31 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 31:[49, 24], Operations: ['62-13=49', '60-36=24']
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,31 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[60, 13], Operations: ['62-13=49', '49-36=13']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 60*13=780, Resulting Numbers: [780]
780,31 unequal: No Solution
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 31:[13, 60, 26], Operations: ['62-36=26']
Exploring Operation: 60-13=47, Resulting Numbers: [26, 47]
Generated Node #0,1,0: 31:[26, 47] Operation: 60-13=47
Exploring Operation: 60-26=34, Resulting Numbers: [13, 34]
Generated Node #0,1,1: 31:[13, 34] Operation: 60-26=34
Exploring Operation: 13+26=39, Resulting Numbers: [60, 39]
Generated Node #0,1,2: 31:[60, 39] Operation: 13+26=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[26, 47], Operations: ['62-36=26', '60-13=47']
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,31 unequal: No Solution
Exploring Operation: 26*47=1222, Resulting Numbers: [1222]
1222,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:[13, 34], Operations: ['62-36=26', '60-26=34']
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 13*34=442, Resulting Numbers: [442]
442,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,2
Current State: 31:[60, 39], Operations: ['62-36=26', '13+26=39']
Exploring Operation: 60*39=2340, Resulting Numbers: [2340]
2340,31 unequal: No Solution
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 60+39=99, Resulting Numbers: [99]
99,31 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: 31:[13, 36, 2], Operations: ['62-60=2']
Exploring Operation: 13+2=15, Resulting Numbers: [36, 15]
Generated Node #0,2,0: 31:[36, 15] Operation: 13+2=15
Exploring Operation: 36-2=34, Resulting Numbers: [13, 34]
Generated Node #0,2,1: 31:[13, 34] Operation: 36-2=34
Exploring Operation: 13*2=26, Resulting Numbers: [36, 26]
Generated Node #0,2,2: 31:[36, 26] Operation: 13*2=26
Moving to Node #0,2,2
Current State: 31:[36, 26], Operations: ['62-60=2', '13*2=26']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,31 unequal: No Solution
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[36, 15], Operations: ['62-60=2', '13+2=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,31 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[13, 34], Operations: ['62-60=2', '36-2=34']
Exploring Operation: 13*34=442, Resulting Numbers: [442]
442,31 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,31 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
69,
16,
93,
3
] | 100 | [
"69/3=23",
"93-16=77",
"23+77=100"
] | Current State: 100:[69, 16, 93, 3], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [16, 93, 23]
Generated Node #2: [16, 93, 23] from Operation: 69/3=23
Current State: 100:[16, 93, 23], Operations: ['69/3=23']
Exploring Operation: 93-16=77, Resulting Numbers: [23, 77]
Generated Node #3: [23, 77] from Operation: 93-16=77
Current State: 100:[23, 77], Operations: ['69/3=23', '93-16=77']
Exploring Operation: 23+77=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[69, 16, 93, 3], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [16, 3, 24]
Generated Node #0,0: 100:[16, 3, 24] Operation: 93-69=24
Moving to Node #0,0
Current State: 100:[16, 3, 24], Operations: ['93-69=24']
Exploring Operation: 16+3=19, Resulting Numbers: [24, 19]
Generated Node #0,0,0: 100:[24, 19] Operation: 16+3=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[24, 19], Operations: ['93-69=24', '16+3=19']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,100 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 |
[
84,
42,
90,
54
] | 67 | [
"84*42=3528",
"90+3528=3618",
"3618/54=67"
] | Current State: 67:[84, 42, 90, 54], Operations: []
Exploring Operation: 84*42=3528, Resulting Numbers: [90, 54, 3528]
Generated Node #2: [90, 54, 3528] from Operation: 84*42=3528
Current State: 67:[90, 54, 3528], Operations: ['84*42=3528']
Exploring Operation: 90+3528=3618, Resulting Numbers: [54, 3618]
Generated Node #3: [54, 3618] from Operation: 90+3528=3618
Current State: 67:[54, 3618], Operations: ['84*42=3528', '90+3528=3618']
Exploring Operation: 3618/54=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[84, 42, 90, 54], Operations: []
Exploring Operation: 42+54=96, Resulting Numbers: [84, 90, 96]
Generated Node #0,0: 67:[84, 90, 96] Operation: 42+54=96
Exploring Operation: 84-42=42, Resulting Numbers: [90, 54, 42]
Generated Node #0,1: 67:[90, 54, 42] Operation: 84-42=42
Exploring Operation: 90-42=48, Resulting Numbers: [84, 54, 48]
Generated Node #0,2: 67:[84, 54, 48] Operation: 90-42=48
Exploring Operation: 90-54=36, Resulting Numbers: [84, 42, 36]
Generated Node #0,3: 67:[84, 42, 36] Operation: 90-54=36
Exploring Operation: 84-54=30, Resulting Numbers: [42, 90, 30]
Generated Node #0,4: 67:[42, 90, 30] Operation: 84-54=30
Moving to Node #0,2
Current State: 67:[84, 54, 48], Operations: ['90-42=48']
Exploring Operation: 84+48=132, Resulting Numbers: [54, 132]
Generated Node #0,2,0: 67:[54, 132] Operation: 84+48=132
Exploring Operation: 54-48=6, Resulting Numbers: [84, 6]
Generated Node #0,2,1: 67:[84, 6] Operation: 54-48=6
Exploring Operation: 84-54=30, Resulting Numbers: [48, 30]
Generated Node #0,2,2: 67:[48, 30] Operation: 84-54=30
Exploring Operation: 84-48=36, Resulting Numbers: [54, 36]
Generated Node #0,2,3: 67:[54, 36] Operation: 84-48=36
Exploring Operation: 54+48=102, Resulting Numbers: [84, 102]
Generated Node #0,2,4: 67:[84, 102] Operation: 54+48=102
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[54, 36], Operations: ['90-42=48', '84-48=36']
Exploring Operation: 54*36=1944, Resulting Numbers: [1944]
1944,67 unequal: No Solution
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,67 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 67:[84, 102], Operations: ['90-42=48', '54+48=102']
Exploring Operation: 84+102=186, Resulting Numbers: [186]
186,67 unequal: No Solution
Exploring Operation: 102-84=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 84*102=8568, Resulting Numbers: [8568]
8568,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[48, 30], Operations: ['90-42=48', '84-54=30']
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,67 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[54, 132], Operations: ['90-42=48', '84+48=132']
Exploring Operation: 54*132=7128, Resulting Numbers: [7128]
7128,67 unequal: No Solution
Exploring Operation: 54+132=186, Resulting Numbers: [186]
186,67 unequal: No Solution
Exploring Operation: 132-54=78, Resulting Numbers: [78]
78,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[84, 6], Operations: ['90-42=48', '54-48=6']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 84*6=504, Resulting Numbers: [504]
504,67 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,67 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,67 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: 67:[90, 54, 42], Operations: ['84-42=42']
Exploring Operation: 90+42=132, Resulting Numbers: [54, 132]
Generated Node #0,1,0: 67:[54, 132] Operation: 90+42=132
Exploring Operation: 54-42=12, Resulting Numbers: [90, 12]
Generated Node #0,1,1: 67:[90, 12] Operation: 54-42=12
Exploring Operation: 90-54=36, Resulting Numbers: [42, 36]
Generated Node #0,1,2: 67:[42, 36] Operation: 90-54=36
Exploring Operation: 90-42=48, Resulting Numbers: [54, 48]
Generated Node #0,1,3: 67:[54, 48] Operation: 90-42=48
Exploring Operation: 54+42=96, Resulting Numbers: [90, 96]
Generated Node #0,1,4: 67:[90, 96] Operation: 54+42=96
Moving to Node #0,0
Current State: 67:[84, 90, 96], Operations: ['42+54=96']
Exploring Operation: 96-84=12, Resulting Numbers: [90, 12]
Generated Node #0,0,0: 67:[90, 12] Operation: 96-84=12
Exploring Operation: 84+90=174, Resulting Numbers: [96, 174]
Generated Node #0,0,1: 67:[96, 174] Operation: 84+90=174
Exploring Operation: 96-90=6, Resulting Numbers: [84, 6]
Generated Node #0,0,2: 67:[84, 6] Operation: 96-90=6
Exploring Operation: 84+96=180, Resulting Numbers: [90, 180]
Generated Node #0,0,3: 67:[90, 180] Operation: 84+96=180
Exploring Operation: 90-84=6, Resulting Numbers: [96, 6]
Generated Node #0,0,4: 67:[96, 6] Operation: 90-84=6
Moving to Node #0,3
Current State: 67:[84, 42, 36], Operations: ['90-54=36']
Exploring Operation: 84-42=42, Resulting Numbers: [36, 42]
Generated Node #0,3,0: 67:[36, 42] Operation: 84-42=42
Exploring Operation: 42+36=78, Resulting Numbers: [84, 78]
Generated Node #0,3,1: 67:[84, 78] Operation: 42+36=78
Exploring Operation: 42-36=6, Resulting Numbers: [84, 6]
Generated Node #0,3,2: 67:[84, 6] Operation: 42-36=6
Exploring Operation: 84+36=120, Resulting Numbers: [42, 120]
Generated Node #0,3,3: 67:[42, 120] Operation: 84+36=120
Exploring Operation: 84-36=48, Resulting Numbers: [42, 48]
Generated Node #0,3,4: 67:[42, 48] Operation: 84-36=48
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 67:[84, 78], Operations: ['90-54=36', '42+36=78']
Exploring Operation: 84*78=6552, Resulting Numbers: [6552]
6552,67 unequal: No Solution
Exploring Operation: 84+78=162, Resulting Numbers: [162]
162,67 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,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,3,4
Current State: 67:[42, 48], Operations: ['90-54=36', '84-36=48']
Exploring Operation: 42*48=2016, Resulting Numbers: [2016]
2016,67 unequal: No Solution
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,67 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,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,3,0
Current State: 67:[36, 42], Operations: ['90-54=36', '84-42=42']
Exploring Operation: 36+42=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 36*42=1512, Resulting Numbers: [1512]
1512,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,3,2
Current State: 67:[84, 6], Operations: ['90-54=36', '42-36=6']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,67 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 84*6=504, Resulting Numbers: [504]
504,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,3,3
Current State: 67:[42, 120], Operations: ['90-54=36', '84+36=120']
Exploring Operation: 120-42=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 42+120=162, Resulting Numbers: [162]
162,67 unequal: No Solution
Exploring Operation: 42*120=5040, Resulting Numbers: [5040]
5040,67 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: 67:[42, 90, 30], Operations: ['84-54=30']
Exploring Operation: 42-30=12, Resulting Numbers: [90, 12]
Generated Node #0,4,0: 67:[90, 12] Operation: 42-30=12
Exploring Operation: 90-42=48, Resulting Numbers: [30, 48]
Generated Node #0,4,1: 67:[30, 48] Operation: 90-42=48
Exploring Operation: 90-30=60, Resulting Numbers: [42, 60]
Generated Node #0,4,2: 67:[42, 60] Operation: 90-30=60
Exploring Operation: 90+30=120, Resulting Numbers: [42, 120]
Generated Node #0,4,3: 67:[42, 120] Operation: 90+30=120
Exploring Operation: 42+30=72, Resulting Numbers: [90, 72]
Generated Node #0,4,4: 67:[90, 72] Operation: 42+30=72
Moving to Node #0,4,4
Current State: 67:[90, 72], Operations: ['84-54=30', '42+30=72']
Exploring Operation: 90*72=6480, Resulting Numbers: [6480]
6480,67 unequal: No Solution
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 90+72=162, Resulting Numbers: [162]
162,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[42, 60], Operations: ['84-54=30', '90-30=60']
Exploring Operation: 42*60=2520, Resulting Numbers: [2520]
2520,67 unequal: No Solution
Exploring Operation: 42+60=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[54, 48], Operations: ['84-42=42', '90-42=48']
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 54*48=2592, Resulting Numbers: [2592]
2592,67 unequal: No Solution
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[90, 96], Operations: ['84-42=42', '54+42=96']
Exploring Operation: 90+96=186, Resulting Numbers: [186]
186,67 unequal: No Solution
Exploring Operation: 90*96=8640, Resulting Numbers: [8640]
8640,67 unequal: No Solution
Exploring Operation: 96-90=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[42, 36], Operations: ['84-42=42', '90-54=36']
Exploring Operation: 42*36=1512, Resulting Numbers: [1512]
1512,67 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 42+36=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Moving to Node #0,4,1
Current State: 67:[30, 48], Operations: ['84-54=30', '90-42=48']
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,67 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[84, 6], Operations: ['42+54=96', '96-90=6']
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,67 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 84*6=504, Resulting Numbers: [504]
504,67 unequal: No Solution
Moving to Node #0,4,3
Current State: 67:[42, 120], Operations: ['84-54=30', '90+30=120']
Exploring Operation: 42+120=162, Resulting Numbers: [162]
162,67 unequal: No Solution
Exploring Operation: 42*120=5040, Resulting Numbers: [5040]
5040,67 unequal: No Solution
Exploring Operation: 120-42=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[90, 12], Operations: ['42+54=96', '96-84=12']
Exploring Operation: 90*12=1080, Resulting Numbers: [1080]
1080,67 unequal: No Solution
Exploring Operation: 90+12=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 90-12=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[90, 12], Operations: ['84-42=42', '54-42=12']
Exploring Operation: 90-12=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 90+12=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 90*12=1080, Resulting Numbers: [1080]
1080,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[90, 12], Operations: ['84-54=30', '42-30=12']
Exploring Operation: 90-12=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 90+12=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 90*12=1080, Resulting Numbers: [1080]
1080,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[54, 132], Operations: ['84-42=42', '90+42=132']
Exploring Operation: 54+132=186, Resulting Numbers: [186]
186,67 unequal: No Solution
Exploring Operation: 54*132=7128, Resulting Numbers: [7128]
7128,67 unequal: No Solution
Exploring Operation: 132-54=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[96, 6], Operations: ['42+54=96', '90-84=6']
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,67 unequal: No Solution
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,67 unequal: No Solution
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[96, 174], Operations: ['42+54=96', '84+90=174']
Exploring Operation: 96*174=16704, Resulting Numbers: [16704]
16704,67 unequal: No Solution
Exploring Operation: 96+174=270, Resulting Numbers: [270]
270,67 unequal: No Solution
Exploring Operation: 174-96=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[90, 180], Operations: ['42+54=96', '84+96=180']
Exploring Operation: 180/90=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 90*180=16200, Resulting Numbers: [16200]
16200,67 unequal: No Solution
Exploring Operation: 180-90=90, Resulting Numbers: [90]
90,67 unequal: No Solution
Exploring Operation: 90+180=270, Resulting Numbers: [270]
270,67 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
3,
56,
8,
93
] | 87 | [
"56+8=64",
"93-64=29",
"3*29=87"
] | Current State: 87:[3, 56, 8, 93], Operations: []
Exploring Operation: 56+8=64, Resulting Numbers: [3, 93, 64]
Generated Node #2: [3, 93, 64] from Operation: 56+8=64
Current State: 87:[3, 93, 64], Operations: ['56+8=64']
Exploring Operation: 93-64=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 93-64=29
Current State: 87:[3, 29], Operations: ['56+8=64', '93-64=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[3, 56, 8, 93], Operations: []
Exploring Operation: 56/8=7, Resulting Numbers: [3, 93, 7]
Generated Node #0,0: 87:[3, 93, 7] Operation: 56/8=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[3, 93, 7], Operations: ['56/8=7']
Exploring Operation: 93-7=86, Resulting Numbers: [3, 86]
Generated Node #0,0,0: 87:[3, 86] Operation: 93-7=86
Moving to Node #0,0,0
Current State: 87:[3, 86], Operations: ['56/8=7', '93-7=86']
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,87 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 |
[
58,
67,
31,
59
] | 98 | [
"59-58=1",
"67+31=98",
"1*98=98"
] | Current State: 98:[58, 67, 31, 59], Operations: []
Exploring Operation: 59-58=1, Resulting Numbers: [67, 31, 1]
Generated Node #2: [67, 31, 1] from Operation: 59-58=1
Current State: 98:[67, 31, 1], Operations: ['59-58=1']
Exploring Operation: 67+31=98, Resulting Numbers: [1, 98]
Generated Node #3: [1, 98] from Operation: 67+31=98
Current State: 98:[1, 98], Operations: ['59-58=1', '67+31=98']
Exploring Operation: 1*98=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[58, 67, 31, 59], Operations: []
Exploring Operation: 67+31=98, Resulting Numbers: [58, 59, 98]
Generated Node #0,0: 98:[58, 59, 98] Operation: 67+31=98
Moving to Node #0,0
Current State: 98:[58, 59, 98], Operations: ['67+31=98']
Exploring Operation: 59-58=1, Resulting Numbers: [98, 1]
Generated Node #0,0,0: 98:[98, 1] Operation: 59-58=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[98, 1], Operations: ['67+31=98', '59-58=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[58, 67, 31, 59], Operations: []
Exploring Operation: 67+31=98, Resulting Numbers: [58, 59, 98]
Generated Node #0,0: 98:[58, 59, 98] Operation: 67+31=98
Moving to Node #0,0
Current State: 98:[58, 59, 98], Operations: ['67+31=98']
Exploring Operation: 59-58=1, Resulting Numbers: [98, 1]
Generated Node #0,0,0: 98:[98, 1] Operation: 59-58=1
Moving to Node #0,0,0
Current State: 98:[98, 1], Operations: ['67+31=98', '59-58=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
36,
95,
92,
87
] | 85 | [
"92-87=5",
"36*5=180",
"180-95=85"
] | Current State: 85:[36, 95, 92, 87], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [36, 95, 5]
Generated Node #2: [36, 95, 5] from Operation: 92-87=5
Current State: 85:[36, 95, 5], Operations: ['92-87=5']
Exploring Operation: 36*5=180, Resulting Numbers: [95, 180]
Generated Node #3: [95, 180] from Operation: 36*5=180
Current State: 85:[95, 180], Operations: ['92-87=5', '36*5=180']
Exploring Operation: 180-95=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[36, 95, 92, 87], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [36, 87, 3]
Generated Node #0,0: 85:[36, 87, 3] Operation: 95-92=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[36, 87, 3], Operations: ['95-92=3']
Exploring Operation: 36/3=12, Resulting Numbers: [87, 12]
Generated Node #0,0,0: 85:[87, 12] Operation: 36/3=12
Moving to Node #0,0,0
Current State: 85:[87, 12], Operations: ['95-92=3', '36/3=12']
Exploring Operation: 87-12=75, Resulting Numbers: [75]
75,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 | mult_heuristic |
[
89,
52,
82,
68
] | 23 | [
"89-52=37",
"82-68=14",
"37-14=23"
] | Current State: 23:[89, 52, 82, 68], Operations: []
Exploring Operation: 89-52=37, Resulting Numbers: [82, 68, 37]
Generated Node #2: [82, 68, 37] from Operation: 89-52=37
Current State: 23:[82, 68, 37], Operations: ['89-52=37']
Exploring Operation: 82-68=14, Resulting Numbers: [37, 14]
Generated Node #3: [37, 14] from Operation: 82-68=14
Current State: 23:[37, 14], Operations: ['89-52=37', '82-68=14']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[89, 52, 82, 68], Operations: []
Exploring Operation: 89-52=37, Resulting Numbers: [82, 68, 37]
Generated Node #0,0: 23:[82, 68, 37] Operation: 89-52=37
Exploring Operation: 82-68=14, Resulting Numbers: [89, 52, 14]
Generated Node #0,1: 23:[89, 52, 14] Operation: 82-68=14
Exploring Operation: 82-52=30, Resulting Numbers: [89, 68, 30]
Generated Node #0,2: 23:[89, 68, 30] Operation: 82-52=30
Exploring Operation: 89-82=7, Resulting Numbers: [52, 68, 7]
Generated Node #0,3: 23:[52, 68, 7] Operation: 89-82=7
Exploring Operation: 89-68=21, Resulting Numbers: [52, 82, 21]
Generated Node #0,4: 23:[52, 82, 21] Operation: 89-68=21
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[52, 68, 7], Operations: ['89-82=7']
Exploring Operation: 68+7=75, Resulting Numbers: [52, 75]
Generated Node #0,3,0: 23:[52, 75] Operation: 68+7=75
Exploring Operation: 52-7=45, Resulting Numbers: [68, 45]
Generated Node #0,3,1: 23:[68, 45] Operation: 52-7=45
Exploring Operation: 52+7=59, Resulting Numbers: [68, 59]
Generated Node #0,3,2: 23:[68, 59] Operation: 52+7=59
Exploring Operation: 68-52=16, Resulting Numbers: [7, 16]
Generated Node #0,3,3: 23:[7, 16] Operation: 68-52=16
Exploring Operation: 68-7=61, Resulting Numbers: [52, 61]
Generated Node #0,3,4: 23:[52, 61] Operation: 68-7=61
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 23:[7, 16], Operations: ['89-82=7', '68-52=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[89, 52, 82, 68], Operations: []
Exploring Operation: 89-82=7, Resulting Numbers: [52, 68, 7]
Generated Node #0,3: 23:[52, 68, 7] Operation: 89-82=7
Moving to Node #0,3
Current State: 23:[52, 68, 7], Operations: ['89-82=7']
Exploring Operation: 68-52=16, Resulting Numbers: [7, 16]
Generated Node #0,3,3: 23:[7, 16] Operation: 68-52=16
Moving to Node #0,3,3
Current State: 23:[7, 16], Operations: ['89-82=7', '68-52=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
68,
16,
10,
80
] | 40 | [
"68+16=84",
"84-80=4",
"10*4=40"
] | Current State: 40:[68, 16, 10, 80], Operations: []
Exploring Operation: 68+16=84, Resulting Numbers: [10, 80, 84]
Generated Node #2: [10, 80, 84] from Operation: 68+16=84
Current State: 40:[10, 80, 84], Operations: ['68+16=84']
Exploring Operation: 84-80=4, Resulting Numbers: [10, 4]
Generated Node #3: [10, 4] from Operation: 84-80=4
Current State: 40:[10, 4], Operations: ['68+16=84', '84-80=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[68, 16, 10, 80], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [16, 10, 12]
Generated Node #0,0: 40:[16, 10, 12] Operation: 80-68=12
Exploring Operation: 80/16=5, Resulting Numbers: [68, 10, 5]
Generated Node #0,1: 40:[68, 10, 5] Operation: 80/16=5
Exploring Operation: 68-16=52, Resulting Numbers: [10, 80, 52]
Generated Node #0,2: 40:[10, 80, 52] Operation: 68-16=52
Exploring Operation: 80/10=8, Resulting Numbers: [68, 16, 8]
Generated Node #0,3: 40:[68, 16, 8] Operation: 80/10=8
Moving to Node #0,0
Current State: 40:[16, 10, 12], Operations: ['80-68=12']
Exploring Operation: 10+12=22, Resulting Numbers: [16, 22]
Generated Node #0,0,0: 40:[16, 22] Operation: 10+12=22
Exploring Operation: 16-12=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 40:[10, 4] Operation: 16-12=4
Exploring Operation: 16-10=6, Resulting Numbers: [12, 6]
Generated Node #0,0,2: 40:[12, 6] Operation: 16-10=6
Exploring Operation: 12-10=2, Resulting Numbers: [16, 2]
Generated Node #0,0,3: 40:[16, 2] Operation: 12-10=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[10, 4], Operations: ['80-68=12', '16-12=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[68, 16, 10, 80], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [16, 10, 12]
Generated Node #0,0: 40:[16, 10, 12] Operation: 80-68=12
Moving to Node #0,0
Current State: 40:[16, 10, 12], Operations: ['80-68=12']
Exploring Operation: 16-12=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 40:[10, 4] Operation: 16-12=4
Moving to Node #0,0,1
Current State: 40:[10, 4], Operations: ['80-68=12', '16-12=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
82,
38,
2,
2
] | 77 | [
"82/2=41",
"38-2=36",
"41+36=77"
] | Current State: 77:[82, 38, 2, 2], Operations: []
Exploring Operation: 82/2=41, Resulting Numbers: [38, 41]
Generated Node #2: [38, 41] from Operation: 82/2=41
Current State: 77:[38, 41], Operations: ['82/2=41']
Exploring Operation: 38-2=36, Resulting Numbers: [41, 36]
Generated Node #3: [41, 36] from Operation: 38-2=36
Current State: 77:[41, 36], Operations: ['82/2=41', '38-2=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[82, 38, 2, 2], Operations: []
Exploring Operation: 38*2=76, Resulting Numbers: [82, 2, 76]
Generated Node #0,0: 77:[82, 2, 76] Operation: 38*2=76
Exploring Operation: 38*2=76, Resulting Numbers: [82, 2, 76]
Generated Node #0,1: 77:[82, 2, 76] Operation: 38*2=76
Moving to Node #0,0
Current State: 77:[82, 2, 76], Operations: ['38*2=76']
Exploring Operation: 82-76=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 77:[2, 6] Operation: 82-76=6
Exploring Operation: 82-2=80, Resulting Numbers: [76, 80]
Generated Node #0,0,1: 77:[76, 80] Operation: 82-2=80
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[76, 80], Operations: ['38*2=76', '82-2=80']
Exploring Operation: 76+80=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[2, 6], Operations: ['38*2=76', '82-76=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,77 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: 77:[82, 2, 76], Operations: ['38*2=76']
Exploring Operation: 82-76=6, Resulting Numbers: [2, 6]
Generated Node #0,1,0: 77:[2, 6] Operation: 82-76=6
Exploring Operation: 82-2=80, Resulting Numbers: [76, 80]
Generated Node #0,1,1: 77:[76, 80] Operation: 82-2=80
Moving to Node #0,1,1
Current State: 77:[76, 80], Operations: ['38*2=76', '82-2=80']
Exploring Operation: 76+80=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[2, 6], Operations: ['38*2=76', '82-76=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
81,
34,
19,
61
] | 33 | [
"81-34=47",
"19+61=80",
"80-47=33"
] | Current State: 33:[81, 34, 19, 61], Operations: []
Exploring Operation: 81-34=47, Resulting Numbers: [19, 61, 47]
Generated Node #2: [19, 61, 47] from Operation: 81-34=47
Current State: 33:[19, 61, 47], Operations: ['81-34=47']
Exploring Operation: 19+61=80, Resulting Numbers: [47, 80]
Generated Node #3: [47, 80] from Operation: 19+61=80
Current State: 33:[47, 80], Operations: ['81-34=47', '19+61=80']
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[81, 34, 19, 61], Operations: []
Exploring Operation: 81-61=20, Resulting Numbers: [34, 19, 20]
Generated Node #0,0: 33:[34, 19, 20] Operation: 81-61=20
Exploring Operation: 81-34=47, Resulting Numbers: [19, 61, 47]
Generated Node #0,1: 33:[19, 61, 47] Operation: 81-34=47
Exploring Operation: 81-19=62, Resulting Numbers: [34, 61, 62]
Generated Node #0,2: 33:[34, 61, 62] Operation: 81-19=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[34, 19, 20], Operations: ['81-61=20']
Exploring Operation: 34-20=14, Resulting Numbers: [19, 14]
Generated Node #0,0,0: 33:[19, 14] Operation: 34-20=14
Exploring Operation: 20-19=1, Resulting Numbers: [34, 1]
Generated Node #0,0,1: 33:[34, 1] Operation: 20-19=1
Exploring Operation: 19+20=39, Resulting Numbers: [34, 39]
Generated Node #0,0,2: 33:[34, 39] Operation: 19+20=39
Moving to Node #0,0,1
Current State: 33:[34, 1], Operations: ['81-61=20', '20-19=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[81, 34, 19, 61], Operations: []
Exploring Operation: 81-61=20, Resulting Numbers: [34, 19, 20]
Generated Node #0,0: 33:[34, 19, 20] Operation: 81-61=20
Moving to Node #0,0
Current State: 33:[34, 19, 20], Operations: ['81-61=20']
Exploring Operation: 20-19=1, Resulting Numbers: [34, 1]
Generated Node #0,0,1: 33:[34, 1] Operation: 20-19=1
Moving to Node #0,0,1
Current State: 33:[34, 1], Operations: ['81-61=20', '20-19=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
1,
74,
9,
5
] | 61 | [
"1+74=75",
"9+5=14",
"75-14=61"
] | Current State: 61:[1, 74, 9, 5], Operations: []
Exploring Operation: 1+74=75, Resulting Numbers: [9, 5, 75]
Generated Node #2: [9, 5, 75] from Operation: 1+74=75
Current State: 61:[9, 5, 75], Operations: ['1+74=75']
Exploring Operation: 9+5=14, Resulting Numbers: [75, 14]
Generated Node #3: [75, 14] from Operation: 9+5=14
Current State: 61:[75, 14], Operations: ['1+74=75', '9+5=14']
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[1, 74, 9, 5], Operations: []
Exploring Operation: 1+9=10, Resulting Numbers: [74, 5, 10]
Generated Node #0,0: 61:[74, 5, 10] Operation: 1+9=10
Exploring Operation: 74-1=73, Resulting Numbers: [9, 5, 73]
Generated Node #0,1: 61:[9, 5, 73] Operation: 74-1=73
Exploring Operation: 9*5=45, Resulting Numbers: [1, 74, 45]
Generated Node #0,2: 61:[1, 74, 45] Operation: 9*5=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[1, 74, 45], Operations: ['9*5=45']
Exploring Operation: 74-1=73, Resulting Numbers: [45, 73]
Generated Node #0,2,0: 61:[45, 73] Operation: 74-1=73
Exploring Operation: 1*74=74, Resulting Numbers: [45, 74]
Generated Node #0,2,1: 61:[45, 74] Operation: 1*74=74
Exploring Operation: 1+45=46, Resulting Numbers: [74, 46]
Generated Node #0,2,2: 61:[74, 46] Operation: 1+45=46
Moving to Node #0,2,0
Current State: 61:[45, 73], Operations: ['9*5=45', '74-1=73']
Exploring Operation: 45*73=3285, Resulting Numbers: [3285]
3285,61 unequal: No Solution
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Exploring Operation: 45+73=118, Resulting Numbers: [118]
118,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[74, 46], Operations: ['9*5=45', '1+45=46']
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 74*46=3404, Resulting Numbers: [3404]
3404,61 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[45, 74], Operations: ['9*5=45', '1*74=74']
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 45*74=3330, Resulting Numbers: [3330]
3330,61 unequal: No Solution
Exploring Operation: 45+74=119, Resulting Numbers: [119]
119,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[74, 5, 10], Operations: ['1+9=10']
Exploring Operation: 74-10=64, Resulting Numbers: [5, 64]
Generated Node #0,0,0: 61:[5, 64] Operation: 74-10=64
Exploring Operation: 74-5=69, Resulting Numbers: [10, 69]
Generated Node #0,0,1: 61:[10, 69] Operation: 74-5=69
Exploring Operation: 5*10=50, Resulting Numbers: [74, 50]
Generated Node #0,0,2: 61:[74, 50] Operation: 5*10=50
Moving to Node #0,0,2
Current State: 61:[74, 50], Operations: ['1+9=10', '5*10=50']
Exploring Operation: 74*50=3700, Resulting Numbers: [3700]
3700,61 unequal: No Solution
Exploring Operation: 74+50=124, Resulting Numbers: [124]
124,61 unequal: No Solution
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[5, 64], Operations: ['1+9=10', '74-10=64']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[10, 69], Operations: ['1+9=10', '74-5=69']
Exploring Operation: 10+69=79, Resulting Numbers: [79]
79,61 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 10*69=690, Resulting Numbers: [690]
690,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
Current State: 61:[9, 5, 73], Operations: ['74-1=73']
Exploring Operation: 9+5=14, Resulting Numbers: [73, 14]
Generated Node #0,1,0: 61:[73, 14] Operation: 9+5=14
Exploring Operation: 9*5=45, Resulting Numbers: [73, 45]
Generated Node #0,1,1: 61:[73, 45] Operation: 9*5=45
Exploring Operation: 73-9=64, Resulting Numbers: [5, 64]
Generated Node #0,1,2: 61:[5, 64] Operation: 73-9=64
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[73, 45], Operations: ['74-1=73', '9*5=45']
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,61 unequal: No Solution
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,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:[73, 14], Operations: ['74-1=73', '9+5=14']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 73*14=1022, Resulting Numbers: [1022]
1022,61 unequal: No Solution
Exploring Operation: 73+14=87, Resulting Numbers: [87]
87,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:[5, 64], Operations: ['74-1=73', '73-9=64']
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,61 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,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_3 | sum_heuristic |
[
48,
21,
43,
8
] | 24 | [
"48-21=27",
"43+8=51",
"51-27=24"
] | Current State: 24:[48, 21, 43, 8], Operations: []
Exploring Operation: 48-21=27, Resulting Numbers: [43, 8, 27]
Generated Node #2: [43, 8, 27] from Operation: 48-21=27
Current State: 24:[43, 8, 27], Operations: ['48-21=27']
Exploring Operation: 43+8=51, Resulting Numbers: [27, 51]
Generated Node #3: [27, 51] from Operation: 43+8=51
Current State: 24:[27, 51], Operations: ['48-21=27', '43+8=51']
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[48, 21, 43, 8], Operations: []
Exploring Operation: 48/8=6, Resulting Numbers: [21, 43, 6]
Generated Node #0,0: 24:[21, 43, 6] Operation: 48/8=6
Exploring Operation: 48-21=27, Resulting Numbers: [43, 8, 27]
Generated Node #0,1: 24:[43, 8, 27] Operation: 48-21=27
Exploring Operation: 48-8=40, Resulting Numbers: [21, 43, 40]
Generated Node #0,2: 24:[21, 43, 40] Operation: 48-8=40
Exploring Operation: 48-43=5, Resulting Numbers: [21, 8, 5]
Generated Node #0,3: 24:[21, 8, 5] Operation: 48-43=5
Exploring Operation: 43-21=22, Resulting Numbers: [48, 8, 22]
Generated Node #0,4: 24:[48, 8, 22] Operation: 43-21=22
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[21, 8, 5], Operations: ['48-43=5']
Exploring Operation: 8-5=3, Resulting Numbers: [21, 3]
Generated Node #0,3,0: 24:[21, 3] Operation: 8-5=3
Exploring Operation: 21-5=16, Resulting Numbers: [8, 16]
Generated Node #0,3,1: 24:[8, 16] Operation: 21-5=16
Exploring Operation: 8+5=13, Resulting Numbers: [21, 13]
Generated Node #0,3,2: 24:[21, 13] Operation: 8+5=13
Exploring Operation: 21+5=26, Resulting Numbers: [8, 26]
Generated Node #0,3,3: 24:[8, 26] Operation: 21+5=26
Exploring Operation: 21-8=13, Resulting Numbers: [5, 13]
Generated Node #0,3,4: 24:[5, 13] Operation: 21-8=13
Moving to Node #0,3,3
Current State: 24:[8, 26], Operations: ['48-43=5', '21+5=26']
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,24 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Moving to Node #0,3,4
Current State: 24:[5, 13], Operations: ['48-43=5', '21-8=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,24 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[21, 3], Operations: ['48-43=5', '8-5=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[48, 21, 43, 8], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [21, 8, 5]
Generated Node #0,3: 24:[21, 8, 5] Operation: 48-43=5
Moving to Node #0,3
Current State: 24:[21, 8, 5], Operations: ['48-43=5']
Exploring Operation: 8-5=3, Resulting Numbers: [21, 3]
Generated Node #0,3,0: 24:[21, 3] Operation: 8-5=3
Moving to Node #0,3,0
Current State: 24:[21, 3], Operations: ['48-43=5', '8-5=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
20,
21,
39,
37
] | 40 | [
"21+39=60",
"60/20=3",
"37+3=40"
] | Current State: 40:[20, 21, 39, 37], Operations: []
Exploring Operation: 21+39=60, Resulting Numbers: [20, 37, 60]
Generated Node #2: [20, 37, 60] from Operation: 21+39=60
Current State: 40:[20, 37, 60], Operations: ['21+39=60']
Exploring Operation: 60/20=3, Resulting Numbers: [37, 3]
Generated Node #3: [37, 3] from Operation: 60/20=3
Current State: 40:[37, 3], Operations: ['21+39=60', '60/20=3']
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[20, 21, 39, 37], Operations: []
Exploring Operation: 21-20=1, Resulting Numbers: [39, 37, 1]
Generated Node #0,0: 40:[39, 37, 1] Operation: 21-20=1
Exploring Operation: 39-20=19, Resulting Numbers: [21, 37, 19]
Generated Node #0,1: 40:[21, 37, 19] Operation: 39-20=19
Exploring Operation: 20+21=41, Resulting Numbers: [39, 37, 41]
Generated Node #0,2: 40:[39, 37, 41] Operation: 20+21=41
Exploring Operation: 39-37=2, Resulting Numbers: [20, 21, 2]
Generated Node #0,3: 40:[20, 21, 2] Operation: 39-37=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[20, 21, 2], Operations: ['39-37=2']
Exploring Operation: 20+21=41, Resulting Numbers: [2, 41]
Generated Node #0,3,0: 40:[2, 41] Operation: 20+21=41
Exploring Operation: 21-20=1, Resulting Numbers: [2, 1]
Generated Node #0,3,1: 40:[2, 1] Operation: 21-20=1
Exploring Operation: 20/2=10, Resulting Numbers: [21, 10]
Generated Node #0,3,2: 40:[21, 10] Operation: 20/2=10
Exploring Operation: 20*2=40, Resulting Numbers: [21, 40]
Generated Node #0,3,3: 40:[21, 40] Operation: 20*2=40
Moving to Node #0,3,0
Current State: 40:[2, 41], Operations: ['39-37=2', '20+21=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[21, 10], Operations: ['39-37=2', '20/2=10']
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[2, 1], Operations: ['39-37=2', '21-20=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[21, 40], Operations: ['39-37=2', '20*2=40']
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,40 unequal: No Solution
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,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,0
Current State: 40:[39, 37, 1], Operations: ['21-20=1']
Exploring Operation: 39+1=40, Resulting Numbers: [37, 40]
Generated Node #0,0,0: 40:[37, 40] Operation: 39+1=40
Exploring Operation: 37+1=38, Resulting Numbers: [39, 38]
Generated Node #0,0,1: 40:[39, 38] Operation: 37+1=38
Exploring Operation: 39-37=2, Resulting Numbers: [1, 2]
Generated Node #0,0,2: 40:[1, 2] Operation: 39-37=2
Exploring Operation: 39*1=39, Resulting Numbers: [37, 39]
Generated Node #0,0,3: 40:[37, 39] Operation: 39*1=39
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 40:[1, 2], Operations: ['21-20=1', '39-37=2']
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,40 unequal: No Solution
No 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: 40:[37, 40], Operations: ['21-20=1', '39+1=40']
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,40 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,40 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,40 unequal: No Solution
No 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: 40:[39, 38], Operations: ['21-20=1', '37+1=38']
Exploring Operation: 39+38=77, Resulting Numbers: [77]
77,40 unequal: No Solution
Exploring Operation: 39*38=1482, Resulting Numbers: [1482]
1482,40 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No 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: 40:[37, 39], Operations: ['21-20=1', '39*1=39']
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,40 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,40 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: 40:[21, 37, 19], Operations: ['39-20=19']
Exploring Operation: 21-19=2, Resulting Numbers: [37, 2]
Generated Node #0,1,0: 40:[37, 2] Operation: 21-19=2
Exploring Operation: 21+19=40, Resulting Numbers: [37, 40]
Generated Node #0,1,1: 40:[37, 40] Operation: 21+19=40
Exploring Operation: 37-19=18, Resulting Numbers: [21, 18]
Generated Node #0,1,2: 40:[21, 18] Operation: 37-19=18
Exploring Operation: 37-21=16, Resulting Numbers: [19, 16]
Generated Node #0,1,3: 40:[19, 16] Operation: 37-21=16
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 40:[37, 2], Operations: ['39-20=19', '21-19=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,40 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,40 unequal: No Solution
No 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: 40:[37, 40], Operations: ['39-20=19', '21+19=40']
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,40 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,40 unequal: No Solution
No 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: 40:[21, 18], Operations: ['39-20=19', '37-19=18']
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,40 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,40 unequal: No Solution
No 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: 40:[19, 16], Operations: ['39-20=19', '37-21=16']
Exploring Operation: 19*16=304, Resulting Numbers: [304]
304,40 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,40 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: 40:[39, 37, 41], Operations: ['20+21=41']
Exploring Operation: 39+37=76, Resulting Numbers: [41, 76]
Generated Node #0,2,0: 40:[41, 76] Operation: 39+37=76
Exploring Operation: 41-39=2, Resulting Numbers: [37, 2]
Generated Node #0,2,1: 40:[37, 2] Operation: 41-39=2
Exploring Operation: 39-37=2, Resulting Numbers: [41, 2]
Generated Node #0,2,2: 40:[41, 2] Operation: 39-37=2
Exploring Operation: 41-37=4, Resulting Numbers: [39, 4]
Generated Node #0,2,3: 40:[39, 4] Operation: 41-37=4
Moving to Node #0,2,2
Current State: 40:[41, 2], Operations: ['20+21=41', '39-37=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[39, 4], Operations: ['20+21=41', '41-37=4']
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 39*4=156, Resulting Numbers: [156]
156,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[37, 2], Operations: ['20+21=41', '41-39=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,40 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[41, 76], Operations: ['20+21=41', '39+37=76']
Exploring Operation: 41*76=3116, Resulting Numbers: [3116]
3116,40 unequal: No Solution
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 41+76=117, Resulting Numbers: [117]
117,40 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 |
[
78,
45,
25,
2
] | 73 | [
"78+45=123",
"25*2=50",
"123-50=73"
] | Current State: 73:[78, 45, 25, 2], Operations: []
Exploring Operation: 78+45=123, Resulting Numbers: [25, 2, 123]
Generated Node #2: [25, 2, 123] from Operation: 78+45=123
Current State: 73:[25, 2, 123], Operations: ['78+45=123']
Exploring Operation: 25*2=50, Resulting Numbers: [123, 50]
Generated Node #3: [123, 50] from Operation: 25*2=50
Current State: 73:[123, 50], Operations: ['78+45=123', '25*2=50']
Exploring Operation: 123-50=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[78, 45, 25, 2], Operations: []
Exploring Operation: 45+2=47, Resulting Numbers: [78, 25, 47]
Generated Node #0,0: 73:[78, 25, 47] Operation: 45+2=47
Exploring Operation: 78-2=76, Resulting Numbers: [45, 25, 76]
Generated Node #0,1: 73:[45, 25, 76] Operation: 78-2=76
Exploring Operation: 25*2=50, Resulting Numbers: [78, 45, 50]
Generated Node #0,2: 73:[78, 45, 50] Operation: 25*2=50
Exploring Operation: 45*2=90, Resulting Numbers: [78, 25, 90]
Generated Node #0,3: 73:[78, 25, 90] Operation: 45*2=90
Exploring Operation: 45+25=70, Resulting Numbers: [78, 2, 70]
Generated Node #0,4: 73:[78, 2, 70] Operation: 45+25=70
Moving to Node #0,2
Current State: 73:[78, 45, 50], Operations: ['25*2=50']
Exploring Operation: 78-45=33, Resulting Numbers: [50, 33]
Generated Node #0,2,0: 73:[50, 33] Operation: 78-45=33
Exploring Operation: 50-45=5, Resulting Numbers: [78, 5]
Generated Node #0,2,1: 73:[78, 5] Operation: 50-45=5
Exploring Operation: 78-50=28, Resulting Numbers: [45, 28]
Generated Node #0,2,2: 73:[45, 28] Operation: 78-50=28
Exploring Operation: 78+45=123, Resulting Numbers: [50, 123]
Generated Node #0,2,3: 73:[50, 123] Operation: 78+45=123
Exploring Operation: 45+50=95, Resulting Numbers: [78, 95]
Generated Node #0,2,4: 73:[78, 95] Operation: 45+50=95
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 73:[78, 95], Operations: ['25*2=50', '45+50=95']
Exploring Operation: 95-78=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 78+95=173, Resulting Numbers: [173]
173,73 unequal: No Solution
Exploring Operation: 78*95=7410, Resulting Numbers: [7410]
7410,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[50, 33], Operations: ['25*2=50', '78-45=33']
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 50+33=83, Resulting Numbers: [83]
83,73 unequal: No Solution
Exploring Operation: 50*33=1650, Resulting Numbers: [1650]
1650,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[78, 5], Operations: ['25*2=50', '50-45=5']
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[78, 45, 25, 2], Operations: []
Exploring Operation: 25*2=50, Resulting Numbers: [78, 45, 50]
Generated Node #0,2: 73:[78, 45, 50] Operation: 25*2=50
Moving to Node #0,2
Current State: 73:[78, 45, 50], Operations: ['25*2=50']
Exploring Operation: 50-45=5, Resulting Numbers: [78, 5]
Generated Node #0,2,1: 73:[78, 5] Operation: 50-45=5
Moving to Node #0,2,1
Current State: 73:[78, 5], Operations: ['25*2=50', '50-45=5']
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
9,
55,
53,
71
] | 46 | [
"9+55=64",
"71-53=18",
"64-18=46"
] | Current State: 46:[9, 55, 53, 71], Operations: []
Exploring Operation: 9+55=64, Resulting Numbers: [53, 71, 64]
Generated Node #2: [53, 71, 64] from Operation: 9+55=64
Current State: 46:[53, 71, 64], Operations: ['9+55=64']
Exploring Operation: 71-53=18, Resulting Numbers: [64, 18]
Generated Node #3: [64, 18] from Operation: 71-53=18
Current State: 46:[64, 18], Operations: ['9+55=64', '71-53=18']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[9, 55, 53, 71], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [9, 55, 18]
Generated Node #0,0: 46:[9, 55, 18] Operation: 71-53=18
Exploring Operation: 55-9=46, Resulting Numbers: [53, 71, 46]
Generated Node #0,1: 46:[53, 71, 46] Operation: 55-9=46
Exploring Operation: 71-55=16, Resulting Numbers: [9, 53, 16]
Generated Node #0,2: 46:[9, 53, 16] Operation: 71-55=16
Moving to Node #0,0
Current State: 46:[9, 55, 18], Operations: ['71-53=18']
Exploring Operation: 55-9=46, Resulting Numbers: [18, 46]
Generated Node #0,0,0: 46:[18, 46] Operation: 55-9=46
Exploring Operation: 18/9=2, Resulting Numbers: [55, 2]
Generated Node #0,0,1: 46:[55, 2] Operation: 18/9=2
Exploring Operation: 9+18=27, Resulting Numbers: [55, 27]
Generated Node #0,0,2: 46:[55, 27] Operation: 9+18=27
Moving to Node #0,2
Current State: 46:[9, 53, 16], Operations: ['71-55=16']
Exploring Operation: 16-9=7, Resulting Numbers: [53, 7]
Generated Node #0,2,0: 46:[53, 7] Operation: 16-9=7
Exploring Operation: 53-9=44, Resulting Numbers: [16, 44]
Generated Node #0,2,1: 46:[16, 44] Operation: 53-9=44
Exploring Operation: 9+16=25, Resulting Numbers: [53, 25]
Generated Node #0,2,2: 46:[53, 25] Operation: 9+16=25
Moving to Node #0,1
Current State: 46:[53, 71, 46], Operations: ['55-9=46']
Exploring Operation: 71-46=25, Resulting Numbers: [53, 25]
Generated Node #0,1,0: 46:[53, 25] Operation: 71-46=25
Exploring Operation: 71-53=18, Resulting Numbers: [46, 18]
Generated Node #0,1,1: 46:[46, 18] Operation: 71-53=18
Exploring Operation: 53-46=7, Resulting Numbers: [71, 7]
Generated Node #0,1,2: 46:[71, 7] Operation: 53-46=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[46, 18], Operations: ['55-9=46', '71-53=18']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,46 unequal: No Solution
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[53, 25], Operations: ['55-9=46', '71-46=25']
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[71, 7], Operations: ['55-9=46', '53-46=7']
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,46 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,46 unequal: No Solution
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,46 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: 46:[18, 46], Operations: ['71-53=18', '55-9=46']
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,46 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 18*46=828, Resulting Numbers: [828]
828,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[55, 2], Operations: ['71-53=18', '18/9=2']
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,46 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[53, 25], Operations: ['71-55=16', '9+16=25']
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,46 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[16, 44], Operations: ['71-55=16', '53-9=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[53, 7], Operations: ['71-55=16', '16-9=7']
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,46 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[9, 55, 53, 71], Operations: []
Exploring Operation: 71-55=16, Resulting Numbers: [9, 53, 16]
Generated Node #0,2: 46:[9, 53, 16] Operation: 71-55=16
Moving to Node #0,2
Current State: 46:[9, 53, 16], Operations: ['71-55=16']
Exploring Operation: 16-9=7, Resulting Numbers: [53, 7]
Generated Node #0,2,0: 46:[53, 7] Operation: 16-9=7
Moving to Node #0,2,0
Current State: 46:[53, 7], Operations: ['71-55=16', '16-9=7']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.966146 | hs_3 | sum_heuristic |
[
75,
16,
52,
72
] | 39 | [
"75-16=59",
"72-52=20",
"59-20=39"
] | Current State: 39:[75, 16, 52, 72], Operations: []
Exploring Operation: 75-16=59, Resulting Numbers: [52, 72, 59]
Generated Node #2: [52, 72, 59] from Operation: 75-16=59
Current State: 39:[52, 72, 59], Operations: ['75-16=59']
Exploring Operation: 72-52=20, Resulting Numbers: [59, 20]
Generated Node #3: [59, 20] from Operation: 72-52=20
Current State: 39:[59, 20], Operations: ['75-16=59', '72-52=20']
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[75, 16, 52, 72], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [16, 52, 3]
Generated Node #0,0: 39:[16, 52, 3] Operation: 75-72=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[16, 52, 3], Operations: ['75-72=3']
Exploring Operation: 52-16=36, Resulting Numbers: [3, 36]
Generated Node #0,0,0: 39:[3, 36] Operation: 52-16=36
Moving to Node #0,0,0
Current State: 39:[3, 36], Operations: ['75-72=3', '52-16=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[75, 16, 52, 72], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [16, 52, 3]
Generated Node #0,0: 39:[16, 52, 3] Operation: 75-72=3
Moving to Node #0,0
Current State: 39:[16, 52, 3], Operations: ['75-72=3']
Exploring Operation: 52-16=36, Resulting Numbers: [3, 36]
Generated Node #0,0,0: 39:[3, 36] Operation: 52-16=36
Moving to Node #0,0,0
Current State: 39:[3, 36], Operations: ['75-72=3', '52-16=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
9,
54,
11,
38
] | 28 | [
"54/9=6",
"11*6=66",
"66-38=28"
] | Current State: 28:[9, 54, 11, 38], Operations: []
Exploring Operation: 54/9=6, Resulting Numbers: [11, 38, 6]
Generated Node #2: [11, 38, 6] from Operation: 54/9=6
Current State: 28:[11, 38, 6], Operations: ['54/9=6']
Exploring Operation: 11*6=66, Resulting Numbers: [38, 66]
Generated Node #3: [38, 66] from Operation: 11*6=66
Current State: 28:[38, 66], Operations: ['54/9=6', '11*6=66']
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[9, 54, 11, 38], Operations: []
Exploring Operation: 54-38=16, Resulting Numbers: [9, 11, 16]
Generated Node #0,0: 28:[9, 11, 16] Operation: 54-38=16
Exploring Operation: 38-11=27, Resulting Numbers: [9, 54, 27]
Generated Node #0,1: 28:[9, 54, 27] Operation: 38-11=27
Exploring Operation: 54-9=45, Resulting Numbers: [11, 38, 45]
Generated Node #0,2: 28:[11, 38, 45] Operation: 54-9=45
Exploring Operation: 54/9=6, Resulting Numbers: [11, 38, 6]
Generated Node #0,3: 28:[11, 38, 6] Operation: 54/9=6
Exploring Operation: 54-11=43, Resulting Numbers: [9, 38, 43]
Generated Node #0,4: 28:[9, 38, 43] Operation: 54-11=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[9, 11, 16], Operations: ['54-38=16']
Exploring Operation: 16-9=7, Resulting Numbers: [11, 7]
Generated Node #0,0,0: 28:[11, 7] Operation: 16-9=7
Exploring Operation: 9+16=25, Resulting Numbers: [11, 25]
Generated Node #0,0,1: 28:[11, 25] Operation: 9+16=25
Exploring Operation: 16-11=5, Resulting Numbers: [9, 5]
Generated Node #0,0,2: 28:[9, 5] Operation: 16-11=5
Exploring Operation: 11-9=2, Resulting Numbers: [16, 2]
Generated Node #0,0,3: 28:[16, 2] Operation: 11-9=2
Exploring Operation: 11+16=27, Resulting Numbers: [9, 27]
Generated Node #0,0,4: 28:[9, 27] Operation: 11+16=27
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 28:[16, 2], Operations: ['54-38=16', '11-9=2']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,28 unequal: No Solution
No 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: 28:[11, 7], Operations: ['54-38=16', '16-9=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,28 unequal: No Solution
No 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: 28:[9, 5], Operations: ['54-38=16', '16-11=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,28 unequal: No Solution
No 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: 28:[9, 27], Operations: ['54-38=16', '11+16=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,28 unequal: No Solution
No 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: 28:[11, 25], Operations: ['54-38=16', '9+16=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,28 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: 28:[11, 38, 6], Operations: ['54/9=6']
Exploring Operation: 38+6=44, Resulting Numbers: [11, 44]
Generated Node #0,3,0: 28:[11, 44] Operation: 38+6=44
Exploring Operation: 11-6=5, Resulting Numbers: [38, 5]
Generated Node #0,3,1: 28:[38, 5] Operation: 11-6=5
Exploring Operation: 38-11=27, Resulting Numbers: [6, 27]
Generated Node #0,3,2: 28:[6, 27] Operation: 38-11=27
Exploring Operation: 11+6=17, Resulting Numbers: [38, 17]
Generated Node #0,3,3: 28:[38, 17] Operation: 11+6=17
Exploring Operation: 38-6=32, Resulting Numbers: [11, 32]
Generated Node #0,3,4: 28:[11, 32] Operation: 38-6=32
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 28:[6, 27], Operations: ['54/9=6', '38-11=27']
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,28 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,28 unequal: No Solution
No 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: 28:[11, 32], Operations: ['54/9=6', '38-6=32']
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,28 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,28 unequal: No Solution
No 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: 28:[38, 5], Operations: ['54/9=6', '11-6=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,28 unequal: No Solution
No 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: 28:[38, 17], Operations: ['54/9=6', '11+6=17']
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 38*17=646, Resulting Numbers: [646]
646,28 unequal: No Solution
No 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: 28:[11, 44], Operations: ['54/9=6', '38+6=44']
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 11*44=484, Resulting Numbers: [484]
484,28 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: 28:[9, 38, 43], Operations: ['54-11=43']
Exploring Operation: 43-9=34, Resulting Numbers: [38, 34]
Generated Node #0,4,0: 28:[38, 34] Operation: 43-9=34
Exploring Operation: 9+43=52, Resulting Numbers: [38, 52]
Generated Node #0,4,1: 28:[38, 52] Operation: 9+43=52
Exploring Operation: 38-9=29, Resulting Numbers: [43, 29]
Generated Node #0,4,2: 28:[43, 29] Operation: 38-9=29
Exploring Operation: 43-38=5, Resulting Numbers: [9, 5]
Generated Node #0,4,3: 28:[9, 5] Operation: 43-38=5
Exploring Operation: 9+38=47, Resulting Numbers: [43, 47]
Generated Node #0,4,4: 28:[43, 47] Operation: 9+38=47
Moving to Node #0,4,3
Current State: 28:[9, 5], Operations: ['54-11=43', '43-38=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Moving to Node #0,4,2
Current State: 28:[43, 29], Operations: ['54-11=43', '38-9=29']
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,28 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Moving to Node #0,4,0
Current State: 28:[38, 34], Operations: ['54-11=43', '43-9=34']
Exploring Operation: 38+34=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 38*34=1292, Resulting Numbers: [1292]
1292,28 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Moving to Node #0,4,1
Current State: 28:[38, 52], Operations: ['54-11=43', '9+43=52']
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 38+52=90, Resulting Numbers: [90]
90,28 unequal: No Solution
Exploring Operation: 38*52=1976, Resulting Numbers: [1976]
1976,28 unequal: No Solution
Moving to Node #0,4,4
Current State: 28:[43, 47], Operations: ['54-11=43', '9+38=47']
Exploring Operation: 43+47=90, Resulting Numbers: [90]
90,28 unequal: No Solution
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 43*47=2021, Resulting Numbers: [2021]
2021,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[9, 54, 27], Operations: ['38-11=27']
Exploring Operation: 54/27=2, Resulting Numbers: [9, 2]
Generated Node #0,1,0: 28:[9, 2] Operation: 54/27=2
Exploring Operation: 54-9=45, Resulting Numbers: [27, 45]
Generated Node #0,1,1: 28:[27, 45] Operation: 54-9=45
Exploring Operation: 54/9=6, Resulting Numbers: [27, 6]
Generated Node #0,1,2: 28:[27, 6] Operation: 54/9=6
Exploring Operation: 27/9=3, Resulting Numbers: [54, 3]
Generated Node #0,1,3: 28:[54, 3] Operation: 27/9=3
Exploring Operation: 54-27=27, Resulting Numbers: [9, 27]
Generated Node #0,1,4: 28:[9, 27] Operation: 54-27=27
Moving to Node #0,1,0
Current State: 28:[9, 2], Operations: ['38-11=27', '54/27=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[27, 6], Operations: ['38-11=27', '54/9=6']
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,28 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Moving to Node #0,1,4
Current State: 28:[9, 27], Operations: ['38-11=27', '54-27=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[27, 45], Operations: ['38-11=27', '54-9=45']
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 27*45=1215, Resulting Numbers: [1215]
1215,28 unequal: No Solution
Exploring Operation: 27+45=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[54, 3], Operations: ['38-11=27', '27/9=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,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,2
Current State: 28:[11, 38, 45], Operations: ['54-9=45']
Exploring Operation: 11+45=56, Resulting Numbers: [38, 56]
Generated Node #0,2,0: 28:[38, 56] Operation: 11+45=56
Exploring Operation: 45-11=34, Resulting Numbers: [38, 34]
Generated Node #0,2,1: 28:[38, 34] Operation: 45-11=34
Exploring Operation: 11+38=49, Resulting Numbers: [45, 49]
Generated Node #0,2,2: 28:[45, 49] Operation: 11+38=49
Exploring Operation: 45-38=7, Resulting Numbers: [11, 7]
Generated Node #0,2,3: 28:[11, 7] Operation: 45-38=7
Exploring Operation: 38-11=27, Resulting Numbers: [45, 27]
Generated Node #0,2,4: 28:[45, 27] Operation: 38-11=27
Moving to Node #0,2,3
Current State: 28:[11, 7], Operations: ['54-9=45', '45-38=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[38, 34], Operations: ['54-9=45', '45-11=34']
Exploring Operation: 38*34=1292, Resulting Numbers: [1292]
1292,28 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 38+34=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Moving to Node #0,2,4
Current State: 28:[45, 27], Operations: ['54-9=45', '38-11=27']
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,28 unequal: No Solution
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[38, 56], Operations: ['54-9=45', '11+45=56']
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,28 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[45, 49], Operations: ['54-9=45', '11+38=49']
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,28 unequal: No Solution
Exploring Operation: 45*49=2205, Resulting Numbers: [2205]
2205,28 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,28 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 |
[
59,
98,
90,
29
] | 49 | [
"90-59=31",
"31-29=2",
"98/2=49"
] | Current State: 49:[59, 98, 90, 29], Operations: []
Exploring Operation: 90-59=31, Resulting Numbers: [98, 29, 31]
Generated Node #2: [98, 29, 31] from Operation: 90-59=31
Current State: 49:[98, 29, 31], Operations: ['90-59=31']
Exploring Operation: 31-29=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 31-29=2
Current State: 49:[98, 2], Operations: ['90-59=31', '31-29=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[59, 98, 90, 29], Operations: []
Exploring Operation: 98-59=39, Resulting Numbers: [90, 29, 39]
Generated Node #0,0: 49:[90, 29, 39] Operation: 98-59=39
Exploring Operation: 90-29=61, Resulting Numbers: [59, 98, 61]
Generated Node #0,1: 49:[59, 98, 61] Operation: 90-29=61
Exploring Operation: 98-90=8, Resulting Numbers: [59, 29, 8]
Generated Node #0,2: 49:[59, 29, 8] Operation: 98-90=8
Exploring Operation: 98-29=69, Resulting Numbers: [59, 90, 69]
Generated Node #0,3: 49:[59, 90, 69] Operation: 98-29=69
Moving to Node #0,2
Current State: 49:[59, 29, 8], Operations: ['98-90=8']
Exploring Operation: 59-29=30, Resulting Numbers: [8, 30]
Generated Node #0,2,0: 49:[8, 30] Operation: 59-29=30
Exploring Operation: 29+8=37, Resulting Numbers: [59, 37]
Generated Node #0,2,1: 49:[59, 37] Operation: 29+8=37
Exploring Operation: 29-8=21, Resulting Numbers: [59, 21]
Generated Node #0,2,2: 49:[59, 21] Operation: 29-8=21
Exploring Operation: 59-8=51, Resulting Numbers: [29, 51]
Generated Node #0,2,3: 49:[29, 51] Operation: 59-8=51
Moving to Node #0,1
Current State: 49:[59, 98, 61], Operations: ['90-29=61']
Exploring Operation: 98-61=37, Resulting Numbers: [59, 37]
Generated Node #0,1,0: 49:[59, 37] Operation: 98-61=37
Exploring Operation: 59+98=157, Resulting Numbers: [61, 157]
Generated Node #0,1,1: 49:[61, 157] Operation: 59+98=157
Exploring Operation: 61-59=2, Resulting Numbers: [98, 2]
Generated Node #0,1,2: 49:[98, 2] Operation: 61-59=2
Exploring Operation: 98-59=39, Resulting Numbers: [61, 39]
Generated Node #0,1,3: 49:[61, 39] Operation: 98-59=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[59, 37], Operations: ['90-29=61', '98-61=37']
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,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,1,3
Current State: 49:[61, 39], Operations: ['90-29=61', '98-59=39']
Exploring Operation: 61*39=2379, Resulting Numbers: [2379]
2379,49 unequal: No Solution
Exploring Operation: 61+39=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,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,1,2
Current State: 49:[98, 2], Operations: ['90-29=61', '61-59=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 98*2=196, Resulting Numbers: [196]
196,49 unequal: No Solution
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[59, 98, 90, 29], Operations: []
Exploring Operation: 90-29=61, Resulting Numbers: [59, 98, 61]
Generated Node #0,1: 49:[59, 98, 61] Operation: 90-29=61
Moving to Node #0,1
Current State: 49:[59, 98, 61], Operations: ['90-29=61']
Exploring Operation: 61-59=2, Resulting Numbers: [98, 2]
Generated Node #0,1,2: 49:[98, 2] Operation: 61-59=2
Moving to Node #0,1,2
Current State: 49:[98, 2], Operations: ['90-29=61', '61-59=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | sum_heuristic |
[
72,
87,
98,
46
] | 89 | [
"98+46=144",
"144/72=2",
"87+2=89"
] | Current State: 89:[72, 87, 98, 46], Operations: []
Exploring Operation: 98+46=144, Resulting Numbers: [72, 87, 144]
Generated Node #2: [72, 87, 144] from Operation: 98+46=144
Current State: 89:[72, 87, 144], Operations: ['98+46=144']
Exploring Operation: 144/72=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 144/72=2
Current State: 89:[87, 2], Operations: ['98+46=144', '144/72=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[72, 87, 98, 46], Operations: []
Exploring Operation: 87+46=133, Resulting Numbers: [72, 98, 133]
Generated Node #0,0: 89:[72, 98, 133] Operation: 87+46=133
Exploring Operation: 98-46=52, Resulting Numbers: [72, 87, 52]
Generated Node #0,1: 89:[72, 87, 52] Operation: 98-46=52
Exploring Operation: 72-46=26, Resulting Numbers: [87, 98, 26]
Generated Node #0,2: 89:[87, 98, 26] Operation: 72-46=26
Exploring Operation: 72+46=118, Resulting Numbers: [87, 98, 118]
Generated Node #0,3: 89:[87, 98, 118] Operation: 72+46=118
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[87, 98, 118], Operations: ['72+46=118']
Exploring Operation: 98-87=11, Resulting Numbers: [118, 11]
Generated Node #0,3,0: 89:[118, 11] Operation: 98-87=11
Exploring Operation: 87+98=185, Resulting Numbers: [118, 185]
Generated Node #0,3,1: 89:[118, 185] Operation: 87+98=185
Exploring Operation: 118-98=20, Resulting Numbers: [87, 20]
Generated Node #0,3,2: 89:[87, 20] Operation: 118-98=20
Exploring Operation: 118-87=31, Resulting Numbers: [98, 31]
Generated Node #0,3,3: 89:[98, 31] Operation: 118-87=31
Moving to Node #0,3,3
Current State: 89:[98, 31], Operations: ['72+46=118', '118-87=31']
Exploring Operation: 98*31=3038, Resulting Numbers: [3038]
3038,89 unequal: No Solution
Exploring Operation: 98+31=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[87, 20], Operations: ['72+46=118', '118-98=20']
Exploring Operation: 87+20=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 87*20=1740, Resulting Numbers: [1740]
1740,89 unequal: No Solution
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[118, 11], Operations: ['72+46=118', '98-87=11']
Exploring Operation: 118+11=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 118*11=1298, Resulting Numbers: [1298]
1298,89 unequal: No Solution
Exploring Operation: 118-11=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[118, 185], Operations: ['72+46=118', '87+98=185']
Exploring Operation: 185-118=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 118+185=303, Resulting Numbers: [303]
303,89 unequal: No Solution
Exploring Operation: 118*185=21830, Resulting Numbers: [21830]
21830,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[72, 87, 52], Operations: ['98-46=52']
Exploring Operation: 72-52=20, Resulting Numbers: [87, 20]
Generated Node #0,1,0: 89:[87, 20] Operation: 72-52=20
Exploring Operation: 72+52=124, Resulting Numbers: [87, 124]
Generated Node #0,1,1: 89:[87, 124] Operation: 72+52=124
Exploring Operation: 87-52=35, Resulting Numbers: [72, 35]
Generated Node #0,1,2: 89:[72, 35] Operation: 87-52=35
Exploring Operation: 87+52=139, Resulting Numbers: [72, 139]
Generated Node #0,1,3: 89:[72, 139] Operation: 87+52=139
Moving to Node #0,1,1
Current State: 89:[87, 124], Operations: ['98-46=52', '72+52=124']
Exploring Operation: 87*124=10788, Resulting Numbers: [10788]
10788,89 unequal: No Solution
Exploring Operation: 87+124=211, Resulting Numbers: [211]
211,89 unequal: No Solution
Exploring Operation: 124-87=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[72, 139], Operations: ['98-46=52', '87+52=139']
Exploring Operation: 139-72=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 72+139=211, Resulting Numbers: [211]
211,89 unequal: No Solution
Exploring Operation: 72*139=10008, Resulting Numbers: [10008]
10008,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[72, 35], Operations: ['98-46=52', '87-52=35']
Exploring Operation: 72*35=2520, Resulting Numbers: [2520]
2520,89 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 72+35=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[87, 20], Operations: ['98-46=52', '72-52=20']
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 87+20=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 87*20=1740, Resulting Numbers: [1740]
1740,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[72, 98, 133], Operations: ['87+46=133']
Exploring Operation: 133-72=61, Resulting Numbers: [98, 61]
Generated Node #0,0,0: 89:[98, 61] Operation: 133-72=61
Exploring Operation: 133-98=35, Resulting Numbers: [72, 35]
Generated Node #0,0,1: 89:[72, 35] Operation: 133-98=35
Exploring Operation: 98-72=26, Resulting Numbers: [133, 26]
Generated Node #0,0,2: 89:[133, 26] Operation: 98-72=26
Exploring Operation: 72+98=170, Resulting Numbers: [133, 170]
Generated Node #0,0,3: 89:[133, 170] Operation: 72+98=170
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[98, 61], Operations: ['87+46=133', '133-72=61']
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 98+61=159, Resulting Numbers: [159]
159,89 unequal: No Solution
Exploring Operation: 98*61=5978, Resulting Numbers: [5978]
5978,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[72, 35], Operations: ['87+46=133', '133-98=35']
Exploring Operation: 72+35=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 72*35=2520, Resulting Numbers: [2520]
2520,89 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[133, 26], Operations: ['87+46=133', '98-72=26']
Exploring Operation: 133-26=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 133*26=3458, Resulting Numbers: [3458]
3458,89 unequal: No Solution
Exploring Operation: 133+26=159, Resulting Numbers: [159]
159,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 89:[133, 170], Operations: ['87+46=133', '72+98=170']
Exploring Operation: 133*170=22610, Resulting Numbers: [22610]
22610,89 unequal: No Solution
Exploring Operation: 170-133=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 133+170=303, Resulting Numbers: [303]
303,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[87, 98, 26], Operations: ['72-46=26']
Exploring Operation: 98-26=72, Resulting Numbers: [87, 72]
Generated Node #0,2,0: 89:[87, 72] Operation: 98-26=72
Exploring Operation: 87+26=113, Resulting Numbers: [98, 113]
Generated Node #0,2,1: 89:[98, 113] Operation: 87+26=113
Exploring Operation: 98+26=124, Resulting Numbers: [87, 124]
Generated Node #0,2,2: 89:[87, 124] Operation: 98+26=124
Exploring Operation: 87-26=61, Resulting Numbers: [98, 61]
Generated Node #0,2,3: 89:[98, 61] Operation: 87-26=61
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[87, 72], Operations: ['72-46=26', '98-26=72']
Exploring Operation: 87+72=159, Resulting Numbers: [159]
159,89 unequal: No Solution
Exploring Operation: 87*72=6264, Resulting Numbers: [6264]
6264,89 unequal: No Solution
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[98, 113], Operations: ['72-46=26', '87+26=113']
Exploring Operation: 98+113=211, Resulting Numbers: [211]
211,89 unequal: No Solution
Exploring Operation: 113-98=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 98*113=11074, Resulting Numbers: [11074]
11074,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[87, 124], Operations: ['72-46=26', '98+26=124']
Exploring Operation: 124-87=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 87*124=10788, Resulting Numbers: [10788]
10788,89 unequal: No Solution
Exploring Operation: 87+124=211, Resulting Numbers: [211]
211,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 89:[98, 61], Operations: ['72-46=26', '87-26=61']
Exploring Operation: 98+61=159, Resulting Numbers: [159]
159,89 unequal: No Solution
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 98*61=5978, Resulting Numbers: [5978]
5978,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
21,
81,
2,
59
] | 86 | [
"21+81=102",
"102-59=43",
"2*43=86"
] | Current State: 86:[21, 81, 2, 59], Operations: []
Exploring Operation: 21+81=102, Resulting Numbers: [2, 59, 102]
Generated Node #2: [2, 59, 102] from Operation: 21+81=102
Current State: 86:[2, 59, 102], Operations: ['21+81=102']
Exploring Operation: 102-59=43, Resulting Numbers: [2, 43]
Generated Node #3: [2, 43] from Operation: 102-59=43
Current State: 86:[2, 43], Operations: ['21+81=102', '102-59=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[21, 81, 2, 59], Operations: []
Exploring Operation: 21+59=80, Resulting Numbers: [81, 2, 80]
Generated Node #0,0: 86:[81, 2, 80] Operation: 21+59=80
Exploring Operation: 21*2=42, Resulting Numbers: [81, 59, 42]
Generated Node #0,1: 86:[81, 59, 42] Operation: 21*2=42
Exploring Operation: 59-21=38, Resulting Numbers: [81, 2, 38]
Generated Node #0,2: 86:[81, 2, 38] Operation: 59-21=38
Exploring Operation: 21+81=102, Resulting Numbers: [2, 59, 102]
Generated Node #0,3: 86:[2, 59, 102] Operation: 21+81=102
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[81, 2, 38], Operations: ['59-21=38']
Exploring Operation: 2+38=40, Resulting Numbers: [81, 40]
Generated Node #0,2,0: 86:[81, 40] Operation: 2+38=40
Exploring Operation: 81+2=83, Resulting Numbers: [38, 83]
Generated Node #0,2,1: 86:[38, 83] Operation: 81+2=83
Exploring Operation: 81-38=43, Resulting Numbers: [2, 43]
Generated Node #0,2,2: 86:[2, 43] Operation: 81-38=43
Exploring Operation: 81-2=79, Resulting Numbers: [38, 79]
Generated Node #0,2,3: 86:[38, 79] Operation: 81-2=79
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 86:[2, 43], Operations: ['59-21=38', '81-38=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[21, 81, 2, 59], Operations: []
Exploring Operation: 59-21=38, Resulting Numbers: [81, 2, 38]
Generated Node #0,2: 86:[81, 2, 38] Operation: 59-21=38
Moving to Node #0,2
Current State: 86:[81, 2, 38], Operations: ['59-21=38']
Exploring Operation: 81-38=43, Resulting Numbers: [2, 43]
Generated Node #0,2,2: 86:[2, 43] Operation: 81-38=43
Moving to Node #0,2,2
Current State: 86:[2, 43], Operations: ['59-21=38', '81-38=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
26,
97,
48,
65
] | 42 | [
"97-26=71",
"48+65=113",
"113-71=42"
] | Current State: 42:[26, 97, 48, 65], Operations: []
Exploring Operation: 97-26=71, Resulting Numbers: [48, 65, 71]
Generated Node #2: [48, 65, 71] from Operation: 97-26=71
Current State: 42:[48, 65, 71], Operations: ['97-26=71']
Exploring Operation: 48+65=113, Resulting Numbers: [71, 113]
Generated Node #3: [71, 113] from Operation: 48+65=113
Current State: 42:[71, 113], Operations: ['97-26=71', '48+65=113']
Exploring Operation: 113-71=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[26, 97, 48, 65], Operations: []
Exploring Operation: 97-26=71, Resulting Numbers: [48, 65, 71]
Generated Node #0,0: 42:[48, 65, 71] Operation: 97-26=71
Exploring Operation: 97-48=49, Resulting Numbers: [26, 65, 49]
Generated Node #0,1: 42:[26, 65, 49] Operation: 97-48=49
Exploring Operation: 65-26=39, Resulting Numbers: [97, 48, 39]
Generated Node #0,2: 42:[97, 48, 39] Operation: 65-26=39
Exploring Operation: 65-48=17, Resulting Numbers: [26, 97, 17]
Generated Node #0,3: 42:[26, 97, 17] Operation: 65-48=17
Exploring Operation: 97-65=32, Resulting Numbers: [26, 48, 32]
Generated Node #0,4: 42:[26, 48, 32] Operation: 97-65=32
Moving to Node #0,4
Current State: 42:[26, 48, 32], Operations: ['97-65=32']
Exploring Operation: 48-32=16, Resulting Numbers: [26, 16]
Generated Node #0,4,0: 42:[26, 16] Operation: 48-32=16
Exploring Operation: 26+32=58, Resulting Numbers: [48, 58]
Generated Node #0,4,1: 42:[48, 58] Operation: 26+32=58
Exploring Operation: 32-26=6, Resulting Numbers: [48, 6]
Generated Node #0,4,2: 42:[48, 6] Operation: 32-26=6
Exploring Operation: 26+48=74, Resulting Numbers: [32, 74]
Generated Node #0,4,3: 42:[32, 74] Operation: 26+48=74
Exploring Operation: 48-26=22, Resulting Numbers: [32, 22]
Generated Node #0,4,4: 42:[32, 22] Operation: 48-26=22
Moving to Node #0,1
Current State: 42:[26, 65, 49], Operations: ['97-48=49']
Exploring Operation: 65-49=16, Resulting Numbers: [26, 16]
Generated Node #0,1,0: 42:[26, 16] Operation: 65-49=16
Exploring Operation: 26+49=75, Resulting Numbers: [65, 75]
Generated Node #0,1,1: 42:[65, 75] Operation: 26+49=75
Exploring Operation: 26+65=91, Resulting Numbers: [49, 91]
Generated Node #0,1,2: 42:[49, 91] Operation: 26+65=91
Exploring Operation: 65-26=39, Resulting Numbers: [49, 39]
Generated Node #0,1,3: 42:[49, 39] Operation: 65-26=39
Exploring Operation: 49-26=23, Resulting Numbers: [65, 23]
Generated Node #0,1,4: 42:[65, 23] Operation: 49-26=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[26, 16], Operations: ['97-48=49', '65-49=16']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,42 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[26, 97, 48, 65], Operations: []
Exploring Operation: 97-48=49, Resulting Numbers: [26, 65, 49]
Generated Node #0,1: 42:[26, 65, 49] Operation: 97-48=49
Moving to Node #0,1
Current State: 42:[26, 65, 49], Operations: ['97-48=49']
Exploring Operation: 65-49=16, Resulting Numbers: [26, 16]
Generated Node #0,1,0: 42:[26, 16] Operation: 65-49=16
Moving to Node #0,1,0
Current State: 42:[26, 16], Operations: ['97-48=49', '65-49=16']
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
71,
28,
94,
6
] | 45 | [
"71-28=43",
"94-6=88",
"88-43=45"
] | Current State: 45:[71, 28, 94, 6], Operations: []
Exploring Operation: 71-28=43, Resulting Numbers: [94, 6, 43]
Generated Node #2: [94, 6, 43] from Operation: 71-28=43
Current State: 45:[94, 6, 43], Operations: ['71-28=43']
Exploring Operation: 94-6=88, Resulting Numbers: [43, 88]
Generated Node #3: [43, 88] from Operation: 94-6=88
Current State: 45:[43, 88], Operations: ['71-28=43', '94-6=88']
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[71, 28, 94, 6], Operations: []
Exploring Operation: 71-28=43, Resulting Numbers: [94, 6, 43]
Generated Node #0,0: 45:[94, 6, 43] Operation: 71-28=43
Exploring Operation: 94-71=23, Resulting Numbers: [28, 6, 23]
Generated Node #0,1: 45:[28, 6, 23] Operation: 94-71=23
Exploring Operation: 94-28=66, Resulting Numbers: [71, 6, 66]
Generated Node #0,2: 45:[71, 6, 66] Operation: 94-28=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[28, 6, 23], Operations: ['94-71=23']
Exploring Operation: 28+23=51, Resulting Numbers: [6, 51]
Generated Node #0,1,0: 45:[6, 51] Operation: 28+23=51
Exploring Operation: 28-6=22, Resulting Numbers: [23, 22]
Generated Node #0,1,1: 45:[23, 22] Operation: 28-6=22
Exploring Operation: 28-23=5, Resulting Numbers: [6, 5]
Generated Node #0,1,2: 45:[6, 5] Operation: 28-23=5
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 45:[6, 5], Operations: ['94-71=23', '28-23=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[6, 51], Operations: ['94-71=23', '28+23=51']
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,45 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,45 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[71, 28, 94, 6], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [28, 6, 23]
Generated Node #0,1: 45:[28, 6, 23] Operation: 94-71=23
Moving to Node #0,1
Current State: 45:[28, 6, 23], Operations: ['94-71=23']
Exploring Operation: 28+23=51, Resulting Numbers: [6, 51]
Generated Node #0,1,0: 45:[6, 51] Operation: 28+23=51
Moving to Node #0,1,0
Current State: 45:[6, 51], Operations: ['94-71=23', '28+23=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
51,
16,
65,
82
] | 48 | [
"51*16=816",
"82-65=17",
"816/17=48"
] | Current State: 48:[51, 16, 65, 82], Operations: []
Exploring Operation: 51*16=816, Resulting Numbers: [65, 82, 816]
Generated Node #2: [65, 82, 816] from Operation: 51*16=816
Current State: 48:[65, 82, 816], Operations: ['51*16=816']
Exploring Operation: 82-65=17, Resulting Numbers: [816, 17]
Generated Node #3: [816, 17] from Operation: 82-65=17
Current State: 48:[816, 17], Operations: ['51*16=816', '82-65=17']
Exploring Operation: 816/17=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[51, 16, 65, 82], Operations: []
Exploring Operation: 82-65=17, Resulting Numbers: [51, 16, 17]
Generated Node #0,0: 48:[51, 16, 17] Operation: 82-65=17
Exploring Operation: 82-51=31, Resulting Numbers: [16, 65, 31]
Generated Node #0,1: 48:[16, 65, 31] Operation: 82-51=31
Moving to Node #0,0
Current State: 48:[51, 16, 17], Operations: ['82-65=17']
Exploring Operation: 51/17=3, Resulting Numbers: [16, 3]
Generated Node #0,0,0: 48:[16, 3] Operation: 51/17=3
Exploring Operation: 17-16=1, Resulting Numbers: [51, 1]
Generated Node #0,0,1: 48:[51, 1] Operation: 17-16=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[16, 3], Operations: ['82-65=17', '51/17=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[51, 16, 65, 82], Operations: []
Exploring Operation: 82-65=17, Resulting Numbers: [51, 16, 17]
Generated Node #0,0: 48:[51, 16, 17] Operation: 82-65=17
Moving to Node #0,0
Current State: 48:[51, 16, 17], Operations: ['82-65=17']
Exploring Operation: 51/17=3, Resulting Numbers: [16, 3]
Generated Node #0,0,0: 48:[16, 3] Operation: 51/17=3
Moving to Node #0,0,0
Current State: 48:[16, 3], Operations: ['82-65=17', '51/17=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
81,
42,
77,
44
] | 79 | [
"81+77=158",
"44-42=2",
"158/2=79"
] | Current State: 79:[81, 42, 77, 44], Operations: []
Exploring Operation: 81+77=158, Resulting Numbers: [42, 44, 158]
Generated Node #2: [42, 44, 158] from Operation: 81+77=158
Current State: 79:[42, 44, 158], Operations: ['81+77=158']
Exploring Operation: 44-42=2, Resulting Numbers: [158, 2]
Generated Node #3: [158, 2] from Operation: 44-42=2
Current State: 79:[158, 2], Operations: ['81+77=158', '44-42=2']
Exploring Operation: 158/2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[81, 42, 77, 44], Operations: []
Exploring Operation: 42+44=86, Resulting Numbers: [81, 77, 86]
Generated Node #0,0: 79:[81, 77, 86] Operation: 42+44=86
Exploring Operation: 81-42=39, Resulting Numbers: [77, 44, 39]
Generated Node #0,1: 79:[77, 44, 39] Operation: 81-42=39
Moving to Node #0,0
Current State: 79:[81, 77, 86], Operations: ['42+44=86']
Exploring Operation: 86-77=9, Resulting Numbers: [81, 9]
Generated Node #0,0,0: 79:[81, 9] Operation: 86-77=9
Exploring Operation: 86-81=5, Resulting Numbers: [77, 5]
Generated Node #0,0,1: 79:[77, 5] Operation: 86-81=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[81, 9], Operations: ['42+44=86', '86-77=9']
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[77, 5], Operations: ['42+44=86', '86-81=5']
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,79 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,79 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: 79:[77, 44, 39], Operations: ['81-42=39']
Exploring Operation: 44+39=83, Resulting Numbers: [77, 83]
Generated Node #0,1,0: 79:[77, 83] Operation: 44+39=83
Exploring Operation: 77+39=116, Resulting Numbers: [44, 116]
Generated Node #0,1,1: 79:[44, 116] Operation: 77+39=116
Moving to Node #0,1,0
Current State: 79:[77, 83], Operations: ['81-42=39', '44+39=83']
Exploring Operation: 77+83=160, Resulting Numbers: [160]
160,79 unequal: No Solution
Exploring Operation: 83-77=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[44, 116], Operations: ['81-42=39', '77+39=116']
Exploring Operation: 44+116=160, Resulting Numbers: [160]
160,79 unequal: No Solution
Exploring Operation: 116-44=72, Resulting Numbers: [72]
72,79 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
94,
7,
24,
85
] | 99 | [
"24-7=17",
"85/17=5",
"94+5=99"
] | Current State: 99:[94, 7, 24, 85], Operations: []
Exploring Operation: 24-7=17, Resulting Numbers: [94, 85, 17]
Generated Node #2: [94, 85, 17] from Operation: 24-7=17
Current State: 99:[94, 85, 17], Operations: ['24-7=17']
Exploring Operation: 85/17=5, Resulting Numbers: [94, 5]
Generated Node #3: [94, 5] from Operation: 85/17=5
Current State: 99:[94, 5], Operations: ['24-7=17', '85/17=5']
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[94, 7, 24, 85], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [7, 24, 9]
Generated Node #0,0: 99:[7, 24, 9] Operation: 94-85=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[7, 24, 9], Operations: ['94-85=9']
Exploring Operation: 7+24=31, Resulting Numbers: [9, 31]
Generated Node #0,0,0: 99:[9, 31] Operation: 7+24=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[9, 31], Operations: ['94-85=9', '7+24=31']
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
84,
39,
31,
61
] | 47 | [
"84-39=45",
"31+61=92",
"92-45=47"
] | Current State: 47:[84, 39, 31, 61], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [31, 61, 45]
Generated Node #2: [31, 61, 45] from Operation: 84-39=45
Current State: 47:[31, 61, 45], Operations: ['84-39=45']
Exploring Operation: 31+61=92, Resulting Numbers: [45, 92]
Generated Node #3: [45, 92] from Operation: 31+61=92
Current State: 47:[45, 92], Operations: ['84-39=45', '31+61=92']
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[84, 39, 31, 61], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [31, 61, 45]
Generated Node #0,0: 47:[31, 61, 45] Operation: 84-39=45
Exploring Operation: 84-61=23, Resulting Numbers: [39, 31, 23]
Generated Node #0,1: 47:[39, 31, 23] Operation: 84-61=23
Exploring Operation: 39+31=70, Resulting Numbers: [84, 61, 70]
Generated Node #0,2: 47:[84, 61, 70] Operation: 39+31=70
Exploring Operation: 84-31=53, Resulting Numbers: [39, 61, 53]
Generated Node #0,3: 47:[39, 61, 53] Operation: 84-31=53
Exploring Operation: 61-31=30, Resulting Numbers: [84, 39, 30]
Generated Node #0,4: 47:[84, 39, 30] Operation: 61-31=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[39, 61, 53], Operations: ['84-31=53']
Exploring Operation: 39+53=92, Resulting Numbers: [61, 92]
Generated Node #0,3,0: 47:[61, 92] Operation: 39+53=92
Exploring Operation: 61-39=22, Resulting Numbers: [53, 22]
Generated Node #0,3,1: 47:[53, 22] Operation: 61-39=22
Exploring Operation: 53-39=14, Resulting Numbers: [61, 14]
Generated Node #0,3,2: 47:[61, 14] Operation: 53-39=14
Exploring Operation: 61-53=8, Resulting Numbers: [39, 8]
Generated Node #0,3,3: 47:[39, 8] Operation: 61-53=8
Exploring Operation: 39+61=100, Resulting Numbers: [53, 100]
Generated Node #0,3,4: 47:[53, 100] Operation: 39+61=100
Moving to Node #0,3,1
Current State: 47:[53, 22], Operations: ['84-31=53', '61-39=22']
Exploring Operation: 53*22=1166, Resulting Numbers: [1166]
1166,47 unequal: No Solution
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[39, 8], Operations: ['84-31=53', '61-53=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,47 unequal: No Solution
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[84, 39, 31, 61], Operations: []
Exploring Operation: 84-31=53, Resulting Numbers: [39, 61, 53]
Generated Node #0,3: 47:[39, 61, 53] Operation: 84-31=53
Moving to Node #0,3
Current State: 47:[39, 61, 53], Operations: ['84-31=53']
Exploring Operation: 61-53=8, Resulting Numbers: [39, 8]
Generated Node #0,3,3: 47:[39, 8] Operation: 61-53=8
Moving to Node #0,3,3
Current State: 47:[39, 8], Operations: ['84-31=53', '61-53=8']
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
72,
87,
40,
56
] | 85 | [
"72+40=112",
"112/56=2",
"87-2=85"
] | Current State: 85:[72, 87, 40, 56], Operations: []
Exploring Operation: 72+40=112, Resulting Numbers: [87, 56, 112]
Generated Node #2: [87, 56, 112] from Operation: 72+40=112
Current State: 85:[87, 56, 112], Operations: ['72+40=112']
Exploring Operation: 112/56=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 112/56=2
Current State: 85:[87, 2], Operations: ['72+40=112', '112/56=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[72, 87, 40, 56], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [72, 87, 16]
Generated Node #0,0: 85:[72, 87, 16] Operation: 56-40=16
Exploring Operation: 72-56=16, Resulting Numbers: [87, 40, 16]
Generated Node #0,1: 85:[87, 40, 16] Operation: 72-56=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[72, 87, 16], Operations: ['56-40=16']
Exploring Operation: 72+16=88, Resulting Numbers: [87, 88]
Generated Node #0,0,0: 85:[87, 88] Operation: 72+16=88
Exploring Operation: 87-72=15, Resulting Numbers: [16, 15]
Generated Node #0,0,1: 85:[16, 15] Operation: 87-72=15
Moving to Node #0,0,1
Current State: 85:[16, 15], Operations: ['56-40=16', '87-72=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[87, 88], Operations: ['56-40=16', '72+16=88']
Exploring Operation: 87+88=175, Resulting Numbers: [175]
175,85 unequal: No Solution
Exploring Operation: 88-87=1, Resulting Numbers: [1]
1,85 unequal: No Solution
No 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: 85:[87, 40, 16], Operations: ['72-56=16']
Exploring Operation: 87-40=47, Resulting Numbers: [16, 47]
Generated Node #0,1,0: 85:[16, 47] Operation: 87-40=47
Exploring Operation: 40-16=24, Resulting Numbers: [87, 24]
Generated Node #0,1,1: 85:[87, 24] Operation: 40-16=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[87, 24], Operations: ['72-56=16', '40-16=24']
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 87+24=111, Resulting Numbers: [111]
111,85 unequal: No Solution
No 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: 85:[16, 47], Operations: ['72-56=16', '87-40=47']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
90,
78,
83,
81
] | 45 | [
"90-81=9",
"83-78=5",
"9*5=45"
] | Current State: 45:[90, 78, 83, 81], Operations: []
Exploring Operation: 90-81=9, Resulting Numbers: [78, 83, 9]
Generated Node #2: [78, 83, 9] from Operation: 90-81=9
Current State: 45:[78, 83, 9], Operations: ['90-81=9']
Exploring Operation: 83-78=5, Resulting Numbers: [9, 5]
Generated Node #3: [9, 5] from Operation: 83-78=5
Current State: 45:[9, 5], Operations: ['90-81=9', '83-78=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[90, 78, 83, 81], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [78, 81, 7]
Generated Node #0,0: 45:[78, 81, 7] Operation: 90-83=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[78, 81, 7], Operations: ['90-83=7']
Exploring Operation: 81-78=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 45:[7, 3] Operation: 81-78=3
Moving to Node #0,0,0
Current State: 45:[7, 3], Operations: ['90-83=7', '81-78=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,45 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 |
[
25,
35,
20,
10
] | 26 | [
"25+35=60",
"60/10=6",
"20+6=26"
] | Current State: 26:[25, 35, 20, 10], Operations: []
Exploring Operation: 25+35=60, Resulting Numbers: [20, 10, 60]
Generated Node #2: [20, 10, 60] from Operation: 25+35=60
Current State: 26:[20, 10, 60], Operations: ['25+35=60']
Exploring Operation: 60/10=6, Resulting Numbers: [20, 6]
Generated Node #3: [20, 6] from Operation: 60/10=6
Current State: 26:[20, 6], Operations: ['25+35=60', '60/10=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[25, 35, 20, 10], Operations: []
Exploring Operation: 35-20=15, Resulting Numbers: [25, 10, 15]
Generated Node #0,0: 26:[25, 10, 15] Operation: 35-20=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[25, 10, 15], Operations: ['35-20=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25, 25]
Generated Node #0,0,0: 26:[25, 25] Operation: 10+15=25
Moving to Node #0,0,0
Current State: 26:[25, 25], Operations: ['35-20=15', '10+15=25']
Exploring Operation: 25/25=1, Resulting Numbers: [1]
1,26 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 |
[
68,
7,
76,
13
] | 13 | [
"68+7=75",
"76-75=1",
"13*1=13"
] | Current State: 13:[68, 7, 76, 13], Operations: []
Exploring Operation: 68+7=75, Resulting Numbers: [76, 13, 75]
Generated Node #2: [76, 13, 75] from Operation: 68+7=75
Current State: 13:[76, 13, 75], Operations: ['68+7=75']
Exploring Operation: 76-75=1, Resulting Numbers: [13, 1]
Generated Node #3: [13, 1] from Operation: 76-75=1
Current State: 13:[13, 1], Operations: ['68+7=75', '76-75=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[68, 7, 76, 13], Operations: []
Exploring Operation: 68-13=55, Resulting Numbers: [7, 76, 55]
Generated Node #0,0: 13:[7, 76, 55] Operation: 68-13=55
Exploring Operation: 76-13=63, Resulting Numbers: [68, 7, 63]
Generated Node #0,1: 13:[68, 7, 63] Operation: 76-13=63
Exploring Operation: 76-7=69, Resulting Numbers: [68, 13, 69]
Generated Node #0,2: 13:[68, 13, 69] Operation: 76-7=69
Exploring Operation: 68-7=61, Resulting Numbers: [76, 13, 61]
Generated Node #0,3: 13:[76, 13, 61] Operation: 68-7=61
Exploring Operation: 76-68=8, Resulting Numbers: [7, 13, 8]
Generated Node #0,4: 13:[7, 13, 8] Operation: 76-68=8
Start Sub Search at level 1: Moving to Node #0,4
Current State: 13:[7, 13, 8], Operations: ['76-68=8']
Exploring Operation: 13-7=6, Resulting Numbers: [8, 6]
Generated Node #0,4,0: 13:[8, 6] Operation: 13-7=6
Exploring Operation: 8-7=1, Resulting Numbers: [13, 1]
Generated Node #0,4,1: 13:[13, 1] Operation: 8-7=1
Exploring Operation: 7+13=20, Resulting Numbers: [8, 20]
Generated Node #0,4,2: 13:[8, 20] Operation: 7+13=20
Exploring Operation: 7+8=15, Resulting Numbers: [13, 15]
Generated Node #0,4,3: 13:[13, 15] Operation: 7+8=15
Exploring Operation: 13+8=21, Resulting Numbers: [7, 21]
Generated Node #0,4,4: 13:[7, 21] Operation: 13+8=21
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 13:[13, 15], Operations: ['76-68=8', '7+8=15']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,13 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 13:[8, 6], Operations: ['76-68=8', '13-7=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 13:[13, 1], Operations: ['76-68=8', '8-7=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[68, 7, 76, 13], Operations: []
Exploring Operation: 76-68=8, Resulting Numbers: [7, 13, 8]
Generated Node #0,4: 13:[7, 13, 8] Operation: 76-68=8
Moving to Node #0,4
Current State: 13:[7, 13, 8], Operations: ['76-68=8']
Exploring Operation: 8-7=1, Resulting Numbers: [13, 1]
Generated Node #0,4,1: 13:[13, 1] Operation: 8-7=1
Moving to Node #0,4,1
Current State: 13:[13, 1], Operations: ['76-68=8', '8-7=1']
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
73,
49,
82,
96
] | 56 | [
"73+49=122",
"82+96=178",
"178-122=56"
] | Current State: 56:[73, 49, 82, 96], Operations: []
Exploring Operation: 73+49=122, Resulting Numbers: [82, 96, 122]
Generated Node #2: [82, 96, 122] from Operation: 73+49=122
Current State: 56:[82, 96, 122], Operations: ['73+49=122']
Exploring Operation: 82+96=178, Resulting Numbers: [122, 178]
Generated Node #3: [122, 178] from Operation: 82+96=178
Current State: 56:[122, 178], Operations: ['73+49=122', '82+96=178']
Exploring Operation: 178-122=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[73, 49, 82, 96], Operations: []
Exploring Operation: 82-49=33, Resulting Numbers: [73, 96, 33]
Generated Node #0,0: 56:[73, 96, 33] Operation: 82-49=33
Exploring Operation: 96-49=47, Resulting Numbers: [73, 82, 47]
Generated Node #0,1: 56:[73, 82, 47] Operation: 96-49=47
Exploring Operation: 82-73=9, Resulting Numbers: [49, 96, 9]
Generated Node #0,2: 56:[49, 96, 9] Operation: 82-73=9
Exploring Operation: 96-73=23, Resulting Numbers: [49, 82, 23]
Generated Node #0,3: 56:[49, 82, 23] Operation: 96-73=23
Exploring Operation: 96-82=14, Resulting Numbers: [73, 49, 14]
Generated Node #0,4: 56:[73, 49, 14] Operation: 96-82=14
Moving to Node #0,4
Current State: 56:[73, 49, 14], Operations: ['96-82=14']
Exploring Operation: 73+14=87, Resulting Numbers: [49, 87]
Generated Node #0,4,0: 56:[49, 87] Operation: 73+14=87
Exploring Operation: 49-14=35, Resulting Numbers: [73, 35]
Generated Node #0,4,1: 56:[73, 35] Operation: 49-14=35
Exploring Operation: 73-14=59, Resulting Numbers: [49, 59]
Generated Node #0,4,2: 56:[49, 59] Operation: 73-14=59
Exploring Operation: 73-49=24, Resulting Numbers: [14, 24]
Generated Node #0,4,3: 56:[14, 24] Operation: 73-49=24
Exploring Operation: 49+14=63, Resulting Numbers: [73, 63]
Generated Node #0,4,4: 56:[73, 63] Operation: 49+14=63
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 56:[14, 24], Operations: ['96-82=14', '73-49=24']
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,56 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,56 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 56:[49, 59], Operations: ['96-82=14', '73-14=59']
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,56 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 56:[73, 35], Operations: ['96-82=14', '49-14=35']
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,56 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,56 unequal: No Solution
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 56:[73, 63], Operations: ['96-82=14', '49+14=63']
Exploring Operation: 73+63=136, Resulting Numbers: [136]
136,56 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 73*63=4599, Resulting Numbers: [4599]
4599,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 56:[49, 87], Operations: ['96-82=14', '73+14=87']
Exploring Operation: 87-49=38, Resulting Numbers: [38]
38,56 unequal: No Solution
Exploring Operation: 49+87=136, Resulting Numbers: [136]
136,56 unequal: No Solution
Exploring Operation: 49*87=4263, Resulting Numbers: [4263]
4263,56 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: 56:[49, 82, 23], Operations: ['96-73=23']
Exploring Operation: 82-23=59, Resulting Numbers: [49, 59]
Generated Node #0,3,0: 56:[49, 59] Operation: 82-23=59
Exploring Operation: 82-49=33, Resulting Numbers: [23, 33]
Generated Node #0,3,1: 56:[23, 33] Operation: 82-49=33
Exploring Operation: 82+23=105, Resulting Numbers: [49, 105]
Generated Node #0,3,2: 56:[49, 105] Operation: 82+23=105
Exploring Operation: 49+23=72, Resulting Numbers: [82, 72]
Generated Node #0,3,3: 56:[82, 72] Operation: 49+23=72
Exploring Operation: 49-23=26, Resulting Numbers: [82, 26]
Generated Node #0,3,4: 56:[82, 26] Operation: 49-23=26
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 56:[49, 59], Operations: ['96-73=23', '82-23=59']
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,56 unequal: No Solution
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[23, 33], Operations: ['96-73=23', '82-49=33']
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[73, 49, 82, 96], Operations: []
Exploring Operation: 96-73=23, Resulting Numbers: [49, 82, 23]
Generated Node #0,3: 56:[49, 82, 23] Operation: 96-73=23
Moving to Node #0,3
Current State: 56:[49, 82, 23], Operations: ['96-73=23']
Exploring Operation: 82-49=33, Resulting Numbers: [23, 33]
Generated Node #0,3,1: 56:[23, 33] Operation: 82-49=33
Moving to Node #0,3,1
Current State: 56:[23, 33], Operations: ['96-73=23', '82-49=33']
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
29,
31,
84,
58
] | 11 | [
"29*84=2436",
"2436/58=42",
"42-31=11"
] | Current State: 11:[29, 31, 84, 58], Operations: []
Exploring Operation: 29*84=2436, Resulting Numbers: [31, 58, 2436]
Generated Node #2: [31, 58, 2436] from Operation: 29*84=2436
Current State: 11:[31, 58, 2436], Operations: ['29*84=2436']
Exploring Operation: 2436/58=42, Resulting Numbers: [31, 42]
Generated Node #3: [31, 42] from Operation: 2436/58=42
Current State: 11:[31, 42], Operations: ['29*84=2436', '2436/58=42']
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[29, 31, 84, 58], Operations: []
Exploring Operation: 84-58=26, Resulting Numbers: [29, 31, 26]
Generated Node #0,0: 11:[29, 31, 26] Operation: 84-58=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[29, 31, 26], Operations: ['84-58=26']
Exploring Operation: 31-29=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 11:[26, 2] Operation: 31-29=2
Moving to Node #0,0,0
Current State: 11:[26, 2], Operations: ['84-58=26', '31-29=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
73,
87,
56,
16
] | 26 | [
"87-73=14",
"56-16=40",
"40-14=26"
] | Current State: 26:[73, 87, 56, 16], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [56, 16, 14]
Generated Node #2: [56, 16, 14] from Operation: 87-73=14
Current State: 26:[56, 16, 14], Operations: ['87-73=14']
Exploring Operation: 56-16=40, Resulting Numbers: [14, 40]
Generated Node #3: [14, 40] from Operation: 56-16=40
Current State: 26:[14, 40], Operations: ['87-73=14', '56-16=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[73, 87, 56, 16], Operations: []
Exploring Operation: 73-56=17, Resulting Numbers: [87, 16, 17]
Generated Node #0,0: 26:[87, 16, 17] Operation: 73-56=17
Exploring Operation: 87-56=31, Resulting Numbers: [73, 16, 31]
Generated Node #0,1: 26:[73, 16, 31] Operation: 87-56=31
Exploring Operation: 73-16=57, Resulting Numbers: [87, 56, 57]
Generated Node #0,2: 26:[87, 56, 57] Operation: 73-16=57
Exploring Operation: 87-73=14, Resulting Numbers: [56, 16, 14]
Generated Node #0,3: 26:[56, 16, 14] Operation: 87-73=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[56, 16, 14], Operations: ['87-73=14']
Exploring Operation: 56/14=4, Resulting Numbers: [16, 4]
Generated Node #0,3,0: 26:[16, 4] Operation: 56/14=4
Exploring Operation: 56-16=40, Resulting Numbers: [14, 40]
Generated Node #0,3,1: 26:[14, 40] Operation: 56-16=40
Exploring Operation: 56-14=42, Resulting Numbers: [16, 42]
Generated Node #0,3,2: 26:[16, 42] Operation: 56-14=42
Exploring Operation: 16-14=2, Resulting Numbers: [56, 2]
Generated Node #0,3,3: 26:[56, 2] Operation: 16-14=2
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[16, 4], Operations: ['87-73=14', '56/14=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,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,1
Current State: 26:[14, 40], Operations: ['87-73=14', '56-16=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[73, 87, 56, 16], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [56, 16, 14]
Generated Node #0,3: 26:[56, 16, 14] Operation: 87-73=14
Moving to Node #0,3
Current State: 26:[56, 16, 14], Operations: ['87-73=14']
Exploring Operation: 56-16=40, Resulting Numbers: [14, 40]
Generated Node #0,3,1: 26:[14, 40] Operation: 56-16=40
Moving to Node #0,3,1
Current State: 26:[14, 40], Operations: ['87-73=14', '56-16=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
76,
88,
77,
22
] | 43 | [
"88-76=12",
"77-22=55",
"55-12=43"
] | Current State: 43:[76, 88, 77, 22], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [77, 22, 12]
Generated Node #2: [77, 22, 12] from Operation: 88-76=12
Current State: 43:[77, 22, 12], Operations: ['88-76=12']
Exploring Operation: 77-22=55, Resulting Numbers: [12, 55]
Generated Node #3: [12, 55] from Operation: 77-22=55
Current State: 43:[12, 55], Operations: ['88-76=12', '77-22=55']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[76, 88, 77, 22], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [76, 22, 11]
Generated Node #0,0: 43:[76, 22, 11] Operation: 88-77=11
Exploring Operation: 88-76=12, Resulting Numbers: [77, 22, 12]
Generated Node #0,1: 43:[77, 22, 12] Operation: 88-76=12
Moving to Node #0,0
Current State: 43:[76, 22, 11], Operations: ['88-77=11']
Exploring Operation: 76-11=65, Resulting Numbers: [22, 65]
Generated Node #0,0,0: 43:[22, 65] Operation: 76-11=65
Exploring Operation: 76-22=54, Resulting Numbers: [11, 54]
Generated Node #0,0,1: 43:[11, 54] Operation: 76-22=54
Moving to Node #0,1
Current State: 43:[77, 22, 12], Operations: ['88-76=12']
Exploring Operation: 77-22=55, Resulting Numbers: [12, 55]
Generated Node #0,1,0: 43:[12, 55] Operation: 77-22=55
Exploring Operation: 77-12=65, Resulting Numbers: [22, 65]
Generated Node #0,1,1: 43:[22, 65] Operation: 77-12=65
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[12, 55], Operations: ['88-76=12', '77-22=55']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[76, 88, 77, 22], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [77, 22, 12]
Generated Node #0,1: 43:[77, 22, 12] Operation: 88-76=12
Moving to Node #0,1
Current State: 43:[77, 22, 12], Operations: ['88-76=12']
Exploring Operation: 77-22=55, Resulting Numbers: [12, 55]
Generated Node #0,1,0: 43:[12, 55] Operation: 77-22=55
Moving to Node #0,1,0
Current State: 43:[12, 55], Operations: ['88-76=12', '77-22=55']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
45,
43,
14,
39
] | 51 | [
"45-43=2",
"14+39=53",
"53-2=51"
] | Current State: 51:[45, 43, 14, 39], Operations: []
Exploring Operation: 45-43=2, Resulting Numbers: [14, 39, 2]
Generated Node #2: [14, 39, 2] from Operation: 45-43=2
Current State: 51:[14, 39, 2], Operations: ['45-43=2']
Exploring Operation: 14+39=53, Resulting Numbers: [2, 53]
Generated Node #3: [2, 53] from Operation: 14+39=53
Current State: 51:[2, 53], Operations: ['45-43=2', '14+39=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[45, 43, 14, 39], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [45, 14, 4]
Generated Node #0,0: 51:[45, 14, 4] Operation: 43-39=4
Moving to Node #0,0
Current State: 51:[45, 14, 4], Operations: ['43-39=4']
Exploring Operation: 45+4=49, Resulting Numbers: [14, 49]
Generated Node #0,0,0: 51:[14, 49] Operation: 45+4=49
Moving to Node #0,0,0
Current State: 51:[14, 49], Operations: ['43-39=4', '45+4=49']
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,51 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
72,
36,
72,
52
] | 87 | [
"72/72=1",
"36+52=88",
"88-1=87"
] | Current State: 87:[72, 36, 72, 52], Operations: []
Exploring Operation: 72/72=1, Resulting Numbers: [36, 52, 1]
Generated Node #2: [36, 52, 1] from Operation: 72/72=1
Current State: 87:[36, 52, 1], Operations: ['72/72=1']
Exploring Operation: 36+52=88, Resulting Numbers: [1, 88]
Generated Node #3: [1, 88] from Operation: 36+52=88
Current State: 87:[1, 88], Operations: ['72/72=1', '36+52=88']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[72, 36, 72, 52], Operations: []
Exploring Operation: 72-52=20, Resulting Numbers: [36, 72, 20]
Generated Node #0,0: 87:[36, 72, 20] Operation: 72-52=20
Exploring Operation: 36+52=88, Resulting Numbers: [72, 72, 88]
Generated Node #0,1: 87:[72, 72, 88] Operation: 36+52=88
Moving to Node #0,0
Current State: 87:[36, 72, 20], Operations: ['72-52=20']
Exploring Operation: 72+20=92, Resulting Numbers: [36, 92]
Generated Node #0,0,0: 87:[36, 92] Operation: 72+20=92
Exploring Operation: 72/36=2, Resulting Numbers: [20, 2]
Generated Node #0,0,1: 87:[20, 2] Operation: 72/36=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[20, 2], Operations: ['72-52=20', '72/36=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[36, 92], Operations: ['72-52=20', '72+20=92']
Exploring Operation: 36+92=128, Resulting Numbers: [128]
128,87 unequal: No Solution
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,87 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: 87:[72, 72, 88], Operations: ['36+52=88']
Exploring Operation: 72/72=1, Resulting Numbers: [88, 1]
Generated Node #0,1,0: 87:[88, 1] Operation: 72/72=1
Exploring Operation: 72-72=0, Resulting Numbers: [88, 0]
Generated Node #0,1,1: 87:[88, 0] Operation: 72-72=0
Moving to Node #0,1,0
Current State: 87:[88, 1], Operations: ['36+52=88', '72/72=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[72, 36, 72, 52], Operations: []
Exploring Operation: 36+52=88, Resulting Numbers: [72, 72, 88]
Generated Node #0,1: 87:[72, 72, 88] Operation: 36+52=88
Moving to Node #0,1
Current State: 87:[72, 72, 88], Operations: ['36+52=88']
Exploring Operation: 72/72=1, Resulting Numbers: [88, 1]
Generated Node #0,1,0: 87:[88, 1] Operation: 72/72=1
Moving to Node #0,1,0
Current State: 87:[88, 1], Operations: ['36+52=88', '72/72=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
8,
64,
11,
80
] | 63 | [
"80/8=10",
"64-11=53",
"10+53=63"
] | Current State: 63:[8, 64, 11, 80], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [64, 11, 10]
Generated Node #2: [64, 11, 10] from Operation: 80/8=10
Current State: 63:[64, 11, 10], Operations: ['80/8=10']
Exploring Operation: 64-11=53, Resulting Numbers: [10, 53]
Generated Node #3: [10, 53] from Operation: 64-11=53
Current State: 63:[10, 53], Operations: ['80/8=10', '64-11=53']
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[8, 64, 11, 80], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [64, 11, 10]
Generated Node #0,0: 63:[64, 11, 10] Operation: 80/8=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[64, 11, 10], Operations: ['80/8=10']
Exploring Operation: 11+10=21, Resulting Numbers: [64, 21]
Generated Node #0,0,0: 63:[64, 21] Operation: 11+10=21
Moving to Node #0,0,0
Current State: 63:[64, 21], Operations: ['80/8=10', '11+10=21']
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,63 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 |
[
8,
20,
29,
25
] | 52 | [
"29-25=4",
"8*4=32",
"20+32=52"
] | Current State: 52:[8, 20, 29, 25], Operations: []
Exploring Operation: 29-25=4, Resulting Numbers: [8, 20, 4]
Generated Node #2: [8, 20, 4] from Operation: 29-25=4
Current State: 52:[8, 20, 4], Operations: ['29-25=4']
Exploring Operation: 8*4=32, Resulting Numbers: [20, 32]
Generated Node #3: [20, 32] from Operation: 8*4=32
Current State: 52:[20, 32], Operations: ['29-25=4', '8*4=32']
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[8, 20, 29, 25], Operations: []
Exploring Operation: 25-20=5, Resulting Numbers: [8, 29, 5]
Generated Node #0,0: 52:[8, 29, 5] Operation: 25-20=5
Exploring Operation: 20-8=12, Resulting Numbers: [29, 25, 12]
Generated Node #0,1: 52:[29, 25, 12] Operation: 20-8=12
Exploring Operation: 20+29=49, Resulting Numbers: [8, 25, 49]
Generated Node #0,2: 52:[8, 25, 49] Operation: 20+29=49
Exploring Operation: 8+20=28, Resulting Numbers: [29, 25, 28]
Generated Node #0,3: 52:[29, 25, 28] Operation: 8+20=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[29, 25, 12], Operations: ['20-8=12']
Exploring Operation: 25-12=13, Resulting Numbers: [29, 13]
Generated Node #0,1,0: 52:[29, 13] Operation: 25-12=13
Exploring Operation: 29+25=54, Resulting Numbers: [12, 54]
Generated Node #0,1,1: 52:[12, 54] Operation: 29+25=54
Exploring Operation: 29-25=4, Resulting Numbers: [12, 4]
Generated Node #0,1,2: 52:[12, 4] Operation: 29-25=4
Exploring Operation: 29-12=17, Resulting Numbers: [25, 17]
Generated Node #0,1,3: 52:[25, 17] Operation: 29-12=17
Moving to Node #0,1,2
Current State: 52:[12, 4], Operations: ['20-8=12', '29-25=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[12, 54], Operations: ['20-8=12', '29+25=54']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,52 unequal: No Solution
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[29, 13], Operations: ['20-8=12', '25-12=13']
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,52 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[25, 17], Operations: ['20-8=12', '29-12=17']
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[29, 25, 28], Operations: ['8+20=28']
Exploring Operation: 29-25=4, Resulting Numbers: [28, 4]
Generated Node #0,3,0: 52:[28, 4] Operation: 29-25=4
Exploring Operation: 29+25=54, Resulting Numbers: [28, 54]
Generated Node #0,3,1: 52:[28, 54] Operation: 29+25=54
Exploring Operation: 29-28=1, Resulting Numbers: [25, 1]
Generated Node #0,3,2: 52:[25, 1] Operation: 29-28=1
Exploring Operation: 25+28=53, Resulting Numbers: [29, 53]
Generated Node #0,3,3: 52:[29, 53] Operation: 25+28=53
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 52:[28, 4], Operations: ['8+20=28', '29-25=4']
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,52 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 52:[25, 1], Operations: ['8+20=28', '29-28=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 52:[28, 54], Operations: ['8+20=28', '29+25=54']
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,52 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 52:[29, 53], Operations: ['8+20=28', '25+28=53']
Exploring Operation: 29*53=1537, Resulting Numbers: [1537]
1537,52 unequal: No Solution
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 29+53=82, Resulting Numbers: [82]
82,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[8, 29, 5], Operations: ['25-20=5']
Exploring Operation: 29-5=24, Resulting Numbers: [8, 24]
Generated Node #0,0,0: 52:[8, 24] Operation: 29-5=24
Exploring Operation: 29-8=21, Resulting Numbers: [5, 21]
Generated Node #0,0,1: 52:[5, 21] Operation: 29-8=21
Exploring Operation: 8-5=3, Resulting Numbers: [29, 3]
Generated Node #0,0,2: 52:[29, 3] Operation: 8-5=3
Exploring Operation: 8+5=13, Resulting Numbers: [29, 13]
Generated Node #0,0,3: 52:[29, 13] Operation: 8+5=13
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 52:[29, 13], Operations: ['25-20=5', '8+5=13']
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,52 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 52:[29, 3], Operations: ['25-20=5', '8-5=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,52 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[8, 24], Operations: ['25-20=5', '29-5=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,52 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[5, 21], Operations: ['25-20=5', '29-8=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,52 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[8, 25, 49], Operations: ['20+29=49']
Exploring Operation: 8+49=57, Resulting Numbers: [25, 57]
Generated Node #0,2,0: 52:[25, 57] Operation: 8+49=57
Exploring Operation: 25-8=17, Resulting Numbers: [49, 17]
Generated Node #0,2,1: 52:[49, 17] Operation: 25-8=17
Exploring Operation: 8+25=33, Resulting Numbers: [49, 33]
Generated Node #0,2,2: 52:[49, 33] Operation: 8+25=33
Exploring Operation: 49-25=24, Resulting Numbers: [8, 24]
Generated Node #0,2,3: 52:[8, 24] Operation: 49-25=24
Moving to Node #0,2,0
Current State: 52:[25, 57], Operations: ['20+29=49', '8+49=57']
Exploring Operation: 25+57=82, Resulting Numbers: [82]
82,52 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Exploring Operation: 25*57=1425, Resulting Numbers: [1425]
1425,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[8, 24], Operations: ['20+29=49', '49-25=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,52 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[49, 17], Operations: ['20+29=49', '25-8=17']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Exploring Operation: 49+17=66, Resulting Numbers: [66]
66,52 unequal: No Solution
Exploring Operation: 49*17=833, Resulting Numbers: [833]
833,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[49, 33], Operations: ['20+29=49', '8+25=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,52 unequal: No Solution
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,52 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
12,
4,
7,
35
] | 84 | [
"12/4=3",
"35-7=28",
"3*28=84"
] | Current State: 84:[12, 4, 7, 35], Operations: []
Exploring Operation: 12/4=3, Resulting Numbers: [7, 35, 3]
Generated Node #2: [7, 35, 3] from Operation: 12/4=3
Current State: 84:[7, 35, 3], Operations: ['12/4=3']
Exploring Operation: 35-7=28, Resulting Numbers: [3, 28]
Generated Node #3: [3, 28] from Operation: 35-7=28
Current State: 84:[3, 28], Operations: ['12/4=3', '35-7=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[12, 4, 7, 35], Operations: []
Exploring Operation: 35/7=5, Resulting Numbers: [12, 4, 5]
Generated Node #0,0: 84:[12, 4, 5] Operation: 35/7=5
Exploring Operation: 7+35=42, Resulting Numbers: [12, 4, 42]
Generated Node #0,1: 84:[12, 4, 42] Operation: 7+35=42
Exploring Operation: 35-7=28, Resulting Numbers: [12, 4, 28]
Generated Node #0,2: 84:[12, 4, 28] Operation: 35-7=28
Exploring Operation: 35-12=23, Resulting Numbers: [4, 7, 23]
Generated Node #0,3: 84:[4, 7, 23] Operation: 35-12=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[12, 4, 42], Operations: ['7+35=42']
Exploring Operation: 12+4=16, Resulting Numbers: [42, 16]
Generated Node #0,1,0: 84:[42, 16] Operation: 12+4=16
Exploring Operation: 42-12=30, Resulting Numbers: [4, 30]
Generated Node #0,1,1: 84:[4, 30] Operation: 42-12=30
Exploring Operation: 12-4=8, Resulting Numbers: [42, 8]
Generated Node #0,1,2: 84:[42, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [42, 3]
Generated Node #0,1,3: 84:[42, 3] Operation: 12/4=3
Moving to Node #0,1,3
Current State: 84:[42, 3], Operations: ['7+35=42', '12/4=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,84 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[42, 8], Operations: ['7+35=42', '12-4=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,84 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[4, 30], Operations: ['7+35=42', '42-12=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[42, 16], Operations: ['7+35=42', '12+4=16']
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,84 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[12, 4, 28], Operations: ['35-7=28']
Exploring Operation: 12-4=8, Resulting Numbers: [28, 8]
Generated Node #0,2,0: 84:[28, 8] Operation: 12-4=8
Exploring Operation: 12+4=16, Resulting Numbers: [28, 16]
Generated Node #0,2,1: 84:[28, 16] Operation: 12+4=16
Exploring Operation: 28/4=7, Resulting Numbers: [12, 7]
Generated Node #0,2,2: 84:[12, 7] Operation: 28/4=7
Exploring Operation: 12/4=3, Resulting Numbers: [28, 3]
Generated Node #0,2,3: 84:[28, 3] Operation: 12/4=3
Moving to Node #0,2,2
Current State: 84:[12, 7], Operations: ['35-7=28', '28/4=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[12, 4, 7, 35], Operations: []
Exploring Operation: 35-7=28, Resulting Numbers: [12, 4, 28]
Generated Node #0,2: 84:[12, 4, 28] Operation: 35-7=28
Moving to Node #0,2
Current State: 84:[12, 4, 28], Operations: ['35-7=28']
Exploring Operation: 28/4=7, Resulting Numbers: [12, 7]
Generated Node #0,2,2: 84:[12, 7] Operation: 28/4=7
Moving to Node #0,2,2
Current State: 84:[12, 7], Operations: ['35-7=28', '28/4=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
40,
56,
32,
36
] | 64 | [
"56-40=16",
"36-32=4",
"16*4=64"
] | Current State: 64:[40, 56, 32, 36], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [32, 36, 16]
Generated Node #2: [32, 36, 16] from Operation: 56-40=16
Current State: 64:[32, 36, 16], Operations: ['56-40=16']
Exploring Operation: 36-32=4, Resulting Numbers: [16, 4]
Generated Node #3: [16, 4] from Operation: 36-32=4
Current State: 64:[16, 4], Operations: ['56-40=16', '36-32=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[40, 56, 32, 36], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [32, 36, 16]
Generated Node #0,0: 64:[32, 36, 16] Operation: 56-40=16
Exploring Operation: 36-32=4, Resulting Numbers: [40, 56, 4]
Generated Node #0,1: 64:[40, 56, 4] Operation: 36-32=4
Exploring Operation: 40-32=8, Resulting Numbers: [56, 36, 8]
Generated Node #0,2: 64:[56, 36, 8] Operation: 40-32=8
Exploring Operation: 56-36=20, Resulting Numbers: [40, 32, 20]
Generated Node #0,3: 64:[40, 32, 20] Operation: 56-36=20
Exploring Operation: 40-36=4, Resulting Numbers: [56, 32, 4]
Generated Node #0,4: 64:[56, 32, 4] Operation: 40-36=4
Moving to Node #0,0
Current State: 64:[32, 36, 16], Operations: ['56-40=16']
Exploring Operation: 32+36=68, Resulting Numbers: [16, 68]
Generated Node #0,0,0: 64:[16, 68] Operation: 32+36=68
Exploring Operation: 36-16=20, Resulting Numbers: [32, 20]
Generated Node #0,0,1: 64:[32, 20] Operation: 36-16=20
Exploring Operation: 36-32=4, Resulting Numbers: [16, 4]
Generated Node #0,0,2: 64:[16, 4] Operation: 36-32=4
Exploring Operation: 32-16=16, Resulting Numbers: [36, 16]
Generated Node #0,0,3: 64:[36, 16] Operation: 32-16=16
Exploring Operation: 32/16=2, Resulting Numbers: [36, 2]
Generated Node #0,0,4: 64:[36, 2] Operation: 32/16=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[16, 4], Operations: ['56-40=16', '36-32=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[40, 56, 32, 36], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [32, 36, 16]
Generated Node #0,0: 64:[32, 36, 16] Operation: 56-40=16
Moving to Node #0,0
Current State: 64:[32, 36, 16], Operations: ['56-40=16']
Exploring Operation: 36-32=4, Resulting Numbers: [16, 4]
Generated Node #0,0,2: 64:[16, 4] Operation: 36-32=4
Moving to Node #0,0,2
Current State: 64:[16, 4], Operations: ['56-40=16', '36-32=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
52,
10,
24,
28
] | 36 | [
"52-10=42",
"24*42=1008",
"1008/28=36"
] | Current State: 36:[52, 10, 24, 28], Operations: []
Exploring Operation: 52-10=42, Resulting Numbers: [24, 28, 42]
Generated Node #2: [24, 28, 42] from Operation: 52-10=42
Current State: 36:[24, 28, 42], Operations: ['52-10=42']
Exploring Operation: 24*42=1008, Resulting Numbers: [28, 1008]
Generated Node #3: [28, 1008] from Operation: 24*42=1008
Current State: 36:[28, 1008], Operations: ['52-10=42', '24*42=1008']
Exploring Operation: 1008/28=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[52, 10, 24, 28], Operations: []
Exploring Operation: 52-24=28, Resulting Numbers: [10, 28, 28]
Generated Node #0,0: 36:[10, 28, 28] Operation: 52-24=28
Exploring Operation: 52-28=24, Resulting Numbers: [10, 24, 24]
Generated Node #0,1: 36:[10, 24, 24] Operation: 52-28=24
Exploring Operation: 28-24=4, Resulting Numbers: [52, 10, 4]
Generated Node #0,2: 36:[52, 10, 4] Operation: 28-24=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[10, 24, 24], Operations: ['52-28=24']
Exploring Operation: 10+24=34, Resulting Numbers: [24, 34]
Generated Node #0,1,0: 36:[24, 34] Operation: 10+24=34
Exploring Operation: 24-24=0, Resulting Numbers: [10, 0]
Generated Node #0,1,1: 36:[10, 0] Operation: 24-24=0
Exploring Operation: 24/24=1, Resulting Numbers: [10, 1]
Generated Node #0,1,2: 36:[10, 1] Operation: 24/24=1
Moving to Node #0,1,2
Current State: 36:[10, 1], Operations: ['52-28=24', '24/24=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[10, 0], Operations: ['52-28=24', '24-24=0']
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[24, 34], Operations: ['52-28=24', '10+24=34']
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,36 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[10, 28, 28], Operations: ['52-24=28']
Exploring Operation: 28/28=1, Resulting Numbers: [10, 1]
Generated Node #0,0,0: 36:[10, 1] Operation: 28/28=1
Exploring Operation: 28-10=18, Resulting Numbers: [28, 18]
Generated Node #0,0,1: 36:[28, 18] Operation: 28-10=18
Exploring Operation: 28-28=0, Resulting Numbers: [10, 0]
Generated Node #0,0,2: 36:[10, 0] Operation: 28-28=0
Moving to Node #0,0,0
Current State: 36:[10, 1], Operations: ['52-24=28', '28/28=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[10, 0], Operations: ['52-24=28', '28-28=0']
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[28, 18], Operations: ['52-24=28', '28-10=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[52, 10, 4], Operations: ['28-24=4']
Exploring Operation: 52/4=13, Resulting Numbers: [10, 13]
Generated Node #0,2,0: 36:[10, 13] Operation: 52/4=13
Exploring Operation: 52-4=48, Resulting Numbers: [10, 48]
Generated Node #0,2,1: 36:[10, 48] Operation: 52-4=48
Exploring Operation: 52-10=42, Resulting Numbers: [4, 42]
Generated Node #0,2,2: 36:[4, 42] Operation: 52-10=42
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[10, 13], Operations: ['28-24=4', '52/4=13']
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,36 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[4, 42], Operations: ['28-24=4', '52-10=42']
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,36 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[10, 48], Operations: ['28-24=4', '52-4=48']
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,36 unequal: No Solution
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
34,
13,
66,
6
] | 46 | [
"34*13=442",
"66*6=396",
"442-396=46"
] | Current State: 46:[34, 13, 66, 6], Operations: []
Exploring Operation: 34*13=442, Resulting Numbers: [66, 6, 442]
Generated Node #2: [66, 6, 442] from Operation: 34*13=442
Current State: 46:[66, 6, 442], Operations: ['34*13=442']
Exploring Operation: 66*6=396, Resulting Numbers: [442, 396]
Generated Node #3: [442, 396] from Operation: 66*6=396
Current State: 46:[442, 396], Operations: ['34*13=442', '66*6=396']
Exploring Operation: 442-396=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[34, 13, 66, 6], Operations: []
Exploring Operation: 66-13=53, Resulting Numbers: [34, 6, 53]
Generated Node #0,0: 46:[34, 6, 53] Operation: 66-13=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[34, 6, 53], Operations: ['66-13=53']
Exploring Operation: 53-34=19, Resulting Numbers: [6, 19]
Generated Node #0,0,0: 46:[6, 19] Operation: 53-34=19
Moving to Node #0,0,0
Current State: 46:[6, 19], Operations: ['66-13=53', '53-34=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,46 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 |
[
29,
1,
72,
67
] | 35 | [
"29+1=30",
"72-67=5",
"30+5=35"
] | Current State: 35:[29, 1, 72, 67], Operations: []
Exploring Operation: 29+1=30, Resulting Numbers: [72, 67, 30]
Generated Node #2: [72, 67, 30] from Operation: 29+1=30
Current State: 35:[72, 67, 30], Operations: ['29+1=30']
Exploring Operation: 72-67=5, Resulting Numbers: [30, 5]
Generated Node #3: [30, 5] from Operation: 72-67=5
Current State: 35:[30, 5], Operations: ['29+1=30', '72-67=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[29, 1, 72, 67], Operations: []
Exploring Operation: 72-29=43, Resulting Numbers: [1, 67, 43]
Generated Node #0,0: 35:[1, 67, 43] Operation: 72-29=43
Exploring Operation: 72-67=5, Resulting Numbers: [29, 1, 5]
Generated Node #0,1: 35:[29, 1, 5] Operation: 72-67=5
Moving to Node #0,1
Current State: 35:[29, 1, 5], Operations: ['72-67=5']
Exploring Operation: 29+5=34, Resulting Numbers: [1, 34]
Generated Node #0,1,0: 35:[1, 34] Operation: 29+5=34
Exploring Operation: 29+1=30, Resulting Numbers: [5, 30]
Generated Node #0,1,1: 35:[5, 30] Operation: 29+1=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[1, 34], Operations: ['72-67=5', '29+5=34']
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[29, 1, 72, 67], Operations: []
Exploring Operation: 72-67=5, Resulting Numbers: [29, 1, 5]
Generated Node #0,1: 35:[29, 1, 5] Operation: 72-67=5
Moving to Node #0,1
Current State: 35:[29, 1, 5], Operations: ['72-67=5']
Exploring Operation: 29+5=34, Resulting Numbers: [1, 34]
Generated Node #0,1,0: 35:[1, 34] Operation: 29+5=34
Moving to Node #0,1,0
Current State: 35:[1, 34], Operations: ['72-67=5', '29+5=34']
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
9,
52,
30,
24
] | 97 | [
"52-9=43",
"30+24=54",
"43+54=97"
] | Current State: 97:[9, 52, 30, 24], Operations: []
Exploring Operation: 52-9=43, Resulting Numbers: [30, 24, 43]
Generated Node #2: [30, 24, 43] from Operation: 52-9=43
Current State: 97:[30, 24, 43], Operations: ['52-9=43']
Exploring Operation: 30+24=54, Resulting Numbers: [43, 54]
Generated Node #3: [43, 54] from Operation: 30+24=54
Current State: 97:[43, 54], Operations: ['52-9=43', '30+24=54']
Exploring Operation: 43+54=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[9, 52, 30, 24], Operations: []
Exploring Operation: 9+30=39, Resulting Numbers: [52, 24, 39]
Generated Node #0,0: 97:[52, 24, 39] Operation: 9+30=39
Exploring Operation: 9+24=33, Resulting Numbers: [52, 30, 33]
Generated Node #0,1: 97:[52, 30, 33] Operation: 9+24=33
Exploring Operation: 9+52=61, Resulting Numbers: [30, 24, 61]
Generated Node #0,2: 97:[30, 24, 61] Operation: 9+52=61
Exploring Operation: 52+30=82, Resulting Numbers: [9, 24, 82]
Generated Node #0,3: 97:[9, 24, 82] Operation: 52+30=82
Moving to Node #0,0
Current State: 97:[52, 24, 39], Operations: ['9+30=39']
Exploring Operation: 52-24=28, Resulting Numbers: [39, 28]
Generated Node #0,0,0: 97:[39, 28] Operation: 52-24=28
Exploring Operation: 52+39=91, Resulting Numbers: [24, 91]
Generated Node #0,0,1: 97:[24, 91] Operation: 52+39=91
Exploring Operation: 52+24=76, Resulting Numbers: [39, 76]
Generated Node #0,0,2: 97:[39, 76] Operation: 52+24=76
Exploring Operation: 24+39=63, Resulting Numbers: [52, 63]
Generated Node #0,0,3: 97:[52, 63] Operation: 24+39=63
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[24, 91], Operations: ['9+30=39', '52+39=91']
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Exploring Operation: 24+91=115, Resulting Numbers: [115]
115,97 unequal: No Solution
Exploring Operation: 24*91=2184, Resulting Numbers: [2184]
2184,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[39, 76], Operations: ['9+30=39', '52+24=76']
Exploring Operation: 39*76=2964, Resulting Numbers: [2964]
2964,97 unequal: No Solution
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Exploring Operation: 39+76=115, Resulting Numbers: [115]
115,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[52, 63], Operations: ['9+30=39', '24+39=63']
Exploring Operation: 52+63=115, Resulting Numbers: [115]
115,97 unequal: No Solution
Exploring Operation: 52*63=3276, Resulting Numbers: [3276]
3276,97 unequal: No Solution
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[39, 28], Operations: ['9+30=39', '52-24=28']
Exploring Operation: 39+28=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Exploring Operation: 39*28=1092, Resulting Numbers: [1092]
1092,97 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 97:[30, 24, 61], Operations: ['9+52=61']
Exploring Operation: 30+61=91, Resulting Numbers: [24, 91]
Generated Node #0,2,0: 97:[24, 91] Operation: 30+61=91
Exploring Operation: 30-24=6, Resulting Numbers: [61, 6]
Generated Node #0,2,1: 97:[61, 6] Operation: 30-24=6
Exploring Operation: 24+61=85, Resulting Numbers: [30, 85]
Generated Node #0,2,2: 97:[30, 85] Operation: 24+61=85
Exploring Operation: 30+24=54, Resulting Numbers: [61, 54]
Generated Node #0,2,3: 97:[61, 54] Operation: 30+24=54
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[24, 91], Operations: ['9+52=61', '30+61=91']
Exploring Operation: 24*91=2184, Resulting Numbers: [2184]
2184,97 unequal: No Solution
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Exploring Operation: 24+91=115, Resulting Numbers: [115]
115,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[30, 85], Operations: ['9+52=61', '24+61=85']
Exploring Operation: 30*85=2550, Resulting Numbers: [2550]
2550,97 unequal: No Solution
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 30+85=115, Resulting Numbers: [115]
115,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[61, 54], Operations: ['9+52=61', '30+24=54']
Exploring Operation: 61*54=3294, Resulting Numbers: [3294]
3294,97 unequal: No Solution
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,97 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[61, 6], Operations: ['9+52=61', '30-24=6']
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Exploring Operation: 61*6=366, Resulting Numbers: [366]
366,97 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,97 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: 97:[52, 30, 33], Operations: ['9+24=33']
Exploring Operation: 30+33=63, Resulting Numbers: [52, 63]
Generated Node #0,1,0: 97:[52, 63] Operation: 30+33=63
Exploring Operation: 52+33=85, Resulting Numbers: [30, 85]
Generated Node #0,1,1: 97:[30, 85] Operation: 52+33=85
Exploring Operation: 52-30=22, Resulting Numbers: [33, 22]
Generated Node #0,1,2: 97:[33, 22] Operation: 52-30=22
Exploring Operation: 52+30=82, Resulting Numbers: [33, 82]
Generated Node #0,1,3: 97:[33, 82] Operation: 52+30=82
Moving to Node #0,3
Current State: 97:[9, 24, 82], Operations: ['52+30=82']
Exploring Operation: 82-9=73, Resulting Numbers: [24, 73]
Generated Node #0,3,0: 97:[24, 73] Operation: 82-9=73
Exploring Operation: 24-9=15, Resulting Numbers: [82, 15]
Generated Node #0,3,1: 97:[82, 15] Operation: 24-9=15
Exploring Operation: 9+24=33, Resulting Numbers: [82, 33]
Generated Node #0,3,2: 97:[82, 33] Operation: 9+24=33
Exploring Operation: 9+82=91, Resulting Numbers: [24, 91]
Generated Node #0,3,3: 97:[24, 91] Operation: 9+82=91
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[82, 33], Operations: ['52+30=82', '9+24=33']
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Exploring Operation: 82+33=115, Resulting Numbers: [115]
115,97 unequal: No Solution
Exploring Operation: 82*33=2706, Resulting Numbers: [2706]
2706,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[24, 91], Operations: ['52+30=82', '9+82=91']
Exploring Operation: 24*91=2184, Resulting Numbers: [2184]
2184,97 unequal: No Solution
Exploring Operation: 24+91=115, Resulting Numbers: [115]
115,97 unequal: No Solution
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[24, 73], Operations: ['52+30=82', '82-9=73']
Exploring Operation: 24+73=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[9, 52, 30, 24], Operations: []
Exploring Operation: 52+30=82, Resulting Numbers: [9, 24, 82]
Generated Node #0,3: 97:[9, 24, 82] Operation: 52+30=82
Moving to Node #0,3
Current State: 97:[9, 24, 82], Operations: ['52+30=82']
Exploring Operation: 82-9=73, Resulting Numbers: [24, 73]
Generated Node #0,3,0: 97:[24, 73] Operation: 82-9=73
Moving to Node #0,3,0
Current State: 97:[24, 73], Operations: ['52+30=82', '82-9=73']
Exploring Operation: 24+73=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_4 | sum_heuristic |
[
40,
37,
93,
83
] | 96 | [
"37+83=120",
"120/40=3",
"93+3=96"
] | Current State: 96:[40, 37, 93, 83], Operations: []
Exploring Operation: 37+83=120, Resulting Numbers: [40, 93, 120]
Generated Node #2: [40, 93, 120] from Operation: 37+83=120
Current State: 96:[40, 93, 120], Operations: ['37+83=120']
Exploring Operation: 120/40=3, Resulting Numbers: [93, 3]
Generated Node #3: [93, 3] from Operation: 120/40=3
Current State: 96:[93, 3], Operations: ['37+83=120', '120/40=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[40, 37, 93, 83], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [40, 37, 10]
Generated Node #0,0: 96:[40, 37, 10] Operation: 93-83=10
Exploring Operation: 83-40=43, Resulting Numbers: [37, 93, 43]
Generated Node #0,1: 96:[37, 93, 43] Operation: 83-40=43
Exploring Operation: 83-37=46, Resulting Numbers: [40, 93, 46]
Generated Node #0,2: 96:[40, 93, 46] Operation: 83-37=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[37, 93, 43], Operations: ['83-40=43']
Exploring Operation: 93-43=50, Resulting Numbers: [37, 50]
Generated Node #0,1,0: 96:[37, 50] Operation: 93-43=50
Exploring Operation: 43-37=6, Resulting Numbers: [93, 6]
Generated Node #0,1,1: 96:[93, 6] Operation: 43-37=6
Exploring Operation: 93-37=56, Resulting Numbers: [43, 56]
Generated Node #0,1,2: 96:[43, 56] Operation: 93-37=56
Moving to Node #0,1,1
Current State: 96:[93, 6], Operations: ['83-40=43', '43-37=6']
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,96 unequal: No Solution
Exploring Operation: 93*6=558, Resulting Numbers: [558]
558,96 unequal: No Solution
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[37, 50], Operations: ['83-40=43', '93-43=50']
Exploring Operation: 37*50=1850, Resulting Numbers: [1850]
1850,96 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 37+50=87, Resulting Numbers: [87]
87,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[43, 56], Operations: ['83-40=43', '93-37=56']
Exploring Operation: 43*56=2408, Resulting Numbers: [2408]
2408,96 unequal: No Solution
Exploring Operation: 43+56=99, Resulting Numbers: [99]
99,96 unequal: No Solution
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[40, 93, 46], Operations: ['83-37=46']
Exploring Operation: 46-40=6, Resulting Numbers: [93, 6]
Generated Node #0,2,0: 96:[93, 6] Operation: 46-40=6
Exploring Operation: 93-46=47, Resulting Numbers: [40, 47]
Generated Node #0,2,1: 96:[40, 47] Operation: 93-46=47
Exploring Operation: 93-40=53, Resulting Numbers: [46, 53]
Generated Node #0,2,2: 96:[46, 53] Operation: 93-40=53
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[93, 6], Operations: ['83-37=46', '46-40=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,96 unequal: No Solution
Exploring Operation: 93*6=558, Resulting Numbers: [558]
558,96 unequal: No Solution
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[46, 53], Operations: ['83-37=46', '93-40=53']
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 46*53=2438, Resulting Numbers: [2438]
2438,96 unequal: No Solution
Exploring Operation: 46+53=99, Resulting Numbers: [99]
99,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[40, 47], Operations: ['83-37=46', '93-46=47']
Exploring Operation: 40*47=1880, Resulting Numbers: [1880]
1880,96 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[40, 37, 10], Operations: ['93-83=10']
Exploring Operation: 40/10=4, Resulting Numbers: [37, 4]
Generated Node #0,0,0: 96:[37, 4] Operation: 40/10=4
Exploring Operation: 40+10=50, Resulting Numbers: [37, 50]
Generated Node #0,0,1: 96:[37, 50] Operation: 40+10=50
Exploring Operation: 40-37=3, Resulting Numbers: [10, 3]
Generated Node #0,0,2: 96:[10, 3] Operation: 40-37=3
Moving to Node #0,0,2
Current State: 96:[10, 3], Operations: ['93-83=10', '40-37=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[37, 4], Operations: ['93-83=10', '40/10=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[37, 50], Operations: ['93-83=10', '40+10=50']
Exploring Operation: 37+50=87, Resulting Numbers: [87]
87,96 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 37*50=1850, Resulting Numbers: [1850]
1850,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
12,
7,
30,
94
] | 83 | [
"12+7=19",
"94-30=64",
"19+64=83"
] | Current State: 83:[12, 7, 30, 94], Operations: []
Exploring Operation: 12+7=19, Resulting Numbers: [30, 94, 19]
Generated Node #2: [30, 94, 19] from Operation: 12+7=19
Current State: 83:[30, 94, 19], Operations: ['12+7=19']
Exploring Operation: 94-30=64, Resulting Numbers: [19, 64]
Generated Node #3: [19, 64] from Operation: 94-30=64
Current State: 83:[19, 64], Operations: ['12+7=19', '94-30=64']
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[12, 7, 30, 94], Operations: []
Exploring Operation: 12+30=42, Resulting Numbers: [7, 94, 42]
Generated Node #0,0: 83:[7, 94, 42] Operation: 12+30=42
Exploring Operation: 12*7=84, Resulting Numbers: [30, 94, 84]
Generated Node #0,1: 83:[30, 94, 84] Operation: 12*7=84
Exploring Operation: 7+30=37, Resulting Numbers: [12, 94, 37]
Generated Node #0,2: 83:[12, 94, 37] Operation: 7+30=37
Exploring Operation: 12+7=19, Resulting Numbers: [30, 94, 19]
Generated Node #0,3: 83:[30, 94, 19] Operation: 12+7=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[30, 94, 84], Operations: ['12*7=84']
Exploring Operation: 30+84=114, Resulting Numbers: [94, 114]
Generated Node #0,1,0: 83:[94, 114] Operation: 30+84=114
Exploring Operation: 84-30=54, Resulting Numbers: [94, 54]
Generated Node #0,1,1: 83:[94, 54] Operation: 84-30=54
Exploring Operation: 94-30=64, Resulting Numbers: [84, 64]
Generated Node #0,1,2: 83:[84, 64] Operation: 94-30=64
Exploring Operation: 30+94=124, Resulting Numbers: [84, 124]
Generated Node #0,1,3: 83:[84, 124] Operation: 30+94=124
Moving to Node #0,1,2
Current State: 83:[84, 64], Operations: ['12*7=84', '94-30=64']
Exploring Operation: 84*64=5376, Resulting Numbers: [5376]
5376,83 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 84+64=148, Resulting Numbers: [148]
148,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[94, 54], Operations: ['12*7=84', '84-30=54']
Exploring Operation: 94+54=148, Resulting Numbers: [148]
148,83 unequal: No Solution
Exploring Operation: 94*54=5076, Resulting Numbers: [5076]
5076,83 unequal: No Solution
Exploring Operation: 94-54=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[84, 124], Operations: ['12*7=84', '30+94=124']
Exploring Operation: 84+124=208, Resulting Numbers: [208]
208,83 unequal: No Solution
Exploring Operation: 124-84=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 84*124=10416, Resulting Numbers: [10416]
10416,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[94, 114], Operations: ['12*7=84', '30+84=114']
Exploring Operation: 94+114=208, Resulting Numbers: [208]
208,83 unequal: No Solution
Exploring Operation: 94*114=10716, Resulting Numbers: [10716]
10716,83 unequal: No Solution
Exploring Operation: 114-94=20, Resulting Numbers: [20]
20,83 unequal: No Solution
No 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: 83:[7, 94, 42], Operations: ['12+30=42']
Exploring Operation: 7+42=49, Resulting Numbers: [94, 49]
Generated Node #0,0,0: 83:[94, 49] Operation: 7+42=49
Exploring Operation: 94-7=87, Resulting Numbers: [42, 87]
Generated Node #0,0,1: 83:[42, 87] Operation: 94-7=87
Exploring Operation: 7+94=101, Resulting Numbers: [42, 101]
Generated Node #0,0,2: 83:[42, 101] Operation: 7+94=101
Exploring Operation: 42-7=35, Resulting Numbers: [94, 35]
Generated Node #0,0,3: 83:[94, 35] Operation: 42-7=35
Moving to Node #0,0,0
Current State: 83:[94, 49], Operations: ['12+30=42', '7+42=49']
Exploring Operation: 94*49=4606, Resulting Numbers: [4606]
4606,83 unequal: No Solution
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 94+49=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[42, 87], Operations: ['12+30=42', '94-7=87']
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 42*87=3654, Resulting Numbers: [3654]
3654,83 unequal: No Solution
Exploring Operation: 42+87=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[94, 35], Operations: ['12+30=42', '42-7=35']
Exploring Operation: 94+35=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 94*35=3290, Resulting Numbers: [3290]
3290,83 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[42, 101], Operations: ['12+30=42', '7+94=101']
Exploring Operation: 101-42=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 42+101=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Exploring Operation: 42*101=4242, Resulting Numbers: [4242]
4242,83 unequal: No Solution
No 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: 83:[12, 94, 37], Operations: ['7+30=37']
Exploring Operation: 94-12=82, Resulting Numbers: [37, 82]
Generated Node #0,2,0: 83:[37, 82] Operation: 94-12=82
Exploring Operation: 37-12=25, Resulting Numbers: [94, 25]
Generated Node #0,2,1: 83:[94, 25] Operation: 37-12=25
Exploring Operation: 12+37=49, Resulting Numbers: [94, 49]
Generated Node #0,2,2: 83:[94, 49] Operation: 12+37=49
Exploring Operation: 12+94=106, Resulting Numbers: [37, 106]
Generated Node #0,2,3: 83:[37, 106] Operation: 12+94=106
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[94, 49], Operations: ['7+30=37', '12+37=49']
Exploring Operation: 94+49=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Exploring Operation: 94*49=4606, Resulting Numbers: [4606]
4606,83 unequal: No Solution
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,83 unequal: No Solution
No 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: 83:[37, 82], Operations: ['7+30=37', '94-12=82']
Exploring Operation: 37+82=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Exploring Operation: 37*82=3034, Resulting Numbers: [3034]
3034,83 unequal: No Solution
Exploring Operation: 82-37=45, Resulting Numbers: [45]
45,83 unequal: No Solution
No 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: 83:[94, 25], Operations: ['7+30=37', '37-12=25']
Exploring Operation: 94-25=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 94*25=2350, Resulting Numbers: [2350]
2350,83 unequal: No Solution
Exploring Operation: 94+25=119, Resulting Numbers: [119]
119,83 unequal: No Solution
No 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: 83:[37, 106], Operations: ['7+30=37', '12+94=106']
Exploring Operation: 106-37=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 37*106=3922, Resulting Numbers: [3922]
3922,83 unequal: No Solution
Exploring Operation: 37+106=143, Resulting Numbers: [143]
143,83 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: 83:[30, 94, 19], Operations: ['12+7=19']
Exploring Operation: 94-30=64, Resulting Numbers: [19, 64]
Generated Node #0,3,0: 83:[19, 64] Operation: 94-30=64
Exploring Operation: 30-19=11, Resulting Numbers: [94, 11]
Generated Node #0,3,1: 83:[94, 11] Operation: 30-19=11
Exploring Operation: 30+19=49, Resulting Numbers: [94, 49]
Generated Node #0,3,2: 83:[94, 49] Operation: 30+19=49
Exploring Operation: 94-19=75, Resulting Numbers: [30, 75]
Generated Node #0,3,3: 83:[30, 75] Operation: 94-19=75
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 83:[94, 49], Operations: ['12+7=19', '30+19=49']
Exploring Operation: 94*49=4606, Resulting Numbers: [4606]
4606,83 unequal: No Solution
Exploring Operation: 94+49=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,83 unequal: No Solution
No 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: 83:[30, 75], Operations: ['12+7=19', '94-19=75']
Exploring Operation: 30*75=2250, Resulting Numbers: [2250]
2250,83 unequal: No Solution
Exploring Operation: 30+75=105, Resulting Numbers: [105]
105,83 unequal: No Solution
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,83 unequal: No Solution
No 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: 83:[19, 64], Operations: ['12+7=19', '94-30=64']
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[12, 7, 30, 94], Operations: []
Exploring Operation: 12+7=19, Resulting Numbers: [30, 94, 19]
Generated Node #0,3: 83:[30, 94, 19] Operation: 12+7=19
Moving to Node #0,3
Current State: 83:[30, 94, 19], Operations: ['12+7=19']
Exploring Operation: 94-30=64, Resulting Numbers: [19, 64]
Generated Node #0,3,0: 83:[19, 64] Operation: 94-30=64
Moving to Node #0,3,0
Current State: 83:[19, 64], Operations: ['12+7=19', '94-30=64']
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.94184 | hs_4 | mult_heuristic |
[
57,
14,
95,
84
] | 97 | [
"95-84=11",
"14*11=154",
"154-57=97"
] | Current State: 97:[57, 14, 95, 84], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [57, 14, 11]
Generated Node #2: [57, 14, 11] from Operation: 95-84=11
Current State: 97:[57, 14, 11], Operations: ['95-84=11']
Exploring Operation: 14*11=154, Resulting Numbers: [57, 154]
Generated Node #3: [57, 154] from Operation: 14*11=154
Current State: 97:[57, 154], Operations: ['95-84=11', '14*11=154']
Exploring Operation: 154-57=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[57, 14, 95, 84], Operations: []
Exploring Operation: 57+14=71, Resulting Numbers: [95, 84, 71]
Generated Node #0,0: 97:[95, 84, 71] Operation: 57+14=71
Exploring Operation: 57-14=43, Resulting Numbers: [95, 84, 43]
Generated Node #0,1: 97:[95, 84, 43] Operation: 57-14=43
Exploring Operation: 14+84=98, Resulting Numbers: [57, 95, 98]
Generated Node #0,2: 97:[57, 95, 98] Operation: 14+84=98
Exploring Operation: 14+95=109, Resulting Numbers: [57, 84, 109]
Generated Node #0,3: 97:[57, 84, 109] Operation: 14+95=109
Moving to Node #0,0
Current State: 97:[95, 84, 71], Operations: ['57+14=71']
Exploring Operation: 84-71=13, Resulting Numbers: [95, 13]
Generated Node #0,0,0: 97:[95, 13] Operation: 84-71=13
Exploring Operation: 84+71=155, Resulting Numbers: [95, 155]
Generated Node #0,0,1: 97:[95, 155] Operation: 84+71=155
Exploring Operation: 95+71=166, Resulting Numbers: [84, 166]
Generated Node #0,0,2: 97:[84, 166] Operation: 95+71=166
Exploring Operation: 95-71=24, Resulting Numbers: [84, 24]
Generated Node #0,0,3: 97:[84, 24] Operation: 95-71=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[95, 155], Operations: ['57+14=71', '84+71=155']
Exploring Operation: 155-95=60, Resulting Numbers: [60]
60,97 unequal: No Solution
Exploring Operation: 95+155=250, Resulting Numbers: [250]
250,97 unequal: No Solution
Exploring Operation: 95*155=14725, Resulting Numbers: [14725]
14725,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[84, 166], Operations: ['57+14=71', '95+71=166']
Exploring Operation: 166-84=82, Resulting Numbers: [82]
82,97 unequal: No Solution
Exploring Operation: 84*166=13944, Resulting Numbers: [13944]
13944,97 unequal: No Solution
Exploring Operation: 84+166=250, Resulting Numbers: [250]
250,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[95, 13], Operations: ['57+14=71', '84-71=13']
Exploring Operation: 95+13=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Exploring Operation: 95*13=1235, Resulting Numbers: [1235]
1235,97 unequal: No Solution
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[84, 24], Operations: ['57+14=71', '95-71=24']
Exploring Operation: 84+24=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Exploring Operation: 84-24=60, Resulting Numbers: [60]
60,97 unequal: No Solution
Exploring Operation: 84*24=2016, Resulting Numbers: [2016]
2016,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 97:[57, 95, 98], Operations: ['14+84=98']
Exploring Operation: 57+98=155, Resulting Numbers: [95, 155]
Generated Node #0,2,0: 97:[95, 155] Operation: 57+98=155
Exploring Operation: 95-57=38, Resulting Numbers: [98, 38]
Generated Node #0,2,1: 97:[98, 38] Operation: 95-57=38
Exploring Operation: 98-57=41, Resulting Numbers: [95, 41]
Generated Node #0,2,2: 97:[95, 41] Operation: 98-57=41
Exploring Operation: 57+95=152, Resulting Numbers: [98, 152]
Generated Node #0,2,3: 97:[98, 152] Operation: 57+95=152
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[98, 152], Operations: ['14+84=98', '57+95=152']
Exploring Operation: 98*152=14896, Resulting Numbers: [14896]
14896,97 unequal: No Solution
Exploring Operation: 98+152=250, Resulting Numbers: [250]
250,97 unequal: No Solution
Exploring Operation: 152-98=54, Resulting Numbers: [54]
54,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[95, 41], Operations: ['14+84=98', '98-57=41']
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Exploring Operation: 95*41=3895, Resulting Numbers: [3895]
3895,97 unequal: No Solution
Exploring Operation: 95+41=136, Resulting Numbers: [136]
136,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[95, 155], Operations: ['14+84=98', '57+98=155']
Exploring Operation: 155-95=60, Resulting Numbers: [60]
60,97 unequal: No Solution
Exploring Operation: 95*155=14725, Resulting Numbers: [14725]
14725,97 unequal: No Solution
Exploring Operation: 95+155=250, Resulting Numbers: [250]
250,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[98, 38], Operations: ['14+84=98', '95-57=38']
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,97 unequal: No Solution
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,97 unequal: No Solution
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 97:[57, 84, 109], Operations: ['14+95=109']
Exploring Operation: 57+84=141, Resulting Numbers: [109, 141]
Generated Node #0,3,0: 97:[109, 141] Operation: 57+84=141
Exploring Operation: 84-57=27, Resulting Numbers: [109, 27]
Generated Node #0,3,1: 97:[109, 27] Operation: 84-57=27
Exploring Operation: 57+109=166, Resulting Numbers: [84, 166]
Generated Node #0,3,2: 97:[84, 166] Operation: 57+109=166
Exploring Operation: 109-57=52, Resulting Numbers: [84, 52]
Generated Node #0,3,3: 97:[84, 52] Operation: 109-57=52
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[109, 141], Operations: ['14+95=109', '57+84=141']
Exploring Operation: 109+141=250, Resulting Numbers: [250]
250,97 unequal: No Solution
Exploring Operation: 109*141=15369, Resulting Numbers: [15369]
15369,97 unequal: No Solution
Exploring Operation: 141-109=32, Resulting Numbers: [32]
32,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[84, 52], Operations: ['14+95=109', '109-57=52']
Exploring Operation: 84*52=4368, Resulting Numbers: [4368]
4368,97 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 84+52=136, Resulting Numbers: [136]
136,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[109, 27], Operations: ['14+95=109', '84-57=27']
Exploring Operation: 109-27=82, Resulting Numbers: [82]
82,97 unequal: No Solution
Exploring Operation: 109*27=2943, Resulting Numbers: [2943]
2943,97 unequal: No Solution
Exploring Operation: 109+27=136, Resulting Numbers: [136]
136,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[84, 166], Operations: ['14+95=109', '57+109=166']
Exploring Operation: 84*166=13944, Resulting Numbers: [13944]
13944,97 unequal: No Solution
Exploring Operation: 166-84=82, Resulting Numbers: [82]
82,97 unequal: No Solution
Exploring Operation: 84+166=250, Resulting Numbers: [250]
250,97 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: 97:[95, 84, 43], Operations: ['57-14=43']
Exploring Operation: 95+43=138, Resulting Numbers: [84, 138]
Generated Node #0,1,0: 97:[84, 138] Operation: 95+43=138
Exploring Operation: 84-43=41, Resulting Numbers: [95, 41]
Generated Node #0,1,1: 97:[95, 41] Operation: 84-43=41
Exploring Operation: 95-43=52, Resulting Numbers: [84, 52]
Generated Node #0,1,2: 97:[84, 52] Operation: 95-43=52
Exploring Operation: 84+43=127, Resulting Numbers: [95, 127]
Generated Node #0,1,3: 97:[95, 127] Operation: 84+43=127
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 97:[95, 127], Operations: ['57-14=43', '84+43=127']
Exploring Operation: 95*127=12065, Resulting Numbers: [12065]
12065,97 unequal: No Solution
Exploring Operation: 127-95=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 95+127=222, Resulting Numbers: [222]
222,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[84, 138], Operations: ['57-14=43', '95+43=138']
Exploring Operation: 84+138=222, Resulting Numbers: [222]
222,97 unequal: No Solution
Exploring Operation: 84*138=11592, Resulting Numbers: [11592]
11592,97 unequal: No Solution
Exploring Operation: 138-84=54, Resulting Numbers: [54]
54,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[95, 41], Operations: ['57-14=43', '84-43=41']
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Exploring Operation: 95*41=3895, Resulting Numbers: [3895]
3895,97 unequal: No Solution
Exploring Operation: 95+41=136, Resulting Numbers: [136]
136,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[84, 52], Operations: ['57-14=43', '95-43=52']
Exploring Operation: 84+52=136, Resulting Numbers: [136]
136,97 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 84*52=4368, Resulting Numbers: [4368]
4368,97 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 |
[
86,
40,
56,
24
] | 18 | [
"86-56=30",
"24*30=720",
"720/40=18"
] | Current State: 18:[86, 40, 56, 24], Operations: []
Exploring Operation: 86-56=30, Resulting Numbers: [40, 24, 30]
Generated Node #2: [40, 24, 30] from Operation: 86-56=30
Current State: 18:[40, 24, 30], Operations: ['86-56=30']
Exploring Operation: 24*30=720, Resulting Numbers: [40, 720]
Generated Node #3: [40, 720] from Operation: 24*30=720
Current State: 18:[40, 720], Operations: ['86-56=30', '24*30=720']
Exploring Operation: 720/40=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[86, 40, 56, 24], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [86, 24, 16]
Generated Node #0,0: 18:[86, 24, 16] Operation: 56-40=16
Exploring Operation: 86-56=30, Resulting Numbers: [40, 24, 30]
Generated Node #0,1: 18:[40, 24, 30] Operation: 86-56=30
Exploring Operation: 86-24=62, Resulting Numbers: [40, 56, 62]
Generated Node #0,2: 18:[40, 56, 62] Operation: 86-24=62
Exploring Operation: 56-24=32, Resulting Numbers: [86, 40, 32]
Generated Node #0,3: 18:[86, 40, 32] Operation: 56-24=32
Exploring Operation: 86-40=46, Resulting Numbers: [56, 24, 46]
Generated Node #0,4: 18:[56, 24, 46] Operation: 86-40=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[40, 24, 30], Operations: ['86-56=30']
Exploring Operation: 30-24=6, Resulting Numbers: [40, 6]
Generated Node #0,1,0: 18:[40, 6] Operation: 30-24=6
Exploring Operation: 40-30=10, Resulting Numbers: [24, 10]
Generated Node #0,1,1: 18:[24, 10] Operation: 40-30=10
Exploring Operation: 40+30=70, Resulting Numbers: [24, 70]
Generated Node #0,1,2: 18:[24, 70] Operation: 40+30=70
Exploring Operation: 40+24=64, Resulting Numbers: [30, 64]
Generated Node #0,1,3: 18:[30, 64] Operation: 40+24=64
Exploring Operation: 40-24=16, Resulting Numbers: [30, 16]
Generated Node #0,1,4: 18:[30, 16] Operation: 40-24=16
Moving to Node #0,1,1
Current State: 18:[24, 10], Operations: ['86-56=30', '40-30=10']
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,18 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Moving to Node #0,1,4
Current State: 18:[30, 16], Operations: ['86-56=30', '40-24=16']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,18 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[40, 6], Operations: ['86-56=30', '30-24=6']
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,18 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[24, 70], Operations: ['86-56=30', '40+30=70']
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,18 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[30, 64], Operations: ['86-56=30', '40+24=64']
Exploring Operation: 30*64=1920, Resulting Numbers: [1920]
1920,18 unequal: No Solution
Exploring Operation: 30+64=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 18:[56, 24, 46], Operations: ['86-40=46']
Exploring Operation: 56-24=32, Resulting Numbers: [46, 32]
Generated Node #0,4,0: 18:[46, 32] Operation: 56-24=32
Exploring Operation: 56-46=10, Resulting Numbers: [24, 10]
Generated Node #0,4,1: 18:[24, 10] Operation: 56-46=10
Exploring Operation: 56+24=80, Resulting Numbers: [46, 80]
Generated Node #0,4,2: 18:[46, 80] Operation: 56+24=80
Exploring Operation: 56+46=102, Resulting Numbers: [24, 102]
Generated Node #0,4,3: 18:[24, 102] Operation: 56+46=102
Exploring Operation: 46-24=22, Resulting Numbers: [56, 22]
Generated Node #0,4,4: 18:[56, 22] Operation: 46-24=22
Moving to Node #0,4,1
Current State: 18:[24, 10], Operations: ['86-40=46', '56-46=10']
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,18 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Moving to Node #0,4,4
Current State: 18:[56, 22], Operations: ['86-40=46', '46-24=22']
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 56*22=1232, Resulting Numbers: [1232]
1232,18 unequal: No Solution
Moving to Node #0,4,0
Current State: 18:[46, 32], Operations: ['86-40=46', '56-24=32']
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,18 unequal: No Solution
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Moving to Node #0,4,2
Current State: 18:[46, 80], Operations: ['86-40=46', '56+24=80']
Exploring Operation: 46+80=126, Resulting Numbers: [126]
126,18 unequal: No Solution
Exploring Operation: 46*80=3680, Resulting Numbers: [3680]
3680,18 unequal: No Solution
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Moving to Node #0,4,3
Current State: 18:[24, 102], Operations: ['86-40=46', '56+46=102']
Exploring Operation: 24+102=126, Resulting Numbers: [126]
126,18 unequal: No Solution
Exploring Operation: 102-24=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 24*102=2448, Resulting Numbers: [2448]
2448,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[86, 24, 16], Operations: ['56-40=16']
Exploring Operation: 86-16=70, Resulting Numbers: [24, 70]
Generated Node #0,0,0: 18:[24, 70] Operation: 86-16=70
Exploring Operation: 24+16=40, Resulting Numbers: [86, 40]
Generated Node #0,0,1: 18:[86, 40] Operation: 24+16=40
Exploring Operation: 86+16=102, Resulting Numbers: [24, 102]
Generated Node #0,0,2: 18:[24, 102] Operation: 86+16=102
Exploring Operation: 24-16=8, Resulting Numbers: [86, 8]
Generated Node #0,0,3: 18:[86, 8] Operation: 24-16=8
Exploring Operation: 86-24=62, Resulting Numbers: [16, 62]
Generated Node #0,0,4: 18:[16, 62] Operation: 86-24=62
Moving to Node #0,0,4
Current State: 18:[16, 62], Operations: ['56-40=16', '86-24=62']
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,18 unequal: No Solution
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[24, 70], Operations: ['56-40=16', '86-16=70']
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,18 unequal: No Solution
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[86, 8], Operations: ['56-40=16', '24-16=8']
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 86*8=688, Resulting Numbers: [688]
688,18 unequal: No Solution
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[86, 40], Operations: ['56-40=16', '24+16=40']
Exploring Operation: 86*40=3440, Resulting Numbers: [3440]
3440,18 unequal: No Solution
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[24, 102], Operations: ['56-40=16', '86+16=102']
Exploring Operation: 24*102=2448, Resulting Numbers: [2448]
2448,18 unequal: No Solution
Exploring Operation: 24+102=126, Resulting Numbers: [126]
126,18 unequal: No Solution
Exploring Operation: 102-24=78, Resulting Numbers: [78]
78,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[40, 56, 62], Operations: ['86-24=62']
Exploring Operation: 56-40=16, Resulting Numbers: [62, 16]
Generated Node #0,2,0: 18:[62, 16] Operation: 56-40=16
Exploring Operation: 40+62=102, Resulting Numbers: [56, 102]
Generated Node #0,2,1: 18:[56, 102] Operation: 40+62=102
Exploring Operation: 62-40=22, Resulting Numbers: [56, 22]
Generated Node #0,2,2: 18:[56, 22] Operation: 62-40=22
Exploring Operation: 62-56=6, Resulting Numbers: [40, 6]
Generated Node #0,2,3: 18:[40, 6] Operation: 62-56=6
Exploring Operation: 40+56=96, Resulting Numbers: [62, 96]
Generated Node #0,2,4: 18:[62, 96] Operation: 40+56=96
Moving to Node #0,2,3
Current State: 18:[40, 6], Operations: ['86-24=62', '62-56=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[56, 22], Operations: ['86-24=62', '62-40=22']
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 56*22=1232, Resulting Numbers: [1232]
1232,18 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[62, 16], Operations: ['86-24=62', '56-40=16']
Exploring Operation: 62*16=992, Resulting Numbers: [992]
992,18 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[56, 102], Operations: ['86-24=62', '40+62=102']
Exploring Operation: 56*102=5712, Resulting Numbers: [5712]
5712,18 unequal: No Solution
Exploring Operation: 56+102=158, Resulting Numbers: [158]
158,18 unequal: No Solution
Exploring Operation: 102-56=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[62, 96], Operations: ['86-24=62', '40+56=96']
Exploring Operation: 62*96=5952, Resulting Numbers: [5952]
5952,18 unequal: No Solution
Exploring Operation: 62+96=158, Resulting Numbers: [158]
158,18 unequal: No Solution
Exploring Operation: 96-62=34, Resulting Numbers: [34]
34,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[86, 40, 32], Operations: ['56-24=32']
Exploring Operation: 86-32=54, Resulting Numbers: [40, 54]
Generated Node #0,3,0: 18:[40, 54] Operation: 86-32=54
Exploring Operation: 86+40=126, Resulting Numbers: [32, 126]
Generated Node #0,3,1: 18:[32, 126] Operation: 86+40=126
Exploring Operation: 40-32=8, Resulting Numbers: [86, 8]
Generated Node #0,3,2: 18:[86, 8] Operation: 40-32=8
Exploring Operation: 86+32=118, Resulting Numbers: [40, 118]
Generated Node #0,3,3: 18:[40, 118] Operation: 86+32=118
Exploring Operation: 86-40=46, Resulting Numbers: [32, 46]
Generated Node #0,3,4: 18:[32, 46] Operation: 86-40=46
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 18:[32, 46], Operations: ['56-24=32', '86-40=46']
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,18 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,18 unequal: No Solution
No 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: 18:[40, 54], Operations: ['56-24=32', '86-32=54']
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Exploring Operation: 40*54=2160, Resulting Numbers: [2160]
2160,18 unequal: No Solution
No 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: 18:[86, 8], Operations: ['56-24=32', '40-32=8']
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 86*8=688, Resulting Numbers: [688]
688,18 unequal: No Solution
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,18 unequal: No Solution
No 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: 18:[32, 126], Operations: ['56-24=32', '86+40=126']
Exploring Operation: 126-32=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Exploring Operation: 32+126=158, Resulting Numbers: [158]
158,18 unequal: No Solution
Exploring Operation: 32*126=4032, Resulting Numbers: [4032]
4032,18 unequal: No Solution
No 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: 18:[40, 118], Operations: ['56-24=32', '86+32=118']
Exploring Operation: 118-40=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 40*118=4720, Resulting Numbers: [4720]
4720,18 unequal: No Solution
Exploring Operation: 40+118=158, Resulting Numbers: [158]
158,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
28,
38,
98,
92
] | 19 | [
"38-28=10",
"98+92=190",
"190/10=19"
] | Current State: 19:[28, 38, 98, 92], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [98, 92, 10]
Generated Node #2: [98, 92, 10] from Operation: 38-28=10
Current State: 19:[98, 92, 10], Operations: ['38-28=10']
Exploring Operation: 98+92=190, Resulting Numbers: [10, 190]
Generated Node #3: [10, 190] from Operation: 98+92=190
Current State: 19:[10, 190], Operations: ['38-28=10', '98+92=190']
Exploring Operation: 190/10=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[28, 38, 98, 92], Operations: []
Exploring Operation: 92-38=54, Resulting Numbers: [28, 98, 54]
Generated Node #0,0: 19:[28, 98, 54] Operation: 92-38=54
Exploring Operation: 98-92=6, Resulting Numbers: [28, 38, 6]
Generated Node #0,1: 19:[28, 38, 6] Operation: 98-92=6
Exploring Operation: 98-38=60, Resulting Numbers: [28, 92, 60]
Generated Node #0,2: 19:[28, 92, 60] Operation: 98-38=60
Exploring Operation: 98-28=70, Resulting Numbers: [38, 92, 70]
Generated Node #0,3: 19:[38, 92, 70] Operation: 98-28=70
Moving to Node #0,1
Current State: 19:[28, 38, 6], Operations: ['98-92=6']
Exploring Operation: 38-28=10, Resulting Numbers: [6, 10]
Generated Node #0,1,0: 19:[6, 10] Operation: 38-28=10
Exploring Operation: 28+6=34, Resulting Numbers: [38, 34]
Generated Node #0,1,1: 19:[38, 34] Operation: 28+6=34
Exploring Operation: 38-6=32, Resulting Numbers: [28, 32]
Generated Node #0,1,2: 19:[28, 32] Operation: 38-6=32
Exploring Operation: 28-6=22, Resulting Numbers: [38, 22]
Generated Node #0,1,3: 19:[38, 22] Operation: 28-6=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[6, 10], Operations: ['98-92=6', '38-28=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,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,1,2
Current State: 19:[28, 32], Operations: ['98-92=6', '38-6=32']
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,19 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,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,1,3
Current State: 19:[38, 22], Operations: ['98-92=6', '28-6=22']
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,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,1,1
Current State: 19:[38, 34], Operations: ['98-92=6', '28+6=34']
Exploring Operation: 38+34=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Exploring Operation: 38*34=1292, Resulting Numbers: [1292]
1292,19 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,19 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: 19:[28, 92, 60], Operations: ['98-38=60']
Exploring Operation: 28+92=120, Resulting Numbers: [60, 120]
Generated Node #0,2,0: 19:[60, 120] Operation: 28+92=120
Exploring Operation: 92-60=32, Resulting Numbers: [28, 32]
Generated Node #0,2,1: 19:[28, 32] Operation: 92-60=32
Exploring Operation: 92-28=64, Resulting Numbers: [60, 64]
Generated Node #0,2,2: 19:[60, 64] Operation: 92-28=64
Exploring Operation: 60-28=32, Resulting Numbers: [92, 32]
Generated Node #0,2,3: 19:[92, 32] Operation: 60-28=32
Moving to Node #0,0
Current State: 19:[28, 98, 54], Operations: ['92-38=54']
Exploring Operation: 98-28=70, Resulting Numbers: [54, 70]
Generated Node #0,0,0: 19:[54, 70] Operation: 98-28=70
Exploring Operation: 98-54=44, Resulting Numbers: [28, 44]
Generated Node #0,0,1: 19:[28, 44] Operation: 98-54=44
Exploring Operation: 28+98=126, Resulting Numbers: [54, 126]
Generated Node #0,0,2: 19:[54, 126] Operation: 28+98=126
Exploring Operation: 54-28=26, Resulting Numbers: [98, 26]
Generated Node #0,0,3: 19:[98, 26] Operation: 54-28=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[28, 44], Operations: ['92-38=54', '98-54=44']
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,19 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,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,0
Current State: 19:[54, 70], Operations: ['92-38=54', '98-28=70']
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 54*70=3780, Resulting Numbers: [3780]
3780,19 unequal: No Solution
Exploring Operation: 54+70=124, Resulting Numbers: [124]
124,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,3
Current State: 19:[98, 26], Operations: ['92-38=54', '54-28=26']
Exploring Operation: 98*26=2548, Resulting Numbers: [2548]
2548,19 unequal: No Solution
Exploring Operation: 98-26=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Exploring Operation: 98+26=124, Resulting Numbers: [124]
124,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,2
Current State: 19:[54, 126], Operations: ['92-38=54', '28+98=126']
Exploring Operation: 54*126=6804, Resulting Numbers: [6804]
6804,19 unequal: No Solution
Exploring Operation: 126-54=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Exploring Operation: 54+126=180, Resulting Numbers: [180]
180,19 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: 19:[38, 92, 70], Operations: ['98-28=70']
Exploring Operation: 92-38=54, Resulting Numbers: [70, 54]
Generated Node #0,3,0: 19:[70, 54] Operation: 92-38=54
Exploring Operation: 70-38=32, Resulting Numbers: [92, 32]
Generated Node #0,3,1: 19:[92, 32] Operation: 70-38=32
Exploring Operation: 38+92=130, Resulting Numbers: [70, 130]
Generated Node #0,3,2: 19:[70, 130] Operation: 38+92=130
Exploring Operation: 92-70=22, Resulting Numbers: [38, 22]
Generated Node #0,3,3: 19:[38, 22] Operation: 92-70=22
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 19:[38, 22], Operations: ['98-28=70', '92-70=22']
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,19 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[70, 54], Operations: ['98-28=70', '92-38=54']
Exploring Operation: 70+54=124, Resulting Numbers: [124]
124,19 unequal: No Solution
Exploring Operation: 70*54=3780, Resulting Numbers: [3780]
3780,19 unequal: No Solution
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[92, 32], Operations: ['98-28=70', '70-38=32']
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 92*32=2944, Resulting Numbers: [2944]
2944,19 unequal: No Solution
Exploring Operation: 92+32=124, Resulting Numbers: [124]
124,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 19:[70, 130], Operations: ['98-28=70', '38+92=130']
Exploring Operation: 70*130=9100, Resulting Numbers: [9100]
9100,19 unequal: No Solution
Exploring Operation: 70+130=200, Resulting Numbers: [200]
200,19 unequal: No Solution
Exploring Operation: 130-70=60, Resulting Numbers: [60]
60,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 19:[28, 32], Operations: ['98-38=60', '92-60=32']
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,19 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[92, 32], Operations: ['98-38=60', '60-28=32']
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 92*32=2944, Resulting Numbers: [2944]
2944,19 unequal: No Solution
Exploring Operation: 92+32=124, Resulting Numbers: [124]
124,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[60, 64], Operations: ['98-38=60', '92-28=64']
Exploring Operation: 60+64=124, Resulting Numbers: [124]
124,19 unequal: No Solution
Exploring Operation: 60*64=3840, Resulting Numbers: [3840]
3840,19 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[60, 120], Operations: ['98-38=60', '28+92=120']
Exploring Operation: 60*120=7200, Resulting Numbers: [7200]
7200,19 unequal: No Solution
Exploring Operation: 120/60=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 120-60=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 60+120=180, Resulting Numbers: [180]
180,19 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
60,
42,
17,
15
] | 36 | [
"60-42=18",
"17-15=2",
"18*2=36"
] | Current State: 36:[60, 42, 17, 15], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [17, 15, 18]
Generated Node #2: [17, 15, 18] from Operation: 60-42=18
Current State: 36:[17, 15, 18], Operations: ['60-42=18']
Exploring Operation: 17-15=2, Resulting Numbers: [18, 2]
Generated Node #3: [18, 2] from Operation: 17-15=2
Current State: 36:[18, 2], Operations: ['60-42=18', '17-15=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[60, 42, 17, 15], Operations: []
Exploring Operation: 60-17=43, Resulting Numbers: [42, 15, 43]
Generated Node #0,0: 36:[42, 15, 43] Operation: 60-17=43
Exploring Operation: 60/15=4, Resulting Numbers: [42, 17, 4]
Generated Node #0,1: 36:[42, 17, 4] Operation: 60/15=4
Exploring Operation: 60-42=18, Resulting Numbers: [17, 15, 18]
Generated Node #0,2: 36:[17, 15, 18] Operation: 60-42=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[17, 15, 18], Operations: ['60-42=18']
Exploring Operation: 18-15=3, Resulting Numbers: [17, 3]
Generated Node #0,2,0: 36:[17, 3] Operation: 18-15=3
Exploring Operation: 17-15=2, Resulting Numbers: [18, 2]
Generated Node #0,2,1: 36:[18, 2] Operation: 17-15=2
Exploring Operation: 17+15=32, Resulting Numbers: [18, 32]
Generated Node #0,2,2: 36:[18, 32] Operation: 17+15=32
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[18, 2], Operations: ['60-42=18', '17-15=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[60, 42, 17, 15], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [17, 15, 18]
Generated Node #0,2: 36:[17, 15, 18] Operation: 60-42=18
Moving to Node #0,2
Current State: 36:[17, 15, 18], Operations: ['60-42=18']
Exploring Operation: 17-15=2, Resulting Numbers: [18, 2]
Generated Node #0,2,1: 36:[18, 2] Operation: 17-15=2
Moving to Node #0,2,1
Current State: 36:[18, 2], Operations: ['60-42=18', '17-15=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
59,
13,
22,
68
] | 88 | [
"59+13=72",
"72-68=4",
"22*4=88"
] | Current State: 88:[59, 13, 22, 68], Operations: []
Exploring Operation: 59+13=72, Resulting Numbers: [22, 68, 72]
Generated Node #2: [22, 68, 72] from Operation: 59+13=72
Current State: 88:[22, 68, 72], Operations: ['59+13=72']
Exploring Operation: 72-68=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 72-68=4
Current State: 88:[22, 4], Operations: ['59+13=72', '72-68=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[59, 13, 22, 68], Operations: []
Exploring Operation: 68-22=46, Resulting Numbers: [59, 13, 46]
Generated Node #0,0: 88:[59, 13, 46] Operation: 68-22=46
Exploring Operation: 22+68=90, Resulting Numbers: [59, 13, 90]
Generated Node #0,1: 88:[59, 13, 90] Operation: 22+68=90
Exploring Operation: 59-13=46, Resulting Numbers: [22, 68, 46]
Generated Node #0,2: 88:[22, 68, 46] Operation: 59-13=46
Exploring Operation: 68-59=9, Resulting Numbers: [13, 22, 9]
Generated Node #0,3: 88:[13, 22, 9] Operation: 68-59=9
Exploring Operation: 13+68=81, Resulting Numbers: [59, 22, 81]
Generated Node #0,4: 88:[59, 22, 81] Operation: 13+68=81
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[13, 22, 9], Operations: ['68-59=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22, 22]
Generated Node #0,3,0: 88:[22, 22] Operation: 13+9=22
Exploring Operation: 13+22=35, Resulting Numbers: [9, 35]
Generated Node #0,3,1: 88:[9, 35] Operation: 13+22=35
Exploring Operation: 13-9=4, Resulting Numbers: [22, 4]
Generated Node #0,3,2: 88:[22, 4] Operation: 13-9=4
Exploring Operation: 22-9=13, Resulting Numbers: [13, 13]
Generated Node #0,3,3: 88:[13, 13] Operation: 22-9=13
Exploring Operation: 22-13=9, Resulting Numbers: [9, 9]
Generated Node #0,3,4: 88:[9, 9] Operation: 22-13=9
Moving to Node #0,3,0
Current State: 88:[22, 22], Operations: ['68-59=9', '13+9=22']
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,88 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 22*22=484, Resulting Numbers: [484]
484,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[22, 4], Operations: ['68-59=9', '13-9=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[59, 13, 22, 68], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [13, 22, 9]
Generated Node #0,3: 88:[13, 22, 9] Operation: 68-59=9
Moving to Node #0,3
Current State: 88:[13, 22, 9], Operations: ['68-59=9']
Exploring Operation: 13-9=4, Resulting Numbers: [22, 4]
Generated Node #0,3,2: 88:[22, 4] Operation: 13-9=4
Moving to Node #0,3,2
Current State: 88:[22, 4], Operations: ['68-59=9', '13-9=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
77,
81,
56,
16
] | 18 | [
"81-77=4",
"56+16=72",
"72/4=18"
] | Current State: 18:[77, 81, 56, 16], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [56, 16, 4]
Generated Node #2: [56, 16, 4] from Operation: 81-77=4
Current State: 18:[56, 16, 4], Operations: ['81-77=4']
Exploring Operation: 56+16=72, Resulting Numbers: [4, 72]
Generated Node #3: [4, 72] from Operation: 56+16=72
Current State: 18:[4, 72], Operations: ['81-77=4', '56+16=72']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[77, 81, 56, 16], Operations: []
Exploring Operation: 81-56=25, Resulting Numbers: [77, 16, 25]
Generated Node #0,0: 18:[77, 16, 25] Operation: 81-56=25
Exploring Operation: 81-16=65, Resulting Numbers: [77, 56, 65]
Generated Node #0,1: 18:[77, 56, 65] Operation: 81-16=65
Exploring Operation: 81-77=4, Resulting Numbers: [56, 16, 4]
Generated Node #0,2: 18:[56, 16, 4] Operation: 81-77=4
Exploring Operation: 77-16=61, Resulting Numbers: [81, 56, 61]
Generated Node #0,3: 18:[81, 56, 61] Operation: 77-16=61
Exploring Operation: 77-56=21, Resulting Numbers: [81, 16, 21]
Generated Node #0,4: 18:[81, 16, 21] Operation: 77-56=21
Moving to Node #0,2
Current State: 18:[56, 16, 4], Operations: ['81-77=4']
Exploring Operation: 16/4=4, Resulting Numbers: [56, 4]
Generated Node #0,2,0: 18:[56, 4] Operation: 16/4=4
Exploring Operation: 16+4=20, Resulting Numbers: [56, 20]
Generated Node #0,2,1: 18:[56, 20] Operation: 16+4=20
Exploring Operation: 56-16=40, Resulting Numbers: [4, 40]
Generated Node #0,2,2: 18:[4, 40] Operation: 56-16=40
Exploring Operation: 56/4=14, Resulting Numbers: [16, 14]
Generated Node #0,2,3: 18:[16, 14] Operation: 56/4=14
Exploring Operation: 56-4=52, Resulting Numbers: [16, 52]
Generated Node #0,2,4: 18:[16, 52] Operation: 56-4=52
Moving to Node #0,4
Current State: 18:[81, 16, 21], Operations: ['77-56=21']
Exploring Operation: 81+16=97, Resulting Numbers: [21, 97]
Generated Node #0,4,0: 18:[21, 97] Operation: 81+16=97
Exploring Operation: 81-16=65, Resulting Numbers: [21, 65]
Generated Node #0,4,1: 18:[21, 65] Operation: 81-16=65
Exploring Operation: 81-21=60, Resulting Numbers: [16, 60]
Generated Node #0,4,2: 18:[16, 60] Operation: 81-21=60
Exploring Operation: 21-16=5, Resulting Numbers: [81, 5]
Generated Node #0,4,3: 18:[81, 5] Operation: 21-16=5
Exploring Operation: 16+21=37, Resulting Numbers: [81, 37]
Generated Node #0,4,4: 18:[81, 37] Operation: 16+21=37
Moving to Node #0,0
Current State: 18:[77, 16, 25], Operations: ['81-56=25']
Exploring Operation: 16+25=41, Resulting Numbers: [77, 41]
Generated Node #0,0,0: 18:[77, 41] Operation: 16+25=41
Exploring Operation: 77-25=52, Resulting Numbers: [16, 52]
Generated Node #0,0,1: 18:[16, 52] Operation: 77-25=52
Exploring Operation: 77+16=93, Resulting Numbers: [25, 93]
Generated Node #0,0,2: 18:[25, 93] Operation: 77+16=93
Exploring Operation: 77-16=61, Resulting Numbers: [25, 61]
Generated Node #0,0,3: 18:[25, 61] Operation: 77-16=61
Exploring Operation: 25-16=9, Resulting Numbers: [77, 9]
Generated Node #0,0,4: 18:[77, 9] Operation: 25-16=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[16, 52], Operations: ['81-56=25', '77-25=52']
Exploring Operation: 16+52=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 16*52=832, Resulting Numbers: [832]
832,18 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 18:[25, 61], Operations: ['81-56=25', '77-16=61']
Exploring Operation: 25*61=1525, Resulting Numbers: [1525]
1525,18 unequal: No Solution
Exploring Operation: 25+61=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 18:[77, 9], Operations: ['81-56=25', '25-16=9']
Exploring Operation: 77*9=693, Resulting Numbers: [693]
693,18 unequal: No Solution
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[77, 41], Operations: ['81-56=25', '16+25=41']
Exploring Operation: 77-41=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 77+41=118, Resulting Numbers: [118]
118,18 unequal: No Solution
Exploring Operation: 77*41=3157, Resulting Numbers: [3157]
3157,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[25, 93], Operations: ['81-56=25', '77+16=93']
Exploring Operation: 25*93=2325, Resulting Numbers: [2325]
2325,18 unequal: No Solution
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 25+93=118, Resulting Numbers: [118]
118,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 18:[77, 56, 65], Operations: ['81-16=65']
Exploring Operation: 77+65=142, Resulting Numbers: [56, 142]
Generated Node #0,1,0: 18:[56, 142] Operation: 77+65=142
Exploring Operation: 65-56=9, Resulting Numbers: [77, 9]
Generated Node #0,1,1: 18:[77, 9] Operation: 65-56=9
Exploring Operation: 77-65=12, Resulting Numbers: [56, 12]
Generated Node #0,1,2: 18:[56, 12] Operation: 77-65=12
Exploring Operation: 77+56=133, Resulting Numbers: [65, 133]
Generated Node #0,1,3: 18:[65, 133] Operation: 77+56=133
Exploring Operation: 77-56=21, Resulting Numbers: [65, 21]
Generated Node #0,1,4: 18:[65, 21] Operation: 77-56=21
Moving to Node #0,3
Current State: 18:[81, 56, 61], Operations: ['77-16=61']
Exploring Operation: 81-56=25, Resulting Numbers: [61, 25]
Generated Node #0,3,0: 18:[61, 25] Operation: 81-56=25
Exploring Operation: 81+56=137, Resulting Numbers: [61, 137]
Generated Node #0,3,1: 18:[61, 137] Operation: 81+56=137
Exploring Operation: 81+61=142, Resulting Numbers: [56, 142]
Generated Node #0,3,2: 18:[56, 142] Operation: 81+61=142
Exploring Operation: 81-61=20, Resulting Numbers: [56, 20]
Generated Node #0,3,3: 18:[56, 20] Operation: 81-61=20
Exploring Operation: 61-56=5, Resulting Numbers: [81, 5]
Generated Node #0,3,4: 18:[81, 5] Operation: 61-56=5
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[56, 20], Operations: ['77-16=61', '81-61=20']
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[61, 25], Operations: ['77-16=61', '81-56=25']
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 18:[81, 5], Operations: ['77-16=61', '61-56=5']
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,18 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[61, 137], Operations: ['77-16=61', '81+56=137']
Exploring Operation: 61+137=198, Resulting Numbers: [198]
198,18 unequal: No Solution
Exploring Operation: 137-61=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 61*137=8357, Resulting Numbers: [8357]
8357,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[56, 142], Operations: ['77-16=61', '81+61=142']
Exploring Operation: 142-56=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 56*142=7952, Resulting Numbers: [7952]
7952,18 unequal: No Solution
Exploring Operation: 56+142=198, Resulting Numbers: [198]
198,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 18:[16, 14], Operations: ['81-77=4', '56/4=14']
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,18 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[4, 40], Operations: ['81-77=4', '56-16=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,18 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,18 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[16, 52], Operations: ['81-77=4', '56-4=52']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 16*52=832, Resulting Numbers: [832]
832,18 unequal: No Solution
Exploring Operation: 16+52=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[56, 4], Operations: ['81-77=4', '16/4=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,18 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,18 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[56, 20], Operations: ['81-77=4', '16+4=20']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,18 unequal: No Solution
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[56, 12], Operations: ['81-16=65', '77-65=12']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,18 unequal: No Solution
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,18 unequal: No Solution
Moving to Node #0,4,2
Current State: 18:[16, 60], Operations: ['77-56=21', '81-21=60']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,18 unequal: No Solution
Exploring Operation: 16+60=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 16*60=960, Resulting Numbers: [960]
960,18 unequal: No Solution
Moving to Node #0,4,1
Current State: 18:[21, 65], Operations: ['77-56=21', '81-16=65']
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,18 unequal: No Solution
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,18 unequal: No Solution
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Moving to Node #0,1,4
Current State: 18:[65, 21], Operations: ['81-16=65', '77-56=21']
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,18 unequal: No Solution
Exploring Operation: 65+21=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 65*21=1365, Resulting Numbers: [1365]
1365,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[77, 9], Operations: ['81-16=65', '65-56=9']
Exploring Operation: 77*9=693, Resulting Numbers: [693]
693,18 unequal: No Solution
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Moving to Node #0,4,3
Current State: 18:[81, 5], Operations: ['77-56=21', '21-16=5']
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,18 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Moving to Node #0,4,0
Current State: 18:[21, 97], Operations: ['77-56=21', '81+16=97']
Exploring Operation: 21*97=2037, Resulting Numbers: [2037]
2037,18 unequal: No Solution
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 21+97=118, Resulting Numbers: [118]
118,18 unequal: No Solution
Moving to Node #0,4,4
Current State: 18:[81, 37], Operations: ['77-56=21', '16+21=37']
Exploring Operation: 81*37=2997, Resulting Numbers: [2997]
2997,18 unequal: No Solution
Exploring Operation: 81+37=118, Resulting Numbers: [118]
118,18 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[56, 142], Operations: ['81-16=65', '77+65=142']
Exploring Operation: 56*142=7952, Resulting Numbers: [7952]
7952,18 unequal: No Solution
Exploring Operation: 56+142=198, Resulting Numbers: [198]
198,18 unequal: No Solution
Exploring Operation: 142-56=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[65, 133], Operations: ['81-16=65', '77+56=133']
Exploring Operation: 133-65=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 65*133=8645, Resulting Numbers: [8645]
8645,18 unequal: No Solution
Exploring Operation: 65+133=198, Resulting Numbers: [198]
198,18 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
22,
67,
29,
83
] | 67 | [
"67-22=45",
"29+83=112",
"112-45=67"
] | Current State: 67:[22, 67, 29, 83], Operations: []
Exploring Operation: 67-22=45, Resulting Numbers: [29, 83, 45]
Generated Node #2: [29, 83, 45] from Operation: 67-22=45
Current State: 67:[29, 83, 45], Operations: ['67-22=45']
Exploring Operation: 29+83=112, Resulting Numbers: [45, 112]
Generated Node #3: [45, 112] from Operation: 29+83=112
Current State: 67:[45, 112], Operations: ['67-22=45', '29+83=112']
Exploring Operation: 112-45=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[22, 67, 29, 83], Operations: []
Exploring Operation: 83-22=61, Resulting Numbers: [67, 29, 61]
Generated Node #0,0: 67:[67, 29, 61] Operation: 83-22=61
Exploring Operation: 83-29=54, Resulting Numbers: [22, 67, 54]
Generated Node #0,1: 67:[22, 67, 54] Operation: 83-29=54
Exploring Operation: 22+29=51, Resulting Numbers: [67, 83, 51]
Generated Node #0,2: 67:[67, 83, 51] Operation: 22+29=51
Moving to Node #0,2
Current State: 67:[67, 83, 51], Operations: ['22+29=51']
Exploring Operation: 67+51=118, Resulting Numbers: [83, 118]
Generated Node #0,2,0: 67:[83, 118] Operation: 67+51=118
Exploring Operation: 83-67=16, Resulting Numbers: [51, 16]
Generated Node #0,2,1: 67:[51, 16] Operation: 83-67=16
Exploring Operation: 83-51=32, Resulting Numbers: [67, 32]
Generated Node #0,2,2: 67:[67, 32] Operation: 83-51=32
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[67, 32], Operations: ['22+29=51', '83-51=32']
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[83, 118], Operations: ['22+29=51', '67+51=118']
Exploring Operation: 83+118=201, Resulting Numbers: [201]
201,67 unequal: No Solution
Exploring Operation: 118-83=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 83*118=9794, Resulting Numbers: [9794]
9794,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[51, 16], Operations: ['22+29=51', '83-67=16']
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[22, 67, 29, 83], Operations: []
Exploring Operation: 22+29=51, Resulting Numbers: [67, 83, 51]
Generated Node #0,2: 67:[67, 83, 51] Operation: 22+29=51
Moving to Node #0,2
Current State: 67:[67, 83, 51], Operations: ['22+29=51']
Exploring Operation: 83-67=16, Resulting Numbers: [51, 16]
Generated Node #0,2,1: 67:[51, 16] Operation: 83-67=16
Moving to Node #0,2,1
Current State: 67:[51, 16], Operations: ['22+29=51', '83-67=16']
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
8,
98,
93,
74
] | 96 | [
"98-74=24",
"24/8=3",
"93+3=96"
] | Current State: 96:[8, 98, 93, 74], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [8, 93, 24]
Generated Node #2: [8, 93, 24] from Operation: 98-74=24
Current State: 96:[8, 93, 24], Operations: ['98-74=24']
Exploring Operation: 24/8=3, Resulting Numbers: [93, 3]
Generated Node #3: [93, 3] from Operation: 24/8=3
Current State: 96:[93, 3], Operations: ['98-74=24', '24/8=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[8, 98, 93, 74], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [8, 93, 24]
Generated Node #0,0: 96:[8, 93, 24] Operation: 98-74=24
Exploring Operation: 8+74=82, Resulting Numbers: [98, 93, 82]
Generated Node #0,1: 96:[98, 93, 82] Operation: 8+74=82
Exploring Operation: 74-8=66, Resulting Numbers: [98, 93, 66]
Generated Node #0,2: 96:[98, 93, 66] Operation: 74-8=66
Exploring Operation: 93-74=19, Resulting Numbers: [8, 98, 19]
Generated Node #0,3: 96:[8, 98, 19] Operation: 93-74=19
Exploring Operation: 98-93=5, Resulting Numbers: [8, 74, 5]
Generated Node #0,4: 96:[8, 74, 5] Operation: 98-93=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[8, 93, 24], Operations: ['98-74=24']
Exploring Operation: 24/8=3, Resulting Numbers: [93, 3]
Generated Node #0,0,0: 96:[93, 3] Operation: 24/8=3
Exploring Operation: 8+24=32, Resulting Numbers: [93, 32]
Generated Node #0,0,1: 96:[93, 32] Operation: 8+24=32
Exploring Operation: 93-8=85, Resulting Numbers: [24, 85]
Generated Node #0,0,2: 96:[24, 85] Operation: 93-8=85
Exploring Operation: 8+93=101, Resulting Numbers: [24, 101]
Generated Node #0,0,3: 96:[24, 101] Operation: 8+93=101
Exploring Operation: 24-8=16, Resulting Numbers: [93, 16]
Generated Node #0,0,4: 96:[93, 16] Operation: 24-8=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[93, 3], Operations: ['98-74=24', '24/8=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[8, 98, 93, 74], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [8, 93, 24]
Generated Node #0,0: 96:[8, 93, 24] Operation: 98-74=24
Moving to Node #0,0
Current State: 96:[8, 93, 24], Operations: ['98-74=24']
Exploring Operation: 24/8=3, Resulting Numbers: [93, 3]
Generated Node #0,0,0: 96:[93, 3] Operation: 24/8=3
Moving to Node #0,0,0
Current State: 96:[93, 3], Operations: ['98-74=24', '24/8=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
58,
33,
62,
19
] | 53 | [
"33+62=95",
"95/19=5",
"58-5=53"
] | Current State: 53:[58, 33, 62, 19], Operations: []
Exploring Operation: 33+62=95, Resulting Numbers: [58, 19, 95]
Generated Node #2: [58, 19, 95] from Operation: 33+62=95
Current State: 53:[58, 19, 95], Operations: ['33+62=95']
Exploring Operation: 95/19=5, Resulting Numbers: [58, 5]
Generated Node #3: [58, 5] from Operation: 95/19=5
Current State: 53:[58, 5], Operations: ['33+62=95', '95/19=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[58, 33, 62, 19], Operations: []
Exploring Operation: 33+19=52, Resulting Numbers: [58, 62, 52]
Generated Node #0,0: 53:[58, 62, 52] Operation: 33+19=52
Exploring Operation: 62-19=43, Resulting Numbers: [58, 33, 43]
Generated Node #0,1: 53:[58, 33, 43] Operation: 62-19=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[58, 62, 52], Operations: ['33+19=52']
Exploring Operation: 62-58=4, Resulting Numbers: [52, 4]
Generated Node #0,0,0: 53:[52, 4] Operation: 62-58=4
Exploring Operation: 62-52=10, Resulting Numbers: [58, 10]
Generated Node #0,0,1: 53:[58, 10] Operation: 62-52=10
Moving to Node #0,0,1
Current State: 53:[58, 10], Operations: ['33+19=52', '62-52=10']
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,53 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[52, 4], Operations: ['33+19=52', '62-58=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[58, 33, 43], Operations: ['62-19=43']
Exploring Operation: 33+43=76, Resulting Numbers: [58, 76]
Generated Node #0,1,0: 53:[58, 76] Operation: 33+43=76
Exploring Operation: 58-33=25, Resulting Numbers: [43, 25]
Generated Node #0,1,1: 53:[43, 25] Operation: 58-33=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[58, 76], Operations: ['62-19=43', '33+43=76']
Exploring Operation: 58+76=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[43, 25], Operations: ['62-19=43', '58-33=25']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,53 unequal: No Solution
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
98,
91,
52
] | 32 | [
"78*98=7644",
"7644/91=84",
"84-52=32"
] | Current State: 32:[78, 98, 91, 52], Operations: []
Exploring Operation: 78*98=7644, Resulting Numbers: [91, 52, 7644]
Generated Node #2: [91, 52, 7644] from Operation: 78*98=7644
Current State: 32:[91, 52, 7644], Operations: ['78*98=7644']
Exploring Operation: 7644/91=84, Resulting Numbers: [52, 84]
Generated Node #3: [52, 84] from Operation: 7644/91=84
Current State: 32:[52, 84], Operations: ['78*98=7644', '7644/91=84']
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[78, 98, 91, 52], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [98, 52, 13]
Generated Node #0,0: 32:[98, 52, 13] Operation: 91-78=13
Exploring Operation: 98-78=20, Resulting Numbers: [91, 52, 20]
Generated Node #0,1: 32:[91, 52, 20] Operation: 98-78=20
Exploring Operation: 98-91=7, Resulting Numbers: [78, 52, 7]
Generated Node #0,2: 32:[78, 52, 7] Operation: 98-91=7
Moving to Node #0,2
Current State: 32:[78, 52, 7], Operations: ['98-91=7']
Exploring Operation: 78-7=71, Resulting Numbers: [52, 71]
Generated Node #0,2,0: 32:[52, 71] Operation: 78-7=71
Exploring Operation: 78-52=26, Resulting Numbers: [7, 26]
Generated Node #0,2,1: 32:[7, 26] Operation: 78-52=26
Exploring Operation: 52-7=45, Resulting Numbers: [78, 45]
Generated Node #0,2,2: 32:[78, 45] Operation: 52-7=45
Moving to Node #0,1
Current State: 32:[91, 52, 20], Operations: ['98-78=20']
Exploring Operation: 91-52=39, Resulting Numbers: [20, 39]
Generated Node #0,1,0: 32:[20, 39] Operation: 91-52=39
Exploring Operation: 52-20=32, Resulting Numbers: [91, 32]
Generated Node #0,1,1: 32:[91, 32] Operation: 52-20=32
Exploring Operation: 91-20=71, Resulting Numbers: [52, 71]
Generated Node #0,1,2: 32:[52, 71] Operation: 91-20=71
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[20, 39], Operations: ['98-78=20', '91-52=39']
Exploring Operation: 20+39=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 20*39=780, Resulting Numbers: [780]
780,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[91, 32], Operations: ['98-78=20', '52-20=32']
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 91+32=123, Resulting Numbers: [123]
123,32 unequal: No Solution
Exploring Operation: 91*32=2912, Resulting Numbers: [2912]
2912,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,2
Current State: 32:[52, 71], Operations: ['98-78=20', '91-20=71']
Exploring Operation: 52+71=123, Resulting Numbers: [123]
123,32 unequal: No Solution
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 52*71=3692, Resulting Numbers: [3692]
3692,32 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: 32:[98, 52, 13], Operations: ['91-78=13']
Exploring Operation: 98-13=85, Resulting Numbers: [52, 85]
Generated Node #0,0,0: 32:[52, 85] Operation: 98-13=85
Exploring Operation: 98-52=46, Resulting Numbers: [13, 46]
Generated Node #0,0,1: 32:[13, 46] Operation: 98-52=46
Exploring Operation: 52/13=4, Resulting Numbers: [98, 4]
Generated Node #0,0,2: 32:[98, 4] Operation: 52/13=4
Moving to Node #0,2,1
Current State: 32:[7, 26], Operations: ['98-91=7', '78-52=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,32 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[13, 46], Operations: ['91-78=13', '98-52=46']
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 13*46=598, Resulting Numbers: [598]
598,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[78, 45], Operations: ['98-91=7', '52-7=45']
Exploring Operation: 78*45=3510, Resulting Numbers: [3510]
3510,32 unequal: No Solution
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 78+45=123, Resulting Numbers: [123]
123,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[52, 71], Operations: ['98-91=7', '78-7=71']
Exploring Operation: 52+71=123, Resulting Numbers: [123]
123,32 unequal: No Solution
Exploring Operation: 52*71=3692, Resulting Numbers: [3692]
3692,32 unequal: No Solution
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[98, 4], Operations: ['91-78=13', '52/13=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,32 unequal: No Solution
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Exploring Operation: 98*4=392, Resulting Numbers: [392]
392,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[52, 85], Operations: ['91-78=13', '98-13=85']
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 52*85=4420, Resulting Numbers: [4420]
4420,32 unequal: No Solution
Exploring Operation: 52+85=137, Resulting Numbers: [137]
137,32 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
48,
45,
56,
99
] | 62 | [
"48+45=93",
"56+99=155",
"155-93=62"
] | Current State: 62:[48, 45, 56, 99], Operations: []
Exploring Operation: 48+45=93, Resulting Numbers: [56, 99, 93]
Generated Node #2: [56, 99, 93] from Operation: 48+45=93
Current State: 62:[56, 99, 93], Operations: ['48+45=93']
Exploring Operation: 56+99=155, Resulting Numbers: [93, 155]
Generated Node #3: [93, 155] from Operation: 56+99=155
Current State: 62:[93, 155], Operations: ['48+45=93', '56+99=155']
Exploring Operation: 155-93=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[48, 45, 56, 99], Operations: []
Exploring Operation: 99-48=51, Resulting Numbers: [45, 56, 51]
Generated Node #0,0: 62:[45, 56, 51] Operation: 99-48=51
Exploring Operation: 99-45=54, Resulting Numbers: [48, 56, 54]
Generated Node #0,1: 62:[48, 56, 54] Operation: 99-45=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[48, 56, 54], Operations: ['99-45=54']
Exploring Operation: 56-48=8, Resulting Numbers: [54, 8]
Generated Node #0,1,0: 62:[54, 8] Operation: 56-48=8
Exploring Operation: 54-48=6, Resulting Numbers: [56, 6]
Generated Node #0,1,1: 62:[56, 6] Operation: 54-48=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[56, 6], Operations: ['99-45=54', '54-48=6']
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[48, 45, 56, 99], Operations: []
Exploring Operation: 99-45=54, Resulting Numbers: [48, 56, 54]
Generated Node #0,1: 62:[48, 56, 54] Operation: 99-45=54
Moving to Node #0,1
Current State: 62:[48, 56, 54], Operations: ['99-45=54']
Exploring Operation: 54-48=6, Resulting Numbers: [56, 6]
Generated Node #0,1,1: 62:[56, 6] Operation: 54-48=6
Moving to Node #0,1,1
Current State: 62:[56, 6], Operations: ['99-45=54', '54-48=6']
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
62,
74,
58,
7
] | 63 | [
"74-62=12",
"58-7=51",
"12+51=63"
] | Current State: 63:[62, 74, 58, 7], Operations: []
Exploring Operation: 74-62=12, Resulting Numbers: [58, 7, 12]
Generated Node #2: [58, 7, 12] from Operation: 74-62=12
Current State: 63:[58, 7, 12], Operations: ['74-62=12']
Exploring Operation: 58-7=51, Resulting Numbers: [12, 51]
Generated Node #3: [12, 51] from Operation: 58-7=51
Current State: 63:[12, 51], Operations: ['74-62=12', '58-7=51']
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[62, 74, 58, 7], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [74, 7, 4]
Generated Node #0,0: 63:[74, 7, 4] Operation: 62-58=4
Exploring Operation: 74-7=67, Resulting Numbers: [62, 58, 67]
Generated Node #0,1: 63:[62, 58, 67] Operation: 74-7=67
Exploring Operation: 74-62=12, Resulting Numbers: [58, 7, 12]
Generated Node #0,2: 63:[58, 7, 12] Operation: 74-62=12
Exploring Operation: 74-58=16, Resulting Numbers: [62, 7, 16]
Generated Node #0,3: 63:[62, 7, 16] Operation: 74-58=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[62, 7, 16], Operations: ['74-58=16']
Exploring Operation: 62-7=55, Resulting Numbers: [16, 55]
Generated Node #0,3,0: 63:[16, 55] Operation: 62-7=55
Exploring Operation: 7+16=23, Resulting Numbers: [62, 23]
Generated Node #0,3,1: 63:[62, 23] Operation: 7+16=23
Exploring Operation: 16-7=9, Resulting Numbers: [62, 9]
Generated Node #0,3,2: 63:[62, 9] Operation: 16-7=9
Exploring Operation: 62+7=69, Resulting Numbers: [16, 69]
Generated Node #0,3,3: 63:[16, 69] Operation: 62+7=69
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 63:[62, 9], Operations: ['74-58=16', '16-7=9']
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 63:[62, 23], Operations: ['74-58=16', '7+16=23']
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,63 unequal: No Solution
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,63 unequal: No Solution
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 63:[16, 69], Operations: ['74-58=16', '62+7=69']
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Exploring Operation: 16*69=1104, Resulting Numbers: [1104]
1104,63 unequal: No Solution
Exploring Operation: 16+69=85, Resulting Numbers: [85]
85,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 63:[16, 55], Operations: ['74-58=16', '62-7=55']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,63 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[58, 7, 12], Operations: ['74-62=12']
Exploring Operation: 58+12=70, Resulting Numbers: [7, 70]
Generated Node #0,2,0: 63:[7, 70] Operation: 58+12=70
Exploring Operation: 58+7=65, Resulting Numbers: [12, 65]
Generated Node #0,2,1: 63:[12, 65] Operation: 58+7=65
Exploring Operation: 12-7=5, Resulting Numbers: [58, 5]
Generated Node #0,2,2: 63:[58, 5] Operation: 12-7=5
Exploring Operation: 7+12=19, Resulting Numbers: [58, 19]
Generated Node #0,2,3: 63:[58, 19] Operation: 7+12=19
Moving to Node #0,2,1
Current State: 63:[12, 65], Operations: ['74-62=12', '58+7=65']
Exploring Operation: 12*65=780, Resulting Numbers: [780]
780,63 unequal: No Solution
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,63 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[58, 5], Operations: ['74-62=12', '12-7=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[62, 74, 58, 7], Operations: []
Exploring Operation: 74-62=12, Resulting Numbers: [58, 7, 12]
Generated Node #0,2: 63:[58, 7, 12] Operation: 74-62=12
Moving to Node #0,2
Current State: 63:[58, 7, 12], Operations: ['74-62=12']
Exploring Operation: 12-7=5, Resulting Numbers: [58, 5]
Generated Node #0,2,2: 63:[58, 5] Operation: 12-7=5
Moving to Node #0,2,2
Current State: 63:[58, 5], Operations: ['74-62=12', '12-7=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
24,
78,
90,
99
] | 65 | [
"99-24=75",
"78*75=5850",
"5850/90=65"
] | Current State: 65:[24, 78, 90, 99], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [78, 90, 75]
Generated Node #2: [78, 90, 75] from Operation: 99-24=75
Current State: 65:[78, 90, 75], Operations: ['99-24=75']
Exploring Operation: 78*75=5850, Resulting Numbers: [90, 5850]
Generated Node #3: [90, 5850] from Operation: 78*75=5850
Current State: 65:[90, 5850], Operations: ['99-24=75', '78*75=5850']
Exploring Operation: 5850/90=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[24, 78, 90, 99], Operations: []
Exploring Operation: 99-90=9, Resulting Numbers: [24, 78, 9]
Generated Node #0,0: 65:[24, 78, 9] Operation: 99-90=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[24, 78, 9], Operations: ['99-90=9']
Exploring Operation: 78-24=54, Resulting Numbers: [9, 54]
Generated Node #0,0,0: 65:[9, 54] Operation: 78-24=54
Moving to Node #0,0,0
Current State: 65:[9, 54], Operations: ['99-90=9', '78-24=54']
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,65 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,
74,
2,
17
] | 84 | [
"60+74=134",
"134/2=67",
"17+67=84"
] | Current State: 84:[60, 74, 2, 17], Operations: []
Exploring Operation: 60+74=134, Resulting Numbers: [2, 17, 134]
Generated Node #2: [2, 17, 134] from Operation: 60+74=134
Current State: 84:[2, 17, 134], Operations: ['60+74=134']
Exploring Operation: 134/2=67, Resulting Numbers: [17, 67]
Generated Node #3: [17, 67] from Operation: 134/2=67
Current State: 84:[17, 67], Operations: ['60+74=134', '134/2=67']
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[60, 74, 2, 17], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [74, 17, 30]
Generated Node #0,0: 84:[74, 17, 30] Operation: 60/2=30
Exploring Operation: 60-17=43, Resulting Numbers: [74, 2, 43]
Generated Node #0,1: 84:[74, 2, 43] Operation: 60-17=43
Exploring Operation: 74-60=14, Resulting Numbers: [2, 17, 14]
Generated Node #0,2: 84:[2, 17, 14] Operation: 74-60=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[2, 17, 14], Operations: ['74-60=14']
Exploring Operation: 17-2=15, Resulting Numbers: [14, 15]
Generated Node #0,2,0: 84:[14, 15] Operation: 17-2=15
Exploring Operation: 2+17=19, Resulting Numbers: [14, 19]
Generated Node #0,2,1: 84:[14, 19] Operation: 2+17=19
Exploring Operation: 17-14=3, Resulting Numbers: [2, 3]
Generated Node #0,2,2: 84:[2, 3] Operation: 17-14=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 84:[2, 3], Operations: ['74-60=14', '17-14=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 84:[14, 15], Operations: ['74-60=14', '17-2=15']
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,84 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 84:[14, 19], Operations: ['74-60=14', '2+17=19']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[74, 2, 43], Operations: ['60-17=43']
Exploring Operation: 74-43=31, Resulting Numbers: [2, 31]
Generated Node #0,1,0: 84:[2, 31] Operation: 74-43=31
Exploring Operation: 74+2=76, Resulting Numbers: [43, 76]
Generated Node #0,1,1: 84:[43, 76] Operation: 74+2=76
Exploring Operation: 74/2=37, Resulting Numbers: [43, 37]
Generated Node #0,1,2: 84:[43, 37] Operation: 74/2=37
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[2, 31], Operations: ['60-17=43', '74-43=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 84:[43, 37], Operations: ['60-17=43', '74/2=37']
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,84 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 84:[43, 76], Operations: ['60-17=43', '74+2=76']
Exploring Operation: 43*76=3268, Resulting Numbers: [3268]
3268,84 unequal: No Solution
Exploring Operation: 76-43=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 43+76=119, Resulting Numbers: [119]
119,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[74, 17, 30], Operations: ['60/2=30']
Exploring Operation: 74+17=91, Resulting Numbers: [30, 91]
Generated Node #0,0,0: 84:[30, 91] Operation: 74+17=91
Exploring Operation: 74-30=44, Resulting Numbers: [17, 44]
Generated Node #0,0,1: 84:[17, 44] Operation: 74-30=44
Exploring Operation: 30-17=13, Resulting Numbers: [74, 13]
Generated Node #0,0,2: 84:[74, 13] Operation: 30-17=13
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[17, 44], Operations: ['60/2=30', '74-30=44']
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,84 unequal: No Solution
Exploring Operation: 17*44=748, Resulting Numbers: [748]
748,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[30, 91], Operations: ['60/2=30', '74+17=91']
Exploring Operation: 30*91=2730, Resulting Numbers: [2730]
2730,84 unequal: No Solution
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,84 unequal: No Solution
Exploring Operation: 30+91=121, Resulting Numbers: [121]
121,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 84:[74, 13], Operations: ['60/2=30', '30-17=13']
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,84 unequal: No Solution
Exploring Operation: 74*13=962, Resulting Numbers: [962]
962,84 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
78,
28,
87,
47
] | 10 | [
"78-28=50",
"87-47=40",
"50-40=10"
] | Current State: 10:[78, 28, 87, 47], Operations: []
Exploring Operation: 78-28=50, Resulting Numbers: [87, 47, 50]
Generated Node #2: [87, 47, 50] from Operation: 78-28=50
Current State: 10:[87, 47, 50], Operations: ['78-28=50']
Exploring Operation: 87-47=40, Resulting Numbers: [50, 40]
Generated Node #3: [50, 40] from Operation: 87-47=40
Current State: 10:[50, 40], Operations: ['78-28=50', '87-47=40']
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[78, 28, 87, 47], Operations: []
Exploring Operation: 87-78=9, Resulting Numbers: [28, 47, 9]
Generated Node #0,0: 10:[28, 47, 9] Operation: 87-78=9
Exploring Operation: 87-47=40, Resulting Numbers: [78, 28, 40]
Generated Node #0,1: 10:[78, 28, 40] Operation: 87-47=40
Exploring Operation: 78-47=31, Resulting Numbers: [28, 87, 31]
Generated Node #0,2: 10:[28, 87, 31] Operation: 78-47=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[28, 47, 9], Operations: ['87-78=9']
Exploring Operation: 47-9=38, Resulting Numbers: [28, 38]
Generated Node #0,0,0: 10:[28, 38] Operation: 47-9=38
Exploring Operation: 28-9=19, Resulting Numbers: [47, 19]
Generated Node #0,0,1: 10:[47, 19] Operation: 28-9=19
Exploring Operation: 47-28=19, Resulting Numbers: [9, 19]
Generated Node #0,0,2: 10:[9, 19] Operation: 47-28=19
Moving to Node #0,0,2
Current State: 10:[9, 19], Operations: ['87-78=9', '47-28=19']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[78, 28, 87, 47], Operations: []
Exploring Operation: 87-78=9, Resulting Numbers: [28, 47, 9]
Generated Node #0,0: 10:[28, 47, 9] Operation: 87-78=9
Moving to Node #0,0
Current State: 10:[28, 47, 9], Operations: ['87-78=9']
Exploring Operation: 47-28=19, Resulting Numbers: [9, 19]
Generated Node #0,0,2: 10:[9, 19] Operation: 47-28=19
Moving to Node #0,0,2
Current State: 10:[9, 19], Operations: ['87-78=9', '47-28=19']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
74,
11,
74,
5
] | 50 | [
"74/74=1",
"11-1=10",
"5*10=50"
] | Current State: 50:[74, 11, 74, 5], Operations: []
Exploring Operation: 74/74=1, Resulting Numbers: [11, 5, 1]
Generated Node #2: [11, 5, 1] from Operation: 74/74=1
Current State: 50:[11, 5, 1], Operations: ['74/74=1']
Exploring Operation: 11-1=10, Resulting Numbers: [5, 10]
Generated Node #3: [5, 10] from Operation: 11-1=10
Current State: 50:[5, 10], Operations: ['74/74=1', '11-1=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[74, 11, 74, 5], Operations: []
Exploring Operation: 74/74=1, Resulting Numbers: [11, 5, 1]
Generated Node #0,0: 50:[11, 5, 1] Operation: 74/74=1
Exploring Operation: 74-11=63, Resulting Numbers: [74, 5, 63]
Generated Node #0,1: 50:[74, 5, 63] Operation: 74-11=63
Exploring Operation: 74-74=0, Resulting Numbers: [11, 5, 0]
Generated Node #0,2: 50:[11, 5, 0] Operation: 74-74=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[11, 5, 1], Operations: ['74/74=1']
Exploring Operation: 11-1=10, Resulting Numbers: [5, 10]
Generated Node #0,0,0: 50:[5, 10] Operation: 11-1=10
Exploring Operation: 11*1=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 50:[5, 11] Operation: 11*1=11
Exploring Operation: 11/1=11, Resulting Numbers: [5, 11]
Generated Node #0,0,2: 50:[5, 11] Operation: 11/1=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[5, 10], Operations: ['74/74=1', '11-1=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[74, 11, 74, 5], Operations: []
Exploring Operation: 74/74=1, Resulting Numbers: [11, 5, 1]
Generated Node #0,0: 50:[11, 5, 1] Operation: 74/74=1
Moving to Node #0,0
Current State: 50:[11, 5, 1], Operations: ['74/74=1']
Exploring Operation: 11-1=10, Resulting Numbers: [5, 10]
Generated Node #0,0,0: 50:[5, 10] Operation: 11-1=10
Moving to Node #0,0,0
Current State: 50:[5, 10], Operations: ['74/74=1', '11-1=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
64,
99,
23,
99
] | 23 | [
"99-99=0",
"64*0=0",
"23+0=23"
] | Current State: 23:[64, 99, 23, 99], Operations: []
Exploring Operation: 99-99=0, Resulting Numbers: [64, 23, 0]
Generated Node #2: [64, 23, 0] from Operation: 99-99=0
Current State: 23:[64, 23, 0], Operations: ['99-99=0']
Exploring Operation: 64*0=0, Resulting Numbers: [23, 0]
Generated Node #3: [23, 0] from Operation: 64*0=0
Current State: 23:[23, 0], Operations: ['99-99=0', '64*0=0']
Exploring Operation: 23+0=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[64, 99, 23, 99], Operations: []
Exploring Operation: 99-64=35, Resulting Numbers: [23, 99, 35]
Generated Node #0,0: 23:[23, 99, 35] Operation: 99-64=35
Exploring Operation: 99/99=1, Resulting Numbers: [64, 23, 1]
Generated Node #0,1: 23:[64, 23, 1] Operation: 99/99=1
Exploring Operation: 99-99=0, Resulting Numbers: [64, 23, 0]
Generated Node #0,2: 23:[64, 23, 0] Operation: 99-99=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[64, 23, 1], Operations: ['99/99=1']
Exploring Operation: 64*1=64, Resulting Numbers: [23, 64]
Generated Node #0,1,0: 23:[23, 64] Operation: 64*1=64
Exploring Operation: 64-1=63, Resulting Numbers: [23, 63]
Generated Node #0,1,1: 23:[23, 63] Operation: 64-1=63
Exploring Operation: 64-23=41, Resulting Numbers: [1, 41]
Generated Node #0,1,2: 23:[1, 41] Operation: 64-23=41
Moving to Node #0,1,1
Current State: 23:[23, 63], Operations: ['99/99=1', '64-1=63']
Exploring Operation: 23+63=86, Resulting Numbers: [86]
86,23 unequal: No Solution
Exploring Operation: 23*63=1449, Resulting Numbers: [1449]
1449,23 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[1, 41], Operations: ['99/99=1', '64-23=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[23, 64], Operations: ['99/99=1', '64*1=64']
Exploring Operation: 23*64=1472, Resulting Numbers: [1472]
1472,23 unequal: No Solution
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 23+64=87, Resulting Numbers: [87]
87,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
Current State: 23:[64, 23, 0], Operations: ['99-99=0']
Exploring Operation: 64*0=0, Resulting Numbers: [23, 0]
Generated Node #0,2,0: 23:[23, 0] Operation: 64*0=0
Exploring Operation: 64-23=41, Resulting Numbers: [0, 41]
Generated Node #0,2,1: 23:[0, 41] Operation: 64-23=41
Exploring Operation: 64+0=64, Resulting Numbers: [23, 64]
Generated Node #0,2,2: 23:[23, 64] Operation: 64+0=64
Moving to Node #0,2,0
Current State: 23:[23, 0], Operations: ['99-99=0', '64*0=0']
Exploring Operation: 23*0=0, Resulting Numbers: [0]
0,23 unequal: No Solution
Exploring Operation: 23-0=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[64, 99, 23, 99], Operations: []
Exploring Operation: 99-99=0, Resulting Numbers: [64, 23, 0]
Generated Node #0,2: 23:[64, 23, 0] Operation: 99-99=0
Moving to Node #0,2
Current State: 23:[64, 23, 0], Operations: ['99-99=0']
Exploring Operation: 64*0=0, Resulting Numbers: [23, 0]
Generated Node #0,2,0: 23:[23, 0] Operation: 64*0=0
Moving to Node #0,2,0
Current State: 23:[23, 0], Operations: ['99-99=0', '64*0=0']
Exploring Operation: 23-0=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
44,
47,
3,
72
] | 67 | [
"44+47=91",
"72/3=24",
"91-24=67"
] | Current State: 67:[44, 47, 3, 72], Operations: []
Exploring Operation: 44+47=91, Resulting Numbers: [3, 72, 91]
Generated Node #2: [3, 72, 91] from Operation: 44+47=91
Current State: 67:[3, 72, 91], Operations: ['44+47=91']
Exploring Operation: 72/3=24, Resulting Numbers: [91, 24]
Generated Node #3: [91, 24] from Operation: 72/3=24
Current State: 67:[91, 24], Operations: ['44+47=91', '72/3=24']
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[44, 47, 3, 72], Operations: []
Exploring Operation: 44-3=41, Resulting Numbers: [47, 72, 41]
Generated Node #0,0: 67:[47, 72, 41] Operation: 44-3=41
Exploring Operation: 47+3=50, Resulting Numbers: [44, 72, 50]
Generated Node #0,1: 67:[44, 72, 50] Operation: 47+3=50
Exploring Operation: 72-3=69, Resulting Numbers: [44, 47, 69]
Generated Node #0,2: 67:[44, 47, 69] Operation: 72-3=69
Exploring Operation: 44+3=47, Resulting Numbers: [47, 72, 47]
Generated Node #0,3: 67:[47, 72, 47] Operation: 44+3=47
Moving to Node #0,1
Current State: 67:[44, 72, 50], Operations: ['47+3=50']
Exploring Operation: 72-44=28, Resulting Numbers: [50, 28]
Generated Node #0,1,0: 67:[50, 28] Operation: 72-44=28
Exploring Operation: 44+72=116, Resulting Numbers: [50, 116]
Generated Node #0,1,1: 67:[50, 116] Operation: 44+72=116
Exploring Operation: 50-44=6, Resulting Numbers: [72, 6]
Generated Node #0,1,2: 67:[72, 6] Operation: 50-44=6
Exploring Operation: 44+50=94, Resulting Numbers: [72, 94]
Generated Node #0,1,3: 67:[72, 94] Operation: 44+50=94
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[72, 94], Operations: ['47+3=50', '44+50=94']
Exploring Operation: 72*94=6768, Resulting Numbers: [6768]
6768,67 unequal: No Solution
Exploring Operation: 94-72=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 72+94=166, Resulting Numbers: [166]
166,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[50, 28], Operations: ['47+3=50', '72-44=28']
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,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,1
Current State: 67:[50, 116], Operations: ['47+3=50', '44+72=116']
Exploring Operation: 50+116=166, Resulting Numbers: [166]
166,67 unequal: No Solution
Exploring Operation: 116-50=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 50*116=5800, Resulting Numbers: [5800]
5800,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[72, 6], Operations: ['47+3=50', '50-44=6']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 72*6=432, Resulting Numbers: [432]
432,67 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: 67:[47, 72, 47], Operations: ['44+3=47']
Exploring Operation: 72-47=25, Resulting Numbers: [47, 25]
Generated Node #0,3,0: 67:[47, 25] Operation: 72-47=25
Exploring Operation: 72-47=25, Resulting Numbers: [47, 25]
Generated Node #0,3,1: 67:[47, 25] Operation: 72-47=25
Exploring Operation: 47+47=94, Resulting Numbers: [72, 94]
Generated Node #0,3,2: 67:[72, 94] Operation: 47+47=94
Exploring Operation: 47/47=1, Resulting Numbers: [72, 1]
Generated Node #0,3,3: 67:[72, 1] Operation: 47/47=1
Moving to Node #0,2
Current State: 67:[44, 47, 69], Operations: ['72-3=69']
Exploring Operation: 44+69=113, Resulting Numbers: [47, 113]
Generated Node #0,2,0: 67:[47, 113] Operation: 44+69=113
Exploring Operation: 69-44=25, Resulting Numbers: [47, 25]
Generated Node #0,2,1: 67:[47, 25] Operation: 69-44=25
Exploring Operation: 47-44=3, Resulting Numbers: [69, 3]
Generated Node #0,2,2: 67:[69, 3] Operation: 47-44=3
Exploring Operation: 44+47=91, Resulting Numbers: [69, 91]
Generated Node #0,2,3: 67:[69, 91] Operation: 44+47=91
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[69, 91], Operations: ['72-3=69', '44+47=91']
Exploring Operation: 91-69=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 69+91=160, Resulting Numbers: [160]
160,67 unequal: No Solution
Exploring Operation: 69*91=6279, Resulting Numbers: [6279]
6279,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[47, 25], Operations: ['72-3=69', '69-44=25']
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,67 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[47, 113], Operations: ['72-3=69', '44+69=113']
Exploring Operation: 47+113=160, Resulting Numbers: [160]
160,67 unequal: No Solution
Exploring Operation: 113-47=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 47*113=5311, Resulting Numbers: [5311]
5311,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[69, 3], Operations: ['72-3=69', '47-44=3']
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,67 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,67 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: 67:[47, 72, 41], Operations: ['44-3=41']
Exploring Operation: 72-41=31, Resulting Numbers: [47, 31]
Generated Node #0,0,0: 67:[47, 31] Operation: 72-41=31
Exploring Operation: 47-41=6, Resulting Numbers: [72, 6]
Generated Node #0,0,1: 67:[72, 6] Operation: 47-41=6
Exploring Operation: 47+41=88, Resulting Numbers: [72, 88]
Generated Node #0,0,2: 67:[72, 88] Operation: 47+41=88
Exploring Operation: 72+41=113, Resulting Numbers: [47, 113]
Generated Node #0,0,3: 67:[47, 113] Operation: 72+41=113
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[72, 88], Operations: ['44-3=41', '47+41=88']
Exploring Operation: 72+88=160, Resulting Numbers: [160]
160,67 unequal: No Solution
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 72*88=6336, Resulting Numbers: [6336]
6336,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[47, 31], Operations: ['44-3=41', '72-41=31']
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,67 unequal: No Solution
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[72, 6], Operations: ['44-3=41', '47-41=6']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 72*6=432, Resulting Numbers: [432]
432,67 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 67:[47, 113], Operations: ['44-3=41', '72+41=113']
Exploring Operation: 47+113=160, Resulting Numbers: [160]
160,67 unequal: No Solution
Exploring Operation: 113-47=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 47*113=5311, Resulting Numbers: [5311]
5311,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 67:[72, 94], Operations: ['44+3=47', '47+47=94']
Exploring Operation: 94-72=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 72+94=166, Resulting Numbers: [166]
166,67 unequal: No Solution
Exploring Operation: 72*94=6768, Resulting Numbers: [6768]
6768,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[47, 25], Operations: ['44+3=47', '72-47=25']
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,67 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[47, 25], Operations: ['44+3=47', '72-47=25']
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,67 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[72, 1], Operations: ['44+3=47', '47/47=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,67 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
10,
11,
69,
11
] | 42 | [
"10+69=79",
"11*11=121",
"121-79=42"
] | Current State: 42:[10, 11, 69, 11], Operations: []
Exploring Operation: 10+69=79, Resulting Numbers: [11, 11, 79]
Generated Node #2: [11, 11, 79] from Operation: 10+69=79
Current State: 42:[11, 11, 79], Operations: ['10+69=79']
Exploring Operation: 11*11=121, Resulting Numbers: [79, 121]
Generated Node #3: [79, 121] from Operation: 11*11=121
Current State: 42:[79, 121], Operations: ['10+69=79', '11*11=121']
Exploring Operation: 121-79=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[10, 11, 69, 11], Operations: []
Exploring Operation: 69-10=59, Resulting Numbers: [11, 11, 59]
Generated Node #0,0: 42:[11, 11, 59] Operation: 69-10=59
Exploring Operation: 69-11=58, Resulting Numbers: [10, 11, 58]
Generated Node #0,1: 42:[10, 11, 58] Operation: 69-11=58
Exploring Operation: 69-11=58, Resulting Numbers: [10, 11, 58]
Generated Node #0,2: 42:[10, 11, 58] Operation: 69-11=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[10, 11, 58], Operations: ['69-11=58']
Exploring Operation: 58-11=47, Resulting Numbers: [10, 47]
Generated Node #0,1,0: 42:[10, 47] Operation: 58-11=47
Exploring Operation: 58-10=48, Resulting Numbers: [11, 48]
Generated Node #0,1,1: 42:[11, 48] Operation: 58-10=48
Exploring Operation: 10+11=21, Resulting Numbers: [58, 21]
Generated Node #0,1,2: 42:[58, 21] Operation: 10+11=21
Moving to Node #0,1,0
Current State: 42:[10, 47], Operations: ['69-11=58', '58-11=47']
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,42 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[11, 48], Operations: ['69-11=58', '58-10=48']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,42 unequal: No Solution
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[58, 21], Operations: ['69-11=58', '10+11=21']
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,42 unequal: No Solution
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,42 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[10, 11, 58], Operations: ['69-11=58']
Exploring Operation: 10+11=21, Resulting Numbers: [58, 21]
Generated Node #0,2,0: 42:[58, 21] Operation: 10+11=21
Exploring Operation: 58-11=47, Resulting Numbers: [10, 47]
Generated Node #0,2,1: 42:[10, 47] Operation: 58-11=47
Exploring Operation: 58-10=48, Resulting Numbers: [11, 48]
Generated Node #0,2,2: 42:[11, 48] Operation: 58-10=48
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 42:[10, 47], Operations: ['69-11=58', '58-11=47']
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,42 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 42:[11, 48], Operations: ['69-11=58', '58-10=48']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[58, 21], Operations: ['69-11=58', '10+11=21']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,42 unequal: No Solution
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[11, 11, 59], Operations: ['69-10=59']
Exploring Operation: 59-11=48, Resulting Numbers: [11, 48]
Generated Node #0,0,0: 42:[11, 48] Operation: 59-11=48
Exploring Operation: 11+11=22, Resulting Numbers: [59, 22]
Generated Node #0,0,1: 42:[59, 22] Operation: 11+11=22
Exploring Operation: 59-11=48, Resulting Numbers: [11, 48]
Generated Node #0,0,2: 42:[11, 48] Operation: 59-11=48
Moving to Node #0,0,0
Current State: 42:[11, 48], Operations: ['69-10=59', '59-11=48']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[11, 48], Operations: ['69-10=59', '59-11=48']
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[59, 22], Operations: ['69-10=59', '11+11=22']
Exploring Operation: 59*22=1298, Resulting Numbers: [1298]
1298,42 unequal: No Solution
Exploring Operation: 59+22=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
42,
20,
42
] | 60 | [
"42/42=1",
"2+1=3",
"20*3=60"
] | Current State: 60:[2, 42, 20, 42], Operations: []
Exploring Operation: 42/42=1, Resulting Numbers: [2, 20, 1]
Generated Node #2: [2, 20, 1] from Operation: 42/42=1
Current State: 60:[2, 20, 1], Operations: ['42/42=1']
Exploring Operation: 2+1=3, Resulting Numbers: [20, 3]
Generated Node #3: [20, 3] from Operation: 2+1=3
Current State: 60:[20, 3], Operations: ['42/42=1', '2+1=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[2, 42, 20, 42], Operations: []
Exploring Operation: 42/42=1, Resulting Numbers: [2, 20, 1]
Generated Node #0,0: 60:[2, 20, 1] Operation: 42/42=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[2, 20, 1], Operations: ['42/42=1']
Exploring Operation: 2+1=3, Resulting Numbers: [20, 3]
Generated Node #0,0,0: 60:[20, 3] Operation: 2+1=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[20, 3], Operations: ['42/42=1', '2+1=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[2, 42, 20, 42], Operations: []
Exploring Operation: 42/42=1, Resulting Numbers: [2, 20, 1]
Generated Node #0,0: 60:[2, 20, 1] Operation: 42/42=1
Moving to Node #0,0
Current State: 60:[2, 20, 1], Operations: ['42/42=1']
Exploring Operation: 2+1=3, Resulting Numbers: [20, 3]
Generated Node #0,0,0: 60:[20, 3] Operation: 2+1=3
Moving to Node #0,0,0
Current State: 60:[20, 3], Operations: ['42/42=1', '2+1=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.