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 |
|---|---|---|---|---|---|---|---|---|
[
75,
83,
23,
68
] | 67 | [
"75+83=158",
"23+68=91",
"158-91=67"
] | Current State: 67:[75, 83, 23, 68], Operations: []
Exploring Operation: 75+83=158, Resulting Numbers: [23, 68, 158]
Generated Node #2: [23, 68, 158] from Operation: 75+83=158
Current State: 67:[23, 68, 158], Operations: ['75+83=158']
Exploring Operation: 23+68=91, Resulting Numbers: [158, 91]
Generated Node #3: [158, 91] from Operation: 23+68=91
Current State: 67:[158, 91], Operations: ['75+83=158', '23+68=91']
Exploring Operation: 158-91=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[75, 83, 23, 68], Operations: []
Exploring Operation: 68-23=45, Resulting Numbers: [75, 83, 45]
Generated Node #0,0: 67:[75, 83, 45] Operation: 68-23=45
Exploring Operation: 75-23=52, Resulting Numbers: [83, 68, 52]
Generated Node #0,1: 67:[83, 68, 52] Operation: 75-23=52
Exploring Operation: 83-23=60, Resulting Numbers: [75, 68, 60]
Generated Node #0,2: 67:[75, 68, 60] Operation: 83-23=60
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[75, 68, 60], Operations: ['83-23=60']
Exploring Operation: 75-60=15, Resulting Numbers: [68, 15]
Generated Node #0,2,0: 67:[68, 15] Operation: 75-60=15
Exploring Operation: 68-60=8, Resulting Numbers: [75, 8]
Generated Node #0,2,1: 67:[75, 8] Operation: 68-60=8
Exploring Operation: 75-68=7, Resulting Numbers: [60, 7]
Generated Node #0,2,2: 67:[60, 7] Operation: 75-68=7
Moving to Node #0,2,0
Current State: 67:[68, 15], Operations: ['83-23=60', '75-60=15']
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,67 unequal: No Solution
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[75, 8], Operations: ['83-23=60', '68-60=8']
Exploring Operation: 75*8=600, Resulting Numbers: [600]
600,67 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[75, 83, 23, 68], Operations: []
Exploring Operation: 83-23=60, Resulting Numbers: [75, 68, 60]
Generated Node #0,2: 67:[75, 68, 60] Operation: 83-23=60
Moving to Node #0,2
Current State: 67:[75, 68, 60], Operations: ['83-23=60']
Exploring Operation: 68-60=8, Resulting Numbers: [75, 8]
Generated Node #0,2,1: 67:[75, 8] Operation: 68-60=8
Moving to Node #0,2,1
Current State: 67:[75, 8], Operations: ['83-23=60', '68-60=8']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
3,
3,
10,
56
] | 57 | [
"3*3=9",
"10+56=66",
"66-9=57"
] | Current State: 57:[3, 3, 10, 56], Operations: []
Exploring Operation: 3*3=9, Resulting Numbers: [10, 56, 9]
Generated Node #2: [10, 56, 9] from Operation: 3*3=9
Current State: 57:[10, 56, 9], Operations: ['3*3=9']
Exploring Operation: 10+56=66, Resulting Numbers: [9, 66]
Generated Node #3: [9, 66] from Operation: 10+56=66
Current State: 57:[9, 66], Operations: ['3*3=9', '10+56=66']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[3, 3, 10, 56], Operations: []
Exploring Operation: 10-3=7, Resulting Numbers: [3, 56, 7]
Generated Node #0,0: 57:[3, 56, 7] Operation: 10-3=7
Exploring Operation: 10-3=7, Resulting Numbers: [3, 56, 7]
Generated Node #0,1: 57:[3, 56, 7] Operation: 10-3=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[3, 56, 7], Operations: ['10-3=7']
Exploring Operation: 7-3=4, Resulting Numbers: [56, 4]
Generated Node #0,0,0: 57:[56, 4] Operation: 7-3=4
Exploring Operation: 3*7=21, Resulting Numbers: [56, 21]
Generated Node #0,0,1: 57:[56, 21] Operation: 3*7=21
Moving to Node #0,0,0
Current State: 57:[56, 4], Operations: ['10-3=7', '7-3=4']
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[56, 21], Operations: ['10-3=7', '3*7=21']
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 56+21=77, Resulting Numbers: [77]
77,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[3, 56, 7], Operations: ['10-3=7']
Exploring Operation: 7-3=4, Resulting Numbers: [56, 4]
Generated Node #0,1,0: 57:[56, 4] Operation: 7-3=4
Exploring Operation: 3*7=21, Resulting Numbers: [56, 21]
Generated Node #0,1,1: 57:[56, 21] Operation: 3*7=21
Moving to Node #0,1,0
Current State: 57:[56, 4], Operations: ['10-3=7', '7-3=4']
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[56, 21], Operations: ['10-3=7', '3*7=21']
Exploring Operation: 56+21=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
91,
76,
12,
20
] | 99 | [
"76+20=96",
"96/12=8",
"91+8=99"
] | Current State: 99:[91, 76, 12, 20], Operations: []
Exploring Operation: 76+20=96, Resulting Numbers: [91, 12, 96]
Generated Node #2: [91, 12, 96] from Operation: 76+20=96
Current State: 99:[91, 12, 96], Operations: ['76+20=96']
Exploring Operation: 96/12=8, Resulting Numbers: [91, 8]
Generated Node #3: [91, 8] from Operation: 96/12=8
Current State: 99:[91, 8], Operations: ['76+20=96', '96/12=8']
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[91, 76, 12, 20], Operations: []
Exploring Operation: 91-76=15, Resulting Numbers: [12, 20, 15]
Generated Node #0,0: 99:[12, 20, 15] Operation: 91-76=15
Exploring Operation: 76+12=88, Resulting Numbers: [91, 20, 88]
Generated Node #0,1: 99:[91, 20, 88] Operation: 76+12=88
Exploring Operation: 76+20=96, Resulting Numbers: [91, 12, 96]
Generated Node #0,2: 99:[91, 12, 96] Operation: 76+20=96
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[91, 12, 96], Operations: ['76+20=96']
Exploring Operation: 96-91=5, Resulting Numbers: [12, 5]
Generated Node #0,2,0: 99:[12, 5] Operation: 96-91=5
Exploring Operation: 91+12=103, Resulting Numbers: [96, 103]
Generated Node #0,2,1: 99:[96, 103] Operation: 91+12=103
Exploring Operation: 96/12=8, Resulting Numbers: [91, 8]
Generated Node #0,2,2: 99:[91, 8] Operation: 96/12=8
Moving to Node #0,2,0
Current State: 99:[12, 5], Operations: ['76+20=96', '96-91=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,99 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[96, 103], Operations: ['76+20=96', '91+12=103']
Exploring Operation: 96+103=199, Resulting Numbers: [199]
199,99 unequal: No Solution
Exploring Operation: 96*103=9888, Resulting Numbers: [9888]
9888,99 unequal: No Solution
Exploring Operation: 103-96=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[91, 8], Operations: ['76+20=96', '96/12=8']
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[91, 76, 12, 20], Operations: []
Exploring Operation: 76+20=96, Resulting Numbers: [91, 12, 96]
Generated Node #0,2: 99:[91, 12, 96] Operation: 76+20=96
Moving to Node #0,2
Current State: 99:[91, 12, 96], Operations: ['76+20=96']
Exploring Operation: 96/12=8, Resulting Numbers: [91, 8]
Generated Node #0,2,2: 99:[91, 8] Operation: 96/12=8
Moving to Node #0,2,2
Current State: 99:[91, 8], Operations: ['76+20=96', '96/12=8']
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
94,
41,
45,
37
] | 45 | [
"94-41=53",
"45-37=8",
"53-8=45"
] | Current State: 45:[94, 41, 45, 37], Operations: []
Exploring Operation: 94-41=53, Resulting Numbers: [45, 37, 53]
Generated Node #2: [45, 37, 53] from Operation: 94-41=53
Current State: 45:[45, 37, 53], Operations: ['94-41=53']
Exploring Operation: 45-37=8, Resulting Numbers: [53, 8]
Generated Node #3: [53, 8] from Operation: 45-37=8
Current State: 45:[53, 8], Operations: ['94-41=53', '45-37=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[94, 41, 45, 37], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [41, 37, 49]
Generated Node #0,0: 45:[41, 37, 49] Operation: 94-45=49
Exploring Operation: 94-41=53, Resulting Numbers: [45, 37, 53]
Generated Node #0,1: 45:[45, 37, 53] Operation: 94-41=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[41, 37, 49], Operations: ['94-45=49']
Exploring Operation: 49-37=12, Resulting Numbers: [41, 12]
Generated Node #0,0,0: 45:[41, 12] Operation: 49-37=12
Exploring Operation: 41-37=4, Resulting Numbers: [49, 4]
Generated Node #0,0,1: 45:[49, 4] Operation: 41-37=4
Moving to Node #0,0,1
Current State: 45:[49, 4], Operations: ['94-45=49', '41-37=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[94, 41, 45, 37], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [41, 37, 49]
Generated Node #0,0: 45:[41, 37, 49] Operation: 94-45=49
Moving to Node #0,0
Current State: 45:[41, 37, 49], Operations: ['94-45=49']
Exploring Operation: 41-37=4, Resulting Numbers: [49, 4]
Generated Node #0,0,1: 45:[49, 4] Operation: 41-37=4
Moving to Node #0,0,1
Current State: 45:[49, 4], Operations: ['94-45=49', '41-37=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
49,
61,
93,
52
] | 90 | [
"52-49=3",
"61*3=183",
"183-93=90"
] | Current State: 90:[49, 61, 93, 52], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [61, 93, 3]
Generated Node #2: [61, 93, 3] from Operation: 52-49=3
Current State: 90:[61, 93, 3], Operations: ['52-49=3']
Exploring Operation: 61*3=183, Resulting Numbers: [93, 183]
Generated Node #3: [93, 183] from Operation: 61*3=183
Current State: 90:[93, 183], Operations: ['52-49=3', '61*3=183']
Exploring Operation: 183-93=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[49, 61, 93, 52], Operations: []
Exploring Operation: 61-52=9, Resulting Numbers: [49, 93, 9]
Generated Node #0,0: 90:[49, 93, 9] Operation: 61-52=9
Exploring Operation: 93-61=32, Resulting Numbers: [49, 52, 32]
Generated Node #0,1: 90:[49, 52, 32] Operation: 93-61=32
Exploring Operation: 52-49=3, Resulting Numbers: [61, 93, 3]
Generated Node #0,2: 90:[61, 93, 3] Operation: 52-49=3
Exploring Operation: 61-49=12, Resulting Numbers: [93, 52, 12]
Generated Node #0,3: 90:[93, 52, 12] Operation: 61-49=12
Exploring Operation: 93-49=44, Resulting Numbers: [61, 52, 44]
Generated Node #0,4: 90:[61, 52, 44] Operation: 93-49=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[49, 93, 9], Operations: ['61-52=9']
Exploring Operation: 49-9=40, Resulting Numbers: [93, 40]
Generated Node #0,0,0: 90:[93, 40] Operation: 49-9=40
Exploring Operation: 49+9=58, Resulting Numbers: [93, 58]
Generated Node #0,0,1: 90:[93, 58] Operation: 49+9=58
Exploring Operation: 93-9=84, Resulting Numbers: [49, 84]
Generated Node #0,0,2: 90:[49, 84] Operation: 93-9=84
Exploring Operation: 93+9=102, Resulting Numbers: [49, 102]
Generated Node #0,0,3: 90:[49, 102] Operation: 93+9=102
Exploring Operation: 93-49=44, Resulting Numbers: [9, 44]
Generated Node #0,0,4: 90:[9, 44] Operation: 93-49=44
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 90:[9, 44], Operations: ['61-52=9', '93-49=44']
Exploring Operation: 9*44=396, Resulting Numbers: [396]
396,90 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[93, 40], Operations: ['61-52=9', '49-9=40']
Exploring Operation: 93+40=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Exploring Operation: 93*40=3720, Resulting Numbers: [3720]
3720,90 unequal: No Solution
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[49, 84], Operations: ['61-52=9', '93-9=84']
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 49*84=4116, Resulting Numbers: [4116]
4116,90 unequal: No Solution
Exploring Operation: 49+84=133, Resulting Numbers: [133]
133,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[93, 58], Operations: ['61-52=9', '49+9=58']
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 93+58=151, Resulting Numbers: [151]
151,90 unequal: No Solution
Exploring Operation: 93*58=5394, Resulting Numbers: [5394]
5394,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[49, 102], Operations: ['61-52=9', '93+9=102']
Exploring Operation: 49+102=151, Resulting Numbers: [151]
151,90 unequal: No Solution
Exploring Operation: 102-49=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 49*102=4998, Resulting Numbers: [4998]
4998,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[93, 52, 12], Operations: ['61-49=12']
Exploring Operation: 52+12=64, Resulting Numbers: [93, 64]
Generated Node #0,3,0: 90:[93, 64] Operation: 52+12=64
Exploring Operation: 93+12=105, Resulting Numbers: [52, 105]
Generated Node #0,3,1: 90:[52, 105] Operation: 93+12=105
Exploring Operation: 93-52=41, Resulting Numbers: [12, 41]
Generated Node #0,3,2: 90:[12, 41] Operation: 93-52=41
Exploring Operation: 52-12=40, Resulting Numbers: [93, 40]
Generated Node #0,3,3: 90:[93, 40] Operation: 52-12=40
Exploring Operation: 93-12=81, Resulting Numbers: [52, 81]
Generated Node #0,3,4: 90:[52, 81] Operation: 93-12=81
Moving to Node #0,3,2
Current State: 90:[12, 41], Operations: ['61-49=12', '93-52=41']
Exploring Operation: 12+41=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 12*41=492, Resulting Numbers: [492]
492,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[93, 40], Operations: ['61-49=12', '52-12=40']
Exploring Operation: 93*40=3720, Resulting Numbers: [3720]
3720,90 unequal: No Solution
Exploring Operation: 93+40=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Moving to Node #0,3,4
Current State: 90:[52, 81], Operations: ['61-49=12', '93-12=81']
Exploring Operation: 52*81=4212, Resulting Numbers: [4212]
4212,90 unequal: No Solution
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 52+81=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[93, 64], Operations: ['61-49=12', '52+12=64']
Exploring Operation: 93+64=157, Resulting Numbers: [157]
157,90 unequal: No Solution
Exploring Operation: 93*64=5952, Resulting Numbers: [5952]
5952,90 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[52, 105], Operations: ['61-49=12', '93+12=105']
Exploring Operation: 52+105=157, Resulting Numbers: [157]
157,90 unequal: No Solution
Exploring Operation: 105-52=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 52*105=5460, Resulting Numbers: [5460]
5460,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[49, 52, 32], Operations: ['93-61=32']
Exploring Operation: 52-32=20, Resulting Numbers: [49, 20]
Generated Node #0,1,0: 90:[49, 20] Operation: 52-32=20
Exploring Operation: 52-49=3, Resulting Numbers: [32, 3]
Generated Node #0,1,1: 90:[32, 3] Operation: 52-49=3
Exploring Operation: 52+32=84, Resulting Numbers: [49, 84]
Generated Node #0,1,2: 90:[49, 84] Operation: 52+32=84
Exploring Operation: 49-32=17, Resulting Numbers: [52, 17]
Generated Node #0,1,3: 90:[52, 17] Operation: 49-32=17
Exploring Operation: 49+52=101, Resulting Numbers: [32, 101]
Generated Node #0,1,4: 90:[32, 101] Operation: 49+52=101
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[32, 3], Operations: ['93-61=32', '52-49=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,90 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[49, 20], Operations: ['93-61=32', '52-32=20']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 49*20=980, Resulting Numbers: [980]
980,90 unequal: No Solution
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 90:[52, 17], Operations: ['93-61=32', '49-32=17']
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,90 unequal: No Solution
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[49, 84], Operations: ['93-61=32', '52+32=84']
Exploring Operation: 49+84=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Exploring Operation: 49*84=4116, Resulting Numbers: [4116]
4116,90 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 90:[32, 101], Operations: ['93-61=32', '49+52=101']
Exploring Operation: 32*101=3232, Resulting Numbers: [3232]
3232,90 unequal: No Solution
Exploring Operation: 32+101=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Exploring Operation: 101-32=69, Resulting Numbers: [69]
69,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[61, 93, 3], Operations: ['52-49=3']
Exploring Operation: 61+3=64, Resulting Numbers: [93, 64]
Generated Node #0,2,0: 90:[93, 64] Operation: 61+3=64
Exploring Operation: 93-61=32, Resulting Numbers: [3, 32]
Generated Node #0,2,1: 90:[3, 32] Operation: 93-61=32
Exploring Operation: 93/3=31, Resulting Numbers: [61, 31]
Generated Node #0,2,2: 90:[61, 31] Operation: 93/3=31
Exploring Operation: 61-3=58, Resulting Numbers: [93, 58]
Generated Node #0,2,3: 90:[93, 58] Operation: 61-3=58
Exploring Operation: 93-3=90, Resulting Numbers: [61, 90]
Generated Node #0,2,4: 90:[61, 90] Operation: 93-3=90
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[3, 32], Operations: ['52-49=3', '93-61=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,90 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 90:[93, 58], Operations: ['52-49=3', '61-3=58']
Exploring Operation: 93*58=5394, Resulting Numbers: [5394]
5394,90 unequal: No Solution
Exploring Operation: 93+58=151, Resulting Numbers: [151]
151,90 unequal: No Solution
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 90:[61, 90], Operations: ['52-49=3', '93-3=90']
Exploring Operation: 61+90=151, Resulting Numbers: [151]
151,90 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 61*90=5490, Resulting Numbers: [5490]
5490,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[61, 31], Operations: ['52-49=3', '93/3=31']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,90 unequal: No Solution
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[93, 64], Operations: ['52-49=3', '61+3=64']
Exploring Operation: 93*64=5952, Resulting Numbers: [5952]
5952,90 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 93+64=157, Resulting Numbers: [157]
157,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[61, 52, 44], Operations: ['93-49=44']
Exploring Operation: 61-44=17, Resulting Numbers: [52, 17]
Generated Node #0,4,0: 90:[52, 17] Operation: 61-44=17
Exploring Operation: 52+44=96, Resulting Numbers: [61, 96]
Generated Node #0,4,1: 90:[61, 96] Operation: 52+44=96
Exploring Operation: 61-52=9, Resulting Numbers: [44, 9]
Generated Node #0,4,2: 90:[44, 9] Operation: 61-52=9
Exploring Operation: 52-44=8, Resulting Numbers: [61, 8]
Generated Node #0,4,3: 90:[61, 8] Operation: 52-44=8
Exploring Operation: 61+44=105, Resulting Numbers: [52, 105]
Generated Node #0,4,4: 90:[52, 105] Operation: 61+44=105
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 90:[44, 9], Operations: ['93-49=44', '61-52=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 90:[52, 17], Operations: ['93-49=44', '61-44=17']
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,90 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 90:[61, 8], Operations: ['93-49=44', '52-44=8']
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 90:[61, 96], Operations: ['93-49=44', '52+44=96']
Exploring Operation: 61*96=5856, Resulting Numbers: [5856]
5856,90 unequal: No Solution
Exploring Operation: 61+96=157, Resulting Numbers: [157]
157,90 unequal: No Solution
Exploring Operation: 96-61=35, Resulting Numbers: [35]
35,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 90:[52, 105], Operations: ['93-49=44', '61+44=105']
Exploring Operation: 105-52=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 52*105=5460, Resulting Numbers: [5460]
5460,90 unequal: No Solution
Exploring Operation: 52+105=157, Resulting Numbers: [157]
157,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
66,
41,
1,
82
] | 22 | [
"82/41=2",
"1+2=3",
"66/3=22"
] | Current State: 22:[66, 41, 1, 82], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [66, 1, 2]
Generated Node #2: [66, 1, 2] from Operation: 82/41=2
Current State: 22:[66, 1, 2], Operations: ['82/41=2']
Exploring Operation: 1+2=3, Resulting Numbers: [66, 3]
Generated Node #3: [66, 3] from Operation: 1+2=3
Current State: 22:[66, 3], Operations: ['82/41=2', '1+2=3']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[66, 41, 1, 82], Operations: []
Exploring Operation: 82-41=41, Resulting Numbers: [66, 1, 41]
Generated Node #0,0: 22:[66, 1, 41] Operation: 82-41=41
Exploring Operation: 66-41=25, Resulting Numbers: [1, 82, 25]
Generated Node #0,1: 22:[1, 82, 25] Operation: 66-41=25
Exploring Operation: 82-66=16, Resulting Numbers: [41, 1, 16]
Generated Node #0,2: 22:[41, 1, 16] Operation: 82-66=16
Exploring Operation: 82/41=2, Resulting Numbers: [66, 1, 2]
Generated Node #0,3: 22:[66, 1, 2] Operation: 82/41=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[41, 1, 16], Operations: ['82-66=16']
Exploring Operation: 16-1=15, Resulting Numbers: [41, 15]
Generated Node #0,2,0: 22:[41, 15] Operation: 16-1=15
Exploring Operation: 41-16=25, Resulting Numbers: [1, 25]
Generated Node #0,2,1: 22:[1, 25] Operation: 41-16=25
Exploring Operation: 41*1=41, Resulting Numbers: [16, 41]
Generated Node #0,2,2: 22:[16, 41] Operation: 41*1=41
Exploring Operation: 41-1=40, Resulting Numbers: [16, 40]
Generated Node #0,2,3: 22:[16, 40] Operation: 41-1=40
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[1, 25], Operations: ['82-66=16', '41-16=25']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[41, 15], Operations: ['82-66=16', '16-1=15']
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,22 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 22:[16, 40], Operations: ['82-66=16', '41-1=40']
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 16*40=640, Resulting Numbers: [640]
640,22 unequal: No Solution
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 22:[16, 41], Operations: ['82-66=16', '41*1=41']
Exploring Operation: 16*41=656, Resulting Numbers: [656]
656,22 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[66, 1, 2], Operations: ['82/41=2']
Exploring Operation: 66/2=33, Resulting Numbers: [1, 33]
Generated Node #0,3,0: 22:[1, 33] Operation: 66/2=33
Exploring Operation: 66*1=66, Resulting Numbers: [2, 66]
Generated Node #0,3,1: 22:[2, 66] Operation: 66*1=66
Exploring Operation: 66-2=64, Resulting Numbers: [1, 64]
Generated Node #0,3,2: 22:[1, 64] Operation: 66-2=64
Exploring Operation: 66-1=65, Resulting Numbers: [2, 65]
Generated Node #0,3,3: 22:[2, 65] Operation: 66-1=65
Moving to Node #0,3,0
Current State: 22:[1, 33], Operations: ['82/41=2', '66/2=33']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Moving to Node #0,3,3
Current State: 22:[2, 65], Operations: ['82/41=2', '66-1=65']
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 2*65=130, Resulting Numbers: [130]
130,22 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Moving to Node #0,3,2
Current State: 22:[1, 64], Operations: ['82/41=2', '66-2=64']
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[2, 66], Operations: ['82/41=2', '66*1=66']
Exploring Operation: 2*66=132, Resulting Numbers: [132]
132,22 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[66, 1, 41], Operations: ['82-41=41']
Exploring Operation: 66*1=66, Resulting Numbers: [41, 66]
Generated Node #0,0,0: 22:[41, 66] Operation: 66*1=66
Exploring Operation: 66-1=65, Resulting Numbers: [41, 65]
Generated Node #0,0,1: 22:[41, 65] Operation: 66-1=65
Exploring Operation: 66-41=25, Resulting Numbers: [1, 25]
Generated Node #0,0,2: 22:[1, 25] Operation: 66-41=25
Exploring Operation: 41-1=40, Resulting Numbers: [66, 40]
Generated Node #0,0,3: 22:[66, 40] Operation: 41-1=40
Moving to Node #0,0,2
Current State: 22:[1, 25], Operations: ['82-41=41', '66-41=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Moving to Node #0,0,3
Current State: 22:[66, 40], Operations: ['82-41=41', '41-1=40']
Exploring Operation: 66*40=2640, Resulting Numbers: [2640]
2640,22 unequal: No Solution
Exploring Operation: 66+40=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[41, 65], Operations: ['82-41=41', '66-1=65']
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 41*65=2665, Resulting Numbers: [2665]
2665,22 unequal: No Solution
Exploring Operation: 41+65=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[41, 66], Operations: ['82-41=41', '66*1=66']
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 41+66=107, Resulting Numbers: [107]
107,22 unequal: No Solution
Exploring Operation: 41*66=2706, Resulting Numbers: [2706]
2706,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[1, 82, 25], Operations: ['66-41=25']
Exploring Operation: 82-1=81, Resulting Numbers: [25, 81]
Generated Node #0,1,0: 22:[25, 81] Operation: 82-1=81
Exploring Operation: 25-1=24, Resulting Numbers: [82, 24]
Generated Node #0,1,1: 22:[82, 24] Operation: 25-1=24
Exploring Operation: 82-25=57, Resulting Numbers: [1, 57]
Generated Node #0,1,2: 22:[1, 57] Operation: 82-25=57
Exploring Operation: 1*82=82, Resulting Numbers: [25, 82]
Generated Node #0,1,3: 22:[25, 82] Operation: 1*82=82
Moving to Node #0,1,2
Current State: 22:[1, 57], Operations: ['66-41=25', '82-25=57']
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 1+57=58, Resulting Numbers: [58]
58,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[82, 24], Operations: ['66-41=25', '25-1=24']
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,22 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[25, 81], Operations: ['66-41=25', '82-1=81']
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 25+81=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 25*81=2025, Resulting Numbers: [2025]
2025,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[25, 82], Operations: ['66-41=25', '1*82=82']
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 25+82=107, Resulting Numbers: [107]
107,22 unequal: No Solution
Exploring Operation: 25*82=2050, Resulting Numbers: [2050]
2050,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
50,
77,
90,
51
] | 13 | [
"51-50=1",
"90-77=13",
"1*13=13"
] | Current State: 13:[50, 77, 90, 51], Operations: []
Exploring Operation: 51-50=1, Resulting Numbers: [77, 90, 1]
Generated Node #2: [77, 90, 1] from Operation: 51-50=1
Current State: 13:[77, 90, 1], Operations: ['51-50=1']
Exploring Operation: 90-77=13, Resulting Numbers: [1, 13]
Generated Node #3: [1, 13] from Operation: 90-77=13
Current State: 13:[1, 13], Operations: ['51-50=1', '90-77=13']
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[50, 77, 90, 51], Operations: []
Exploring Operation: 77-50=27, Resulting Numbers: [90, 51, 27]
Generated Node #0,0: 13:[90, 51, 27] Operation: 77-50=27
Exploring Operation: 90-50=40, Resulting Numbers: [77, 51, 40]
Generated Node #0,1: 13:[77, 51, 40] Operation: 90-50=40
Exploring Operation: 90-77=13, Resulting Numbers: [50, 51, 13]
Generated Node #0,2: 13:[50, 51, 13] Operation: 90-77=13
Exploring Operation: 77-51=26, Resulting Numbers: [50, 90, 26]
Generated Node #0,3: 13:[50, 90, 26] Operation: 77-51=26
Exploring Operation: 90-51=39, Resulting Numbers: [50, 77, 39]
Generated Node #0,4: 13:[50, 77, 39] Operation: 90-51=39
Moving to Node #0,2
Current State: 13:[50, 51, 13], Operations: ['90-77=13']
Exploring Operation: 51-13=38, Resulting Numbers: [50, 38]
Generated Node #0,2,0: 13:[50, 38] Operation: 51-13=38
Exploring Operation: 50+13=63, Resulting Numbers: [51, 63]
Generated Node #0,2,1: 13:[51, 63] Operation: 50+13=63
Exploring Operation: 50-13=37, Resulting Numbers: [51, 37]
Generated Node #0,2,2: 13:[51, 37] Operation: 50-13=37
Exploring Operation: 50+51=101, Resulting Numbers: [13, 101]
Generated Node #0,2,3: 13:[13, 101] Operation: 50+51=101
Exploring Operation: 51-50=1, Resulting Numbers: [13, 1]
Generated Node #0,2,4: 13:[13, 1] Operation: 51-50=1
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 13:[13, 1], Operations: ['90-77=13', '51-50=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[50, 77, 90, 51], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [50, 51, 13]
Generated Node #0,2: 13:[50, 51, 13] Operation: 90-77=13
Moving to Node #0,2
Current State: 13:[50, 51, 13], Operations: ['90-77=13']
Exploring Operation: 51-50=1, Resulting Numbers: [13, 1]
Generated Node #0,2,4: 13:[13, 1] Operation: 51-50=1
Moving to Node #0,2,4
Current State: 13:[13, 1], Operations: ['90-77=13', '51-50=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
71,
21,
34,
41
] | 76 | [
"41-34=7",
"21*7=147",
"147-71=76"
] | Current State: 76:[71, 21, 34, 41], Operations: []
Exploring Operation: 41-34=7, Resulting Numbers: [71, 21, 7]
Generated Node #2: [71, 21, 7] from Operation: 41-34=7
Current State: 76:[71, 21, 7], Operations: ['41-34=7']
Exploring Operation: 21*7=147, Resulting Numbers: [71, 147]
Generated Node #3: [71, 147] from Operation: 21*7=147
Current State: 76:[71, 147], Operations: ['41-34=7', '21*7=147']
Exploring Operation: 147-71=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[71, 21, 34, 41], Operations: []
Exploring Operation: 71-34=37, Resulting Numbers: [21, 41, 37]
Generated Node #0,0: 76:[21, 41, 37] Operation: 71-34=37
Exploring Operation: 34+41=75, Resulting Numbers: [71, 21, 75]
Generated Node #0,1: 76:[71, 21, 75] Operation: 34+41=75
Moving to Node #0,0
Current State: 76:[21, 41, 37], Operations: ['71-34=37']
Exploring Operation: 41-21=20, Resulting Numbers: [37, 20]
Generated Node #0,0,0: 76:[37, 20] Operation: 41-21=20
Exploring Operation: 41-37=4, Resulting Numbers: [21, 4]
Generated Node #0,0,1: 76:[21, 4] Operation: 41-37=4
Moving to Node #0,1
Current State: 76:[71, 21, 75], Operations: ['34+41=75']
Exploring Operation: 75-71=4, Resulting Numbers: [21, 4]
Generated Node #0,1,0: 76:[21, 4] Operation: 75-71=4
Exploring Operation: 71-21=50, Resulting Numbers: [75, 50]
Generated Node #0,1,1: 76:[75, 50] Operation: 71-21=50
Moving to Node #0,0,0
Current State: 76:[37, 20], Operations: ['71-34=37', '41-21=20']
Exploring Operation: 37+20=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[21, 4], Operations: ['34+41=75', '75-71=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[21, 4], Operations: ['71-34=37', '41-37=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[75, 50], Operations: ['34+41=75', '71-21=50']
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,76 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,76 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
33,
6,
43,
60
] | 41 | [
"6+60=66",
"66/33=2",
"43-2=41"
] | Current State: 41:[33, 6, 43, 60], Operations: []
Exploring Operation: 6+60=66, Resulting Numbers: [33, 43, 66]
Generated Node #2: [33, 43, 66] from Operation: 6+60=66
Current State: 41:[33, 43, 66], Operations: ['6+60=66']
Exploring Operation: 66/33=2, Resulting Numbers: [43, 2]
Generated Node #3: [43, 2] from Operation: 66/33=2
Current State: 41:[43, 2], Operations: ['6+60=66', '66/33=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[33, 6, 43, 60], Operations: []
Exploring Operation: 33-6=27, Resulting Numbers: [43, 60, 27]
Generated Node #0,0: 41:[43, 60, 27] Operation: 33-6=27
Exploring Operation: 33+6=39, Resulting Numbers: [43, 60, 39]
Generated Node #0,1: 41:[43, 60, 39] Operation: 33+6=39
Exploring Operation: 6+43=49, Resulting Numbers: [33, 60, 49]
Generated Node #0,2: 41:[33, 60, 49] Operation: 6+43=49
Exploring Operation: 43-6=37, Resulting Numbers: [33, 60, 37]
Generated Node #0,3: 41:[33, 60, 37] Operation: 43-6=37
Exploring Operation: 60-6=54, Resulting Numbers: [33, 43, 54]
Generated Node #0,4: 41:[33, 43, 54] Operation: 60-6=54
Moving to Node #0,1
Current State: 41:[43, 60, 39], Operations: ['33+6=39']
Exploring Operation: 60-43=17, Resulting Numbers: [39, 17]
Generated Node #0,1,0: 41:[39, 17] Operation: 60-43=17
Exploring Operation: 60+39=99, Resulting Numbers: [43, 99]
Generated Node #0,1,1: 41:[43, 99] Operation: 60+39=99
Exploring Operation: 43+39=82, Resulting Numbers: [60, 82]
Generated Node #0,1,2: 41:[60, 82] Operation: 43+39=82
Exploring Operation: 43-39=4, Resulting Numbers: [60, 4]
Generated Node #0,1,3: 41:[60, 4] Operation: 43-39=4
Exploring Operation: 60-39=21, Resulting Numbers: [43, 21]
Generated Node #0,1,4: 41:[43, 21] Operation: 60-39=21
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 41:[43, 21], Operations: ['33+6=39', '60-39=21']
Exploring Operation: 43*21=903, Resulting Numbers: [903]
903,41 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 43+21=64, Resulting Numbers: [64]
64,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[39, 17], Operations: ['33+6=39', '60-43=17']
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,41 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[60, 4], Operations: ['33+6=39', '43-39=4']
Exploring Operation: 60+4=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 60*4=240, Resulting Numbers: [240]
240,41 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[43, 99], Operations: ['33+6=39', '60+39=99']
Exploring Operation: 99-43=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 43*99=4257, Resulting Numbers: [4257]
4257,41 unequal: No Solution
Exploring Operation: 43+99=142, Resulting Numbers: [142]
142,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[60, 82], Operations: ['33+6=39', '43+39=82']
Exploring Operation: 60*82=4920, Resulting Numbers: [4920]
4920,41 unequal: No Solution
Exploring Operation: 60+82=142, Resulting Numbers: [142]
142,41 unequal: No Solution
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,41 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: 41:[33, 43, 54], Operations: ['60-6=54']
Exploring Operation: 54-33=21, Resulting Numbers: [43, 21]
Generated Node #0,4,0: 41:[43, 21] Operation: 54-33=21
Exploring Operation: 33+54=87, Resulting Numbers: [43, 87]
Generated Node #0,4,1: 41:[43, 87] Operation: 33+54=87
Exploring Operation: 33+43=76, Resulting Numbers: [54, 76]
Generated Node #0,4,2: 41:[54, 76] Operation: 33+43=76
Exploring Operation: 43-33=10, Resulting Numbers: [54, 10]
Generated Node #0,4,3: 41:[54, 10] Operation: 43-33=10
Exploring Operation: 54-43=11, Resulting Numbers: [33, 11]
Generated Node #0,4,4: 41:[33, 11] Operation: 54-43=11
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 41:[43, 21], Operations: ['60-6=54', '54-33=21']
Exploring Operation: 43*21=903, Resulting Numbers: [903]
903,41 unequal: No Solution
Exploring Operation: 43+21=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 41:[33, 11], Operations: ['60-6=54', '54-43=11']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 33*11=363, Resulting Numbers: [363]
363,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 41:[54, 10], Operations: ['60-6=54', '43-33=10']
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,41 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[43, 87], Operations: ['60-6=54', '33+54=87']
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 43+87=130, Resulting Numbers: [130]
130,41 unequal: No Solution
Exploring Operation: 43*87=3741, Resulting Numbers: [3741]
3741,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 41:[54, 76], Operations: ['60-6=54', '33+43=76']
Exploring Operation: 54*76=4104, Resulting Numbers: [4104]
4104,41 unequal: No Solution
Exploring Operation: 76-54=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 54+76=130, Resulting Numbers: [130]
130,41 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: 41:[33, 60, 37], Operations: ['43-6=37']
Exploring Operation: 60-37=23, Resulting Numbers: [33, 23]
Generated Node #0,3,0: 41:[33, 23] Operation: 60-37=23
Exploring Operation: 33+37=70, Resulting Numbers: [60, 70]
Generated Node #0,3,1: 41:[60, 70] Operation: 33+37=70
Exploring Operation: 37-33=4, Resulting Numbers: [60, 4]
Generated Node #0,3,2: 41:[60, 4] Operation: 37-33=4
Exploring Operation: 33+60=93, Resulting Numbers: [37, 93]
Generated Node #0,3,3: 41:[37, 93] Operation: 33+60=93
Exploring Operation: 60-33=27, Resulting Numbers: [37, 27]
Generated Node #0,3,4: 41:[37, 27] Operation: 60-33=27
Moving to Node #0,0
Current State: 41:[43, 60, 27], Operations: ['33-6=27']
Exploring Operation: 43+27=70, Resulting Numbers: [60, 70]
Generated Node #0,0,0: 41:[60, 70] Operation: 43+27=70
Exploring Operation: 60-27=33, Resulting Numbers: [43, 33]
Generated Node #0,0,1: 41:[43, 33] Operation: 60-27=33
Exploring Operation: 60+27=87, Resulting Numbers: [43, 87]
Generated Node #0,0,2: 41:[43, 87] Operation: 60+27=87
Exploring Operation: 60-43=17, Resulting Numbers: [27, 17]
Generated Node #0,0,3: 41:[27, 17] Operation: 60-43=17
Exploring Operation: 43-27=16, Resulting Numbers: [60, 16]
Generated Node #0,0,4: 41:[60, 16] Operation: 43-27=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[43, 33], Operations: ['33-6=27', '60-27=33']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 43*33=1419, Resulting Numbers: [1419]
1419,41 unequal: No Solution
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 41:[27, 17], Operations: ['33-6=27', '60-43=17']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 41:[60, 16], Operations: ['33-6=27', '43-27=16']
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[60, 70], Operations: ['33-6=27', '43+27=70']
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 60+70=130, Resulting Numbers: [130]
130,41 unequal: No Solution
Exploring Operation: 60*70=4200, Resulting Numbers: [4200]
4200,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[43, 87], Operations: ['33-6=27', '60+27=87']
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 43+87=130, Resulting Numbers: [130]
130,41 unequal: No Solution
Exploring Operation: 43*87=3741, Resulting Numbers: [3741]
3741,41 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: 41:[33, 60, 49], Operations: ['6+43=49']
Exploring Operation: 33+60=93, Resulting Numbers: [49, 93]
Generated Node #0,2,0: 41:[49, 93] Operation: 33+60=93
Exploring Operation: 33+49=82, Resulting Numbers: [60, 82]
Generated Node #0,2,1: 41:[60, 82] Operation: 33+49=82
Exploring Operation: 49-33=16, Resulting Numbers: [60, 16]
Generated Node #0,2,2: 41:[60, 16] Operation: 49-33=16
Exploring Operation: 60-49=11, Resulting Numbers: [33, 11]
Generated Node #0,2,3: 41:[33, 11] Operation: 60-49=11
Exploring Operation: 60-33=27, Resulting Numbers: [49, 27]
Generated Node #0,2,4: 41:[49, 27] Operation: 60-33=27
Moving to Node #0,3,4
Current State: 41:[37, 27], Operations: ['43-6=37', '60-33=27']
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[49, 27], Operations: ['6+43=49', '60-33=27']
Exploring Operation: 49*27=1323, Resulting Numbers: [1323]
1323,41 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[33, 23], Operations: ['43-6=37', '60-37=23']
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,41 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[33, 11], Operations: ['6+43=49', '60-49=11']
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 33*11=363, Resulting Numbers: [363]
363,41 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[60, 16], Operations: ['6+43=49', '49-33=16']
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,41 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[60, 70], Operations: ['43-6=37', '33+37=70']
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 60*70=4200, Resulting Numbers: [4200]
4200,41 unequal: No Solution
Exploring Operation: 60+70=130, Resulting Numbers: [130]
130,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[37, 93], Operations: ['43-6=37', '33+60=93']
Exploring Operation: 37+93=130, Resulting Numbers: [130]
130,41 unequal: No Solution
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 37*93=3441, Resulting Numbers: [3441]
3441,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[60, 4], Operations: ['43-6=37', '37-33=4']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 60*4=240, Resulting Numbers: [240]
240,41 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 60+4=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[60, 82], Operations: ['6+43=49', '33+49=82']
Exploring Operation: 60*82=4920, Resulting Numbers: [4920]
4920,41 unequal: No Solution
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 60+82=142, Resulting Numbers: [142]
142,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[49, 93], Operations: ['6+43=49', '33+60=93']
Exploring Operation: 49*93=4557, Resulting Numbers: [4557]
4557,41 unequal: No Solution
Exploring Operation: 93-49=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 49+93=142, Resulting Numbers: [142]
142,41 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
41,
55,
8,
13
] | 37 | [
"55*8=440",
"41+440=481",
"481/13=37"
] | Current State: 37:[41, 55, 8, 13], Operations: []
Exploring Operation: 55*8=440, Resulting Numbers: [41, 13, 440]
Generated Node #2: [41, 13, 440] from Operation: 55*8=440
Current State: 37:[41, 13, 440], Operations: ['55*8=440']
Exploring Operation: 41+440=481, Resulting Numbers: [13, 481]
Generated Node #3: [13, 481] from Operation: 41+440=481
Current State: 37:[13, 481], Operations: ['55*8=440', '41+440=481']
Exploring Operation: 481/13=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[41, 55, 8, 13], Operations: []
Exploring Operation: 55-8=47, Resulting Numbers: [41, 13, 47]
Generated Node #0,0: 37:[41, 13, 47] Operation: 55-8=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[41, 13, 47], Operations: ['55-8=47']
Exploring Operation: 47-13=34, Resulting Numbers: [41, 34]
Generated Node #0,0,0: 37:[41, 34] Operation: 47-13=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[41, 34], Operations: ['55-8=47', '47-13=34']
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
11,
27,
33,
72
] | 12 | [
"27+33=60",
"72+60=132",
"132/11=12"
] | Current State: 12:[11, 27, 33, 72], Operations: []
Exploring Operation: 27+33=60, Resulting Numbers: [11, 72, 60]
Generated Node #2: [11, 72, 60] from Operation: 27+33=60
Current State: 12:[11, 72, 60], Operations: ['27+33=60']
Exploring Operation: 72+60=132, Resulting Numbers: [11, 132]
Generated Node #3: [11, 132] from Operation: 72+60=132
Current State: 12:[11, 132], Operations: ['27+33=60', '72+60=132']
Exploring Operation: 132/11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[11, 27, 33, 72], Operations: []
Exploring Operation: 33-27=6, Resulting Numbers: [11, 72, 6]
Generated Node #0,0: 12:[11, 72, 6] Operation: 33-27=6
Exploring Operation: 72-27=45, Resulting Numbers: [11, 33, 45]
Generated Node #0,1: 12:[11, 33, 45] Operation: 72-27=45
Exploring Operation: 72-33=39, Resulting Numbers: [11, 27, 39]
Generated Node #0,2: 12:[11, 27, 39] Operation: 72-33=39
Moving to Node #0,2
Current State: 12:[11, 27, 39], Operations: ['72-33=39']
Exploring Operation: 39-27=12, Resulting Numbers: [11, 12]
Generated Node #0,2,0: 12:[11, 12] Operation: 39-27=12
Exploring Operation: 27-11=16, Resulting Numbers: [39, 16]
Generated Node #0,2,1: 12:[39, 16] Operation: 27-11=16
Exploring Operation: 39-11=28, Resulting Numbers: [27, 28]
Generated Node #0,2,2: 12:[27, 28] Operation: 39-11=28
Moving to Node #0,1
Current State: 12:[11, 33, 45], Operations: ['72-27=45']
Exploring Operation: 33/11=3, Resulting Numbers: [45, 3]
Generated Node #0,1,0: 12:[45, 3] Operation: 33/11=3
Exploring Operation: 33-11=22, Resulting Numbers: [45, 22]
Generated Node #0,1,1: 12:[45, 22] Operation: 33-11=22
Exploring Operation: 45-33=12, Resulting Numbers: [11, 12]
Generated Node #0,1,2: 12:[11, 12] Operation: 45-33=12
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[11, 12], Operations: ['72-27=45', '45-33=12']
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,12 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,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:[45, 3], Operations: ['72-27=45', '33/11=3']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,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:[45, 22], Operations: ['72-27=45', '33-11=22']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,12 unequal: No Solution
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 12:[11, 72, 6], Operations: ['33-27=6']
Exploring Operation: 72-11=61, Resulting Numbers: [6, 61]
Generated Node #0,0,0: 12:[6, 61] Operation: 72-11=61
Exploring Operation: 72/6=12, Resulting Numbers: [11, 12]
Generated Node #0,0,1: 12:[11, 12] Operation: 72/6=12
Exploring Operation: 72-6=66, Resulting Numbers: [11, 66]
Generated Node #0,0,2: 12:[11, 66] Operation: 72-6=66
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[11, 12], Operations: ['33-27=6', '72/6=12']
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,12 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[6, 61], Operations: ['33-27=6', '72-11=61']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,12 unequal: No Solution
Exploring Operation: 6+61=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 6*61=366, Resulting Numbers: [366]
366,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[11, 66], Operations: ['33-27=6', '72-6=66']
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,12 unequal: No Solution
Exploring Operation: 11+66=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,12 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: 12:[11, 12], Operations: ['72-33=39', '39-27=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[39, 16], Operations: ['72-33=39', '27-11=16']
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,12 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[27, 28], Operations: ['72-33=39', '39-11=28']
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,12 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,12 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
98,
99,
78,
17
] | 62 | [
"99-98=1",
"78-17=61",
"1+61=62"
] | Current State: 62:[98, 99, 78, 17], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [78, 17, 1]
Generated Node #2: [78, 17, 1] from Operation: 99-98=1
Current State: 62:[78, 17, 1], Operations: ['99-98=1']
Exploring Operation: 78-17=61, Resulting Numbers: [1, 61]
Generated Node #3: [1, 61] from Operation: 78-17=61
Current State: 62:[1, 61], Operations: ['99-98=1', '78-17=61']
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[98, 99, 78, 17], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [78, 17, 1]
Generated Node #0,0: 62:[78, 17, 1] Operation: 99-98=1
Moving to Node #0,0
Current State: 62:[78, 17, 1], Operations: ['99-98=1']
Exploring Operation: 78-17=61, Resulting Numbers: [1, 61]
Generated Node #0,0,0: 62:[1, 61] Operation: 78-17=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[1, 61], Operations: ['99-98=1', '78-17=61']
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[98, 99, 78, 17], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [78, 17, 1]
Generated Node #0,0: 62:[78, 17, 1] Operation: 99-98=1
Moving to Node #0,0
Current State: 62:[78, 17, 1], Operations: ['99-98=1']
Exploring Operation: 78-17=61, Resulting Numbers: [1, 61]
Generated Node #0,0,0: 62:[1, 61] Operation: 78-17=61
Moving to Node #0,0,0
Current State: 62:[1, 61], Operations: ['99-98=1', '78-17=61']
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
8,
86,
11,
13
] | 33 | [
"11-8=3",
"86+13=99",
"99/3=33"
] | Current State: 33:[8, 86, 11, 13], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [86, 13, 3]
Generated Node #2: [86, 13, 3] from Operation: 11-8=3
Current State: 33:[86, 13, 3], Operations: ['11-8=3']
Exploring Operation: 86+13=99, Resulting Numbers: [3, 99]
Generated Node #3: [3, 99] from Operation: 86+13=99
Current State: 33:[3, 99], Operations: ['11-8=3', '86+13=99']
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[8, 86, 11, 13], Operations: []
Exploring Operation: 86-13=73, Resulting Numbers: [8, 11, 73]
Generated Node #0,0: 33:[8, 11, 73] Operation: 86-13=73
Exploring Operation: 86-8=78, Resulting Numbers: [11, 13, 78]
Generated Node #0,1: 33:[11, 13, 78] Operation: 86-8=78
Moving to Node #0,0
Current State: 33:[8, 11, 73], Operations: ['86-13=73']
Exploring Operation: 73-11=62, Resulting Numbers: [8, 62]
Generated Node #0,0,0: 33:[8, 62] Operation: 73-11=62
Exploring Operation: 73-8=65, Resulting Numbers: [11, 65]
Generated Node #0,0,1: 33:[11, 65] Operation: 73-8=65
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[8, 62], Operations: ['86-13=73', '73-11=62']
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[11, 65], Operations: ['86-13=73', '73-8=65']
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,33 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: 33:[11, 13, 78], Operations: ['86-8=78']
Exploring Operation: 78/13=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 33:[11, 6] Operation: 78/13=6
Exploring Operation: 78-13=65, Resulting Numbers: [11, 65]
Generated Node #0,1,1: 33:[11, 65] Operation: 78-13=65
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[11, 6], Operations: ['86-8=78', '78/13=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[11, 65], Operations: ['86-8=78', '78-13=65']
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
72,
80,
10,
89
] | 53 | [
"72+80=152",
"10+89=99",
"152-99=53"
] | Current State: 53:[72, 80, 10, 89], Operations: []
Exploring Operation: 72+80=152, Resulting Numbers: [10, 89, 152]
Generated Node #2: [10, 89, 152] from Operation: 72+80=152
Current State: 53:[10, 89, 152], Operations: ['72+80=152']
Exploring Operation: 10+89=99, Resulting Numbers: [152, 99]
Generated Node #3: [152, 99] from Operation: 10+89=99
Current State: 53:[152, 99], Operations: ['72+80=152', '10+89=99']
Exploring Operation: 152-99=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[72, 80, 10, 89], Operations: []
Exploring Operation: 72-10=62, Resulting Numbers: [80, 89, 62]
Generated Node #0,0: 53:[80, 89, 62] Operation: 72-10=62
Exploring Operation: 89-10=79, Resulting Numbers: [72, 80, 79]
Generated Node #0,1: 53:[72, 80, 79] Operation: 89-10=79
Exploring Operation: 80-10=70, Resulting Numbers: [72, 89, 70]
Generated Node #0,2: 53:[72, 89, 70] Operation: 80-10=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[80, 89, 62], Operations: ['72-10=62']
Exploring Operation: 89-62=27, Resulting Numbers: [80, 27]
Generated Node #0,0,0: 53:[80, 27] Operation: 89-62=27
Exploring Operation: 89-80=9, Resulting Numbers: [62, 9]
Generated Node #0,0,1: 53:[62, 9] Operation: 89-80=9
Exploring Operation: 80-62=18, Resulting Numbers: [89, 18]
Generated Node #0,0,2: 53:[89, 18] Operation: 80-62=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[80, 27], Operations: ['72-10=62', '89-62=27']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[72, 80, 10, 89], Operations: []
Exploring Operation: 72-10=62, Resulting Numbers: [80, 89, 62]
Generated Node #0,0: 53:[80, 89, 62] Operation: 72-10=62
Moving to Node #0,0
Current State: 53:[80, 89, 62], Operations: ['72-10=62']
Exploring Operation: 89-62=27, Resulting Numbers: [80, 27]
Generated Node #0,0,0: 53:[80, 27] Operation: 89-62=27
Moving to Node #0,0,0
Current State: 53:[80, 27], Operations: ['72-10=62', '89-62=27']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
28,
10,
60,
79
] | 57 | [
"28+10=38",
"79-60=19",
"38+19=57"
] | Current State: 57:[28, 10, 60, 79], Operations: []
Exploring Operation: 28+10=38, Resulting Numbers: [60, 79, 38]
Generated Node #2: [60, 79, 38] from Operation: 28+10=38
Current State: 57:[60, 79, 38], Operations: ['28+10=38']
Exploring Operation: 79-60=19, Resulting Numbers: [38, 19]
Generated Node #3: [38, 19] from Operation: 79-60=19
Current State: 57:[38, 19], Operations: ['28+10=38', '79-60=19']
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[28, 10, 60, 79], Operations: []
Exploring Operation: 79-28=51, Resulting Numbers: [10, 60, 51]
Generated Node #0,0: 57:[10, 60, 51] Operation: 79-28=51
Moving to Node #0,0
Current State: 57:[10, 60, 51], Operations: ['79-28=51']
Exploring Operation: 10+51=61, Resulting Numbers: [60, 61]
Generated Node #0,0,0: 57:[60, 61] Operation: 10+51=61
Moving to Node #0,0,0
Current State: 57:[60, 61], Operations: ['79-28=51', '10+51=61']
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,57 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
87,
48,
41
] | 75 | [
"64*87=5568",
"5568/48=116",
"116-41=75"
] | Current State: 75:[64, 87, 48, 41], Operations: []
Exploring Operation: 64*87=5568, Resulting Numbers: [48, 41, 5568]
Generated Node #2: [48, 41, 5568] from Operation: 64*87=5568
Current State: 75:[48, 41, 5568], Operations: ['64*87=5568']
Exploring Operation: 5568/48=116, Resulting Numbers: [41, 116]
Generated Node #3: [41, 116] from Operation: 5568/48=116
Current State: 75:[41, 116], Operations: ['64*87=5568', '5568/48=116']
Exploring Operation: 116-41=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[64, 87, 48, 41], Operations: []
Exploring Operation: 64-41=23, Resulting Numbers: [87, 48, 23]
Generated Node #0,0: 75:[87, 48, 23] Operation: 64-41=23
Exploring Operation: 64-48=16, Resulting Numbers: [87, 41, 16]
Generated Node #0,1: 75:[87, 41, 16] Operation: 64-48=16
Exploring Operation: 48+41=89, Resulting Numbers: [64, 87, 89]
Generated Node #0,2: 75:[64, 87, 89] Operation: 48+41=89
Exploring Operation: 48-41=7, Resulting Numbers: [64, 87, 7]
Generated Node #0,3: 75:[64, 87, 7] Operation: 48-41=7
Moving to Node #0,3
Current State: 75:[64, 87, 7], Operations: ['48-41=7']
Exploring Operation: 64+7=71, Resulting Numbers: [87, 71]
Generated Node #0,3,0: 75:[87, 71] Operation: 64+7=71
Exploring Operation: 87-7=80, Resulting Numbers: [64, 80]
Generated Node #0,3,1: 75:[64, 80] Operation: 87-7=80
Exploring Operation: 87-64=23, Resulting Numbers: [7, 23]
Generated Node #0,3,2: 75:[7, 23] Operation: 87-64=23
Exploring Operation: 64-7=57, Resulting Numbers: [87, 57]
Generated Node #0,3,3: 75:[87, 57] Operation: 64-7=57
Moving to Node #0,1
Current State: 75:[87, 41, 16], Operations: ['64-48=16']
Exploring Operation: 87-16=71, Resulting Numbers: [41, 71]
Generated Node #0,1,0: 75:[41, 71] Operation: 87-16=71
Exploring Operation: 41-16=25, Resulting Numbers: [87, 25]
Generated Node #0,1,1: 75:[87, 25] Operation: 41-16=25
Exploring Operation: 41+16=57, Resulting Numbers: [87, 57]
Generated Node #0,1,2: 75:[87, 57] Operation: 41+16=57
Exploring Operation: 87-41=46, Resulting Numbers: [16, 46]
Generated Node #0,1,3: 75:[16, 46] Operation: 87-41=46
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[87, 25], Operations: ['64-48=16', '41-16=25']
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 87+25=112, Resulting Numbers: [112]
112,75 unequal: No Solution
Exploring Operation: 87*25=2175, Resulting Numbers: [2175]
2175,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[41, 71], Operations: ['64-48=16', '87-16=71']
Exploring Operation: 41*71=2911, Resulting Numbers: [2911]
2911,75 unequal: No Solution
Exploring Operation: 41+71=112, Resulting Numbers: [112]
112,75 unequal: No Solution
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 75:[16, 46], Operations: ['64-48=16', '87-41=46']
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,75 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[87, 57], Operations: ['64-48=16', '41+16=57']
Exploring Operation: 87+57=144, Resulting Numbers: [144]
144,75 unequal: No Solution
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,75 unequal: No Solution
Exploring Operation: 87*57=4959, Resulting Numbers: [4959]
4959,75 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: 75:[64, 87, 89], Operations: ['48+41=89']
Exploring Operation: 89-87=2, Resulting Numbers: [64, 2]
Generated Node #0,2,0: 75:[64, 2] Operation: 89-87=2
Exploring Operation: 89-64=25, Resulting Numbers: [87, 25]
Generated Node #0,2,1: 75:[87, 25] Operation: 89-64=25
Exploring Operation: 87-64=23, Resulting Numbers: [89, 23]
Generated Node #0,2,2: 75:[89, 23] Operation: 87-64=23
Exploring Operation: 64+87=151, Resulting Numbers: [89, 151]
Generated Node #0,2,3: 75:[89, 151] Operation: 64+87=151
Moving to Node #0,0
Current State: 75:[87, 48, 23], Operations: ['64-41=23']
Exploring Operation: 87-48=39, Resulting Numbers: [23, 39]
Generated Node #0,0,0: 75:[23, 39] Operation: 87-48=39
Exploring Operation: 48+23=71, Resulting Numbers: [87, 71]
Generated Node #0,0,1: 75:[87, 71] Operation: 48+23=71
Exploring Operation: 87-23=64, Resulting Numbers: [48, 64]
Generated Node #0,0,2: 75:[48, 64] Operation: 87-23=64
Exploring Operation: 48-23=25, Resulting Numbers: [87, 25]
Generated Node #0,0,3: 75:[87, 25] Operation: 48-23=25
Moving to Node #0,3,2
Current State: 75:[7, 23], Operations: ['48-41=7', '87-64=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,75 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[87, 25], Operations: ['48+41=89', '89-64=25']
Exploring Operation: 87+25=112, Resulting Numbers: [112]
112,75 unequal: No Solution
Exploring Operation: 87*25=2175, Resulting Numbers: [2175]
2175,75 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[64, 2], Operations: ['48+41=89', '89-87=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,75 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[87, 25], Operations: ['64-41=23', '48-23=25']
Exploring Operation: 87*25=2175, Resulting Numbers: [2175]
2175,75 unequal: No Solution
Exploring Operation: 87+25=112, Resulting Numbers: [112]
112,75 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[89, 23], Operations: ['48+41=89', '87-64=23']
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 89+23=112, Resulting Numbers: [112]
112,75 unequal: No Solution
Exploring Operation: 89*23=2047, Resulting Numbers: [2047]
2047,75 unequal: No Solution
Moving to Node #0,3,1
Current State: 75:[64, 80], Operations: ['48-41=7', '87-7=80']
Exploring Operation: 64*80=5120, Resulting Numbers: [5120]
5120,75 unequal: No Solution
Exploring Operation: 64+80=144, Resulting Numbers: [144]
144,75 unequal: No Solution
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[87, 71], Operations: ['48-41=7', '64+7=71']
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 87+71=158, Resulting Numbers: [158]
158,75 unequal: No Solution
Exploring Operation: 87*71=6177, Resulting Numbers: [6177]
6177,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[23, 39], Operations: ['64-41=23', '87-48=39']
Exploring Operation: 23+39=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 23*39=897, Resulting Numbers: [897]
897,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[87, 71], Operations: ['64-41=23', '48+23=71']
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 87*71=6177, Resulting Numbers: [6177]
6177,75 unequal: No Solution
Exploring Operation: 87+71=158, Resulting Numbers: [158]
158,75 unequal: No Solution
Moving to Node #0,3,3
Current State: 75:[87, 57], Operations: ['48-41=7', '64-7=57']
Exploring Operation: 87*57=4959, Resulting Numbers: [4959]
4959,75 unequal: No Solution
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,75 unequal: No Solution
Exploring Operation: 87+57=144, Resulting Numbers: [144]
144,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[48, 64], Operations: ['64-41=23', '87-23=64']
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,75 unequal: No Solution
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[89, 151], Operations: ['48+41=89', '64+87=151']
Exploring Operation: 89*151=13439, Resulting Numbers: [13439]
13439,75 unequal: No Solution
Exploring Operation: 89+151=240, Resulting Numbers: [240]
240,75 unequal: No Solution
Exploring Operation: 151-89=62, Resulting Numbers: [62]
62,75 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
28,
68,
82,
20
] | 41 | [
"68-28=40",
"82*20=1640",
"1640/40=41"
] | Current State: 41:[28, 68, 82, 20], Operations: []
Exploring Operation: 68-28=40, Resulting Numbers: [82, 20, 40]
Generated Node #2: [82, 20, 40] from Operation: 68-28=40
Current State: 41:[82, 20, 40], Operations: ['68-28=40']
Exploring Operation: 82*20=1640, Resulting Numbers: [40, 1640]
Generated Node #3: [40, 1640] from Operation: 82*20=1640
Current State: 41:[40, 1640], Operations: ['68-28=40', '82*20=1640']
Exploring Operation: 1640/40=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[28, 68, 82, 20], Operations: []
Exploring Operation: 82-28=54, Resulting Numbers: [68, 20, 54]
Generated Node #0,0: 41:[68, 20, 54] Operation: 82-28=54
Exploring Operation: 82-68=14, Resulting Numbers: [28, 20, 14]
Generated Node #0,1: 41:[28, 20, 14] Operation: 82-68=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[68, 20, 54], Operations: ['82-28=54']
Exploring Operation: 54-20=34, Resulting Numbers: [68, 34]
Generated Node #0,0,0: 41:[68, 34] Operation: 54-20=34
Exploring Operation: 68-20=48, Resulting Numbers: [54, 48]
Generated Node #0,0,1: 41:[54, 48] Operation: 68-20=48
Moving to Node #0,0,1
Current State: 41:[54, 48], Operations: ['82-28=54', '68-20=48']
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[68, 34], Operations: ['82-28=54', '54-20=34']
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[28, 20, 14], Operations: ['82-68=14']
Exploring Operation: 20+14=34, Resulting Numbers: [28, 34]
Generated Node #0,1,0: 41:[28, 34] Operation: 20+14=34
Exploring Operation: 28+14=42, Resulting Numbers: [20, 42]
Generated Node #0,1,1: 41:[20, 42] Operation: 28+14=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[28, 34], Operations: ['82-68=14', '20+14=34']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[20, 42], Operations: ['82-68=14', '28+14=42']
Exploring Operation: 20+42=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
33,
6,
39,
12
] | 13 | [
"33+6=39",
"39/39=1",
"12+1=13"
] | Current State: 13:[33, 6, 39, 12], Operations: []
Exploring Operation: 33+6=39, Resulting Numbers: [39, 12, 39]
Generated Node #2: [39, 12, 39] from Operation: 33+6=39
Current State: 13:[39, 12, 39], Operations: ['33+6=39']
Exploring Operation: 39/39=1, Resulting Numbers: [12, 1]
Generated Node #3: [12, 1] from Operation: 39/39=1
Current State: 13:[12, 1], Operations: ['33+6=39', '39/39=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[33, 6, 39, 12], Operations: []
Exploring Operation: 39-33=6, Resulting Numbers: [6, 12, 6]
Generated Node #0,0: 13:[6, 12, 6] Operation: 39-33=6
Moving to Node #0,0
Current State: 13:[6, 12, 6], Operations: ['39-33=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12, 12]
Generated Node #0,0,0: 13:[12, 12] Operation: 6+6=12
Moving to Node #0,0,0
Current State: 13:[12, 12], Operations: ['39-33=6', '6+6=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,13 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
48,
40,
65,
3
] | 41 | [
"48-40=8",
"3*8=24",
"65-24=41"
] | Current State: 41:[48, 40, 65, 3], Operations: []
Exploring Operation: 48-40=8, Resulting Numbers: [65, 3, 8]
Generated Node #2: [65, 3, 8] from Operation: 48-40=8
Current State: 41:[65, 3, 8], Operations: ['48-40=8']
Exploring Operation: 3*8=24, Resulting Numbers: [65, 24]
Generated Node #3: [65, 24] from Operation: 3*8=24
Current State: 41:[65, 24], Operations: ['48-40=8', '3*8=24']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[48, 40, 65, 3], Operations: []
Exploring Operation: 40+3=43, Resulting Numbers: [48, 65, 43]
Generated Node #0,0: 41:[48, 65, 43] Operation: 40+3=43
Exploring Operation: 65-3=62, Resulting Numbers: [48, 40, 62]
Generated Node #0,1: 41:[48, 40, 62] Operation: 65-3=62
Exploring Operation: 48-3=45, Resulting Numbers: [40, 65, 45]
Generated Node #0,2: 41:[40, 65, 45] Operation: 48-3=45
Moving to Node #0,1
Current State: 41:[48, 40, 62], Operations: ['65-3=62']
Exploring Operation: 62-48=14, Resulting Numbers: [40, 14]
Generated Node #0,1,0: 41:[40, 14] Operation: 62-48=14
Exploring Operation: 62-40=22, Resulting Numbers: [48, 22]
Generated Node #0,1,1: 41:[48, 22] Operation: 62-40=22
Exploring Operation: 48-40=8, Resulting Numbers: [62, 8]
Generated Node #0,1,2: 41:[62, 8] Operation: 48-40=8
Moving to Node #0,2
Current State: 41:[40, 65, 45], Operations: ['48-3=45']
Exploring Operation: 65-45=20, Resulting Numbers: [40, 20]
Generated Node #0,2,0: 41:[40, 20] Operation: 65-45=20
Exploring Operation: 65-40=25, Resulting Numbers: [45, 25]
Generated Node #0,2,1: 41:[45, 25] Operation: 65-40=25
Exploring Operation: 45-40=5, Resulting Numbers: [65, 5]
Generated Node #0,2,2: 41:[65, 5] Operation: 45-40=5
Moving to Node #0,0
Current State: 41:[48, 65, 43], Operations: ['40+3=43']
Exploring Operation: 65-43=22, Resulting Numbers: [48, 22]
Generated Node #0,0,0: 41:[48, 22] Operation: 65-43=22
Exploring Operation: 48-43=5, Resulting Numbers: [65, 5]
Generated Node #0,0,1: 41:[65, 5] Operation: 48-43=5
Exploring Operation: 65-48=17, Resulting Numbers: [43, 17]
Generated Node #0,0,2: 41:[43, 17] Operation: 65-48=17
Moving to Node #0,2,1
Current State: 41:[45, 25], Operations: ['48-3=45', '65-40=25']
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[40, 20], Operations: ['48-3=45', '65-45=20']
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[48, 22], Operations: ['40+3=43', '65-43=22']
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,41 unequal: No Solution
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[48, 22], Operations: ['65-3=62', '62-40=22']
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[43, 17], Operations: ['40+3=43', '65-48=17']
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,41 unequal: No Solution
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[40, 14], Operations: ['65-3=62', '62-48=14']
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,41 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[62, 8], Operations: ['65-3=62', '48-40=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[65, 5], Operations: ['48-3=45', '45-40=5']
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[65, 5], Operations: ['40+3=43', '48-43=5']
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,41 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
54,
6,
55,
59
] | 35 | [
"55+59=114",
"114/6=19",
"54-19=35"
] | Current State: 35:[54, 6, 55, 59], Operations: []
Exploring Operation: 55+59=114, Resulting Numbers: [54, 6, 114]
Generated Node #2: [54, 6, 114] from Operation: 55+59=114
Current State: 35:[54, 6, 114], Operations: ['55+59=114']
Exploring Operation: 114/6=19, Resulting Numbers: [54, 19]
Generated Node #3: [54, 19] from Operation: 114/6=19
Current State: 35:[54, 19], Operations: ['55+59=114', '114/6=19']
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[54, 6, 55, 59], Operations: []
Exploring Operation: 59-54=5, Resulting Numbers: [6, 55, 5]
Generated Node #0,0: 35:[6, 55, 5] Operation: 59-54=5
Moving to Node #0,0
Current State: 35:[6, 55, 5], Operations: ['59-54=5']
Exploring Operation: 55/5=11, Resulting Numbers: [6, 11]
Generated Node #0,0,0: 35:[6, 11] Operation: 55/5=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[6, 11], Operations: ['59-54=5', '55/5=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
44,
64,
5,
89
] | 85 | [
"64-44=20",
"20/5=4",
"89-4=85"
] | Current State: 85:[44, 64, 5, 89], Operations: []
Exploring Operation: 64-44=20, Resulting Numbers: [5, 89, 20]
Generated Node #2: [5, 89, 20] from Operation: 64-44=20
Current State: 85:[5, 89, 20], Operations: ['64-44=20']
Exploring Operation: 20/5=4, Resulting Numbers: [89, 4]
Generated Node #3: [89, 4] from Operation: 20/5=4
Current State: 85:[89, 4], Operations: ['64-44=20', '20/5=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[44, 64, 5, 89], Operations: []
Exploring Operation: 89-64=25, Resulting Numbers: [44, 5, 25]
Generated Node #0,0: 85:[44, 5, 25] Operation: 89-64=25
Exploring Operation: 44-5=39, Resulting Numbers: [64, 89, 39]
Generated Node #0,1: 85:[64, 89, 39] Operation: 44-5=39
Exploring Operation: 44+64=108, Resulting Numbers: [5, 89, 108]
Generated Node #0,2: 85:[5, 89, 108] Operation: 44+64=108
Exploring Operation: 64-44=20, Resulting Numbers: [5, 89, 20]
Generated Node #0,3: 85:[5, 89, 20] Operation: 64-44=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[5, 89, 20], Operations: ['64-44=20']
Exploring Operation: 5+89=94, Resulting Numbers: [20, 94]
Generated Node #0,3,0: 85:[20, 94] Operation: 5+89=94
Exploring Operation: 89-5=84, Resulting Numbers: [20, 84]
Generated Node #0,3,1: 85:[20, 84] Operation: 89-5=84
Exploring Operation: 20-5=15, Resulting Numbers: [89, 15]
Generated Node #0,3,2: 85:[89, 15] Operation: 20-5=15
Exploring Operation: 20/5=4, Resulting Numbers: [89, 4]
Generated Node #0,3,3: 85:[89, 4] Operation: 20/5=4
Moving to Node #0,3,1
Current State: 85:[20, 84], Operations: ['64-44=20', '89-5=84']
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 20+84=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 20*84=1680, Resulting Numbers: [1680]
1680,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[89, 4], Operations: ['64-44=20', '20/5=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 89*4=356, Resulting Numbers: [356]
356,85 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[44, 64, 5, 89], Operations: []
Exploring Operation: 64-44=20, Resulting Numbers: [5, 89, 20]
Generated Node #0,3: 85:[5, 89, 20] Operation: 64-44=20
Moving to Node #0,3
Current State: 85:[5, 89, 20], Operations: ['64-44=20']
Exploring Operation: 20/5=4, Resulting Numbers: [89, 4]
Generated Node #0,3,3: 85:[89, 4] Operation: 20/5=4
Moving to Node #0,3,3
Current State: 85:[89, 4], Operations: ['64-44=20', '20/5=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
14,
39,
40,
61
] | 32 | [
"14+39=53",
"61-40=21",
"53-21=32"
] | Current State: 32:[14, 39, 40, 61], Operations: []
Exploring Operation: 14+39=53, Resulting Numbers: [40, 61, 53]
Generated Node #2: [40, 61, 53] from Operation: 14+39=53
Current State: 32:[40, 61, 53], Operations: ['14+39=53']
Exploring Operation: 61-40=21, Resulting Numbers: [53, 21]
Generated Node #3: [53, 21] from Operation: 61-40=21
Current State: 32:[53, 21], Operations: ['14+39=53', '61-40=21']
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[14, 39, 40, 61], Operations: []
Exploring Operation: 40-39=1, Resulting Numbers: [14, 61, 1]
Generated Node #0,0: 32:[14, 61, 1] Operation: 40-39=1
Exploring Operation: 61-39=22, Resulting Numbers: [14, 40, 22]
Generated Node #0,1: 32:[14, 40, 22] Operation: 61-39=22
Exploring Operation: 61-40=21, Resulting Numbers: [14, 39, 21]
Generated Node #0,2: 32:[14, 39, 21] Operation: 61-40=21
Exploring Operation: 61-14=47, Resulting Numbers: [39, 40, 47]
Generated Node #0,3: 32:[39, 40, 47] Operation: 61-14=47
Moving to Node #0,2
Current State: 32:[14, 39, 21], Operations: ['61-40=21']
Exploring Operation: 39-14=25, Resulting Numbers: [21, 25]
Generated Node #0,2,0: 32:[21, 25] Operation: 39-14=25
Exploring Operation: 39-21=18, Resulting Numbers: [14, 18]
Generated Node #0,2,1: 32:[14, 18] Operation: 39-21=18
Exploring Operation: 14+21=35, Resulting Numbers: [39, 35]
Generated Node #0,2,2: 32:[39, 35] Operation: 14+21=35
Exploring Operation: 21-14=7, Resulting Numbers: [39, 7]
Generated Node #0,2,3: 32:[39, 7] Operation: 21-14=7
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[14, 18], Operations: ['61-40=21', '39-21=18']
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,32 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[14, 39, 40, 61], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [14, 39, 21]
Generated Node #0,2: 32:[14, 39, 21] Operation: 61-40=21
Moving to Node #0,2
Current State: 32:[14, 39, 21], Operations: ['61-40=21']
Exploring Operation: 39-21=18, Resulting Numbers: [14, 18]
Generated Node #0,2,1: 32:[14, 18] Operation: 39-21=18
Moving to Node #0,2,1
Current State: 32:[14, 18], Operations: ['61-40=21', '39-21=18']
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
14,
83,
2,
42
] | 83 | [
"42/14=3",
"3-2=1",
"83*1=83"
] | Current State: 83:[14, 83, 2, 42], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [83, 2, 3]
Generated Node #2: [83, 2, 3] from Operation: 42/14=3
Current State: 83:[83, 2, 3], Operations: ['42/14=3']
Exploring Operation: 3-2=1, Resulting Numbers: [83, 1]
Generated Node #3: [83, 1] from Operation: 3-2=1
Current State: 83:[83, 1], Operations: ['42/14=3', '3-2=1']
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[14, 83, 2, 42], Operations: []
Exploring Operation: 2*42=84, Resulting Numbers: [14, 83, 84]
Generated Node #0,0: 83:[14, 83, 84] Operation: 2*42=84
Moving to Node #0,0
Current State: 83:[14, 83, 84], Operations: ['2*42=84']
Exploring Operation: 84-14=70, Resulting Numbers: [83, 70]
Generated Node #0,0,0: 83:[83, 70] Operation: 84-14=70
Moving to Node #0,0,0
Current State: 83:[83, 70], Operations: ['2*42=84', '84-14=70']
Exploring Operation: 83+70=153, Resulting Numbers: [153]
153,83 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
55,
22,
38,
46
] | 69 | [
"55+22=77",
"46-38=8",
"77-8=69"
] | Current State: 69:[55, 22, 38, 46], Operations: []
Exploring Operation: 55+22=77, Resulting Numbers: [38, 46, 77]
Generated Node #2: [38, 46, 77] from Operation: 55+22=77
Current State: 69:[38, 46, 77], Operations: ['55+22=77']
Exploring Operation: 46-38=8, Resulting Numbers: [77, 8]
Generated Node #3: [77, 8] from Operation: 46-38=8
Current State: 69:[77, 8], Operations: ['55+22=77', '46-38=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[55, 22, 38, 46], Operations: []
Exploring Operation: 55-46=9, Resulting Numbers: [22, 38, 9]
Generated Node #0,0: 69:[22, 38, 9] Operation: 55-46=9
Exploring Operation: 46-38=8, Resulting Numbers: [55, 22, 8]
Generated Node #0,1: 69:[55, 22, 8] Operation: 46-38=8
Exploring Operation: 55-38=17, Resulting Numbers: [22, 46, 17]
Generated Node #0,2: 69:[22, 46, 17] Operation: 55-38=17
Exploring Operation: 22+46=68, Resulting Numbers: [55, 38, 68]
Generated Node #0,3: 69:[55, 38, 68] Operation: 22+46=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[55, 22, 8], Operations: ['46-38=8']
Exploring Operation: 55-22=33, Resulting Numbers: [8, 33]
Generated Node #0,1,0: 69:[8, 33] Operation: 55-22=33
Exploring Operation: 22+8=30, Resulting Numbers: [55, 30]
Generated Node #0,1,1: 69:[55, 30] Operation: 22+8=30
Exploring Operation: 55+8=63, Resulting Numbers: [22, 63]
Generated Node #0,1,2: 69:[22, 63] Operation: 55+8=63
Exploring Operation: 55+22=77, Resulting Numbers: [8, 77]
Generated Node #0,1,3: 69:[8, 77] Operation: 55+22=77
Moving to Node #0,1,2
Current State: 69:[22, 63], Operations: ['46-38=8', '55+8=63']
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 22*63=1386, Resulting Numbers: [1386]
1386,69 unequal: No Solution
Exploring Operation: 22+63=85, Resulting Numbers: [85]
85,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[8, 77], Operations: ['46-38=8', '55+22=77']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[55, 22, 38, 46], Operations: []
Exploring Operation: 46-38=8, Resulting Numbers: [55, 22, 8]
Generated Node #0,1: 69:[55, 22, 8] Operation: 46-38=8
Moving to Node #0,1
Current State: 69:[55, 22, 8], Operations: ['46-38=8']
Exploring Operation: 55+22=77, Resulting Numbers: [8, 77]
Generated Node #0,1,3: 69:[8, 77] Operation: 55+22=77
Moving to Node #0,1,3
Current State: 69:[8, 77], Operations: ['46-38=8', '55+22=77']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
30,
10,
17,
57
] | 71 | [
"30/10=3",
"17+57=74",
"74-3=71"
] | Current State: 71:[30, 10, 17, 57], Operations: []
Exploring Operation: 30/10=3, Resulting Numbers: [17, 57, 3]
Generated Node #2: [17, 57, 3] from Operation: 30/10=3
Current State: 71:[17, 57, 3], Operations: ['30/10=3']
Exploring Operation: 17+57=74, Resulting Numbers: [3, 74]
Generated Node #3: [3, 74] from Operation: 17+57=74
Current State: 71:[3, 74], Operations: ['30/10=3', '17+57=74']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[30, 10, 17, 57], Operations: []
Exploring Operation: 30+10=40, Resulting Numbers: [17, 57, 40]
Generated Node #0,0: 71:[17, 57, 40] Operation: 30+10=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[17, 57, 40], Operations: ['30+10=40']
Exploring Operation: 17+40=57, Resulting Numbers: [57, 57]
Generated Node #0,0,0: 71:[57, 57] Operation: 17+40=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[57, 57], Operations: ['30+10=40', '17+40=57']
Exploring Operation: 57+57=114, Resulting Numbers: [114]
114,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
22,
86,
46,
2
] | 19 | [
"46-22=24",
"86/2=43",
"43-24=19"
] | Current State: 19:[22, 86, 46, 2], Operations: []
Exploring Operation: 46-22=24, Resulting Numbers: [86, 2, 24]
Generated Node #2: [86, 2, 24] from Operation: 46-22=24
Current State: 19:[86, 2, 24], Operations: ['46-22=24']
Exploring Operation: 86/2=43, Resulting Numbers: [24, 43]
Generated Node #3: [24, 43] from Operation: 86/2=43
Current State: 19:[24, 43], Operations: ['46-22=24', '86/2=43']
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[22, 86, 46, 2], Operations: []
Exploring Operation: 86-46=40, Resulting Numbers: [22, 2, 40]
Generated Node #0,0: 19:[22, 2, 40] Operation: 86-46=40
Exploring Operation: 86-22=64, Resulting Numbers: [46, 2, 64]
Generated Node #0,1: 19:[46, 2, 64] Operation: 86-22=64
Exploring Operation: 86/2=43, Resulting Numbers: [22, 46, 43]
Generated Node #0,2: 19:[22, 46, 43] Operation: 86/2=43
Exploring Operation: 46/2=23, Resulting Numbers: [22, 86, 23]
Generated Node #0,3: 19:[22, 86, 23] Operation: 46/2=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[22, 2, 40], Operations: ['86-46=40']
Exploring Operation: 40-22=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 19:[2, 18] Operation: 40-22=18
Exploring Operation: 40/2=20, Resulting Numbers: [22, 20]
Generated Node #0,0,1: 19:[22, 20] Operation: 40/2=20
Exploring Operation: 22-2=20, Resulting Numbers: [40, 20]
Generated Node #0,0,2: 19:[40, 20] Operation: 22-2=20
Exploring Operation: 40-2=38, Resulting Numbers: [22, 38]
Generated Node #0,0,3: 19:[22, 38] Operation: 40-2=38
Moving to Node #0,0,1
Current State: 19:[22, 20], Operations: ['86-46=40', '40/2=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,19 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[2, 18], Operations: ['86-46=40', '40-22=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[22, 38], Operations: ['86-46=40', '40-2=38']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,19 unequal: No Solution
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[40, 20], Operations: ['86-46=40', '22-2=20']
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,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
Current State: 19:[22, 46, 43], Operations: ['86/2=43']
Exploring Operation: 46-22=24, Resulting Numbers: [43, 24]
Generated Node #0,2,0: 19:[43, 24] Operation: 46-22=24
Exploring Operation: 22+46=68, Resulting Numbers: [43, 68]
Generated Node #0,2,1: 19:[43, 68] Operation: 22+46=68
Exploring Operation: 46-43=3, Resulting Numbers: [22, 3]
Generated Node #0,2,2: 19:[22, 3] Operation: 46-43=3
Exploring Operation: 43-22=21, Resulting Numbers: [46, 21]
Generated Node #0,2,3: 19:[46, 21] Operation: 43-22=21
Moving to Node #0,2,2
Current State: 19:[22, 3], Operations: ['86/2=43', '46-43=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[22, 86, 46, 2], Operations: []
Exploring Operation: 86/2=43, Resulting Numbers: [22, 46, 43]
Generated Node #0,2: 19:[22, 46, 43] Operation: 86/2=43
Moving to Node #0,2
Current State: 19:[22, 46, 43], Operations: ['86/2=43']
Exploring Operation: 46-43=3, Resulting Numbers: [22, 3]
Generated Node #0,2,2: 19:[22, 3] Operation: 46-43=3
Moving to Node #0,2,2
Current State: 19:[22, 3], Operations: ['86/2=43', '46-43=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
68,
20,
60,
30
] | 58 | [
"68+20=88",
"60-30=30",
"88-30=58"
] | Current State: 58:[68, 20, 60, 30], Operations: []
Exploring Operation: 68+20=88, Resulting Numbers: [60, 30, 88]
Generated Node #2: [60, 30, 88] from Operation: 68+20=88
Current State: 58:[60, 30, 88], Operations: ['68+20=88']
Exploring Operation: 60-30=30, Resulting Numbers: [88, 30]
Generated Node #3: [88, 30] from Operation: 60-30=30
Current State: 58:[88, 30], Operations: ['68+20=88', '60-30=30']
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[68, 20, 60, 30], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [68, 20, 2]
Generated Node #0,0: 58:[68, 20, 2] Operation: 60/30=2
Exploring Operation: 68-60=8, Resulting Numbers: [20, 30, 8]
Generated Node #0,1: 58:[20, 30, 8] Operation: 68-60=8
Exploring Operation: 68-20=48, Resulting Numbers: [60, 30, 48]
Generated Node #0,2: 58:[60, 30, 48] Operation: 68-20=48
Exploring Operation: 68-30=38, Resulting Numbers: [20, 60, 38]
Generated Node #0,3: 58:[20, 60, 38] Operation: 68-30=38
Exploring Operation: 60/20=3, Resulting Numbers: [68, 30, 3]
Generated Node #0,4: 58:[68, 30, 3] Operation: 60/20=3
Moving to Node #0,4
Current State: 58:[68, 30, 3], Operations: ['60/20=3']
Exploring Operation: 68-30=38, Resulting Numbers: [3, 38]
Generated Node #0,4,0: 58:[3, 38] Operation: 68-30=38
Exploring Operation: 68+3=71, Resulting Numbers: [30, 71]
Generated Node #0,4,1: 58:[30, 71] Operation: 68+3=71
Exploring Operation: 30-3=27, Resulting Numbers: [68, 27]
Generated Node #0,4,2: 58:[68, 27] Operation: 30-3=27
Exploring Operation: 68-3=65, Resulting Numbers: [30, 65]
Generated Node #0,4,3: 58:[30, 65] Operation: 68-3=65
Exploring Operation: 30+3=33, Resulting Numbers: [68, 33]
Generated Node #0,4,4: 58:[68, 33] Operation: 30+3=33
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 58:[30, 65], Operations: ['60/20=3', '68-3=65']
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 30*65=1950, Resulting Numbers: [1950]
1950,58 unequal: No Solution
Exploring Operation: 30+65=95, Resulting Numbers: [95]
95,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,4,0
Current State: 58:[3, 38], Operations: ['60/20=3', '68-30=38']
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,58 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,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,4,2
Current State: 58:[68, 27], Operations: ['60/20=3', '30-3=27']
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,58 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,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,4,1
Current State: 58:[30, 71], Operations: ['60/20=3', '68+3=71']
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 30*71=2130, Resulting Numbers: [2130]
2130,58 unequal: No Solution
Exploring Operation: 30+71=101, Resulting Numbers: [101]
101,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,4,4
Current State: 58:[68, 33], Operations: ['60/20=3', '30+3=33']
Exploring Operation: 68+33=101, Resulting Numbers: [101]
101,58 unequal: No Solution
Exploring Operation: 68*33=2244, Resulting Numbers: [2244]
2244,58 unequal: No Solution
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 58:[60, 30, 48], Operations: ['68-20=48']
Exploring Operation: 60-30=30, Resulting Numbers: [48, 30]
Generated Node #0,2,0: 58:[48, 30] Operation: 60-30=30
Exploring Operation: 48-30=18, Resulting Numbers: [60, 18]
Generated Node #0,2,1: 58:[60, 18] Operation: 48-30=18
Exploring Operation: 30+48=78, Resulting Numbers: [60, 78]
Generated Node #0,2,2: 58:[60, 78] Operation: 30+48=78
Exploring Operation: 60/30=2, Resulting Numbers: [48, 2]
Generated Node #0,2,3: 58:[48, 2] Operation: 60/30=2
Exploring Operation: 60-48=12, Resulting Numbers: [30, 12]
Generated Node #0,2,4: 58:[30, 12] Operation: 60-48=12
Moving to Node #0,1
Current State: 58:[20, 30, 8], Operations: ['68-60=8']
Exploring Operation: 30-20=10, Resulting Numbers: [8, 10]
Generated Node #0,1,0: 58:[8, 10] Operation: 30-20=10
Exploring Operation: 20-8=12, Resulting Numbers: [30, 12]
Generated Node #0,1,1: 58:[30, 12] Operation: 20-8=12
Exploring Operation: 20+30=50, Resulting Numbers: [8, 50]
Generated Node #0,1,2: 58:[8, 50] Operation: 20+30=50
Exploring Operation: 30-8=22, Resulting Numbers: [20, 22]
Generated Node #0,1,3: 58:[20, 22] Operation: 30-8=22
Exploring Operation: 20+8=28, Resulting Numbers: [30, 28]
Generated Node #0,1,4: 58:[30, 28] Operation: 20+8=28
Moving to Node #0,0
Current State: 58:[68, 20, 2], Operations: ['60/30=2']
Exploring Operation: 20+2=22, Resulting Numbers: [68, 22]
Generated Node #0,0,0: 58:[68, 22] Operation: 20+2=22
Exploring Operation: 68/2=34, Resulting Numbers: [20, 34]
Generated Node #0,0,1: 58:[20, 34] Operation: 68/2=34
Exploring Operation: 68-20=48, Resulting Numbers: [2, 48]
Generated Node #0,0,2: 58:[2, 48] Operation: 68-20=48
Exploring Operation: 20/2=10, Resulting Numbers: [68, 10]
Generated Node #0,0,3: 58:[68, 10] Operation: 20/2=10
Exploring Operation: 68-2=66, Resulting Numbers: [20, 66]
Generated Node #0,0,4: 58:[20, 66] Operation: 68-2=66
Moving to Node #0,3
Current State: 58:[20, 60, 38], Operations: ['68-30=38']
Exploring Operation: 38-20=18, Resulting Numbers: [60, 18]
Generated Node #0,3,0: 58:[60, 18] Operation: 38-20=18
Exploring Operation: 20+38=58, Resulting Numbers: [60, 58]
Generated Node #0,3,1: 58:[60, 58] Operation: 20+38=58
Exploring Operation: 60-20=40, Resulting Numbers: [38, 40]
Generated Node #0,3,2: 58:[38, 40] Operation: 60-20=40
Exploring Operation: 60/20=3, Resulting Numbers: [38, 3]
Generated Node #0,3,3: 58:[38, 3] Operation: 60/20=3
Exploring Operation: 60-38=22, Resulting Numbers: [20, 22]
Generated Node #0,3,4: 58:[20, 22] Operation: 60-38=22
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 58:[60, 58], Operations: ['68-30=38', '20+38=58']
Exploring Operation: 60+58=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 60*58=3480, Resulting Numbers: [3480]
3480,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,3,3
Current State: 58:[38, 3], Operations: ['68-30=38', '60/20=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,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,3,0
Current State: 58:[60, 18], Operations: ['68-30=38', '38-20=18']
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,58 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,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,3,4
Current State: 58:[20, 22], Operations: ['68-30=38', '60-38=22']
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 20*22=440, Resulting Numbers: [440]
440,58 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,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,3,2
Current State: 58:[38, 40], Operations: ['68-30=38', '60-20=40']
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,58 unequal: No Solution
Exploring Operation: 38*40=1520, Resulting Numbers: [1520]
1520,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,4
Current State: 58:[30, 28], Operations: ['68-60=8', '20+8=28']
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,58 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[68, 20, 60, 30], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [20, 30, 8]
Generated Node #0,1: 58:[20, 30, 8] Operation: 68-60=8
Moving to Node #0,1
Current State: 58:[20, 30, 8], Operations: ['68-60=8']
Exploring Operation: 20+8=28, Resulting Numbers: [30, 28]
Generated Node #0,1,4: 58:[30, 28] Operation: 20+8=28
Moving to Node #0,1,4
Current State: 58:[30, 28], Operations: ['68-60=8', '20+8=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.942708 | hs_5 | sum_heuristic |
[
41,
75,
73,
86
] | 43 | [
"41+75=116",
"73+86=159",
"159-116=43"
] | Current State: 43:[41, 75, 73, 86], Operations: []
Exploring Operation: 41+75=116, Resulting Numbers: [73, 86, 116]
Generated Node #2: [73, 86, 116] from Operation: 41+75=116
Current State: 43:[73, 86, 116], Operations: ['41+75=116']
Exploring Operation: 73+86=159, Resulting Numbers: [116, 159]
Generated Node #3: [116, 159] from Operation: 73+86=159
Current State: 43:[116, 159], Operations: ['41+75=116', '73+86=159']
Exploring Operation: 159-116=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[41, 75, 73, 86], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [41, 75, 13]
Generated Node #0,0: 43:[41, 75, 13] Operation: 86-73=13
Exploring Operation: 86-41=45, Resulting Numbers: [75, 73, 45]
Generated Node #0,1: 43:[75, 73, 45] Operation: 86-41=45
Exploring Operation: 86-75=11, Resulting Numbers: [41, 73, 11]
Generated Node #0,2: 43:[41, 73, 11] Operation: 86-75=11
Exploring Operation: 75-41=34, Resulting Numbers: [73, 86, 34]
Generated Node #0,3: 43:[73, 86, 34] Operation: 75-41=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[41, 75, 13], Operations: ['86-73=13']
Exploring Operation: 75-41=34, Resulting Numbers: [13, 34]
Generated Node #0,0,0: 43:[13, 34] Operation: 75-41=34
Exploring Operation: 41-13=28, Resulting Numbers: [75, 28]
Generated Node #0,0,1: 43:[75, 28] Operation: 41-13=28
Exploring Operation: 75-13=62, Resulting Numbers: [41, 62]
Generated Node #0,0,2: 43:[41, 62] Operation: 75-13=62
Exploring Operation: 41+13=54, Resulting Numbers: [75, 54]
Generated Node #0,0,3: 43:[75, 54] Operation: 41+13=54
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[41, 62], Operations: ['86-73=13', '75-13=62']
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,43 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[13, 34], Operations: ['86-73=13', '75-41=34']
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 13*34=442, Resulting Numbers: [442]
442,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 43:[75, 54], Operations: ['86-73=13', '41+13=54']
Exploring Operation: 75-54=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 75+54=129, Resulting Numbers: [129]
129,43 unequal: No Solution
Exploring Operation: 75*54=4050, Resulting Numbers: [4050]
4050,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[75, 28], Operations: ['86-73=13', '41-13=28']
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 75*28=2100, Resulting Numbers: [2100]
2100,43 unequal: No Solution
Exploring Operation: 75+28=103, Resulting Numbers: [103]
103,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[75, 73, 45], Operations: ['86-41=45']
Exploring Operation: 73-45=28, Resulting Numbers: [75, 28]
Generated Node #0,1,0: 43:[75, 28] Operation: 73-45=28
Exploring Operation: 75+73=148, Resulting Numbers: [45, 148]
Generated Node #0,1,1: 43:[45, 148] Operation: 75+73=148
Exploring Operation: 75-73=2, Resulting Numbers: [45, 2]
Generated Node #0,1,2: 43:[45, 2] Operation: 75-73=2
Exploring Operation: 75-45=30, Resulting Numbers: [73, 30]
Generated Node #0,1,3: 43:[73, 30] Operation: 75-45=30
Moving to Node #0,1,2
Current State: 43:[45, 2], Operations: ['86-41=45', '75-73=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[41, 75, 73, 86], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [75, 73, 45]
Generated Node #0,1: 43:[75, 73, 45] Operation: 86-41=45
Moving to Node #0,1
Current State: 43:[75, 73, 45], Operations: ['86-41=45']
Exploring Operation: 75-73=2, Resulting Numbers: [45, 2]
Generated Node #0,1,2: 43:[45, 2] Operation: 75-73=2
Moving to Node #0,1,2
Current State: 43:[45, 2], Operations: ['86-41=45', '75-73=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
20,
80,
24,
60
] | 96 | [
"80-20=60",
"60-24=36",
"60+36=96"
] | Current State: 96:[20, 80, 24, 60], Operations: []
Exploring Operation: 80-20=60, Resulting Numbers: [24, 60, 60]
Generated Node #2: [24, 60, 60] from Operation: 80-20=60
Current State: 96:[24, 60, 60], Operations: ['80-20=60']
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,96 equal: Goal Reached
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[20, 80, 24, 60], Operations: []
Exploring Operation: 80-60=20, Resulting Numbers: [20, 24, 20]
Generated Node #0,0: 96:[20, 24, 20] Operation: 80-60=20
Exploring Operation: 60/20=3, Resulting Numbers: [80, 24, 3]
Generated Node #0,1: 96:[80, 24, 3] Operation: 60/20=3
Exploring Operation: 20+80=100, Resulting Numbers: [24, 60, 100]
Generated Node #0,2: 96:[24, 60, 100] Operation: 20+80=100
Exploring Operation: 80-20=60, Resulting Numbers: [24, 60, 60]
Generated Node #0,3: 96:[24, 60, 60] Operation: 80-20=60
Exploring Operation: 80/20=4, Resulting Numbers: [24, 60, 4]
Generated Node #0,4: 96:[24, 60, 4] Operation: 80/20=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[20, 24, 20], Operations: ['80-60=20']
Exploring Operation: 24-20=4, Resulting Numbers: [20, 4]
Generated Node #0,0,0: 96:[20, 4] Operation: 24-20=4
Exploring Operation: 20+24=44, Resulting Numbers: [20, 44]
Generated Node #0,0,1: 96:[20, 44] Operation: 20+24=44
Exploring Operation: 20/20=1, Resulting Numbers: [24, 1]
Generated Node #0,0,2: 96:[24, 1] Operation: 20/20=1
Exploring Operation: 24-20=4, Resulting Numbers: [20, 4]
Generated Node #0,0,3: 96:[20, 4] Operation: 24-20=4
Exploring Operation: 20-20=0, Resulting Numbers: [24, 0]
Generated Node #0,0,4: 96:[24, 0] Operation: 20-20=0
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[24, 1], Operations: ['80-60=20', '20/20=1']
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 96:[24, 0], Operations: ['80-60=20', '20-20=0']
Exploring Operation: 24+0=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 24-0=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 24*0=0, Resulting Numbers: [0]
0,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[20, 4], Operations: ['80-60=20', '24-20=4']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 96:[20, 4], Operations: ['80-60=20', '24-20=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[20, 44], Operations: ['80-60=20', '20+24=44']
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,96 unequal: No Solution
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,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,4
Current State: 96:[24, 60, 4], Operations: ['80/20=4']
Exploring Operation: 60-24=36, Resulting Numbers: [4, 36]
Generated Node #0,4,0: 96:[4, 36] Operation: 60-24=36
Exploring Operation: 24*4=96, Resulting Numbers: [60, 96]
Generated Node #0,4,1: 96:[60, 96] Operation: 24*4=96
Exploring Operation: 60/4=15, Resulting Numbers: [24, 15]
Generated Node #0,4,2: 96:[24, 15] Operation: 60/4=15
Exploring Operation: 24+60=84, Resulting Numbers: [4, 84]
Generated Node #0,4,3: 96:[4, 84] Operation: 24+60=84
Exploring Operation: 60-4=56, Resulting Numbers: [24, 56]
Generated Node #0,4,4: 96:[24, 56] Operation: 60-4=56
Moving to Node #0,4,2
Current State: 96:[24, 15], Operations: ['80/20=4', '60/4=15']
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,96 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Moving to Node #0,4,0
Current State: 96:[4, 36], Operations: ['80/20=4', '60-24=36']
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,96 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 4*36=144, Resulting Numbers: [144]
144,96 unequal: No Solution
Moving to Node #0,4,4
Current State: 96:[24, 56], Operations: ['80/20=4', '60-4=56']
Exploring Operation: 24+56=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 24*56=1344, Resulting Numbers: [1344]
1344,96 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Moving to Node #0,4,1
Current State: 96:[60, 96], Operations: ['80/20=4', '24*4=96']
Exploring Operation: 60*96=5760, Resulting Numbers: [5760]
5760,96 unequal: No Solution
Exploring Operation: 60+96=156, Resulting Numbers: [156]
156,96 unequal: No Solution
Exploring Operation: 96-60=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Moving to Node #0,4,3
Current State: 96:[4, 84], Operations: ['80/20=4', '24+60=84']
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Exploring Operation: 4*84=336, Resulting Numbers: [336]
336,96 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,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,1
Current State: 96:[80, 24, 3], Operations: ['60/20=3']
Exploring Operation: 80-3=77, Resulting Numbers: [24, 77]
Generated Node #0,1,0: 96:[24, 77] Operation: 80-3=77
Exploring Operation: 80+3=83, Resulting Numbers: [24, 83]
Generated Node #0,1,1: 96:[24, 83] Operation: 80+3=83
Exploring Operation: 80+24=104, Resulting Numbers: [3, 104]
Generated Node #0,1,2: 96:[3, 104] Operation: 80+24=104
Exploring Operation: 80-24=56, Resulting Numbers: [3, 56]
Generated Node #0,1,3: 96:[3, 56] Operation: 80-24=56
Exploring Operation: 24/3=8, Resulting Numbers: [80, 8]
Generated Node #0,1,4: 96:[80, 8] Operation: 24/3=8
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[3, 104], Operations: ['60/20=3', '80+24=104']
Exploring Operation: 3+104=107, Resulting Numbers: [107]
107,96 unequal: No Solution
Exploring Operation: 104-3=101, Resulting Numbers: [101]
101,96 unequal: No Solution
Exploring Operation: 3*104=312, Resulting Numbers: [312]
312,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 96:[3, 56], Operations: ['60/20=3', '80-24=56']
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,96 unequal: No Solution
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[24, 83], Operations: ['60/20=3', '80+3=83']
Exploring Operation: 24+83=107, Resulting Numbers: [107]
107,96 unequal: No Solution
Exploring Operation: 24*83=1992, Resulting Numbers: [1992]
1992,96 unequal: No Solution
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 96:[80, 8], Operations: ['60/20=3', '24/3=8']
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 80*8=640, Resulting Numbers: [640]
640,96 unequal: No Solution
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[24, 77], Operations: ['60/20=3', '80-3=77']
Exploring Operation: 24*77=1848, Resulting Numbers: [1848]
1848,96 unequal: No Solution
Exploring Operation: 24+77=101, Resulting Numbers: [101]
101,96 unequal: No Solution
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[24, 60, 100], Operations: ['20+80=100']
Exploring Operation: 24+100=124, Resulting Numbers: [60, 124]
Generated Node #0,2,0: 96:[60, 124] Operation: 24+100=124
Exploring Operation: 24+60=84, Resulting Numbers: [100, 84]
Generated Node #0,2,1: 96:[100, 84] Operation: 24+60=84
Exploring Operation: 100-24=76, Resulting Numbers: [60, 76]
Generated Node #0,2,2: 96:[60, 76] Operation: 100-24=76
Exploring Operation: 100-60=40, Resulting Numbers: [24, 40]
Generated Node #0,2,3: 96:[24, 40] Operation: 100-60=40
Exploring Operation: 60-24=36, Resulting Numbers: [100, 36]
Generated Node #0,2,4: 96:[100, 36] Operation: 60-24=36
Moving to Node #0,2,3
Current State: 96:[24, 40], Operations: ['20+80=100', '100-60=40']
Exploring Operation: 24+40=64, Resulting Numbers: [64]
64,96 unequal: No Solution
Exploring Operation: 24*40=960, Resulting Numbers: [960]
960,96 unequal: No Solution
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Moving to Node #0,2,4
Current State: 96:[100, 36], Operations: ['20+80=100', '60-24=36']
Exploring Operation: 100*36=3600, Resulting Numbers: [3600]
3600,96 unequal: No Solution
Exploring Operation: 100-36=64, Resulting Numbers: [64]
64,96 unequal: No Solution
Exploring Operation: 100+36=136, Resulting Numbers: [136]
136,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[100, 84], Operations: ['20+80=100', '24+60=84']
Exploring Operation: 100*84=8400, Resulting Numbers: [8400]
8400,96 unequal: No Solution
Exploring Operation: 100+84=184, Resulting Numbers: [184]
184,96 unequal: No Solution
Exploring Operation: 100-84=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[60, 76], Operations: ['20+80=100', '100-24=76']
Exploring Operation: 60+76=136, Resulting Numbers: [136]
136,96 unequal: No Solution
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 60*76=4560, Resulting Numbers: [4560]
4560,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[60, 124], Operations: ['20+80=100', '24+100=124']
Exploring Operation: 60*124=7440, Resulting Numbers: [7440]
7440,96 unequal: No Solution
Exploring Operation: 124-60=64, Resulting Numbers: [64]
64,96 unequal: No Solution
Exploring Operation: 60+124=184, Resulting Numbers: [184]
184,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,3
Current State: 96:[24, 60, 60], Operations: ['80-20=60']
Exploring Operation: 60-24=36, Resulting Numbers: [60, 36]
Generated Node #0,3,0: 96:[60, 36] Operation: 60-24=36
Exploring Operation: 60-24=36, Resulting Numbers: [60, 36]
Generated Node #0,3,1: 96:[60, 36] Operation: 60-24=36
Exploring Operation: 60/60=1, Resulting Numbers: [24, 1]
Generated Node #0,3,2: 96:[24, 1] Operation: 60/60=1
Exploring Operation: 60-60=0, Resulting Numbers: [24, 0]
Generated Node #0,3,3: 96:[24, 0] Operation: 60-60=0
Exploring Operation: 24+60=84, Resulting Numbers: [60, 84]
Generated Node #0,3,4: 96:[60, 84] Operation: 24+60=84
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 96:[24, 1], Operations: ['80-20=60', '60/60=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,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,3,3
Current State: 96:[24, 0], Operations: ['80-20=60', '60-60=0']
Exploring Operation: 24-0=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 24*0=0, Resulting Numbers: [0]
0,96 unequal: No Solution
Exploring Operation: 24+0=24, Resulting Numbers: [24]
24,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,3,0
Current State: 96:[60, 36], Operations: ['80-20=60', '60-24=36']
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 60*36=2160, Resulting Numbers: [2160]
2160,96 unequal: No Solution
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[20, 80, 24, 60], Operations: []
Exploring Operation: 80-20=60, Resulting Numbers: [24, 60, 60]
Generated Node #0,3: 96:[24, 60, 60] Operation: 80-20=60
Moving to Node #0,3
Current State: 96:[24, 60, 60], Operations: ['80-20=60']
Exploring Operation: 60-24=36, Resulting Numbers: [60, 36]
Generated Node #0,3,0: 96:[60, 36] Operation: 60-24=36
Moving to Node #0,3,0
Current State: 96:[60, 36], Operations: ['80-20=60', '60-24=36']
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.904514 | hs_5 | mult_heuristic |
[
52,
39,
28,
46
] | 48 | [
"46-39=7",
"28/7=4",
"52-4=48"
] | Current State: 48:[52, 39, 28, 46], Operations: []
Exploring Operation: 46-39=7, Resulting Numbers: [52, 28, 7]
Generated Node #2: [52, 28, 7] from Operation: 46-39=7
Current State: 48:[52, 28, 7], Operations: ['46-39=7']
Exploring Operation: 28/7=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 28/7=4
Current State: 48:[52, 4], Operations: ['46-39=7', '28/7=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[52, 39, 28, 46], Operations: []
Exploring Operation: 52-39=13, Resulting Numbers: [28, 46, 13]
Generated Node #0,0: 48:[28, 46, 13] Operation: 52-39=13
Exploring Operation: 46-39=7, Resulting Numbers: [52, 28, 7]
Generated Node #0,1: 48:[52, 28, 7] Operation: 46-39=7
Exploring Operation: 39-28=11, Resulting Numbers: [52, 46, 11]
Generated Node #0,2: 48:[52, 46, 11] Operation: 39-28=11
Moving to Node #0,0
Current State: 48:[28, 46, 13], Operations: ['52-39=13']
Exploring Operation: 46-28=18, Resulting Numbers: [13, 18]
Generated Node #0,0,0: 48:[13, 18] Operation: 46-28=18
Exploring Operation: 28-13=15, Resulting Numbers: [46, 15]
Generated Node #0,0,1: 48:[46, 15] Operation: 28-13=15
Exploring Operation: 28+13=41, Resulting Numbers: [46, 41]
Generated Node #0,0,2: 48:[46, 41] Operation: 28+13=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[13, 18], Operations: ['52-39=13', '46-28=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,48 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,48 unequal: No Solution
No 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: 48:[46, 15], Operations: ['52-39=13', '28-13=15']
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,48 unequal: No Solution
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,48 unequal: No Solution
No 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: 48:[46, 41], Operations: ['52-39=13', '28+13=41']
Exploring Operation: 46*41=1886, Resulting Numbers: [1886]
1886,48 unequal: No Solution
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,48 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,48 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: 48:[52, 46, 11], Operations: ['39-28=11']
Exploring Operation: 46+11=57, Resulting Numbers: [52, 57]
Generated Node #0,2,0: 48:[52, 57] Operation: 46+11=57
Exploring Operation: 52-46=6, Resulting Numbers: [11, 6]
Generated Node #0,2,1: 48:[11, 6] Operation: 52-46=6
Exploring Operation: 52-11=41, Resulting Numbers: [46, 41]
Generated Node #0,2,2: 48:[46, 41] Operation: 52-11=41
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 48:[11, 6], Operations: ['39-28=11', '52-46=6']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,48 unequal: No Solution
No 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: 48:[46, 41], Operations: ['39-28=11', '52-11=41']
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 46*41=1886, Resulting Numbers: [1886]
1886,48 unequal: No Solution
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,48 unequal: No Solution
No 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: 48:[52, 57], Operations: ['39-28=11', '46+11=57']
Exploring Operation: 52*57=2964, Resulting Numbers: [2964]
2964,48 unequal: No Solution
Exploring Operation: 52+57=109, Resulting Numbers: [109]
109,48 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,48 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: 48:[52, 28, 7], Operations: ['46-39=7']
Exploring Operation: 52-28=24, Resulting Numbers: [7, 24]
Generated Node #0,1,0: 48:[7, 24] Operation: 52-28=24
Exploring Operation: 28/7=4, Resulting Numbers: [52, 4]
Generated Node #0,1,1: 48:[52, 4] Operation: 28/7=4
Exploring Operation: 52-7=45, Resulting Numbers: [28, 45]
Generated Node #0,1,2: 48:[28, 45] Operation: 52-7=45
Moving to Node #0,1,0
Current State: 48:[7, 24], Operations: ['46-39=7', '52-28=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,48 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[52, 4], Operations: ['46-39=7', '28/7=4']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,48 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[52, 39, 28, 46], Operations: []
Exploring Operation: 46-39=7, Resulting Numbers: [52, 28, 7]
Generated Node #0,1: 48:[52, 28, 7] Operation: 46-39=7
Moving to Node #0,1
Current State: 48:[52, 28, 7], Operations: ['46-39=7']
Exploring Operation: 28/7=4, Resulting Numbers: [52, 4]
Generated Node #0,1,1: 48:[52, 4] Operation: 28/7=4
Moving to Node #0,1,1
Current State: 48:[52, 4], Operations: ['46-39=7', '28/7=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.965278 | hs_3 | mult_heuristic |
[
47,
83,
65,
4
] | 10 | [
"83+65=148",
"148/4=37",
"47-37=10"
] | Current State: 10:[47, 83, 65, 4], Operations: []
Exploring Operation: 83+65=148, Resulting Numbers: [47, 4, 148]
Generated Node #2: [47, 4, 148] from Operation: 83+65=148
Current State: 10:[47, 4, 148], Operations: ['83+65=148']
Exploring Operation: 148/4=37, Resulting Numbers: [47, 37]
Generated Node #3: [47, 37] from Operation: 148/4=37
Current State: 10:[47, 37], Operations: ['83+65=148', '148/4=37']
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[47, 83, 65, 4], Operations: []
Exploring Operation: 83-65=18, Resulting Numbers: [47, 4, 18]
Generated Node #0,0: 10:[47, 4, 18] Operation: 83-65=18
Exploring Operation: 83-47=36, Resulting Numbers: [65, 4, 36]
Generated Node #0,1: 10:[65, 4, 36] Operation: 83-47=36
Exploring Operation: 65-47=18, Resulting Numbers: [83, 4, 18]
Generated Node #0,2: 10:[83, 4, 18] Operation: 65-47=18
Exploring Operation: 47-4=43, Resulting Numbers: [83, 65, 43]
Generated Node #0,3: 10:[83, 65, 43] Operation: 47-4=43
Moving to Node #0,0
Current State: 10:[47, 4, 18], Operations: ['83-65=18']
Exploring Operation: 47+4=51, Resulting Numbers: [18, 51]
Generated Node #0,0,0: 10:[18, 51] Operation: 47+4=51
Exploring Operation: 47-18=29, Resulting Numbers: [4, 29]
Generated Node #0,0,1: 10:[4, 29] Operation: 47-18=29
Exploring Operation: 47-4=43, Resulting Numbers: [18, 43]
Generated Node #0,0,2: 10:[18, 43] Operation: 47-4=43
Exploring Operation: 18-4=14, Resulting Numbers: [47, 14]
Generated Node #0,0,3: 10:[47, 14] Operation: 18-4=14
Moving to Node #0,2
Current State: 10:[83, 4, 18], Operations: ['65-47=18']
Exploring Operation: 83-18=65, Resulting Numbers: [4, 65]
Generated Node #0,2,0: 10:[4, 65] Operation: 83-18=65
Exploring Operation: 83+4=87, Resulting Numbers: [18, 87]
Generated Node #0,2,1: 10:[18, 87] Operation: 83+4=87
Exploring Operation: 18-4=14, Resulting Numbers: [83, 14]
Generated Node #0,2,2: 10:[83, 14] Operation: 18-4=14
Exploring Operation: 83-4=79, Resulting Numbers: [18, 79]
Generated Node #0,2,3: 10:[18, 79] Operation: 83-4=79
Moving to Node #0,1
Current State: 10:[65, 4, 36], Operations: ['83-47=36']
Exploring Operation: 65-4=61, Resulting Numbers: [36, 61]
Generated Node #0,1,0: 10:[36, 61] Operation: 65-4=61
Exploring Operation: 36/4=9, Resulting Numbers: [65, 9]
Generated Node #0,1,1: 10:[65, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [65, 32]
Generated Node #0,1,2: 10:[65, 32] Operation: 36-4=32
Exploring Operation: 65-36=29, Resulting Numbers: [4, 29]
Generated Node #0,1,3: 10:[4, 29] Operation: 65-36=29
Moving to Node #0,3
Current State: 10:[83, 65, 43], Operations: ['47-4=43']
Exploring Operation: 83+65=148, Resulting Numbers: [43, 148]
Generated Node #0,3,0: 10:[43, 148] Operation: 83+65=148
Exploring Operation: 65-43=22, Resulting Numbers: [83, 22]
Generated Node #0,3,1: 10:[83, 22] Operation: 65-43=22
Exploring Operation: 83-65=18, Resulting Numbers: [43, 18]
Generated Node #0,3,2: 10:[43, 18] Operation: 83-65=18
Exploring Operation: 83-43=40, Resulting Numbers: [65, 40]
Generated Node #0,3,3: 10:[65, 40] Operation: 83-43=40
Moving to Node #0,0,1
Current State: 10:[4, 29], Operations: ['83-65=18', '47-18=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,10 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[4, 29], Operations: ['83-47=36', '65-36=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[47, 14], Operations: ['83-65=18', '18-4=14']
Exploring Operation: 47*14=658, Resulting Numbers: [658]
658,10 unequal: No Solution
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[43, 18], Operations: ['47-4=43', '83-65=18']
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,10 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[18, 43], Operations: ['83-65=18', '47-4=43']
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 18*43=774, Resulting Numbers: [774]
774,10 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[18, 51], Operations: ['83-65=18', '47+4=51']
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,10 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[4, 65], Operations: ['65-47=18', '83-18=65']
Exploring Operation: 4*65=260, Resulting Numbers: [260]
260,10 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[65, 9], Operations: ['83-47=36', '36/4=9']
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,10 unequal: No Solution
Exploring Operation: 65*9=585, Resulting Numbers: [585]
585,10 unequal: No Solution
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[18, 79], Operations: ['65-47=18', '83-4=79']
Exploring Operation: 18+79=97, Resulting Numbers: [97]
97,10 unequal: No Solution
Exploring Operation: 18*79=1422, Resulting Numbers: [1422]
1422,10 unequal: No Solution
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[83, 14], Operations: ['65-47=18', '18-4=14']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,10 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[65, 32], Operations: ['83-47=36', '36-4=32']
Exploring Operation: 65*32=2080, Resulting Numbers: [2080]
2080,10 unequal: No Solution
Exploring Operation: 65+32=97, Resulting Numbers: [97]
97,10 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[36, 61], Operations: ['83-47=36', '65-4=61']
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,10 unequal: No Solution
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,10 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[83, 22], Operations: ['47-4=43', '65-43=22']
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 83*22=1826, Resulting Numbers: [1826]
1826,10 unequal: No Solution
Exploring Operation: 83+22=105, Resulting Numbers: [105]
105,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[65, 40], Operations: ['47-4=43', '83-43=40']
Exploring Operation: 65*40=2600, Resulting Numbers: [2600]
2600,10 unequal: No Solution
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 65+40=105, Resulting Numbers: [105]
105,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[18, 87], Operations: ['65-47=18', '83+4=87']
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Exploring Operation: 18*87=1566, Resulting Numbers: [1566]
1566,10 unequal: No Solution
Exploring Operation: 18+87=105, Resulting Numbers: [105]
105,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[43, 148], Operations: ['47-4=43', '83+65=148']
Exploring Operation: 148-43=105, Resulting Numbers: [105]
105,10 unequal: No Solution
Exploring Operation: 43+148=191, Resulting Numbers: [191]
191,10 unequal: No Solution
Exploring Operation: 43*148=6364, Resulting Numbers: [6364]
6364,10 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
10,
13,
19,
36
] | 52 | [
"13-10=3",
"19+36=55",
"55-3=52"
] | Current State: 52:[10, 13, 19, 36], Operations: []
Exploring Operation: 13-10=3, Resulting Numbers: [19, 36, 3]
Generated Node #2: [19, 36, 3] from Operation: 13-10=3
Current State: 52:[19, 36, 3], Operations: ['13-10=3']
Exploring Operation: 19+36=55, Resulting Numbers: [3, 55]
Generated Node #3: [3, 55] from Operation: 19+36=55
Current State: 52:[3, 55], Operations: ['13-10=3', '19+36=55']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[10, 13, 19, 36], Operations: []
Exploring Operation: 36-10=26, Resulting Numbers: [13, 19, 26]
Generated Node #0,0: 52:[13, 19, 26] Operation: 36-10=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[13, 19, 26], Operations: ['36-10=26']
Exploring Operation: 19-13=6, Resulting Numbers: [26, 6]
Generated Node #0,0,0: 52:[26, 6] Operation: 19-13=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[26, 6], Operations: ['36-10=26', '19-13=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
74,
80,
50,
48
] | 43 | [
"50-48=2",
"74/2=37",
"80-37=43"
] | Current State: 43:[74, 80, 50, 48], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [74, 80, 2]
Generated Node #2: [74, 80, 2] from Operation: 50-48=2
Current State: 43:[74, 80, 2], Operations: ['50-48=2']
Exploring Operation: 74/2=37, Resulting Numbers: [80, 37]
Generated Node #3: [80, 37] from Operation: 74/2=37
Current State: 43:[80, 37], Operations: ['50-48=2', '74/2=37']
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[74, 80, 50, 48], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [50, 48, 6]
Generated Node #0,0: 43:[50, 48, 6] Operation: 80-74=6
Moving to Node #0,0
Current State: 43:[50, 48, 6], Operations: ['80-74=6']
Exploring Operation: 50-6=44, Resulting Numbers: [48, 44]
Generated Node #0,0,0: 43:[48, 44] Operation: 50-6=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[48, 44], Operations: ['80-74=6', '50-6=44']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,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 |
[
56,
72,
38,
5
] | 17 | [
"72-56=16",
"38-5=33",
"33-16=17"
] | Current State: 17:[56, 72, 38, 5], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [38, 5, 16]
Generated Node #2: [38, 5, 16] from Operation: 72-56=16
Current State: 17:[38, 5, 16], Operations: ['72-56=16']
Exploring Operation: 38-5=33, Resulting Numbers: [16, 33]
Generated Node #3: [16, 33] from Operation: 38-5=33
Current State: 17:[16, 33], Operations: ['72-56=16', '38-5=33']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[56, 72, 38, 5], Operations: []
Exploring Operation: 56-5=51, Resulting Numbers: [72, 38, 51]
Generated Node #0,0: 17:[72, 38, 51] Operation: 56-5=51
Exploring Operation: 72-38=34, Resulting Numbers: [56, 5, 34]
Generated Node #0,1: 17:[56, 5, 34] Operation: 72-38=34
Exploring Operation: 72-56=16, Resulting Numbers: [38, 5, 16]
Generated Node #0,2: 17:[38, 5, 16] Operation: 72-56=16
Exploring Operation: 56-38=18, Resulting Numbers: [72, 5, 18]
Generated Node #0,3: 17:[72, 5, 18] Operation: 56-38=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[38, 5, 16], Operations: ['72-56=16']
Exploring Operation: 38-16=22, Resulting Numbers: [5, 22]
Generated Node #0,2,0: 17:[5, 22] Operation: 38-16=22
Exploring Operation: 38-5=33, Resulting Numbers: [16, 33]
Generated Node #0,2,1: 17:[16, 33] Operation: 38-5=33
Exploring Operation: 38+5=43, Resulting Numbers: [16, 43]
Generated Node #0,2,2: 17:[16, 43] Operation: 38+5=43
Exploring Operation: 5+16=21, Resulting Numbers: [38, 21]
Generated Node #0,2,3: 17:[38, 21] Operation: 5+16=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 17:[5, 22], Operations: ['72-56=16', '38-16=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,17 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[56, 72, 38, 5], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [38, 5, 16]
Generated Node #0,2: 17:[38, 5, 16] Operation: 72-56=16
Moving to Node #0,2
Current State: 17:[38, 5, 16], Operations: ['72-56=16']
Exploring Operation: 38-16=22, Resulting Numbers: [5, 22]
Generated Node #0,2,0: 17:[5, 22] Operation: 38-16=22
Moving to Node #0,2,0
Current State: 17:[5, 22], Operations: ['72-56=16', '38-16=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
77,
97,
8,
85
] | 75 | [
"97-77=20",
"8*20=160",
"160-85=75"
] | Current State: 75:[77, 97, 8, 85], Operations: []
Exploring Operation: 97-77=20, Resulting Numbers: [8, 85, 20]
Generated Node #2: [8, 85, 20] from Operation: 97-77=20
Current State: 75:[8, 85, 20], Operations: ['97-77=20']
Exploring Operation: 8*20=160, Resulting Numbers: [85, 160]
Generated Node #3: [85, 160] from Operation: 8*20=160
Current State: 75:[85, 160], Operations: ['97-77=20', '8*20=160']
Exploring Operation: 160-85=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[77, 97, 8, 85], Operations: []
Exploring Operation: 97-8=89, Resulting Numbers: [77, 85, 89]
Generated Node #0,0: 75:[77, 85, 89] Operation: 97-8=89
Exploring Operation: 97-85=12, Resulting Numbers: [77, 8, 12]
Generated Node #0,1: 75:[77, 8, 12] Operation: 97-85=12
Exploring Operation: 97-77=20, Resulting Numbers: [8, 85, 20]
Generated Node #0,2: 75:[8, 85, 20] Operation: 97-77=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[77, 8, 12], Operations: ['97-85=12']
Exploring Operation: 77-8=69, Resulting Numbers: [12, 69]
Generated Node #0,1,0: 75:[12, 69] Operation: 77-8=69
Exploring Operation: 12-8=4, Resulting Numbers: [77, 4]
Generated Node #0,1,1: 75:[77, 4] Operation: 12-8=4
Exploring Operation: 8+12=20, Resulting Numbers: [77, 20]
Generated Node #0,1,2: 75:[77, 20] Operation: 8+12=20
Moving to Node #0,1,1
Current State: 75:[77, 4], Operations: ['97-85=12', '12-8=4']
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,75 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[77, 20], Operations: ['97-85=12', '8+12=20']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,75 unequal: No Solution
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[12, 69], Operations: ['97-85=12', '77-8=69']
Exploring Operation: 12*69=828, Resulting Numbers: [828]
828,75 unequal: No Solution
Exploring Operation: 12+69=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[8, 85, 20], Operations: ['97-77=20']
Exploring Operation: 20-8=12, Resulting Numbers: [85, 12]
Generated Node #0,2,0: 75:[85, 12] Operation: 20-8=12
Exploring Operation: 8+20=28, Resulting Numbers: [85, 28]
Generated Node #0,2,1: 75:[85, 28] Operation: 8+20=28
Exploring Operation: 85-8=77, Resulting Numbers: [20, 77]
Generated Node #0,2,2: 75:[20, 77] Operation: 85-8=77
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[20, 77], Operations: ['97-77=20', '85-8=77']
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[85, 12], Operations: ['97-77=20', '20-8=12']
Exploring Operation: 85+12=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 85*12=1020, Resulting Numbers: [1020]
1020,75 unequal: No Solution
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[85, 28], Operations: ['97-77=20', '8+20=28']
Exploring Operation: 85*28=2380, Resulting Numbers: [2380]
2380,75 unequal: No Solution
Exploring Operation: 85+28=113, Resulting Numbers: [113]
113,75 unequal: No Solution
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[77, 85, 89], Operations: ['97-8=89']
Exploring Operation: 89-85=4, Resulting Numbers: [77, 4]
Generated Node #0,0,0: 75:[77, 4] Operation: 89-85=4
Exploring Operation: 89-77=12, Resulting Numbers: [85, 12]
Generated Node #0,0,1: 75:[85, 12] Operation: 89-77=12
Exploring Operation: 85-77=8, Resulting Numbers: [89, 8]
Generated Node #0,0,2: 75:[89, 8] Operation: 85-77=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[77, 4], Operations: ['97-8=89', '89-85=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,75 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[85, 12], Operations: ['97-8=89', '89-77=12']
Exploring Operation: 85*12=1020, Resulting Numbers: [1020]
1020,75 unequal: No Solution
Exploring Operation: 85+12=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[89, 8], Operations: ['97-8=89', '85-77=8']
Exploring Operation: 89*8=712, Resulting Numbers: [712]
712,75 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
5,
37,
69,
39
] | 31 | [
"69-39=30",
"30/5=6",
"37-6=31"
] | Current State: 31:[5, 37, 69, 39], Operations: []
Exploring Operation: 69-39=30, Resulting Numbers: [5, 37, 30]
Generated Node #2: [5, 37, 30] from Operation: 69-39=30
Current State: 31:[5, 37, 30], Operations: ['69-39=30']
Exploring Operation: 30/5=6, Resulting Numbers: [37, 6]
Generated Node #3: [37, 6] from Operation: 30/5=6
Current State: 31:[37, 6], Operations: ['69-39=30', '30/5=6']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[5, 37, 69, 39], Operations: []
Exploring Operation: 69-37=32, Resulting Numbers: [5, 39, 32]
Generated Node #0,0: 31:[5, 39, 32] Operation: 69-37=32
Exploring Operation: 37-5=32, Resulting Numbers: [69, 39, 32]
Generated Node #0,1: 31:[69, 39, 32] Operation: 37-5=32
Exploring Operation: 69-39=30, Resulting Numbers: [5, 37, 30]
Generated Node #0,2: 31:[5, 37, 30] Operation: 69-39=30
Moving to Node #0,2
Current State: 31:[5, 37, 30], Operations: ['69-39=30']
Exploring Operation: 5+30=35, Resulting Numbers: [37, 35]
Generated Node #0,2,0: 31:[37, 35] Operation: 5+30=35
Exploring Operation: 5+37=42, Resulting Numbers: [30, 42]
Generated Node #0,2,1: 31:[30, 42] Operation: 5+37=42
Exploring Operation: 37-5=32, Resulting Numbers: [30, 32]
Generated Node #0,2,2: 31:[30, 32] Operation: 37-5=32
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[30, 32], Operations: ['69-39=30', '37-5=32']
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,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,2,0
Current State: 31:[37, 35], Operations: ['69-39=30', '5+30=35']
Exploring Operation: 37*35=1295, Resulting Numbers: [1295]
1295,31 unequal: No Solution
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,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,2,1
Current State: 31:[30, 42], Operations: ['69-39=30', '5+37=42']
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 30*42=1260, Resulting Numbers: [1260]
1260,31 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: 31:[5, 39, 32], Operations: ['69-37=32']
Exploring Operation: 39-5=34, Resulting Numbers: [32, 34]
Generated Node #0,0,0: 31:[32, 34] Operation: 39-5=34
Exploring Operation: 32-5=27, Resulting Numbers: [39, 27]
Generated Node #0,0,1: 31:[39, 27] Operation: 32-5=27
Exploring Operation: 5+39=44, Resulting Numbers: [32, 44]
Generated Node #0,0,2: 31:[32, 44] Operation: 5+39=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[32, 34], Operations: ['69-37=32', '39-5=34']
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[39, 27], Operations: ['69-37=32', '32-5=27']
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,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:[32, 44], Operations: ['69-37=32', '5+39=44']
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,31 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,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:[69, 39, 32], Operations: ['37-5=32']
Exploring Operation: 69-32=37, Resulting Numbers: [39, 37]
Generated Node #0,1,0: 31:[39, 37] Operation: 69-32=37
Exploring Operation: 39-32=7, Resulting Numbers: [69, 7]
Generated Node #0,1,1: 31:[69, 7] Operation: 39-32=7
Exploring Operation: 69-39=30, Resulting Numbers: [32, 30]
Generated Node #0,1,2: 31:[32, 30] Operation: 69-39=30
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[32, 30], Operations: ['37-5=32', '69-39=30']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,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,0
Current State: 31:[39, 37], Operations: ['37-5=32', '69-32=37']
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,31 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,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:[69, 7], Operations: ['37-5=32', '39-32=7']
Exploring Operation: 69*7=483, Resulting Numbers: [483]
483,31 unequal: No Solution
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,31 unequal: No Solution
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
81,
18,
30,
63
] | 24 | [
"30*63=1890",
"1890/18=105",
"105-81=24"
] | Current State: 24:[81, 18, 30, 63], Operations: []
Exploring Operation: 30*63=1890, Resulting Numbers: [81, 18, 1890]
Generated Node #2: [81, 18, 1890] from Operation: 30*63=1890
Current State: 24:[81, 18, 1890], Operations: ['30*63=1890']
Exploring Operation: 1890/18=105, Resulting Numbers: [81, 105]
Generated Node #3: [81, 105] from Operation: 1890/18=105
Current State: 24:[81, 105], Operations: ['30*63=1890', '1890/18=105']
Exploring Operation: 105-81=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[81, 18, 30, 63], Operations: []
Exploring Operation: 81-63=18, Resulting Numbers: [18, 30, 18]
Generated Node #0,0: 24:[18, 30, 18] Operation: 81-63=18
Moving to Node #0,0
Current State: 24:[18, 30, 18], Operations: ['81-63=18']
Exploring Operation: 30-18=12, Resulting Numbers: [18, 12]
Generated Node #0,0,0: 24:[18, 12] Operation: 30-18=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[18, 12], Operations: ['81-63=18', '30-18=12']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
8,
2,
50
] | 60 | [
"59*2=118",
"8+50=58",
"118-58=60"
] | Current State: 60:[59, 8, 2, 50], Operations: []
Exploring Operation: 59*2=118, Resulting Numbers: [8, 50, 118]
Generated Node #2: [8, 50, 118] from Operation: 59*2=118
Current State: 60:[8, 50, 118], Operations: ['59*2=118']
Exploring Operation: 8+50=58, Resulting Numbers: [118, 58]
Generated Node #3: [118, 58] from Operation: 8+50=58
Current State: 60:[118, 58], Operations: ['59*2=118', '8+50=58']
Exploring Operation: 118-58=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[59, 8, 2, 50], Operations: []
Exploring Operation: 8-2=6, Resulting Numbers: [59, 50, 6]
Generated Node #0,0: 60:[59, 50, 6] Operation: 8-2=6
Exploring Operation: 8+2=10, Resulting Numbers: [59, 50, 10]
Generated Node #0,1: 60:[59, 50, 10] Operation: 8+2=10
Exploring Operation: 8+50=58, Resulting Numbers: [59, 2, 58]
Generated Node #0,2: 60:[59, 2, 58] Operation: 8+50=58
Exploring Operation: 50/2=25, Resulting Numbers: [59, 8, 25]
Generated Node #0,3: 60:[59, 8, 25] Operation: 50/2=25
Exploring Operation: 59-50=9, Resulting Numbers: [8, 2, 9]
Generated Node #0,4: 60:[8, 2, 9] Operation: 59-50=9
Moving to Node #0,2
Current State: 60:[59, 2, 58], Operations: ['8+50=58']
Exploring Operation: 58/2=29, Resulting Numbers: [59, 29]
Generated Node #0,2,0: 60:[59, 29] Operation: 58/2=29
Exploring Operation: 2+58=60, Resulting Numbers: [59, 60]
Generated Node #0,2,1: 60:[59, 60] Operation: 2+58=60
Exploring Operation: 59+2=61, Resulting Numbers: [58, 61]
Generated Node #0,2,2: 60:[58, 61] Operation: 59+2=61
Exploring Operation: 59-2=57, Resulting Numbers: [58, 57]
Generated Node #0,2,3: 60:[58, 57] Operation: 59-2=57
Exploring Operation: 59-58=1, Resulting Numbers: [2, 1]
Generated Node #0,2,4: 60:[2, 1] Operation: 59-58=1
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[59, 60], Operations: ['8+50=58', '2+58=60']
Exploring Operation: 59+60=119, Resulting Numbers: [119]
119,60 unequal: No Solution
Exploring Operation: 59*60=3540, Resulting Numbers: [3540]
3540,60 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No 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: 60:[2, 1], Operations: ['8+50=58', '59-58=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No 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: 60:[59, 29], Operations: ['8+50=58', '58/2=29']
Exploring Operation: 59+29=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 59*29=1711, Resulting Numbers: [1711]
1711,60 unequal: No Solution
No 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: 60:[58, 61], Operations: ['8+50=58', '59+2=61']
Exploring Operation: 58*61=3538, Resulting Numbers: [3538]
3538,60 unequal: No Solution
Exploring Operation: 61-58=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 58+61=119, Resulting Numbers: [119]
119,60 unequal: No Solution
No 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: 60:[58, 57], Operations: ['8+50=58', '59-2=57']
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 58+57=115, Resulting Numbers: [115]
115,60 unequal: No Solution
Exploring Operation: 58*57=3306, Resulting Numbers: [3306]
3306,60 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: 60:[8, 2, 9], Operations: ['59-50=9']
Exploring Operation: 8*2=16, Resulting Numbers: [9, 16]
Generated Node #0,4,0: 60:[9, 16] Operation: 8*2=16
Exploring Operation: 9-8=1, Resulting Numbers: [2, 1]
Generated Node #0,4,1: 60:[2, 1] Operation: 9-8=1
Exploring Operation: 8/2=4, Resulting Numbers: [9, 4]
Generated Node #0,4,2: 60:[9, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [9, 6]
Generated Node #0,4,3: 60:[9, 6] Operation: 8-2=6
Exploring Operation: 8+2=10, Resulting Numbers: [9, 10]
Generated Node #0,4,4: 60:[9, 10] Operation: 8+2=10
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 60:[2, 1], Operations: ['59-50=9', '9-8=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No 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: 60:[9, 4], Operations: ['59-50=9', '8/2=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 60:[9, 6], Operations: ['59-50=9', '8-2=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,60 unequal: No Solution
No 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: 60:[9, 10], Operations: ['59-50=9', '8+2=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,60 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,60 unequal: No Solution
No 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: 60:[9, 16], Operations: ['59-50=9', '8*2=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,60 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,60 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: 60:[59, 8, 25], Operations: ['50/2=25']
Exploring Operation: 8+25=33, Resulting Numbers: [59, 33]
Generated Node #0,3,0: 60:[59, 33] Operation: 8+25=33
Exploring Operation: 25-8=17, Resulting Numbers: [59, 17]
Generated Node #0,3,1: 60:[59, 17] Operation: 25-8=17
Exploring Operation: 59-8=51, Resulting Numbers: [25, 51]
Generated Node #0,3,2: 60:[25, 51] Operation: 59-8=51
Exploring Operation: 59-25=34, Resulting Numbers: [8, 34]
Generated Node #0,3,3: 60:[8, 34] Operation: 59-25=34
Exploring Operation: 59+8=67, Resulting Numbers: [25, 67]
Generated Node #0,3,4: 60:[25, 67] Operation: 59+8=67
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 60:[59, 17], Operations: ['50/2=25', '25-8=17']
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,60 unequal: No Solution
No 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: 60:[59, 33], Operations: ['50/2=25', '8+25=33']
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 59+33=92, Resulting Numbers: [92]
92,60 unequal: No Solution
Exploring Operation: 59*33=1947, Resulting Numbers: [1947]
1947,60 unequal: No Solution
No 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: 60:[8, 34], Operations: ['50/2=25', '59-25=34']
Exploring Operation: 8*34=272, Resulting Numbers: [272]
272,60 unequal: No Solution
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,60 unequal: No Solution
No 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: 60:[25, 67], Operations: ['50/2=25', '59+8=67']
Exploring Operation: 25+67=92, Resulting Numbers: [92]
92,60 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 25*67=1675, Resulting Numbers: [1675]
1675,60 unequal: No Solution
No 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: 60:[25, 51], Operations: ['50/2=25', '59-8=51']
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,60 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: 60:[59, 50, 6], Operations: ['8-2=6']
Exploring Operation: 59-6=53, Resulting Numbers: [50, 53]
Generated Node #0,0,0: 60:[50, 53] Operation: 59-6=53
Exploring Operation: 59+6=65, Resulting Numbers: [50, 65]
Generated Node #0,0,1: 60:[50, 65] Operation: 59+6=65
Exploring Operation: 50+6=56, Resulting Numbers: [59, 56]
Generated Node #0,0,2: 60:[59, 56] Operation: 50+6=56
Exploring Operation: 59-50=9, Resulting Numbers: [6, 9]
Generated Node #0,0,3: 60:[6, 9] Operation: 59-50=9
Exploring Operation: 50-6=44, Resulting Numbers: [59, 44]
Generated Node #0,0,4: 60:[59, 44] Operation: 50-6=44
Moving to Node #0,1
Current State: 60:[59, 50, 10], Operations: ['8+2=10']
Exploring Operation: 59+10=69, Resulting Numbers: [50, 69]
Generated Node #0,1,0: 60:[50, 69] Operation: 59+10=69
Exploring Operation: 50-10=40, Resulting Numbers: [59, 40]
Generated Node #0,1,1: 60:[59, 40] Operation: 50-10=40
Exploring Operation: 59-50=9, Resulting Numbers: [10, 9]
Generated Node #0,1,2: 60:[10, 9] Operation: 59-50=9
Exploring Operation: 50/10=5, Resulting Numbers: [59, 5]
Generated Node #0,1,3: 60:[59, 5] Operation: 50/10=5
Exploring Operation: 50+10=60, Resulting Numbers: [59, 60]
Generated Node #0,1,4: 60:[59, 60] Operation: 50+10=60
Moving to Node #0,0,3
Current State: 60:[6, 9], Operations: ['8-2=6', '59-50=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[10, 9], Operations: ['8+2=10', '59-50=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,60 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[59, 5], Operations: ['8+2=10', '50/10=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,60 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Moving to Node #0,1,4
Current State: 60:[59, 60], Operations: ['8+2=10', '50+10=60']
Exploring Operation: 59+60=119, Resulting Numbers: [119]
119,60 unequal: No Solution
Exploring Operation: 59*60=3540, Resulting Numbers: [3540]
3540,60 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[59, 56], Operations: ['8-2=6', '50+6=56']
Exploring Operation: 59*56=3304, Resulting Numbers: [3304]
3304,60 unequal: No Solution
Exploring Operation: 59+56=115, Resulting Numbers: [115]
115,60 unequal: No Solution
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[59, 40], Operations: ['8+2=10', '50-10=40']
Exploring Operation: 59*40=2360, Resulting Numbers: [2360]
2360,60 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[50, 65], Operations: ['8-2=6', '59+6=65']
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 50*65=3250, Resulting Numbers: [3250]
3250,60 unequal: No Solution
Exploring Operation: 50+65=115, Resulting Numbers: [115]
115,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[59, 44], Operations: ['8-2=6', '50-6=44']
Exploring Operation: 59*44=2596, Resulting Numbers: [2596]
2596,60 unequal: No Solution
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 59+44=103, Resulting Numbers: [103]
103,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[50, 53], Operations: ['8-2=6', '59-6=53']
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 50*53=2650, Resulting Numbers: [2650]
2650,60 unequal: No Solution
Exploring Operation: 50+53=103, Resulting Numbers: [103]
103,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[50, 69], Operations: ['8+2=10', '59+10=69']
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 50*69=3450, Resulting Numbers: [3450]
3450,60 unequal: No Solution
Exploring Operation: 50+69=119, Resulting Numbers: [119]
119,60 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
6,
31,
17,
59
] | 24 | [
"59-17=42",
"42/6=7",
"31-7=24"
] | Current State: 24:[6, 31, 17, 59], Operations: []
Exploring Operation: 59-17=42, Resulting Numbers: [6, 31, 42]
Generated Node #2: [6, 31, 42] from Operation: 59-17=42
Current State: 24:[6, 31, 42], Operations: ['59-17=42']
Exploring Operation: 42/6=7, Resulting Numbers: [31, 7]
Generated Node #3: [31, 7] from Operation: 42/6=7
Current State: 24:[31, 7], Operations: ['59-17=42', '42/6=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[6, 31, 17, 59], Operations: []
Exploring Operation: 59-31=28, Resulting Numbers: [6, 17, 28]
Generated Node #0,0: 24:[6, 17, 28] Operation: 59-31=28
Exploring Operation: 59-17=42, Resulting Numbers: [6, 31, 42]
Generated Node #0,1: 24:[6, 31, 42] Operation: 59-17=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[6, 17, 28], Operations: ['59-31=28']
Exploring Operation: 28-17=11, Resulting Numbers: [6, 11]
Generated Node #0,0,0: 24:[6, 11] Operation: 28-17=11
Exploring Operation: 6+17=23, Resulting Numbers: [28, 23]
Generated Node #0,0,1: 24:[28, 23] Operation: 6+17=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[6, 11], Operations: ['59-31=28', '28-17=11']
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,24 unequal: No Solution
No 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: 24:[28, 23], Operations: ['59-31=28', '6+17=23']
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,24 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: 24:[6, 31, 42], Operations: ['59-17=42']
Exploring Operation: 42/6=7, Resulting Numbers: [31, 7]
Generated Node #0,1,0: 24:[31, 7] Operation: 42/6=7
Exploring Operation: 42-31=11, Resulting Numbers: [6, 11]
Generated Node #0,1,1: 24:[6, 11] Operation: 42-31=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[6, 11], Operations: ['59-17=42', '42-31=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,24 unequal: No Solution
No 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: 24:[31, 7], Operations: ['59-17=42', '42/6=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[6, 31, 17, 59], Operations: []
Exploring Operation: 59-17=42, Resulting Numbers: [6, 31, 42]
Generated Node #0,1: 24:[6, 31, 42] Operation: 59-17=42
Moving to Node #0,1
Current State: 24:[6, 31, 42], Operations: ['59-17=42']
Exploring Operation: 42/6=7, Resulting Numbers: [31, 7]
Generated Node #0,1,0: 24:[31, 7] Operation: 42/6=7
Moving to Node #0,1,0
Current State: 24:[31, 7], Operations: ['59-17=42', '42/6=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
15,
21,
18,
32
] | 70 | [
"18+32=50",
"21*50=1050",
"1050/15=70"
] | Current State: 70:[15, 21, 18, 32], Operations: []
Exploring Operation: 18+32=50, Resulting Numbers: [15, 21, 50]
Generated Node #2: [15, 21, 50] from Operation: 18+32=50
Current State: 70:[15, 21, 50], Operations: ['18+32=50']
Exploring Operation: 21*50=1050, Resulting Numbers: [15, 1050]
Generated Node #3: [15, 1050] from Operation: 21*50=1050
Current State: 70:[15, 1050], Operations: ['18+32=50', '21*50=1050']
Exploring Operation: 1050/15=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[15, 21, 18, 32], Operations: []
Exploring Operation: 21+18=39, Resulting Numbers: [15, 32, 39]
Generated Node #0,0: 70:[15, 32, 39] Operation: 21+18=39
Exploring Operation: 32-21=11, Resulting Numbers: [15, 18, 11]
Generated Node #0,1: 70:[15, 18, 11] Operation: 32-21=11
Exploring Operation: 21-15=6, Resulting Numbers: [18, 32, 6]
Generated Node #0,2: 70:[18, 32, 6] Operation: 21-15=6
Exploring Operation: 21-18=3, Resulting Numbers: [15, 32, 3]
Generated Node #0,3: 70:[15, 32, 3] Operation: 21-18=3
Exploring Operation: 15+21=36, Resulting Numbers: [18, 32, 36]
Generated Node #0,4: 70:[18, 32, 36] Operation: 15+21=36
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[15, 32, 3], Operations: ['21-18=3']
Exploring Operation: 15-3=12, Resulting Numbers: [32, 12]
Generated Node #0,3,0: 70:[32, 12] Operation: 15-3=12
Exploring Operation: 15/3=5, Resulting Numbers: [32, 5]
Generated Node #0,3,1: 70:[32, 5] Operation: 15/3=5
Exploring Operation: 32+3=35, Resulting Numbers: [15, 35]
Generated Node #0,3,2: 70:[15, 35] Operation: 32+3=35
Exploring Operation: 32-15=17, Resulting Numbers: [3, 17]
Generated Node #0,3,3: 70:[3, 17] Operation: 32-15=17
Exploring Operation: 15+3=18, Resulting Numbers: [32, 18]
Generated Node #0,3,4: 70:[32, 18] Operation: 15+3=18
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[15, 35], Operations: ['21-18=3', '32+3=35']
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,70 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[32, 5], Operations: ['21-18=3', '15/3=5']
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 70:[3, 17], Operations: ['21-18=3', '32-15=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[32, 12], Operations: ['21-18=3', '15-3=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,70 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 70:[32, 18], Operations: ['21-18=3', '15+3=18']
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,70 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[15, 18, 11], Operations: ['32-21=11']
Exploring Operation: 15+18=33, Resulting Numbers: [11, 33]
Generated Node #0,1,0: 70:[11, 33] Operation: 15+18=33
Exploring Operation: 15-11=4, Resulting Numbers: [18, 4]
Generated Node #0,1,1: 70:[18, 4] Operation: 15-11=4
Exploring Operation: 18+11=29, Resulting Numbers: [15, 29]
Generated Node #0,1,2: 70:[15, 29] Operation: 18+11=29
Exploring Operation: 18-15=3, Resulting Numbers: [11, 3]
Generated Node #0,1,3: 70:[11, 3] Operation: 18-15=3
Exploring Operation: 18-11=7, Resulting Numbers: [15, 7]
Generated Node #0,1,4: 70:[15, 7] Operation: 18-11=7
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 70:[15, 7], Operations: ['32-21=11', '18-11=7']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,70 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[11, 3], Operations: ['32-21=11', '18-15=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[11, 33], Operations: ['32-21=11', '15+18=33']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[18, 4], Operations: ['32-21=11', '15-11=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[15, 29], Operations: ['32-21=11', '18+11=29']
Exploring Operation: 15*29=435, Resulting Numbers: [435]
435,70 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[15, 32, 39], Operations: ['21+18=39']
Exploring Operation: 15+32=47, Resulting Numbers: [39, 47]
Generated Node #0,0,0: 70:[39, 47] Operation: 15+32=47
Exploring Operation: 39-15=24, Resulting Numbers: [32, 24]
Generated Node #0,0,1: 70:[32, 24] Operation: 39-15=24
Exploring Operation: 39-32=7, Resulting Numbers: [15, 7]
Generated Node #0,0,2: 70:[15, 7] Operation: 39-32=7
Exploring Operation: 32+39=71, Resulting Numbers: [15, 71]
Generated Node #0,0,3: 70:[15, 71] Operation: 32+39=71
Exploring Operation: 32-15=17, Resulting Numbers: [39, 17]
Generated Node #0,0,4: 70:[39, 17] Operation: 32-15=17
Moving to Node #0,0,2
Current State: 70:[15, 7], Operations: ['21+18=39', '39-32=7']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[15, 71], Operations: ['21+18=39', '32+39=71']
Exploring Operation: 15+71=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 15*71=1065, Resulting Numbers: [1065]
1065,70 unequal: No Solution
Moving to Node #0,0,4
Current State: 70:[39, 17], Operations: ['21+18=39', '32-15=17']
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,70 unequal: No Solution
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[32, 24], Operations: ['21+18=39', '39-15=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,70 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[39, 47], Operations: ['21+18=39', '15+32=47']
Exploring Operation: 39*47=1833, Resulting Numbers: [1833]
1833,70 unequal: No Solution
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 39+47=86, Resulting Numbers: [86]
86,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[18, 32, 6], Operations: ['21-15=6']
Exploring Operation: 32+6=38, Resulting Numbers: [18, 38]
Generated Node #0,2,0: 70:[18, 38] Operation: 32+6=38
Exploring Operation: 32-18=14, Resulting Numbers: [6, 14]
Generated Node #0,2,1: 70:[6, 14] Operation: 32-18=14
Exploring Operation: 18/6=3, Resulting Numbers: [32, 3]
Generated Node #0,2,2: 70:[32, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [32, 12]
Generated Node #0,2,3: 70:[32, 12] Operation: 18-6=12
Exploring Operation: 18+6=24, Resulting Numbers: [32, 24]
Generated Node #0,2,4: 70:[32, 24] Operation: 18+6=24
Moving to Node #0,2,1
Current State: 70:[6, 14], Operations: ['21-15=6', '32-18=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[32, 3], Operations: ['21-15=6', '18/6=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,70 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[32, 12], Operations: ['21-15=6', '18-6=12']
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,70 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[18, 38], Operations: ['21-15=6', '32+6=38']
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,70 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Moving to Node #0,2,4
Current State: 70:[32, 24], Operations: ['21-15=6', '18+6=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 70:[18, 32, 36], Operations: ['15+21=36']
Exploring Operation: 36/18=2, Resulting Numbers: [32, 2]
Generated Node #0,4,0: 70:[32, 2] Operation: 36/18=2
Exploring Operation: 32+36=68, Resulting Numbers: [18, 68]
Generated Node #0,4,1: 70:[18, 68] Operation: 32+36=68
Exploring Operation: 32-18=14, Resulting Numbers: [36, 14]
Generated Node #0,4,2: 70:[36, 14] Operation: 32-18=14
Exploring Operation: 36-18=18, Resulting Numbers: [32, 18]
Generated Node #0,4,3: 70:[32, 18] Operation: 36-18=18
Exploring Operation: 36-32=4, Resulting Numbers: [18, 4]
Generated Node #0,4,4: 70:[18, 4] Operation: 36-32=4
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 70:[36, 14], Operations: ['15+21=36', '32-18=14']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,70 unequal: No Solution
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 70:[32, 2], Operations: ['15+21=36', '36/18=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 70:[18, 4], Operations: ['15+21=36', '36-32=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 70:[18, 68], Operations: ['15+21=36', '32+36=68']
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,70 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 70:[32, 18], Operations: ['15+21=36', '36-18=18']
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,70 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
27,
89,
2,
41
] | 34 | [
"27+89=116",
"2*41=82",
"116-82=34"
] | Current State: 34:[27, 89, 2, 41], Operations: []
Exploring Operation: 27+89=116, Resulting Numbers: [2, 41, 116]
Generated Node #2: [2, 41, 116] from Operation: 27+89=116
Current State: 34:[2, 41, 116], Operations: ['27+89=116']
Exploring Operation: 2*41=82, Resulting Numbers: [116, 82]
Generated Node #3: [116, 82] from Operation: 2*41=82
Current State: 34:[116, 82], Operations: ['27+89=116', '2*41=82']
Exploring Operation: 116-82=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[27, 89, 2, 41], Operations: []
Exploring Operation: 27+2=29, Resulting Numbers: [89, 41, 29]
Generated Node #0,0: 34:[89, 41, 29] Operation: 27+2=29
Exploring Operation: 89-41=48, Resulting Numbers: [27, 2, 48]
Generated Node #0,1: 34:[27, 2, 48] Operation: 89-41=48
Exploring Operation: 89-27=62, Resulting Numbers: [2, 41, 62]
Generated Node #0,2: 34:[2, 41, 62] Operation: 89-27=62
Exploring Operation: 89-2=87, Resulting Numbers: [27, 41, 87]
Generated Node #0,3: 34:[27, 41, 87] Operation: 89-2=87
Exploring Operation: 41-27=14, Resulting Numbers: [89, 2, 14]
Generated Node #0,4: 34:[89, 2, 14] Operation: 41-27=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[27, 2, 48], Operations: ['89-41=48']
Exploring Operation: 48/2=24, Resulting Numbers: [27, 24]
Generated Node #0,1,0: 34:[27, 24] Operation: 48/2=24
Exploring Operation: 27-2=25, Resulting Numbers: [48, 25]
Generated Node #0,1,1: 34:[48, 25] Operation: 27-2=25
Exploring Operation: 27+2=29, Resulting Numbers: [48, 29]
Generated Node #0,1,2: 34:[48, 29] Operation: 27+2=29
Exploring Operation: 48-2=46, Resulting Numbers: [27, 46]
Generated Node #0,1,3: 34:[27, 46] Operation: 48-2=46
Exploring Operation: 48-27=21, Resulting Numbers: [2, 21]
Generated Node #0,1,4: 34:[2, 21] Operation: 48-27=21
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 34:[2, 21], Operations: ['89-41=48', '48-27=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[27, 24], Operations: ['89-41=48', '48/2=24']
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,34 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[48, 29], Operations: ['89-41=48', '27+2=29']
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 48+29=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 48*29=1392, Resulting Numbers: [1392]
1392,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 34:[27, 46], Operations: ['89-41=48', '48-2=46']
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,34 unequal: No Solution
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[48, 25], Operations: ['89-41=48', '27-2=25']
Exploring Operation: 48+25=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 48*25=1200, Resulting Numbers: [1200]
1200,34 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[2, 41, 62], Operations: ['89-27=62']
Exploring Operation: 41-2=39, Resulting Numbers: [62, 39]
Generated Node #0,2,0: 34:[62, 39] Operation: 41-2=39
Exploring Operation: 62-2=60, Resulting Numbers: [41, 60]
Generated Node #0,2,1: 34:[41, 60] Operation: 62-2=60
Exploring Operation: 62-41=21, Resulting Numbers: [2, 21]
Generated Node #0,2,2: 34:[2, 21] Operation: 62-41=21
Exploring Operation: 2+41=43, Resulting Numbers: [62, 43]
Generated Node #0,2,3: 34:[62, 43] Operation: 2+41=43
Exploring Operation: 62/2=31, Resulting Numbers: [41, 31]
Generated Node #0,2,4: 34:[41, 31] Operation: 62/2=31
Moving to Node #0,2,2
Current State: 34:[2, 21], Operations: ['89-27=62', '62-41=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Moving to Node #0,2,4
Current State: 34:[41, 31], Operations: ['89-27=62', '62/2=31']
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 41*31=1271, Resulting Numbers: [1271]
1271,34 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[62, 39], Operations: ['89-27=62', '41-2=39']
Exploring Operation: 62*39=2418, Resulting Numbers: [2418]
2418,34 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 62+39=101, Resulting Numbers: [101]
101,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[41, 60], Operations: ['89-27=62', '62-2=60']
Exploring Operation: 41*60=2460, Resulting Numbers: [2460]
2460,34 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 41+60=101, Resulting Numbers: [101]
101,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[62, 43], Operations: ['89-27=62', '2+41=43']
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 62+43=105, Resulting Numbers: [105]
105,34 unequal: No Solution
Exploring Operation: 62*43=2666, Resulting Numbers: [2666]
2666,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[89, 2, 14], Operations: ['41-27=14']
Exploring Operation: 14-2=12, Resulting Numbers: [89, 12]
Generated Node #0,4,0: 34:[89, 12] Operation: 14-2=12
Exploring Operation: 89-14=75, Resulting Numbers: [2, 75]
Generated Node #0,4,1: 34:[2, 75] Operation: 89-14=75
Exploring Operation: 89-2=87, Resulting Numbers: [14, 87]
Generated Node #0,4,2: 34:[14, 87] Operation: 89-2=87
Exploring Operation: 2+14=16, Resulting Numbers: [89, 16]
Generated Node #0,4,3: 34:[89, 16] Operation: 2+14=16
Exploring Operation: 89+2=91, Resulting Numbers: [14, 91]
Generated Node #0,4,4: 34:[14, 91] Operation: 89+2=91
Moving to Node #0,4,1
Current State: 34:[2, 75], Operations: ['41-27=14', '89-14=75']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,34 unequal: No Solution
Moving to Node #0,4,3
Current State: 34:[89, 16], Operations: ['41-27=14', '2+14=16']
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,34 unequal: No Solution
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,34 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Moving to Node #0,4,2
Current State: 34:[14, 87], Operations: ['41-27=14', '89-2=87']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 14+87=101, Resulting Numbers: [101]
101,34 unequal: No Solution
Exploring Operation: 14*87=1218, Resulting Numbers: [1218]
1218,34 unequal: No Solution
Moving to Node #0,4,0
Current State: 34:[89, 12], Operations: ['41-27=14', '14-2=12']
Exploring Operation: 89+12=101, Resulting Numbers: [101]
101,34 unequal: No Solution
Exploring Operation: 89*12=1068, Resulting Numbers: [1068]
1068,34 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Moving to Node #0,4,4
Current State: 34:[14, 91], Operations: ['41-27=14', '89+2=91']
Exploring Operation: 14+91=105, Resulting Numbers: [105]
105,34 unequal: No Solution
Exploring Operation: 14*91=1274, Resulting Numbers: [1274]
1274,34 unequal: No Solution
Exploring Operation: 91-14=77, Resulting Numbers: [77]
77,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[89, 41, 29], Operations: ['27+2=29']
Exploring Operation: 41+29=70, Resulting Numbers: [89, 70]
Generated Node #0,0,0: 34:[89, 70] Operation: 41+29=70
Exploring Operation: 89-29=60, Resulting Numbers: [41, 60]
Generated Node #0,0,1: 34:[41, 60] Operation: 89-29=60
Exploring Operation: 89-41=48, Resulting Numbers: [29, 48]
Generated Node #0,0,2: 34:[29, 48] Operation: 89-41=48
Exploring Operation: 89+29=118, Resulting Numbers: [41, 118]
Generated Node #0,0,3: 34:[41, 118] Operation: 89+29=118
Exploring Operation: 41-29=12, Resulting Numbers: [89, 12]
Generated Node #0,0,4: 34:[89, 12] Operation: 41-29=12
Moving to Node #0,0,2
Current State: 34:[29, 48], Operations: ['27+2=29', '89-41=48']
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 29*48=1392, Resulting Numbers: [1392]
1392,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[41, 60], Operations: ['27+2=29', '89-29=60']
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 41+60=101, Resulting Numbers: [101]
101,34 unequal: No Solution
Exploring Operation: 41*60=2460, Resulting Numbers: [2460]
2460,34 unequal: No Solution
Moving to Node #0,0,4
Current State: 34:[89, 12], Operations: ['27+2=29', '41-29=12']
Exploring Operation: 89+12=101, Resulting Numbers: [101]
101,34 unequal: No Solution
Exploring Operation: 89*12=1068, Resulting Numbers: [1068]
1068,34 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[89, 70], Operations: ['27+2=29', '41+29=70']
Exploring Operation: 89*70=6230, Resulting Numbers: [6230]
6230,34 unequal: No Solution
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 89+70=159, Resulting Numbers: [159]
159,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[41, 118], Operations: ['27+2=29', '89+29=118']
Exploring Operation: 41*118=4838, Resulting Numbers: [4838]
4838,34 unequal: No Solution
Exploring Operation: 41+118=159, Resulting Numbers: [159]
159,34 unequal: No Solution
Exploring Operation: 118-41=77, Resulting Numbers: [77]
77,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[27, 41, 87], Operations: ['89-2=87']
Exploring Operation: 41-27=14, Resulting Numbers: [87, 14]
Generated Node #0,3,0: 34:[87, 14] Operation: 41-27=14
Exploring Operation: 87-27=60, Resulting Numbers: [41, 60]
Generated Node #0,3,1: 34:[41, 60] Operation: 87-27=60
Exploring Operation: 27+41=68, Resulting Numbers: [87, 68]
Generated Node #0,3,2: 34:[87, 68] Operation: 27+41=68
Exploring Operation: 87-41=46, Resulting Numbers: [27, 46]
Generated Node #0,3,3: 34:[27, 46] Operation: 87-41=46
Exploring Operation: 27+87=114, Resulting Numbers: [41, 114]
Generated Node #0,3,4: 34:[41, 114] Operation: 27+87=114
Moving to Node #0,3,3
Current State: 34:[27, 46], Operations: ['89-2=87', '87-41=46']
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,34 unequal: No Solution
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[41, 60], Operations: ['89-2=87', '87-27=60']
Exploring Operation: 41+60=101, Resulting Numbers: [101]
101,34 unequal: No Solution
Exploring Operation: 41*60=2460, Resulting Numbers: [2460]
2460,34 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[87, 14], Operations: ['89-2=87', '41-27=14']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 87*14=1218, Resulting Numbers: [1218]
1218,34 unequal: No Solution
Exploring Operation: 87+14=101, Resulting Numbers: [101]
101,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[87, 68], Operations: ['89-2=87', '27+41=68']
Exploring Operation: 87+68=155, Resulting Numbers: [155]
155,34 unequal: No Solution
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 87*68=5916, Resulting Numbers: [5916]
5916,34 unequal: No Solution
Moving to Node #0,3,4
Current State: 34:[41, 114], Operations: ['89-2=87', '27+87=114']
Exploring Operation: 41+114=155, Resulting Numbers: [155]
155,34 unequal: No Solution
Exploring Operation: 114-41=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 41*114=4674, Resulting Numbers: [4674]
4674,34 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 |
[
4,
1,
19,
9
] | 95 | [
"4*1=4",
"9-4=5",
"19*5=95"
] | Current State: 95:[4, 1, 19, 9], Operations: []
Exploring Operation: 4*1=4, Resulting Numbers: [19, 9, 4]
Generated Node #2: [19, 9, 4] from Operation: 4*1=4
Current State: 95:[19, 9, 4], Operations: ['4*1=4']
Exploring Operation: 9-4=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 9-4=5
Current State: 95:[19, 5], Operations: ['4*1=4', '9-4=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[4, 1, 19, 9], Operations: []
Exploring Operation: 4+1=5, Resulting Numbers: [19, 9, 5]
Generated Node #0,0: 95:[19, 9, 5] Operation: 4+1=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[19, 9, 5], Operations: ['4+1=5']
Exploring Operation: 9-5=4, Resulting Numbers: [19, 4]
Generated Node #0,0,0: 95:[19, 4] Operation: 9-5=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[19, 4], Operations: ['4+1=5', '9-5=4']
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
53,
55,
98,
70
] | 26 | [
"55-53=2",
"98-70=28",
"28-2=26"
] | Current State: 26:[53, 55, 98, 70], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [98, 70, 2]
Generated Node #2: [98, 70, 2] from Operation: 55-53=2
Current State: 26:[98, 70, 2], Operations: ['55-53=2']
Exploring Operation: 98-70=28, Resulting Numbers: [2, 28]
Generated Node #3: [2, 28] from Operation: 98-70=28
Current State: 26:[2, 28], Operations: ['55-53=2', '98-70=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[53, 55, 98, 70], Operations: []
Exploring Operation: 98-53=45, Resulting Numbers: [55, 70, 45]
Generated Node #0,0: 26:[55, 70, 45] Operation: 98-53=45
Exploring Operation: 98-70=28, Resulting Numbers: [53, 55, 28]
Generated Node #0,1: 26:[53, 55, 28] Operation: 98-70=28
Exploring Operation: 70-55=15, Resulting Numbers: [53, 98, 15]
Generated Node #0,2: 26:[53, 98, 15] Operation: 70-55=15
Exploring Operation: 70-53=17, Resulting Numbers: [55, 98, 17]
Generated Node #0,3: 26:[55, 98, 17] Operation: 70-53=17
Exploring Operation: 98-55=43, Resulting Numbers: [53, 70, 43]
Generated Node #0,4: 26:[53, 70, 43] Operation: 98-55=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[53, 55, 28], Operations: ['98-70=28']
Exploring Operation: 55-28=27, Resulting Numbers: [53, 27]
Generated Node #0,1,0: 26:[53, 27] Operation: 55-28=27
Exploring Operation: 53+55=108, Resulting Numbers: [28, 108]
Generated Node #0,1,1: 26:[28, 108] Operation: 53+55=108
Exploring Operation: 55-53=2, Resulting Numbers: [28, 2]
Generated Node #0,1,2: 26:[28, 2] Operation: 55-53=2
Exploring Operation: 53-28=25, Resulting Numbers: [55, 25]
Generated Node #0,1,3: 26:[55, 25] Operation: 53-28=25
Exploring Operation: 53+28=81, Resulting Numbers: [55, 81]
Generated Node #0,1,4: 26:[55, 81] Operation: 53+28=81
Moving to Node #0,1,2
Current State: 26:[28, 2], Operations: ['98-70=28', '55-53=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[53, 55, 98, 70], Operations: []
Exploring Operation: 98-70=28, Resulting Numbers: [53, 55, 28]
Generated Node #0,1: 26:[53, 55, 28] Operation: 98-70=28
Moving to Node #0,1
Current State: 26:[53, 55, 28], Operations: ['98-70=28']
Exploring Operation: 55-53=2, Resulting Numbers: [28, 2]
Generated Node #0,1,2: 26:[28, 2] Operation: 55-53=2
Moving to Node #0,1,2
Current State: 26:[28, 2], Operations: ['98-70=28', '55-53=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
23,
10,
14,
79
] | 98 | [
"23+10=33",
"79-14=65",
"33+65=98"
] | Current State: 98:[23, 10, 14, 79], Operations: []
Exploring Operation: 23+10=33, Resulting Numbers: [14, 79, 33]
Generated Node #2: [14, 79, 33] from Operation: 23+10=33
Current State: 98:[14, 79, 33], Operations: ['23+10=33']
Exploring Operation: 79-14=65, Resulting Numbers: [33, 65]
Generated Node #3: [33, 65] from Operation: 79-14=65
Current State: 98:[33, 65], Operations: ['23+10=33', '79-14=65']
Exploring Operation: 33+65=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[23, 10, 14, 79], Operations: []
Exploring Operation: 23+79=102, Resulting Numbers: [10, 14, 102]
Generated Node #0,0: 98:[10, 14, 102] Operation: 23+79=102
Exploring Operation: 79-23=56, Resulting Numbers: [10, 14, 56]
Generated Node #0,1: 98:[10, 14, 56] Operation: 79-23=56
Moving to Node #0,0
Current State: 98:[10, 14, 102], Operations: ['23+79=102']
Exploring Operation: 102-10=92, Resulting Numbers: [14, 92]
Generated Node #0,0,0: 98:[14, 92] Operation: 102-10=92
Exploring Operation: 14-10=4, Resulting Numbers: [102, 4]
Generated Node #0,0,1: 98:[102, 4] Operation: 14-10=4
Moving to Node #0,1
Current State: 98:[10, 14, 56], Operations: ['79-23=56']
Exploring Operation: 56-10=46, Resulting Numbers: [14, 46]
Generated Node #0,1,0: 98:[14, 46] Operation: 56-10=46
Exploring Operation: 56/14=4, Resulting Numbers: [10, 4]
Generated Node #0,1,1: 98:[10, 4] Operation: 56/14=4
Moving to Node #0,1,0
Current State: 98:[14, 46], Operations: ['79-23=56', '56-10=46']
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 14+46=60, Resulting Numbers: [60]
60,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[10, 4], Operations: ['79-23=56', '56/14=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[102, 4], Operations: ['23+79=102', '14-10=4']
Exploring Operation: 102+4=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 102-4=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[23, 10, 14, 79], Operations: []
Exploring Operation: 23+79=102, Resulting Numbers: [10, 14, 102]
Generated Node #0,0: 98:[10, 14, 102] Operation: 23+79=102
Moving to Node #0,0
Current State: 98:[10, 14, 102], Operations: ['23+79=102']
Exploring Operation: 14-10=4, Resulting Numbers: [102, 4]
Generated Node #0,0,1: 98:[102, 4] Operation: 14-10=4
Moving to Node #0,0,1
Current State: 98:[102, 4], Operations: ['23+79=102', '14-10=4']
Exploring Operation: 102-4=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
49,
75,
36,
6
] | 16 | [
"75-49=26",
"36+6=42",
"42-26=16"
] | Current State: 16:[49, 75, 36, 6], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [36, 6, 26]
Generated Node #2: [36, 6, 26] from Operation: 75-49=26
Current State: 16:[36, 6, 26], Operations: ['75-49=26']
Exploring Operation: 36+6=42, Resulting Numbers: [26, 42]
Generated Node #3: [26, 42] from Operation: 36+6=42
Current State: 16:[26, 42], Operations: ['75-49=26', '36+6=42']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[49, 75, 36, 6], Operations: []
Exploring Operation: 75-36=39, Resulting Numbers: [49, 6, 39]
Generated Node #0,0: 16:[49, 6, 39] Operation: 75-36=39
Exploring Operation: 75-49=26, Resulting Numbers: [36, 6, 26]
Generated Node #0,1: 16:[36, 6, 26] Operation: 75-49=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[36, 6, 26], Operations: ['75-49=26']
Exploring Operation: 36-26=10, Resulting Numbers: [6, 10]
Generated Node #0,1,0: 16:[6, 10] Operation: 36-26=10
Exploring Operation: 36/6=6, Resulting Numbers: [26, 6]
Generated Node #0,1,1: 16:[26, 6] Operation: 36/6=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[6, 10], Operations: ['75-49=26', '36-26=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[49, 75, 36, 6], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [36, 6, 26]
Generated Node #0,1: 16:[36, 6, 26] Operation: 75-49=26
Moving to Node #0,1
Current State: 16:[36, 6, 26], Operations: ['75-49=26']
Exploring Operation: 36-26=10, Resulting Numbers: [6, 10]
Generated Node #0,1,0: 16:[6, 10] Operation: 36-26=10
Moving to Node #0,1,0
Current State: 16:[6, 10], Operations: ['75-49=26', '36-26=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
44,
29,
45,
28
] | 89 | [
"44+45=89",
"29-28=1",
"89*1=89"
] | Current State: 89:[44, 29, 45, 28], Operations: []
Exploring Operation: 44+45=89, Resulting Numbers: [29, 28, 89]
Generated Node #2: [29, 28, 89] from Operation: 44+45=89
Current State: 89:[29, 28, 89], Operations: ['44+45=89']
Exploring Operation: 29-28=1, Resulting Numbers: [89, 1]
Generated Node #3: [89, 1] from Operation: 29-28=1
Current State: 89:[89, 1], Operations: ['44+45=89', '29-28=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[44, 29, 45, 28], Operations: []
Exploring Operation: 29+28=57, Resulting Numbers: [44, 45, 57]
Generated Node #0,0: 89:[44, 45, 57] Operation: 29+28=57
Exploring Operation: 44+29=73, Resulting Numbers: [45, 28, 73]
Generated Node #0,1: 89:[45, 28, 73] Operation: 44+29=73
Exploring Operation: 44+28=72, Resulting Numbers: [29, 45, 72]
Generated Node #0,2: 89:[29, 45, 72] Operation: 44+28=72
Exploring Operation: 44+45=89, Resulting Numbers: [29, 28, 89]
Generated Node #0,3: 89:[29, 28, 89] Operation: 44+45=89
Exploring Operation: 29+45=74, Resulting Numbers: [44, 28, 74]
Generated Node #0,4: 89:[44, 28, 74] Operation: 29+45=74
Moving to Node #0,0
Current State: 89:[44, 45, 57], Operations: ['29+28=57']
Exploring Operation: 44+57=101, Resulting Numbers: [45, 101]
Generated Node #0,0,0: 89:[45, 101] Operation: 44+57=101
Exploring Operation: 57-44=13, Resulting Numbers: [45, 13]
Generated Node #0,0,1: 89:[45, 13] Operation: 57-44=13
Exploring Operation: 44+45=89, Resulting Numbers: [57, 89]
Generated Node #0,0,2: 89:[57, 89] Operation: 44+45=89
Exploring Operation: 45-44=1, Resulting Numbers: [57, 1]
Generated Node #0,0,3: 89:[57, 1] Operation: 45-44=1
Exploring Operation: 45+57=102, Resulting Numbers: [44, 102]
Generated Node #0,0,4: 89:[44, 102] Operation: 45+57=102
Moving to Node #0,2
Current State: 89:[29, 45, 72], Operations: ['44+28=72']
Exploring Operation: 45-29=16, Resulting Numbers: [72, 16]
Generated Node #0,2,0: 89:[72, 16] Operation: 45-29=16
Exploring Operation: 29+72=101, Resulting Numbers: [45, 101]
Generated Node #0,2,1: 89:[45, 101] Operation: 29+72=101
Exploring Operation: 45+72=117, Resulting Numbers: [29, 117]
Generated Node #0,2,2: 89:[29, 117] Operation: 45+72=117
Exploring Operation: 29+45=74, Resulting Numbers: [72, 74]
Generated Node #0,2,3: 89:[72, 74] Operation: 29+45=74
Exploring Operation: 72-29=43, Resulting Numbers: [45, 43]
Generated Node #0,2,4: 89:[45, 43] Operation: 72-29=43
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[72, 74], Operations: ['44+28=72', '29+45=74']
Exploring Operation: 72+74=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 72*74=5328, Resulting Numbers: [5328]
5328,89 unequal: No Solution
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,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,2,1
Current State: 89:[45, 101], Operations: ['44+28=72', '29+72=101']
Exploring Operation: 45+101=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 45*101=4545, Resulting Numbers: [4545]
4545,89 unequal: No Solution
Exploring Operation: 101-45=56, Resulting Numbers: [56]
56,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,2,2
Current State: 89:[29, 117], Operations: ['44+28=72', '45+72=117']
Exploring Operation: 29*117=3393, Resulting Numbers: [3393]
3393,89 unequal: No Solution
Exploring Operation: 29+117=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 117-29=88, Resulting Numbers: [88]
88,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,2,0
Current State: 89:[72, 16], Operations: ['44+28=72', '45-29=16']
Exploring Operation: 72+16=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 72*16=1152, Resulting Numbers: [1152]
1152,89 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,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,2,4
Current State: 89:[45, 43], Operations: ['44+28=72', '72-29=43']
Exploring Operation: 45*43=1935, Resulting Numbers: [1935]
1935,89 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,89 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: 89:[44, 28, 74], Operations: ['29+45=74']
Exploring Operation: 44+74=118, Resulting Numbers: [28, 118]
Generated Node #0,4,0: 89:[28, 118] Operation: 44+74=118
Exploring Operation: 74-28=46, Resulting Numbers: [44, 46]
Generated Node #0,4,1: 89:[44, 46] Operation: 74-28=46
Exploring Operation: 44-28=16, Resulting Numbers: [74, 16]
Generated Node #0,4,2: 89:[74, 16] Operation: 44-28=16
Exploring Operation: 44+28=72, Resulting Numbers: [74, 72]
Generated Node #0,4,3: 89:[74, 72] Operation: 44+28=72
Exploring Operation: 28+74=102, Resulting Numbers: [44, 102]
Generated Node #0,4,4: 89:[44, 102] Operation: 28+74=102
Moving to Node #0,1
Current State: 89:[45, 28, 73], Operations: ['44+29=73']
Exploring Operation: 45+73=118, Resulting Numbers: [28, 118]
Generated Node #0,1,0: 89:[28, 118] Operation: 45+73=118
Exploring Operation: 73-28=45, Resulting Numbers: [45, 45]
Generated Node #0,1,1: 89:[45, 45] Operation: 73-28=45
Exploring Operation: 45+28=73, Resulting Numbers: [73, 73]
Generated Node #0,1,2: 89:[73, 73] Operation: 45+28=73
Exploring Operation: 28+73=101, Resulting Numbers: [45, 101]
Generated Node #0,1,3: 89:[45, 101] Operation: 28+73=101
Exploring Operation: 45-28=17, Resulting Numbers: [73, 17]
Generated Node #0,1,4: 89:[73, 17] Operation: 45-28=17
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[73, 73], Operations: ['44+29=73', '45+28=73']
Exploring Operation: 73*73=5329, Resulting Numbers: [5329]
5329,89 unequal: No Solution
Exploring Operation: 73/73=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Exploring Operation: 73-73=0, Resulting Numbers: [0]
0,89 unequal: No Solution
Exploring Operation: 73+73=146, Resulting Numbers: [146]
146,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,3
Current State: 89:[45, 101], Operations: ['44+29=73', '28+73=101']
Exploring Operation: 101-45=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 45*101=4545, Resulting Numbers: [4545]
4545,89 unequal: No Solution
Exploring Operation: 45+101=146, Resulting Numbers: [146]
146,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[45, 45], Operations: ['44+29=73', '73-28=45']
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,89 unequal: No Solution
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Exploring Operation: 45*45=2025, Resulting Numbers: [2025]
2025,89 unequal: No Solution
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,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,4
Current State: 89:[73, 17], Operations: ['44+29=73', '45-28=17']
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 73*17=1241, Resulting Numbers: [1241]
1241,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,0
Current State: 89:[28, 118], Operations: ['44+29=73', '45+73=118']
Exploring Operation: 28*118=3304, Resulting Numbers: [3304]
3304,89 unequal: No Solution
Exploring Operation: 118-28=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 28+118=146, Resulting Numbers: [146]
146,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 89:[29, 28, 89], Operations: ['44+45=89']
Exploring Operation: 28+89=117, Resulting Numbers: [29, 117]
Generated Node #0,3,0: 89:[29, 117] Operation: 28+89=117
Exploring Operation: 29+89=118, Resulting Numbers: [28, 118]
Generated Node #0,3,1: 89:[28, 118] Operation: 29+89=118
Exploring Operation: 89-28=61, Resulting Numbers: [29, 61]
Generated Node #0,3,2: 89:[29, 61] Operation: 89-28=61
Exploring Operation: 29+28=57, Resulting Numbers: [89, 57]
Generated Node #0,3,3: 89:[89, 57] Operation: 29+28=57
Exploring Operation: 29-28=1, Resulting Numbers: [89, 1]
Generated Node #0,3,4: 89:[89, 1] Operation: 29-28=1
Moving to Node #0,0,2
Current State: 89:[57, 89], Operations: ['29+28=57', '44+45=89']
Exploring Operation: 57+89=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 57*89=5073, Resulting Numbers: [5073]
5073,89 unequal: No Solution
Exploring Operation: 89-57=32, Resulting Numbers: [32]
32,89 unequal: No Solution
Moving to Node #0,4,3
Current State: 89:[74, 72], Operations: ['29+45=74', '44+28=72']
Exploring Operation: 74*72=5328, Resulting Numbers: [5328]
5328,89 unequal: No Solution
Exploring Operation: 74+72=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[89, 57], Operations: ['44+45=89', '29+28=57']
Exploring Operation: 89*57=5073, Resulting Numbers: [5073]
5073,89 unequal: No Solution
Exploring Operation: 89-57=32, Resulting Numbers: [32]
32,89 unequal: No Solution
Exploring Operation: 89+57=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[45, 101], Operations: ['29+28=57', '44+57=101']
Exploring Operation: 101-45=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 45+101=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 45*101=4545, Resulting Numbers: [4545]
4545,89 unequal: No Solution
Moving to Node #0,4,4
Current State: 89:[44, 102], Operations: ['29+45=74', '28+74=102']
Exploring Operation: 44*102=4488, Resulting Numbers: [4488]
4488,89 unequal: No Solution
Exploring Operation: 102-44=58, Resulting Numbers: [58]
58,89 unequal: No Solution
Exploring Operation: 44+102=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[44, 102], Operations: ['29+28=57', '45+57=102']
Exploring Operation: 44*102=4488, Resulting Numbers: [4488]
4488,89 unequal: No Solution
Exploring Operation: 44+102=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 102-44=58, Resulting Numbers: [58]
58,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[89, 1], Operations: ['44+45=89', '29-28=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[44, 29, 45, 28], Operations: []
Exploring Operation: 44+45=89, Resulting Numbers: [29, 28, 89]
Generated Node #0,3: 89:[29, 28, 89] Operation: 44+45=89
Moving to Node #0,3
Current State: 89:[29, 28, 89], Operations: ['44+45=89']
Exploring Operation: 29-28=1, Resulting Numbers: [89, 1]
Generated Node #0,3,4: 89:[89, 1] Operation: 29-28=1
Moving to Node #0,3,4
Current State: 89:[89, 1], Operations: ['44+45=89', '29-28=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 0.926215 | hs_5 | sum_heuristic |
[
60,
12,
19,
22
] | 91 | [
"60/12=5",
"22*5=110",
"110-19=91"
] | Current State: 91:[60, 12, 19, 22], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [19, 22, 5]
Generated Node #2: [19, 22, 5] from Operation: 60/12=5
Current State: 91:[19, 22, 5], Operations: ['60/12=5']
Exploring Operation: 22*5=110, Resulting Numbers: [19, 110]
Generated Node #3: [19, 110] from Operation: 22*5=110
Current State: 91:[19, 110], Operations: ['60/12=5', '22*5=110']
Exploring Operation: 110-19=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[60, 12, 19, 22], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [19, 22, 5]
Generated Node #0,0: 91:[19, 22, 5] Operation: 60/12=5
Exploring Operation: 60+22=82, Resulting Numbers: [12, 19, 82]
Generated Node #0,1: 91:[12, 19, 82] Operation: 60+22=82
Exploring Operation: 60+19=79, Resulting Numbers: [12, 22, 79]
Generated Node #0,2: 91:[12, 22, 79] Operation: 60+19=79
Moving to Node #0,1
Current State: 91:[12, 19, 82], Operations: ['60+22=82']
Exploring Operation: 19+82=101, Resulting Numbers: [12, 101]
Generated Node #0,1,0: 91:[12, 101] Operation: 19+82=101
Exploring Operation: 12+82=94, Resulting Numbers: [19, 94]
Generated Node #0,1,1: 91:[19, 94] Operation: 12+82=94
Exploring Operation: 19-12=7, Resulting Numbers: [82, 7]
Generated Node #0,1,2: 91:[82, 7] Operation: 19-12=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[19, 94], Operations: ['60+22=82', '12+82=94']
Exploring Operation: 19*94=1786, Resulting Numbers: [1786]
1786,91 unequal: No Solution
Exploring Operation: 19+94=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Exploring Operation: 94-19=75, Resulting Numbers: [75]
75,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[82, 7], Operations: ['60+22=82', '19-12=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,91 unequal: No Solution
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,91 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[12, 101], Operations: ['60+22=82', '19+82=101']
Exploring Operation: 101-12=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 12*101=1212, Resulting Numbers: [1212]
1212,91 unequal: No Solution
Exploring Operation: 12+101=113, Resulting Numbers: [113]
113,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 91:[19, 22, 5], Operations: ['60/12=5']
Exploring Operation: 22-5=17, Resulting Numbers: [19, 17]
Generated Node #0,0,0: 91:[19, 17] Operation: 22-5=17
Exploring Operation: 19-5=14, Resulting Numbers: [22, 14]
Generated Node #0,0,1: 91:[22, 14] Operation: 19-5=14
Exploring Operation: 22-19=3, Resulting Numbers: [5, 3]
Generated Node #0,0,2: 91:[5, 3] Operation: 22-19=3
Moving to Node #0,2
Current State: 91:[12, 22, 79], Operations: ['60+19=79']
Exploring Operation: 12+79=91, Resulting Numbers: [22, 91]
Generated Node #0,2,0: 91:[22, 91] Operation: 12+79=91
Exploring Operation: 22+79=101, Resulting Numbers: [12, 101]
Generated Node #0,2,1: 91:[12, 101] Operation: 22+79=101
Exploring Operation: 22-12=10, Resulting Numbers: [79, 10]
Generated Node #0,2,2: 91:[79, 10] Operation: 22-12=10
Moving to Node #0,0,2
Current State: 91:[5, 3], Operations: ['60/12=5', '22-19=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[22, 91], Operations: ['60+19=79', '12+79=91']
Exploring Operation: 22*91=2002, Resulting Numbers: [2002]
2002,91 unequal: No Solution
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 22+91=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[22, 14], Operations: ['60/12=5', '19-5=14']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[19, 17], Operations: ['60/12=5', '22-5=17']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,91 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[12, 101], Operations: ['60+19=79', '22+79=101']
Exploring Operation: 101-12=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 12*101=1212, Resulting Numbers: [1212]
1212,91 unequal: No Solution
Exploring Operation: 12+101=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[79, 10], Operations: ['60+19=79', '22-12=10']
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 79*10=790, Resulting Numbers: [790]
790,91 unequal: No Solution
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,91 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
18,
12,
20,
16
] | 13 | [
"16-12=4",
"20/4=5",
"18-5=13"
] | Current State: 13:[18, 12, 20, 16], Operations: []
Exploring Operation: 16-12=4, Resulting Numbers: [18, 20, 4]
Generated Node #2: [18, 20, 4] from Operation: 16-12=4
Current State: 13:[18, 20, 4], Operations: ['16-12=4']
Exploring Operation: 20/4=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 20/4=5
Current State: 13:[18, 5], Operations: ['16-12=4', '20/4=5']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[18, 12, 20, 16], Operations: []
Exploring Operation: 20-12=8, Resulting Numbers: [18, 16, 8]
Generated Node #0,0: 13:[18, 16, 8] Operation: 20-12=8
Exploring Operation: 20-18=2, Resulting Numbers: [12, 16, 2]
Generated Node #0,1: 13:[12, 16, 2] Operation: 20-18=2
Exploring Operation: 18-12=6, Resulting Numbers: [20, 16, 6]
Generated Node #0,2: 13:[20, 16, 6] Operation: 18-12=6
Exploring Operation: 20-16=4, Resulting Numbers: [18, 12, 4]
Generated Node #0,3: 13:[18, 12, 4] Operation: 20-16=4
Moving to Node #0,0
Current State: 13:[18, 16, 8], Operations: ['20-12=8']
Exploring Operation: 16-8=8, Resulting Numbers: [18, 8]
Generated Node #0,0,0: 13:[18, 8] Operation: 16-8=8
Exploring Operation: 18+8=26, Resulting Numbers: [16, 26]
Generated Node #0,0,1: 13:[16, 26] Operation: 18+8=26
Exploring Operation: 18-16=2, Resulting Numbers: [8, 2]
Generated Node #0,0,2: 13:[8, 2] Operation: 18-16=2
Exploring Operation: 18-8=10, Resulting Numbers: [16, 10]
Generated Node #0,0,3: 13:[16, 10] Operation: 18-8=10
Moving to Node #0,3
Current State: 13:[18, 12, 4], Operations: ['20-16=4']
Exploring Operation: 12-4=8, Resulting Numbers: [18, 8]
Generated Node #0,3,0: 13:[18, 8] Operation: 12-4=8
Exploring Operation: 12+4=16, Resulting Numbers: [18, 16]
Generated Node #0,3,1: 13:[18, 16] Operation: 12+4=16
Exploring Operation: 18+4=22, Resulting Numbers: [12, 22]
Generated Node #0,3,2: 13:[12, 22] Operation: 18+4=22
Exploring Operation: 18-4=14, Resulting Numbers: [12, 14]
Generated Node #0,3,3: 13:[12, 14] Operation: 18-4=14
Moving to Node #0,1
Current State: 13:[12, 16, 2], Operations: ['20-18=2']
Exploring Operation: 16+2=18, Resulting Numbers: [12, 18]
Generated Node #0,1,0: 13:[12, 18] Operation: 16+2=18
Exploring Operation: 16-2=14, Resulting Numbers: [12, 14]
Generated Node #0,1,1: 13:[12, 14] Operation: 16-2=14
Exploring Operation: 12-2=10, Resulting Numbers: [16, 10]
Generated Node #0,1,2: 13:[16, 10] Operation: 12-2=10
Exploring Operation: 12+2=14, Resulting Numbers: [16, 14]
Generated Node #0,1,3: 13:[16, 14] Operation: 12+2=14
Moving to Node #0,2
Current State: 13:[20, 16, 6], Operations: ['18-12=6']
Exploring Operation: 20+6=26, Resulting Numbers: [16, 26]
Generated Node #0,2,0: 13:[16, 26] Operation: 20+6=26
Exploring Operation: 20-16=4, Resulting Numbers: [6, 4]
Generated Node #0,2,1: 13:[6, 4] Operation: 20-16=4
Exploring Operation: 20-6=14, Resulting Numbers: [16, 14]
Generated Node #0,2,2: 13:[16, 14] Operation: 20-6=14
Exploring Operation: 16-6=10, Resulting Numbers: [20, 10]
Generated Node #0,2,3: 13:[20, 10] Operation: 16-6=10
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[16, 14], Operations: ['18-12=6', '20-6=14']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[20, 10], Operations: ['18-12=6', '16-6=10']
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,13 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[16, 26], Operations: ['18-12=6', '20+6=26']
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[6, 4], Operations: ['18-12=6', '20-16=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 13:[12, 14], Operations: ['20-16=4', '18-4=14']
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[12, 14], Operations: ['20-18=2', '16-2=14']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[16, 14], Operations: ['20-18=2', '12+2=14']
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,13 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[16, 10], Operations: ['20-18=2', '12-2=10']
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,13 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[12, 18], Operations: ['20-18=2', '16+2=18']
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,13 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[16, 10], Operations: ['20-12=8', '18-8=10']
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,13 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[18, 16], Operations: ['20-16=4', '12+4=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,13 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Moving to Node #0,3,0
Current State: 13:[18, 8], Operations: ['20-16=4', '12-4=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[18, 8], Operations: ['20-12=8', '16-8=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,13 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[12, 22], Operations: ['20-16=4', '18+4=22']
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,13 unequal: No Solution
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[8, 2], Operations: ['20-12=8', '18-16=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[16, 26], Operations: ['20-12=8', '18+8=26']
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,13 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
59,
23,
71,
5
] | 37 | [
"71-59=12",
"5*12=60",
"60-23=37"
] | Current State: 37:[59, 23, 71, 5], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [23, 5, 12]
Generated Node #2: [23, 5, 12] from Operation: 71-59=12
Current State: 37:[23, 5, 12], Operations: ['71-59=12']
Exploring Operation: 5*12=60, Resulting Numbers: [23, 60]
Generated Node #3: [23, 60] from Operation: 5*12=60
Current State: 37:[23, 60], Operations: ['71-59=12', '5*12=60']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[59, 23, 71, 5], Operations: []
Exploring Operation: 59-5=54, Resulting Numbers: [23, 71, 54]
Generated Node #0,0: 37:[23, 71, 54] Operation: 59-5=54
Exploring Operation: 71-23=48, Resulting Numbers: [59, 5, 48]
Generated Node #0,1: 37:[59, 5, 48] Operation: 71-23=48
Exploring Operation: 23+5=28, Resulting Numbers: [59, 71, 28]
Generated Node #0,2: 37:[59, 71, 28] Operation: 23+5=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[23, 71, 54], Operations: ['59-5=54']
Exploring Operation: 54-23=31, Resulting Numbers: [71, 31]
Generated Node #0,0,0: 37:[71, 31] Operation: 54-23=31
Exploring Operation: 71-23=48, Resulting Numbers: [54, 48]
Generated Node #0,0,1: 37:[54, 48] Operation: 71-23=48
Exploring Operation: 71-54=17, Resulting Numbers: [23, 17]
Generated Node #0,0,2: 37:[23, 17] Operation: 71-54=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[54, 48], Operations: ['59-5=54', '71-23=48']
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 54*48=2592, Resulting Numbers: [2592]
2592,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[23, 17], Operations: ['59-5=54', '71-54=17']
Exploring Operation: 23*17=391, Resulting Numbers: [391]
391,37 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 23+17=40, Resulting Numbers: [40]
40,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[71, 31], Operations: ['59-5=54', '54-23=31']
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[59, 5, 48], Operations: ['71-23=48']
Exploring Operation: 48-5=43, Resulting Numbers: [59, 43]
Generated Node #0,1,0: 37:[59, 43] Operation: 48-5=43
Exploring Operation: 59-5=54, Resulting Numbers: [48, 54]
Generated Node #0,1,1: 37:[48, 54] Operation: 59-5=54
Exploring Operation: 59+5=64, Resulting Numbers: [48, 64]
Generated Node #0,1,2: 37:[48, 64] Operation: 59+5=64
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[59, 43], Operations: ['71-23=48', '48-5=43']
Exploring Operation: 59+43=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Exploring Operation: 59*43=2537, Resulting Numbers: [2537]
2537,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[48, 54], Operations: ['71-23=48', '59-5=54']
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,37 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[48, 64], Operations: ['71-23=48', '59+5=64']
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,37 unequal: No Solution
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,37 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[59, 71, 28], Operations: ['23+5=28']
Exploring Operation: 71-59=12, Resulting Numbers: [28, 12]
Generated Node #0,2,0: 37:[28, 12] Operation: 71-59=12
Exploring Operation: 59-28=31, Resulting Numbers: [71, 31]
Generated Node #0,2,1: 37:[71, 31] Operation: 59-28=31
Exploring Operation: 71-28=43, Resulting Numbers: [59, 43]
Generated Node #0,2,2: 37:[59, 43] Operation: 71-28=43
Moving to Node #0,2,2
Current State: 37:[59, 43], Operations: ['23+5=28', '71-28=43']
Exploring Operation: 59+43=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Exploring Operation: 59*43=2537, Resulting Numbers: [2537]
2537,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[28, 12], Operations: ['23+5=28', '71-59=12']
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,37 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[71, 31], Operations: ['23+5=28', '59-28=31']
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,37 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 |
[
17,
31,
52,
54
] | 65 | [
"54-52=2",
"17*2=34",
"31+34=65"
] | Current State: 65:[17, 31, 52, 54], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [17, 31, 2]
Generated Node #2: [17, 31, 2] from Operation: 54-52=2
Current State: 65:[17, 31, 2], Operations: ['54-52=2']
Exploring Operation: 17*2=34, Resulting Numbers: [31, 34]
Generated Node #3: [31, 34] from Operation: 17*2=34
Current State: 65:[31, 34], Operations: ['54-52=2', '17*2=34']
Exploring Operation: 31+34=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[17, 31, 52, 54], Operations: []
Exploring Operation: 54-31=23, Resulting Numbers: [17, 52, 23]
Generated Node #0,0: 65:[17, 52, 23] Operation: 54-31=23
Exploring Operation: 31-17=14, Resulting Numbers: [52, 54, 14]
Generated Node #0,1: 65:[52, 54, 14] Operation: 31-17=14
Exploring Operation: 54-52=2, Resulting Numbers: [17, 31, 2]
Generated Node #0,2: 65:[17, 31, 2] Operation: 54-52=2
Exploring Operation: 52-31=21, Resulting Numbers: [17, 54, 21]
Generated Node #0,3: 65:[17, 54, 21] Operation: 52-31=21
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[17, 54, 21], Operations: ['52-31=21']
Exploring Operation: 17+54=71, Resulting Numbers: [21, 71]
Generated Node #0,3,0: 65:[21, 71] Operation: 17+54=71
Exploring Operation: 54+21=75, Resulting Numbers: [17, 75]
Generated Node #0,3,1: 65:[17, 75] Operation: 54+21=75
Exploring Operation: 21-17=4, Resulting Numbers: [54, 4]
Generated Node #0,3,2: 65:[54, 4] Operation: 21-17=4
Exploring Operation: 54-21=33, Resulting Numbers: [17, 33]
Generated Node #0,3,3: 65:[17, 33] Operation: 54-21=33
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 65:[54, 4], Operations: ['52-31=21', '21-17=4']
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,65 unequal: No Solution
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 65:[21, 71], Operations: ['52-31=21', '17+54=71']
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 21*71=1491, Resulting Numbers: [1491]
1491,65 unequal: No Solution
Exploring Operation: 21+71=92, Resulting Numbers: [92]
92,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 65:[17, 75], Operations: ['52-31=21', '54+21=75']
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 65:[17, 33], Operations: ['52-31=21', '54-21=33']
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,65 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[52, 54, 14], Operations: ['31-17=14']
Exploring Operation: 54+14=68, Resulting Numbers: [52, 68]
Generated Node #0,1,0: 65:[52, 68] Operation: 54+14=68
Exploring Operation: 54-52=2, Resulting Numbers: [14, 2]
Generated Node #0,1,1: 65:[14, 2] Operation: 54-52=2
Exploring Operation: 52-14=38, Resulting Numbers: [54, 38]
Generated Node #0,1,2: 65:[54, 38] Operation: 52-14=38
Exploring Operation: 52+14=66, Resulting Numbers: [54, 66]
Generated Node #0,1,3: 65:[54, 66] Operation: 52+14=66
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[14, 2], Operations: ['31-17=14', '54-52=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 65:[54, 66], Operations: ['31-17=14', '52+14=66']
Exploring Operation: 54+66=120, Resulting Numbers: [120]
120,65 unequal: No Solution
Exploring Operation: 54*66=3564, Resulting Numbers: [3564]
3564,65 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[52, 68], Operations: ['31-17=14', '54+14=68']
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 52+68=120, Resulting Numbers: [120]
120,65 unequal: No Solution
Exploring Operation: 52*68=3536, Resulting Numbers: [3536]
3536,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 65:[54, 38], Operations: ['31-17=14', '52-14=38']
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,65 unequal: No Solution
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[17, 31, 2], Operations: ['54-52=2']
Exploring Operation: 31-17=14, Resulting Numbers: [2, 14]
Generated Node #0,2,0: 65:[2, 14] Operation: 31-17=14
Exploring Operation: 31*2=62, Resulting Numbers: [17, 62]
Generated Node #0,2,1: 65:[17, 62] Operation: 31*2=62
Exploring Operation: 17+31=48, Resulting Numbers: [2, 48]
Generated Node #0,2,2: 65:[2, 48] Operation: 17+31=48
Exploring Operation: 17-2=15, Resulting Numbers: [31, 15]
Generated Node #0,2,3: 65:[31, 15] Operation: 17-2=15
Moving to Node #0,2,0
Current State: 65:[2, 14], Operations: ['54-52=2', '31-17=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[17, 62], Operations: ['54-52=2', '31*2=62']
Exploring Operation: 17*62=1054, Resulting Numbers: [1054]
1054,65 unequal: No Solution
Exploring Operation: 17+62=79, Resulting Numbers: [79]
79,65 unequal: No Solution
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[31, 15], Operations: ['54-52=2', '17-2=15']
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,65 unequal: No Solution
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[2, 48], Operations: ['54-52=2', '17+31=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,65 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,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
Current State: 65:[17, 52, 23], Operations: ['54-31=23']
Exploring Operation: 23-17=6, Resulting Numbers: [52, 6]
Generated Node #0,0,0: 65:[52, 6] Operation: 23-17=6
Exploring Operation: 17+52=69, Resulting Numbers: [23, 69]
Generated Node #0,0,1: 65:[23, 69] Operation: 17+52=69
Exploring Operation: 52-23=29, Resulting Numbers: [17, 29]
Generated Node #0,0,2: 65:[17, 29] Operation: 52-23=29
Exploring Operation: 52+23=75, Resulting Numbers: [17, 75]
Generated Node #0,0,3: 65:[17, 75] Operation: 52+23=75
Moving to Node #0,0,0
Current State: 65:[52, 6], Operations: ['54-31=23', '23-17=6']
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,65 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[17, 75], Operations: ['54-31=23', '52+23=75']
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[23, 69], Operations: ['54-31=23', '17+52=69']
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 69-23=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 23*69=1587, Resulting Numbers: [1587]
1587,65 unequal: No Solution
Exploring Operation: 23+69=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[17, 29], Operations: ['54-31=23', '52-23=29']
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,65 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 |
[
47,
29,
62,
95
] | 45 | [
"29+95=124",
"124/62=2",
"47-2=45"
] | Current State: 45:[47, 29, 62, 95], Operations: []
Exploring Operation: 29+95=124, Resulting Numbers: [47, 62, 124]
Generated Node #2: [47, 62, 124] from Operation: 29+95=124
Current State: 45:[47, 62, 124], Operations: ['29+95=124']
Exploring Operation: 124/62=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 124/62=2
Current State: 45:[47, 2], Operations: ['29+95=124', '124/62=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[47, 29, 62, 95], Operations: []
Exploring Operation: 62-47=15, Resulting Numbers: [29, 95, 15]
Generated Node #0,0: 45:[29, 95, 15] Operation: 62-47=15
Exploring Operation: 95-29=66, Resulting Numbers: [47, 62, 66]
Generated Node #0,1: 45:[47, 62, 66] Operation: 95-29=66
Exploring Operation: 95-62=33, Resulting Numbers: [47, 29, 33]
Generated Node #0,2: 45:[47, 29, 33] Operation: 95-62=33
Exploring Operation: 95-47=48, Resulting Numbers: [29, 62, 48]
Generated Node #0,3: 45:[29, 62, 48] Operation: 95-47=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[47, 29, 33], Operations: ['95-62=33']
Exploring Operation: 47-33=14, Resulting Numbers: [29, 14]
Generated Node #0,2,0: 45:[29, 14] Operation: 47-33=14
Exploring Operation: 29+33=62, Resulting Numbers: [47, 62]
Generated Node #0,2,1: 45:[47, 62] Operation: 29+33=62
Exploring Operation: 33-29=4, Resulting Numbers: [47, 4]
Generated Node #0,2,2: 45:[47, 4] Operation: 33-29=4
Exploring Operation: 47-29=18, Resulting Numbers: [33, 18]
Generated Node #0,2,3: 45:[33, 18] Operation: 47-29=18
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 45:[47, 4], Operations: ['95-62=33', '33-29=4']
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,45 unequal: No Solution
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[29, 14], Operations: ['95-62=33', '47-33=14']
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 45:[33, 18], Operations: ['95-62=33', '47-29=18']
Exploring Operation: 33*18=594, Resulting Numbers: [594]
594,45 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 45:[47, 62], Operations: ['95-62=33', '29+33=62']
Exploring Operation: 47+62=109, Resulting Numbers: [109]
109,45 unequal: No Solution
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 47*62=2914, Resulting Numbers: [2914]
2914,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[29, 62, 48], Operations: ['95-47=48']
Exploring Operation: 62-29=33, Resulting Numbers: [48, 33]
Generated Node #0,3,0: 45:[48, 33] Operation: 62-29=33
Exploring Operation: 29+62=91, Resulting Numbers: [48, 91]
Generated Node #0,3,1: 45:[48, 91] Operation: 29+62=91
Exploring Operation: 48-29=19, Resulting Numbers: [62, 19]
Generated Node #0,3,2: 45:[62, 19] Operation: 48-29=19
Exploring Operation: 62-48=14, Resulting Numbers: [29, 14]
Generated Node #0,3,3: 45:[29, 14] Operation: 62-48=14
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 45:[48, 33], Operations: ['95-47=48', '62-29=33']
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 48*33=1584, Resulting Numbers: [1584]
1584,45 unequal: No Solution
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,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,3,3
Current State: 45:[29, 14], Operations: ['95-47=48', '62-48=14']
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,45 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,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,3,2
Current State: 45:[62, 19], Operations: ['95-47=48', '48-29=19']
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,45 unequal: No Solution
Exploring Operation: 62*19=1178, Resulting Numbers: [1178]
1178,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,3,1
Current State: 45:[48, 91], Operations: ['95-47=48', '29+62=91']
Exploring Operation: 48+91=139, Resulting Numbers: [139]
139,45 unequal: No Solution
Exploring Operation: 48*91=4368, Resulting Numbers: [4368]
4368,45 unequal: No Solution
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[47, 62, 66], Operations: ['95-29=66']
Exploring Operation: 66-62=4, Resulting Numbers: [47, 4]
Generated Node #0,1,0: 45:[47, 4] Operation: 66-62=4
Exploring Operation: 62-47=15, Resulting Numbers: [66, 15]
Generated Node #0,1,1: 45:[66, 15] Operation: 62-47=15
Exploring Operation: 47+62=109, Resulting Numbers: [66, 109]
Generated Node #0,1,2: 45:[66, 109] Operation: 47+62=109
Exploring Operation: 66-47=19, Resulting Numbers: [62, 19]
Generated Node #0,1,3: 45:[62, 19] Operation: 66-47=19
Moving to Node #0,1,0
Current State: 45:[47, 4], Operations: ['95-29=66', '66-62=4']
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,45 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Moving to Node #0,1,3
Current State: 45:[62, 19], Operations: ['95-29=66', '66-47=19']
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,45 unequal: No Solution
Exploring Operation: 62*19=1178, Resulting Numbers: [1178]
1178,45 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[66, 15], Operations: ['95-29=66', '62-47=15']
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,45 unequal: No Solution
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,45 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[66, 109], Operations: ['95-29=66', '47+62=109']
Exploring Operation: 66+109=175, Resulting Numbers: [175]
175,45 unequal: No Solution
Exploring Operation: 109-66=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 66*109=7194, Resulting Numbers: [7194]
7194,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[29, 95, 15], Operations: ['62-47=15']
Exploring Operation: 29-15=14, Resulting Numbers: [95, 14]
Generated Node #0,0,0: 45:[95, 14] Operation: 29-15=14
Exploring Operation: 95-15=80, Resulting Numbers: [29, 80]
Generated Node #0,0,1: 45:[29, 80] Operation: 95-15=80
Exploring Operation: 95-29=66, Resulting Numbers: [15, 66]
Generated Node #0,0,2: 45:[15, 66] Operation: 95-29=66
Exploring Operation: 29+15=44, Resulting Numbers: [95, 44]
Generated Node #0,0,3: 45:[95, 44] Operation: 29+15=44
Moving to Node #0,0,2
Current State: 45:[15, 66], Operations: ['62-47=15', '95-29=66']
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,45 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[29, 80], Operations: ['62-47=15', '95-15=80']
Exploring Operation: 29+80=109, Resulting Numbers: [109]
109,45 unequal: No Solution
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 29*80=2320, Resulting Numbers: [2320]
2320,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[95, 44], Operations: ['62-47=15', '29+15=44']
Exploring Operation: 95*44=4180, Resulting Numbers: [4180]
4180,45 unequal: No Solution
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 95+44=139, Resulting Numbers: [139]
139,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[95, 14], Operations: ['62-47=15', '29-15=14']
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,45 unequal: No Solution
Exploring Operation: 95+14=109, Resulting Numbers: [109]
109,45 unequal: No Solution
Exploring Operation: 95*14=1330, Resulting Numbers: [1330]
1330,45 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 |
[
75,
81,
48,
19
] | 73 | [
"81-75=6",
"48+19=67",
"6+67=73"
] | Current State: 73:[75, 81, 48, 19], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [48, 19, 6]
Generated Node #2: [48, 19, 6] from Operation: 81-75=6
Current State: 73:[48, 19, 6], Operations: ['81-75=6']
Exploring Operation: 48+19=67, Resulting Numbers: [6, 67]
Generated Node #3: [6, 67] from Operation: 48+19=67
Current State: 73:[6, 67], Operations: ['81-75=6', '48+19=67']
Exploring Operation: 6+67=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[75, 81, 48, 19], Operations: []
Exploring Operation: 48+19=67, Resulting Numbers: [75, 81, 67]
Generated Node #0,0: 73:[75, 81, 67] Operation: 48+19=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[75, 81, 67], Operations: ['48+19=67']
Exploring Operation: 81-67=14, Resulting Numbers: [75, 14]
Generated Node #0,0,0: 73:[75, 14] Operation: 81-67=14
Moving to Node #0,0,0
Current State: 73:[75, 14], Operations: ['48+19=67', '81-67=14']
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,73 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 |
[
29,
91,
2,
21
] | 66 | [
"29+21=50",
"50/2=25",
"91-25=66"
] | Current State: 66:[29, 91, 2, 21], Operations: []
Exploring Operation: 29+21=50, Resulting Numbers: [91, 2, 50]
Generated Node #2: [91, 2, 50] from Operation: 29+21=50
Current State: 66:[91, 2, 50], Operations: ['29+21=50']
Exploring Operation: 50/2=25, Resulting Numbers: [91, 25]
Generated Node #3: [91, 25] from Operation: 50/2=25
Current State: 66:[91, 25], Operations: ['29+21=50', '50/2=25']
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[29, 91, 2, 21], Operations: []
Exploring Operation: 91-29=62, Resulting Numbers: [2, 21, 62]
Generated Node #0,0: 66:[2, 21, 62] Operation: 91-29=62
Exploring Operation: 91-21=70, Resulting Numbers: [29, 2, 70]
Generated Node #0,1: 66:[29, 2, 70] Operation: 91-21=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[2, 21, 62], Operations: ['91-29=62']
Exploring Operation: 62/2=31, Resulting Numbers: [21, 31]
Generated Node #0,0,0: 66:[21, 31] Operation: 62/2=31
Exploring Operation: 2+62=64, Resulting Numbers: [21, 64]
Generated Node #0,0,1: 66:[21, 64] Operation: 2+62=64
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[21, 31], Operations: ['91-29=62', '62/2=31']
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,66 unequal: No Solution
No 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: 66:[21, 64], Operations: ['91-29=62', '2+62=64']
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,66 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: 66:[29, 2, 70], Operations: ['91-21=70']
Exploring Operation: 29+2=31, Resulting Numbers: [70, 31]
Generated Node #0,1,0: 66:[70, 31] Operation: 29+2=31
Exploring Operation: 70-2=68, Resulting Numbers: [29, 68]
Generated Node #0,1,1: 66:[29, 68] Operation: 70-2=68
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[70, 31], Operations: ['91-21=70', '29+2=31']
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,66 unequal: No Solution
No 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: 66:[29, 68], Operations: ['91-21=70', '70-2=68']
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 29+68=97, Resulting Numbers: [97]
97,66 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 |
[
40,
28,
72,
48
] | 12 | [
"40+28=68",
"72-68=4",
"48/4=12"
] | Current State: 12:[40, 28, 72, 48], Operations: []
Exploring Operation: 40+28=68, Resulting Numbers: [72, 48, 68]
Generated Node #2: [72, 48, 68] from Operation: 40+28=68
Current State: 12:[72, 48, 68], Operations: ['40+28=68']
Exploring Operation: 72-68=4, Resulting Numbers: [48, 4]
Generated Node #3: [48, 4] from Operation: 72-68=4
Current State: 12:[48, 4], Operations: ['40+28=68', '72-68=4']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[40, 28, 72, 48], Operations: []
Exploring Operation: 48-40=8, Resulting Numbers: [28, 72, 8]
Generated Node #0,0: 12:[28, 72, 8] Operation: 48-40=8
Exploring Operation: 72-48=24, Resulting Numbers: [40, 28, 24]
Generated Node #0,1: 12:[40, 28, 24] Operation: 72-48=24
Exploring Operation: 72-40=32, Resulting Numbers: [28, 48, 32]
Generated Node #0,2: 12:[28, 48, 32] Operation: 72-40=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[40, 28, 24], Operations: ['72-48=24']
Exploring Operation: 40-24=16, Resulting Numbers: [28, 16]
Generated Node #0,1,0: 12:[28, 16] Operation: 40-24=16
Exploring Operation: 28-24=4, Resulting Numbers: [40, 4]
Generated Node #0,1,1: 12:[40, 4] Operation: 28-24=4
Exploring Operation: 40-28=12, Resulting Numbers: [24, 12]
Generated Node #0,1,2: 12:[24, 12] Operation: 40-28=12
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 12:[24, 12], Operations: ['72-48=24', '40-28=12']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[40, 28, 72, 48], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [40, 28, 24]
Generated Node #0,1: 12:[40, 28, 24] Operation: 72-48=24
Moving to Node #0,1
Current State: 12:[40, 28, 24], Operations: ['72-48=24']
Exploring Operation: 40-28=12, Resulting Numbers: [24, 12]
Generated Node #0,1,2: 12:[24, 12] Operation: 40-28=12
Moving to Node #0,1,2
Current State: 12:[24, 12], Operations: ['72-48=24', '40-28=12']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
53,
71,
32,
40
] | 54 | [
"71-53=18",
"32+40=72",
"72-18=54"
] | Current State: 54:[53, 71, 32, 40], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [32, 40, 18]
Generated Node #2: [32, 40, 18] from Operation: 71-53=18
Current State: 54:[32, 40, 18], Operations: ['71-53=18']
Exploring Operation: 32+40=72, Resulting Numbers: [18, 72]
Generated Node #3: [18, 72] from Operation: 32+40=72
Current State: 54:[18, 72], Operations: ['71-53=18', '32+40=72']
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[53, 71, 32, 40], Operations: []
Exploring Operation: 71-40=31, Resulting Numbers: [53, 32, 31]
Generated Node #0,0: 54:[53, 32, 31] Operation: 71-40=31
Moving to Node #0,0
Current State: 54:[53, 32, 31], Operations: ['71-40=31']
Exploring Operation: 32-31=1, Resulting Numbers: [53, 1]
Generated Node #0,0,0: 54:[53, 1] Operation: 32-31=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[53, 1], Operations: ['71-40=31', '32-31=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[53, 71, 32, 40], Operations: []
Exploring Operation: 71-40=31, Resulting Numbers: [53, 32, 31]
Generated Node #0,0: 54:[53, 32, 31] Operation: 71-40=31
Moving to Node #0,0
Current State: 54:[53, 32, 31], Operations: ['71-40=31']
Exploring Operation: 32-31=1, Resulting Numbers: [53, 1]
Generated Node #0,0,0: 54:[53, 1] Operation: 32-31=1
Moving to Node #0,0,0
Current State: 54:[53, 1], Operations: ['71-40=31', '32-31=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
6,
25,
18,
76
] | 54 | [
"18/6=3",
"76-25=51",
"3+51=54"
] | Current State: 54:[6, 25, 18, 76], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [25, 76, 3]
Generated Node #2: [25, 76, 3] from Operation: 18/6=3
Current State: 54:[25, 76, 3], Operations: ['18/6=3']
Exploring Operation: 76-25=51, Resulting Numbers: [3, 51]
Generated Node #3: [3, 51] from Operation: 76-25=51
Current State: 54:[3, 51], Operations: ['18/6=3', '76-25=51']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[6, 25, 18, 76], Operations: []
Exploring Operation: 76-25=51, Resulting Numbers: [6, 18, 51]
Generated Node #0,0: 54:[6, 18, 51] Operation: 76-25=51
Exploring Operation: 76-18=58, Resulting Numbers: [6, 25, 58]
Generated Node #0,1: 54:[6, 25, 58] Operation: 76-18=58
Moving to Node #0,0
Current State: 54:[6, 18, 51], Operations: ['76-25=51']
Exploring Operation: 18/6=3, Resulting Numbers: [51, 3]
Generated Node #0,0,0: 54:[51, 3] Operation: 18/6=3
Exploring Operation: 6+51=57, Resulting Numbers: [18, 57]
Generated Node #0,0,1: 54:[18, 57] Operation: 6+51=57
Moving to Node #0,1
Current State: 54:[6, 25, 58], Operations: ['76-18=58']
Exploring Operation: 58-6=52, Resulting Numbers: [25, 52]
Generated Node #0,1,0: 54:[25, 52] Operation: 58-6=52
Exploring Operation: 25-6=19, Resulting Numbers: [58, 19]
Generated Node #0,1,1: 54:[58, 19] Operation: 25-6=19
Moving to Node #0,0,0
Current State: 54:[51, 3], Operations: ['76-25=51', '18/6=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[6, 25, 18, 76], Operations: []
Exploring Operation: 76-25=51, Resulting Numbers: [6, 18, 51]
Generated Node #0,0: 54:[6, 18, 51] Operation: 76-25=51
Moving to Node #0,0
Current State: 54:[6, 18, 51], Operations: ['76-25=51']
Exploring Operation: 18/6=3, Resulting Numbers: [51, 3]
Generated Node #0,0,0: 54:[51, 3] Operation: 18/6=3
Moving to Node #0,0,0
Current State: 54:[51, 3], Operations: ['76-25=51', '18/6=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
26,
86,
6,
21
] | 87 | [
"86-26=60",
"6+21=27",
"60+27=87"
] | Current State: 87:[26, 86, 6, 21], Operations: []
Exploring Operation: 86-26=60, Resulting Numbers: [6, 21, 60]
Generated Node #2: [6, 21, 60] from Operation: 86-26=60
Current State: 87:[6, 21, 60], Operations: ['86-26=60']
Exploring Operation: 6+21=27, Resulting Numbers: [60, 27]
Generated Node #3: [60, 27] from Operation: 6+21=27
Current State: 87:[60, 27], Operations: ['86-26=60', '6+21=27']
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[26, 86, 6, 21], Operations: []
Exploring Operation: 86+6=92, Resulting Numbers: [26, 21, 92]
Generated Node #0,0: 87:[26, 21, 92] Operation: 86+6=92
Exploring Operation: 26+6=32, Resulting Numbers: [86, 21, 32]
Generated Node #0,1: 87:[86, 21, 32] Operation: 26+6=32
Exploring Operation: 26-21=5, Resulting Numbers: [86, 6, 5]
Generated Node #0,2: 87:[86, 6, 5] Operation: 26-21=5
Exploring Operation: 6+21=27, Resulting Numbers: [26, 86, 27]
Generated Node #0,3: 87:[26, 86, 27] Operation: 6+21=27
Moving to Node #0,2
Current State: 87:[86, 6, 5], Operations: ['26-21=5']
Exploring Operation: 6*5=30, Resulting Numbers: [86, 30]
Generated Node #0,2,0: 87:[86, 30] Operation: 6*5=30
Exploring Operation: 6-5=1, Resulting Numbers: [86, 1]
Generated Node #0,2,1: 87:[86, 1] Operation: 6-5=1
Exploring Operation: 86+5=91, Resulting Numbers: [6, 91]
Generated Node #0,2,2: 87:[6, 91] Operation: 86+5=91
Exploring Operation: 86+6=92, Resulting Numbers: [5, 92]
Generated Node #0,2,3: 87:[5, 92] Operation: 86+6=92
Moving to Node #0,3
Current State: 87:[26, 86, 27], Operations: ['6+21=27']
Exploring Operation: 86-26=60, Resulting Numbers: [27, 60]
Generated Node #0,3,0: 87:[27, 60] Operation: 86-26=60
Exploring Operation: 26+27=53, Resulting Numbers: [86, 53]
Generated Node #0,3,1: 87:[86, 53] Operation: 26+27=53
Exploring Operation: 27-26=1, Resulting Numbers: [86, 1]
Generated Node #0,3,2: 87:[86, 1] Operation: 27-26=1
Exploring Operation: 26+86=112, Resulting Numbers: [27, 112]
Generated Node #0,3,3: 87:[27, 112] Operation: 26+86=112
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 87:[86, 1], Operations: ['6+21=27', '27-26=1']
Exploring Operation: 86+1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[26, 86, 6, 21], Operations: []
Exploring Operation: 6+21=27, Resulting Numbers: [26, 86, 27]
Generated Node #0,3: 87:[26, 86, 27] Operation: 6+21=27
Moving to Node #0,3
Current State: 87:[26, 86, 27], Operations: ['6+21=27']
Exploring Operation: 27-26=1, Resulting Numbers: [86, 1]
Generated Node #0,3,2: 87:[86, 1] Operation: 27-26=1
Moving to Node #0,3,2
Current State: 87:[86, 1], Operations: ['6+21=27', '27-26=1']
Exploring Operation: 86+1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
5,
2,
47,
49
] | 86 | [
"5*2=10",
"47+49=96",
"96-10=86"
] | Current State: 86:[5, 2, 47, 49], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [47, 49, 10]
Generated Node #2: [47, 49, 10] from Operation: 5*2=10
Current State: 86:[47, 49, 10], Operations: ['5*2=10']
Exploring Operation: 47+49=96, Resulting Numbers: [10, 96]
Generated Node #3: [10, 96] from Operation: 47+49=96
Current State: 86:[10, 96], Operations: ['5*2=10', '47+49=96']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[5, 2, 47, 49], Operations: []
Exploring Operation: 5-2=3, Resulting Numbers: [47, 49, 3]
Generated Node #0,0: 86:[47, 49, 3] Operation: 5-2=3
Exploring Operation: 49-5=44, Resulting Numbers: [2, 47, 44]
Generated Node #0,1: 86:[2, 47, 44] Operation: 49-5=44
Exploring Operation: 49-47=2, Resulting Numbers: [5, 2, 2]
Generated Node #0,2: 86:[5, 2, 2] Operation: 49-47=2
Exploring Operation: 47-2=45, Resulting Numbers: [5, 49, 45]
Generated Node #0,3: 86:[5, 49, 45] Operation: 47-2=45
Exploring Operation: 47-5=42, Resulting Numbers: [2, 49, 42]
Generated Node #0,4: 86:[2, 49, 42] Operation: 47-5=42
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[5, 2, 2], Operations: ['49-47=2']
Exploring Operation: 5-2=3, Resulting Numbers: [2, 3]
Generated Node #0,2,0: 86:[2, 3] Operation: 5-2=3
Exploring Operation: 2/2=1, Resulting Numbers: [5, 1]
Generated Node #0,2,1: 86:[5, 1] Operation: 2/2=1
Exploring Operation: 5+2=7, Resulting Numbers: [2, 7]
Generated Node #0,2,2: 86:[2, 7] Operation: 5+2=7
Exploring Operation: 5+2=7, Resulting Numbers: [2, 7]
Generated Node #0,2,3: 86:[2, 7] Operation: 5+2=7
Exploring Operation: 5-2=3, Resulting Numbers: [2, 3]
Generated Node #0,2,4: 86:[2, 3] Operation: 5-2=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 86:[2, 3], Operations: ['49-47=2', '5-2=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 86:[2, 3], Operations: ['49-47=2', '5-2=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 86:[5, 1], Operations: ['49-47=2', '2/2=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 86:[2, 7], Operations: ['49-47=2', '5+2=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 86:[2, 7], Operations: ['49-47=2', '5+2=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[2, 47, 44], Operations: ['49-5=44']
Exploring Operation: 47-44=3, Resulting Numbers: [2, 3]
Generated Node #0,1,0: 86:[2, 3] Operation: 47-44=3
Exploring Operation: 2*44=88, Resulting Numbers: [47, 88]
Generated Node #0,1,1: 86:[47, 88] Operation: 2*44=88
Exploring Operation: 47+44=91, Resulting Numbers: [2, 91]
Generated Node #0,1,2: 86:[2, 91] Operation: 47+44=91
Exploring Operation: 44-2=42, Resulting Numbers: [47, 42]
Generated Node #0,1,3: 86:[47, 42] Operation: 44-2=42
Exploring Operation: 47-2=45, Resulting Numbers: [44, 45]
Generated Node #0,1,4: 86:[44, 45] Operation: 47-2=45
Moving to Node #0,1,0
Current State: 86:[2, 3], Operations: ['49-5=44', '47-44=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Moving to Node #0,1,4
Current State: 86:[44, 45], Operations: ['49-5=44', '47-2=45']
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,86 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[2, 91], Operations: ['49-5=44', '47+44=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,86 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[47, 42], Operations: ['49-5=44', '44-2=42']
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,86 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[47, 88], Operations: ['49-5=44', '2*44=88']
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 47*88=4136, Resulting Numbers: [4136]
4136,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[2, 49, 42], Operations: ['47-5=42']
Exploring Operation: 49-42=7, Resulting Numbers: [2, 7]
Generated Node #0,4,0: 86:[2, 7] Operation: 49-42=7
Exploring Operation: 49-2=47, Resulting Numbers: [42, 47]
Generated Node #0,4,1: 86:[42, 47] Operation: 49-2=47
Exploring Operation: 2+42=44, Resulting Numbers: [49, 44]
Generated Node #0,4,2: 86:[49, 44] Operation: 2+42=44
Exploring Operation: 2*42=84, Resulting Numbers: [49, 84]
Generated Node #0,4,3: 86:[49, 84] Operation: 2*42=84
Exploring Operation: 49+42=91, Resulting Numbers: [2, 91]
Generated Node #0,4,4: 86:[2, 91] Operation: 49+42=91
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 86:[2, 7], Operations: ['47-5=42', '49-42=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 86:[42, 47], Operations: ['47-5=42', '49-2=47']
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 86:[2, 91], Operations: ['47-5=42', '49+42=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 86:[49, 44], Operations: ['47-5=42', '2+42=44']
Exploring Operation: 49*44=2156, Resulting Numbers: [2156]
2156,86 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 86:[49, 84], Operations: ['47-5=42', '2*42=84']
Exploring Operation: 49*84=4116, Resulting Numbers: [4116]
4116,86 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 49+84=133, Resulting Numbers: [133]
133,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[47, 49, 3], Operations: ['5-2=3']
Exploring Operation: 47+49=96, Resulting Numbers: [3, 96]
Generated Node #0,0,0: 86:[3, 96] Operation: 47+49=96
Exploring Operation: 49-47=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 86:[3, 2] Operation: 49-47=2
Exploring Operation: 49-3=46, Resulting Numbers: [47, 46]
Generated Node #0,0,2: 86:[47, 46] Operation: 49-3=46
Exploring Operation: 47-3=44, Resulting Numbers: [49, 44]
Generated Node #0,0,3: 86:[49, 44] Operation: 47-3=44
Exploring Operation: 47+3=50, Resulting Numbers: [49, 50]
Generated Node #0,0,4: 86:[49, 50] Operation: 47+3=50
Moving to Node #0,0,1
Current State: 86:[3, 2], Operations: ['5-2=3', '49-47=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[49, 44], Operations: ['5-2=3', '47-3=44']
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 49*44=2156, Resulting Numbers: [2156]
2156,86 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[47, 46], Operations: ['5-2=3', '49-3=46']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 47*46=2162, Resulting Numbers: [2162]
2162,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[3, 96], Operations: ['5-2=3', '47+49=96']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 3*96=288, Resulting Numbers: [288]
288,86 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,86 unequal: No Solution
Moving to Node #0,0,4
Current State: 86:[49, 50], Operations: ['5-2=3', '47+3=50']
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,86 unequal: No Solution
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[5, 49, 45], Operations: ['47-2=45']
Exploring Operation: 45-5=40, Resulting Numbers: [49, 40]
Generated Node #0,3,0: 86:[49, 40] Operation: 45-5=40
Exploring Operation: 49-5=44, Resulting Numbers: [45, 44]
Generated Node #0,3,1: 86:[45, 44] Operation: 49-5=44
Exploring Operation: 5+49=54, Resulting Numbers: [45, 54]
Generated Node #0,3,2: 86:[45, 54] Operation: 5+49=54
Exploring Operation: 49-45=4, Resulting Numbers: [5, 4]
Generated Node #0,3,3: 86:[5, 4] Operation: 49-45=4
Exploring Operation: 49+45=94, Resulting Numbers: [5, 94]
Generated Node #0,3,4: 86:[5, 94] Operation: 49+45=94
Moving to Node #0,3,1
Current State: 86:[45, 44], Operations: ['47-2=45', '49-5=44']
Exploring Operation: 45*44=1980, Resulting Numbers: [1980]
1980,86 unequal: No Solution
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[5, 4], Operations: ['47-2=45', '49-45=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[49, 40], Operations: ['47-2=45', '45-5=40']
Exploring Operation: 49*40=1960, Resulting Numbers: [1960]
1960,86 unequal: No Solution
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Moving to Node #0,3,4
Current State: 86:[5, 94], Operations: ['47-2=45', '49+45=94']
Exploring Operation: 5*94=470, Resulting Numbers: [470]
470,86 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 5+94=99, Resulting Numbers: [99]
99,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[45, 54], Operations: ['47-2=45', '5+49=54']
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,86 unequal: No Solution
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 45*54=2430, Resulting Numbers: [2430]
2430,86 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 |
[
91,
69,
26,
42
] | 38 | [
"91-69=22",
"42-26=16",
"22+16=38"
] | Current State: 38:[91, 69, 26, 42], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [26, 42, 22]
Generated Node #2: [26, 42, 22] from Operation: 91-69=22
Current State: 38:[26, 42, 22], Operations: ['91-69=22']
Exploring Operation: 42-26=16, Resulting Numbers: [22, 16]
Generated Node #3: [22, 16] from Operation: 42-26=16
Current State: 38:[22, 16], Operations: ['91-69=22', '42-26=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[91, 69, 26, 42], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [26, 42, 22]
Generated Node #0,0: 38:[26, 42, 22] Operation: 91-69=22
Moving to Node #0,0
Current State: 38:[26, 42, 22], Operations: ['91-69=22']
Exploring Operation: 42-26=16, Resulting Numbers: [22, 16]
Generated Node #0,0,0: 38:[22, 16] Operation: 42-26=16
Moving to Node #0,0,0
Current State: 38:[22, 16], Operations: ['91-69=22', '42-26=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[91, 69, 26, 42], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [26, 42, 22]
Generated Node #0,0: 38:[26, 42, 22] Operation: 91-69=22
Moving to Node #0,0
Current State: 38:[26, 42, 22], Operations: ['91-69=22']
Exploring Operation: 42-26=16, Resulting Numbers: [22, 16]
Generated Node #0,0,0: 38:[22, 16] Operation: 42-26=16
Moving to Node #0,0,0
Current State: 38:[22, 16], Operations: ['91-69=22', '42-26=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
88,
82,
84,
94
] | 50 | [
"84-82=2",
"88/2=44",
"94-44=50"
] | Current State: 50:[88, 82, 84, 94], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [88, 94, 2]
Generated Node #2: [88, 94, 2] from Operation: 84-82=2
Current State: 50:[88, 94, 2], Operations: ['84-82=2']
Exploring Operation: 88/2=44, Resulting Numbers: [94, 44]
Generated Node #3: [94, 44] from Operation: 88/2=44
Current State: 50:[94, 44], Operations: ['84-82=2', '88/2=44']
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[88, 82, 84, 94], Operations: []
Exploring Operation: 88-84=4, Resulting Numbers: [82, 94, 4]
Generated Node #0,0: 50:[82, 94, 4] Operation: 88-84=4
Exploring Operation: 94-88=6, Resulting Numbers: [82, 84, 6]
Generated Node #0,1: 50:[82, 84, 6] Operation: 94-88=6
Exploring Operation: 94-84=10, Resulting Numbers: [88, 82, 10]
Generated Node #0,2: 50:[88, 82, 10] Operation: 94-84=10
Exploring Operation: 94-82=12, Resulting Numbers: [88, 84, 12]
Generated Node #0,3: 50:[88, 84, 12] Operation: 94-82=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[82, 84, 6], Operations: ['94-88=6']
Exploring Operation: 82-6=76, Resulting Numbers: [84, 76]
Generated Node #0,1,0: 50:[84, 76] Operation: 82-6=76
Exploring Operation: 84-6=78, Resulting Numbers: [82, 78]
Generated Node #0,1,1: 50:[82, 78] Operation: 84-6=78
Exploring Operation: 84/6=14, Resulting Numbers: [82, 14]
Generated Node #0,1,2: 50:[82, 14] Operation: 84/6=14
Exploring Operation: 84-82=2, Resulting Numbers: [6, 2]
Generated Node #0,1,3: 50:[6, 2] Operation: 84-82=2
Moving to Node #0,1,3
Current State: 50:[6, 2], Operations: ['94-88=6', '84-82=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[82, 14], Operations: ['94-88=6', '84/6=14']
Exploring Operation: 82*14=1148, Resulting Numbers: [1148]
1148,50 unequal: No Solution
Exploring Operation: 82+14=96, Resulting Numbers: [96]
96,50 unequal: No Solution
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[82, 78], Operations: ['94-88=6', '84-6=78']
Exploring Operation: 82-78=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 82+78=160, Resulting Numbers: [160]
160,50 unequal: No Solution
Exploring Operation: 82*78=6396, Resulting Numbers: [6396]
6396,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[84, 76], Operations: ['94-88=6', '82-6=76']
Exploring Operation: 84*76=6384, Resulting Numbers: [6384]
6384,50 unequal: No Solution
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 84+76=160, Resulting Numbers: [160]
160,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[88, 82, 10], Operations: ['94-84=10']
Exploring Operation: 88-10=78, Resulting Numbers: [82, 78]
Generated Node #0,2,0: 50:[82, 78] Operation: 88-10=78
Exploring Operation: 82-10=72, Resulting Numbers: [88, 72]
Generated Node #0,2,1: 50:[88, 72] Operation: 82-10=72
Exploring Operation: 88+10=98, Resulting Numbers: [82, 98]
Generated Node #0,2,2: 50:[82, 98] Operation: 88+10=98
Exploring Operation: 88-82=6, Resulting Numbers: [10, 6]
Generated Node #0,2,3: 50:[10, 6] Operation: 88-82=6
Moving to Node #0,2,3
Current State: 50:[10, 6], Operations: ['94-84=10', '88-82=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[88, 72], Operations: ['94-84=10', '82-10=72']
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 88*72=6336, Resulting Numbers: [6336]
6336,50 unequal: No Solution
Exploring Operation: 88+72=160, Resulting Numbers: [160]
160,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[82, 78], Operations: ['94-84=10', '88-10=78']
Exploring Operation: 82-78=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 82*78=6396, Resulting Numbers: [6396]
6396,50 unequal: No Solution
Exploring Operation: 82+78=160, Resulting Numbers: [160]
160,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[82, 98], Operations: ['94-84=10', '88+10=98']
Exploring Operation: 98-82=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 82+98=180, Resulting Numbers: [180]
180,50 unequal: No Solution
Exploring Operation: 82*98=8036, Resulting Numbers: [8036]
8036,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[88, 84, 12], Operations: ['94-82=12']
Exploring Operation: 84/12=7, Resulting Numbers: [88, 7]
Generated Node #0,3,0: 50:[88, 7] Operation: 84/12=7
Exploring Operation: 88-12=76, Resulting Numbers: [84, 76]
Generated Node #0,3,1: 50:[84, 76] Operation: 88-12=76
Exploring Operation: 84-12=72, Resulting Numbers: [88, 72]
Generated Node #0,3,2: 50:[88, 72] Operation: 84-12=72
Exploring Operation: 88-84=4, Resulting Numbers: [12, 4]
Generated Node #0,3,3: 50:[12, 4] Operation: 88-84=4
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 50:[12, 4], Operations: ['94-82=12', '88-84=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 50:[88, 7], Operations: ['94-82=12', '84/12=7']
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,50 unequal: No Solution
Exploring Operation: 88*7=616, Resulting Numbers: [616]
616,50 unequal: No Solution
Exploring Operation: 88+7=95, Resulting Numbers: [95]
95,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 50:[84, 76], Operations: ['94-82=12', '88-12=76']
Exploring Operation: 84+76=160, Resulting Numbers: [160]
160,50 unequal: No Solution
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 84*76=6384, Resulting Numbers: [6384]
6384,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 50:[88, 72], Operations: ['94-82=12', '84-12=72']
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 88+72=160, Resulting Numbers: [160]
160,50 unequal: No Solution
Exploring Operation: 88*72=6336, Resulting Numbers: [6336]
6336,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[82, 94, 4], Operations: ['88-84=4']
Exploring Operation: 94-82=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 50:[4, 12] Operation: 94-82=12
Exploring Operation: 82-4=78, Resulting Numbers: [94, 78]
Generated Node #0,0,1: 50:[94, 78] Operation: 82-4=78
Exploring Operation: 94-4=90, Resulting Numbers: [82, 90]
Generated Node #0,0,2: 50:[82, 90] Operation: 94-4=90
Exploring Operation: 82+4=86, Resulting Numbers: [94, 86]
Generated Node #0,0,3: 50:[94, 86] Operation: 82+4=86
Moving to Node #0,0,0
Current State: 50:[4, 12], Operations: ['88-84=4', '94-82=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[82, 90], Operations: ['88-84=4', '94-4=90']
Exploring Operation: 82*90=7380, Resulting Numbers: [7380]
7380,50 unequal: No Solution
Exploring Operation: 82+90=172, Resulting Numbers: [172]
172,50 unequal: No Solution
Exploring Operation: 90-82=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[94, 78], Operations: ['88-84=4', '82-4=78']
Exploring Operation: 94-78=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 94+78=172, Resulting Numbers: [172]
172,50 unequal: No Solution
Exploring Operation: 94*78=7332, Resulting Numbers: [7332]
7332,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[94, 86], Operations: ['88-84=4', '82+4=86']
Exploring Operation: 94+86=180, Resulting Numbers: [180]
180,50 unequal: No Solution
Exploring Operation: 94*86=8084, Resulting Numbers: [8084]
8084,50 unequal: No Solution
Exploring Operation: 94-86=8, Resulting Numbers: [8]
8,50 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 |
[
70,
6,
39,
52
] | 51 | [
"70-6=64",
"52-39=13",
"64-13=51"
] | Current State: 51:[70, 6, 39, 52], Operations: []
Exploring Operation: 70-6=64, Resulting Numbers: [39, 52, 64]
Generated Node #2: [39, 52, 64] from Operation: 70-6=64
Current State: 51:[39, 52, 64], Operations: ['70-6=64']
Exploring Operation: 52-39=13, Resulting Numbers: [64, 13]
Generated Node #3: [64, 13] from Operation: 52-39=13
Current State: 51:[64, 13], Operations: ['70-6=64', '52-39=13']
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[70, 6, 39, 52], Operations: []
Exploring Operation: 70-52=18, Resulting Numbers: [6, 39, 18]
Generated Node #0,0: 51:[6, 39, 18] Operation: 70-52=18
Exploring Operation: 70-39=31, Resulting Numbers: [6, 52, 31]
Generated Node #0,1: 51:[6, 52, 31] Operation: 70-39=31
Moving to Node #0,0
Current State: 51:[6, 39, 18], Operations: ['70-52=18']
Exploring Operation: 6+39=45, Resulting Numbers: [18, 45]
Generated Node #0,0,0: 51:[18, 45] Operation: 6+39=45
Exploring Operation: 39-18=21, Resulting Numbers: [6, 21]
Generated Node #0,0,1: 51:[6, 21] Operation: 39-18=21
Moving to Node #0,1
Current State: 51:[6, 52, 31], Operations: ['70-39=31']
Exploring Operation: 31-6=25, Resulting Numbers: [52, 25]
Generated Node #0,1,0: 51:[52, 25] Operation: 31-6=25
Exploring Operation: 52-31=21, Resulting Numbers: [6, 21]
Generated Node #0,1,1: 51:[6, 21] Operation: 52-31=21
Moving to Node #0,0,0
Current State: 51:[18, 45], Operations: ['70-52=18', '6+39=45']
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[6, 21], Operations: ['70-39=31', '52-31=21']
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[6, 21], Operations: ['70-52=18', '39-18=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[52, 25], Operations: ['70-39=31', '31-6=25']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,51 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
48,
92,
29,
89
] | 45 | [
"92-89=3",
"48/3=16",
"29+16=45"
] | Current State: 45:[48, 92, 29, 89], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [48, 29, 3]
Generated Node #2: [48, 29, 3] from Operation: 92-89=3
Current State: 45:[48, 29, 3], Operations: ['92-89=3']
Exploring Operation: 48/3=16, Resulting Numbers: [29, 16]
Generated Node #3: [29, 16] from Operation: 48/3=16
Current State: 45:[29, 16], Operations: ['92-89=3', '48/3=16']
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[48, 92, 29, 89], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [48, 29, 3]
Generated Node #0,0: 45:[48, 29, 3] Operation: 92-89=3
Exploring Operation: 92-48=44, Resulting Numbers: [29, 89, 44]
Generated Node #0,1: 45:[29, 89, 44] Operation: 92-48=44
Moving to Node #0,0
Current State: 45:[48, 29, 3], Operations: ['92-89=3']
Exploring Operation: 48-29=19, Resulting Numbers: [3, 19]
Generated Node #0,0,0: 45:[3, 19] Operation: 48-29=19
Exploring Operation: 48-3=45, Resulting Numbers: [29, 45]
Generated Node #0,0,1: 45:[29, 45] Operation: 48-3=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[3, 19], Operations: ['92-89=3', '48-29=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[29, 45], Operations: ['92-89=3', '48-3=45']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 45:[29, 89, 44], Operations: ['92-48=44']
Exploring Operation: 89-44=45, Resulting Numbers: [29, 45]
Generated Node #0,1,0: 45:[29, 45] Operation: 89-44=45
Exploring Operation: 89-29=60, Resulting Numbers: [44, 60]
Generated Node #0,1,1: 45:[44, 60] Operation: 89-29=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[29, 45], Operations: ['92-48=44', '89-44=45']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[44, 60], Operations: ['92-48=44', '89-29=60']
Exploring Operation: 44+60=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
91,
36,
75
] | 58 | [
"6+91=97",
"75-36=39",
"97-39=58"
] | Current State: 58:[6, 91, 36, 75], Operations: []
Exploring Operation: 6+91=97, Resulting Numbers: [36, 75, 97]
Generated Node #2: [36, 75, 97] from Operation: 6+91=97
Current State: 58:[36, 75, 97], Operations: ['6+91=97']
Exploring Operation: 75-36=39, Resulting Numbers: [97, 39]
Generated Node #3: [97, 39] from Operation: 75-36=39
Current State: 58:[97, 39], Operations: ['6+91=97', '75-36=39']
Exploring Operation: 97-39=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[6, 91, 36, 75], Operations: []
Exploring Operation: 91-75=16, Resulting Numbers: [6, 36, 16]
Generated Node #0,0: 58:[6, 36, 16] Operation: 91-75=16
Exploring Operation: 91-36=55, Resulting Numbers: [6, 75, 55]
Generated Node #0,1: 58:[6, 75, 55] Operation: 91-36=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[6, 36, 16], Operations: ['91-75=16']
Exploring Operation: 36+16=52, Resulting Numbers: [6, 52]
Generated Node #0,0,0: 58:[6, 52] Operation: 36+16=52
Exploring Operation: 36-16=20, Resulting Numbers: [6, 20]
Generated Node #0,0,1: 58:[6, 20] Operation: 36-16=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[6, 52], Operations: ['91-75=16', '36+16=52']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[6, 91, 36, 75], Operations: []
Exploring Operation: 91-75=16, Resulting Numbers: [6, 36, 16]
Generated Node #0,0: 58:[6, 36, 16] Operation: 91-75=16
Moving to Node #0,0
Current State: 58:[6, 36, 16], Operations: ['91-75=16']
Exploring Operation: 36+16=52, Resulting Numbers: [6, 52]
Generated Node #0,0,0: 58:[6, 52] Operation: 36+16=52
Moving to Node #0,0,0
Current State: 58:[6, 52], Operations: ['91-75=16', '36+16=52']
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
16,
99,
88,
46
] | 28 | [
"16*99=1584",
"1584/88=18",
"46-18=28"
] | Current State: 28:[16, 99, 88, 46], Operations: []
Exploring Operation: 16*99=1584, Resulting Numbers: [88, 46, 1584]
Generated Node #2: [88, 46, 1584] from Operation: 16*99=1584
Current State: 28:[88, 46, 1584], Operations: ['16*99=1584']
Exploring Operation: 1584/88=18, Resulting Numbers: [46, 18]
Generated Node #3: [46, 18] from Operation: 1584/88=18
Current State: 28:[46, 18], Operations: ['16*99=1584', '1584/88=18']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[16, 99, 88, 46], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [16, 46, 11]
Generated Node #0,0: 28:[16, 46, 11] Operation: 99-88=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[16, 46, 11], Operations: ['99-88=11']
Exploring Operation: 46-16=30, Resulting Numbers: [11, 30]
Generated Node #0,0,0: 28:[11, 30] Operation: 46-16=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[11, 30], Operations: ['99-88=11', '46-16=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
91,
55,
26,
52
] | 44 | [
"91-26=65",
"55*52=2860",
"2860/65=44"
] | Current State: 44:[91, 55, 26, 52], Operations: []
Exploring Operation: 91-26=65, Resulting Numbers: [55, 52, 65]
Generated Node #2: [55, 52, 65] from Operation: 91-26=65
Current State: 44:[55, 52, 65], Operations: ['91-26=65']
Exploring Operation: 55*52=2860, Resulting Numbers: [65, 2860]
Generated Node #3: [65, 2860] from Operation: 55*52=2860
Current State: 44:[65, 2860], Operations: ['91-26=65', '55*52=2860']
Exploring Operation: 2860/65=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[91, 55, 26, 52], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [55, 26, 39]
Generated Node #0,0: 44:[55, 26, 39] Operation: 91-52=39
Exploring Operation: 91-55=36, Resulting Numbers: [26, 52, 36]
Generated Node #0,1: 44:[26, 52, 36] Operation: 91-55=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[55, 26, 39], Operations: ['91-52=39']
Exploring Operation: 55-26=29, Resulting Numbers: [39, 29]
Generated Node #0,0,0: 44:[39, 29] Operation: 55-26=29
Exploring Operation: 55-39=16, Resulting Numbers: [26, 16]
Generated Node #0,0,1: 44:[26, 16] Operation: 55-39=16
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[26, 16], Operations: ['91-52=39', '55-39=16']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[39, 29], Operations: ['91-52=39', '55-26=29']
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[26, 52, 36], Operations: ['91-55=36']
Exploring Operation: 36-26=10, Resulting Numbers: [52, 10]
Generated Node #0,1,0: 44:[52, 10] Operation: 36-26=10
Exploring Operation: 52/26=2, Resulting Numbers: [36, 2]
Generated Node #0,1,1: 44:[36, 2] Operation: 52/26=2
Moving to Node #0,1,1
Current State: 44:[36, 2], Operations: ['91-55=36', '52/26=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[52, 10], Operations: ['91-55=36', '36-26=10']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
65,
18,
71
] | 56 | [
"71-65=6",
"18/6=3",
"59-3=56"
] | Current State: 56:[59, 65, 18, 71], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [59, 18, 6]
Generated Node #2: [59, 18, 6] from Operation: 71-65=6
Current State: 56:[59, 18, 6], Operations: ['71-65=6']
Exploring Operation: 18/6=3, Resulting Numbers: [59, 3]
Generated Node #3: [59, 3] from Operation: 18/6=3
Current State: 56:[59, 3], Operations: ['71-65=6', '18/6=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[59, 65, 18, 71], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [59, 18, 6]
Generated Node #0,0: 56:[59, 18, 6] Operation: 71-65=6
Exploring Operation: 71-59=12, Resulting Numbers: [65, 18, 12]
Generated Node #0,1: 56:[65, 18, 12] Operation: 71-59=12
Moving to Node #0,0
Current State: 56:[59, 18, 6], Operations: ['71-65=6']
Exploring Operation: 18/6=3, Resulting Numbers: [59, 3]
Generated Node #0,0,0: 56:[59, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [59, 12]
Generated Node #0,0,1: 56:[59, 12] Operation: 18-6=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[59, 3], Operations: ['71-65=6', '18/6=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,56 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[59, 65, 18, 71], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [59, 18, 6]
Generated Node #0,0: 56:[59, 18, 6] Operation: 71-65=6
Moving to Node #0,0
Current State: 56:[59, 18, 6], Operations: ['71-65=6']
Exploring Operation: 18/6=3, Resulting Numbers: [59, 3]
Generated Node #0,0,0: 56:[59, 3] Operation: 18/6=3
Moving to Node #0,0,0
Current State: 56:[59, 3], Operations: ['71-65=6', '18/6=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
39,
53,
13,
42
] | 14 | [
"39/13=3",
"53-42=11",
"3+11=14"
] | Current State: 14:[39, 53, 13, 42], Operations: []
Exploring Operation: 39/13=3, Resulting Numbers: [53, 42, 3]
Generated Node #2: [53, 42, 3] from Operation: 39/13=3
Current State: 14:[53, 42, 3], Operations: ['39/13=3']
Exploring Operation: 53-42=11, Resulting Numbers: [3, 11]
Generated Node #3: [3, 11] from Operation: 53-42=11
Current State: 14:[3, 11], Operations: ['39/13=3', '53-42=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[39, 53, 13, 42], Operations: []
Exploring Operation: 53-39=14, Resulting Numbers: [13, 42, 14]
Generated Node #0,0: 14:[13, 42, 14] Operation: 53-39=14
Exploring Operation: 53-42=11, Resulting Numbers: [39, 13, 11]
Generated Node #0,1: 14:[39, 13, 11] Operation: 53-42=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[13, 42, 14], Operations: ['53-39=14']
Exploring Operation: 42-13=29, Resulting Numbers: [14, 29]
Generated Node #0,0,0: 14:[14, 29] Operation: 42-13=29
Exploring Operation: 42/14=3, Resulting Numbers: [13, 3]
Generated Node #0,0,1: 14:[13, 3] Operation: 42/14=3
Moving to Node #0,0,1
Current State: 14:[13, 3], Operations: ['53-39=14', '42/14=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[14, 29], Operations: ['53-39=14', '42-13=29']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[39, 13, 11], Operations: ['53-42=11']
Exploring Operation: 39/13=3, Resulting Numbers: [11, 3]
Generated Node #0,1,0: 14:[11, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [11, 26]
Generated Node #0,1,1: 14:[11, 26] Operation: 39-13=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[11, 3], Operations: ['53-42=11', '39/13=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[39, 53, 13, 42], Operations: []
Exploring Operation: 53-42=11, Resulting Numbers: [39, 13, 11]
Generated Node #0,1: 14:[39, 13, 11] Operation: 53-42=11
Moving to Node #0,1
Current State: 14:[39, 13, 11], Operations: ['53-42=11']
Exploring Operation: 39/13=3, Resulting Numbers: [11, 3]
Generated Node #0,1,0: 14:[11, 3] Operation: 39/13=3
Moving to Node #0,1,0
Current State: 14:[11, 3], Operations: ['53-42=11', '39/13=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
83,
85,
31,
10
] | 88 | [
"83+10=93",
"93/31=3",
"85+3=88"
] | Current State: 88:[83, 85, 31, 10], Operations: []
Exploring Operation: 83+10=93, Resulting Numbers: [85, 31, 93]
Generated Node #2: [85, 31, 93] from Operation: 83+10=93
Current State: 88:[85, 31, 93], Operations: ['83+10=93']
Exploring Operation: 93/31=3, Resulting Numbers: [85, 3]
Generated Node #3: [85, 3] from Operation: 93/31=3
Current State: 88:[85, 3], Operations: ['83+10=93', '93/31=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[83, 85, 31, 10], Operations: []
Exploring Operation: 31+10=41, Resulting Numbers: [83, 85, 41]
Generated Node #0,0: 88:[83, 85, 41] Operation: 31+10=41
Exploring Operation: 85-83=2, Resulting Numbers: [31, 10, 2]
Generated Node #0,1: 88:[31, 10, 2] Operation: 85-83=2
Exploring Operation: 31-10=21, Resulting Numbers: [83, 85, 21]
Generated Node #0,2: 88:[83, 85, 21] Operation: 31-10=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[83, 85, 21], Operations: ['31-10=21']
Exploring Operation: 83-21=62, Resulting Numbers: [85, 62]
Generated Node #0,2,0: 88:[85, 62] Operation: 83-21=62
Exploring Operation: 83+21=104, Resulting Numbers: [85, 104]
Generated Node #0,2,1: 88:[85, 104] Operation: 83+21=104
Exploring Operation: 85-83=2, Resulting Numbers: [21, 2]
Generated Node #0,2,2: 88:[21, 2] Operation: 85-83=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[21, 2], Operations: ['31-10=21', '85-83=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[85, 104], Operations: ['31-10=21', '83+21=104']
Exploring Operation: 85*104=8840, Resulting Numbers: [8840]
8840,88 unequal: No Solution
Exploring Operation: 104-85=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 85+104=189, Resulting Numbers: [189]
189,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[85, 62], Operations: ['31-10=21', '83-21=62']
Exploring Operation: 85+62=147, Resulting Numbers: [147]
147,88 unequal: No Solution
Exploring Operation: 85*62=5270, Resulting Numbers: [5270]
5270,88 unequal: No Solution
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[31, 10, 2], Operations: ['85-83=2']
Exploring Operation: 31+10=41, Resulting Numbers: [2, 41]
Generated Node #0,1,0: 88:[2, 41] Operation: 31+10=41
Exploring Operation: 31-10=21, Resulting Numbers: [2, 21]
Generated Node #0,1,1: 88:[2, 21] Operation: 31-10=21
Exploring Operation: 31-2=29, Resulting Numbers: [10, 29]
Generated Node #0,1,2: 88:[10, 29] Operation: 31-2=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[2, 21], Operations: ['85-83=2', '31-10=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[2, 41], Operations: ['85-83=2', '31+10=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 88:[10, 29], Operations: ['85-83=2', '31-2=29']
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,88 unequal: No Solution
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[83, 85, 41], Operations: ['31+10=41']
Exploring Operation: 83-41=42, Resulting Numbers: [85, 42]
Generated Node #0,0,0: 88:[85, 42] Operation: 83-41=42
Exploring Operation: 85-41=44, Resulting Numbers: [83, 44]
Generated Node #0,0,1: 88:[83, 44] Operation: 85-41=44
Exploring Operation: 85-83=2, Resulting Numbers: [41, 2]
Generated Node #0,0,2: 88:[41, 2] Operation: 85-83=2
Moving to Node #0,0,2
Current State: 88:[41, 2], Operations: ['31+10=41', '85-83=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[85, 42], Operations: ['31+10=41', '83-41=42']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 85+42=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 85*42=3570, Resulting Numbers: [3570]
3570,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[83, 44], Operations: ['31+10=41', '85-41=44']
Exploring Operation: 83+44=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Exploring Operation: 83*44=3652, Resulting Numbers: [3652]
3652,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
64,
7,
76,
13
] | 72 | [
"76-64=12",
"13-7=6",
"12*6=72"
] | Current State: 72:[64, 7, 76, 13], Operations: []
Exploring Operation: 76-64=12, Resulting Numbers: [7, 13, 12]
Generated Node #2: [7, 13, 12] from Operation: 76-64=12
Current State: 72:[7, 13, 12], Operations: ['76-64=12']
Exploring Operation: 13-7=6, Resulting Numbers: [12, 6]
Generated Node #3: [12, 6] from Operation: 13-7=6
Current State: 72:[12, 6], Operations: ['76-64=12', '13-7=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[64, 7, 76, 13], Operations: []
Exploring Operation: 76-7=69, Resulting Numbers: [64, 13, 69]
Generated Node #0,0: 72:[64, 13, 69] Operation: 76-7=69
Exploring Operation: 76-64=12, Resulting Numbers: [7, 13, 12]
Generated Node #0,1: 72:[7, 13, 12] Operation: 76-64=12
Exploring Operation: 64+13=77, Resulting Numbers: [7, 76, 77]
Generated Node #0,2: 72:[7, 76, 77] Operation: 64+13=77
Exploring Operation: 64+7=71, Resulting Numbers: [76, 13, 71]
Generated Node #0,3: 72:[76, 13, 71] Operation: 64+7=71
Exploring Operation: 13-7=6, Resulting Numbers: [64, 76, 6]
Generated Node #0,4: 72:[64, 76, 6] Operation: 13-7=6
Moving to Node #0,1
Current State: 72:[7, 13, 12], Operations: ['76-64=12']
Exploring Operation: 7+13=20, Resulting Numbers: [12, 20]
Generated Node #0,1,0: 72:[12, 20] Operation: 7+13=20
Exploring Operation: 7+12=19, Resulting Numbers: [13, 19]
Generated Node #0,1,1: 72:[13, 19] Operation: 7+12=19
Exploring Operation: 12-7=5, Resulting Numbers: [13, 5]
Generated Node #0,1,2: 72:[13, 5] Operation: 12-7=5
Exploring Operation: 13+12=25, Resulting Numbers: [7, 25]
Generated Node #0,1,3: 72:[7, 25] Operation: 13+12=25
Exploring Operation: 13-7=6, Resulting Numbers: [12, 6]
Generated Node #0,1,4: 72:[12, 6] Operation: 13-7=6
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 72:[12, 6], Operations: ['76-64=12', '13-7=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[64, 7, 76, 13], Operations: []
Exploring Operation: 76-64=12, Resulting Numbers: [7, 13, 12]
Generated Node #0,1: 72:[7, 13, 12] Operation: 76-64=12
Moving to Node #0,1
Current State: 72:[7, 13, 12], Operations: ['76-64=12']
Exploring Operation: 13-7=6, Resulting Numbers: [12, 6]
Generated Node #0,1,4: 72:[12, 6] Operation: 13-7=6
Moving to Node #0,1,4
Current State: 72:[12, 6], Operations: ['76-64=12', '13-7=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
70,
11,
41,
57
] | 65 | [
"70+11=81",
"57-41=16",
"81-16=65"
] | Current State: 65:[70, 11, 41, 57], Operations: []
Exploring Operation: 70+11=81, Resulting Numbers: [41, 57, 81]
Generated Node #2: [41, 57, 81] from Operation: 70+11=81
Current State: 65:[41, 57, 81], Operations: ['70+11=81']
Exploring Operation: 57-41=16, Resulting Numbers: [81, 16]
Generated Node #3: [81, 16] from Operation: 57-41=16
Current State: 65:[81, 16], Operations: ['70+11=81', '57-41=16']
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[70, 11, 41, 57], Operations: []
Exploring Operation: 57-41=16, Resulting Numbers: [70, 11, 16]
Generated Node #0,0: 65:[70, 11, 16] Operation: 57-41=16
Moving to Node #0,0
Current State: 65:[70, 11, 16], Operations: ['57-41=16']
Exploring Operation: 16-11=5, Resulting Numbers: [70, 5]
Generated Node #0,0,0: 65:[70, 5] Operation: 16-11=5
Moving to Node #0,0,0
Current State: 65:[70, 5], Operations: ['57-41=16', '16-11=5']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[70, 11, 41, 57], Operations: []
Exploring Operation: 57-41=16, Resulting Numbers: [70, 11, 16]
Generated Node #0,0: 65:[70, 11, 16] Operation: 57-41=16
Moving to Node #0,0
Current State: 65:[70, 11, 16], Operations: ['57-41=16']
Exploring Operation: 16-11=5, Resulting Numbers: [70, 5]
Generated Node #0,0,0: 65:[70, 5] Operation: 16-11=5
Moving to Node #0,0,0
Current State: 65:[70, 5], Operations: ['57-41=16', '16-11=5']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
26,
63,
40,
40
] | 26 | [
"40-40=0",
"63*0=0",
"26+0=26"
] | Current State: 26:[26, 63, 40, 40], Operations: []
Exploring Operation: 40-40=0, Resulting Numbers: [26, 63, 0]
Generated Node #2: [26, 63, 0] from Operation: 40-40=0
Current State: 26:[26, 63, 0], Operations: ['40-40=0']
Exploring Operation: 63*0=0, Resulting Numbers: [26, 0]
Generated Node #3: [26, 0] from Operation: 63*0=0
Current State: 26:[26, 0], Operations: ['40-40=0', '63*0=0']
Exploring Operation: 26+0=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[26, 63, 40, 40], Operations: []
Exploring Operation: 40/40=1, Resulting Numbers: [26, 63, 1]
Generated Node #0,0: 26:[26, 63, 1] Operation: 40/40=1
Exploring Operation: 63-40=23, Resulting Numbers: [26, 40, 23]
Generated Node #0,1: 26:[26, 40, 23] Operation: 63-40=23
Exploring Operation: 63-40=23, Resulting Numbers: [26, 40, 23]
Generated Node #0,2: 26:[26, 40, 23] Operation: 63-40=23
Moving to Node #0,1
Current State: 26:[26, 40, 23], Operations: ['63-40=23']
Exploring Operation: 26-23=3, Resulting Numbers: [40, 3]
Generated Node #0,1,0: 26:[40, 3] Operation: 26-23=3
Exploring Operation: 40-26=14, Resulting Numbers: [23, 14]
Generated Node #0,1,1: 26:[23, 14] Operation: 40-26=14
Exploring Operation: 40-23=17, Resulting Numbers: [26, 17]
Generated Node #0,1,2: 26:[26, 17] Operation: 40-23=17
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[23, 14], Operations: ['63-40=23', '40-26=14']
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,26 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[26, 17], Operations: ['63-40=23', '40-23=17']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[40, 3], Operations: ['63-40=23', '26-23=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,26 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 26:[26, 40, 23], Operations: ['63-40=23']
Exploring Operation: 26-23=3, Resulting Numbers: [40, 3]
Generated Node #0,2,0: 26:[40, 3] Operation: 26-23=3
Exploring Operation: 40-26=14, Resulting Numbers: [23, 14]
Generated Node #0,2,1: 26:[23, 14] Operation: 40-26=14
Exploring Operation: 40-23=17, Resulting Numbers: [26, 17]
Generated Node #0,2,2: 26:[26, 17] Operation: 40-23=17
Moving to Node #0,0
Current State: 26:[26, 63, 1], Operations: ['40/40=1']
Exploring Operation: 63-1=62, Resulting Numbers: [26, 62]
Generated Node #0,0,0: 26:[26, 62] Operation: 63-1=62
Exploring Operation: 63-26=37, Resulting Numbers: [1, 37]
Generated Node #0,0,1: 26:[1, 37] Operation: 63-26=37
Exploring Operation: 26*1=26, Resulting Numbers: [63, 26]
Generated Node #0,0,2: 26:[63, 26] Operation: 26*1=26
Moving to Node #0,2,1
Current State: 26:[23, 14], Operations: ['63-40=23', '40-26=14']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,26 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[26, 17], Operations: ['63-40=23', '40-23=17']
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,26 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[1, 37], Operations: ['40/40=1', '63-26=37']
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[40, 3], Operations: ['63-40=23', '26-23=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[26, 62], Operations: ['40/40=1', '63-1=62']
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,26 unequal: No Solution
Exploring Operation: 26*62=1612, Resulting Numbers: [1612]
1612,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[63, 26], Operations: ['40/40=1', '26*1=26']
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,26 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,26 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
70,
22,
15,
30
] | 77 | [
"70+22=92",
"30-15=15",
"92-15=77"
] | Current State: 77:[70, 22, 15, 30], Operations: []
Exploring Operation: 70+22=92, Resulting Numbers: [15, 30, 92]
Generated Node #2: [15, 30, 92] from Operation: 70+22=92
Current State: 77:[15, 30, 92], Operations: ['70+22=92']
Exploring Operation: 30-15=15, Resulting Numbers: [92, 15]
Generated Node #3: [92, 15] from Operation: 30-15=15
Current State: 77:[92, 15], Operations: ['70+22=92', '30-15=15']
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[70, 22, 15, 30], Operations: []
Exploring Operation: 30/15=2, Resulting Numbers: [70, 22, 2]
Generated Node #0,0: 77:[70, 22, 2] Operation: 30/15=2
Exploring Operation: 30-22=8, Resulting Numbers: [70, 15, 8]
Generated Node #0,1: 77:[70, 15, 8] Operation: 30-22=8
Exploring Operation: 22+30=52, Resulting Numbers: [70, 15, 52]
Generated Node #0,2: 77:[70, 15, 52] Operation: 22+30=52
Exploring Operation: 30-15=15, Resulting Numbers: [70, 22, 15]
Generated Node #0,3: 77:[70, 22, 15] Operation: 30-15=15
Exploring Operation: 22-15=7, Resulting Numbers: [70, 30, 7]
Generated Node #0,4: 77:[70, 30, 7] Operation: 22-15=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[70, 15, 8], Operations: ['30-22=8']
Exploring Operation: 70+15=85, Resulting Numbers: [8, 85]
Generated Node #0,1,0: 77:[8, 85] Operation: 70+15=85
Exploring Operation: 70+8=78, Resulting Numbers: [15, 78]
Generated Node #0,1,1: 77:[15, 78] Operation: 70+8=78
Exploring Operation: 15+8=23, Resulting Numbers: [70, 23]
Generated Node #0,1,2: 77:[70, 23] Operation: 15+8=23
Exploring Operation: 15-8=7, Resulting Numbers: [70, 7]
Generated Node #0,1,3: 77:[70, 7] Operation: 15-8=7
Exploring Operation: 70-8=62, Resulting Numbers: [15, 62]
Generated Node #0,1,4: 77:[15, 62] Operation: 70-8=62
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[15, 78], Operations: ['30-22=8', '70+8=78']
Exploring Operation: 15+78=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Exploring Operation: 15*78=1170, Resulting Numbers: [1170]
1170,77 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,77 unequal: No Solution
No 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: 77:[70, 7], Operations: ['30-22=8', '15-8=7']
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[70, 22, 15, 30], Operations: []
Exploring Operation: 30-22=8, Resulting Numbers: [70, 15, 8]
Generated Node #0,1: 77:[70, 15, 8] Operation: 30-22=8
Moving to Node #0,1
Current State: 77:[70, 15, 8], Operations: ['30-22=8']
Exploring Operation: 15-8=7, Resulting Numbers: [70, 7]
Generated Node #0,1,3: 77:[70, 7] Operation: 15-8=7
Moving to Node #0,1,3
Current State: 77:[70, 7], Operations: ['30-22=8', '15-8=7']
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
2,
19,
72,
11
] | 87 | [
"19+11=30",
"30/2=15",
"72+15=87"
] | Current State: 87:[2, 19, 72, 11], Operations: []
Exploring Operation: 19+11=30, Resulting Numbers: [2, 72, 30]
Generated Node #2: [2, 72, 30] from Operation: 19+11=30
Current State: 87:[2, 72, 30], Operations: ['19+11=30']
Exploring Operation: 30/2=15, Resulting Numbers: [72, 15]
Generated Node #3: [72, 15] from Operation: 30/2=15
Current State: 87:[72, 15], Operations: ['19+11=30', '30/2=15']
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[2, 19, 72, 11], Operations: []
Exploring Operation: 19+72=91, Resulting Numbers: [2, 11, 91]
Generated Node #0,0: 87:[2, 11, 91] Operation: 19+72=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[2, 11, 91], Operations: ['19+72=91']
Exploring Operation: 91-11=80, Resulting Numbers: [2, 80]
Generated Node #0,0,0: 87:[2, 80] Operation: 91-11=80
Moving to Node #0,0,0
Current State: 87:[2, 80], Operations: ['19+72=91', '91-11=80']
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,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 | sum_heuristic |
[
82,
84,
88,
14
] | 24 | [
"82+14=96",
"88-84=4",
"96/4=24"
] | Current State: 24:[82, 84, 88, 14], Operations: []
Exploring Operation: 82+14=96, Resulting Numbers: [84, 88, 96]
Generated Node #2: [84, 88, 96] from Operation: 82+14=96
Current State: 24:[84, 88, 96], Operations: ['82+14=96']
Exploring Operation: 88-84=4, Resulting Numbers: [96, 4]
Generated Node #3: [96, 4] from Operation: 88-84=4
Current State: 24:[96, 4], Operations: ['82+14=96', '88-84=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[82, 84, 88, 14], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [84, 14, 6]
Generated Node #0,0: 24:[84, 14, 6] Operation: 88-82=6
Exploring Operation: 88-84=4, Resulting Numbers: [82, 14, 4]
Generated Node #0,1: 24:[82, 14, 4] Operation: 88-84=4
Exploring Operation: 84-82=2, Resulting Numbers: [88, 14, 2]
Generated Node #0,2: 24:[88, 14, 2] Operation: 84-82=2
Moving to Node #0,1
Current State: 24:[82, 14, 4], Operations: ['88-84=4']
Exploring Operation: 82-14=68, Resulting Numbers: [4, 68]
Generated Node #0,1,0: 24:[4, 68] Operation: 82-14=68
Exploring Operation: 14-4=10, Resulting Numbers: [82, 10]
Generated Node #0,1,1: 24:[82, 10] Operation: 14-4=10
Exploring Operation: 82-4=78, Resulting Numbers: [14, 78]
Generated Node #0,1,2: 24:[14, 78] Operation: 82-4=78
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[4, 68], Operations: ['88-84=4', '82-14=68']
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,24 unequal: No Solution
Exploring Operation: 4+68=72, Resulting Numbers: [72]
72,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[14, 78], Operations: ['88-84=4', '82-4=78']
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,24 unequal: No Solution
Exploring Operation: 14*78=1092, Resulting Numbers: [1092]
1092,24 unequal: No Solution
Exploring Operation: 14+78=92, Resulting Numbers: [92]
92,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[82, 10], Operations: ['88-84=4', '14-4=10']
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,24 unequal: No Solution
Exploring Operation: 82*10=820, Resulting Numbers: [820]
820,24 unequal: No Solution
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,24 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: 24:[84, 14, 6], Operations: ['88-82=6']
Exploring Operation: 84-14=70, Resulting Numbers: [6, 70]
Generated Node #0,0,0: 24:[6, 70] Operation: 84-14=70
Exploring Operation: 84/6=14, Resulting Numbers: [14, 14]
Generated Node #0,0,1: 24:[14, 14] Operation: 84/6=14
Exploring Operation: 84/14=6, Resulting Numbers: [6, 6]
Generated Node #0,0,2: 24:[6, 6] Operation: 84/14=6
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[6, 6], Operations: ['88-82=6', '84/14=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[14, 14], Operations: ['88-82=6', '84/6=14']
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,24 unequal: No Solution
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[6, 70], Operations: ['88-82=6', '84-14=70']
Exploring Operation: 6+70=76, Resulting Numbers: [76]
76,24 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,24 unequal: No Solution
Exploring Operation: 6*70=420, Resulting Numbers: [420]
420,24 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: 24:[88, 14, 2], Operations: ['84-82=2']
Exploring Operation: 88/2=44, Resulting Numbers: [14, 44]
Generated Node #0,2,0: 24:[14, 44] Operation: 88/2=44
Exploring Operation: 88-14=74, Resulting Numbers: [2, 74]
Generated Node #0,2,1: 24:[2, 74] Operation: 88-14=74
Exploring Operation: 88-2=86, Resulting Numbers: [14, 86]
Generated Node #0,2,2: 24:[14, 86] Operation: 88-2=86
Moving to Node #0,2,0
Current State: 24:[14, 44], Operations: ['84-82=2', '88/2=44']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 14+44=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 14*44=616, Resulting Numbers: [616]
616,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[2, 74], Operations: ['84-82=2', '88-14=74']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,24 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,24 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[14, 86], Operations: ['84-82=2', '88-2=86']
Exploring Operation: 14+86=100, Resulting Numbers: [100]
100,24 unequal: No Solution
Exploring Operation: 14*86=1204, Resulting Numbers: [1204]
1204,24 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,24 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
73,
12,
69,
7
] | 76 | [
"73-69=4",
"12+7=19",
"4*19=76"
] | Current State: 76:[73, 12, 69, 7], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [12, 7, 4]
Generated Node #2: [12, 7, 4] from Operation: 73-69=4
Current State: 76:[12, 7, 4], Operations: ['73-69=4']
Exploring Operation: 12+7=19, Resulting Numbers: [4, 19]
Generated Node #3: [4, 19] from Operation: 12+7=19
Current State: 76:[4, 19], Operations: ['73-69=4', '12+7=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[73, 12, 69, 7], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [12, 7, 4]
Generated Node #0,0: 76:[12, 7, 4] Operation: 73-69=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[12, 7, 4], Operations: ['73-69=4']
Exploring Operation: 12+7=19, Resulting Numbers: [4, 19]
Generated Node #0,0,0: 76:[4, 19] Operation: 12+7=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[4, 19], Operations: ['73-69=4', '12+7=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[73, 12, 69, 7], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [12, 7, 4]
Generated Node #0,0: 76:[12, 7, 4] Operation: 73-69=4
Moving to Node #0,0
Current State: 76:[12, 7, 4], Operations: ['73-69=4']
Exploring Operation: 12+7=19, Resulting Numbers: [4, 19]
Generated Node #0,0,0: 76:[4, 19] Operation: 12+7=19
Moving to Node #0,0,0
Current State: 76:[4, 19], Operations: ['73-69=4', '12+7=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
60,
57,
50,
4
] | 32 | [
"57-50=7",
"4*7=28",
"60-28=32"
] | Current State: 32:[60, 57, 50, 4], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [60, 4, 7]
Generated Node #2: [60, 4, 7] from Operation: 57-50=7
Current State: 32:[60, 4, 7], Operations: ['57-50=7']
Exploring Operation: 4*7=28, Resulting Numbers: [60, 28]
Generated Node #3: [60, 28] from Operation: 4*7=28
Current State: 32:[60, 28], Operations: ['57-50=7', '4*7=28']
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[60, 57, 50, 4], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [50, 4, 3]
Generated Node #0,0: 32:[50, 4, 3] Operation: 60-57=3
Exploring Operation: 57-50=7, Resulting Numbers: [60, 4, 7]
Generated Node #0,1: 32:[60, 4, 7] Operation: 57-50=7
Exploring Operation: 60-50=10, Resulting Numbers: [57, 4, 10]
Generated Node #0,2: 32:[57, 4, 10] Operation: 60-50=10
Exploring Operation: 60/4=15, Resulting Numbers: [57, 50, 15]
Generated Node #0,3: 32:[57, 50, 15] Operation: 60/4=15
Moving to Node #0,0
Current State: 32:[50, 4, 3], Operations: ['60-57=3']
Exploring Operation: 50-3=47, Resulting Numbers: [4, 47]
Generated Node #0,0,0: 32:[4, 47] Operation: 50-3=47
Exploring Operation: 50-4=46, Resulting Numbers: [3, 46]
Generated Node #0,0,1: 32:[3, 46] Operation: 50-4=46
Exploring Operation: 4-3=1, Resulting Numbers: [50, 1]
Generated Node #0,0,2: 32:[50, 1] Operation: 4-3=1
Exploring Operation: 4+3=7, Resulting Numbers: [50, 7]
Generated Node #0,0,3: 32:[50, 7] Operation: 4+3=7
Moving to Node #0,2
Current State: 32:[57, 4, 10], Operations: ['60-50=10']
Exploring Operation: 57-4=53, Resulting Numbers: [10, 53]
Generated Node #0,2,0: 32:[10, 53] Operation: 57-4=53
Exploring Operation: 4+10=14, Resulting Numbers: [57, 14]
Generated Node #0,2,1: 32:[57, 14] Operation: 4+10=14
Exploring Operation: 10-4=6, Resulting Numbers: [57, 6]
Generated Node #0,2,2: 32:[57, 6] Operation: 10-4=6
Exploring Operation: 57-10=47, Resulting Numbers: [4, 47]
Generated Node #0,2,3: 32:[4, 47] Operation: 57-10=47
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 32:[4, 47], Operations: ['60-50=10', '57-10=47']
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,32 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,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,2,0
Current State: 32:[10, 53], Operations: ['60-50=10', '57-4=53']
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,32 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,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,2,1
Current State: 32:[57, 14], Operations: ['60-50=10', '4+10=14']
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 57*14=798, Resulting Numbers: [798]
798,32 unequal: No Solution
Exploring Operation: 57+14=71, Resulting Numbers: [71]
71,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,2,2
Current State: 32:[57, 6], Operations: ['60-50=10', '10-4=6']
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,32 unequal: No Solution
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,32 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: 32:[60, 4, 7], Operations: ['57-50=7']
Exploring Operation: 60-4=56, Resulting Numbers: [7, 56]
Generated Node #0,1,0: 32:[7, 56] Operation: 60-4=56
Exploring Operation: 7-4=3, Resulting Numbers: [60, 3]
Generated Node #0,1,1: 32:[60, 3] Operation: 7-4=3
Exploring Operation: 60-7=53, Resulting Numbers: [4, 53]
Generated Node #0,1,2: 32:[4, 53] Operation: 60-7=53
Exploring Operation: 60/4=15, Resulting Numbers: [7, 15]
Generated Node #0,1,3: 32:[7, 15] Operation: 60/4=15
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 32:[7, 15], Operations: ['57-50=7', '60/4=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,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:[4, 53], Operations: ['57-50=7', '60-7=53']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,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,0
Current State: 32:[7, 56], Operations: ['57-50=7', '60-4=56']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 7*56=392, Resulting Numbers: [392]
392,32 unequal: No Solution
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,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:[60, 3], Operations: ['57-50=7', '7-4=3']
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,32 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,32 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: 32:[57, 50, 15], Operations: ['60/4=15']
Exploring Operation: 57+15=72, Resulting Numbers: [50, 72]
Generated Node #0,3,0: 32:[50, 72] Operation: 57+15=72
Exploring Operation: 50-15=35, Resulting Numbers: [57, 35]
Generated Node #0,3,1: 32:[57, 35] Operation: 50-15=35
Exploring Operation: 57-50=7, Resulting Numbers: [15, 7]
Generated Node #0,3,2: 32:[15, 7] Operation: 57-50=7
Exploring Operation: 57-15=42, Resulting Numbers: [50, 42]
Generated Node #0,3,3: 32:[50, 42] Operation: 57-15=42
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[15, 7], Operations: ['60/4=15', '57-50=7']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 32:[57, 35], Operations: ['60/4=15', '50-15=35']
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,32 unequal: No Solution
Exploring Operation: 57*35=1995, Resulting Numbers: [1995]
1995,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 32:[50, 42], Operations: ['60/4=15', '57-15=42']
Exploring Operation: 50+42=92, Resulting Numbers: [92]
92,32 unequal: No Solution
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 50*42=2100, Resulting Numbers: [2100]
2100,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 32:[50, 72], Operations: ['60/4=15', '57+15=72']
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 50*72=3600, Resulting Numbers: [3600]
3600,32 unequal: No Solution
Exploring Operation: 50+72=122, Resulting Numbers: [122]
122,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 32:[4, 47], Operations: ['60-57=3', '50-3=47']
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,32 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[3, 46], Operations: ['60-57=3', '50-4=46']
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,32 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[50, 7], Operations: ['60-57=3', '4+3=7']
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,32 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[50, 1], Operations: ['60-57=3', '4-3=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,32 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,32 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
84,
59,
2,
31
] | 98 | [
"59-31=28",
"28/2=14",
"84+14=98"
] | Current State: 98:[84, 59, 2, 31], Operations: []
Exploring Operation: 59-31=28, Resulting Numbers: [84, 2, 28]
Generated Node #2: [84, 2, 28] from Operation: 59-31=28
Current State: 98:[84, 2, 28], Operations: ['59-31=28']
Exploring Operation: 28/2=14, Resulting Numbers: [84, 14]
Generated Node #3: [84, 14] from Operation: 28/2=14
Current State: 98:[84, 14], Operations: ['59-31=28', '28/2=14']
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[84, 59, 2, 31], Operations: []
Exploring Operation: 84-31=53, Resulting Numbers: [59, 2, 53]
Generated Node #0,0: 98:[59, 2, 53] Operation: 84-31=53
Moving to Node #0,0
Current State: 98:[59, 2, 53], Operations: ['84-31=53']
Exploring Operation: 59-53=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 98:[2, 6] Operation: 59-53=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[2, 6], Operations: ['84-31=53', '59-53=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,98 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 |
[
17,
14,
64,
51
] | 16 | [
"17-14=3",
"64-51=13",
"3+13=16"
] | Current State: 16:[17, 14, 64, 51], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [64, 51, 3]
Generated Node #2: [64, 51, 3] from Operation: 17-14=3
Current State: 16:[64, 51, 3], Operations: ['17-14=3']
Exploring Operation: 64-51=13, Resulting Numbers: [3, 13]
Generated Node #3: [3, 13] from Operation: 64-51=13
Current State: 16:[3, 13], Operations: ['17-14=3', '64-51=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[17, 14, 64, 51], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [14, 64, 3]
Generated Node #0,0: 16:[14, 64, 3] Operation: 51/17=3
Exploring Operation: 64-17=47, Resulting Numbers: [14, 51, 47]
Generated Node #0,1: 16:[14, 51, 47] Operation: 64-17=47
Exploring Operation: 64-51=13, Resulting Numbers: [17, 14, 13]
Generated Node #0,2: 16:[17, 14, 13] Operation: 64-51=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[17, 14, 13], Operations: ['64-51=13']
Exploring Operation: 17-14=3, Resulting Numbers: [13, 3]
Generated Node #0,2,0: 16:[13, 3] Operation: 17-14=3
Exploring Operation: 17-13=4, Resulting Numbers: [14, 4]
Generated Node #0,2,1: 16:[14, 4] Operation: 17-13=4
Exploring Operation: 14-13=1, Resulting Numbers: [17, 1]
Generated Node #0,2,2: 16:[17, 1] Operation: 14-13=1
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 16:[14, 4], Operations: ['64-51=13', '17-13=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 16:[17, 1], Operations: ['64-51=13', '14-13=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[17, 14, 64, 51], Operations: []
Exploring Operation: 64-51=13, Resulting Numbers: [17, 14, 13]
Generated Node #0,2: 16:[17, 14, 13] Operation: 64-51=13
Moving to Node #0,2
Current State: 16:[17, 14, 13], Operations: ['64-51=13']
Exploring Operation: 14-13=1, Resulting Numbers: [17, 1]
Generated Node #0,2,2: 16:[17, 1] Operation: 14-13=1
Moving to Node #0,2,2
Current State: 16:[17, 1], Operations: ['64-51=13', '14-13=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
32,
32,
83,
31
] | 83 | [
"32-32=0",
"31*0=0",
"83+0=83"
] | Current State: 83:[32, 32, 83, 31], Operations: []
Exploring Operation: 32-32=0, Resulting Numbers: [83, 31, 0]
Generated Node #2: [83, 31, 0] from Operation: 32-32=0
Current State: 83:[83, 31, 0], Operations: ['32-32=0']
Exploring Operation: 31*0=0, Resulting Numbers: [83, 0]
Generated Node #3: [83, 0] from Operation: 31*0=0
Current State: 83:[83, 0], Operations: ['32-32=0', '31*0=0']
Exploring Operation: 83+0=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[32, 32, 83, 31], Operations: []
Exploring Operation: 32+32=64, Resulting Numbers: [83, 31, 64]
Generated Node #0,0: 83:[83, 31, 64] Operation: 32+32=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[83, 31, 64], Operations: ['32+32=64']
Exploring Operation: 31+64=95, Resulting Numbers: [83, 95]
Generated Node #0,0,0: 83:[83, 95] Operation: 31+64=95
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[83, 95], Operations: ['32+32=64', '31+64=95']
Exploring Operation: 95-83=12, Resulting Numbers: [12]
12,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
15,
50,
24
] | 13 | [
"15-2=13",
"50-24=26",
"26-13=13"
] | Current State: 13:[2, 15, 50, 24], Operations: []
Exploring Operation: 15-2=13, Resulting Numbers: [50, 24, 13]
Generated Node #2: [50, 24, 13] from Operation: 15-2=13
Current State: 13:[50, 24, 13], Operations: ['15-2=13']
Exploring Operation: 50-24=26, Resulting Numbers: [13, 26]
Generated Node #3: [13, 26] from Operation: 50-24=26
Current State: 13:[13, 26], Operations: ['15-2=13', '50-24=26']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[2, 15, 50, 24], Operations: []
Exploring Operation: 15-2=13, Resulting Numbers: [50, 24, 13]
Generated Node #0,0: 13:[50, 24, 13] Operation: 15-2=13
Exploring Operation: 50-24=26, Resulting Numbers: [2, 15, 26]
Generated Node #0,1: 13:[2, 15, 26] Operation: 50-24=26
Exploring Operation: 50/2=25, Resulting Numbers: [15, 24, 25]
Generated Node #0,2: 13:[15, 24, 25] Operation: 50/2=25
Exploring Operation: 24/2=12, Resulting Numbers: [15, 50, 12]
Generated Node #0,3: 13:[15, 50, 12] Operation: 24/2=12
Exploring Operation: 50-15=35, Resulting Numbers: [2, 24, 35]
Generated Node #0,4: 13:[2, 24, 35] Operation: 50-15=35
Moving to Node #0,2
Current State: 13:[15, 24, 25], Operations: ['50/2=25']
Exploring Operation: 15+24=39, Resulting Numbers: [25, 39]
Generated Node #0,2,0: 13:[25, 39] Operation: 15+24=39
Exploring Operation: 25-24=1, Resulting Numbers: [15, 1]
Generated Node #0,2,1: 13:[15, 1] Operation: 25-24=1
Exploring Operation: 24-15=9, Resulting Numbers: [25, 9]
Generated Node #0,2,2: 13:[25, 9] Operation: 24-15=9
Exploring Operation: 25-15=10, Resulting Numbers: [24, 10]
Generated Node #0,2,3: 13:[24, 10] Operation: 25-15=10
Exploring Operation: 15+25=40, Resulting Numbers: [24, 40]
Generated Node #0,2,4: 13:[24, 40] Operation: 15+25=40
Moving to Node #0,1
Current State: 13:[2, 15, 26], Operations: ['50-24=26']
Exploring Operation: 26/2=13, Resulting Numbers: [15, 13]
Generated Node #0,1,0: 13:[15, 13] Operation: 26/2=13
Exploring Operation: 26-2=24, Resulting Numbers: [15, 24]
Generated Node #0,1,1: 13:[15, 24] Operation: 26-2=24
Exploring Operation: 2+15=17, Resulting Numbers: [26, 17]
Generated Node #0,1,2: 13:[26, 17] Operation: 2+15=17
Exploring Operation: 26-15=11, Resulting Numbers: [2, 11]
Generated Node #0,1,3: 13:[2, 11] Operation: 26-15=11
Exploring Operation: 15-2=13, Resulting Numbers: [26, 13]
Generated Node #0,1,4: 13:[26, 13] Operation: 15-2=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[15, 13], Operations: ['50-24=26', '26/2=13']
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,13 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[15, 24], Operations: ['50-24=26', '26-2=24']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,13 unequal: No Solution
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[2, 11], Operations: ['50-24=26', '26-15=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[2, 15, 50, 24], Operations: []
Exploring Operation: 50-24=26, Resulting Numbers: [2, 15, 26]
Generated Node #0,1: 13:[2, 15, 26] Operation: 50-24=26
Moving to Node #0,1
Current State: 13:[2, 15, 26], Operations: ['50-24=26']
Exploring Operation: 26-15=11, Resulting Numbers: [2, 11]
Generated Node #0,1,3: 13:[2, 11] Operation: 26-15=11
Moving to Node #0,1,3
Current State: 13:[2, 11], Operations: ['50-24=26', '26-15=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
28,
81,
9,
41
] | 77 | [
"28+81=109",
"41-9=32",
"109-32=77"
] | Current State: 77:[28, 81, 9, 41], Operations: []
Exploring Operation: 28+81=109, Resulting Numbers: [9, 41, 109]
Generated Node #2: [9, 41, 109] from Operation: 28+81=109
Current State: 77:[9, 41, 109], Operations: ['28+81=109']
Exploring Operation: 41-9=32, Resulting Numbers: [109, 32]
Generated Node #3: [109, 32] from Operation: 41-9=32
Current State: 77:[109, 32], Operations: ['28+81=109', '41-9=32']
Exploring Operation: 109-32=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[28, 81, 9, 41], Operations: []
Exploring Operation: 41-28=13, Resulting Numbers: [81, 9, 13]
Generated Node #0,0: 77:[81, 9, 13] Operation: 41-28=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[81, 9, 13], Operations: ['41-28=13']
Exploring Operation: 81/9=9, Resulting Numbers: [13, 9]
Generated Node #0,0,0: 77:[13, 9] Operation: 81/9=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[13, 9], Operations: ['41-28=13', '81/9=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,77 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 |
[
85,
25,
10,
6
] | 94 | [
"85+25=110",
"10+6=16",
"110-16=94"
] | Current State: 94:[85, 25, 10, 6], Operations: []
Exploring Operation: 85+25=110, Resulting Numbers: [10, 6, 110]
Generated Node #2: [10, 6, 110] from Operation: 85+25=110
Current State: 94:[10, 6, 110], Operations: ['85+25=110']
Exploring Operation: 10+6=16, Resulting Numbers: [110, 16]
Generated Node #3: [110, 16] from Operation: 10+6=16
Current State: 94:[110, 16], Operations: ['85+25=110', '10+6=16']
Exploring Operation: 110-16=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[85, 25, 10, 6], Operations: []
Exploring Operation: 25-10=15, Resulting Numbers: [85, 6, 15]
Generated Node #0,0: 94:[85, 6, 15] Operation: 25-10=15
Exploring Operation: 85+10=95, Resulting Numbers: [25, 6, 95]
Generated Node #0,1: 94:[25, 6, 95] Operation: 85+10=95
Exploring Operation: 85-25=60, Resulting Numbers: [10, 6, 60]
Generated Node #0,2: 94:[10, 6, 60] Operation: 85-25=60
Exploring Operation: 25+10=35, Resulting Numbers: [85, 6, 35]
Generated Node #0,3: 94:[85, 6, 35] Operation: 25+10=35
Moving to Node #0,2
Current State: 94:[10, 6, 60], Operations: ['85-25=60']
Exploring Operation: 60-10=50, Resulting Numbers: [6, 50]
Generated Node #0,2,0: 94:[6, 50] Operation: 60-10=50
Exploring Operation: 60-6=54, Resulting Numbers: [10, 54]
Generated Node #0,2,1: 94:[10, 54] Operation: 60-6=54
Exploring Operation: 10-6=4, Resulting Numbers: [60, 4]
Generated Node #0,2,2: 94:[60, 4] Operation: 10-6=4
Exploring Operation: 60/10=6, Resulting Numbers: [6, 6]
Generated Node #0,2,3: 94:[6, 6] Operation: 60/10=6
Moving to Node #0,3
Current State: 94:[85, 6, 35], Operations: ['25+10=35']
Exploring Operation: 6+35=41, Resulting Numbers: [85, 41]
Generated Node #0,3,0: 94:[85, 41] Operation: 6+35=41
Exploring Operation: 85-6=79, Resulting Numbers: [35, 79]
Generated Node #0,3,1: 94:[35, 79] Operation: 85-6=79
Exploring Operation: 85-35=50, Resulting Numbers: [6, 50]
Generated Node #0,3,2: 94:[6, 50] Operation: 85-35=50
Exploring Operation: 85+6=91, Resulting Numbers: [35, 91]
Generated Node #0,3,3: 94:[35, 91] Operation: 85+6=91
Moving to Node #0,0
Current State: 94:[85, 6, 15], Operations: ['25-10=15']
Exploring Operation: 6*15=90, Resulting Numbers: [85, 90]
Generated Node #0,0,0: 94:[85, 90] Operation: 6*15=90
Exploring Operation: 85+6=91, Resulting Numbers: [15, 91]
Generated Node #0,0,1: 94:[15, 91] Operation: 85+6=91
Exploring Operation: 85+15=100, Resulting Numbers: [6, 100]
Generated Node #0,0,2: 94:[6, 100] Operation: 85+15=100
Exploring Operation: 15-6=9, Resulting Numbers: [85, 9]
Generated Node #0,0,3: 94:[85, 9] Operation: 15-6=9
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[6, 100], Operations: ['25-10=15', '85+15=100']
Exploring Operation: 6*100=600, Resulting Numbers: [600]
600,94 unequal: No Solution
Exploring Operation: 100-6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[85, 25, 10, 6], Operations: []
Exploring Operation: 25-10=15, Resulting Numbers: [85, 6, 15]
Generated Node #0,0: 94:[85, 6, 15] Operation: 25-10=15
Moving to Node #0,0
Current State: 94:[85, 6, 15], Operations: ['25-10=15']
Exploring Operation: 85+15=100, Resulting Numbers: [6, 100]
Generated Node #0,0,2: 94:[6, 100] Operation: 85+15=100
Moving to Node #0,0,2
Current State: 94:[6, 100], Operations: ['25-10=15', '85+15=100']
Exploring Operation: 100-6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
67,
64,
47,
41
] | 85 | [
"67-64=3",
"47+41=88",
"88-3=85"
] | Current State: 85:[67, 64, 47, 41], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [47, 41, 3]
Generated Node #2: [47, 41, 3] from Operation: 67-64=3
Current State: 85:[47, 41, 3], Operations: ['67-64=3']
Exploring Operation: 47+41=88, Resulting Numbers: [3, 88]
Generated Node #3: [3, 88] from Operation: 47+41=88
Current State: 85:[3, 88], Operations: ['67-64=3', '47+41=88']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[67, 64, 47, 41], Operations: []
Exploring Operation: 64-47=17, Resulting Numbers: [67, 41, 17]
Generated Node #0,0: 85:[67, 41, 17] Operation: 64-47=17
Exploring Operation: 67-47=20, Resulting Numbers: [64, 41, 20]
Generated Node #0,1: 85:[64, 41, 20] Operation: 67-47=20
Exploring Operation: 47+41=88, Resulting Numbers: [67, 64, 88]
Generated Node #0,2: 85:[67, 64, 88] Operation: 47+41=88
Exploring Operation: 47-41=6, Resulting Numbers: [67, 64, 6]
Generated Node #0,3: 85:[67, 64, 6] Operation: 47-41=6
Moving to Node #0,3
Current State: 85:[67, 64, 6], Operations: ['47-41=6']
Exploring Operation: 64+6=70, Resulting Numbers: [67, 70]
Generated Node #0,3,0: 85:[67, 70] Operation: 64+6=70
Exploring Operation: 67+6=73, Resulting Numbers: [64, 73]
Generated Node #0,3,1: 85:[64, 73] Operation: 67+6=73
Exploring Operation: 67-64=3, Resulting Numbers: [6, 3]
Generated Node #0,3,2: 85:[6, 3] Operation: 67-64=3
Exploring Operation: 67-6=61, Resulting Numbers: [64, 61]
Generated Node #0,3,3: 85:[64, 61] Operation: 67-6=61
Moving to Node #0,2
Current State: 85:[67, 64, 88], Operations: ['47+41=88']
Exploring Operation: 67-64=3, Resulting Numbers: [88, 3]
Generated Node #0,2,0: 85:[88, 3] Operation: 67-64=3
Exploring Operation: 67+64=131, Resulting Numbers: [88, 131]
Generated Node #0,2,1: 85:[88, 131] Operation: 67+64=131
Exploring Operation: 88-67=21, Resulting Numbers: [64, 21]
Generated Node #0,2,2: 85:[64, 21] Operation: 88-67=21
Exploring Operation: 88-64=24, Resulting Numbers: [67, 24]
Generated Node #0,2,3: 85:[67, 24] Operation: 88-64=24
Moving to Node #0,0
Current State: 85:[67, 41, 17], Operations: ['64-47=17']
Exploring Operation: 67+41=108, Resulting Numbers: [17, 108]
Generated Node #0,0,0: 85:[17, 108] Operation: 67+41=108
Exploring Operation: 41-17=24, Resulting Numbers: [67, 24]
Generated Node #0,0,1: 85:[67, 24] Operation: 41-17=24
Exploring Operation: 67-41=26, Resulting Numbers: [17, 26]
Generated Node #0,0,2: 85:[17, 26] Operation: 67-41=26
Exploring Operation: 67+17=84, Resulting Numbers: [41, 84]
Generated Node #0,0,3: 85:[41, 84] Operation: 67+17=84
Moving to Node #0,1
Current State: 85:[64, 41, 20], Operations: ['67-47=20']
Exploring Operation: 41-20=21, Resulting Numbers: [64, 21]
Generated Node #0,1,0: 85:[64, 21] Operation: 41-20=21
Exploring Operation: 64-41=23, Resulting Numbers: [20, 23]
Generated Node #0,1,1: 85:[20, 23] Operation: 64-41=23
Exploring Operation: 64+20=84, Resulting Numbers: [41, 84]
Generated Node #0,1,2: 85:[41, 84] Operation: 64+20=84
Exploring Operation: 64+41=105, Resulting Numbers: [20, 105]
Generated Node #0,1,3: 85:[20, 105] Operation: 64+41=105
Moving to Node #0,3,2
Current State: 85:[6, 3], Operations: ['47-41=6', '67-64=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[88, 3], Operations: ['47+41=88', '67-64=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,85 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[67, 64, 47, 41], Operations: []
Exploring Operation: 47+41=88, Resulting Numbers: [67, 64, 88]
Generated Node #0,2: 85:[67, 64, 88] Operation: 47+41=88
Moving to Node #0,2
Current State: 85:[67, 64, 88], Operations: ['47+41=88']
Exploring Operation: 67-64=3, Resulting Numbers: [88, 3]
Generated Node #0,2,0: 85:[88, 3] Operation: 67-64=3
Moving to Node #0,2,0
Current State: 85:[88, 3], Operations: ['47+41=88', '67-64=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.97309 | hs_4 | sum_heuristic |
[
40,
68,
44,
56
] | 40 | [
"68-40=28",
"56-44=12",
"28+12=40"
] | Current State: 40:[40, 68, 44, 56], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [44, 56, 28]
Generated Node #2: [44, 56, 28] from Operation: 68-40=28
Current State: 40:[44, 56, 28], Operations: ['68-40=28']
Exploring Operation: 56-44=12, Resulting Numbers: [28, 12]
Generated Node #3: [28, 12] from Operation: 56-44=12
Current State: 40:[28, 12], Operations: ['68-40=28', '56-44=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[40, 68, 44, 56], Operations: []
Exploring Operation: 68-56=12, Resulting Numbers: [40, 44, 12]
Generated Node #0,0: 40:[40, 44, 12] Operation: 68-56=12
Exploring Operation: 68-44=24, Resulting Numbers: [40, 56, 24]
Generated Node #0,1: 40:[40, 56, 24] Operation: 68-44=24
Moving to Node #0,0
Current State: 40:[40, 44, 12], Operations: ['68-56=12']
Exploring Operation: 44-40=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 40:[12, 4] Operation: 44-40=4
Exploring Operation: 44-12=32, Resulting Numbers: [40, 32]
Generated Node #0,0,1: 40:[40, 32] Operation: 44-12=32
Moving to Node #0,1
Current State: 40:[40, 56, 24], Operations: ['68-44=24']
Exploring Operation: 56-40=16, Resulting Numbers: [24, 16]
Generated Node #0,1,0: 40:[24, 16] Operation: 56-40=16
Exploring Operation: 56-24=32, Resulting Numbers: [40, 32]
Generated Node #0,1,1: 40:[40, 32] Operation: 56-24=32
Moving to Node #0,0,0
Current State: 40:[12, 4], Operations: ['68-56=12', '44-40=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[24, 16], Operations: ['68-44=24', '56-40=16']
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[40, 68, 44, 56], Operations: []
Exploring Operation: 68-44=24, Resulting Numbers: [40, 56, 24]
Generated Node #0,1: 40:[40, 56, 24] Operation: 68-44=24
Moving to Node #0,1
Current State: 40:[40, 56, 24], Operations: ['68-44=24']
Exploring Operation: 56-40=16, Resulting Numbers: [24, 16]
Generated Node #0,1,0: 40:[24, 16] Operation: 56-40=16
Moving to Node #0,1,0
Current State: 40:[24, 16], Operations: ['68-44=24', '56-40=16']
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
19,
89,
44,
39
] | 75 | [
"89-19=70",
"44-39=5",
"70+5=75"
] | Current State: 75:[19, 89, 44, 39], Operations: []
Exploring Operation: 89-19=70, Resulting Numbers: [44, 39, 70]
Generated Node #2: [44, 39, 70] from Operation: 89-19=70
Current State: 75:[44, 39, 70], Operations: ['89-19=70']
Exploring Operation: 44-39=5, Resulting Numbers: [70, 5]
Generated Node #3: [70, 5] from Operation: 44-39=5
Current State: 75:[70, 5], Operations: ['89-19=70', '44-39=5']
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[19, 89, 44, 39], Operations: []
Exploring Operation: 44+39=83, Resulting Numbers: [19, 89, 83]
Generated Node #0,0: 75:[19, 89, 83] Operation: 44+39=83
Exploring Operation: 44-39=5, Resulting Numbers: [19, 89, 5]
Generated Node #0,1: 75:[19, 89, 5] Operation: 44-39=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[19, 89, 5], Operations: ['44-39=5']
Exploring Operation: 89-5=84, Resulting Numbers: [19, 84]
Generated Node #0,1,0: 75:[19, 84] Operation: 89-5=84
Exploring Operation: 89-19=70, Resulting Numbers: [5, 70]
Generated Node #0,1,1: 75:[5, 70] Operation: 89-19=70
Moving to Node #0,1,1
Current State: 75:[5, 70], Operations: ['44-39=5', '89-19=70']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 5+70=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[19, 89, 44, 39], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [19, 89, 5]
Generated Node #0,1: 75:[19, 89, 5] Operation: 44-39=5
Moving to Node #0,1
Current State: 75:[19, 89, 5], Operations: ['44-39=5']
Exploring Operation: 89-19=70, Resulting Numbers: [5, 70]
Generated Node #0,1,1: 75:[5, 70] Operation: 89-19=70
Moving to Node #0,1,1
Current State: 75:[5, 70], Operations: ['44-39=5', '89-19=70']
Exploring Operation: 5+70=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
28,
7,
86,
14
] | 43 | [
"28-14=14",
"7*86=602",
"602/14=43"
] | Current State: 43:[28, 7, 86, 14], Operations: []
Exploring Operation: 28-14=14, Resulting Numbers: [7, 86, 14]
Generated Node #2: [7, 86, 14] from Operation: 28-14=14
Current State: 43:[7, 86, 14], Operations: ['28-14=14']
Exploring Operation: 7*86=602, Resulting Numbers: [14, 602]
Generated Node #3: [14, 602] from Operation: 7*86=602
Current State: 43:[14, 602], Operations: ['28-14=14', '7*86=602']
Exploring Operation: 602/14=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[28, 7, 86, 14], Operations: []
Exploring Operation: 86-28=58, Resulting Numbers: [7, 14, 58]
Generated Node #0,0: 43:[7, 14, 58] Operation: 86-28=58
Exploring Operation: 7+14=21, Resulting Numbers: [28, 86, 21]
Generated Node #0,1: 43:[28, 86, 21] Operation: 7+14=21
Exploring Operation: 86-7=79, Resulting Numbers: [28, 14, 79]
Generated Node #0,2: 43:[28, 14, 79] Operation: 86-7=79
Exploring Operation: 28+14=42, Resulting Numbers: [7, 86, 42]
Generated Node #0,3: 43:[7, 86, 42] Operation: 28+14=42
Exploring Operation: 28+7=35, Resulting Numbers: [86, 14, 35]
Generated Node #0,4: 43:[86, 14, 35] Operation: 28+7=35
Moving to Node #0,0
Current State: 43:[7, 14, 58], Operations: ['86-28=58']
Exploring Operation: 7+58=65, Resulting Numbers: [14, 65]
Generated Node #0,0,0: 43:[14, 65] Operation: 7+58=65
Exploring Operation: 14-7=7, Resulting Numbers: [58, 7]
Generated Node #0,0,1: 43:[58, 7] Operation: 14-7=7
Exploring Operation: 58-7=51, Resulting Numbers: [14, 51]
Generated Node #0,0,2: 43:[14, 51] Operation: 58-7=51
Exploring Operation: 58-14=44, Resulting Numbers: [7, 44]
Generated Node #0,0,3: 43:[7, 44] Operation: 58-14=44
Exploring Operation: 7+14=21, Resulting Numbers: [58, 21]
Generated Node #0,0,4: 43:[58, 21] Operation: 7+14=21
Moving to Node #0,2
Current State: 43:[28, 14, 79], Operations: ['86-7=79']
Exploring Operation: 28+14=42, Resulting Numbers: [79, 42]
Generated Node #0,2,0: 43:[79, 42] Operation: 28+14=42
Exploring Operation: 79-28=51, Resulting Numbers: [14, 51]
Generated Node #0,2,1: 43:[14, 51] Operation: 79-28=51
Exploring Operation: 28-14=14, Resulting Numbers: [79, 14]
Generated Node #0,2,2: 43:[79, 14] Operation: 28-14=14
Exploring Operation: 14+79=93, Resulting Numbers: [28, 93]
Generated Node #0,2,3: 43:[28, 93] Operation: 14+79=93
Exploring Operation: 79-14=65, Resulting Numbers: [28, 65]
Generated Node #0,2,4: 43:[28, 65] Operation: 79-14=65
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[79, 42], Operations: ['86-7=79', '28+14=42']
Exploring Operation: 79*42=3318, Resulting Numbers: [3318]
3318,43 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Exploring Operation: 79+42=121, Resulting Numbers: [121]
121,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[14, 51], Operations: ['86-7=79', '79-28=51']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,43 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 43:[28, 65], Operations: ['86-7=79', '79-14=65']
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Exploring Operation: 28*65=1820, Resulting Numbers: [1820]
1820,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[79, 14], Operations: ['86-7=79', '28-14=14']
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 79*14=1106, Resulting Numbers: [1106]
1106,43 unequal: No Solution
Exploring Operation: 79+14=93, Resulting Numbers: [93]
93,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 43:[28, 93], Operations: ['86-7=79', '14+79=93']
Exploring Operation: 28*93=2604, Resulting Numbers: [2604]
2604,43 unequal: No Solution
Exploring Operation: 28+93=121, Resulting Numbers: [121]
121,43 unequal: No Solution
Exploring Operation: 93-28=65, Resulting Numbers: [65]
65,43 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: 43:[86, 14, 35], Operations: ['28+7=35']
Exploring Operation: 86-35=51, Resulting Numbers: [14, 51]
Generated Node #0,4,0: 43:[14, 51] Operation: 86-35=51
Exploring Operation: 14+35=49, Resulting Numbers: [86, 49]
Generated Node #0,4,1: 43:[86, 49] Operation: 14+35=49
Exploring Operation: 86+14=100, Resulting Numbers: [35, 100]
Generated Node #0,4,2: 43:[35, 100] Operation: 86+14=100
Exploring Operation: 35-14=21, Resulting Numbers: [86, 21]
Generated Node #0,4,3: 43:[86, 21] Operation: 35-14=21
Exploring Operation: 86-14=72, Resulting Numbers: [35, 72]
Generated Node #0,4,4: 43:[35, 72] Operation: 86-14=72
Moving to Node #0,1
Current State: 43:[28, 86, 21], Operations: ['7+14=21']
Exploring Operation: 86-21=65, Resulting Numbers: [28, 65]
Generated Node #0,1,0: 43:[28, 65] Operation: 86-21=65
Exploring Operation: 86+21=107, Resulting Numbers: [28, 107]
Generated Node #0,1,1: 43:[28, 107] Operation: 86+21=107
Exploring Operation: 86-28=58, Resulting Numbers: [21, 58]
Generated Node #0,1,2: 43:[21, 58] Operation: 86-28=58
Exploring Operation: 28-21=7, Resulting Numbers: [86, 7]
Generated Node #0,1,3: 43:[86, 7] Operation: 28-21=7
Exploring Operation: 28+21=49, Resulting Numbers: [86, 49]
Generated Node #0,1,4: 43:[86, 49] Operation: 28+21=49
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[28, 65], Operations: ['7+14=21', '86-21=65']
Exploring Operation: 28*65=1820, Resulting Numbers: [1820]
1820,43 unequal: No Solution
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 43:[21, 58], Operations: ['7+14=21', '86-28=58']
Exploring Operation: 21*58=1218, Resulting Numbers: [1218]
1218,43 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Exploring Operation: 21+58=79, Resulting Numbers: [79]
79,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 43:[86, 49], Operations: ['7+14=21', '28+21=49']
Exploring Operation: 86+49=135, Resulting Numbers: [135]
135,43 unequal: No Solution
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Exploring Operation: 86*49=4214, Resulting Numbers: [4214]
4214,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[28, 107], Operations: ['7+14=21', '86+21=107']
Exploring Operation: 28*107=2996, Resulting Numbers: [2996]
2996,43 unequal: No Solution
Exploring Operation: 28+107=135, Resulting Numbers: [135]
135,43 unequal: No Solution
Exploring Operation: 107-28=79, Resulting Numbers: [79]
79,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 43:[86, 7], Operations: ['7+14=21', '28-21=7']
Exploring Operation: 86+7=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 86*7=602, Resulting Numbers: [602]
602,43 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: 43:[7, 86, 42], Operations: ['28+14=42']
Exploring Operation: 42-7=35, Resulting Numbers: [86, 35]
Generated Node #0,3,0: 43:[86, 35] Operation: 42-7=35
Exploring Operation: 7+42=49, Resulting Numbers: [86, 49]
Generated Node #0,3,1: 43:[86, 49] Operation: 7+42=49
Exploring Operation: 86-42=44, Resulting Numbers: [7, 44]
Generated Node #0,3,2: 43:[7, 44] Operation: 86-42=44
Exploring Operation: 7+86=93, Resulting Numbers: [42, 93]
Generated Node #0,3,3: 43:[42, 93] Operation: 7+86=93
Exploring Operation: 86-7=79, Resulting Numbers: [42, 79]
Generated Node #0,3,4: 43:[42, 79] Operation: 86-7=79
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 43:[7, 44], Operations: ['28+14=42', '86-42=44']
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,43 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 43:[42, 79], Operations: ['28+14=42', '86-7=79']
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,43 unequal: No Solution
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,43 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 43:[86, 49], Operations: ['28+14=42', '7+42=49']
Exploring Operation: 86+49=135, Resulting Numbers: [135]
135,43 unequal: No Solution
Exploring Operation: 86*49=4214, Resulting Numbers: [4214]
4214,43 unequal: No Solution
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 43:[86, 35], Operations: ['28+14=42', '42-7=35']
Exploring Operation: 86*35=3010, Resulting Numbers: [3010]
3010,43 unequal: No Solution
Exploring Operation: 86+35=121, Resulting Numbers: [121]
121,43 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 43:[42, 93], Operations: ['28+14=42', '7+86=93']
Exploring Operation: 42*93=3906, Resulting Numbers: [3906]
3906,43 unequal: No Solution
Exploring Operation: 42+93=135, Resulting Numbers: [135]
135,43 unequal: No Solution
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 43:[14, 51], Operations: ['86-28=58', '58-7=51']
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,43 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Moving to Node #0,0,4
Current State: 43:[58, 21], Operations: ['86-28=58', '7+14=21']
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,43 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Moving to Node #0,4,4
Current State: 43:[35, 72], Operations: ['28+7=35', '86-14=72']
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Exploring Operation: 35+72=107, Resulting Numbers: [107]
107,43 unequal: No Solution
Exploring Operation: 35*72=2520, Resulting Numbers: [2520]
2520,43 unequal: No Solution
Moving to Node #0,4,0
Current State: 43:[14, 51], Operations: ['28+7=35', '86-35=51']
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,43 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[7, 44], Operations: ['86-28=58', '58-14=44']
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,43 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Moving to Node #0,4,1
Current State: 43:[86, 49], Operations: ['28+7=35', '14+35=49']
Exploring Operation: 86*49=4214, Resulting Numbers: [4214]
4214,43 unequal: No Solution
Exploring Operation: 86+49=135, Resulting Numbers: [135]
135,43 unequal: No Solution
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[14, 65], Operations: ['86-28=58', '7+58=65']
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 14+65=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 14*65=910, Resulting Numbers: [910]
910,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[58, 7], Operations: ['86-28=58', '14-7=7']
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,43 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Moving to Node #0,4,3
Current State: 43:[86, 21], Operations: ['28+7=35', '35-14=21']
Exploring Operation: 86-21=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 86*21=1806, Resulting Numbers: [1806]
1806,43 unequal: No Solution
Exploring Operation: 86+21=107, Resulting Numbers: [107]
107,43 unequal: No Solution
Moving to Node #0,4,2
Current State: 43:[35, 100], Operations: ['28+7=35', '86+14=100']
Exploring Operation: 35*100=3500, Resulting Numbers: [3500]
3500,43 unequal: No Solution
Exploring Operation: 100-35=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 35+100=135, Resulting Numbers: [135]
135,43 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
14,
51,
23,
32
] | 92 | [
"51-14=37",
"23+32=55",
"37+55=92"
] | Current State: 92:[14, 51, 23, 32], Operations: []
Exploring Operation: 51-14=37, Resulting Numbers: [23, 32, 37]
Generated Node #2: [23, 32, 37] from Operation: 51-14=37
Current State: 92:[23, 32, 37], Operations: ['51-14=37']
Exploring Operation: 23+32=55, Resulting Numbers: [37, 55]
Generated Node #3: [37, 55] from Operation: 23+32=55
Current State: 92:[37, 55], Operations: ['51-14=37', '23+32=55']
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[14, 51, 23, 32], Operations: []
Exploring Operation: 14+32=46, Resulting Numbers: [51, 23, 46]
Generated Node #0,0: 92:[51, 23, 46] Operation: 14+32=46
Exploring Operation: 32-14=18, Resulting Numbers: [51, 23, 18]
Generated Node #0,1: 92:[51, 23, 18] Operation: 32-14=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[51, 23, 46], Operations: ['14+32=46']
Exploring Operation: 51-23=28, Resulting Numbers: [46, 28]
Generated Node #0,0,0: 92:[46, 28] Operation: 51-23=28
Exploring Operation: 51-46=5, Resulting Numbers: [23, 5]
Generated Node #0,0,1: 92:[23, 5] Operation: 51-46=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[23, 5], Operations: ['14+32=46', '51-46=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,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,0,0
Current State: 92:[46, 28], Operations: ['14+32=46', '51-23=28']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,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,1
Current State: 92:[51, 23, 18], Operations: ['32-14=18']
Exploring Operation: 51-23=28, Resulting Numbers: [18, 28]
Generated Node #0,1,0: 92:[18, 28] Operation: 51-23=28
Exploring Operation: 23-18=5, Resulting Numbers: [51, 5]
Generated Node #0,1,1: 92:[51, 5] Operation: 23-18=5
Moving to Node #0,1,1
Current State: 92:[51, 5], Operations: ['32-14=18', '23-18=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[18, 28], Operations: ['32-14=18', '51-23=28']
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
71,
19,
42,
93
] | 14 | [
"71+19=90",
"93-90=3",
"42/3=14"
] | Current State: 14:[71, 19, 42, 93], Operations: []
Exploring Operation: 71+19=90, Resulting Numbers: [42, 93, 90]
Generated Node #2: [42, 93, 90] from Operation: 71+19=90
Current State: 14:[42, 93, 90], Operations: ['71+19=90']
Exploring Operation: 93-90=3, Resulting Numbers: [42, 3]
Generated Node #3: [42, 3] from Operation: 93-90=3
Current State: 14:[42, 3], Operations: ['71+19=90', '93-90=3']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[71, 19, 42, 93], Operations: []
Exploring Operation: 93-71=22, Resulting Numbers: [19, 42, 22]
Generated Node #0,0: 14:[19, 42, 22] Operation: 93-71=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[19, 42, 22], Operations: ['93-71=22']
Exploring Operation: 42-22=20, Resulting Numbers: [19, 20]
Generated Node #0,0,0: 14:[19, 20] Operation: 42-22=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[19, 20], Operations: ['93-71=22', '42-22=20']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
15,
70,
2,
52
] | 51 | [
"70-52=18",
"2*18=36",
"15+36=51"
] | Current State: 51:[15, 70, 2, 52], Operations: []
Exploring Operation: 70-52=18, Resulting Numbers: [15, 2, 18]
Generated Node #2: [15, 2, 18] from Operation: 70-52=18
Current State: 51:[15, 2, 18], Operations: ['70-52=18']
Exploring Operation: 2*18=36, Resulting Numbers: [15, 36]
Generated Node #3: [15, 36] from Operation: 2*18=36
Current State: 51:[15, 36], Operations: ['70-52=18', '2*18=36']
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[15, 70, 2, 52], Operations: []
Exploring Operation: 70/2=35, Resulting Numbers: [15, 52, 35]
Generated Node #0,0: 51:[15, 52, 35] Operation: 70/2=35
Exploring Operation: 15+2=17, Resulting Numbers: [70, 52, 17]
Generated Node #0,1: 51:[70, 52, 17] Operation: 15+2=17
Exploring Operation: 70-52=18, Resulting Numbers: [15, 2, 18]
Generated Node #0,2: 51:[15, 2, 18] Operation: 70-52=18
Exploring Operation: 70-15=55, Resulting Numbers: [2, 52, 55]
Generated Node #0,3: 51:[2, 52, 55] Operation: 70-15=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[15, 2, 18], Operations: ['70-52=18']
Exploring Operation: 15+2=17, Resulting Numbers: [18, 17]
Generated Node #0,2,0: 51:[18, 17] Operation: 15+2=17
Exploring Operation: 18-2=16, Resulting Numbers: [15, 16]
Generated Node #0,2,1: 51:[15, 16] Operation: 18-2=16
Exploring Operation: 15-2=13, Resulting Numbers: [18, 13]
Generated Node #0,2,2: 51:[18, 13] Operation: 15-2=13
Exploring Operation: 18-15=3, Resulting Numbers: [2, 3]
Generated Node #0,2,3: 51:[2, 3] Operation: 18-15=3
Moving to Node #0,2,0
Current State: 51:[18, 17], Operations: ['70-52=18', '15+2=17']
Exploring Operation: 18*17=306, Resulting Numbers: [306]
306,51 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[2, 3], Operations: ['70-52=18', '18-15=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[15, 16], Operations: ['70-52=18', '18-2=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,51 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[18, 13], Operations: ['70-52=18', '15-2=13']
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,51 unequal: No Solution
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,51 unequal: No Solution
No 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: 51:[2, 52, 55], Operations: ['70-15=55']
Exploring Operation: 52-2=50, Resulting Numbers: [55, 50]
Generated Node #0,3,0: 51:[55, 50] Operation: 52-2=50
Exploring Operation: 2+52=54, Resulting Numbers: [55, 54]
Generated Node #0,3,1: 51:[55, 54] Operation: 2+52=54
Exploring Operation: 55-2=53, Resulting Numbers: [52, 53]
Generated Node #0,3,2: 51:[52, 53] Operation: 55-2=53
Exploring Operation: 55-52=3, Resulting Numbers: [2, 3]
Generated Node #0,3,3: 51:[2, 3] Operation: 55-52=3
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 51:[2, 3], Operations: ['70-15=55', '55-52=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 51:[52, 53], Operations: ['70-15=55', '55-2=53']
Exploring Operation: 52*53=2756, Resulting Numbers: [2756]
2756,51 unequal: No Solution
Exploring Operation: 52+53=105, Resulting Numbers: [105]
105,51 unequal: No Solution
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 51:[55, 50], Operations: ['70-15=55', '52-2=50']
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,51 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[55, 54], Operations: ['70-15=55', '2+52=54']
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,51 unequal: No Solution
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[15, 52, 35], Operations: ['70/2=35']
Exploring Operation: 52-35=17, Resulting Numbers: [15, 17]
Generated Node #0,0,0: 51:[15, 17] Operation: 52-35=17
Exploring Operation: 35-15=20, Resulting Numbers: [52, 20]
Generated Node #0,0,1: 51:[52, 20] Operation: 35-15=20
Exploring Operation: 15+35=50, Resulting Numbers: [52, 50]
Generated Node #0,0,2: 51:[52, 50] Operation: 15+35=50
Exploring Operation: 52-15=37, Resulting Numbers: [35, 37]
Generated Node #0,0,3: 51:[35, 37] Operation: 52-15=37
Moving to Node #0,0,0
Current State: 51:[15, 17], Operations: ['70/2=35', '52-35=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[52, 50], Operations: ['70/2=35', '15+35=50']
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,51 unequal: No Solution
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[52, 20], Operations: ['70/2=35', '35-15=20']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 52*20=1040, Resulting Numbers: [1040]
1040,51 unequal: No Solution
Exploring Operation: 52+20=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[35, 37], Operations: ['70/2=35', '52-15=37']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,51 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[70, 52, 17], Operations: ['15+2=17']
Exploring Operation: 70-52=18, Resulting Numbers: [17, 18]
Generated Node #0,1,0: 51:[17, 18] Operation: 70-52=18
Exploring Operation: 70-17=53, Resulting Numbers: [52, 53]
Generated Node #0,1,1: 51:[52, 53] Operation: 70-17=53
Exploring Operation: 52-17=35, Resulting Numbers: [70, 35]
Generated Node #0,1,2: 51:[70, 35] Operation: 52-17=35
Exploring Operation: 70+17=87, Resulting Numbers: [52, 87]
Generated Node #0,1,3: 51:[52, 87] Operation: 70+17=87
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[17, 18], Operations: ['15+2=17', '70-52=18']
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,51 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[52, 53], Operations: ['15+2=17', '70-17=53']
Exploring Operation: 52*53=2756, Resulting Numbers: [2756]
2756,51 unequal: No Solution
Exploring Operation: 52+53=105, Resulting Numbers: [105]
105,51 unequal: No Solution
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[70, 35], Operations: ['15+2=17', '52-17=35']
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 70*35=2450, Resulting Numbers: [2450]
2450,51 unequal: No Solution
Exploring Operation: 70+35=105, Resulting Numbers: [105]
105,51 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 51:[52, 87], Operations: ['15+2=17', '70+17=87']
Exploring Operation: 52*87=4524, Resulting Numbers: [4524]
4524,51 unequal: No Solution
Exploring Operation: 52+87=139, Resulting Numbers: [139]
139,51 unequal: No Solution
Exploring Operation: 87-52=35, Resulting Numbers: [35]
35,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
25,
58,
80,
84
] | 87 | [
"25+58=83",
"84-80=4",
"83+4=87"
] | Current State: 87:[25, 58, 80, 84], Operations: []
Exploring Operation: 25+58=83, Resulting Numbers: [80, 84, 83]
Generated Node #2: [80, 84, 83] from Operation: 25+58=83
Current State: 87:[80, 84, 83], Operations: ['25+58=83']
Exploring Operation: 84-80=4, Resulting Numbers: [83, 4]
Generated Node #3: [83, 4] from Operation: 84-80=4
Current State: 87:[83, 4], Operations: ['25+58=83', '84-80=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[25, 58, 80, 84], Operations: []
Exploring Operation: 25+58=83, Resulting Numbers: [80, 84, 83]
Generated Node #0,0: 87:[80, 84, 83] Operation: 25+58=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[80, 84, 83], Operations: ['25+58=83']
Exploring Operation: 83-80=3, Resulting Numbers: [84, 3]
Generated Node #0,0,0: 87:[84, 3] Operation: 83-80=3
Moving to Node #0,0,0
Current State: 87:[84, 3], Operations: ['25+58=83', '83-80=3']
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[25, 58, 80, 84], Operations: []
Exploring Operation: 25+58=83, Resulting Numbers: [80, 84, 83]
Generated Node #0,0: 87:[80, 84, 83] Operation: 25+58=83
Moving to Node #0,0
Current State: 87:[80, 84, 83], Operations: ['25+58=83']
Exploring Operation: 83-80=3, Resulting Numbers: [84, 3]
Generated Node #0,0,0: 87:[84, 3] Operation: 83-80=3
Moving to Node #0,0,0
Current State: 87:[84, 3], Operations: ['25+58=83', '83-80=3']
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
16,
92,
5,
32
] | 51 | [
"16*92=1472",
"1472/32=46",
"5+46=51"
] | Current State: 51:[16, 92, 5, 32], Operations: []
Exploring Operation: 16*92=1472, Resulting Numbers: [5, 32, 1472]
Generated Node #2: [5, 32, 1472] from Operation: 16*92=1472
Current State: 51:[5, 32, 1472], Operations: ['16*92=1472']
Exploring Operation: 1472/32=46, Resulting Numbers: [5, 46]
Generated Node #3: [5, 46] from Operation: 1472/32=46
Current State: 51:[5, 46], Operations: ['16*92=1472', '1472/32=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[16, 92, 5, 32], Operations: []
Exploring Operation: 92-32=60, Resulting Numbers: [16, 5, 60]
Generated Node #0,0: 51:[16, 5, 60] Operation: 92-32=60
Exploring Operation: 92-16=76, Resulting Numbers: [5, 32, 76]
Generated Node #0,1: 51:[5, 32, 76] Operation: 92-16=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[16, 5, 60], Operations: ['92-32=60']
Exploring Operation: 60/5=12, Resulting Numbers: [16, 12]
Generated Node #0,0,0: 51:[16, 12] Operation: 60/5=12
Exploring Operation: 60-5=55, Resulting Numbers: [16, 55]
Generated Node #0,0,1: 51:[16, 55] Operation: 60-5=55
Moving to Node #0,0,1
Current State: 51:[16, 55], Operations: ['92-32=60', '60-5=55']
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[16, 12], Operations: ['92-32=60', '60/5=12']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[5, 32, 76], Operations: ['92-16=76']
Exploring Operation: 32-5=27, Resulting Numbers: [76, 27]
Generated Node #0,1,0: 51:[76, 27] Operation: 32-5=27
Exploring Operation: 76-32=44, Resulting Numbers: [5, 44]
Generated Node #0,1,1: 51:[5, 44] Operation: 76-32=44
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[5, 44], Operations: ['92-16=76', '76-32=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[76, 27], Operations: ['92-16=76', '32-5=27']
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 76+27=103, Resulting Numbers: [103]
103,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
52,
60,
65,
2
] | 94 | [
"52+60=112",
"112-65=47",
"2*47=94"
] | Current State: 94:[52, 60, 65, 2], Operations: []
Exploring Operation: 52+60=112, Resulting Numbers: [65, 2, 112]
Generated Node #2: [65, 2, 112] from Operation: 52+60=112
Current State: 94:[65, 2, 112], Operations: ['52+60=112']
Exploring Operation: 112-65=47, Resulting Numbers: [2, 47]
Generated Node #3: [2, 47] from Operation: 112-65=47
Current State: 94:[2, 47], Operations: ['52+60=112', '112-65=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[52, 60, 65, 2], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [65, 2, 8]
Generated Node #0,0: 94:[65, 2, 8] Operation: 60-52=8
Exploring Operation: 65-60=5, Resulting Numbers: [52, 2, 5]
Generated Node #0,1: 94:[52, 2, 5] Operation: 65-60=5
Exploring Operation: 52-2=50, Resulting Numbers: [60, 65, 50]
Generated Node #0,2: 94:[60, 65, 50] Operation: 52-2=50
Exploring Operation: 65-52=13, Resulting Numbers: [60, 2, 13]
Generated Node #0,3: 94:[60, 2, 13] Operation: 65-52=13
Moving to Node #0,1
Current State: 94:[52, 2, 5], Operations: ['65-60=5']
Exploring Operation: 5-2=3, Resulting Numbers: [52, 3]
Generated Node #0,1,0: 94:[52, 3] Operation: 5-2=3
Exploring Operation: 52-2=50, Resulting Numbers: [5, 50]
Generated Node #0,1,1: 94:[5, 50] Operation: 52-2=50
Exploring Operation: 52+2=54, Resulting Numbers: [5, 54]
Generated Node #0,1,2: 94:[5, 54] Operation: 52+2=54
Exploring Operation: 52-5=47, Resulting Numbers: [2, 47]
Generated Node #0,1,3: 94:[2, 47] Operation: 52-5=47
Moving to Node #0,3
Current State: 94:[60, 2, 13], Operations: ['65-52=13']
Exploring Operation: 60+13=73, Resulting Numbers: [2, 73]
Generated Node #0,3,0: 94:[2, 73] Operation: 60+13=73
Exploring Operation: 60-2=58, Resulting Numbers: [13, 58]
Generated Node #0,3,1: 94:[13, 58] Operation: 60-2=58
Exploring Operation: 13-2=11, Resulting Numbers: [60, 11]
Generated Node #0,3,2: 94:[60, 11] Operation: 13-2=11
Exploring Operation: 60-13=47, Resulting Numbers: [2, 47]
Generated Node #0,3,3: 94:[2, 47] Operation: 60-13=47
Moving to Node #0,0
Current State: 94:[65, 2, 8], Operations: ['60-52=8']
Exploring Operation: 8/2=4, Resulting Numbers: [65, 4]
Generated Node #0,0,0: 94:[65, 4] Operation: 8/2=4
Exploring Operation: 65+8=73, Resulting Numbers: [2, 73]
Generated Node #0,0,1: 94:[2, 73] Operation: 65+8=73
Exploring Operation: 65-2=63, Resulting Numbers: [8, 63]
Generated Node #0,0,2: 94:[8, 63] Operation: 65-2=63
Exploring Operation: 65-8=57, Resulting Numbers: [2, 57]
Generated Node #0,0,3: 94:[2, 57] Operation: 65-8=57
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[2, 57], Operations: ['60-52=8', '65-8=57']
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,94 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[65, 4], Operations: ['60-52=8', '8/2=4']
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 65*4=260, Resulting Numbers: [260]
260,94 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[2, 73], Operations: ['60-52=8', '65+8=73']
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,94 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[8, 63], Operations: ['60-52=8', '65-2=63']
Exploring Operation: 8*63=504, Resulting Numbers: [504]
504,94 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 94:[60, 65, 50], Operations: ['52-2=50']
Exploring Operation: 65-60=5, Resulting Numbers: [50, 5]
Generated Node #0,2,0: 94:[50, 5] Operation: 65-60=5
Exploring Operation: 60-50=10, Resulting Numbers: [65, 10]
Generated Node #0,2,1: 94:[65, 10] Operation: 60-50=10
Exploring Operation: 60+65=125, Resulting Numbers: [50, 125]
Generated Node #0,2,2: 94:[50, 125] Operation: 60+65=125
Exploring Operation: 65-50=15, Resulting Numbers: [60, 15]
Generated Node #0,2,3: 94:[60, 15] Operation: 65-50=15
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[50, 5], Operations: ['52-2=50', '65-60=5']
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,94 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[65, 10], Operations: ['52-2=50', '60-50=10']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[60, 15], Operations: ['52-2=50', '65-50=15']
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 60+15=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 60*15=900, Resulting Numbers: [900]
900,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[50, 125], Operations: ['52-2=50', '60+65=125']
Exploring Operation: 50*125=6250, Resulting Numbers: [6250]
6250,94 unequal: No Solution
Exploring Operation: 50+125=175, Resulting Numbers: [175]
175,94 unequal: No Solution
Exploring Operation: 125-50=75, Resulting Numbers: [75]
75,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 94:[2, 47], Operations: ['65-60=5', '52-5=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[52, 60, 65, 2], Operations: []
Exploring Operation: 65-60=5, Resulting Numbers: [52, 2, 5]
Generated Node #0,1: 94:[52, 2, 5] Operation: 65-60=5
Moving to Node #0,1
Current State: 94:[52, 2, 5], Operations: ['65-60=5']
Exploring Operation: 52-5=47, Resulting Numbers: [2, 47]
Generated Node #0,1,3: 94:[2, 47] Operation: 52-5=47
Moving to Node #0,1,3
Current State: 94:[2, 47], Operations: ['65-60=5', '52-5=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.953993 | hs_4 | mult_heuristic |
[
41,
16,
7,
34
] | 85 | [
"34-16=18",
"7*18=126",
"126-41=85"
] | Current State: 85:[41, 16, 7, 34], Operations: []
Exploring Operation: 34-16=18, Resulting Numbers: [41, 7, 18]
Generated Node #2: [41, 7, 18] from Operation: 34-16=18
Current State: 85:[41, 7, 18], Operations: ['34-16=18']
Exploring Operation: 7*18=126, Resulting Numbers: [41, 126]
Generated Node #3: [41, 126] from Operation: 7*18=126
Current State: 85:[41, 126], Operations: ['34-16=18', '7*18=126']
Exploring Operation: 126-41=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[41, 16, 7, 34], Operations: []
Exploring Operation: 41+34=75, Resulting Numbers: [16, 7, 75]
Generated Node #0,0: 85:[16, 7, 75] Operation: 41+34=75
Exploring Operation: 41-34=7, Resulting Numbers: [16, 7, 7]
Generated Node #0,1: 85:[16, 7, 7] Operation: 41-34=7
Exploring Operation: 41-16=25, Resulting Numbers: [7, 34, 25]
Generated Node #0,2: 85:[7, 34, 25] Operation: 41-16=25
Moving to Node #0,1
Current State: 85:[16, 7, 7], Operations: ['41-34=7']
Exploring Operation: 7/7=1, Resulting Numbers: [16, 1]
Generated Node #0,1,0: 85:[16, 1] Operation: 7/7=1
Exploring Operation: 7+7=14, Resulting Numbers: [16, 14]
Generated Node #0,1,1: 85:[16, 14] Operation: 7+7=14
Exploring Operation: 16-7=9, Resulting Numbers: [7, 9]
Generated Node #0,1,2: 85:[7, 9] Operation: 16-7=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[16, 14], Operations: ['41-34=7', '7+7=14']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,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,0
Current State: 85:[16, 1], Operations: ['41-34=7', '7/7=1']
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,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,2
Current State: 85:[7, 9], Operations: ['41-34=7', '16-7=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,85 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: 85:[16, 7, 75], Operations: ['41+34=75']
Exploring Operation: 16-7=9, Resulting Numbers: [75, 9]
Generated Node #0,0,0: 85:[75, 9] Operation: 16-7=9
Exploring Operation: 7+75=82, Resulting Numbers: [16, 82]
Generated Node #0,0,1: 85:[16, 82] Operation: 7+75=82
Exploring Operation: 16+75=91, Resulting Numbers: [7, 91]
Generated Node #0,0,2: 85:[7, 91] Operation: 16+75=91
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[16, 82], Operations: ['41+34=75', '7+75=82']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,85 unequal: No Solution
Exploring Operation: 16*82=1312, Resulting Numbers: [1312]
1312,85 unequal: No Solution
Exploring Operation: 16+82=98, Resulting Numbers: [98]
98,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,0,2
Current State: 85:[7, 91], Operations: ['41+34=75', '16+75=91']
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,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,0,0
Current State: 85:[75, 9], Operations: ['41+34=75', '16-7=9']
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,85 unequal: No Solution
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,85 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: 85:[7, 34, 25], Operations: ['41-16=25']
Exploring Operation: 25-7=18, Resulting Numbers: [34, 18]
Generated Node #0,2,0: 85:[34, 18] Operation: 25-7=18
Exploring Operation: 34-7=27, Resulting Numbers: [25, 27]
Generated Node #0,2,1: 85:[25, 27] Operation: 34-7=27
Exploring Operation: 34-25=9, Resulting Numbers: [7, 9]
Generated Node #0,2,2: 85:[7, 9] Operation: 34-25=9
Moving to Node #0,2,2
Current State: 85:[7, 9], Operations: ['41-16=25', '34-25=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[34, 18], Operations: ['41-16=25', '25-7=18']
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,85 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[25, 27], Operations: ['41-16=25', '34-7=27']
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,85 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,85 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
13,
91,
52,
53
] | 56 | [
"91-52=39",
"39/13=3",
"53+3=56"
] | Current State: 56:[13, 91, 52, 53], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [13, 53, 39]
Generated Node #2: [13, 53, 39] from Operation: 91-52=39
Current State: 56:[13, 53, 39], Operations: ['91-52=39']
Exploring Operation: 39/13=3, Resulting Numbers: [53, 3]
Generated Node #3: [53, 3] from Operation: 39/13=3
Current State: 56:[53, 3], Operations: ['91-52=39', '39/13=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[13, 91, 52, 53], Operations: []
Exploring Operation: 91-53=38, Resulting Numbers: [13, 52, 38]
Generated Node #0,0: 56:[13, 52, 38] Operation: 91-53=38
Exploring Operation: 91/13=7, Resulting Numbers: [52, 53, 7]
Generated Node #0,1: 56:[52, 53, 7] Operation: 91/13=7
Exploring Operation: 53-52=1, Resulting Numbers: [13, 91, 1]
Generated Node #0,2: 56:[13, 91, 1] Operation: 53-52=1
Exploring Operation: 91-52=39, Resulting Numbers: [13, 53, 39]
Generated Node #0,3: 56:[13, 53, 39] Operation: 91-52=39
Exploring Operation: 91-13=78, Resulting Numbers: [52, 53, 78]
Generated Node #0,4: 56:[52, 53, 78] Operation: 91-13=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[52, 53, 7], Operations: ['91/13=7']
Exploring Operation: 53-7=46, Resulting Numbers: [52, 46]
Generated Node #0,1,0: 56:[52, 46] Operation: 53-7=46
Exploring Operation: 52+7=59, Resulting Numbers: [53, 59]
Generated Node #0,1,1: 56:[53, 59] Operation: 52+7=59
Exploring Operation: 53+7=60, Resulting Numbers: [52, 60]
Generated Node #0,1,2: 56:[52, 60] Operation: 53+7=60
Exploring Operation: 53-52=1, Resulting Numbers: [7, 1]
Generated Node #0,1,3: 56:[7, 1] Operation: 53-52=1
Exploring Operation: 52-7=45, Resulting Numbers: [53, 45]
Generated Node #0,1,4: 56:[53, 45] Operation: 52-7=45
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 56:[7, 1], Operations: ['91/13=7', '53-52=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[53, 59], Operations: ['91/13=7', '52+7=59']
Exploring Operation: 53+59=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 53*59=3127, Resulting Numbers: [3127]
3127,56 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[52, 60], Operations: ['91/13=7', '53+7=60']
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 52+60=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 52*60=3120, Resulting Numbers: [3120]
3120,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[52, 46], Operations: ['91/13=7', '53-7=46']
Exploring Operation: 52+46=98, Resulting Numbers: [98]
98,56 unequal: No Solution
Exploring Operation: 52*46=2392, Resulting Numbers: [2392]
2392,56 unequal: No Solution
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 56:[53, 45], Operations: ['91/13=7', '52-7=45']
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,56 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[13, 52, 38], Operations: ['91-53=38']
Exploring Operation: 13+38=51, Resulting Numbers: [52, 51]
Generated Node #0,0,0: 56:[52, 51] Operation: 13+38=51
Exploring Operation: 38-13=25, Resulting Numbers: [52, 25]
Generated Node #0,0,1: 56:[52, 25] Operation: 38-13=25
Exploring Operation: 13+52=65, Resulting Numbers: [38, 65]
Generated Node #0,0,2: 56:[38, 65] Operation: 13+52=65
Exploring Operation: 52-38=14, Resulting Numbers: [13, 14]
Generated Node #0,0,3: 56:[13, 14] Operation: 52-38=14
Exploring Operation: 52/13=4, Resulting Numbers: [38, 4]
Generated Node #0,0,4: 56:[38, 4] Operation: 52/13=4
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 56:[13, 14], Operations: ['91-53=38', '52-38=14']
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,56 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[52, 25], Operations: ['91-53=38', '38-13=25']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[52, 51], Operations: ['91-53=38', '13+38=51']
Exploring Operation: 52*51=2652, Resulting Numbers: [2652]
2652,56 unequal: No Solution
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,56 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 56:[38, 4], Operations: ['91-53=38', '52/13=4']
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,56 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 56:[38, 65], Operations: ['91-53=38', '13+52=65']
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 38*65=2470, Resulting Numbers: [2470]
2470,56 unequal: No Solution
Exploring Operation: 38+65=103, Resulting Numbers: [103]
103,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[13, 53, 39], Operations: ['91-52=39']
Exploring Operation: 39-13=26, Resulting Numbers: [53, 26]
Generated Node #0,3,0: 56:[53, 26] Operation: 39-13=26
Exploring Operation: 53-39=14, Resulting Numbers: [13, 14]
Generated Node #0,3,1: 56:[13, 14] Operation: 53-39=14
Exploring Operation: 13+53=66, Resulting Numbers: [39, 66]
Generated Node #0,3,2: 56:[39, 66] Operation: 13+53=66
Exploring Operation: 13+39=52, Resulting Numbers: [53, 52]
Generated Node #0,3,3: 56:[53, 52] Operation: 13+39=52
Exploring Operation: 39/13=3, Resulting Numbers: [53, 3]
Generated Node #0,3,4: 56:[53, 3] Operation: 39/13=3
Moving to Node #0,3,1
Current State: 56:[13, 14], Operations: ['91-52=39', '53-39=14']
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,56 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Moving to Node #0,3,4
Current State: 56:[53, 3], Operations: ['91-52=39', '39/13=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,56 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[13, 91, 52, 53], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [13, 53, 39]
Generated Node #0,3: 56:[13, 53, 39] Operation: 91-52=39
Moving to Node #0,3
Current State: 56:[13, 53, 39], Operations: ['91-52=39']
Exploring Operation: 39/13=3, Resulting Numbers: [53, 3]
Generated Node #0,3,4: 56:[53, 3] Operation: 39/13=3
Moving to Node #0,3,4
Current State: 56:[53, 3], Operations: ['91-52=39', '39/13=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | mult_heuristic |
[
38,
18,
12,
96
] | 52 | [
"38+18=56",
"12+96=108",
"108-56=52"
] | Current State: 52:[38, 18, 12, 96], Operations: []
Exploring Operation: 38+18=56, Resulting Numbers: [12, 96, 56]
Generated Node #2: [12, 96, 56] from Operation: 38+18=56
Current State: 52:[12, 96, 56], Operations: ['38+18=56']
Exploring Operation: 12+96=108, Resulting Numbers: [56, 108]
Generated Node #3: [56, 108] from Operation: 12+96=108
Current State: 52:[56, 108], Operations: ['38+18=56', '12+96=108']
Exploring Operation: 108-56=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[38, 18, 12, 96], Operations: []
Exploring Operation: 96-18=78, Resulting Numbers: [38, 12, 78]
Generated Node #0,0: 52:[38, 12, 78] Operation: 96-18=78
Exploring Operation: 38+18=56, Resulting Numbers: [12, 96, 56]
Generated Node #0,1: 52:[12, 96, 56] Operation: 38+18=56
Exploring Operation: 96-38=58, Resulting Numbers: [18, 12, 58]
Generated Node #0,2: 52:[18, 12, 58] Operation: 96-38=58
Exploring Operation: 96/12=8, Resulting Numbers: [38, 18, 8]
Generated Node #0,3: 52:[38, 18, 8] Operation: 96/12=8
Moving to Node #0,2
Current State: 52:[18, 12, 58], Operations: ['96-38=58']
Exploring Operation: 58-12=46, Resulting Numbers: [18, 46]
Generated Node #0,2,0: 52:[18, 46] Operation: 58-12=46
Exploring Operation: 58-18=40, Resulting Numbers: [12, 40]
Generated Node #0,2,1: 52:[12, 40] Operation: 58-18=40
Exploring Operation: 18+12=30, Resulting Numbers: [58, 30]
Generated Node #0,2,2: 52:[58, 30] Operation: 18+12=30
Exploring Operation: 18-12=6, Resulting Numbers: [58, 6]
Generated Node #0,2,3: 52:[58, 6] Operation: 18-12=6
Moving to Node #0,3
Current State: 52:[38, 18, 8], Operations: ['96/12=8']
Exploring Operation: 38-8=30, Resulting Numbers: [18, 30]
Generated Node #0,3,0: 52:[18, 30] Operation: 38-8=30
Exploring Operation: 38+8=46, Resulting Numbers: [18, 46]
Generated Node #0,3,1: 52:[18, 46] Operation: 38+8=46
Exploring Operation: 38+18=56, Resulting Numbers: [8, 56]
Generated Node #0,3,2: 52:[8, 56] Operation: 38+18=56
Exploring Operation: 38-18=20, Resulting Numbers: [8, 20]
Generated Node #0,3,3: 52:[8, 20] Operation: 38-18=20
Moving to Node #0,0
Current State: 52:[38, 12, 78], Operations: ['96-18=78']
Exploring Operation: 78-12=66, Resulting Numbers: [38, 66]
Generated Node #0,0,0: 52:[38, 66] Operation: 78-12=66
Exploring Operation: 38+12=50, Resulting Numbers: [78, 50]
Generated Node #0,0,1: 52:[78, 50] Operation: 38+12=50
Exploring Operation: 38-12=26, Resulting Numbers: [78, 26]
Generated Node #0,0,2: 52:[78, 26] Operation: 38-12=26
Exploring Operation: 78-38=40, Resulting Numbers: [12, 40]
Generated Node #0,0,3: 52:[12, 40] Operation: 78-38=40
Moving to Node #0,1
Current State: 52:[12, 96, 56], Operations: ['38+18=56']
Exploring Operation: 96/12=8, Resulting Numbers: [56, 8]
Generated Node #0,1,0: 52:[56, 8] Operation: 96/12=8
Exploring Operation: 56-12=44, Resulting Numbers: [96, 44]
Generated Node #0,1,1: 52:[96, 44] Operation: 56-12=44
Exploring Operation: 96-56=40, Resulting Numbers: [12, 40]
Generated Node #0,1,2: 52:[12, 40] Operation: 96-56=40
Exploring Operation: 96-12=84, Resulting Numbers: [56, 84]
Generated Node #0,1,3: 52:[56, 84] Operation: 96-12=84
Moving to Node #0,2,3
Current State: 52:[58, 6], Operations: ['96-38=58', '18-12=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[38, 18, 12, 96], Operations: []
Exploring Operation: 96-38=58, Resulting Numbers: [18, 12, 58]
Generated Node #0,2: 52:[18, 12, 58] Operation: 96-38=58
Moving to Node #0,2
Current State: 52:[18, 12, 58], Operations: ['96-38=58']
Exploring Operation: 18-12=6, Resulting Numbers: [58, 6]
Generated Node #0,2,3: 52:[58, 6] Operation: 18-12=6
Moving to Node #0,2,3
Current State: 52:[58, 6], Operations: ['96-38=58', '18-12=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.978299 | hs_4 | mult_heuristic |
[
83,
88,
11,
13
] | 19 | [
"88-83=5",
"11+13=24",
"24-5=19"
] | Current State: 19:[83, 88, 11, 13], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [11, 13, 5]
Generated Node #2: [11, 13, 5] from Operation: 88-83=5
Current State: 19:[11, 13, 5], Operations: ['88-83=5']
Exploring Operation: 11+13=24, Resulting Numbers: [5, 24]
Generated Node #3: [5, 24] from Operation: 11+13=24
Current State: 19:[5, 24], Operations: ['88-83=5', '11+13=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[83, 88, 11, 13], Operations: []
Exploring Operation: 83-11=72, Resulting Numbers: [88, 13, 72]
Generated Node #0,0: 19:[88, 13, 72] Operation: 83-11=72
Exploring Operation: 88/11=8, Resulting Numbers: [83, 13, 8]
Generated Node #0,1: 19:[83, 13, 8] Operation: 88/11=8
Exploring Operation: 83-13=70, Resulting Numbers: [88, 11, 70]
Generated Node #0,2: 19:[88, 11, 70] Operation: 83-13=70
Exploring Operation: 88-83=5, Resulting Numbers: [11, 13, 5]
Generated Node #0,3: 19:[11, 13, 5] Operation: 88-83=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[11, 13, 5], Operations: ['88-83=5']
Exploring Operation: 11+13=24, Resulting Numbers: [5, 24]
Generated Node #0,3,0: 19:[5, 24] Operation: 11+13=24
Exploring Operation: 11-5=6, Resulting Numbers: [13, 6]
Generated Node #0,3,1: 19:[13, 6] Operation: 11-5=6
Exploring Operation: 13+5=18, Resulting Numbers: [11, 18]
Generated Node #0,3,2: 19:[11, 18] Operation: 13+5=18
Exploring Operation: 11+5=16, Resulting Numbers: [13, 16]
Generated Node #0,3,3: 19:[13, 16] Operation: 11+5=16
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 19:[11, 18], Operations: ['88-83=5', '13+5=18']
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,19 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 19:[13, 16], Operations: ['88-83=5', '11+5=16']
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,19 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 19:[5, 24], Operations: ['88-83=5', '11+13=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[83, 88, 11, 13], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [11, 13, 5]
Generated Node #0,3: 19:[11, 13, 5] Operation: 88-83=5
Moving to Node #0,3
Current State: 19:[11, 13, 5], Operations: ['88-83=5']
Exploring Operation: 11+13=24, Resulting Numbers: [5, 24]
Generated Node #0,3,0: 19:[5, 24] Operation: 11+13=24
Moving to Node #0,3,0
Current State: 19:[5, 24], Operations: ['88-83=5', '11+13=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
85,
6,
16,
32
] | 95 | [
"85-6=79",
"32-16=16",
"79+16=95"
] | Current State: 95:[85, 6, 16, 32], Operations: []
Exploring Operation: 85-6=79, Resulting Numbers: [16, 32, 79]
Generated Node #2: [16, 32, 79] from Operation: 85-6=79
Current State: 95:[16, 32, 79], Operations: ['85-6=79']
Exploring Operation: 32-16=16, Resulting Numbers: [79, 16]
Generated Node #3: [79, 16] from Operation: 32-16=16
Current State: 95:[79, 16], Operations: ['85-6=79', '32-16=16']
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[85, 6, 16, 32], Operations: []
Exploring Operation: 32-16=16, Resulting Numbers: [85, 6, 16]
Generated Node #0,0: 95:[85, 6, 16] Operation: 32-16=16
Moving to Node #0,0
Current State: 95:[85, 6, 16], Operations: ['32-16=16']
Exploring Operation: 85+6=91, Resulting Numbers: [16, 91]
Generated Node #0,0,0: 95:[16, 91] Operation: 85+6=91
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[16, 91], Operations: ['32-16=16', '85+6=91']
Exploring Operation: 16+91=107, Resulting Numbers: [107]
107,95 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 |
[
20,
69,
88,
37
] | 100 | [
"69-20=49",
"88-37=51",
"49+51=100"
] | Current State: 100:[20, 69, 88, 37], Operations: []
Exploring Operation: 69-20=49, Resulting Numbers: [88, 37, 49]
Generated Node #2: [88, 37, 49] from Operation: 69-20=49
Current State: 100:[88, 37, 49], Operations: ['69-20=49']
Exploring Operation: 88-37=51, Resulting Numbers: [49, 51]
Generated Node #3: [49, 51] from Operation: 88-37=51
Current State: 100:[49, 51], Operations: ['69-20=49', '88-37=51']
Exploring Operation: 49+51=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[20, 69, 88, 37], Operations: []
Exploring Operation: 88-69=19, Resulting Numbers: [20, 37, 19]
Generated Node #0,0: 100:[20, 37, 19] Operation: 88-69=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[20, 37, 19], Operations: ['88-69=19']
Exploring Operation: 37-19=18, Resulting Numbers: [20, 18]
Generated Node #0,0,0: 100:[20, 18] Operation: 37-19=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[20, 18], Operations: ['88-69=19', '37-19=18']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
22,
84,
91,
76
] | 77 | [
"84-22=62",
"91-76=15",
"62+15=77"
] | Current State: 77:[22, 84, 91, 76], Operations: []
Exploring Operation: 84-22=62, Resulting Numbers: [91, 76, 62]
Generated Node #2: [91, 76, 62] from Operation: 84-22=62
Current State: 77:[91, 76, 62], Operations: ['84-22=62']
Exploring Operation: 91-76=15, Resulting Numbers: [62, 15]
Generated Node #3: [62, 15] from Operation: 91-76=15
Current State: 77:[62, 15], Operations: ['84-22=62', '91-76=15']
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[22, 84, 91, 76], Operations: []
Exploring Operation: 91-84=7, Resulting Numbers: [22, 76, 7]
Generated Node #0,0: 77:[22, 76, 7] Operation: 91-84=7
Moving to Node #0,0
Current State: 77:[22, 76, 7], Operations: ['91-84=7']
Exploring Operation: 22-7=15, Resulting Numbers: [76, 15]
Generated Node #0,0,0: 77:[76, 15] Operation: 22-7=15
Moving to Node #0,0,0
Current State: 77:[76, 15], Operations: ['91-84=7', '22-7=15']
Exploring Operation: 76+15=91, Resulting Numbers: [91]
91,77 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
3,
10,
10
] | 43 | [
"3+10=13",
"3*10=30",
"13+30=43"
] | Current State: 43:[3, 3, 10, 10], Operations: []
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,43 equal: Goal Reached
Exploring Operation: 3*10=30, Resulting Numbers: [13, 30]
Generated Node #2: [13, 30] from Operation: 3*10=30
Current State: 43:[13, 30], Operations: ['3*10=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[3, 3, 10, 10], Operations: []
Exploring Operation: 3*10=30, Resulting Numbers: [3, 10, 30]
Generated Node #0,0: 43:[3, 10, 30] Operation: 3*10=30
Exploring Operation: 3*10=30, Resulting Numbers: [3, 10, 30]
Generated Node #0,1: 43:[3, 10, 30] Operation: 3*10=30
Exploring Operation: 3*10=30, Resulting Numbers: [3, 10, 30]
Generated Node #0,2: 43:[3, 10, 30] Operation: 3*10=30
Moving to Node #0,0
Current State: 43:[3, 10, 30], Operations: ['3*10=30']
Exploring Operation: 3+10=13, Resulting Numbers: [30, 13]
Generated Node #0,0,0: 43:[30, 13] Operation: 3+10=13
Exploring Operation: 3+30=33, Resulting Numbers: [10, 33]
Generated Node #0,0,1: 43:[10, 33] Operation: 3+30=33
Exploring Operation: 3*10=30, Resulting Numbers: [30, 30]
Generated Node #0,0,2: 43:[30, 30] Operation: 3*10=30
Moving to Node #0,1
Current State: 43:[3, 10, 30], Operations: ['3*10=30']
Exploring Operation: 3+30=33, Resulting Numbers: [10, 33]
Generated Node #0,1,0: 43:[10, 33] Operation: 3+30=33
Exploring Operation: 3+10=13, Resulting Numbers: [30, 13]
Generated Node #0,1,1: 43:[30, 13] Operation: 3+10=13
Exploring Operation: 3*10=30, Resulting Numbers: [30, 30]
Generated Node #0,1,2: 43:[30, 30] Operation: 3*10=30
Moving to Node #0,2
Current State: 43:[3, 10, 30], Operations: ['3*10=30']
Exploring Operation: 3+30=33, Resulting Numbers: [10, 33]
Generated Node #0,2,0: 43:[10, 33] Operation: 3+30=33
Exploring Operation: 3+10=13, Resulting Numbers: [30, 13]
Generated Node #0,2,1: 43:[30, 13] Operation: 3+10=13
Exploring Operation: 3*10=30, Resulting Numbers: [30, 30]
Generated Node #0,2,2: 43:[30, 30] Operation: 3*10=30
Moving to Node #0,0,2
Current State: 43:[30, 30], Operations: ['3*10=30', '3*10=30']
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[30, 30], Operations: ['3*10=30', '3*10=30']
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[30, 30], Operations: ['3*10=30', '3*10=30']
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[10, 33], Operations: ['3*10=30', '3+30=33']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[3, 3, 10, 10], Operations: []
Exploring Operation: 3*10=30, Resulting Numbers: [3, 10, 30]
Generated Node #0,0: 43:[3, 10, 30] Operation: 3*10=30
Moving to Node #0,0
Current State: 43:[3, 10, 30], Operations: ['3*10=30']
Exploring Operation: 3+30=33, Resulting Numbers: [10, 33]
Generated Node #0,0,1: 43:[10, 33] Operation: 3+30=33
Moving to Node #0,0,1
Current State: 43:[10, 33], Operations: ['3*10=30', '3+30=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.