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 |
|---|---|---|---|---|---|---|---|---|
[
47,
88,
17,
5
] | 44 | [
"47+88=135",
"135/5=27",
"17+27=44"
] | Current State: 44:[47, 88, 17, 5], Operations: []
Exploring Operation: 47+88=135, Resulting Numbers: [17, 5, 135]
Generated Node #2: [17, 5, 135] from Operation: 47+88=135
Current State: 44:[17, 5, 135], Operations: ['47+88=135']
Exploring Operation: 135/5=27, Resulting Numbers: [17, 27]
Generated Node #3: [17, 27] from Operation: 135/5=27
Current State: 44:[17, 27], Operations: ['47+88=135', '135/5=27']
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[47, 88, 17, 5], Operations: []
Exploring Operation: 88-17=71, Resulting Numbers: [47, 5, 71]
Generated Node #0,0: 44:[47, 5, 71] Operation: 88-17=71
Exploring Operation: 88-47=41, Resulting Numbers: [17, 5, 41]
Generated Node #0,1: 44:[17, 5, 41] Operation: 88-47=41
Moving to Node #0,1
Current State: 44:[17, 5, 41], Operations: ['88-47=41']
Exploring Operation: 41-17=24, Resulting Numbers: [5, 24]
Generated Node #0,1,0: 44:[5, 24] Operation: 41-17=24
Exploring Operation: 17+5=22, Resulting Numbers: [41, 22]
Generated Node #0,1,1: 44:[41, 22] Operation: 17+5=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[5, 24], Operations: ['88-47=41', '41-17=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[41, 22], Operations: ['88-47=41', '17+5=22']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 44:[47, 5, 71], Operations: ['88-17=71']
Exploring Operation: 71-5=66, Resulting Numbers: [47, 66]
Generated Node #0,0,0: 44:[47, 66] Operation: 71-5=66
Exploring Operation: 71-47=24, Resulting Numbers: [5, 24]
Generated Node #0,0,1: 44:[5, 24] Operation: 71-47=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[5, 24], Operations: ['88-17=71', '71-47=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[47, 66], Operations: ['88-17=71', '71-5=66']
Exploring Operation: 66-47=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Exploring Operation: 47+66=113, Resulting Numbers: [113]
113,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 |
[
2,
9,
18,
68
] | 41 | [
"2*18=36",
"9+68=77",
"77-36=41"
] | Current State: 41:[2, 9, 18, 68], Operations: []
Exploring Operation: 2*18=36, Resulting Numbers: [9, 68, 36]
Generated Node #2: [9, 68, 36] from Operation: 2*18=36
Current State: 41:[9, 68, 36], Operations: ['2*18=36']
Exploring Operation: 9+68=77, Resulting Numbers: [36, 77]
Generated Node #3: [36, 77] from Operation: 9+68=77
Current State: 41:[36, 77], Operations: ['2*18=36', '9+68=77']
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[2, 9, 18, 68], Operations: []
Exploring Operation: 2+9=11, Resulting Numbers: [18, 68, 11]
Generated Node #0,0: 41:[18, 68, 11] Operation: 2+9=11
Exploring Operation: 68/2=34, Resulting Numbers: [9, 18, 34]
Generated Node #0,1: 41:[9, 18, 34] Operation: 68/2=34
Exploring Operation: 2*9=18, Resulting Numbers: [18, 68, 18]
Generated Node #0,2: 41:[18, 68, 18] Operation: 2*9=18
Exploring Operation: 2*18=36, Resulting Numbers: [9, 68, 36]
Generated Node #0,3: 41:[9, 68, 36] Operation: 2*18=36
Moving to Node #0,1
Current State: 41:[9, 18, 34], Operations: ['68/2=34']
Exploring Operation: 18-9=9, Resulting Numbers: [34, 9]
Generated Node #0,1,0: 41:[34, 9] Operation: 18-9=9
Exploring Operation: 9+34=43, Resulting Numbers: [18, 43]
Generated Node #0,1,1: 41:[18, 43] Operation: 9+34=43
Exploring Operation: 9+18=27, Resulting Numbers: [34, 27]
Generated Node #0,1,2: 41:[34, 27] Operation: 9+18=27
Exploring Operation: 34-9=25, Resulting Numbers: [18, 25]
Generated Node #0,1,3: 41:[18, 25] Operation: 34-9=25
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[34, 27], Operations: ['68/2=34', '9+18=27']
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,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:[18, 43], Operations: ['68/2=34', '9+34=43']
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Exploring Operation: 18*43=774, Resulting Numbers: [774]
774,41 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,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:[34, 9], Operations: ['68/2=34', '18-9=9']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,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:[18, 25], Operations: ['68/2=34', '34-9=25']
Exploring Operation: 18*25=450, Resulting Numbers: [450]
450,41 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,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:[9, 68, 36], Operations: ['2*18=36']
Exploring Operation: 68-9=59, Resulting Numbers: [36, 59]
Generated Node #0,3,0: 41:[36, 59] Operation: 68-9=59
Exploring Operation: 9+36=45, Resulting Numbers: [68, 45]
Generated Node #0,3,1: 41:[68, 45] Operation: 9+36=45
Exploring Operation: 36-9=27, Resulting Numbers: [68, 27]
Generated Node #0,3,2: 41:[68, 27] Operation: 36-9=27
Exploring Operation: 9+68=77, Resulting Numbers: [36, 77]
Generated Node #0,3,3: 41:[36, 77] Operation: 9+68=77
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[36, 59], Operations: ['2*18=36', '68-9=59']
Exploring Operation: 36+59=95, Resulting Numbers: [95]
95,41 unequal: No Solution
Exploring Operation: 36*59=2124, Resulting Numbers: [2124]
2124,41 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,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,3,1
Current State: 41:[68, 45], Operations: ['2*18=36', '9+36=45']
Exploring Operation: 68-45=23, Resulting Numbers: [23]
23,41 unequal: No Solution
Exploring Operation: 68*45=3060, Resulting Numbers: [3060]
3060,41 unequal: No Solution
Exploring Operation: 68+45=113, Resulting Numbers: [113]
113,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,3,2
Current State: 41:[68, 27], Operations: ['2*18=36', '36-9=27']
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,41 unequal: No Solution
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,41 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[2, 9, 18, 68], Operations: []
Exploring Operation: 2*18=36, Resulting Numbers: [9, 68, 36]
Generated Node #0,3: 41:[9, 68, 36] Operation: 2*18=36
Moving to Node #0,3
Current State: 41:[9, 68, 36], Operations: ['2*18=36']
Exploring Operation: 36-9=27, Resulting Numbers: [68, 27]
Generated Node #0,3,2: 41:[68, 27] Operation: 36-9=27
Moving to Node #0,3,2
Current State: 41:[68, 27], Operations: ['2*18=36', '36-9=27']
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
11,
93,
89,
74
] | 72 | [
"89-74=15",
"11*15=165",
"165-93=72"
] | Current State: 72:[11, 93, 89, 74], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [11, 93, 15]
Generated Node #2: [11, 93, 15] from Operation: 89-74=15
Current State: 72:[11, 93, 15], Operations: ['89-74=15']
Exploring Operation: 11*15=165, Resulting Numbers: [93, 165]
Generated Node #3: [93, 165] from Operation: 11*15=165
Current State: 72:[93, 165], Operations: ['89-74=15', '11*15=165']
Exploring Operation: 165-93=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[11, 93, 89, 74], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [11, 74, 4]
Generated Node #0,0: 72:[11, 74, 4] Operation: 93-89=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[11, 74, 4], Operations: ['93-89=4']
Exploring Operation: 11-4=7, Resulting Numbers: [74, 7]
Generated Node #0,0,0: 72:[74, 7] Operation: 11-4=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[74, 7], Operations: ['93-89=4', '11-4=7']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
41,
32,
72,
25
] | 24 | [
"41+32=73",
"72+25=97",
"97-73=24"
] | Current State: 24:[41, 32, 72, 25], Operations: []
Exploring Operation: 41+32=73, Resulting Numbers: [72, 25, 73]
Generated Node #2: [72, 25, 73] from Operation: 41+32=73
Current State: 24:[72, 25, 73], Operations: ['41+32=73']
Exploring Operation: 72+25=97, Resulting Numbers: [73, 97]
Generated Node #3: [73, 97] from Operation: 72+25=97
Current State: 24:[73, 97], Operations: ['41+32=73', '72+25=97']
Exploring Operation: 97-73=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[41, 32, 72, 25], Operations: []
Exploring Operation: 72-41=31, Resulting Numbers: [32, 25, 31]
Generated Node #0,0: 24:[32, 25, 31] Operation: 72-41=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[32, 25, 31], Operations: ['72-41=31']
Exploring Operation: 32-31=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 24:[25, 1] Operation: 32-31=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[25, 1], Operations: ['72-41=31', '32-31=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[41, 32, 72, 25], Operations: []
Exploring Operation: 72-41=31, Resulting Numbers: [32, 25, 31]
Generated Node #0,0: 24:[32, 25, 31] Operation: 72-41=31
Moving to Node #0,0
Current State: 24:[32, 25, 31], Operations: ['72-41=31']
Exploring Operation: 32-31=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 24:[25, 1] Operation: 32-31=1
Moving to Node #0,0,0
Current State: 24:[25, 1], Operations: ['72-41=31', '32-31=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
87,
48,
20,
72
] | 57 | [
"20*72=1440",
"1440/48=30",
"87-30=57"
] | Current State: 57:[87, 48, 20, 72], Operations: []
Exploring Operation: 20*72=1440, Resulting Numbers: [87, 48, 1440]
Generated Node #2: [87, 48, 1440] from Operation: 20*72=1440
Current State: 57:[87, 48, 1440], Operations: ['20*72=1440']
Exploring Operation: 1440/48=30, Resulting Numbers: [87, 30]
Generated Node #3: [87, 30] from Operation: 1440/48=30
Current State: 57:[87, 30], Operations: ['20*72=1440', '1440/48=30']
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[87, 48, 20, 72], Operations: []
Exploring Operation: 87-20=67, Resulting Numbers: [48, 72, 67]
Generated Node #0,0: 57:[48, 72, 67] Operation: 87-20=67
Exploring Operation: 87-72=15, Resulting Numbers: [48, 20, 15]
Generated Node #0,1: 57:[48, 20, 15] Operation: 87-72=15
Exploring Operation: 72-20=52, Resulting Numbers: [87, 48, 52]
Generated Node #0,2: 57:[87, 48, 52] Operation: 72-20=52
Exploring Operation: 87-48=39, Resulting Numbers: [20, 72, 39]
Generated Node #0,3: 57:[20, 72, 39] Operation: 87-48=39
Exploring Operation: 72-48=24, Resulting Numbers: [87, 20, 24]
Generated Node #0,4: 57:[87, 20, 24] Operation: 72-48=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[48, 20, 15], Operations: ['87-72=15']
Exploring Operation: 48-20=28, Resulting Numbers: [15, 28]
Generated Node #0,1,0: 57:[15, 28] Operation: 48-20=28
Exploring Operation: 20-15=5, Resulting Numbers: [48, 5]
Generated Node #0,1,1: 57:[48, 5] Operation: 20-15=5
Exploring Operation: 48+20=68, Resulting Numbers: [15, 68]
Generated Node #0,1,2: 57:[15, 68] Operation: 48+20=68
Exploring Operation: 48+15=63, Resulting Numbers: [20, 63]
Generated Node #0,1,3: 57:[20, 63] Operation: 48+15=63
Exploring Operation: 48-15=33, Resulting Numbers: [20, 33]
Generated Node #0,1,4: 57:[20, 33] Operation: 48-15=33
Moving to Node #0,1,3
Current State: 57:[20, 63], Operations: ['87-72=15', '48+15=63']
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 20*63=1260, Resulting Numbers: [1260]
1260,57 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[48, 5], Operations: ['87-72=15', '20-15=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[15, 28], Operations: ['87-72=15', '48-20=28']
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,57 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[15, 68], Operations: ['87-72=15', '48+20=68']
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 15*68=1020, Resulting Numbers: [1020]
1020,57 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Moving to Node #0,1,4
Current State: 57:[20, 33], Operations: ['87-72=15', '48-15=33']
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,57 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,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,0
Current State: 57:[48, 72, 67], Operations: ['87-20=67']
Exploring Operation: 67-48=19, Resulting Numbers: [72, 19]
Generated Node #0,0,0: 57:[72, 19] Operation: 67-48=19
Exploring Operation: 72-67=5, Resulting Numbers: [48, 5]
Generated Node #0,0,1: 57:[48, 5] Operation: 72-67=5
Exploring Operation: 72-48=24, Resulting Numbers: [67, 24]
Generated Node #0,0,2: 57:[67, 24] Operation: 72-48=24
Exploring Operation: 48+72=120, Resulting Numbers: [67, 120]
Generated Node #0,0,3: 57:[67, 120] Operation: 48+72=120
Exploring Operation: 48+67=115, Resulting Numbers: [72, 115]
Generated Node #0,0,4: 57:[72, 115] Operation: 48+67=115
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[48, 5], Operations: ['87-20=67', '72-67=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,57 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[72, 19], Operations: ['87-20=67', '67-48=19']
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 72*19=1368, Resulting Numbers: [1368]
1368,57 unequal: No Solution
Exploring Operation: 72+19=91, Resulting Numbers: [91]
91,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[67, 24], Operations: ['87-20=67', '72-48=24']
Exploring Operation: 67+24=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 67*24=1608, Resulting Numbers: [1608]
1608,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 57:[67, 120], Operations: ['87-20=67', '48+72=120']
Exploring Operation: 67*120=8040, Resulting Numbers: [8040]
8040,57 unequal: No Solution
Exploring Operation: 67+120=187, Resulting Numbers: [187]
187,57 unequal: No Solution
Exploring Operation: 120-67=53, Resulting Numbers: [53]
53,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 57:[72, 115], Operations: ['87-20=67', '48+67=115']
Exploring Operation: 72*115=8280, Resulting Numbers: [8280]
8280,57 unequal: No Solution
Exploring Operation: 115-72=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 72+115=187, Resulting Numbers: [187]
187,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[20, 72, 39], Operations: ['87-48=39']
Exploring Operation: 72-39=33, Resulting Numbers: [20, 33]
Generated Node #0,3,0: 57:[20, 33] Operation: 72-39=33
Exploring Operation: 72-20=52, Resulting Numbers: [39, 52]
Generated Node #0,3,1: 57:[39, 52] Operation: 72-20=52
Exploring Operation: 39-20=19, Resulting Numbers: [72, 19]
Generated Node #0,3,2: 57:[72, 19] Operation: 39-20=19
Exploring Operation: 20+72=92, Resulting Numbers: [39, 92]
Generated Node #0,3,3: 57:[39, 92] Operation: 20+72=92
Exploring Operation: 20+39=59, Resulting Numbers: [72, 59]
Generated Node #0,3,4: 57:[72, 59] Operation: 20+39=59
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[20, 33], Operations: ['87-48=39', '72-39=33']
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,57 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 57:[72, 19], Operations: ['87-48=39', '39-20=19']
Exploring Operation: 72+19=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Exploring Operation: 72*19=1368, Resulting Numbers: [1368]
1368,57 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 57:[72, 59], Operations: ['87-48=39', '20+39=59']
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 72+59=131, Resulting Numbers: [131]
131,57 unequal: No Solution
Exploring Operation: 72*59=4248, Resulting Numbers: [4248]
4248,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[39, 52], Operations: ['87-48=39', '72-20=52']
Exploring Operation: 39+52=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 39*52=2028, Resulting Numbers: [2028]
2028,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[39, 92], Operations: ['87-48=39', '20+72=92']
Exploring Operation: 39+92=131, Resulting Numbers: [131]
131,57 unequal: No Solution
Exploring Operation: 92-39=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 39*92=3588, Resulting Numbers: [3588]
3588,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[87, 20, 24], Operations: ['72-48=24']
Exploring Operation: 87+20=107, Resulting Numbers: [24, 107]
Generated Node #0,4,0: 57:[24, 107] Operation: 87+20=107
Exploring Operation: 87-24=63, Resulting Numbers: [20, 63]
Generated Node #0,4,1: 57:[20, 63] Operation: 87-24=63
Exploring Operation: 20+24=44, Resulting Numbers: [87, 44]
Generated Node #0,4,2: 57:[87, 44] Operation: 20+24=44
Exploring Operation: 87-20=67, Resulting Numbers: [24, 67]
Generated Node #0,4,3: 57:[24, 67] Operation: 87-20=67
Exploring Operation: 24-20=4, Resulting Numbers: [87, 4]
Generated Node #0,4,4: 57:[87, 4] Operation: 24-20=4
Moving to Node #0,4,1
Current State: 57:[20, 63], Operations: ['72-48=24', '87-24=63']
Exploring Operation: 20*63=1260, Resulting Numbers: [1260]
1260,57 unequal: No Solution
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Moving to Node #0,4,3
Current State: 57:[24, 67], Operations: ['72-48=24', '87-20=67']
Exploring Operation: 24+67=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 24*67=1608, Resulting Numbers: [1608]
1608,57 unequal: No Solution
Moving to Node #0,4,4
Current State: 57:[87, 4], Operations: ['72-48=24', '24-20=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,57 unequal: No Solution
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Moving to Node #0,4,2
Current State: 57:[87, 44], Operations: ['72-48=24', '20+24=44']
Exploring Operation: 87*44=3828, Resulting Numbers: [3828]
3828,57 unequal: No Solution
Exploring Operation: 87+44=131, Resulting Numbers: [131]
131,57 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Moving to Node #0,4,0
Current State: 57:[24, 107], Operations: ['72-48=24', '87+20=107']
Exploring Operation: 24*107=2568, Resulting Numbers: [2568]
2568,57 unequal: No Solution
Exploring Operation: 24+107=131, Resulting Numbers: [131]
131,57 unequal: No Solution
Exploring Operation: 107-24=83, Resulting Numbers: [83]
83,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[87, 48, 52], Operations: ['72-20=52']
Exploring Operation: 87-48=39, Resulting Numbers: [52, 39]
Generated Node #0,2,0: 57:[52, 39] Operation: 87-48=39
Exploring Operation: 48+52=100, Resulting Numbers: [87, 100]
Generated Node #0,2,1: 57:[87, 100] Operation: 48+52=100
Exploring Operation: 87-52=35, Resulting Numbers: [48, 35]
Generated Node #0,2,2: 57:[48, 35] Operation: 87-52=35
Exploring Operation: 52-48=4, Resulting Numbers: [87, 4]
Generated Node #0,2,3: 57:[87, 4] Operation: 52-48=4
Exploring Operation: 87+48=135, Resulting Numbers: [52, 135]
Generated Node #0,2,4: 57:[52, 135] Operation: 87+48=135
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[52, 39], Operations: ['72-20=52', '87-48=39']
Exploring Operation: 52*39=2028, Resulting Numbers: [2028]
2028,57 unequal: No Solution
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 52+39=91, Resulting Numbers: [91]
91,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[48, 35], Operations: ['72-20=52', '87-52=35']
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,57 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[87, 4], Operations: ['72-20=52', '52-48=4']
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[87, 100], Operations: ['72-20=52', '48+52=100']
Exploring Operation: 87*100=8700, Resulting Numbers: [8700]
8700,57 unequal: No Solution
Exploring Operation: 87+100=187, Resulting Numbers: [187]
187,57 unequal: No Solution
Exploring Operation: 100-87=13, Resulting Numbers: [13]
13,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 57:[52, 135], Operations: ['72-20=52', '87+48=135']
Exploring Operation: 52*135=7020, Resulting Numbers: [7020]
7020,57 unequal: No Solution
Exploring Operation: 135-52=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 52+135=187, Resulting Numbers: [187]
187,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
13,
81,
33,
10
] | 45 | [
"81-13=68",
"33-10=23",
"68-23=45"
] | Current State: 45:[13, 81, 33, 10], Operations: []
Exploring Operation: 81-13=68, Resulting Numbers: [33, 10, 68]
Generated Node #2: [33, 10, 68] from Operation: 81-13=68
Current State: 45:[33, 10, 68], Operations: ['81-13=68']
Exploring Operation: 33-10=23, Resulting Numbers: [68, 23]
Generated Node #3: [68, 23] from Operation: 33-10=23
Current State: 45:[68, 23], Operations: ['81-13=68', '33-10=23']
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[13, 81, 33, 10], Operations: []
Exploring Operation: 13+33=46, Resulting Numbers: [81, 10, 46]
Generated Node #0,0: 45:[81, 10, 46] Operation: 13+33=46
Exploring Operation: 81-13=68, Resulting Numbers: [33, 10, 68]
Generated Node #0,1: 45:[33, 10, 68] Operation: 81-13=68
Exploring Operation: 81-33=48, Resulting Numbers: [13, 10, 48]
Generated Node #0,2: 45:[13, 10, 48] Operation: 81-33=48
Moving to Node #0,2
Current State: 45:[13, 10, 48], Operations: ['81-33=48']
Exploring Operation: 13-10=3, Resulting Numbers: [48, 3]
Generated Node #0,2,0: 45:[48, 3] Operation: 13-10=3
Exploring Operation: 48-10=38, Resulting Numbers: [13, 38]
Generated Node #0,2,1: 45:[13, 38] Operation: 48-10=38
Exploring Operation: 13+10=23, Resulting Numbers: [48, 23]
Generated Node #0,2,2: 45:[48, 23] Operation: 13+10=23
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[48, 3], Operations: ['81-33=48', '13-10=3']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[13, 81, 33, 10], Operations: []
Exploring Operation: 81-33=48, Resulting Numbers: [13, 10, 48]
Generated Node #0,2: 45:[13, 10, 48] Operation: 81-33=48
Moving to Node #0,2
Current State: 45:[13, 10, 48], Operations: ['81-33=48']
Exploring Operation: 13-10=3, Resulting Numbers: [48, 3]
Generated Node #0,2,0: 45:[48, 3] Operation: 13-10=3
Moving to Node #0,2,0
Current State: 45:[48, 3], Operations: ['81-33=48', '13-10=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
13,
54,
70,
14
] | 43 | [
"54-13=41",
"70+14=84",
"84-41=43"
] | Current State: 43:[13, 54, 70, 14], Operations: []
Exploring Operation: 54-13=41, Resulting Numbers: [70, 14, 41]
Generated Node #2: [70, 14, 41] from Operation: 54-13=41
Current State: 43:[70, 14, 41], Operations: ['54-13=41']
Exploring Operation: 70+14=84, Resulting Numbers: [41, 84]
Generated Node #3: [41, 84] from Operation: 70+14=84
Current State: 43:[41, 84], Operations: ['54-13=41', '70+14=84']
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[13, 54, 70, 14], Operations: []
Exploring Operation: 70-13=57, Resulting Numbers: [54, 14, 57]
Generated Node #0,0: 43:[54, 14, 57] Operation: 70-13=57
Exploring Operation: 54-13=41, Resulting Numbers: [70, 14, 41]
Generated Node #0,1: 43:[70, 14, 41] Operation: 54-13=41
Exploring Operation: 54-14=40, Resulting Numbers: [13, 70, 40]
Generated Node #0,2: 43:[13, 70, 40] Operation: 54-14=40
Exploring Operation: 13+14=27, Resulting Numbers: [54, 70, 27]
Generated Node #0,3: 43:[54, 70, 27] Operation: 13+14=27
Exploring Operation: 70-14=56, Resulting Numbers: [13, 54, 56]
Generated Node #0,4: 43:[13, 54, 56] Operation: 70-14=56
Moving to Node #0,0
Current State: 43:[54, 14, 57], Operations: ['70-13=57']
Exploring Operation: 14+57=71, Resulting Numbers: [54, 71]
Generated Node #0,0,0: 43:[54, 71] Operation: 14+57=71
Exploring Operation: 57-54=3, Resulting Numbers: [14, 3]
Generated Node #0,0,1: 43:[14, 3] Operation: 57-54=3
Exploring Operation: 57-14=43, Resulting Numbers: [54, 43]
Generated Node #0,0,2: 43:[54, 43] Operation: 57-14=43
Exploring Operation: 54+14=68, Resulting Numbers: [57, 68]
Generated Node #0,0,3: 43:[57, 68] Operation: 54+14=68
Exploring Operation: 54-14=40, Resulting Numbers: [57, 40]
Generated Node #0,0,4: 43:[57, 40] Operation: 54-14=40
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[54, 43], Operations: ['70-13=57', '57-14=43']
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,43 unequal: No Solution
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,43 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 43:[57, 40], Operations: ['70-13=57', '54-14=40']
Exploring Operation: 57*40=2280, Resulting Numbers: [2280]
2280,43 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 57+40=97, Resulting Numbers: [97]
97,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[54, 71], Operations: ['70-13=57', '14+57=71']
Exploring Operation: 54+71=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 54*71=3834, Resulting Numbers: [3834]
3834,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 43:[57, 68], Operations: ['70-13=57', '54+14=68']
Exploring Operation: 57+68=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 57*68=3876, Resulting Numbers: [3876]
3876,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[14, 3], Operations: ['70-13=57', '57-54=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,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:[13, 54, 56], Operations: ['70-14=56']
Exploring Operation: 13+54=67, Resulting Numbers: [56, 67]
Generated Node #0,4,0: 43:[56, 67] Operation: 13+54=67
Exploring Operation: 13+56=69, Resulting Numbers: [54, 69]
Generated Node #0,4,1: 43:[54, 69] Operation: 13+56=69
Exploring Operation: 54-13=41, Resulting Numbers: [56, 41]
Generated Node #0,4,2: 43:[56, 41] Operation: 54-13=41
Exploring Operation: 56-54=2, Resulting Numbers: [13, 2]
Generated Node #0,4,3: 43:[13, 2] Operation: 56-54=2
Exploring Operation: 56-13=43, Resulting Numbers: [54, 43]
Generated Node #0,4,4: 43:[54, 43] Operation: 56-13=43
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 43:[54, 43], Operations: ['70-14=56', '56-13=43']
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,43 unequal: No Solution
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,43 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,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,4,2
Current State: 43:[56, 41], Operations: ['70-14=56', '54-13=41']
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,43 unequal: No Solution
Exploring Operation: 56*41=2296, Resulting Numbers: [2296]
2296,43 unequal: No Solution
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,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,4,0
Current State: 43:[56, 67], Operations: ['70-14=56', '13+54=67']
Exploring Operation: 56*67=3752, Resulting Numbers: [3752]
3752,43 unequal: No Solution
Exploring Operation: 56+67=123, Resulting Numbers: [123]
123,43 unequal: No Solution
Exploring Operation: 67-56=11, Resulting Numbers: [11]
11,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,4,1
Current State: 43:[54, 69], Operations: ['70-14=56', '13+56=69']
Exploring Operation: 54*69=3726, Resulting Numbers: [3726]
3726,43 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,43 unequal: No Solution
Exploring Operation: 54+69=123, Resulting Numbers: [123]
123,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,4,3
Current State: 43:[13, 2], Operations: ['70-14=56', '56-54=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,43 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,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:[54, 70, 27], Operations: ['13+14=27']
Exploring Operation: 70-54=16, Resulting Numbers: [27, 16]
Generated Node #0,3,0: 43:[27, 16] Operation: 70-54=16
Exploring Operation: 54+27=81, Resulting Numbers: [70, 81]
Generated Node #0,3,1: 43:[70, 81] Operation: 54+27=81
Exploring Operation: 70+27=97, Resulting Numbers: [54, 97]
Generated Node #0,3,2: 43:[54, 97] Operation: 70+27=97
Exploring Operation: 54-27=27, Resulting Numbers: [70, 27]
Generated Node #0,3,3: 43:[70, 27] Operation: 54-27=27
Exploring Operation: 70-27=43, Resulting Numbers: [54, 43]
Generated Node #0,3,4: 43:[54, 43] Operation: 70-27=43
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 43:[54, 43], Operations: ['13+14=27', '70-27=43']
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,43 unequal: No Solution
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,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:[27, 16], Operations: ['13+14=27', '70-54=16']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,43 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[13, 54, 70, 14], Operations: []
Exploring Operation: 13+14=27, Resulting Numbers: [54, 70, 27]
Generated Node #0,3: 43:[54, 70, 27] Operation: 13+14=27
Moving to Node #0,3
Current State: 43:[54, 70, 27], Operations: ['13+14=27']
Exploring Operation: 70-54=16, Resulting Numbers: [27, 16]
Generated Node #0,3,0: 43:[27, 16] Operation: 70-54=16
Moving to Node #0,3,0
Current State: 43:[27, 16], Operations: ['13+14=27', '70-54=16']
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.947917 | hs_5 | mult_heuristic |
[
24,
1,
8,
72
] | 68 | [
"24/8=3",
"72-1=71",
"71-3=68"
] | Current State: 68:[24, 1, 8, 72], Operations: []
Exploring Operation: 24/8=3, Resulting Numbers: [1, 72, 3]
Generated Node #2: [1, 72, 3] from Operation: 24/8=3
Current State: 68:[1, 72, 3], Operations: ['24/8=3']
Exploring Operation: 72-1=71, Resulting Numbers: [3, 71]
Generated Node #3: [3, 71] from Operation: 72-1=71
Current State: 68:[3, 71], Operations: ['24/8=3', '72-1=71']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[24, 1, 8, 72], Operations: []
Exploring Operation: 24+8=32, Resulting Numbers: [1, 72, 32]
Generated Node #0,0: 68:[1, 72, 32] Operation: 24+8=32
Exploring Operation: 24-8=16, Resulting Numbers: [1, 72, 16]
Generated Node #0,1: 68:[1, 72, 16] Operation: 24-8=16
Exploring Operation: 72/24=3, Resulting Numbers: [1, 8, 3]
Generated Node #0,2: 68:[1, 8, 3] Operation: 72/24=3
Exploring Operation: 24/8=3, Resulting Numbers: [1, 72, 3]
Generated Node #0,3: 68:[1, 72, 3] Operation: 24/8=3
Moving to Node #0,1
Current State: 68:[1, 72, 16], Operations: ['24-8=16']
Exploring Operation: 72/1=72, Resulting Numbers: [16, 72]
Generated Node #0,1,0: 68:[16, 72] Operation: 72/1=72
Exploring Operation: 72-1=71, Resulting Numbers: [16, 71]
Generated Node #0,1,1: 68:[16, 71] Operation: 72-1=71
Exploring Operation: 1*72=72, Resulting Numbers: [16, 72]
Generated Node #0,1,2: 68:[16, 72] Operation: 1*72=72
Exploring Operation: 1+16=17, Resulting Numbers: [72, 17]
Generated Node #0,1,3: 68:[72, 17] Operation: 1+16=17
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[16, 71], Operations: ['24-8=16', '72-1=71']
Exploring Operation: 16*71=1136, Resulting Numbers: [1136]
1136,68 unequal: No Solution
Exploring Operation: 71-16=55, Resulting Numbers: [55]
55,68 unequal: No Solution
Exploring Operation: 16+71=87, Resulting Numbers: [87]
87,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 68:[72, 17], Operations: ['24-8=16', '1+16=17']
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,68 unequal: No Solution
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,68 unequal: No Solution
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[16, 72], Operations: ['24-8=16', '72/1=72']
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,68 unequal: No Solution
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,68 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[16, 72], Operations: ['24-8=16', '1*72=72']
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,68 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,68 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: 68:[1, 72, 3], Operations: ['24/8=3']
Exploring Operation: 72-1=71, Resulting Numbers: [3, 71]
Generated Node #0,3,0: 68:[3, 71] Operation: 72-1=71
Exploring Operation: 1+3=4, Resulting Numbers: [72, 4]
Generated Node #0,3,1: 68:[72, 4] Operation: 1+3=4
Exploring Operation: 72-3=69, Resulting Numbers: [1, 69]
Generated Node #0,3,2: 68:[1, 69] Operation: 72-3=69
Exploring Operation: 3-1=2, Resulting Numbers: [72, 2]
Generated Node #0,3,3: 68:[72, 2] Operation: 3-1=2
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 68:[1, 69], Operations: ['24/8=3', '72-3=69']
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 1*69=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 1+69=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[24, 1, 8, 72], Operations: []
Exploring Operation: 24/8=3, Resulting Numbers: [1, 72, 3]
Generated Node #0,3: 68:[1, 72, 3] Operation: 24/8=3
Moving to Node #0,3
Current State: 68:[1, 72, 3], Operations: ['24/8=3']
Exploring Operation: 72-3=69, Resulting Numbers: [1, 69]
Generated Node #0,3,2: 68:[1, 69] Operation: 72-3=69
Moving to Node #0,3,2
Current State: 68:[1, 69], Operations: ['24/8=3', '72-3=69']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
25,
71,
1,
78
] | 33 | [
"71-25=46",
"1+78=79",
"79-46=33"
] | Current State: 33:[25, 71, 1, 78], Operations: []
Exploring Operation: 71-25=46, Resulting Numbers: [1, 78, 46]
Generated Node #2: [1, 78, 46] from Operation: 71-25=46
Current State: 33:[1, 78, 46], Operations: ['71-25=46']
Exploring Operation: 1+78=79, Resulting Numbers: [46, 79]
Generated Node #3: [46, 79] from Operation: 1+78=79
Current State: 33:[46, 79], Operations: ['71-25=46', '1+78=79']
Exploring Operation: 79-46=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[25, 71, 1, 78], Operations: []
Exploring Operation: 71-25=46, Resulting Numbers: [1, 78, 46]
Generated Node #0,0: 33:[1, 78, 46] Operation: 71-25=46
Exploring Operation: 25+1=26, Resulting Numbers: [71, 78, 26]
Generated Node #0,1: 33:[71, 78, 26] Operation: 25+1=26
Exploring Operation: 78-71=7, Resulting Numbers: [25, 1, 7]
Generated Node #0,2: 33:[25, 1, 7] Operation: 78-71=7
Exploring Operation: 78-25=53, Resulting Numbers: [71, 1, 53]
Generated Node #0,3: 33:[71, 1, 53] Operation: 78-25=53
Moving to Node #0,2
Current State: 33:[25, 1, 7], Operations: ['78-71=7']
Exploring Operation: 25+1=26, Resulting Numbers: [7, 26]
Generated Node #0,2,0: 33:[7, 26] Operation: 25+1=26
Exploring Operation: 25-7=18, Resulting Numbers: [1, 18]
Generated Node #0,2,1: 33:[1, 18] Operation: 25-7=18
Exploring Operation: 1+7=8, Resulting Numbers: [25, 8]
Generated Node #0,2,2: 33:[25, 8] Operation: 1+7=8
Exploring Operation: 25+7=32, Resulting Numbers: [1, 32]
Generated Node #0,2,3: 33:[1, 32] Operation: 25+7=32
Moving to Node #0,3
Current State: 33:[71, 1, 53], Operations: ['78-25=53']
Exploring Operation: 71*1=71, Resulting Numbers: [53, 71]
Generated Node #0,3,0: 33:[53, 71] Operation: 71*1=71
Exploring Operation: 71-53=18, Resulting Numbers: [1, 18]
Generated Node #0,3,1: 33:[1, 18] Operation: 71-53=18
Exploring Operation: 71-1=70, Resulting Numbers: [53, 70]
Generated Node #0,3,2: 33:[53, 70] Operation: 71-1=70
Exploring Operation: 53-1=52, Resulting Numbers: [71, 52]
Generated Node #0,3,3: 33:[71, 52] Operation: 53-1=52
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 33:[1, 18], Operations: ['78-25=53', '71-53=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,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,3,2
Current State: 33:[53, 70], Operations: ['78-25=53', '71-1=70']
Exploring Operation: 53+70=123, Resulting Numbers: [123]
123,33 unequal: No Solution
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 53*70=3710, Resulting Numbers: [3710]
3710,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,3,3
Current State: 33:[71, 52], Operations: ['78-25=53', '53-1=52']
Exploring Operation: 71+52=123, Resulting Numbers: [123]
123,33 unequal: No Solution
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 71*52=3692, Resulting Numbers: [3692]
3692,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,3,0
Current State: 33:[53, 71], Operations: ['78-25=53', '71*1=71']
Exploring Operation: 53+71=124, Resulting Numbers: [124]
124,33 unequal: No Solution
Exploring Operation: 53*71=3763, Resulting Numbers: [3763]
3763,33 unequal: No Solution
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,33 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: 33:[1, 78, 46], Operations: ['71-25=46']
Exploring Operation: 46-1=45, Resulting Numbers: [78, 45]
Generated Node #0,0,0: 33:[78, 45] Operation: 46-1=45
Exploring Operation: 1*78=78, Resulting Numbers: [46, 78]
Generated Node #0,0,1: 33:[46, 78] Operation: 1*78=78
Exploring Operation: 78-46=32, Resulting Numbers: [1, 32]
Generated Node #0,0,2: 33:[1, 32] Operation: 78-46=32
Exploring Operation: 78-1=77, Resulting Numbers: [46, 77]
Generated Node #0,0,3: 33:[46, 77] Operation: 78-1=77
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[1, 32], Operations: ['71-25=46', '78-46=32']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[25, 71, 1, 78], Operations: []
Exploring Operation: 71-25=46, Resulting Numbers: [1, 78, 46]
Generated Node #0,0: 33:[1, 78, 46] Operation: 71-25=46
Moving to Node #0,0
Current State: 33:[1, 78, 46], Operations: ['71-25=46']
Exploring Operation: 78-46=32, Resulting Numbers: [1, 32]
Generated Node #0,0,2: 33:[1, 32] Operation: 78-46=32
Moving to Node #0,0,2
Current State: 33:[1, 32], Operations: ['71-25=46', '78-46=32']
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
3,
27,
90,
4
] | 99 | [
"3+4=7",
"27*7=189",
"189-90=99"
] | Current State: 99:[3, 27, 90, 4], Operations: []
Exploring Operation: 3+4=7, Resulting Numbers: [27, 90, 7]
Generated Node #2: [27, 90, 7] from Operation: 3+4=7
Current State: 99:[27, 90, 7], Operations: ['3+4=7']
Exploring Operation: 27*7=189, Resulting Numbers: [90, 189]
Generated Node #3: [90, 189] from Operation: 27*7=189
Current State: 99:[90, 189], Operations: ['3+4=7', '27*7=189']
Exploring Operation: 189-90=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[3, 27, 90, 4], Operations: []
Exploring Operation: 27/3=9, Resulting Numbers: [90, 4, 9]
Generated Node #0,0: 99:[90, 4, 9] Operation: 27/3=9
Exploring Operation: 27+4=31, Resulting Numbers: [3, 90, 31]
Generated Node #0,1: 99:[3, 90, 31] Operation: 27+4=31
Exploring Operation: 3+27=30, Resulting Numbers: [90, 4, 30]
Generated Node #0,2: 99:[90, 4, 30] Operation: 3+27=30
Exploring Operation: 90+4=94, Resulting Numbers: [3, 27, 94]
Generated Node #0,3: 99:[3, 27, 94] Operation: 90+4=94
Exploring Operation: 90/3=30, Resulting Numbers: [27, 4, 30]
Generated Node #0,4: 99:[27, 4, 30] Operation: 90/3=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[90, 4, 9], Operations: ['27/3=9']
Exploring Operation: 4+9=13, Resulting Numbers: [90, 13]
Generated Node #0,0,0: 99:[90, 13] Operation: 4+9=13
Exploring Operation: 90/9=10, Resulting Numbers: [4, 10]
Generated Node #0,0,1: 99:[4, 10] Operation: 90/9=10
Exploring Operation: 90+4=94, Resulting Numbers: [9, 94]
Generated Node #0,0,2: 99:[9, 94] Operation: 90+4=94
Exploring Operation: 9-4=5, Resulting Numbers: [90, 5]
Generated Node #0,0,3: 99:[90, 5] Operation: 9-4=5
Exploring Operation: 90+9=99, Resulting Numbers: [4, 99]
Generated Node #0,0,4: 99:[4, 99] Operation: 90+9=99
Moving to Node #0,0,4
Current State: 99:[4, 99], Operations: ['27/3=9', '90+9=99']
Exploring Operation: 4*99=396, Resulting Numbers: [396]
396,99 unequal: No Solution
Exploring Operation: 4+99=103, Resulting Numbers: [103]
103,99 unequal: No Solution
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[4, 10], Operations: ['27/3=9', '90/9=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[9, 94], Operations: ['27/3=9', '90+4=94']
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 9+94=103, Resulting Numbers: [103]
103,99 unequal: No Solution
Exploring Operation: 9*94=846, Resulting Numbers: [846]
846,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[90, 13], Operations: ['27/3=9', '4+9=13']
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 90*13=1170, Resulting Numbers: [1170]
1170,99 unequal: No Solution
Exploring Operation: 90+13=103, Resulting Numbers: [103]
103,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[90, 5], Operations: ['27/3=9', '9-4=5']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,99 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 90*5=450, Resulting Numbers: [450]
450,99 unequal: No Solution
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 99:[27, 4, 30], Operations: ['90/3=30']
Exploring Operation: 27+4=31, Resulting Numbers: [30, 31]
Generated Node #0,4,0: 99:[30, 31] Operation: 27+4=31
Exploring Operation: 27*4=108, Resulting Numbers: [30, 108]
Generated Node #0,4,1: 99:[30, 108] Operation: 27*4=108
Exploring Operation: 27-4=23, Resulting Numbers: [30, 23]
Generated Node #0,4,2: 99:[30, 23] Operation: 27-4=23
Exploring Operation: 4+30=34, Resulting Numbers: [27, 34]
Generated Node #0,4,3: 99:[27, 34] Operation: 4+30=34
Exploring Operation: 30-27=3, Resulting Numbers: [4, 3]
Generated Node #0,4,4: 99:[4, 3] Operation: 30-27=3
Moving to Node #0,4,4
Current State: 99:[4, 3], Operations: ['90/3=30', '30-27=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Moving to Node #0,4,0
Current State: 99:[30, 31], Operations: ['90/3=30', '27+4=31']
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,99 unequal: No Solution
Moving to Node #0,4,3
Current State: 99:[27, 34], Operations: ['90/3=30', '4+30=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,99 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Moving to Node #0,4,1
Current State: 99:[30, 108], Operations: ['90/3=30', '27*4=108']
Exploring Operation: 30+108=138, Resulting Numbers: [138]
138,99 unequal: No Solution
Exploring Operation: 30*108=3240, Resulting Numbers: [3240]
3240,99 unequal: No Solution
Exploring Operation: 108-30=78, Resulting Numbers: [78]
78,99 unequal: No Solution
Moving to Node #0,4,2
Current State: 99:[30, 23], Operations: ['90/3=30', '27-4=23']
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,99 unequal: No Solution
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,99 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[3, 90, 31], Operations: ['27+4=31']
Exploring Operation: 3+31=34, Resulting Numbers: [90, 34]
Generated Node #0,1,0: 99:[90, 34] Operation: 3+31=34
Exploring Operation: 90/3=30, Resulting Numbers: [31, 30]
Generated Node #0,1,1: 99:[31, 30] Operation: 90/3=30
Exploring Operation: 3+90=93, Resulting Numbers: [31, 93]
Generated Node #0,1,2: 99:[31, 93] Operation: 3+90=93
Exploring Operation: 90-3=87, Resulting Numbers: [31, 87]
Generated Node #0,1,3: 99:[31, 87] Operation: 90-3=87
Exploring Operation: 31-3=28, Resulting Numbers: [90, 28]
Generated Node #0,1,4: 99:[90, 28] Operation: 31-3=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[31, 30], Operations: ['27+4=31', '90/3=30']
Exploring Operation: 31*30=930, Resulting Numbers: [930]
930,99 unequal: No Solution
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[31, 93], Operations: ['27+4=31', '3+90=93']
Exploring Operation: 93/31=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 93-31=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 31+93=124, Resulting Numbers: [124]
124,99 unequal: No Solution
Exploring Operation: 31*93=2883, Resulting Numbers: [2883]
2883,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[90, 34], Operations: ['27+4=31', '3+31=34']
Exploring Operation: 90*34=3060, Resulting Numbers: [3060]
3060,99 unequal: No Solution
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,99 unequal: No Solution
Exploring Operation: 90+34=124, Resulting Numbers: [124]
124,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 99:[31, 87], Operations: ['27+4=31', '90-3=87']
Exploring Operation: 31+87=118, Resulting Numbers: [118]
118,99 unequal: No Solution
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,99 unequal: No Solution
Exploring Operation: 31*87=2697, Resulting Numbers: [2697]
2697,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 99:[90, 28], Operations: ['27+4=31', '31-3=28']
Exploring Operation: 90*28=2520, Resulting Numbers: [2520]
2520,99 unequal: No Solution
Exploring Operation: 90-28=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 90+28=118, Resulting Numbers: [118]
118,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[3, 27, 94], Operations: ['90+4=94']
Exploring Operation: 27/3=9, Resulting Numbers: [94, 9]
Generated Node #0,3,0: 99:[94, 9] Operation: 27/3=9
Exploring Operation: 94-3=91, Resulting Numbers: [27, 91]
Generated Node #0,3,1: 99:[27, 91] Operation: 94-3=91
Exploring Operation: 3+27=30, Resulting Numbers: [94, 30]
Generated Node #0,3,2: 99:[94, 30] Operation: 3+27=30
Exploring Operation: 3+94=97, Resulting Numbers: [27, 97]
Generated Node #0,3,3: 99:[27, 97] Operation: 3+94=97
Exploring Operation: 27-3=24, Resulting Numbers: [94, 24]
Generated Node #0,3,4: 99:[94, 24] Operation: 27-3=24
Moving to Node #0,3,0
Current State: 99:[94, 9], Operations: ['90+4=94', '27/3=9']
Exploring Operation: 94*9=846, Resulting Numbers: [846]
846,99 unequal: No Solution
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 94+9=103, Resulting Numbers: [103]
103,99 unequal: No Solution
Moving to Node #0,3,3
Current State: 99:[27, 97], Operations: ['90+4=94', '3+94=97']
Exploring Operation: 97-27=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 27+97=124, Resulting Numbers: [124]
124,99 unequal: No Solution
Exploring Operation: 27*97=2619, Resulting Numbers: [2619]
2619,99 unequal: No Solution
Moving to Node #0,3,2
Current State: 99:[94, 30], Operations: ['90+4=94', '3+27=30']
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,99 unequal: No Solution
Exploring Operation: 94*30=2820, Resulting Numbers: [2820]
2820,99 unequal: No Solution
Exploring Operation: 94+30=124, Resulting Numbers: [124]
124,99 unequal: No Solution
Moving to Node #0,3,1
Current State: 99:[27, 91], Operations: ['90+4=94', '94-3=91']
Exploring Operation: 91-27=64, Resulting Numbers: [64]
64,99 unequal: No Solution
Exploring Operation: 27+91=118, Resulting Numbers: [118]
118,99 unequal: No Solution
Exploring Operation: 27*91=2457, Resulting Numbers: [2457]
2457,99 unequal: No Solution
Moving to Node #0,3,4
Current State: 99:[94, 24], Operations: ['90+4=94', '27-3=24']
Exploring Operation: 94*24=2256, Resulting Numbers: [2256]
2256,99 unequal: No Solution
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 94+24=118, Resulting Numbers: [118]
118,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[90, 4, 30], Operations: ['3+27=30']
Exploring Operation: 90/30=3, Resulting Numbers: [4, 3]
Generated Node #0,2,0: 99:[4, 3] Operation: 90/30=3
Exploring Operation: 90+4=94, Resulting Numbers: [30, 94]
Generated Node #0,2,1: 99:[30, 94] Operation: 90+4=94
Exploring Operation: 90-4=86, Resulting Numbers: [30, 86]
Generated Node #0,2,2: 99:[30, 86] Operation: 90-4=86
Exploring Operation: 30-4=26, Resulting Numbers: [90, 26]
Generated Node #0,2,3: 99:[90, 26] Operation: 30-4=26
Exploring Operation: 4+30=34, Resulting Numbers: [90, 34]
Generated Node #0,2,4: 99:[90, 34] Operation: 4+30=34
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[4, 3], Operations: ['3+27=30', '90/30=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[30, 94], Operations: ['3+27=30', '90+4=94']
Exploring Operation: 30*94=2820, Resulting Numbers: [2820]
2820,99 unequal: No Solution
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,99 unequal: No Solution
Exploring Operation: 30+94=124, Resulting Numbers: [124]
124,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 99:[90, 34], Operations: ['3+27=30', '4+30=34']
Exploring Operation: 90+34=124, Resulting Numbers: [124]
124,99 unequal: No Solution
Exploring Operation: 90*34=3060, Resulting Numbers: [3060]
3060,99 unequal: No Solution
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[30, 86], Operations: ['3+27=30', '90-4=86']
Exploring Operation: 30+86=116, Resulting Numbers: [116]
116,99 unequal: No Solution
Exploring Operation: 86-30=56, Resulting Numbers: [56]
56,99 unequal: No Solution
Exploring Operation: 30*86=2580, Resulting Numbers: [2580]
2580,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 99:[90, 26], Operations: ['3+27=30', '30-4=26']
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,99 unequal: No Solution
Exploring Operation: 90*26=2340, Resulting Numbers: [2340]
2340,99 unequal: No Solution
Exploring Operation: 90+26=116, Resulting Numbers: [116]
116,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
39,
92,
10,
8
] | 22 | [
"39*8=312",
"312-92=220",
"220/10=22"
] | Current State: 22:[39, 92, 10, 8], Operations: []
Exploring Operation: 39*8=312, Resulting Numbers: [92, 10, 312]
Generated Node #2: [92, 10, 312] from Operation: 39*8=312
Current State: 22:[92, 10, 312], Operations: ['39*8=312']
Exploring Operation: 312-92=220, Resulting Numbers: [10, 220]
Generated Node #3: [10, 220] from Operation: 312-92=220
Current State: 22:[10, 220], Operations: ['39*8=312', '312-92=220']
Exploring Operation: 220/10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[39, 92, 10, 8], Operations: []
Exploring Operation: 39-8=31, Resulting Numbers: [92, 10, 31]
Generated Node #0,0: 22:[92, 10, 31] Operation: 39-8=31
Exploring Operation: 92-39=53, Resulting Numbers: [10, 8, 53]
Generated Node #0,1: 22:[10, 8, 53] Operation: 92-39=53
Exploring Operation: 39-10=29, Resulting Numbers: [92, 8, 29]
Generated Node #0,2: 22:[92, 8, 29] Operation: 39-10=29
Exploring Operation: 92-10=82, Resulting Numbers: [39, 8, 82]
Generated Node #0,3: 22:[39, 8, 82] Operation: 92-10=82
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[10, 8, 53], Operations: ['92-39=53']
Exploring Operation: 10-8=2, Resulting Numbers: [53, 2]
Generated Node #0,1,0: 22:[53, 2] Operation: 10-8=2
Exploring Operation: 53-10=43, Resulting Numbers: [8, 43]
Generated Node #0,1,1: 22:[8, 43] Operation: 53-10=43
Exploring Operation: 10+8=18, Resulting Numbers: [53, 18]
Generated Node #0,1,2: 22:[53, 18] Operation: 10+8=18
Exploring Operation: 53-8=45, Resulting Numbers: [10, 45]
Generated Node #0,1,3: 22:[10, 45] Operation: 53-8=45
Moving to Node #0,1,1
Current State: 22:[8, 43], Operations: ['92-39=53', '53-10=43']
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,22 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[10, 45], Operations: ['92-39=53', '53-8=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[53, 2], Operations: ['92-39=53', '10-8=2']
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[53, 18], Operations: ['92-39=53', '10+8=18']
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 53*18=954, Resulting Numbers: [954]
954,22 unequal: No Solution
Exploring Operation: 53+18=71, Resulting Numbers: [71]
71,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:[92, 10, 31], Operations: ['39-8=31']
Exploring Operation: 92+10=102, Resulting Numbers: [31, 102]
Generated Node #0,0,0: 22:[31, 102] Operation: 92+10=102
Exploring Operation: 31-10=21, Resulting Numbers: [92, 21]
Generated Node #0,0,1: 22:[92, 21] Operation: 31-10=21
Exploring Operation: 92-10=82, Resulting Numbers: [31, 82]
Generated Node #0,0,2: 22:[31, 82] Operation: 92-10=82
Exploring Operation: 92-31=61, Resulting Numbers: [10, 61]
Generated Node #0,0,3: 22:[10, 61] Operation: 92-31=61
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 22:[10, 61], Operations: ['39-8=31', '92-31=61']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 10+61=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 10*61=610, Resulting Numbers: [610]
610,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,0,2
Current State: 22:[31, 82], Operations: ['39-8=31', '92-10=82']
Exploring Operation: 31*82=2542, Resulting Numbers: [2542]
2542,22 unequal: No Solution
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 31+82=113, Resulting Numbers: [113]
113,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,0,1
Current State: 22:[92, 21], Operations: ['39-8=31', '31-10=21']
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 92+21=113, Resulting Numbers: [113]
113,22 unequal: No Solution
Exploring Operation: 92*21=1932, Resulting Numbers: [1932]
1932,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,0,0
Current State: 22:[31, 102], Operations: ['39-8=31', '92+10=102']
Exploring Operation: 102-31=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 31*102=3162, Resulting Numbers: [3162]
3162,22 unequal: No Solution
Exploring Operation: 31+102=133, Resulting Numbers: [133]
133,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,2
Current State: 22:[92, 8, 29], Operations: ['39-10=29']
Exploring Operation: 92-8=84, Resulting Numbers: [29, 84]
Generated Node #0,2,0: 22:[29, 84] Operation: 92-8=84
Exploring Operation: 29-8=21, Resulting Numbers: [92, 21]
Generated Node #0,2,1: 22:[92, 21] Operation: 29-8=21
Exploring Operation: 92+8=100, Resulting Numbers: [29, 100]
Generated Node #0,2,2: 22:[29, 100] Operation: 92+8=100
Exploring Operation: 92-29=63, Resulting Numbers: [8, 63]
Generated Node #0,2,3: 22:[8, 63] Operation: 92-29=63
Moving to Node #0,2,3
Current State: 22:[8, 63], Operations: ['39-10=29', '92-29=63']
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 8*63=504, Resulting Numbers: [504]
504,22 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[29, 84], Operations: ['39-10=29', '92-8=84']
Exploring Operation: 29*84=2436, Resulting Numbers: [2436]
2436,22 unequal: No Solution
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,22 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[92, 21], Operations: ['39-10=29', '29-8=21']
Exploring Operation: 92*21=1932, Resulting Numbers: [1932]
1932,22 unequal: No Solution
Exploring Operation: 92+21=113, Resulting Numbers: [113]
113,22 unequal: No Solution
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[29, 100], Operations: ['39-10=29', '92+8=100']
Exploring Operation: 29*100=2900, Resulting Numbers: [2900]
2900,22 unequal: No Solution
Exploring Operation: 29+100=129, Resulting Numbers: [129]
129,22 unequal: No Solution
Exploring Operation: 100-29=71, Resulting Numbers: [71]
71,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,3
Current State: 22:[39, 8, 82], Operations: ['92-10=82']
Exploring Operation: 39-8=31, Resulting Numbers: [82, 31]
Generated Node #0,3,0: 22:[82, 31] Operation: 39-8=31
Exploring Operation: 82-39=43, Resulting Numbers: [8, 43]
Generated Node #0,3,1: 22:[8, 43] Operation: 82-39=43
Exploring Operation: 82-8=74, Resulting Numbers: [39, 74]
Generated Node #0,3,2: 22:[39, 74] Operation: 82-8=74
Exploring Operation: 39+8=47, Resulting Numbers: [82, 47]
Generated Node #0,3,3: 22:[82, 47] Operation: 39+8=47
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 22:[8, 43], Operations: ['92-10=82', '82-39=43']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,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,3,0
Current State: 22:[82, 31], Operations: ['92-10=82', '39-8=31']
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,22 unequal: No Solution
Exploring Operation: 82*31=2542, Resulting Numbers: [2542]
2542,22 unequal: No Solution
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,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,3,2
Current State: 22:[39, 74], Operations: ['92-10=82', '82-8=74']
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 39*74=2886, Resulting Numbers: [2886]
2886,22 unequal: No Solution
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,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,3,3
Current State: 22:[82, 47], Operations: ['92-10=82', '39+8=47']
Exploring Operation: 82+47=129, Resulting Numbers: [129]
129,22 unequal: No Solution
Exploring Operation: 82*47=3854, Resulting Numbers: [3854]
3854,22 unequal: No Solution
Exploring Operation: 82-47=35, Resulting Numbers: [35]
35,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
No solution found.
| 0 | hs_4 | mult_heuristic |
[
34,
10,
58,
11
] | 71 | [
"34-10=24",
"58-11=47",
"24+47=71"
] | Current State: 71:[34, 10, 58, 11], Operations: []
Exploring Operation: 34-10=24, Resulting Numbers: [58, 11, 24]
Generated Node #2: [58, 11, 24] from Operation: 34-10=24
Current State: 71:[58, 11, 24], Operations: ['34-10=24']
Exploring Operation: 58-11=47, Resulting Numbers: [24, 47]
Generated Node #3: [24, 47] from Operation: 58-11=47
Current State: 71:[24, 47], Operations: ['34-10=24', '58-11=47']
Exploring Operation: 24+47=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[34, 10, 58, 11], Operations: []
Exploring Operation: 10*11=110, Resulting Numbers: [34, 58, 110]
Generated Node #0,0: 71:[34, 58, 110] Operation: 10*11=110
Exploring Operation: 34+11=45, Resulting Numbers: [10, 58, 45]
Generated Node #0,1: 71:[10, 58, 45] Operation: 34+11=45
Exploring Operation: 34+10=44, Resulting Numbers: [58, 11, 44]
Generated Node #0,2: 71:[58, 11, 44] Operation: 34+10=44
Exploring Operation: 10+58=68, Resulting Numbers: [34, 11, 68]
Generated Node #0,3: 71:[34, 11, 68] Operation: 10+58=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[34, 58, 110], Operations: ['10*11=110']
Exploring Operation: 110-58=52, Resulting Numbers: [34, 52]
Generated Node #0,0,0: 71:[34, 52] Operation: 110-58=52
Exploring Operation: 110-34=76, Resulting Numbers: [58, 76]
Generated Node #0,0,1: 71:[58, 76] Operation: 110-34=76
Exploring Operation: 34+58=92, Resulting Numbers: [110, 92]
Generated Node #0,0,2: 71:[110, 92] Operation: 34+58=92
Exploring Operation: 58-34=24, Resulting Numbers: [110, 24]
Generated Node #0,0,3: 71:[110, 24] Operation: 58-34=24
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[58, 76], Operations: ['10*11=110', '110-34=76']
Exploring Operation: 58+76=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Exploring Operation: 58*76=4408, Resulting Numbers: [4408]
4408,71 unequal: No Solution
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[34, 52], Operations: ['10*11=110', '110-58=52']
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[110, 92], Operations: ['10*11=110', '34+58=92']
Exploring Operation: 110+92=202, Resulting Numbers: [202]
202,71 unequal: No Solution
Exploring Operation: 110*92=10120, Resulting Numbers: [10120]
10120,71 unequal: No Solution
Exploring Operation: 110-92=18, Resulting Numbers: [18]
18,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[110, 24], Operations: ['10*11=110', '58-34=24']
Exploring Operation: 110+24=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Exploring Operation: 110*24=2640, Resulting Numbers: [2640]
2640,71 unequal: No Solution
Exploring Operation: 110-24=86, Resulting Numbers: [86]
86,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[10, 58, 45], Operations: ['34+11=45']
Exploring Operation: 10+45=55, Resulting Numbers: [58, 55]
Generated Node #0,1,0: 71:[58, 55] Operation: 10+45=55
Exploring Operation: 58-10=48, Resulting Numbers: [45, 48]
Generated Node #0,1,1: 71:[45, 48] Operation: 58-10=48
Exploring Operation: 10+58=68, Resulting Numbers: [45, 68]
Generated Node #0,1,2: 71:[45, 68] Operation: 10+58=68
Exploring Operation: 45-10=35, Resulting Numbers: [58, 35]
Generated Node #0,1,3: 71:[58, 35] Operation: 45-10=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[58, 55], Operations: ['34+11=45', '10+45=55']
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[45, 68], Operations: ['34+11=45', '10+58=68']
Exploring Operation: 45+68=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 45*68=3060, Resulting Numbers: [3060]
3060,71 unequal: No Solution
Exploring Operation: 68-45=23, Resulting Numbers: [23]
23,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[45, 48], Operations: ['34+11=45', '58-10=48']
Exploring Operation: 45*48=2160, Resulting Numbers: [2160]
2160,71 unequal: No Solution
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 45+48=93, Resulting Numbers: [93]
93,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 71:[58, 35], Operations: ['34+11=45', '45-10=35']
Exploring Operation: 58+35=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 58*35=2030, Resulting Numbers: [2030]
2030,71 unequal: No Solution
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[58, 11, 44], Operations: ['34+10=44']
Exploring Operation: 58-11=47, Resulting Numbers: [44, 47]
Generated Node #0,2,0: 71:[44, 47] Operation: 58-11=47
Exploring Operation: 11+44=55, Resulting Numbers: [58, 55]
Generated Node #0,2,1: 71:[58, 55] Operation: 11+44=55
Exploring Operation: 44-11=33, Resulting Numbers: [58, 33]
Generated Node #0,2,2: 71:[58, 33] Operation: 44-11=33
Exploring Operation: 58+11=69, Resulting Numbers: [44, 69]
Generated Node #0,2,3: 71:[44, 69] Operation: 58+11=69
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[58, 55], Operations: ['34+10=44', '11+44=55']
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,71 unequal: No Solution
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[44, 69], Operations: ['34+10=44', '58+11=69']
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 44*69=3036, Resulting Numbers: [3036]
3036,71 unequal: No Solution
Exploring Operation: 44+69=113, Resulting Numbers: [113]
113,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[44, 47], Operations: ['34+10=44', '58-11=47']
Exploring Operation: 44+47=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 44*47=2068, Resulting Numbers: [2068]
2068,71 unequal: No Solution
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[58, 33], Operations: ['34+10=44', '44-11=33']
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 58+33=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 58*33=1914, Resulting Numbers: [1914]
1914,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[34, 11, 68], Operations: ['10+58=68']
Exploring Operation: 34+11=45, Resulting Numbers: [68, 45]
Generated Node #0,3,0: 71:[68, 45] Operation: 34+11=45
Exploring Operation: 11+68=79, Resulting Numbers: [34, 79]
Generated Node #0,3,1: 71:[34, 79] Operation: 11+68=79
Exploring Operation: 34-11=23, Resulting Numbers: [68, 23]
Generated Node #0,3,2: 71:[68, 23] Operation: 34-11=23
Exploring Operation: 68-11=57, Resulting Numbers: [34, 57]
Generated Node #0,3,3: 71:[34, 57] Operation: 68-11=57
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 71:[68, 45], Operations: ['10+58=68', '34+11=45']
Exploring Operation: 68+45=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 68*45=3060, Resulting Numbers: [3060]
3060,71 unequal: No Solution
Exploring Operation: 68-45=23, Resulting Numbers: [23]
23,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 71:[34, 79], Operations: ['10+58=68', '11+68=79']
Exploring Operation: 34*79=2686, Resulting Numbers: [2686]
2686,71 unequal: No Solution
Exploring Operation: 34+79=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 71:[68, 23], Operations: ['10+58=68', '34-11=23']
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 68+23=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 68*23=1564, Resulting Numbers: [1564]
1564,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 71:[34, 57], Operations: ['10+58=68', '68-11=57']
Exploring Operation: 34*57=1938, Resulting Numbers: [1938]
1938,71 unequal: No Solution
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 34+57=91, Resulting Numbers: [91]
91,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_4 | sum_heuristic |
[
82,
29,
53,
75
] | 74 | [
"82-29=53",
"53/53=1",
"75-1=74"
] | Current State: 74:[82, 29, 53, 75], Operations: []
Exploring Operation: 82-29=53, Resulting Numbers: [53, 75, 53]
Generated Node #2: [53, 75, 53] from Operation: 82-29=53
Current State: 74:[53, 75, 53], Operations: ['82-29=53']
Exploring Operation: 53/53=1, Resulting Numbers: [75, 1]
Generated Node #3: [75, 1] from Operation: 53/53=1
Current State: 74:[75, 1], Operations: ['82-29=53', '53/53=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[82, 29, 53, 75], Operations: []
Exploring Operation: 82-53=29, Resulting Numbers: [29, 75, 29]
Generated Node #0,0: 74:[29, 75, 29] Operation: 82-53=29
Moving to Node #0,0
Current State: 74:[29, 75, 29], Operations: ['82-53=29']
Exploring Operation: 29/29=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 29/29=1
Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['82-53=29', '29/29=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[82, 29, 53, 75], Operations: []
Exploring Operation: 82-53=29, Resulting Numbers: [29, 75, 29]
Generated Node #0,0: 74:[29, 75, 29] Operation: 82-53=29
Moving to Node #0,0
Current State: 74:[29, 75, 29], Operations: ['82-53=29']
Exploring Operation: 29/29=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 29/29=1
Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['82-53=29', '29/29=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
30,
79,
15,
32
] | 47 | [
"32-30=2",
"79+15=94",
"94/2=47"
] | Current State: 47:[30, 79, 15, 32], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [79, 15, 2]
Generated Node #2: [79, 15, 2] from Operation: 32-30=2
Current State: 47:[79, 15, 2], Operations: ['32-30=2']
Exploring Operation: 79+15=94, Resulting Numbers: [2, 94]
Generated Node #3: [2, 94] from Operation: 79+15=94
Current State: 47:[2, 94], Operations: ['32-30=2', '79+15=94']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[30, 79, 15, 32], Operations: []
Exploring Operation: 79-32=47, Resulting Numbers: [30, 15, 47]
Generated Node #0,0: 47:[30, 15, 47] Operation: 79-32=47
Exploring Operation: 30+15=45, Resulting Numbers: [79, 32, 45]
Generated Node #0,1: 47:[79, 32, 45] Operation: 30+15=45
Exploring Operation: 79-30=49, Resulting Numbers: [15, 32, 49]
Generated Node #0,2: 47:[15, 32, 49] Operation: 79-30=49
Exploring Operation: 79-15=64, Resulting Numbers: [30, 32, 64]
Generated Node #0,3: 47:[30, 32, 64] Operation: 79-15=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[30, 15, 47], Operations: ['79-32=47']
Exploring Operation: 15+47=62, Resulting Numbers: [30, 62]
Generated Node #0,0,0: 47:[30, 62] Operation: 15+47=62
Exploring Operation: 47-15=32, Resulting Numbers: [30, 32]
Generated Node #0,0,1: 47:[30, 32] Operation: 47-15=32
Exploring Operation: 30+15=45, Resulting Numbers: [47, 45]
Generated Node #0,0,2: 47:[47, 45] Operation: 30+15=45
Exploring Operation: 30-15=15, Resulting Numbers: [47, 15]
Generated Node #0,0,3: 47:[47, 15] Operation: 30-15=15
Moving to Node #0,0,2
Current State: 47:[47, 45], Operations: ['79-32=47', '30+15=45']
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 47*45=2115, Resulting Numbers: [2115]
2115,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[30, 32], Operations: ['79-32=47', '47-15=32']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[30, 62], Operations: ['79-32=47', '15+47=62']
Exploring Operation: 30+62=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 30*62=1860, Resulting Numbers: [1860]
1860,47 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[47, 15], Operations: ['79-32=47', '30-15=15']
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 47+15=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 47*15=705, Resulting Numbers: [705]
705,47 unequal: No Solution
No 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: 47:[79, 32, 45], Operations: ['30+15=45']
Exploring Operation: 79-32=47, Resulting Numbers: [45, 47]
Generated Node #0,1,0: 47:[45, 47] Operation: 79-32=47
Exploring Operation: 79-45=34, Resulting Numbers: [32, 34]
Generated Node #0,1,1: 47:[32, 34] Operation: 79-45=34
Exploring Operation: 79+32=111, Resulting Numbers: [45, 111]
Generated Node #0,1,2: 47:[45, 111] Operation: 79+32=111
Exploring Operation: 32+45=77, Resulting Numbers: [79, 77]
Generated Node #0,1,3: 47:[79, 77] Operation: 32+45=77
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[45, 47], Operations: ['30+15=45', '79-32=47']
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,47 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[32, 34], Operations: ['30+15=45', '79-45=34']
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,47 unequal: No Solution
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 47:[79, 77], Operations: ['30+15=45', '32+45=77']
Exploring Operation: 79+77=156, Resulting Numbers: [156]
156,47 unequal: No Solution
Exploring Operation: 79*77=6083, Resulting Numbers: [6083]
6083,47 unequal: No Solution
Exploring Operation: 79-77=2, Resulting Numbers: [2]
2,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[45, 111], Operations: ['30+15=45', '79+32=111']
Exploring Operation: 45*111=4995, Resulting Numbers: [4995]
4995,47 unequal: No Solution
Exploring Operation: 111-45=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 45+111=156, Resulting Numbers: [156]
156,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[15, 32, 49], Operations: ['79-30=49']
Exploring Operation: 32-15=17, Resulting Numbers: [49, 17]
Generated Node #0,2,0: 47:[49, 17] Operation: 32-15=17
Exploring Operation: 15+49=64, Resulting Numbers: [32, 64]
Generated Node #0,2,1: 47:[32, 64] Operation: 15+49=64
Exploring Operation: 15+32=47, Resulting Numbers: [49, 47]
Generated Node #0,2,2: 47:[49, 47] Operation: 15+32=47
Exploring Operation: 49-15=34, Resulting Numbers: [32, 34]
Generated Node #0,2,3: 47:[32, 34] Operation: 49-15=34
Moving to Node #0,2,2
Current State: 47:[49, 47], Operations: ['79-30=49', '15+32=47']
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,47 unequal: No Solution
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[32, 34], Operations: ['79-30=49', '49-15=34']
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[32, 64], Operations: ['79-30=49', '15+49=64']
Exploring Operation: 32*64=2048, Resulting Numbers: [2048]
2048,47 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 32+64=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[49, 17], Operations: ['79-30=49', '32-15=17']
Exploring Operation: 49*17=833, Resulting Numbers: [833]
833,47 unequal: No Solution
Exploring Operation: 49+17=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,47 unequal: No Solution
No 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: 47:[30, 32, 64], Operations: ['79-15=64']
Exploring Operation: 64-32=32, Resulting Numbers: [30, 32]
Generated Node #0,3,0: 47:[30, 32] Operation: 64-32=32
Exploring Operation: 64-30=34, Resulting Numbers: [32, 34]
Generated Node #0,3,1: 47:[32, 34] Operation: 64-30=34
Exploring Operation: 30+32=62, Resulting Numbers: [64, 62]
Generated Node #0,3,2: 47:[64, 62] Operation: 30+32=62
Exploring Operation: 32-30=2, Resulting Numbers: [64, 2]
Generated Node #0,3,3: 47:[64, 2] Operation: 32-30=2
Moving to Node #0,3,1
Current State: 47:[32, 34], Operations: ['79-15=64', '64-30=34']
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,47 unequal: No Solution
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[64, 62], Operations: ['79-15=64', '30+32=62']
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 64*62=3968, Resulting Numbers: [3968]
3968,47 unequal: No Solution
Exploring Operation: 64+62=126, Resulting Numbers: [126]
126,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[30, 32], Operations: ['79-15=64', '64-32=32']
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,47 unequal: No Solution
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[64, 2], Operations: ['79-15=64', '32-30=2']
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,47 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,47 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 |
[
99,
10,
69,
2
] | 80 | [
"99+10=109",
"109-69=40",
"2*40=80"
] | Current State: 80:[99, 10, 69, 2], Operations: []
Exploring Operation: 99+10=109, Resulting Numbers: [69, 2, 109]
Generated Node #2: [69, 2, 109] from Operation: 99+10=109
Current State: 80:[69, 2, 109], Operations: ['99+10=109']
Exploring Operation: 109-69=40, Resulting Numbers: [2, 40]
Generated Node #3: [2, 40] from Operation: 109-69=40
Current State: 80:[2, 40], Operations: ['99+10=109', '109-69=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[99, 10, 69, 2], Operations: []
Exploring Operation: 99-69=30, Resulting Numbers: [10, 2, 30]
Generated Node #0,0: 80:[10, 2, 30] Operation: 99-69=30
Exploring Operation: 99-10=89, Resulting Numbers: [69, 2, 89]
Generated Node #0,1: 80:[69, 2, 89] Operation: 99-10=89
Moving to Node #0,0
Current State: 80:[10, 2, 30], Operations: ['99-69=30']
Exploring Operation: 30-10=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 80:[2, 20] Operation: 30-10=20
Exploring Operation: 10+30=40, Resulting Numbers: [2, 40]
Generated Node #0,0,1: 80:[2, 40] Operation: 10+30=40
Moving to Node #0,1
Current State: 80:[69, 2, 89], Operations: ['99-10=89']
Exploring Operation: 69+2=71, Resulting Numbers: [89, 71]
Generated Node #0,1,0: 80:[89, 71] Operation: 69+2=71
Exploring Operation: 89-69=20, Resulting Numbers: [2, 20]
Generated Node #0,1,1: 80:[2, 20] Operation: 89-69=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[2, 20], Operations: ['99-10=89', '89-69=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,80 unequal: No Solution
No 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: 80:[89, 71], Operations: ['99-10=89', '69+2=71']
Exploring Operation: 89+71=160, Resulting Numbers: [160]
160,80 unequal: No Solution
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,80 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: 80:[2, 20], Operations: ['99-69=30', '30-10=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[2, 40], Operations: ['99-69=30', '10+30=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[99, 10, 69, 2], Operations: []
Exploring Operation: 99-69=30, Resulting Numbers: [10, 2, 30]
Generated Node #0,0: 80:[10, 2, 30] Operation: 99-69=30
Moving to Node #0,0
Current State: 80:[10, 2, 30], Operations: ['99-69=30']
Exploring Operation: 10+30=40, Resulting Numbers: [2, 40]
Generated Node #0,0,1: 80:[2, 40] Operation: 10+30=40
Moving to Node #0,0,1
Current State: 80:[2, 40], Operations: ['99-69=30', '10+30=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
16,
85,
94,
17
] | 14 | [
"16*85=1360",
"1360/17=80",
"94-80=14"
] | Current State: 14:[16, 85, 94, 17], Operations: []
Exploring Operation: 16*85=1360, Resulting Numbers: [94, 17, 1360]
Generated Node #2: [94, 17, 1360] from Operation: 16*85=1360
Current State: 14:[94, 17, 1360], Operations: ['16*85=1360']
Exploring Operation: 1360/17=80, Resulting Numbers: [94, 80]
Generated Node #3: [94, 80] from Operation: 1360/17=80
Current State: 14:[94, 80], Operations: ['16*85=1360', '1360/17=80']
Exploring Operation: 94-80=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[16, 85, 94, 17], Operations: []
Exploring Operation: 85-16=69, Resulting Numbers: [94, 17, 69]
Generated Node #0,0: 14:[94, 17, 69] Operation: 85-16=69
Exploring Operation: 85/17=5, Resulting Numbers: [16, 94, 5]
Generated Node #0,1: 14:[16, 94, 5] Operation: 85/17=5
Exploring Operation: 85-17=68, Resulting Numbers: [16, 94, 68]
Generated Node #0,2: 14:[16, 94, 68] Operation: 85-17=68
Exploring Operation: 94-85=9, Resulting Numbers: [16, 17, 9]
Generated Node #0,3: 14:[16, 17, 9] Operation: 94-85=9
Exploring Operation: 94-17=77, Resulting Numbers: [16, 85, 77]
Generated Node #0,4: 14:[16, 85, 77] Operation: 94-17=77
Moving to Node #0,3
Current State: 14:[16, 17, 9], Operations: ['94-85=9']
Exploring Operation: 17-9=8, Resulting Numbers: [16, 8]
Generated Node #0,3,0: 14:[16, 8] Operation: 17-9=8
Exploring Operation: 17-16=1, Resulting Numbers: [9, 1]
Generated Node #0,3,1: 14:[9, 1] Operation: 17-16=1
Exploring Operation: 16+9=25, Resulting Numbers: [17, 25]
Generated Node #0,3,2: 14:[17, 25] Operation: 16+9=25
Exploring Operation: 16-9=7, Resulting Numbers: [17, 7]
Generated Node #0,3,3: 14:[17, 7] Operation: 16-9=7
Exploring Operation: 17+9=26, Resulting Numbers: [16, 26]
Generated Node #0,3,4: 14:[16, 26] Operation: 17+9=26
Moving to Node #0,1
Current State: 14:[16, 94, 5], Operations: ['85/17=5']
Exploring Operation: 94-16=78, Resulting Numbers: [5, 78]
Generated Node #0,1,0: 14:[5, 78] Operation: 94-16=78
Exploring Operation: 16+5=21, Resulting Numbers: [94, 21]
Generated Node #0,1,1: 14:[94, 21] Operation: 16+5=21
Exploring Operation: 94-5=89, Resulting Numbers: [16, 89]
Generated Node #0,1,2: 14:[16, 89] Operation: 94-5=89
Exploring Operation: 94+5=99, Resulting Numbers: [16, 99]
Generated Node #0,1,3: 14:[16, 99] Operation: 94+5=99
Exploring Operation: 16-5=11, Resulting Numbers: [94, 11]
Generated Node #0,1,4: 14:[94, 11] Operation: 16-5=11
Moving to Node #0,2
Current State: 14:[16, 94, 68], Operations: ['85-17=68']
Exploring Operation: 16+94=110, Resulting Numbers: [68, 110]
Generated Node #0,2,0: 14:[68, 110] Operation: 16+94=110
Exploring Operation: 94-16=78, Resulting Numbers: [68, 78]
Generated Node #0,2,1: 14:[68, 78] Operation: 94-16=78
Exploring Operation: 94-68=26, Resulting Numbers: [16, 26]
Generated Node #0,2,2: 14:[16, 26] Operation: 94-68=26
Exploring Operation: 68-16=52, Resulting Numbers: [94, 52]
Generated Node #0,2,3: 14:[94, 52] Operation: 68-16=52
Exploring Operation: 16+68=84, Resulting Numbers: [94, 84]
Generated Node #0,2,4: 14:[94, 84] Operation: 16+68=84
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 14:[16, 26], Operations: ['85-17=68', '94-68=26']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,14 unequal: No Solution
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 14:[68, 78], Operations: ['85-17=68', '94-16=78']
Exploring Operation: 68*78=5304, Resulting Numbers: [5304]
5304,14 unequal: No Solution
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Exploring Operation: 68+78=146, Resulting Numbers: [146]
146,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 14:[94, 52], Operations: ['85-17=68', '68-16=52']
Exploring Operation: 94+52=146, Resulting Numbers: [146]
146,14 unequal: No Solution
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 94*52=4888, Resulting Numbers: [4888]
4888,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 14:[68, 110], Operations: ['85-17=68', '16+94=110']
Exploring Operation: 68*110=7480, Resulting Numbers: [7480]
7480,14 unequal: No Solution
Exploring Operation: 68+110=178, Resulting Numbers: [178]
178,14 unequal: No Solution
Exploring Operation: 110-68=42, Resulting Numbers: [42]
42,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 14:[94, 84], Operations: ['85-17=68', '16+68=84']
Exploring Operation: 94*84=7896, Resulting Numbers: [7896]
7896,14 unequal: No Solution
Exploring Operation: 94+84=178, Resulting Numbers: [178]
178,14 unequal: No Solution
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 14:[16, 85, 77], Operations: ['94-17=77']
Exploring Operation: 16+85=101, Resulting Numbers: [77, 101]
Generated Node #0,4,0: 14:[77, 101] Operation: 16+85=101
Exploring Operation: 16+77=93, Resulting Numbers: [85, 93]
Generated Node #0,4,1: 14:[85, 93] Operation: 16+77=93
Exploring Operation: 85-16=69, Resulting Numbers: [77, 69]
Generated Node #0,4,2: 14:[77, 69] Operation: 85-16=69
Exploring Operation: 77-16=61, Resulting Numbers: [85, 61]
Generated Node #0,4,3: 14:[85, 61] Operation: 77-16=61
Exploring Operation: 85-77=8, Resulting Numbers: [16, 8]
Generated Node #0,4,4: 14:[16, 8] Operation: 85-77=8
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 14:[16, 8], Operations: ['94-17=77', '85-77=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,14 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 14:[77, 69], Operations: ['94-17=77', '85-16=69']
Exploring Operation: 77*69=5313, Resulting Numbers: [5313]
5313,14 unequal: No Solution
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 77+69=146, Resulting Numbers: [146]
146,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 14:[85, 61], Operations: ['94-17=77', '77-16=61']
Exploring Operation: 85+61=146, Resulting Numbers: [146]
146,14 unequal: No Solution
Exploring Operation: 85*61=5185, Resulting Numbers: [5185]
5185,14 unequal: No Solution
Exploring Operation: 85-61=24, Resulting Numbers: [24]
24,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 14:[77, 101], Operations: ['94-17=77', '16+85=101']
Exploring Operation: 101-77=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 77+101=178, Resulting Numbers: [178]
178,14 unequal: No Solution
Exploring Operation: 77*101=7777, Resulting Numbers: [7777]
7777,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 14:[85, 93], Operations: ['94-17=77', '16+77=93']
Exploring Operation: 93-85=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 85+93=178, Resulting Numbers: [178]
178,14 unequal: No Solution
Exploring Operation: 85*93=7905, Resulting Numbers: [7905]
7905,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 14:[94, 17, 69], Operations: ['85-16=69']
Exploring Operation: 94-69=25, Resulting Numbers: [17, 25]
Generated Node #0,0,0: 14:[17, 25] Operation: 94-69=25
Exploring Operation: 94+69=163, Resulting Numbers: [17, 163]
Generated Node #0,0,1: 14:[17, 163] Operation: 94+69=163
Exploring Operation: 69-17=52, Resulting Numbers: [94, 52]
Generated Node #0,0,2: 14:[94, 52] Operation: 69-17=52
Exploring Operation: 94-17=77, Resulting Numbers: [69, 77]
Generated Node #0,0,3: 14:[69, 77] Operation: 94-17=77
Exploring Operation: 94+17=111, Resulting Numbers: [69, 111]
Generated Node #0,0,4: 14:[69, 111] Operation: 94+17=111
Moving to Node #0,3,0
Current State: 14:[16, 8], Operations: ['94-85=9', '17-9=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,14 unequal: No Solution
Moving to Node #0,3,3
Current State: 14:[17, 7], Operations: ['94-85=9', '16-9=7']
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,14 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[9, 1], Operations: ['94-85=9', '17-16=1']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Moving to Node #0,3,4
Current State: 14:[16, 26], Operations: ['94-85=9', '17+9=26']
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,14 unequal: No Solution
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[17, 25], Operations: ['85-16=69', '94-69=25']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[17, 25], Operations: ['94-85=9', '16+9=25']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[5, 78], Operations: ['85/17=5', '94-16=78']
Exploring Operation: 5+78=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Exploring Operation: 5*78=390, Resulting Numbers: [390]
390,14 unequal: No Solution
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[16, 89], Operations: ['85/17=5', '94-5=89']
Exploring Operation: 16+89=105, Resulting Numbers: [105]
105,14 unequal: No Solution
Exploring Operation: 16*89=1424, Resulting Numbers: [1424]
1424,14 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Moving to Node #0,1,4
Current State: 14:[94, 11], Operations: ['85/17=5', '16-5=11']
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,14 unequal: No Solution
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,14 unequal: No Solution
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[16, 99], Operations: ['85/17=5', '94+5=99']
Exploring Operation: 16*99=1584, Resulting Numbers: [1584]
1584,14 unequal: No Solution
Exploring Operation: 16+99=115, Resulting Numbers: [115]
115,14 unequal: No Solution
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[94, 21], Operations: ['85/17=5', '16+5=21']
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 94*21=1974, Resulting Numbers: [1974]
1974,14 unequal: No Solution
Exploring Operation: 94+21=115, Resulting Numbers: [115]
115,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[69, 77], Operations: ['85-16=69', '94-17=77']
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 69+77=146, Resulting Numbers: [146]
146,14 unequal: No Solution
Exploring Operation: 69*77=5313, Resulting Numbers: [5313]
5313,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[94, 52], Operations: ['85-16=69', '69-17=52']
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 94*52=4888, Resulting Numbers: [4888]
4888,14 unequal: No Solution
Exploring Operation: 94+52=146, Resulting Numbers: [146]
146,14 unequal: No Solution
Moving to Node #0,0,4
Current State: 14:[69, 111], Operations: ['85-16=69', '94+17=111']
Exploring Operation: 69+111=180, Resulting Numbers: [180]
180,14 unequal: No Solution
Exploring Operation: 111-69=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 69*111=7659, Resulting Numbers: [7659]
7659,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[17, 163], Operations: ['85-16=69', '94+69=163']
Exploring Operation: 17+163=180, Resulting Numbers: [180]
180,14 unequal: No Solution
Exploring Operation: 17*163=2771, Resulting Numbers: [2771]
2771,14 unequal: No Solution
Exploring Operation: 163-17=146, Resulting Numbers: [146]
146,14 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
47,
64,
32,
16
] | 43 | [
"32-16=16",
"64/16=4",
"47-4=43"
] | Current State: 43:[47, 64, 32, 16], Operations: []
Exploring Operation: 32-16=16, Resulting Numbers: [47, 64, 16]
Generated Node #2: [47, 64, 16] from Operation: 32-16=16
Current State: 43:[47, 64, 16], Operations: ['32-16=16']
Exploring Operation: 64/16=4, Resulting Numbers: [47, 4]
Generated Node #3: [47, 4] from Operation: 64/16=4
Current State: 43:[47, 4], Operations: ['32-16=16', '64/16=4']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[47, 64, 32, 16], Operations: []
Exploring Operation: 64-16=48, Resulting Numbers: [47, 32, 48]
Generated Node #0,0: 43:[47, 32, 48] Operation: 64-16=48
Exploring Operation: 64-32=32, Resulting Numbers: [47, 16, 32]
Generated Node #0,1: 43:[47, 16, 32] Operation: 64-32=32
Exploring Operation: 32+16=48, Resulting Numbers: [47, 64, 48]
Generated Node #0,2: 43:[47, 64, 48] Operation: 32+16=48
Moving to Node #0,0
Current State: 43:[47, 32, 48], Operations: ['64-16=48']
Exploring Operation: 47+32=79, Resulting Numbers: [48, 79]
Generated Node #0,0,0: 43:[48, 79] Operation: 47+32=79
Exploring Operation: 47-32=15, Resulting Numbers: [48, 15]
Generated Node #0,0,1: 43:[48, 15] Operation: 47-32=15
Exploring Operation: 48-32=16, Resulting Numbers: [47, 16]
Generated Node #0,0,2: 43:[47, 16] Operation: 48-32=16
Moving to Node #0,2
Current State: 43:[47, 64, 48], Operations: ['32+16=48']
Exploring Operation: 48-47=1, Resulting Numbers: [64, 1]
Generated Node #0,2,0: 43:[64, 1] Operation: 48-47=1
Exploring Operation: 64-48=16, Resulting Numbers: [47, 16]
Generated Node #0,2,1: 43:[47, 16] Operation: 64-48=16
Exploring Operation: 64-47=17, Resulting Numbers: [48, 17]
Generated Node #0,2,2: 43:[48, 17] Operation: 64-47=17
Moving to Node #0,1
Current State: 43:[47, 16, 32], Operations: ['64-32=32']
Exploring Operation: 16+32=48, Resulting Numbers: [47, 48]
Generated Node #0,1,0: 43:[47, 48] Operation: 16+32=48
Exploring Operation: 47+16=63, Resulting Numbers: [32, 63]
Generated Node #0,1,1: 43:[32, 63] Operation: 47+16=63
Exploring Operation: 47-16=31, Resulting Numbers: [32, 31]
Generated Node #0,1,2: 43:[32, 31] Operation: 47-16=31
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[47, 48], Operations: ['64-32=32', '16+32=48']
Exploring Operation: 47*48=2256, Resulting Numbers: [2256]
2256,43 unequal: No Solution
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,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:[32, 31], Operations: ['64-32=32', '47-16=31']
Exploring Operation: 32*31=992, Resulting Numbers: [992]
992,43 unequal: No Solution
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,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:[32, 63], Operations: ['64-32=32', '47+16=63']
Exploring Operation: 32*63=2016, Resulting Numbers: [2016]
2016,43 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 32+63=95, Resulting Numbers: [95]
95,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:[47, 16], Operations: ['64-16=48', '48-32=16']
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,43 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[47, 16], Operations: ['32+16=48', '64-48=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,43 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[48, 17], Operations: ['32+16=48', '64-47=17']
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[48, 15], Operations: ['64-16=48', '47-32=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[48, 79], Operations: ['64-16=48', '47+32=79']
Exploring Operation: 48+79=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 48*79=3792, Resulting Numbers: [3792]
3792,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[64, 1], Operations: ['32+16=48', '48-47=1']
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,43 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
61,
71,
65,
20
] | 66 | [
"65-61=4",
"20/4=5",
"71-5=66"
] | Current State: 66:[61, 71, 65, 20], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [71, 20, 4]
Generated Node #2: [71, 20, 4] from Operation: 65-61=4
Current State: 66:[71, 20, 4], Operations: ['65-61=4']
Exploring Operation: 20/4=5, Resulting Numbers: [71, 5]
Generated Node #3: [71, 5] from Operation: 20/4=5
Current State: 66:[71, 5], Operations: ['65-61=4', '20/4=5']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[61, 71, 65, 20], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [71, 20, 4]
Generated Node #0,0: 66:[71, 20, 4] Operation: 65-61=4
Exploring Operation: 71-65=6, Resulting Numbers: [61, 20, 6]
Generated Node #0,1: 66:[61, 20, 6] Operation: 71-65=6
Exploring Operation: 71-61=10, Resulting Numbers: [65, 20, 10]
Generated Node #0,2: 66:[65, 20, 10] Operation: 71-61=10
Moving to Node #0,2
Current State: 66:[65, 20, 10], Operations: ['71-61=10']
Exploring Operation: 20/10=2, Resulting Numbers: [65, 2]
Generated Node #0,2,0: 66:[65, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [65, 10]
Generated Node #0,2,1: 66:[65, 10] Operation: 20-10=10
Exploring Operation: 20+10=30, Resulting Numbers: [65, 30]
Generated Node #0,2,2: 66:[65, 30] Operation: 20+10=30
Moving to Node #0,1
Current State: 66:[61, 20, 6], Operations: ['71-65=6']
Exploring Operation: 20-6=14, Resulting Numbers: [61, 14]
Generated Node #0,1,0: 66:[61, 14] Operation: 20-6=14
Exploring Operation: 61-20=41, Resulting Numbers: [6, 41]
Generated Node #0,1,1: 66:[6, 41] Operation: 61-20=41
Exploring Operation: 61+6=67, Resulting Numbers: [20, 67]
Generated Node #0,1,2: 66:[20, 67] Operation: 61+6=67
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[20, 67], Operations: ['71-65=6', '61+6=67']
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,66 unequal: No Solution
Exploring Operation: 20*67=1340, Resulting Numbers: [1340]
1340,66 unequal: No Solution
Exploring Operation: 20+67=87, Resulting Numbers: [87]
87,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[61, 14], Operations: ['71-65=6', '20-6=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,66 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,66 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[6, 41], Operations: ['71-65=6', '61-20=41']
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,66 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,66 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,66 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: 66:[71, 20, 4], Operations: ['65-61=4']
Exploring Operation: 20/4=5, Resulting Numbers: [71, 5]
Generated Node #0,0,0: 66:[71, 5] Operation: 20/4=5
Exploring Operation: 20+4=24, Resulting Numbers: [71, 24]
Generated Node #0,0,1: 66:[71, 24] Operation: 20+4=24
Exploring Operation: 71-4=67, Resulting Numbers: [20, 67]
Generated Node #0,0,2: 66:[20, 67] Operation: 71-4=67
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[20, 67], Operations: ['65-61=4', '71-4=67']
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,66 unequal: No Solution
Exploring Operation: 20*67=1340, Resulting Numbers: [1340]
1340,66 unequal: No Solution
Exploring Operation: 20+67=87, Resulting Numbers: [87]
87,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[71, 5], Operations: ['65-61=4', '20/4=5']
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 71*5=355, Resulting Numbers: [355]
355,66 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[61, 71, 65, 20], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [71, 20, 4]
Generated Node #0,0: 66:[71, 20, 4] Operation: 65-61=4
Moving to Node #0,0
Current State: 66:[71, 20, 4], Operations: ['65-61=4']
Exploring Operation: 20/4=5, Resulting Numbers: [71, 5]
Generated Node #0,0,0: 66:[71, 5] Operation: 20/4=5
Moving to Node #0,0,0
Current State: 66:[71, 5], Operations: ['65-61=4', '20/4=5']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
32,
48,
59,
43
] | 64 | [
"32+48=80",
"59-43=16",
"80-16=64"
] | Current State: 64:[32, 48, 59, 43], Operations: []
Exploring Operation: 32+48=80, Resulting Numbers: [59, 43, 80]
Generated Node #2: [59, 43, 80] from Operation: 32+48=80
Current State: 64:[59, 43, 80], Operations: ['32+48=80']
Exploring Operation: 59-43=16, Resulting Numbers: [80, 16]
Generated Node #3: [80, 16] from Operation: 59-43=16
Current State: 64:[80, 16], Operations: ['32+48=80', '59-43=16']
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[32, 48, 59, 43], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [32, 59, 5]
Generated Node #0,0: 64:[32, 59, 5] Operation: 48-43=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[32, 59, 5], Operations: ['48-43=5']
Exploring Operation: 59+5=64, Resulting Numbers: [32, 64]
Generated Node #0,0,0: 64:[32, 64] Operation: 59+5=64
Moving to Node #0,0,0
Current State: 64:[32, 64], Operations: ['48-43=5', '59+5=64']
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,64 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 |
[
2,
32,
8,
7
] | 43 | [
"8/2=4",
"32+7=39",
"4+39=43"
] | Current State: 43:[2, 32, 8, 7], Operations: []
Exploring Operation: 8/2=4, Resulting Numbers: [32, 7, 4]
Generated Node #2: [32, 7, 4] from Operation: 8/2=4
Current State: 43:[32, 7, 4], Operations: ['8/2=4']
Exploring Operation: 32+7=39, Resulting Numbers: [4, 39]
Generated Node #3: [4, 39] from Operation: 32+7=39
Current State: 43:[4, 39], Operations: ['8/2=4', '32+7=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[2, 32, 8, 7], Operations: []
Exploring Operation: 2*8=16, Resulting Numbers: [32, 7, 16]
Generated Node #0,0: 43:[32, 7, 16] Operation: 2*8=16
Exploring Operation: 8*7=56, Resulting Numbers: [2, 32, 56]
Generated Node #0,1: 43:[2, 32, 56] Operation: 8*7=56
Moving to Node #0,1
Current State: 43:[2, 32, 56], Operations: ['8*7=56']
Exploring Operation: 56-2=54, Resulting Numbers: [32, 54]
Generated Node #0,1,0: 43:[32, 54] Operation: 56-2=54
Exploring Operation: 2+32=34, Resulting Numbers: [56, 34]
Generated Node #0,1,1: 43:[56, 34] Operation: 2+32=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[32, 54], Operations: ['8*7=56', '56-2=54']
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,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:[56, 34], Operations: ['8*7=56', '2+32=34']
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,43 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: 43:[32, 7, 16], Operations: ['2*8=16']
Exploring Operation: 7+16=23, Resulting Numbers: [32, 23]
Generated Node #0,0,0: 43:[32, 23] Operation: 7+16=23
Exploring Operation: 32+7=39, Resulting Numbers: [16, 39]
Generated Node #0,0,1: 43:[16, 39] Operation: 32+7=39
Moving to Node #0,0,0
Current State: 43:[32, 23], Operations: ['2*8=16', '7+16=23']
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[16, 39], Operations: ['2*8=16', '32+7=39']
Exploring Operation: 16+39=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,43 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
33,
96,
37,
31
] | 28 | [
"37-33=4",
"31*4=124",
"124-96=28"
] | Current State: 28:[33, 96, 37, 31], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [96, 31, 4]
Generated Node #2: [96, 31, 4] from Operation: 37-33=4
Current State: 28:[96, 31, 4], Operations: ['37-33=4']
Exploring Operation: 31*4=124, Resulting Numbers: [96, 124]
Generated Node #3: [96, 124] from Operation: 31*4=124
Current State: 28:[96, 124], Operations: ['37-33=4', '31*4=124']
Exploring Operation: 124-96=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[33, 96, 37, 31], Operations: []
Exploring Operation: 96-37=59, Resulting Numbers: [33, 31, 59]
Generated Node #0,0: 28:[33, 31, 59] Operation: 96-37=59
Exploring Operation: 96-33=63, Resulting Numbers: [37, 31, 63]
Generated Node #0,1: 28:[37, 31, 63] Operation: 96-33=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[33, 31, 59], Operations: ['96-37=59']
Exploring Operation: 59-33=26, Resulting Numbers: [31, 26]
Generated Node #0,0,0: 28:[31, 26] Operation: 59-33=26
Exploring Operation: 59-31=28, Resulting Numbers: [33, 28]
Generated Node #0,0,1: 28:[33, 28] Operation: 59-31=28
Moving to Node #0,0,0
Current State: 28:[31, 26], Operations: ['96-37=59', '59-33=26']
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[33, 28], Operations: ['96-37=59', '59-31=28']
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[37, 31, 63], Operations: ['96-33=63']
Exploring Operation: 63-31=32, Resulting Numbers: [37, 32]
Generated Node #0,1,0: 28:[37, 32] Operation: 63-31=32
Exploring Operation: 63-37=26, Resulting Numbers: [31, 26]
Generated Node #0,1,1: 28:[31, 26] Operation: 63-37=26
Moving to Node #0,1,1
Current State: 28:[31, 26], Operations: ['96-33=63', '63-37=26']
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[37, 32], Operations: ['96-33=63', '63-31=32']
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,28 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 |
[
79,
30,
96,
10
] | 20 | [
"96-79=17",
"30/10=3",
"17+3=20"
] | Current State: 20:[79, 30, 96, 10], Operations: []
Exploring Operation: 96-79=17, Resulting Numbers: [30, 10, 17]
Generated Node #2: [30, 10, 17] from Operation: 96-79=17
Current State: 20:[30, 10, 17], Operations: ['96-79=17']
Exploring Operation: 30/10=3, Resulting Numbers: [17, 3]
Generated Node #3: [17, 3] from Operation: 30/10=3
Current State: 20:[17, 3], Operations: ['96-79=17', '30/10=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[79, 30, 96, 10], Operations: []
Exploring Operation: 30-10=20, Resulting Numbers: [79, 96, 20]
Generated Node #0,0: 20:[79, 96, 20] Operation: 30-10=20
Exploring Operation: 79-10=69, Resulting Numbers: [30, 96, 69]
Generated Node #0,1: 20:[30, 96, 69] Operation: 79-10=69
Exploring Operation: 96-79=17, Resulting Numbers: [30, 10, 17]
Generated Node #0,2: 20:[30, 10, 17] Operation: 96-79=17
Exploring Operation: 96-30=66, Resulting Numbers: [79, 10, 66]
Generated Node #0,3: 20:[79, 10, 66] Operation: 96-30=66
Exploring Operation: 79-30=49, Resulting Numbers: [96, 10, 49]
Generated Node #0,4: 20:[96, 10, 49] Operation: 79-30=49
Moving to Node #0,2
Current State: 20:[30, 10, 17], Operations: ['96-79=17']
Exploring Operation: 10+17=27, Resulting Numbers: [30, 27]
Generated Node #0,2,0: 20:[30, 27] Operation: 10+17=27
Exploring Operation: 30-10=20, Resulting Numbers: [17, 20]
Generated Node #0,2,1: 20:[17, 20] Operation: 30-10=20
Exploring Operation: 30/10=3, Resulting Numbers: [17, 3]
Generated Node #0,2,2: 20:[17, 3] Operation: 30/10=3
Exploring Operation: 30-17=13, Resulting Numbers: [10, 13]
Generated Node #0,2,3: 20:[10, 13] Operation: 30-17=13
Exploring Operation: 17-10=7, Resulting Numbers: [30, 7]
Generated Node #0,2,4: 20:[30, 7] Operation: 17-10=7
Moving to Node #0,4
Current State: 20:[96, 10, 49], Operations: ['79-30=49']
Exploring Operation: 96+10=106, Resulting Numbers: [49, 106]
Generated Node #0,4,0: 20:[49, 106] Operation: 96+10=106
Exploring Operation: 96-10=86, Resulting Numbers: [49, 86]
Generated Node #0,4,1: 20:[49, 86] Operation: 96-10=86
Exploring Operation: 10+49=59, Resulting Numbers: [96, 59]
Generated Node #0,4,2: 20:[96, 59] Operation: 10+49=59
Exploring Operation: 49-10=39, Resulting Numbers: [96, 39]
Generated Node #0,4,3: 20:[96, 39] Operation: 49-10=39
Exploring Operation: 96-49=47, Resulting Numbers: [10, 47]
Generated Node #0,4,4: 20:[10, 47] Operation: 96-49=47
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 20:[10, 47], Operations: ['79-30=49', '96-49=47']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,20 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,20 unequal: No Solution
No 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: 20:[49, 86], Operations: ['79-30=49', '96-10=86']
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 49*86=4214, Resulting Numbers: [4214]
4214,20 unequal: No Solution
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,20 unequal: No Solution
No 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: 20:[96, 39], Operations: ['79-30=49', '49-10=39']
Exploring Operation: 96+39=135, Resulting Numbers: [135]
135,20 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 96*39=3744, Resulting Numbers: [3744]
3744,20 unequal: No Solution
No 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: 20:[49, 106], Operations: ['79-30=49', '96+10=106']
Exploring Operation: 49+106=155, Resulting Numbers: [155]
155,20 unequal: No Solution
Exploring Operation: 106-49=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 49*106=5194, Resulting Numbers: [5194]
5194,20 unequal: No Solution
No 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: 20:[96, 59], Operations: ['79-30=49', '10+49=59']
Exploring Operation: 96*59=5664, Resulting Numbers: [5664]
5664,20 unequal: No Solution
Exploring Operation: 96+59=155, Resulting Numbers: [155]
155,20 unequal: No Solution
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,20 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: 20:[79, 10, 66], Operations: ['96-30=66']
Exploring Operation: 79-66=13, Resulting Numbers: [10, 13]
Generated Node #0,3,0: 20:[10, 13] Operation: 79-66=13
Exploring Operation: 66-10=56, Resulting Numbers: [79, 56]
Generated Node #0,3,1: 20:[79, 56] Operation: 66-10=56
Exploring Operation: 79+10=89, Resulting Numbers: [66, 89]
Generated Node #0,3,2: 20:[66, 89] Operation: 79+10=89
Exploring Operation: 10+66=76, Resulting Numbers: [79, 76]
Generated Node #0,3,3: 20:[79, 76] Operation: 10+66=76
Exploring Operation: 79-10=69, Resulting Numbers: [66, 69]
Generated Node #0,3,4: 20:[66, 69] Operation: 79-10=69
Moving to Node #0,0
Current State: 20:[79, 96, 20], Operations: ['30-10=20']
Exploring Operation: 79+96=175, Resulting Numbers: [20, 175]
Generated Node #0,0,0: 20:[20, 175] Operation: 79+96=175
Exploring Operation: 79-20=59, Resulting Numbers: [96, 59]
Generated Node #0,0,1: 20:[96, 59] Operation: 79-20=59
Exploring Operation: 96-20=76, Resulting Numbers: [79, 76]
Generated Node #0,0,2: 20:[79, 76] Operation: 96-20=76
Exploring Operation: 79+20=99, Resulting Numbers: [96, 99]
Generated Node #0,0,3: 20:[96, 99] Operation: 79+20=99
Exploring Operation: 96-79=17, Resulting Numbers: [20, 17]
Generated Node #0,0,4: 20:[20, 17] Operation: 96-79=17
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 20:[20, 17], Operations: ['30-10=20', '96-79=17']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,20 unequal: No Solution
No 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: 20:[96, 59], Operations: ['30-10=20', '79-20=59']
Exploring Operation: 96*59=5664, Resulting Numbers: [5664]
5664,20 unequal: No Solution
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 96+59=155, Resulting Numbers: [155]
155,20 unequal: No Solution
No 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: 20:[79, 76], Operations: ['30-10=20', '96-20=76']
Exploring Operation: 79*76=6004, Resulting Numbers: [6004]
6004,20 unequal: No Solution
Exploring Operation: 79+76=155, Resulting Numbers: [155]
155,20 unequal: No Solution
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,20 unequal: No Solution
No 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: 20:[20, 175], Operations: ['30-10=20', '79+96=175']
Exploring Operation: 20*175=3500, Resulting Numbers: [3500]
3500,20 unequal: No Solution
Exploring Operation: 20+175=195, Resulting Numbers: [195]
195,20 unequal: No Solution
Exploring Operation: 175-20=155, Resulting Numbers: [155]
155,20 unequal: No Solution
No 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: 20:[96, 99], Operations: ['30-10=20', '79+20=99']
Exploring Operation: 96+99=195, Resulting Numbers: [195]
195,20 unequal: No Solution
Exploring Operation: 96*99=9504, Resulting Numbers: [9504]
9504,20 unequal: No Solution
Exploring Operation: 99-96=3, Resulting Numbers: [3]
3,20 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: 20:[30, 96, 69], Operations: ['79-10=69']
Exploring Operation: 96-69=27, Resulting Numbers: [30, 27]
Generated Node #0,1,0: 20:[30, 27] Operation: 96-69=27
Exploring Operation: 69-30=39, Resulting Numbers: [96, 39]
Generated Node #0,1,1: 20:[96, 39] Operation: 69-30=39
Exploring Operation: 30+69=99, Resulting Numbers: [96, 99]
Generated Node #0,1,2: 20:[96, 99] Operation: 30+69=99
Exploring Operation: 30+96=126, Resulting Numbers: [69, 126]
Generated Node #0,1,3: 20:[69, 126] Operation: 30+96=126
Exploring Operation: 96-30=66, Resulting Numbers: [69, 66]
Generated Node #0,1,4: 20:[69, 66] Operation: 96-30=66
Moving to Node #0,2,1
Current State: 20:[17, 20], Operations: ['96-79=17', '30-10=20']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,20 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[10, 13], Operations: ['96-30=66', '79-66=13']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[10, 13], Operations: ['96-79=17', '30-17=13']
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,20 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[17, 3], Operations: ['96-79=17', '30/10=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[79, 30, 96, 10], Operations: []
Exploring Operation: 96-79=17, Resulting Numbers: [30, 10, 17]
Generated Node #0,2: 20:[30, 10, 17] Operation: 96-79=17
Moving to Node #0,2
Current State: 20:[30, 10, 17], Operations: ['96-79=17']
Exploring Operation: 30/10=3, Resulting Numbers: [17, 3]
Generated Node #0,2,2: 20:[17, 3] Operation: 30/10=3
Moving to Node #0,2,2
Current State: 20:[17, 3], Operations: ['96-79=17', '30/10=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.934896 | hs_5 | mult_heuristic |
[
36,
17,
55,
38
] | 21 | [
"38-36=2",
"17*2=34",
"55-34=21"
] | Current State: 21:[36, 17, 55, 38], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [17, 55, 2]
Generated Node #2: [17, 55, 2] from Operation: 38-36=2
Current State: 21:[17, 55, 2], Operations: ['38-36=2']
Exploring Operation: 17*2=34, Resulting Numbers: [55, 34]
Generated Node #3: [55, 34] from Operation: 17*2=34
Current State: 21:[55, 34], Operations: ['38-36=2', '17*2=34']
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[36, 17, 55, 38], Operations: []
Exploring Operation: 55-38=17, Resulting Numbers: [36, 17, 17]
Generated Node #0,0: 21:[36, 17, 17] Operation: 55-38=17
Exploring Operation: 55-36=19, Resulting Numbers: [17, 38, 19]
Generated Node #0,1: 21:[17, 38, 19] Operation: 55-36=19
Exploring Operation: 55-17=38, Resulting Numbers: [36, 38, 38]
Generated Node #0,2: 21:[36, 38, 38] Operation: 55-17=38
Exploring Operation: 38-36=2, Resulting Numbers: [17, 55, 2]
Generated Node #0,3: 21:[17, 55, 2] Operation: 38-36=2
Moving to Node #0,0
Current State: 21:[36, 17, 17], Operations: ['55-38=17']
Exploring Operation: 17/17=1, Resulting Numbers: [36, 1]
Generated Node #0,0,0: 21:[36, 1] Operation: 17/17=1
Exploring Operation: 36-17=19, Resulting Numbers: [17, 19]
Generated Node #0,0,1: 21:[17, 19] Operation: 36-17=19
Exploring Operation: 17-17=0, Resulting Numbers: [36, 0]
Generated Node #0,0,2: 21:[36, 0] Operation: 17-17=0
Exploring Operation: 36-17=19, Resulting Numbers: [17, 19]
Generated Node #0,0,3: 21:[17, 19] Operation: 36-17=19
Moving to Node #0,1
Current State: 21:[17, 38, 19], Operations: ['55-36=19']
Exploring Operation: 38-19=19, Resulting Numbers: [17, 19]
Generated Node #0,1,0: 21:[17, 19] Operation: 38-19=19
Exploring Operation: 38-17=21, Resulting Numbers: [19, 21]
Generated Node #0,1,1: 21:[19, 21] Operation: 38-17=21
Exploring Operation: 38/19=2, Resulting Numbers: [17, 2]
Generated Node #0,1,2: 21:[17, 2] Operation: 38/19=2
Exploring Operation: 19-17=2, Resulting Numbers: [38, 2]
Generated Node #0,1,3: 21:[38, 2] Operation: 19-17=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[19, 21], Operations: ['55-36=19', '38-17=21']
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 19*21=399, Resulting Numbers: [399]
399,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 21:[17, 2], Operations: ['55-36=19', '38/19=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[17, 19], Operations: ['55-36=19', '38-19=19']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 21:[38, 2], Operations: ['55-36=19', '19-17=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,21 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: 21:[17, 55, 2], Operations: ['38-36=2']
Exploring Operation: 17-2=15, Resulting Numbers: [55, 15]
Generated Node #0,3,0: 21:[55, 15] Operation: 17-2=15
Exploring Operation: 17+2=19, Resulting Numbers: [55, 19]
Generated Node #0,3,1: 21:[55, 19] Operation: 17+2=19
Exploring Operation: 55-17=38, Resulting Numbers: [2, 38]
Generated Node #0,3,2: 21:[2, 38] Operation: 55-17=38
Exploring Operation: 55-2=53, Resulting Numbers: [17, 53]
Generated Node #0,3,3: 21:[17, 53] Operation: 55-2=53
Moving to Node #0,2
Current State: 21:[36, 38, 38], Operations: ['55-17=38']
Exploring Operation: 38-36=2, Resulting Numbers: [38, 2]
Generated Node #0,2,0: 21:[38, 2] Operation: 38-36=2
Exploring Operation: 38-36=2, Resulting Numbers: [38, 2]
Generated Node #0,2,1: 21:[38, 2] Operation: 38-36=2
Exploring Operation: 38/38=1, Resulting Numbers: [36, 1]
Generated Node #0,2,2: 21:[36, 1] Operation: 38/38=1
Exploring Operation: 38-38=0, Resulting Numbers: [36, 0]
Generated Node #0,2,3: 21:[36, 0] Operation: 38-38=0
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[36, 1], Operations: ['55-17=38', '38/38=1']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 21:[38, 2], Operations: ['55-17=38', '38-36=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[38, 2], Operations: ['55-17=38', '38-36=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 21:[36, 0], Operations: ['55-17=38', '38-38=0']
Exploring Operation: 36*0=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 36+0=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 36-0=36, Resulting Numbers: [36]
36,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 21:[17, 19], Operations: ['55-38=17', '36-17=19']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[17, 19], Operations: ['55-38=17', '36-17=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,21 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[36, 1], Operations: ['55-38=17', '17/17=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Moving to Node #0,3,2
Current State: 21:[2, 38], Operations: ['38-36=2', '55-17=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[36, 0], Operations: ['55-38=17', '17-17=0']
Exploring Operation: 36+0=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 36*0=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 36-0=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Moving to Node #0,3,1
Current State: 21:[55, 19], Operations: ['38-36=2', '17+2=19']
Exploring Operation: 55+19=74, Resulting Numbers: [74]
74,21 unequal: No Solution
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 55*19=1045, Resulting Numbers: [1045]
1045,21 unequal: No Solution
Moving to Node #0,3,3
Current State: 21:[17, 53], Operations: ['38-36=2', '55-2=53']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 17*53=901, Resulting Numbers: [901]
901,21 unequal: No Solution
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,21 unequal: No Solution
Moving to Node #0,3,0
Current State: 21:[55, 15], Operations: ['38-36=2', '17-2=15']
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,21 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,21 unequal: No Solution
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,21 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
20,
5,
42,
26
] | 83 | [
"20-5=15",
"42+26=68",
"15+68=83"
] | Current State: 83:[20, 5, 42, 26], Operations: []
Exploring Operation: 20-5=15, Resulting Numbers: [42, 26, 15]
Generated Node #2: [42, 26, 15] from Operation: 20-5=15
Current State: 83:[42, 26, 15], Operations: ['20-5=15']
Exploring Operation: 42+26=68, Resulting Numbers: [15, 68]
Generated Node #3: [15, 68] from Operation: 42+26=68
Current State: 83:[15, 68], Operations: ['20-5=15', '42+26=68']
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[20, 5, 42, 26], Operations: []
Exploring Operation: 20*5=100, Resulting Numbers: [42, 26, 100]
Generated Node #0,0: 83:[42, 26, 100] Operation: 20*5=100
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[42, 26, 100], Operations: ['20*5=100']
Exploring Operation: 42+26=68, Resulting Numbers: [100, 68]
Generated Node #0,0,0: 83:[100, 68] Operation: 42+26=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[100, 68], Operations: ['20*5=100', '42+26=68']
Exploring Operation: 100-68=32, Resulting Numbers: [32]
32,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 | mult_heuristic |
[
3,
2,
89,
77
] | 98 | [
"3+77=80",
"2*89=178",
"178-80=98"
] | Current State: 98:[3, 2, 89, 77], Operations: []
Exploring Operation: 3+77=80, Resulting Numbers: [2, 89, 80]
Generated Node #2: [2, 89, 80] from Operation: 3+77=80
Current State: 98:[2, 89, 80], Operations: ['3+77=80']
Exploring Operation: 2*89=178, Resulting Numbers: [80, 178]
Generated Node #3: [80, 178] from Operation: 2*89=178
Current State: 98:[80, 178], Operations: ['3+77=80', '2*89=178']
Exploring Operation: 178-80=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[3, 2, 89, 77], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [3, 2, 12]
Generated Node #0,0: 98:[3, 2, 12] Operation: 89-77=12
Exploring Operation: 3+89=92, Resulting Numbers: [2, 77, 92]
Generated Node #0,1: 98:[2, 77, 92] Operation: 3+89=92
Moving to Node #0,0
Current State: 98:[3, 2, 12], Operations: ['89-77=12']
Exploring Operation: 2+12=14, Resulting Numbers: [3, 14]
Generated Node #0,0,0: 98:[3, 14] Operation: 2+12=14
Exploring Operation: 3+12=15, Resulting Numbers: [2, 15]
Generated Node #0,0,1: 98:[2, 15] Operation: 3+12=15
Moving to Node #0,1
Current State: 98:[2, 77, 92], Operations: ['3+89=92']
Exploring Operation: 92-77=15, Resulting Numbers: [2, 15]
Generated Node #0,1,0: 98:[2, 15] Operation: 92-77=15
Exploring Operation: 92/2=46, Resulting Numbers: [77, 46]
Generated Node #0,1,1: 98:[77, 46] Operation: 92/2=46
Moving to Node #0,0,0
Current State: 98:[3, 14], Operations: ['89-77=12', '2+12=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[2, 15], Operations: ['3+89=92', '92-77=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[2, 15], Operations: ['89-77=12', '3+12=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[77, 46], Operations: ['3+89=92', '92/2=46']
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,98 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
50,
76,
16,
9
] | 30 | [
"50+76=126",
"126/9=14",
"16+14=30"
] | Current State: 30:[50, 76, 16, 9], Operations: []
Exploring Operation: 50+76=126, Resulting Numbers: [16, 9, 126]
Generated Node #2: [16, 9, 126] from Operation: 50+76=126
Current State: 30:[16, 9, 126], Operations: ['50+76=126']
Exploring Operation: 126/9=14, Resulting Numbers: [16, 14]
Generated Node #3: [16, 14] from Operation: 126/9=14
Current State: 30:[16, 14], Operations: ['50+76=126', '126/9=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[50, 76, 16, 9], Operations: []
Exploring Operation: 50-16=34, Resulting Numbers: [76, 9, 34]
Generated Node #0,0: 30:[76, 9, 34] Operation: 50-16=34
Exploring Operation: 76-16=60, Resulting Numbers: [50, 9, 60]
Generated Node #0,1: 30:[50, 9, 60] Operation: 76-16=60
Exploring Operation: 76-50=26, Resulting Numbers: [16, 9, 26]
Generated Node #0,2: 30:[16, 9, 26] Operation: 76-50=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[16, 9, 26], Operations: ['76-50=26']
Exploring Operation: 26-9=17, Resulting Numbers: [16, 17]
Generated Node #0,2,0: 30:[16, 17] Operation: 26-9=17
Exploring Operation: 26-16=10, Resulting Numbers: [9, 10]
Generated Node #0,2,1: 30:[9, 10] Operation: 26-16=10
Exploring Operation: 16-9=7, Resulting Numbers: [26, 7]
Generated Node #0,2,2: 30:[26, 7] Operation: 16-9=7
Moving to Node #0,2,1
Current State: 30:[9, 10], Operations: ['76-50=26', '26-16=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,30 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[16, 17], Operations: ['76-50=26', '26-9=17']
Exploring Operation: 16*17=272, Resulting Numbers: [272]
272,30 unequal: No Solution
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[26, 7], Operations: ['76-50=26', '16-9=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,30 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[76, 9, 34], Operations: ['50-16=34']
Exploring Operation: 76-34=42, Resulting Numbers: [9, 42]
Generated Node #0,0,0: 30:[9, 42] Operation: 76-34=42
Exploring Operation: 34-9=25, Resulting Numbers: [76, 25]
Generated Node #0,0,1: 30:[76, 25] Operation: 34-9=25
Exploring Operation: 76-9=67, Resulting Numbers: [34, 67]
Generated Node #0,0,2: 30:[34, 67] Operation: 76-9=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[9, 42], Operations: ['50-16=34', '76-34=42']
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 30:[34, 67], Operations: ['50-16=34', '76-9=67']
Exploring Operation: 34*67=2278, Resulting Numbers: [2278]
2278,30 unequal: No Solution
Exploring Operation: 34+67=101, Resulting Numbers: [101]
101,30 unequal: No Solution
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 30:[76, 25], Operations: ['50-16=34', '34-9=25']
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,30 unequal: No Solution
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[50, 9, 60], Operations: ['76-16=60']
Exploring Operation: 60-50=10, Resulting Numbers: [9, 10]
Generated Node #0,1,0: 30:[9, 10] Operation: 60-50=10
Exploring Operation: 50-9=41, Resulting Numbers: [60, 41]
Generated Node #0,1,1: 30:[60, 41] Operation: 50-9=41
Exploring Operation: 60-9=51, Resulting Numbers: [50, 51]
Generated Node #0,1,2: 30:[50, 51] Operation: 60-9=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[9, 10], Operations: ['76-16=60', '60-50=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,30 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[60, 41], Operations: ['76-16=60', '50-9=41']
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,30 unequal: No Solution
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 30:[50, 51], Operations: ['76-16=60', '60-9=51']
Exploring Operation: 50+51=101, Resulting Numbers: [101]
101,30 unequal: No Solution
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 50*51=2550, Resulting Numbers: [2550]
2550,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
68,
84,
99,
21
] | 35 | [
"99-68=31",
"84/21=4",
"31+4=35"
] | Current State: 35:[68, 84, 99, 21], Operations: []
Exploring Operation: 99-68=31, Resulting Numbers: [84, 21, 31]
Generated Node #2: [84, 21, 31] from Operation: 99-68=31
Current State: 35:[84, 21, 31], Operations: ['99-68=31']
Exploring Operation: 84/21=4, Resulting Numbers: [31, 4]
Generated Node #3: [31, 4] from Operation: 84/21=4
Current State: 35:[31, 4], Operations: ['99-68=31', '84/21=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[68, 84, 99, 21], Operations: []
Exploring Operation: 99-84=15, Resulting Numbers: [68, 21, 15]
Generated Node #0,0: 35:[68, 21, 15] Operation: 99-84=15
Exploring Operation: 99-68=31, Resulting Numbers: [84, 21, 31]
Generated Node #0,1: 35:[84, 21, 31] Operation: 99-68=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[68, 21, 15], Operations: ['99-84=15']
Exploring Operation: 68-15=53, Resulting Numbers: [21, 53]
Generated Node #0,0,0: 35:[21, 53] Operation: 68-15=53
Exploring Operation: 68-21=47, Resulting Numbers: [15, 47]
Generated Node #0,0,1: 35:[15, 47] Operation: 68-21=47
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[15, 47], Operations: ['99-84=15', '68-21=47']
Exploring Operation: 15+47=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[21, 53], Operations: ['99-84=15', '68-15=53']
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[84, 21, 31], Operations: ['99-68=31']
Exploring Operation: 84/21=4, Resulting Numbers: [31, 4]
Generated Node #0,1,0: 35:[31, 4] Operation: 84/21=4
Exploring Operation: 84-21=63, Resulting Numbers: [31, 63]
Generated Node #0,1,1: 35:[31, 63] Operation: 84-21=63
Moving to Node #0,1,0
Current State: 35:[31, 4], Operations: ['99-68=31', '84/21=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[68, 84, 99, 21], Operations: []
Exploring Operation: 99-68=31, Resulting Numbers: [84, 21, 31]
Generated Node #0,1: 35:[84, 21, 31] Operation: 99-68=31
Moving to Node #0,1
Current State: 35:[84, 21, 31], Operations: ['99-68=31']
Exploring Operation: 84/21=4, Resulting Numbers: [31, 4]
Generated Node #0,1,0: 35:[31, 4] Operation: 84/21=4
Moving to Node #0,1,0
Current State: 35:[31, 4], Operations: ['99-68=31', '84/21=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
48,
95,
61,
50
] | 17 | [
"50-48=2",
"95-61=34",
"34/2=17"
] | Current State: 17:[48, 95, 61, 50], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [95, 61, 2]
Generated Node #2: [95, 61, 2] from Operation: 50-48=2
Current State: 17:[95, 61, 2], Operations: ['50-48=2']
Exploring Operation: 95-61=34, Resulting Numbers: [2, 34]
Generated Node #3: [2, 34] from Operation: 95-61=34
Current State: 17:[2, 34], Operations: ['50-48=2', '95-61=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[48, 95, 61, 50], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [48, 50, 34]
Generated Node #0,0: 17:[48, 50, 34] Operation: 95-61=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[48, 50, 34], Operations: ['95-61=34']
Exploring Operation: 50-48=2, Resulting Numbers: [34, 2]
Generated Node #0,0,0: 17:[34, 2] Operation: 50-48=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[34, 2], Operations: ['95-61=34', '50-48=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[48, 95, 61, 50], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [48, 50, 34]
Generated Node #0,0: 17:[48, 50, 34] Operation: 95-61=34
Moving to Node #0,0
Current State: 17:[48, 50, 34], Operations: ['95-61=34']
Exploring Operation: 50-48=2, Resulting Numbers: [34, 2]
Generated Node #0,0,0: 17:[34, 2] Operation: 50-48=2
Moving to Node #0,0,0
Current State: 17:[34, 2], Operations: ['95-61=34', '50-48=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
6,
96,
41,
4
] | 37 | [
"96/6=16",
"16/4=4",
"41-4=37"
] | Current State: 37:[6, 96, 41, 4], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [41, 4, 16]
Generated Node #2: [41, 4, 16] from Operation: 96/6=16
Current State: 37:[41, 4, 16], Operations: ['96/6=16']
Exploring Operation: 16/4=4, Resulting Numbers: [41, 4]
Generated Node #3: [41, 4] from Operation: 16/4=4
Current State: 37:[41, 4], Operations: ['96/6=16', '16/4=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[6, 96, 41, 4], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [6, 41, 24]
Generated Node #0,0: 37:[6, 41, 24] Operation: 96/4=24
Exploring Operation: 96/6=16, Resulting Numbers: [41, 4, 16]
Generated Node #0,1: 37:[41, 4, 16] Operation: 96/6=16
Exploring Operation: 96-41=55, Resulting Numbers: [6, 4, 55]
Generated Node #0,2: 37:[6, 4, 55] Operation: 96-41=55
Exploring Operation: 6*4=24, Resulting Numbers: [96, 41, 24]
Generated Node #0,3: 37:[96, 41, 24] Operation: 6*4=24
Moving to Node #0,0
Current State: 37:[6, 41, 24], Operations: ['96/4=24']
Exploring Operation: 6+24=30, Resulting Numbers: [41, 30]
Generated Node #0,0,0: 37:[41, 30] Operation: 6+24=30
Exploring Operation: 24-6=18, Resulting Numbers: [41, 18]
Generated Node #0,0,1: 37:[41, 18] Operation: 24-6=18
Exploring Operation: 41-6=35, Resulting Numbers: [24, 35]
Generated Node #0,0,2: 37:[24, 35] Operation: 41-6=35
Exploring Operation: 6+41=47, Resulting Numbers: [24, 47]
Generated Node #0,0,3: 37:[24, 47] Operation: 6+41=47
Moving to Node #0,1
Current State: 37:[41, 4, 16], Operations: ['96/6=16']
Exploring Operation: 16-4=12, Resulting Numbers: [41, 12]
Generated Node #0,1,0: 37:[41, 12] Operation: 16-4=12
Exploring Operation: 41-4=37, Resulting Numbers: [16, 37]
Generated Node #0,1,1: 37:[16, 37] Operation: 41-4=37
Exploring Operation: 4+16=20, Resulting Numbers: [41, 20]
Generated Node #0,1,2: 37:[41, 20] Operation: 4+16=20
Exploring Operation: 41+4=45, Resulting Numbers: [16, 45]
Generated Node #0,1,3: 37:[16, 45] Operation: 41+4=45
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[16, 37], Operations: ['96/6=16', '41-4=37']
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,37 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,37 unequal: No Solution
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 37:[41, 20], Operations: ['96/6=16', '4+16=20']
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,37 unequal: No Solution
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Exploring Operation: 41*20=820, Resulting Numbers: [820]
820,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[41, 12], Operations: ['96/6=16', '16-4=12']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 41*12=492, Resulting Numbers: [492]
492,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 37:[16, 45], Operations: ['96/6=16', '41+4=45']
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,37 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: 37:[96, 41, 24], Operations: ['6*4=24']
Exploring Operation: 96-24=72, Resulting Numbers: [41, 72]
Generated Node #0,3,0: 37:[41, 72] Operation: 96-24=72
Exploring Operation: 96-41=55, Resulting Numbers: [24, 55]
Generated Node #0,3,1: 37:[24, 55] Operation: 96-41=55
Exploring Operation: 96/24=4, Resulting Numbers: [41, 4]
Generated Node #0,3,2: 37:[41, 4] Operation: 96/24=4
Exploring Operation: 41-24=17, Resulting Numbers: [96, 17]
Generated Node #0,3,3: 37:[96, 17] Operation: 41-24=17
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 37:[24, 55], Operations: ['6*4=24', '96-41=55']
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Exploring Operation: 24*55=1320, Resulting Numbers: [1320]
1320,37 unequal: No Solution
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 37:[41, 4], Operations: ['6*4=24', '96/24=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[6, 96, 41, 4], Operations: []
Exploring Operation: 6*4=24, Resulting Numbers: [96, 41, 24]
Generated Node #0,3: 37:[96, 41, 24] Operation: 6*4=24
Moving to Node #0,3
Current State: 37:[96, 41, 24], Operations: ['6*4=24']
Exploring Operation: 96/24=4, Resulting Numbers: [41, 4]
Generated Node #0,3,2: 37:[41, 4] Operation: 96/24=4
Moving to Node #0,3,2
Current State: 37:[41, 4], Operations: ['6*4=24', '96/24=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | sum_heuristic |
[
57,
44,
89,
8
] | 40 | [
"89-57=32",
"32/8=4",
"44-4=40"
] | Current State: 40:[57, 44, 89, 8], Operations: []
Exploring Operation: 89-57=32, Resulting Numbers: [44, 8, 32]
Generated Node #2: [44, 8, 32] from Operation: 89-57=32
Current State: 40:[44, 8, 32], Operations: ['89-57=32']
Exploring Operation: 32/8=4, Resulting Numbers: [44, 4]
Generated Node #3: [44, 4] from Operation: 32/8=4
Current State: 40:[44, 4], Operations: ['89-57=32', '32/8=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[57, 44, 89, 8], Operations: []
Exploring Operation: 89-57=32, Resulting Numbers: [44, 8, 32]
Generated Node #0,0: 40:[44, 8, 32] Operation: 89-57=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[44, 8, 32], Operations: ['89-57=32']
Exploring Operation: 44-32=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 40:[8, 12] Operation: 44-32=12
Moving to Node #0,0,0
Current State: 40:[8, 12], Operations: ['89-57=32', '44-32=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
75,
26,
27
] | 11 | [
"75-26=49",
"49-27=22",
"22/2=11"
] | Current State: 11:[2, 75, 26, 27], Operations: []
Exploring Operation: 75-26=49, Resulting Numbers: [2, 27, 49]
Generated Node #2: [2, 27, 49] from Operation: 75-26=49
Current State: 11:[2, 27, 49], Operations: ['75-26=49']
Exploring Operation: 49-27=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 49-27=22
Current State: 11:[2, 22], Operations: ['75-26=49', '49-27=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[2, 75, 26, 27], Operations: []
Exploring Operation: 26/2=13, Resulting Numbers: [75, 27, 13]
Generated Node #0,0: 11:[75, 27, 13] Operation: 26/2=13
Exploring Operation: 75-27=48, Resulting Numbers: [2, 26, 48]
Generated Node #0,1: 11:[2, 26, 48] Operation: 75-27=48
Exploring Operation: 75-26=49, Resulting Numbers: [2, 27, 49]
Generated Node #0,2: 11:[2, 27, 49] Operation: 75-26=49
Exploring Operation: 27-26=1, Resulting Numbers: [2, 75, 1]
Generated Node #0,3: 11:[2, 75, 1] Operation: 27-26=1
Exploring Operation: 75-2=73, Resulting Numbers: [26, 27, 73]
Generated Node #0,4: 11:[26, 27, 73] Operation: 75-2=73
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[2, 26, 48], Operations: ['75-27=48']
Exploring Operation: 48-26=22, Resulting Numbers: [2, 22]
Generated Node #0,1,0: 11:[2, 22] Operation: 48-26=22
Exploring Operation: 26/2=13, Resulting Numbers: [48, 13]
Generated Node #0,1,1: 11:[48, 13] Operation: 26/2=13
Exploring Operation: 26-2=24, Resulting Numbers: [48, 24]
Generated Node #0,1,2: 11:[48, 24] Operation: 26-2=24
Exploring Operation: 48-2=46, Resulting Numbers: [26, 46]
Generated Node #0,1,3: 11:[26, 46] Operation: 48-2=46
Exploring Operation: 48/2=24, Resulting Numbers: [26, 24]
Generated Node #0,1,4: 11:[26, 24] Operation: 48/2=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[2, 22], Operations: ['75-27=48', '48-26=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[2, 75, 26, 27], Operations: []
Exploring Operation: 75-27=48, Resulting Numbers: [2, 26, 48]
Generated Node #0,1: 11:[2, 26, 48] Operation: 75-27=48
Moving to Node #0,1
Current State: 11:[2, 26, 48], Operations: ['75-27=48']
Exploring Operation: 48-26=22, Resulting Numbers: [2, 22]
Generated Node #0,1,0: 11:[2, 22] Operation: 48-26=22
Moving to Node #0,1,0
Current State: 11:[2, 22], Operations: ['75-27=48', '48-26=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
67,
96,
87,
10
] | 98 | [
"87-67=20",
"20/10=2",
"96+2=98"
] | Current State: 98:[67, 96, 87, 10], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [96, 10, 20]
Generated Node #2: [96, 10, 20] from Operation: 87-67=20
Current State: 98:[96, 10, 20], Operations: ['87-67=20']
Exploring Operation: 20/10=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 20/10=2
Current State: 98:[96, 2], Operations: ['87-67=20', '20/10=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[67, 96, 87, 10], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [96, 10, 20]
Generated Node #0,0: 98:[96, 10, 20] Operation: 87-67=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[96, 10, 20], Operations: ['87-67=20']
Exploring Operation: 20/10=2, Resulting Numbers: [96, 2]
Generated Node #0,0,0: 98:[96, 2] Operation: 20/10=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[96, 2], Operations: ['87-67=20', '20/10=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[67, 96, 87, 10], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [96, 10, 20]
Generated Node #0,0: 98:[96, 10, 20] Operation: 87-67=20
Moving to Node #0,0
Current State: 98:[96, 10, 20], Operations: ['87-67=20']
Exploring Operation: 20/10=2, Resulting Numbers: [96, 2]
Generated Node #0,0,0: 98:[96, 2] Operation: 20/10=2
Moving to Node #0,0,0
Current State: 98:[96, 2], Operations: ['87-67=20', '20/10=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
94,
92,
7,
54
] | 45 | [
"94-92=2",
"54-7=47",
"47-2=45"
] | Current State: 45:[94, 92, 7, 54], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [7, 54, 2]
Generated Node #2: [7, 54, 2] from Operation: 94-92=2
Current State: 45:[7, 54, 2], Operations: ['94-92=2']
Exploring Operation: 54-7=47, Resulting Numbers: [2, 47]
Generated Node #3: [2, 47] from Operation: 54-7=47
Current State: 45:[2, 47], Operations: ['94-92=2', '54-7=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[94, 92, 7, 54], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [7, 54, 2]
Generated Node #0,0: 45:[7, 54, 2] Operation: 94-92=2
Moving to Node #0,0
Current State: 45:[7, 54, 2], Operations: ['94-92=2']
Exploring Operation: 54-7=47, Resulting Numbers: [2, 47]
Generated Node #0,0,0: 45:[2, 47] Operation: 54-7=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[2, 47], Operations: ['94-92=2', '54-7=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[94, 92, 7, 54], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [7, 54, 2]
Generated Node #0,0: 45:[7, 54, 2] Operation: 94-92=2
Moving to Node #0,0
Current State: 45:[7, 54, 2], Operations: ['94-92=2']
Exploring Operation: 54-7=47, Resulting Numbers: [2, 47]
Generated Node #0,0,0: 45:[2, 47] Operation: 54-7=47
Moving to Node #0,0,0
Current State: 45:[2, 47], Operations: ['94-92=2', '54-7=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
4,
52,
80,
88
] | 81 | [
"80-52=28",
"28/4=7",
"88-7=81"
] | Current State: 81:[4, 52, 80, 88], Operations: []
Exploring Operation: 80-52=28, Resulting Numbers: [4, 88, 28]
Generated Node #2: [4, 88, 28] from Operation: 80-52=28
Current State: 81:[4, 88, 28], Operations: ['80-52=28']
Exploring Operation: 28/4=7, Resulting Numbers: [88, 7]
Generated Node #3: [88, 7] from Operation: 28/4=7
Current State: 81:[88, 7], Operations: ['80-52=28', '28/4=7']
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[4, 52, 80, 88], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [4, 52, 8]
Generated Node #0,0: 81:[4, 52, 8] Operation: 88-80=8
Exploring Operation: 52/4=13, Resulting Numbers: [80, 88, 13]
Generated Node #0,1: 81:[80, 88, 13] Operation: 52/4=13
Exploring Operation: 80-52=28, Resulting Numbers: [4, 88, 28]
Generated Node #0,2: 81:[4, 88, 28] Operation: 80-52=28
Exploring Operation: 88-52=36, Resulting Numbers: [4, 80, 36]
Generated Node #0,3: 81:[4, 80, 36] Operation: 88-52=36
Exploring Operation: 52-4=48, Resulting Numbers: [80, 88, 48]
Generated Node #0,4: 81:[80, 88, 48] Operation: 52-4=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[4, 88, 28], Operations: ['80-52=28']
Exploring Operation: 88/4=22, Resulting Numbers: [28, 22]
Generated Node #0,2,0: 81:[28, 22] Operation: 88/4=22
Exploring Operation: 4+88=92, Resulting Numbers: [28, 92]
Generated Node #0,2,1: 81:[28, 92] Operation: 4+88=92
Exploring Operation: 28-4=24, Resulting Numbers: [88, 24]
Generated Node #0,2,2: 81:[88, 24] Operation: 28-4=24
Exploring Operation: 88-4=84, Resulting Numbers: [28, 84]
Generated Node #0,2,3: 81:[28, 84] Operation: 88-4=84
Exploring Operation: 28/4=7, Resulting Numbers: [88, 7]
Generated Node #0,2,4: 81:[88, 7] Operation: 28/4=7
Moving to Node #0,2,3
Current State: 81:[28, 84], Operations: ['80-52=28', '88-4=84']
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 28+84=112, Resulting Numbers: [112]
112,81 unequal: No Solution
Exploring Operation: 28*84=2352, Resulting Numbers: [2352]
2352,81 unequal: No Solution
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[28, 22], Operations: ['80-52=28', '88/4=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,81 unequal: No Solution
Moving to Node #0,2,4
Current State: 81:[88, 7], Operations: ['80-52=28', '28/4=7']
Exploring Operation: 88+7=95, Resulting Numbers: [95]
95,81 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[4, 52, 80, 88], Operations: []
Exploring Operation: 80-52=28, Resulting Numbers: [4, 88, 28]
Generated Node #0,2: 81:[4, 88, 28] Operation: 80-52=28
Moving to Node #0,2
Current State: 81:[4, 88, 28], Operations: ['80-52=28']
Exploring Operation: 28/4=7, Resulting Numbers: [88, 7]
Generated Node #0,2,4: 81:[88, 7] Operation: 28/4=7
Moving to Node #0,2,4
Current State: 81:[88, 7], Operations: ['80-52=28', '28/4=7']
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
52,
29,
27,
8
] | 68 | [
"29-27=2",
"8*2=16",
"52+16=68"
] | Current State: 68:[52, 29, 27, 8], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [52, 8, 2]
Generated Node #2: [52, 8, 2] from Operation: 29-27=2
Current State: 68:[52, 8, 2], Operations: ['29-27=2']
Exploring Operation: 8*2=16, Resulting Numbers: [52, 16]
Generated Node #3: [52, 16] from Operation: 8*2=16
Current State: 68:[52, 16], Operations: ['29-27=2', '8*2=16']
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[52, 29, 27, 8], Operations: []
Exploring Operation: 52-29=23, Resulting Numbers: [27, 8, 23]
Generated Node #0,0: 68:[27, 8, 23] Operation: 52-29=23
Exploring Operation: 52+27=79, Resulting Numbers: [29, 8, 79]
Generated Node #0,1: 68:[29, 8, 79] Operation: 52+27=79
Exploring Operation: 52-27=25, Resulting Numbers: [29, 8, 25]
Generated Node #0,2: 68:[29, 8, 25] Operation: 52-27=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[27, 8, 23], Operations: ['52-29=23']
Exploring Operation: 27+8=35, Resulting Numbers: [23, 35]
Generated Node #0,0,0: 68:[23, 35] Operation: 27+8=35
Exploring Operation: 27-8=19, Resulting Numbers: [23, 19]
Generated Node #0,0,1: 68:[23, 19] Operation: 27-8=19
Exploring Operation: 27-23=4, Resulting Numbers: [8, 4]
Generated Node #0,0,2: 68:[8, 4] Operation: 27-23=4
Moving to Node #0,0,2
Current State: 68:[8, 4], Operations: ['52-29=23', '27-23=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[23, 35], Operations: ['52-29=23', '27+8=35']
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,68 unequal: No Solution
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,68 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[23, 19], Operations: ['52-29=23', '27-8=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[29, 8, 25], Operations: ['52-27=25']
Exploring Operation: 25-8=17, Resulting Numbers: [29, 17]
Generated Node #0,2,0: 68:[29, 17] Operation: 25-8=17
Exploring Operation: 8+25=33, Resulting Numbers: [29, 33]
Generated Node #0,2,1: 68:[29, 33] Operation: 8+25=33
Exploring Operation: 29-25=4, Resulting Numbers: [8, 4]
Generated Node #0,2,2: 68:[8, 4] Operation: 29-25=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 68:[8, 4], Operations: ['52-27=25', '29-25=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 68:[29, 17], Operations: ['52-27=25', '25-8=17']
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,68 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[29, 33], Operations: ['52-27=25', '8+25=33']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,68 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[29, 8, 79], Operations: ['52+27=79']
Exploring Operation: 29-8=21, Resulting Numbers: [79, 21]
Generated Node #0,1,0: 68:[79, 21] Operation: 29-8=21
Exploring Operation: 79-8=71, Resulting Numbers: [29, 71]
Generated Node #0,1,1: 68:[29, 71] Operation: 79-8=71
Exploring Operation: 29+8=37, Resulting Numbers: [79, 37]
Generated Node #0,1,2: 68:[79, 37] Operation: 29+8=37
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[29, 71], Operations: ['52+27=79', '79-8=71']
Exploring Operation: 29+71=100, Resulting Numbers: [100]
100,68 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 29*71=2059, Resulting Numbers: [2059]
2059,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 68:[79, 37], Operations: ['52+27=79', '29+8=37']
Exploring Operation: 79+37=116, Resulting Numbers: [116]
116,68 unequal: No Solution
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 79*37=2923, Resulting Numbers: [2923]
2923,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[79, 21], Operations: ['52+27=79', '29-8=21']
Exploring Operation: 79*21=1659, Resulting Numbers: [1659]
1659,68 unequal: No Solution
Exploring Operation: 79+21=100, Resulting Numbers: [100]
100,68 unequal: No Solution
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
54,
8,
44,
36
] | 56 | [
"54*8=432",
"432/36=12",
"44+12=56"
] | Current State: 56:[54, 8, 44, 36], Operations: []
Exploring Operation: 54*8=432, Resulting Numbers: [44, 36, 432]
Generated Node #2: [44, 36, 432] from Operation: 54*8=432
Current State: 56:[44, 36, 432], Operations: ['54*8=432']
Exploring Operation: 432/36=12, Resulting Numbers: [44, 12]
Generated Node #3: [44, 12] from Operation: 432/36=12
Current State: 56:[44, 12], Operations: ['54*8=432', '432/36=12']
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[54, 8, 44, 36], Operations: []
Exploring Operation: 54-44=10, Resulting Numbers: [8, 36, 10]
Generated Node #0,0: 56:[8, 36, 10] Operation: 54-44=10
Exploring Operation: 44-36=8, Resulting Numbers: [54, 8, 8]
Generated Node #0,1: 56:[54, 8, 8] Operation: 44-36=8
Exploring Operation: 8+44=52, Resulting Numbers: [54, 36, 52]
Generated Node #0,2: 56:[54, 36, 52] Operation: 8+44=52
Moving to Node #0,1
Current State: 56:[54, 8, 8], Operations: ['44-36=8']
Exploring Operation: 8/8=1, Resulting Numbers: [54, 1]
Generated Node #0,1,0: 56:[54, 1] Operation: 8/8=1
Exploring Operation: 8+8=16, Resulting Numbers: [54, 16]
Generated Node #0,1,1: 56:[54, 16] Operation: 8+8=16
Exploring Operation: 8-8=0, Resulting Numbers: [54, 0]
Generated Node #0,1,2: 56:[54, 0] Operation: 8-8=0
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[54, 1], Operations: ['44-36=8', '8/8=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[54, 16], Operations: ['44-36=8', '8+8=16']
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,56 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,56 unequal: No Solution
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[54, 0], Operations: ['44-36=8', '8-8=0']
Exploring Operation: 54+0=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 54-0=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 54*0=0, Resulting Numbers: [0]
0,56 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: 56:[8, 36, 10], Operations: ['54-44=10']
Exploring Operation: 36-8=28, Resulting Numbers: [10, 28]
Generated Node #0,0,0: 56:[10, 28] Operation: 36-8=28
Exploring Operation: 36-10=26, Resulting Numbers: [8, 26]
Generated Node #0,0,1: 56:[8, 26] Operation: 36-10=26
Exploring Operation: 10-8=2, Resulting Numbers: [36, 2]
Generated Node #0,0,2: 56:[36, 2] Operation: 10-8=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[10, 28], Operations: ['54-44=10', '36-8=28']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,56 unequal: No Solution
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[8, 26], Operations: ['54-44=10', '36-10=26']
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,56 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 56:[36, 2], Operations: ['54-44=10', '10-8=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,56 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: 56:[54, 36, 52], Operations: ['8+44=52']
Exploring Operation: 54-36=18, Resulting Numbers: [52, 18]
Generated Node #0,2,0: 56:[52, 18] Operation: 54-36=18
Exploring Operation: 52-36=16, Resulting Numbers: [54, 16]
Generated Node #0,2,1: 56:[54, 16] Operation: 52-36=16
Exploring Operation: 54-52=2, Resulting Numbers: [36, 2]
Generated Node #0,2,2: 56:[36, 2] Operation: 54-52=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[54, 16], Operations: ['8+44=52', '52-36=16']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,56 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,56 unequal: No Solution
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[52, 18], Operations: ['8+44=52', '54-36=18']
Exploring Operation: 52*18=936, Resulting Numbers: [936]
936,56 unequal: No Solution
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 52+18=70, Resulting Numbers: [70]
70,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[36, 2], Operations: ['8+44=52', '54-52=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,56 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,56 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 |
[
46,
11,
5,
57
] | 97 | [
"46-11=35",
"5+57=62",
"35+62=97"
] | Current State: 97:[46, 11, 5, 57], Operations: []
Exploring Operation: 46-11=35, Resulting Numbers: [5, 57, 35]
Generated Node #2: [5, 57, 35] from Operation: 46-11=35
Current State: 97:[5, 57, 35], Operations: ['46-11=35']
Exploring Operation: 5+57=62, Resulting Numbers: [35, 62]
Generated Node #3: [35, 62] from Operation: 5+57=62
Current State: 97:[35, 62], Operations: ['46-11=35', '5+57=62']
Exploring Operation: 35+62=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[46, 11, 5, 57], Operations: []
Exploring Operation: 11*5=55, Resulting Numbers: [46, 57, 55]
Generated Node #0,0: 97:[46, 57, 55] Operation: 11*5=55
Exploring Operation: 46+11=57, Resulting Numbers: [5, 57, 57]
Generated Node #0,1: 97:[5, 57, 57] Operation: 46+11=57
Exploring Operation: 46+5=51, Resulting Numbers: [11, 57, 51]
Generated Node #0,2: 97:[11, 57, 51] Operation: 46+5=51
Moving to Node #0,0
Current State: 97:[46, 57, 55], Operations: ['11*5=55']
Exploring Operation: 46+55=101, Resulting Numbers: [57, 101]
Generated Node #0,0,0: 97:[57, 101] Operation: 46+55=101
Exploring Operation: 46+57=103, Resulting Numbers: [55, 103]
Generated Node #0,0,1: 97:[55, 103] Operation: 46+57=103
Exploring Operation: 57+55=112, Resulting Numbers: [46, 112]
Generated Node #0,0,2: 97:[46, 112] Operation: 57+55=112
Moving to Node #0,1
Current State: 97:[5, 57, 57], Operations: ['46+11=57']
Exploring Operation: 5+57=62, Resulting Numbers: [57, 62]
Generated Node #0,1,0: 97:[57, 62] Operation: 5+57=62
Exploring Operation: 5+57=62, Resulting Numbers: [57, 62]
Generated Node #0,1,1: 97:[57, 62] Operation: 5+57=62
Exploring Operation: 57-5=52, Resulting Numbers: [57, 52]
Generated Node #0,1,2: 97:[57, 52] Operation: 57-5=52
Moving to Node #0,2
Current State: 97:[11, 57, 51], Operations: ['46+5=51']
Exploring Operation: 11+57=68, Resulting Numbers: [51, 68]
Generated Node #0,2,0: 97:[51, 68] Operation: 11+57=68
Exploring Operation: 57-11=46, Resulting Numbers: [51, 46]
Generated Node #0,2,1: 97:[51, 46] Operation: 57-11=46
Exploring Operation: 11+51=62, Resulting Numbers: [57, 62]
Generated Node #0,2,2: 97:[57, 62] Operation: 11+51=62
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[51, 68], Operations: ['46+5=51', '11+57=68']
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,97 unequal: No Solution
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[57, 62], Operations: ['46+5=51', '11+51=62']
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 57+62=119, Resulting Numbers: [119]
119,97 unequal: No Solution
Exploring Operation: 57*62=3534, Resulting Numbers: [3534]
3534,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[51, 46], Operations: ['46+5=51', '57-11=46']
Exploring Operation: 51*46=2346, Resulting Numbers: [2346]
2346,97 unequal: No Solution
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[46, 11, 5, 57], Operations: []
Exploring Operation: 46+5=51, Resulting Numbers: [11, 57, 51]
Generated Node #0,2: 97:[11, 57, 51] Operation: 46+5=51
Moving to Node #0,2
Current State: 97:[11, 57, 51], Operations: ['46+5=51']
Exploring Operation: 57-11=46, Resulting Numbers: [51, 46]
Generated Node #0,2,1: 97:[51, 46] Operation: 57-11=46
Moving to Node #0,2,1
Current State: 97:[51, 46], Operations: ['46+5=51', '57-11=46']
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
43,
9,
78,
27
] | 32 | [
"78-43=35",
"27/9=3",
"35-3=32"
] | Current State: 32:[43, 9, 78, 27], Operations: []
Exploring Operation: 78-43=35, Resulting Numbers: [9, 27, 35]
Generated Node #2: [9, 27, 35] from Operation: 78-43=35
Current State: 32:[9, 27, 35], Operations: ['78-43=35']
Exploring Operation: 27/9=3, Resulting Numbers: [35, 3]
Generated Node #3: [35, 3] from Operation: 27/9=3
Current State: 32:[35, 3], Operations: ['78-43=35', '27/9=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[43, 9, 78, 27], Operations: []
Exploring Operation: 78-43=35, Resulting Numbers: [9, 27, 35]
Generated Node #0,0: 32:[9, 27, 35] Operation: 78-43=35
Exploring Operation: 78-27=51, Resulting Numbers: [43, 9, 51]
Generated Node #0,1: 32:[43, 9, 51] Operation: 78-27=51
Moving to Node #0,0
Current State: 32:[9, 27, 35], Operations: ['78-43=35']
Exploring Operation: 35-27=8, Resulting Numbers: [9, 8]
Generated Node #0,0,0: 32:[9, 8] Operation: 35-27=8
Exploring Operation: 27/9=3, Resulting Numbers: [35, 3]
Generated Node #0,0,1: 32:[35, 3] Operation: 27/9=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[9, 8], Operations: ['78-43=35', '35-27=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[35, 3], Operations: ['78-43=35', '27/9=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[43, 9, 78, 27], Operations: []
Exploring Operation: 78-43=35, Resulting Numbers: [9, 27, 35]
Generated Node #0,0: 32:[9, 27, 35] Operation: 78-43=35
Moving to Node #0,0
Current State: 32:[9, 27, 35], Operations: ['78-43=35']
Exploring Operation: 27/9=3, Resulting Numbers: [35, 3]
Generated Node #0,0,1: 32:[35, 3] Operation: 27/9=3
Moving to Node #0,0,1
Current State: 32:[35, 3], Operations: ['78-43=35', '27/9=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
2,
34,
51,
3
] | 41 | [
"34+51=85",
"85-3=82",
"82/2=41"
] | Current State: 41:[2, 34, 51, 3], Operations: []
Exploring Operation: 34+51=85, Resulting Numbers: [2, 3, 85]
Generated Node #2: [2, 3, 85] from Operation: 34+51=85
Current State: 41:[2, 3, 85], Operations: ['34+51=85']
Exploring Operation: 85-3=82, Resulting Numbers: [2, 82]
Generated Node #3: [2, 82] from Operation: 85-3=82
Current State: 41:[2, 82], Operations: ['34+51=85', '85-3=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[2, 34, 51, 3], Operations: []
Exploring Operation: 2+34=36, Resulting Numbers: [51, 3, 36]
Generated Node #0,0: 41:[51, 3, 36] Operation: 2+34=36
Exploring Operation: 2+3=5, Resulting Numbers: [34, 51, 5]
Generated Node #0,1: 41:[34, 51, 5] Operation: 2+3=5
Exploring Operation: 51-2=49, Resulting Numbers: [34, 3, 49]
Generated Node #0,2: 41:[34, 3, 49] Operation: 51-2=49
Exploring Operation: 34+3=37, Resulting Numbers: [2, 51, 37]
Generated Node #0,3: 41:[2, 51, 37] Operation: 34+3=37
Exploring Operation: 2*3=6, Resulting Numbers: [34, 51, 6]
Generated Node #0,4: 41:[34, 51, 6] Operation: 2*3=6
Moving to Node #0,4
Current State: 41:[34, 51, 6], Operations: ['2*3=6']
Exploring Operation: 51+6=57, Resulting Numbers: [34, 57]
Generated Node #0,4,0: 41:[34, 57] Operation: 51+6=57
Exploring Operation: 34-6=28, Resulting Numbers: [51, 28]
Generated Node #0,4,1: 41:[51, 28] Operation: 34-6=28
Exploring Operation: 34+6=40, Resulting Numbers: [51, 40]
Generated Node #0,4,2: 41:[51, 40] Operation: 34+6=40
Exploring Operation: 51-6=45, Resulting Numbers: [34, 45]
Generated Node #0,4,3: 41:[34, 45] Operation: 51-6=45
Exploring Operation: 51-34=17, Resulting Numbers: [6, 17]
Generated Node #0,4,4: 41:[6, 17] Operation: 51-34=17
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 41:[51, 40], Operations: ['2*3=6', '34+6=40']
Exploring Operation: 51+40=91, Resulting Numbers: [91]
91,41 unequal: No Solution
Exploring Operation: 51*40=2040, Resulting Numbers: [2040]
2040,41 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,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:[34, 45], Operations: ['2*3=6', '51-6=45']
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Exploring Operation: 34*45=1530, Resulting Numbers: [1530]
1530,41 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,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,0
Current State: 41:[34, 57], Operations: ['2*3=6', '51+6=57']
Exploring Operation: 34*57=1938, Resulting Numbers: [1938]
1938,41 unequal: No Solution
Exploring Operation: 34+57=91, Resulting Numbers: [91]
91,41 unequal: No Solution
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,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:[51, 28], Operations: ['2*3=6', '34-6=28']
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,41 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,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:[6, 17], Operations: ['2*3=6', '51-34=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,41 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: 41:[34, 51, 5], Operations: ['2+3=5']
Exploring Operation: 34+5=39, Resulting Numbers: [51, 39]
Generated Node #0,1,0: 41:[51, 39] Operation: 34+5=39
Exploring Operation: 51+5=56, Resulting Numbers: [34, 56]
Generated Node #0,1,1: 41:[34, 56] Operation: 51+5=56
Exploring Operation: 51-5=46, Resulting Numbers: [34, 46]
Generated Node #0,1,2: 41:[34, 46] Operation: 51-5=46
Exploring Operation: 51-34=17, Resulting Numbers: [5, 17]
Generated Node #0,1,3: 41:[5, 17] Operation: 51-34=17
Exploring Operation: 34-5=29, Resulting Numbers: [51, 29]
Generated Node #0,1,4: 41:[51, 29] Operation: 34-5=29
Moving to Node #0,3
Current State: 41:[2, 51, 37], Operations: ['34+3=37']
Exploring Operation: 51-2=49, Resulting Numbers: [37, 49]
Generated Node #0,3,0: 41:[37, 49] Operation: 51-2=49
Exploring Operation: 2*37=74, Resulting Numbers: [51, 74]
Generated Node #0,3,1: 41:[51, 74] Operation: 2*37=74
Exploring Operation: 2+37=39, Resulting Numbers: [51, 39]
Generated Node #0,3,2: 41:[51, 39] Operation: 2+37=39
Exploring Operation: 37-2=35, Resulting Numbers: [51, 35]
Generated Node #0,3,3: 41:[51, 35] Operation: 37-2=35
Exploring Operation: 2+51=53, Resulting Numbers: [37, 53]
Generated Node #0,3,4: 41:[37, 53] Operation: 2+51=53
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[37, 49], Operations: ['34+3=37', '51-2=49']
Exploring Operation: 37*49=1813, Resulting Numbers: [1813]
1813,41 unequal: No Solution
Exploring Operation: 37+49=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,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,3,2
Current State: 41:[51, 39], Operations: ['34+3=37', '2+37=39']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 51*39=1989, Resulting Numbers: [1989]
1989,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,3,3
Current State: 41:[51, 35], Operations: ['34+3=37', '37-2=35']
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,41 unequal: No Solution
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,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,3,4
Current State: 41:[37, 53], Operations: ['34+3=37', '2+51=53']
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 37*53=1961, Resulting Numbers: [1961]
1961,41 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[51, 74], Operations: ['34+3=37', '2*37=74']
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,41 unequal: No Solution
Exploring Operation: 51*74=3774, Resulting Numbers: [3774]
3774,41 unequal: No Solution
Exploring Operation: 51+74=125, Resulting Numbers: [125]
125,41 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: 41:[51, 3, 36], Operations: ['2+34=36']
Exploring Operation: 51+3=54, Resulting Numbers: [36, 54]
Generated Node #0,0,0: 41:[36, 54] Operation: 51+3=54
Exploring Operation: 51/3=17, Resulting Numbers: [36, 17]
Generated Node #0,0,1: 41:[36, 17] Operation: 51/3=17
Exploring Operation: 3+36=39, Resulting Numbers: [51, 39]
Generated Node #0,0,2: 41:[51, 39] Operation: 3+36=39
Exploring Operation: 51-3=48, Resulting Numbers: [36, 48]
Generated Node #0,0,3: 41:[36, 48] Operation: 51-3=48
Exploring Operation: 36-3=33, Resulting Numbers: [51, 33]
Generated Node #0,0,4: 41:[51, 33] Operation: 36-3=33
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[51, 39], Operations: ['2+34=36', '3+36=39']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 51*39=1989, Resulting Numbers: [1989]
1989,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:[36, 48], Operations: ['2+34=36', '51-3=48']
Exploring Operation: 36*48=1728, Resulting Numbers: [1728]
1728,41 unequal: No Solution
Exploring Operation: 36+48=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,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:[36, 54], Operations: ['2+34=36', '51+3=54']
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,41 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,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:[51, 33], Operations: ['2+34=36', '36-3=33']
Exploring Operation: 51*33=1683, Resulting Numbers: [1683]
1683,41 unequal: No Solution
Exploring Operation: 51+33=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,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,1
Current State: 41:[36, 17], Operations: ['2+34=36', '51/3=17']
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,41 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,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:[34, 3, 49], Operations: ['51-2=49']
Exploring Operation: 49-34=15, Resulting Numbers: [3, 15]
Generated Node #0,2,0: 41:[3, 15] Operation: 49-34=15
Exploring Operation: 34-3=31, Resulting Numbers: [49, 31]
Generated Node #0,2,1: 41:[49, 31] Operation: 34-3=31
Exploring Operation: 34+3=37, Resulting Numbers: [49, 37]
Generated Node #0,2,2: 41:[49, 37] Operation: 34+3=37
Exploring Operation: 49-3=46, Resulting Numbers: [34, 46]
Generated Node #0,2,3: 41:[34, 46] Operation: 49-3=46
Exploring Operation: 3+49=52, Resulting Numbers: [34, 52]
Generated Node #0,2,4: 41:[34, 52] Operation: 3+49=52
Moving to Node #0,1,0
Current State: 41:[51, 39], Operations: ['2+3=5', '34+5=39']
Exploring Operation: 51*39=1989, Resulting Numbers: [1989]
1989,41 unequal: No Solution
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[49, 37], Operations: ['51-2=49', '34+3=37']
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 49*37=1813, Resulting Numbers: [1813]
1813,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[34, 46], Operations: ['51-2=49', '49-3=46']
Exploring Operation: 34*46=1564, Resulting Numbers: [1564]
1564,41 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 34+46=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[34, 46], Operations: ['2+3=5', '51-5=46']
Exploring Operation: 34*46=1564, Resulting Numbers: [1564]
1564,41 unequal: No Solution
Exploring Operation: 34+46=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[34, 52], Operations: ['51-2=49', '3+49=52']
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,41 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[49, 31], Operations: ['51-2=49', '34-3=31']
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,41 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[34, 56], Operations: ['2+3=5', '51+5=56']
Exploring Operation: 34*56=1904, Resulting Numbers: [1904]
1904,41 unequal: No Solution
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Moving to Node #0,1,4
Current State: 41:[51, 29], Operations: ['2+3=5', '34-5=29']
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 51*29=1479, Resulting Numbers: [1479]
1479,41 unequal: No Solution
Exploring Operation: 51+29=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[5, 17], Operations: ['2+3=5', '51-34=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[3, 15], Operations: ['51-2=49', '49-34=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,41 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
77,
86,
7,
2
] | 14 | [
"86-77=9",
"7-2=5",
"9+5=14"
] | Current State: 14:[77, 86, 7, 2], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [7, 2, 9]
Generated Node #2: [7, 2, 9] from Operation: 86-77=9
Current State: 14:[7, 2, 9], Operations: ['86-77=9']
Exploring Operation: 7-2=5, Resulting Numbers: [9, 5]
Generated Node #3: [9, 5] from Operation: 7-2=5
Current State: 14:[9, 5], Operations: ['86-77=9', '7-2=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[77, 86, 7, 2], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [7, 2, 9]
Generated Node #0,0: 14:[7, 2, 9] Operation: 86-77=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[7, 2, 9], Operations: ['86-77=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 14:[2, 2] Operation: 9-7=2
Moving to Node #0,0,0
Current State: 14:[2, 2], Operations: ['86-77=9', '9-7=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,14 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 |
[
76,
49,
39,
73
] | 13 | [
"76+49=125",
"39+73=112",
"125-112=13"
] | Current State: 13:[76, 49, 39, 73], Operations: []
Exploring Operation: 76+49=125, Resulting Numbers: [39, 73, 125]
Generated Node #2: [39, 73, 125] from Operation: 76+49=125
Current State: 13:[39, 73, 125], Operations: ['76+49=125']
Exploring Operation: 39+73=112, Resulting Numbers: [125, 112]
Generated Node #3: [125, 112] from Operation: 39+73=112
Current State: 13:[125, 112], Operations: ['76+49=125', '39+73=112']
Exploring Operation: 125-112=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[76, 49, 39, 73], Operations: []
Exploring Operation: 73-49=24, Resulting Numbers: [76, 39, 24]
Generated Node #0,0: 13:[76, 39, 24] Operation: 73-49=24
Exploring Operation: 76-49=27, Resulting Numbers: [39, 73, 27]
Generated Node #0,1: 13:[39, 73, 27] Operation: 76-49=27
Exploring Operation: 76-73=3, Resulting Numbers: [49, 39, 3]
Generated Node #0,2: 13:[49, 39, 3] Operation: 76-73=3
Exploring Operation: 76-39=37, Resulting Numbers: [49, 73, 37]
Generated Node #0,3: 13:[49, 73, 37] Operation: 76-39=37
Moving to Node #0,2
Current State: 13:[49, 39, 3], Operations: ['76-73=3']
Exploring Operation: 49-39=10, Resulting Numbers: [3, 10]
Generated Node #0,2,0: 13:[3, 10] Operation: 49-39=10
Exploring Operation: 39/3=13, Resulting Numbers: [49, 13]
Generated Node #0,2,1: 13:[49, 13] Operation: 39/3=13
Exploring Operation: 39-3=36, Resulting Numbers: [49, 36]
Generated Node #0,2,2: 13:[49, 36] Operation: 39-3=36
Exploring Operation: 49-3=46, Resulting Numbers: [39, 46]
Generated Node #0,2,3: 13:[39, 46] Operation: 49-3=46
Moving to Node #0,1
Current State: 13:[39, 73, 27], Operations: ['76-49=27']
Exploring Operation: 39-27=12, Resulting Numbers: [73, 12]
Generated Node #0,1,0: 13:[73, 12] Operation: 39-27=12
Exploring Operation: 39+73=112, Resulting Numbers: [27, 112]
Generated Node #0,1,1: 13:[27, 112] Operation: 39+73=112
Exploring Operation: 73-39=34, Resulting Numbers: [27, 34]
Generated Node #0,1,2: 13:[27, 34] Operation: 73-39=34
Exploring Operation: 73-27=46, Resulting Numbers: [39, 46]
Generated Node #0,1,3: 13:[39, 46] Operation: 73-27=46
Moving to Node #0,0
Current State: 13:[76, 39, 24], Operations: ['73-49=24']
Exploring Operation: 76-24=52, Resulting Numbers: [39, 52]
Generated Node #0,0,0: 13:[39, 52] Operation: 76-24=52
Exploring Operation: 39-24=15, Resulting Numbers: [76, 15]
Generated Node #0,0,1: 13:[76, 15] Operation: 39-24=15
Exploring Operation: 76-39=37, Resulting Numbers: [24, 37]
Generated Node #0,0,2: 13:[24, 37] Operation: 76-39=37
Exploring Operation: 76+39=115, Resulting Numbers: [24, 115]
Generated Node #0,0,3: 13:[24, 115] Operation: 76+39=115
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[24, 37], Operations: ['73-49=24', '76-39=37']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[76, 49, 39, 73], Operations: []
Exploring Operation: 73-49=24, Resulting Numbers: [76, 39, 24]
Generated Node #0,0: 13:[76, 39, 24] Operation: 73-49=24
Moving to Node #0,0
Current State: 13:[76, 39, 24], Operations: ['73-49=24']
Exploring Operation: 76-39=37, Resulting Numbers: [24, 37]
Generated Node #0,0,2: 13:[24, 37] Operation: 76-39=37
Moving to Node #0,0,2
Current State: 13:[24, 37], Operations: ['73-49=24', '76-39=37']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
80,
32,
49,
76
] | 21 | [
"80-32=48",
"76-49=27",
"48-27=21"
] | Current State: 21:[80, 32, 49, 76], Operations: []
Exploring Operation: 80-32=48, Resulting Numbers: [49, 76, 48]
Generated Node #2: [49, 76, 48] from Operation: 80-32=48
Current State: 21:[49, 76, 48], Operations: ['80-32=48']
Exploring Operation: 76-49=27, Resulting Numbers: [48, 27]
Generated Node #3: [48, 27] from Operation: 76-49=27
Current State: 21:[48, 27], Operations: ['80-32=48', '76-49=27']
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[80, 32, 49, 76], Operations: []
Exploring Operation: 76-49=27, Resulting Numbers: [80, 32, 27]
Generated Node #0,0: 21:[80, 32, 27] Operation: 76-49=27
Exploring Operation: 80-76=4, Resulting Numbers: [32, 49, 4]
Generated Node #0,1: 21:[32, 49, 4] Operation: 80-76=4
Exploring Operation: 80-49=31, Resulting Numbers: [32, 76, 31]
Generated Node #0,2: 21:[32, 76, 31] Operation: 80-49=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[32, 49, 4], Operations: ['80-76=4']
Exploring Operation: 32/4=8, Resulting Numbers: [49, 8]
Generated Node #0,1,0: 21:[49, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [49, 28]
Generated Node #0,1,1: 21:[49, 28] Operation: 32-4=28
Exploring Operation: 49-32=17, Resulting Numbers: [4, 17]
Generated Node #0,1,2: 21:[4, 17] Operation: 49-32=17
Moving to Node #0,1,2
Current State: 21:[4, 17], Operations: ['80-76=4', '49-32=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[80, 32, 49, 76], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [32, 49, 4]
Generated Node #0,1: 21:[32, 49, 4] Operation: 80-76=4
Moving to Node #0,1
Current State: 21:[32, 49, 4], Operations: ['80-76=4']
Exploring Operation: 49-32=17, Resulting Numbers: [4, 17]
Generated Node #0,1,2: 21:[4, 17] Operation: 49-32=17
Moving to Node #0,1,2
Current State: 21:[4, 17], Operations: ['80-76=4', '49-32=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
80,
10,
30,
42
] | 12 | [
"42-10=32",
"30*32=960",
"960/80=12"
] | Current State: 12:[80, 10, 30, 42], Operations: []
Exploring Operation: 42-10=32, Resulting Numbers: [80, 30, 32]
Generated Node #2: [80, 30, 32] from Operation: 42-10=32
Current State: 12:[80, 30, 32], Operations: ['42-10=32']
Exploring Operation: 30*32=960, Resulting Numbers: [80, 960]
Generated Node #3: [80, 960] from Operation: 30*32=960
Current State: 12:[80, 960], Operations: ['42-10=32', '30*32=960']
Exploring Operation: 960/80=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[80, 10, 30, 42], Operations: []
Exploring Operation: 80-42=38, Resulting Numbers: [10, 30, 38]
Generated Node #0,0: 12:[10, 30, 38] Operation: 80-42=38
Exploring Operation: 80/10=8, Resulting Numbers: [30, 42, 8]
Generated Node #0,1: 12:[30, 42, 8] Operation: 80/10=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[10, 30, 38], Operations: ['80-42=38']
Exploring Operation: 38-30=8, Resulting Numbers: [10, 8]
Generated Node #0,0,0: 12:[10, 8] Operation: 38-30=8
Exploring Operation: 30/10=3, Resulting Numbers: [38, 3]
Generated Node #0,0,1: 12:[38, 3] Operation: 30/10=3
Moving to Node #0,0,0
Current State: 12:[10, 8], Operations: ['80-42=38', '38-30=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[38, 3], Operations: ['80-42=38', '30/10=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,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
Current State: 12:[30, 42, 8], Operations: ['80/10=8']
Exploring Operation: 30-8=22, Resulting Numbers: [42, 22]
Generated Node #0,1,0: 12:[42, 22] Operation: 30-8=22
Exploring Operation: 42-30=12, Resulting Numbers: [8, 12]
Generated Node #0,1,1: 12:[8, 12] Operation: 42-30=12
Moving to Node #0,1,1
Current State: 12:[8, 12], Operations: ['80/10=8', '42-30=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[42, 22], Operations: ['80/10=8', '30-8=22']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
34,
4,
4,
64
] | 26 | [
"4+4=8",
"64/8=8",
"34-8=26"
] | Current State: 26:[34, 4, 4, 64], Operations: []
Exploring Operation: 4+4=8, Resulting Numbers: [34, 64, 8]
Generated Node #2: [34, 64, 8] from Operation: 4+4=8
Current State: 26:[34, 64, 8], Operations: ['4+4=8']
Exploring Operation: 64/8=8, Resulting Numbers: [34, 8]
Generated Node #3: [34, 8] from Operation: 64/8=8
Current State: 26:[34, 8], Operations: ['4+4=8', '64/8=8']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[34, 4, 4, 64], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [34, 4, 16]
Generated Node #0,0: 26:[34, 4, 16] Operation: 64/4=16
Exploring Operation: 64-34=30, Resulting Numbers: [4, 4, 30]
Generated Node #0,1: 26:[4, 4, 30] Operation: 64-34=30
Exploring Operation: 34-4=30, Resulting Numbers: [4, 64, 30]
Generated Node #0,2: 26:[4, 64, 30] Operation: 34-4=30
Exploring Operation: 64/4=16, Resulting Numbers: [34, 4, 16]
Generated Node #0,3: 26:[34, 4, 16] Operation: 64/4=16
Exploring Operation: 34-4=30, Resulting Numbers: [4, 64, 30]
Generated Node #0,4: 26:[4, 64, 30] Operation: 34-4=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[4, 4, 30], Operations: ['64-34=30']
Exploring Operation: 4-4=0, Resulting Numbers: [30, 0]
Generated Node #0,1,0: 26:[30, 0] Operation: 4-4=0
Exploring Operation: 4/4=1, Resulting Numbers: [30, 1]
Generated Node #0,1,1: 26:[30, 1] Operation: 4/4=1
Exploring Operation: 30-4=26, Resulting Numbers: [4, 26]
Generated Node #0,1,2: 26:[4, 26] Operation: 30-4=26
Exploring Operation: 4*4=16, Resulting Numbers: [30, 16]
Generated Node #0,1,3: 26:[30, 16] Operation: 4*4=16
Exploring Operation: 30-4=26, Resulting Numbers: [4, 26]
Generated Node #0,1,4: 26:[4, 26] Operation: 30-4=26
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 26:[4, 26], Operations: ['64-34=30', '30-4=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 26:[4, 26], Operations: ['64-34=30', '30-4=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[30, 1], Operations: ['64-34=30', '4/4=1']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[30, 0], Operations: ['64-34=30', '4-4=0']
Exploring Operation: 30+0=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 30*0=0, Resulting Numbers: [0]
0,26 unequal: No Solution
Exploring Operation: 30-0=30, Resulting Numbers: [30]
30,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 26:[30, 16], Operations: ['64-34=30', '4*4=16']
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[34, 4, 16], Operations: ['64/4=16']
Exploring Operation: 34-4=30, Resulting Numbers: [16, 30]
Generated Node #0,0,0: 26:[16, 30] Operation: 34-4=30
Exploring Operation: 34-16=18, Resulting Numbers: [4, 18]
Generated Node #0,0,1: 26:[4, 18] Operation: 34-16=18
Exploring Operation: 4+16=20, Resulting Numbers: [34, 20]
Generated Node #0,0,2: 26:[34, 20] Operation: 4+16=20
Exploring Operation: 16/4=4, Resulting Numbers: [34, 4]
Generated Node #0,0,3: 26:[34, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [34, 12]
Generated Node #0,0,4: 26:[34, 12] Operation: 16-4=12
Moving to Node #0,0,0
Current State: 26:[16, 30], Operations: ['64/4=16', '34-4=30']
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,26 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[4, 18], Operations: ['64/4=16', '34-16=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,26 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Moving to Node #0,0,4
Current State: 26:[34, 12], Operations: ['64/4=16', '16-4=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[34, 4], Operations: ['64/4=16', '16/4=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[34, 20], Operations: ['64/4=16', '4+16=20']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,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,3
Current State: 26:[34, 4, 16], Operations: ['64/4=16']
Exploring Operation: 16-4=12, Resulting Numbers: [34, 12]
Generated Node #0,3,0: 26:[34, 12] Operation: 16-4=12
Exploring Operation: 4+16=20, Resulting Numbers: [34, 20]
Generated Node #0,3,1: 26:[34, 20] Operation: 4+16=20
Exploring Operation: 34-16=18, Resulting Numbers: [4, 18]
Generated Node #0,3,2: 26:[4, 18] Operation: 34-16=18
Exploring Operation: 16/4=4, Resulting Numbers: [34, 4]
Generated Node #0,3,3: 26:[34, 4] Operation: 16/4=4
Exploring Operation: 34-4=30, Resulting Numbers: [16, 30]
Generated Node #0,3,4: 26:[16, 30] Operation: 34-4=30
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 26:[4, 18], Operations: ['64/4=16', '34-16=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 26:[16, 30], Operations: ['64/4=16', '34-4=30']
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,26 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[34, 12], Operations: ['64/4=16', '16-4=12']
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,26 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 26:[34, 4], Operations: ['64/4=16', '16/4=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,26 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 26:[34, 20], Operations: ['64/4=16', '4+16=20']
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[4, 64, 30], Operations: ['34-4=30']
Exploring Operation: 30-4=26, Resulting Numbers: [64, 26]
Generated Node #0,2,0: 26:[64, 26] Operation: 30-4=26
Exploring Operation: 4+64=68, Resulting Numbers: [30, 68]
Generated Node #0,2,1: 26:[30, 68] Operation: 4+64=68
Exploring Operation: 64-30=34, Resulting Numbers: [4, 34]
Generated Node #0,2,2: 26:[4, 34] Operation: 64-30=34
Exploring Operation: 64-4=60, Resulting Numbers: [30, 60]
Generated Node #0,2,3: 26:[30, 60] Operation: 64-4=60
Exploring Operation: 64/4=16, Resulting Numbers: [30, 16]
Generated Node #0,2,4: 26:[30, 16] Operation: 64/4=16
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 26:[30, 16], Operations: ['34-4=30', '64/4=16']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,26 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[4, 34], Operations: ['34-4=30', '64-30=34']
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 26:[64, 26], Operations: ['34-4=30', '30-4=26']
Exploring Operation: 64+26=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 64*26=1664, Resulting Numbers: [1664]
1664,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 26:[30, 60], Operations: ['34-4=30', '64-4=60']
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 30*60=1800, Resulting Numbers: [1800]
1800,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 26:[30, 68], Operations: ['34-4=30', '4+64=68']
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,26 unequal: No Solution
Exploring Operation: 30*68=2040, Resulting Numbers: [2040]
2040,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 26:[4, 64, 30], Operations: ['34-4=30']
Exploring Operation: 4+64=68, Resulting Numbers: [30, 68]
Generated Node #0,4,0: 26:[30, 68] Operation: 4+64=68
Exploring Operation: 64-4=60, Resulting Numbers: [30, 60]
Generated Node #0,4,1: 26:[30, 60] Operation: 64-4=60
Exploring Operation: 64/4=16, Resulting Numbers: [30, 16]
Generated Node #0,4,2: 26:[30, 16] Operation: 64/4=16
Exploring Operation: 64-30=34, Resulting Numbers: [4, 34]
Generated Node #0,4,3: 26:[4, 34] Operation: 64-30=34
Exploring Operation: 30-4=26, Resulting Numbers: [64, 26]
Generated Node #0,4,4: 26:[64, 26] Operation: 30-4=26
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 26:[30, 16], Operations: ['34-4=30', '64/4=16']
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 26:[4, 34], Operations: ['34-4=30', '64-30=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 26:[30, 60], Operations: ['34-4=30', '64-4=60']
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 30*60=1800, Resulting Numbers: [1800]
1800,26 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 26:[64, 26], Operations: ['34-4=30', '30-4=26']
Exploring Operation: 64*26=1664, Resulting Numbers: [1664]
1664,26 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 64+26=90, Resulting Numbers: [90]
90,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 26:[30, 68], Operations: ['34-4=30', '4+64=68']
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 30*68=2040, Resulting Numbers: [2040]
2040,26 unequal: No Solution
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
34,
70,
32,
93
] | 89 | [
"70-34=36",
"32+93=125",
"125-36=89"
] | Current State: 89:[34, 70, 32, 93], Operations: []
Exploring Operation: 70-34=36, Resulting Numbers: [32, 93, 36]
Generated Node #2: [32, 93, 36] from Operation: 70-34=36
Current State: 89:[32, 93, 36], Operations: ['70-34=36']
Exploring Operation: 32+93=125, Resulting Numbers: [36, 125]
Generated Node #3: [36, 125] from Operation: 32+93=125
Current State: 89:[36, 125], Operations: ['70-34=36', '32+93=125']
Exploring Operation: 125-36=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[34, 70, 32, 93], Operations: []
Exploring Operation: 70+32=102, Resulting Numbers: [34, 93, 102]
Generated Node #0,0: 89:[34, 93, 102] Operation: 70+32=102
Exploring Operation: 34+32=66, Resulting Numbers: [70, 93, 66]
Generated Node #0,1: 89:[70, 93, 66] Operation: 34+32=66
Moving to Node #0,1
Current State: 89:[70, 93, 66], Operations: ['34+32=66']
Exploring Operation: 70+66=136, Resulting Numbers: [93, 136]
Generated Node #0,1,0: 89:[93, 136] Operation: 70+66=136
Exploring Operation: 93-66=27, Resulting Numbers: [70, 27]
Generated Node #0,1,1: 89:[70, 27] Operation: 93-66=27
Moving to Node #0,0
Current State: 89:[34, 93, 102], Operations: ['70+32=102']
Exploring Operation: 93-34=59, Resulting Numbers: [102, 59]
Generated Node #0,0,0: 89:[102, 59] Operation: 93-34=59
Exploring Operation: 102-34=68, Resulting Numbers: [93, 68]
Generated Node #0,0,1: 89:[93, 68] Operation: 102-34=68
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[93, 68], Operations: ['70+32=102', '102-34=68']
Exploring Operation: 93+68=161, Resulting Numbers: [161]
161,89 unequal: No Solution
Exploring Operation: 93-68=25, Resulting Numbers: [25]
25,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[102, 59], Operations: ['70+32=102', '93-34=59']
Exploring Operation: 102-59=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Exploring Operation: 102+59=161, Resulting Numbers: [161]
161,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 89:[93, 136], Operations: ['34+32=66', '70+66=136']
Exploring Operation: 93+136=229, Resulting Numbers: [229]
229,89 unequal: No Solution
Exploring Operation: 136-93=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[70, 27], Operations: ['34+32=66', '93-66=27']
Exploring Operation: 70+27=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,89 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
46,
55,
12,
75
] | 54 | [
"55-46=9",
"75-12=63",
"63-9=54"
] | Current State: 54:[46, 55, 12, 75], Operations: []
Exploring Operation: 55-46=9, Resulting Numbers: [12, 75, 9]
Generated Node #2: [12, 75, 9] from Operation: 55-46=9
Current State: 54:[12, 75, 9], Operations: ['55-46=9']
Exploring Operation: 75-12=63, Resulting Numbers: [9, 63]
Generated Node #3: [9, 63] from Operation: 75-12=63
Current State: 54:[9, 63], Operations: ['55-46=9', '75-12=63']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[46, 55, 12, 75], Operations: []
Exploring Operation: 75-12=63, Resulting Numbers: [46, 55, 63]
Generated Node #0,0: 54:[46, 55, 63] Operation: 75-12=63
Exploring Operation: 75-46=29, Resulting Numbers: [55, 12, 29]
Generated Node #0,1: 54:[55, 12, 29] Operation: 75-46=29
Exploring Operation: 55-46=9, Resulting Numbers: [12, 75, 9]
Generated Node #0,2: 54:[12, 75, 9] Operation: 55-46=9
Exploring Operation: 46+12=58, Resulting Numbers: [55, 75, 58]
Generated Node #0,3: 54:[55, 75, 58] Operation: 46+12=58
Exploring Operation: 75-55=20, Resulting Numbers: [46, 12, 20]
Generated Node #0,4: 54:[46, 12, 20] Operation: 75-55=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[55, 12, 29], Operations: ['75-46=29']
Exploring Operation: 12+29=41, Resulting Numbers: [55, 41]
Generated Node #0,1,0: 54:[55, 41] Operation: 12+29=41
Exploring Operation: 55-29=26, Resulting Numbers: [12, 26]
Generated Node #0,1,1: 54:[12, 26] Operation: 55-29=26
Exploring Operation: 55+12=67, Resulting Numbers: [29, 67]
Generated Node #0,1,2: 54:[29, 67] Operation: 55+12=67
Exploring Operation: 29-12=17, Resulting Numbers: [55, 17]
Generated Node #0,1,3: 54:[55, 17] Operation: 29-12=17
Exploring Operation: 55-12=43, Resulting Numbers: [29, 43]
Generated Node #0,1,4: 54:[29, 43] Operation: 55-12=43
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 54:[55, 17], Operations: ['75-46=29', '29-12=17']
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 55*17=935, Resulting Numbers: [935]
935,54 unequal: No Solution
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,54 unequal: No Solution
No 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: 54:[12, 26], Operations: ['75-46=29', '55-29=26']
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,54 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,54 unequal: No Solution
No 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: 54:[29, 43], Operations: ['75-46=29', '55-12=43']
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 29*43=1247, Resulting Numbers: [1247]
1247,54 unequal: No Solution
No 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: 54:[55, 41], Operations: ['75-46=29', '12+29=41']
Exploring Operation: 55+41=96, Resulting Numbers: [96]
96,54 unequal: No Solution
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 55*41=2255, Resulting Numbers: [2255]
2255,54 unequal: No Solution
No 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: 54:[29, 67], Operations: ['75-46=29', '55+12=67']
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 29*67=1943, Resulting Numbers: [1943]
1943,54 unequal: No Solution
Exploring Operation: 29+67=96, Resulting Numbers: [96]
96,54 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: 54:[46, 12, 20], Operations: ['75-55=20']
Exploring Operation: 46+12=58, Resulting Numbers: [20, 58]
Generated Node #0,4,0: 54:[20, 58] Operation: 46+12=58
Exploring Operation: 12+20=32, Resulting Numbers: [46, 32]
Generated Node #0,4,1: 54:[46, 32] Operation: 12+20=32
Exploring Operation: 46-20=26, Resulting Numbers: [12, 26]
Generated Node #0,4,2: 54:[12, 26] Operation: 46-20=26
Exploring Operation: 46-12=34, Resulting Numbers: [20, 34]
Generated Node #0,4,3: 54:[20, 34] Operation: 46-12=34
Exploring Operation: 20-12=8, Resulting Numbers: [46, 8]
Generated Node #0,4,4: 54:[46, 8] Operation: 20-12=8
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 54:[12, 26], Operations: ['75-55=20', '46-20=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,54 unequal: No Solution
No 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: 54:[20, 58], Operations: ['75-55=20', '46+12=58']
Exploring Operation: 20+58=78, Resulting Numbers: [78]
78,54 unequal: No Solution
Exploring Operation: 20*58=1160, Resulting Numbers: [1160]
1160,54 unequal: No Solution
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,54 unequal: No Solution
No 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: 54:[20, 34], Operations: ['75-55=20', '46-12=34']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 20*34=680, Resulting Numbers: [680]
680,54 unequal: No Solution
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[46, 55, 12, 75], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [46, 12, 20]
Generated Node #0,4: 54:[46, 12, 20] Operation: 75-55=20
Moving to Node #0,4
Current State: 54:[46, 12, 20], Operations: ['75-55=20']
Exploring Operation: 46-12=34, Resulting Numbers: [20, 34]
Generated Node #0,4,3: 54:[20, 34] Operation: 46-12=34
Moving to Node #0,4,3
Current State: 54:[20, 34], Operations: ['75-55=20', '46-12=34']
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.962674 | hs_5 | mult_heuristic |
[
95,
44,
13,
48
] | 80 | [
"95*48=4560",
"44+13=57",
"4560/57=80"
] | Current State: 80:[95, 44, 13, 48], Operations: []
Exploring Operation: 95*48=4560, Resulting Numbers: [44, 13, 4560]
Generated Node #2: [44, 13, 4560] from Operation: 95*48=4560
Current State: 80:[44, 13, 4560], Operations: ['95*48=4560']
Exploring Operation: 44+13=57, Resulting Numbers: [4560, 57]
Generated Node #3: [4560, 57] from Operation: 44+13=57
Current State: 80:[4560, 57], Operations: ['95*48=4560', '44+13=57']
Exploring Operation: 4560/57=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[95, 44, 13, 48], Operations: []
Exploring Operation: 48-13=35, Resulting Numbers: [95, 44, 35]
Generated Node #0,0: 80:[95, 44, 35] Operation: 48-13=35
Exploring Operation: 95-48=47, Resulting Numbers: [44, 13, 47]
Generated Node #0,1: 80:[44, 13, 47] Operation: 95-48=47
Exploring Operation: 95-44=51, Resulting Numbers: [13, 48, 51]
Generated Node #0,2: 80:[13, 48, 51] Operation: 95-44=51
Exploring Operation: 95-13=82, Resulting Numbers: [44, 48, 82]
Generated Node #0,3: 80:[44, 48, 82] Operation: 95-13=82
Exploring Operation: 48-44=4, Resulting Numbers: [95, 13, 4]
Generated Node #0,4: 80:[95, 13, 4] Operation: 48-44=4
Moving to Node #0,1
Current State: 80:[44, 13, 47], Operations: ['95-48=47']
Exploring Operation: 47-44=3, Resulting Numbers: [13, 3]
Generated Node #0,1,0: 80:[13, 3] Operation: 47-44=3
Exploring Operation: 44+47=91, Resulting Numbers: [13, 91]
Generated Node #0,1,1: 80:[13, 91] Operation: 44+47=91
Exploring Operation: 44+13=57, Resulting Numbers: [47, 57]
Generated Node #0,1,2: 80:[47, 57] Operation: 44+13=57
Exploring Operation: 44-13=31, Resulting Numbers: [47, 31]
Generated Node #0,1,3: 80:[47, 31] Operation: 44-13=31
Exploring Operation: 47-13=34, Resulting Numbers: [44, 34]
Generated Node #0,1,4: 80:[44, 34] Operation: 47-13=34
Moving to Node #0,3
Current State: 80:[44, 48, 82], Operations: ['95-13=82']
Exploring Operation: 44+48=92, Resulting Numbers: [82, 92]
Generated Node #0,3,0: 80:[82, 92] Operation: 44+48=92
Exploring Operation: 48-44=4, Resulting Numbers: [82, 4]
Generated Node #0,3,1: 80:[82, 4] Operation: 48-44=4
Exploring Operation: 82-44=38, Resulting Numbers: [48, 38]
Generated Node #0,3,2: 80:[48, 38] Operation: 82-44=38
Exploring Operation: 44+82=126, Resulting Numbers: [48, 126]
Generated Node #0,3,3: 80:[48, 126] Operation: 44+82=126
Exploring Operation: 82-48=34, Resulting Numbers: [44, 34]
Generated Node #0,3,4: 80:[44, 34] Operation: 82-48=34
Moving to Node #0,4
Current State: 80:[95, 13, 4], Operations: ['48-44=4']
Exploring Operation: 13+4=17, Resulting Numbers: [95, 17]
Generated Node #0,4,0: 80:[95, 17] Operation: 13+4=17
Exploring Operation: 95+4=99, Resulting Numbers: [13, 99]
Generated Node #0,4,1: 80:[13, 99] Operation: 95+4=99
Exploring Operation: 13-4=9, Resulting Numbers: [95, 9]
Generated Node #0,4,2: 80:[95, 9] Operation: 13-4=9
Exploring Operation: 95-4=91, Resulting Numbers: [13, 91]
Generated Node #0,4,3: 80:[13, 91] Operation: 95-4=91
Exploring Operation: 95-13=82, Resulting Numbers: [4, 82]
Generated Node #0,4,4: 80:[4, 82] Operation: 95-13=82
Moving to Node #0,2
Current State: 80:[13, 48, 51], Operations: ['95-44=51']
Exploring Operation: 51-13=38, Resulting Numbers: [48, 38]
Generated Node #0,2,0: 80:[48, 38] Operation: 51-13=38
Exploring Operation: 48-13=35, Resulting Numbers: [51, 35]
Generated Node #0,2,1: 80:[51, 35] Operation: 48-13=35
Exploring Operation: 13+51=64, Resulting Numbers: [48, 64]
Generated Node #0,2,2: 80:[48, 64] Operation: 13+51=64
Exploring Operation: 51-48=3, Resulting Numbers: [13, 3]
Generated Node #0,2,3: 80:[13, 3] Operation: 51-48=3
Exploring Operation: 48+51=99, Resulting Numbers: [13, 99]
Generated Node #0,2,4: 80:[13, 99] Operation: 48+51=99
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 80:[13, 3], Operations: ['95-44=51', '51-48=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,80 unequal: No Solution
No 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: 80:[48, 38], Operations: ['95-44=51', '51-13=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,80 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,80 unequal: No Solution
No 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: 80:[51, 35], Operations: ['95-44=51', '48-13=35']
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,80 unequal: No Solution
No 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: 80:[13, 99], Operations: ['95-44=51', '48+51=99']
Exploring Operation: 13*99=1287, Resulting Numbers: [1287]
1287,80 unequal: No Solution
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 13+99=112, Resulting Numbers: [112]
112,80 unequal: No Solution
No 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: 80:[48, 64], Operations: ['95-44=51', '13+51=64']
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,80 unequal: No Solution
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,80 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: 80:[95, 44, 35], Operations: ['48-13=35']
Exploring Operation: 95+35=130, Resulting Numbers: [44, 130]
Generated Node #0,0,0: 80:[44, 130] Operation: 95+35=130
Exploring Operation: 44-35=9, Resulting Numbers: [95, 9]
Generated Node #0,0,1: 80:[95, 9] Operation: 44-35=9
Exploring Operation: 95-44=51, Resulting Numbers: [35, 51]
Generated Node #0,0,2: 80:[35, 51] Operation: 95-44=51
Exploring Operation: 44+35=79, Resulting Numbers: [95, 79]
Generated Node #0,0,3: 80:[95, 79] Operation: 44+35=79
Exploring Operation: 95-35=60, Resulting Numbers: [44, 60]
Generated Node #0,0,4: 80:[44, 60] Operation: 95-35=60
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[95, 9], Operations: ['48-13=35', '44-35=9']
Exploring Operation: 95*9=855, Resulting Numbers: [855]
855,80 unequal: No Solution
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 95+9=104, Resulting Numbers: [104]
104,80 unequal: No Solution
No 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: 80:[35, 51], Operations: ['48-13=35', '95-44=51']
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,80 unequal: No Solution
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,80 unequal: No Solution
No 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: 80:[95, 79], Operations: ['48-13=35', '44+35=79']
Exploring Operation: 95-79=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 95+79=174, Resulting Numbers: [174]
174,80 unequal: No Solution
Exploring Operation: 95*79=7505, Resulting Numbers: [7505]
7505,80 unequal: No Solution
No 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: 80:[44, 60], Operations: ['48-13=35', '95-35=60']
Exploring Operation: 44+60=104, Resulting Numbers: [104]
104,80 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 44*60=2640, Resulting Numbers: [2640]
2640,80 unequal: No Solution
No 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: 80:[44, 130], Operations: ['48-13=35', '95+35=130']
Exploring Operation: 44*130=5720, Resulting Numbers: [5720]
5720,80 unequal: No Solution
Exploring Operation: 44+130=174, Resulting Numbers: [174]
174,80 unequal: No Solution
Exploring Operation: 130-44=86, Resulting Numbers: [86]
86,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 80:[82, 4], Operations: ['95-13=82', '48-44=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,80 unequal: No Solution
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,80 unequal: No Solution
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Moving to Node #0,4,4
Current State: 80:[4, 82], Operations: ['48-44=4', '95-13=82']
Exploring Operation: 4*82=328, Resulting Numbers: [328]
328,80 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,80 unequal: No Solution
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[13, 3], Operations: ['95-48=47', '47-44=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[48, 38], Operations: ['95-13=82', '82-44=38']
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,80 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Moving to Node #0,1,4
Current State: 80:[44, 34], Operations: ['95-48=47', '47-13=34']
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,80 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,80 unequal: No Solution
Moving to Node #0,3,4
Current State: 80:[44, 34], Operations: ['95-13=82', '82-48=34']
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,80 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[13, 91], Operations: ['95-48=47', '44+47=91']
Exploring Operation: 13+91=104, Resulting Numbers: [104]
104,80 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,80 unequal: No Solution
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 13*91=1183, Resulting Numbers: [1183]
1183,80 unequal: No Solution
Moving to Node #0,4,3
Current State: 80:[13, 91], Operations: ['48-44=4', '95-4=91']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,80 unequal: No Solution
Exploring Operation: 13*91=1183, Resulting Numbers: [1183]
1183,80 unequal: No Solution
Exploring Operation: 13+91=104, Resulting Numbers: [104]
104,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[82, 92], Operations: ['95-13=82', '44+48=92']
Exploring Operation: 82*92=7544, Resulting Numbers: [7544]
7544,80 unequal: No Solution
Exploring Operation: 82+92=174, Resulting Numbers: [174]
174,80 unequal: No Solution
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Moving to Node #0,4,2
Current State: 80:[95, 9], Operations: ['48-44=4', '13-4=9']
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 95+9=104, Resulting Numbers: [104]
104,80 unequal: No Solution
Exploring Operation: 95*9=855, Resulting Numbers: [855]
855,80 unequal: No Solution
Moving to Node #0,4,0
Current State: 80:[95, 17], Operations: ['48-44=4', '13+4=17']
Exploring Operation: 95+17=112, Resulting Numbers: [112]
112,80 unequal: No Solution
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,80 unequal: No Solution
Exploring Operation: 95*17=1615, Resulting Numbers: [1615]
1615,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[47, 31], Operations: ['95-48=47', '44-13=31']
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,80 unequal: No Solution
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,80 unequal: No Solution
Moving to Node #0,4,1
Current State: 80:[13, 99], Operations: ['48-44=4', '95+4=99']
Exploring Operation: 13*99=1287, Resulting Numbers: [1287]
1287,80 unequal: No Solution
Exploring Operation: 13+99=112, Resulting Numbers: [112]
112,80 unequal: No Solution
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[47, 57], Operations: ['95-48=47', '44+13=57']
Exploring Operation: 47+57=104, Resulting Numbers: [104]
104,80 unequal: No Solution
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 47*57=2679, Resulting Numbers: [2679]
2679,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[48, 126], Operations: ['95-13=82', '44+82=126']
Exploring Operation: 48+126=174, Resulting Numbers: [174]
174,80 unequal: No Solution
Exploring Operation: 48*126=6048, Resulting Numbers: [6048]
6048,80 unequal: No Solution
Exploring Operation: 126-48=78, Resulting Numbers: [78]
78,80 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
37,
20,
25,
94
] | 27 | [
"94-20=74",
"74/37=2",
"25+2=27"
] | Current State: 27:[37, 20, 25, 94], Operations: []
Exploring Operation: 94-20=74, Resulting Numbers: [37, 25, 74]
Generated Node #2: [37, 25, 74] from Operation: 94-20=74
Current State: 27:[37, 25, 74], Operations: ['94-20=74']
Exploring Operation: 74/37=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 74/37=2
Current State: 27:[25, 2], Operations: ['94-20=74', '74/37=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[37, 20, 25, 94], Operations: []
Exploring Operation: 37-20=17, Resulting Numbers: [25, 94, 17]
Generated Node #0,0: 27:[25, 94, 17] Operation: 37-20=17
Exploring Operation: 94-25=69, Resulting Numbers: [37, 20, 69]
Generated Node #0,1: 27:[37, 20, 69] Operation: 94-25=69
Exploring Operation: 94-37=57, Resulting Numbers: [20, 25, 57]
Generated Node #0,2: 27:[20, 25, 57] Operation: 94-37=57
Exploring Operation: 94-20=74, Resulting Numbers: [37, 25, 74]
Generated Node #0,3: 27:[37, 25, 74] Operation: 94-20=74
Exploring Operation: 37-25=12, Resulting Numbers: [20, 94, 12]
Generated Node #0,4: 27:[20, 94, 12] Operation: 37-25=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[20, 25, 57], Operations: ['94-37=57']
Exploring Operation: 57-25=32, Resulting Numbers: [20, 32]
Generated Node #0,2,0: 27:[20, 32] Operation: 57-25=32
Exploring Operation: 57-20=37, Resulting Numbers: [25, 37]
Generated Node #0,2,1: 27:[25, 37] Operation: 57-20=37
Exploring Operation: 20+25=45, Resulting Numbers: [57, 45]
Generated Node #0,2,2: 27:[57, 45] Operation: 20+25=45
Exploring Operation: 20+57=77, Resulting Numbers: [25, 77]
Generated Node #0,2,3: 27:[25, 77] Operation: 20+57=77
Exploring Operation: 25-20=5, Resulting Numbers: [57, 5]
Generated Node #0,2,4: 27:[57, 5] Operation: 25-20=5
Moving to Node #0,2,0
Current State: 27:[20, 32], Operations: ['94-37=57', '57-25=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[25, 37], Operations: ['94-37=57', '57-20=37']
Exploring Operation: 25*37=925, Resulting Numbers: [925]
925,27 unequal: No Solution
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Moving to Node #0,2,4
Current State: 27:[57, 5], Operations: ['94-37=57', '25-20=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[57, 45], Operations: ['94-37=57', '20+25=45']
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 57*45=2565, Resulting Numbers: [2565]
2565,27 unequal: No Solution
Exploring Operation: 57+45=102, Resulting Numbers: [102]
102,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[25, 77], Operations: ['94-37=57', '20+57=77']
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 25+77=102, Resulting Numbers: [102]
102,27 unequal: No Solution
Exploring Operation: 25*77=1925, Resulting Numbers: [1925]
1925,27 unequal: No Solution
No 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: 27:[37, 20, 69], Operations: ['94-25=69']
Exploring Operation: 37+20=57, Resulting Numbers: [69, 57]
Generated Node #0,1,0: 27:[69, 57] Operation: 37+20=57
Exploring Operation: 69-20=49, Resulting Numbers: [37, 49]
Generated Node #0,1,1: 27:[37, 49] Operation: 69-20=49
Exploring Operation: 37-20=17, Resulting Numbers: [69, 17]
Generated Node #0,1,2: 27:[69, 17] Operation: 37-20=17
Exploring Operation: 69-37=32, Resulting Numbers: [20, 32]
Generated Node #0,1,3: 27:[20, 32] Operation: 69-37=32
Exploring Operation: 20+69=89, Resulting Numbers: [37, 89]
Generated Node #0,1,4: 27:[37, 89] Operation: 20+69=89
Moving to Node #0,1,3
Current State: 27:[20, 32], Operations: ['94-25=69', '69-37=32']
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,27 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[37, 49], Operations: ['94-25=69', '69-20=49']
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 37*49=1813, Resulting Numbers: [1813]
1813,27 unequal: No Solution
Exploring Operation: 37+49=86, Resulting Numbers: [86]
86,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[69, 17], Operations: ['94-25=69', '37-20=17']
Exploring Operation: 69*17=1173, Resulting Numbers: [1173]
1173,27 unequal: No Solution
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 69+17=86, Resulting Numbers: [86]
86,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[69, 57], Operations: ['94-25=69', '37+20=57']
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 69*57=3933, Resulting Numbers: [3933]
3933,27 unequal: No Solution
Exploring Operation: 69+57=126, Resulting Numbers: [126]
126,27 unequal: No Solution
Moving to Node #0,1,4
Current State: 27:[37, 89], Operations: ['94-25=69', '20+69=89']
Exploring Operation: 37*89=3293, Resulting Numbers: [3293]
3293,27 unequal: No Solution
Exploring Operation: 37+89=126, Resulting Numbers: [126]
126,27 unequal: No Solution
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,27 unequal: No Solution
No 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: 27:[37, 25, 74], Operations: ['94-20=74']
Exploring Operation: 74-25=49, Resulting Numbers: [37, 49]
Generated Node #0,3,0: 27:[37, 49] Operation: 74-25=49
Exploring Operation: 37+25=62, Resulting Numbers: [74, 62]
Generated Node #0,3,1: 27:[74, 62] Operation: 37+25=62
Exploring Operation: 74/37=2, Resulting Numbers: [25, 2]
Generated Node #0,3,2: 27:[25, 2] Operation: 74/37=2
Exploring Operation: 74-37=37, Resulting Numbers: [25, 37]
Generated Node #0,3,3: 27:[25, 37] Operation: 74-37=37
Exploring Operation: 37-25=12, Resulting Numbers: [74, 12]
Generated Node #0,3,4: 27:[74, 12] Operation: 37-25=12
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 27:[25, 2], Operations: ['94-20=74', '74/37=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[37, 20, 25, 94], Operations: []
Exploring Operation: 94-20=74, Resulting Numbers: [37, 25, 74]
Generated Node #0,3: 27:[37, 25, 74] Operation: 94-20=74
Moving to Node #0,3
Current State: 27:[37, 25, 74], Operations: ['94-20=74']
Exploring Operation: 74/37=2, Resulting Numbers: [25, 2]
Generated Node #0,3,2: 27:[25, 2] Operation: 74/37=2
Moving to Node #0,3,2
Current State: 27:[25, 2], Operations: ['94-20=74', '74/37=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.951389 | hs_5 | mult_heuristic |
[
27,
37,
11,
81
] | 51 | [
"81/27=3",
"37+11=48",
"3+48=51"
] | Current State: 51:[27, 37, 11, 81], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [37, 11, 3]
Generated Node #2: [37, 11, 3] from Operation: 81/27=3
Current State: 51:[37, 11, 3], Operations: ['81/27=3']
Exploring Operation: 37+11=48, Resulting Numbers: [3, 48]
Generated Node #3: [3, 48] from Operation: 37+11=48
Current State: 51:[3, 48], Operations: ['81/27=3', '37+11=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[27, 37, 11, 81], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [37, 11, 3]
Generated Node #0,0: 51:[37, 11, 3] Operation: 81/27=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[37, 11, 3], Operations: ['81/27=3']
Exploring Operation: 37+11=48, Resulting Numbers: [3, 48]
Generated Node #0,0,0: 51:[3, 48] Operation: 37+11=48
Moving to Node #0,0,0
Current State: 51:[3, 48], Operations: ['81/27=3', '37+11=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[27, 37, 11, 81], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [37, 11, 3]
Generated Node #0,0: 51:[37, 11, 3] Operation: 81/27=3
Moving to Node #0,0
Current State: 51:[37, 11, 3], Operations: ['81/27=3']
Exploring Operation: 37+11=48, Resulting Numbers: [3, 48]
Generated Node #0,0,0: 51:[3, 48] Operation: 37+11=48
Moving to Node #0,0,0
Current State: 51:[3, 48], Operations: ['81/27=3', '37+11=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
33,
89,
37,
31
] | 63 | [
"33-31=2",
"89+37=126",
"126/2=63"
] | Current State: 63:[33, 89, 37, 31], Operations: []
Exploring Operation: 33-31=2, Resulting Numbers: [89, 37, 2]
Generated Node #2: [89, 37, 2] from Operation: 33-31=2
Current State: 63:[89, 37, 2], Operations: ['33-31=2']
Exploring Operation: 89+37=126, Resulting Numbers: [2, 126]
Generated Node #3: [2, 126] from Operation: 89+37=126
Current State: 63:[2, 126], Operations: ['33-31=2', '89+37=126']
Exploring Operation: 126/2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[33, 89, 37, 31], Operations: []
Exploring Operation: 89-37=52, Resulting Numbers: [33, 31, 52]
Generated Node #0,0: 63:[33, 31, 52] Operation: 89-37=52
Exploring Operation: 89-33=56, Resulting Numbers: [37, 31, 56]
Generated Node #0,1: 63:[37, 31, 56] Operation: 89-33=56
Exploring Operation: 89-31=58, Resulting Numbers: [33, 37, 58]
Generated Node #0,2: 63:[33, 37, 58] Operation: 89-31=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[33, 31, 52], Operations: ['89-37=52']
Exploring Operation: 33-31=2, Resulting Numbers: [52, 2]
Generated Node #0,0,0: 63:[52, 2] Operation: 33-31=2
Exploring Operation: 52-33=19, Resulting Numbers: [31, 19]
Generated Node #0,0,1: 63:[31, 19] Operation: 52-33=19
Exploring Operation: 33+31=64, Resulting Numbers: [52, 64]
Generated Node #0,0,2: 63:[52, 64] Operation: 33+31=64
Moving to Node #0,0,0
Current State: 63:[52, 2], Operations: ['89-37=52', '33-31=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[31, 19], Operations: ['89-37=52', '52-33=19']
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,63 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[52, 64], Operations: ['89-37=52', '33+31=64']
Exploring Operation: 52*64=3328, Resulting Numbers: [3328]
3328,63 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 52+64=116, Resulting Numbers: [116]
116,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[37, 31, 56], Operations: ['89-33=56']
Exploring Operation: 56-37=19, Resulting Numbers: [31, 19]
Generated Node #0,1,0: 63:[31, 19] Operation: 56-37=19
Exploring Operation: 37-31=6, Resulting Numbers: [56, 6]
Generated Node #0,1,1: 63:[56, 6] Operation: 37-31=6
Exploring Operation: 37+31=68, Resulting Numbers: [56, 68]
Generated Node #0,1,2: 63:[56, 68] Operation: 37+31=68
Moving to Node #0,1,1
Current State: 63:[56, 6], Operations: ['89-33=56', '37-31=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,63 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[31, 19], Operations: ['89-33=56', '56-37=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[56, 68], Operations: ['89-33=56', '37+31=68']
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 56*68=3808, Resulting Numbers: [3808]
3808,63 unequal: No Solution
Exploring Operation: 56+68=124, Resulting Numbers: [124]
124,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[33, 37, 58], Operations: ['89-31=58']
Exploring Operation: 37-33=4, Resulting Numbers: [58, 4]
Generated Node #0,2,0: 63:[58, 4] Operation: 37-33=4
Exploring Operation: 33+37=70, Resulting Numbers: [58, 70]
Generated Node #0,2,1: 63:[58, 70] Operation: 33+37=70
Exploring Operation: 58-37=21, Resulting Numbers: [33, 21]
Generated Node #0,2,2: 63:[33, 21] Operation: 58-37=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 63:[58, 4], Operations: ['89-31=58', '37-33=4']
Exploring Operation: 58*4=232, Resulting Numbers: [232]
232,63 unequal: No Solution
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 63:[58, 70], Operations: ['89-31=58', '33+37=70']
Exploring Operation: 58*70=4060, Resulting Numbers: [4060]
4060,63 unequal: No Solution
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,63 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 63:[33, 21], Operations: ['89-31=58', '58-37=21']
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
15,
68,
25,
76
] | 18 | [
"15+68=83",
"25+76=101",
"101-83=18"
] | Current State: 18:[15, 68, 25, 76], Operations: []
Exploring Operation: 15+68=83, Resulting Numbers: [25, 76, 83]
Generated Node #2: [25, 76, 83] from Operation: 15+68=83
Current State: 18:[25, 76, 83], Operations: ['15+68=83']
Exploring Operation: 25+76=101, Resulting Numbers: [83, 101]
Generated Node #3: [83, 101] from Operation: 25+76=101
Current State: 18:[83, 101], Operations: ['15+68=83', '25+76=101']
Exploring Operation: 101-83=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[15, 68, 25, 76], Operations: []
Exploring Operation: 68-15=53, Resulting Numbers: [25, 76, 53]
Generated Node #0,0: 18:[25, 76, 53] Operation: 68-15=53
Exploring Operation: 68-25=43, Resulting Numbers: [15, 76, 43]
Generated Node #0,1: 18:[15, 76, 43] Operation: 68-25=43
Exploring Operation: 76-68=8, Resulting Numbers: [15, 25, 8]
Generated Node #0,2: 18:[15, 25, 8] Operation: 76-68=8
Exploring Operation: 76-25=51, Resulting Numbers: [15, 68, 51]
Generated Node #0,3: 18:[15, 68, 51] Operation: 76-25=51
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[15, 25, 8], Operations: ['76-68=8']
Exploring Operation: 25-8=17, Resulting Numbers: [15, 17]
Generated Node #0,2,0: 18:[15, 17] Operation: 25-8=17
Exploring Operation: 15-8=7, Resulting Numbers: [25, 7]
Generated Node #0,2,1: 18:[25, 7] Operation: 15-8=7
Exploring Operation: 15+8=23, Resulting Numbers: [25, 23]
Generated Node #0,2,2: 18:[25, 23] Operation: 15+8=23
Exploring Operation: 25-15=10, Resulting Numbers: [8, 10]
Generated Node #0,2,3: 18:[8, 10] Operation: 25-15=10
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 18:[8, 10], Operations: ['76-68=8', '25-15=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[15, 68, 25, 76], Operations: []
Exploring Operation: 76-68=8, Resulting Numbers: [15, 25, 8]
Generated Node #0,2: 18:[15, 25, 8] Operation: 76-68=8
Moving to Node #0,2
Current State: 18:[15, 25, 8], Operations: ['76-68=8']
Exploring Operation: 25-15=10, Resulting Numbers: [8, 10]
Generated Node #0,2,3: 18:[8, 10] Operation: 25-15=10
Moving to Node #0,2,3
Current State: 18:[8, 10], Operations: ['76-68=8', '25-15=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
39,
48,
3,
26
] | 64 | [
"39+48=87",
"26-3=23",
"87-23=64"
] | Current State: 64:[39, 48, 3, 26], Operations: []
Exploring Operation: 39+48=87, Resulting Numbers: [3, 26, 87]
Generated Node #2: [3, 26, 87] from Operation: 39+48=87
Current State: 64:[3, 26, 87], Operations: ['39+48=87']
Exploring Operation: 26-3=23, Resulting Numbers: [87, 23]
Generated Node #3: [87, 23] from Operation: 26-3=23
Current State: 64:[87, 23], Operations: ['39+48=87', '26-3=23']
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[39, 48, 3, 26], Operations: []
Exploring Operation: 48-39=9, Resulting Numbers: [3, 26, 9]
Generated Node #0,0: 64:[3, 26, 9] Operation: 48-39=9
Exploring Operation: 48/3=16, Resulting Numbers: [39, 26, 16]
Generated Node #0,1: 64:[39, 26, 16] Operation: 48/3=16
Exploring Operation: 48-26=22, Resulting Numbers: [39, 3, 22]
Generated Node #0,2: 64:[39, 3, 22] Operation: 48-26=22
Exploring Operation: 39+26=65, Resulting Numbers: [48, 3, 65]
Generated Node #0,3: 64:[48, 3, 65] Operation: 39+26=65
Exploring Operation: 48+26=74, Resulting Numbers: [39, 3, 74]
Generated Node #0,4: 64:[39, 3, 74] Operation: 48+26=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[3, 26, 9], Operations: ['48-39=9']
Exploring Operation: 9/3=3, Resulting Numbers: [26, 3]
Generated Node #0,0,0: 64:[26, 3] Operation: 9/3=3
Exploring Operation: 26-9=17, Resulting Numbers: [3, 17]
Generated Node #0,0,1: 64:[3, 17] Operation: 26-9=17
Exploring Operation: 26+9=35, Resulting Numbers: [3, 35]
Generated Node #0,0,2: 64:[3, 35] Operation: 26+9=35
Exploring Operation: 3+26=29, Resulting Numbers: [9, 29]
Generated Node #0,0,3: 64:[9, 29] Operation: 3+26=29
Exploring Operation: 26-3=23, Resulting Numbers: [9, 23]
Generated Node #0,0,4: 64:[9, 23] Operation: 26-3=23
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[3, 17], Operations: ['48-39=9', '26-9=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[3, 35], Operations: ['48-39=9', '26+9=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,64 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 64:[9, 29], Operations: ['48-39=9', '3+26=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,64 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[26, 3], Operations: ['48-39=9', '9/3=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,64 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 64:[9, 23], Operations: ['48-39=9', '26-3=23']
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 9*23=207, Resulting Numbers: [207]
207,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[39, 26, 16], Operations: ['48/3=16']
Exploring Operation: 39-16=23, Resulting Numbers: [26, 23]
Generated Node #0,1,0: 64:[26, 23] Operation: 39-16=23
Exploring Operation: 39-26=13, Resulting Numbers: [16, 13]
Generated Node #0,1,1: 64:[16, 13] Operation: 39-26=13
Exploring Operation: 39+26=65, Resulting Numbers: [16, 65]
Generated Node #0,1,2: 64:[16, 65] Operation: 39+26=65
Exploring Operation: 26-16=10, Resulting Numbers: [39, 10]
Generated Node #0,1,3: 64:[39, 10] Operation: 26-16=10
Exploring Operation: 39+16=55, Resulting Numbers: [26, 55]
Generated Node #0,1,4: 64:[26, 55] Operation: 39+16=55
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 64:[16, 65], Operations: ['48/3=16', '39+26=65']
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 16+65=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 16*65=1040, Resulting Numbers: [1040]
1040,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 64:[16, 13], Operations: ['48/3=16', '39-26=13']
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,64 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 64:[39, 10], Operations: ['48/3=16', '26-16=10']
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,64 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[26, 23], Operations: ['48/3=16', '39-16=23']
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,64 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 64:[26, 55], Operations: ['48/3=16', '39+16=55']
Exploring Operation: 26+55=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 26*55=1430, Resulting Numbers: [1430]
1430,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[39, 3, 22], Operations: ['48-26=22']
Exploring Operation: 39/3=13, Resulting Numbers: [22, 13]
Generated Node #0,2,0: 64:[22, 13] Operation: 39/3=13
Exploring Operation: 39-22=17, Resulting Numbers: [3, 17]
Generated Node #0,2,1: 64:[3, 17] Operation: 39-22=17
Exploring Operation: 3*22=66, Resulting Numbers: [39, 66]
Generated Node #0,2,2: 64:[39, 66] Operation: 3*22=66
Exploring Operation: 39-3=36, Resulting Numbers: [22, 36]
Generated Node #0,2,3: 64:[22, 36] Operation: 39-3=36
Exploring Operation: 39+22=61, Resulting Numbers: [3, 61]
Generated Node #0,2,4: 64:[3, 61] Operation: 39+22=61
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 64:[3, 17], Operations: ['48-26=22', '39-22=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 64:[3, 61], Operations: ['48-26=22', '39+22=61']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 3*61=183, Resulting Numbers: [183]
183,64 unequal: No Solution
Exploring Operation: 3+61=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[39, 48, 3, 26], Operations: []
Exploring Operation: 48-26=22, Resulting Numbers: [39, 3, 22]
Generated Node #0,2: 64:[39, 3, 22] Operation: 48-26=22
Moving to Node #0,2
Current State: 64:[39, 3, 22], Operations: ['48-26=22']
Exploring Operation: 39+22=61, Resulting Numbers: [3, 61]
Generated Node #0,2,4: 64:[3, 61] Operation: 39+22=61
Moving to Node #0,2,4
Current State: 64:[3, 61], Operations: ['48-26=22', '39+22=61']
Exploring Operation: 3+61=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947917 | hs_5 | sum_heuristic |
[
20,
44,
83,
9
] | 98 | [
"44-20=24",
"83-9=74",
"24+74=98"
] | Current State: 98:[20, 44, 83, 9], Operations: []
Exploring Operation: 44-20=24, Resulting Numbers: [83, 9, 24]
Generated Node #2: [83, 9, 24] from Operation: 44-20=24
Current State: 98:[83, 9, 24], Operations: ['44-20=24']
Exploring Operation: 83-9=74, Resulting Numbers: [24, 74]
Generated Node #3: [24, 74] from Operation: 83-9=74
Current State: 98:[24, 74], Operations: ['44-20=24', '83-9=74']
Exploring Operation: 24+74=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[20, 44, 83, 9], Operations: []
Exploring Operation: 83+9=92, Resulting Numbers: [20, 44, 92]
Generated Node #0,0: 98:[20, 44, 92] Operation: 83+9=92
Exploring Operation: 20+83=103, Resulting Numbers: [44, 9, 103]
Generated Node #0,1: 98:[44, 9, 103] Operation: 20+83=103
Exploring Operation: 83-44=39, Resulting Numbers: [20, 9, 39]
Generated Node #0,2: 98:[20, 9, 39] Operation: 83-44=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[44, 9, 103], Operations: ['20+83=103']
Exploring Operation: 44+9=53, Resulting Numbers: [103, 53]
Generated Node #0,1,0: 98:[103, 53] Operation: 44+9=53
Exploring Operation: 103-9=94, Resulting Numbers: [44, 94]
Generated Node #0,1,1: 98:[44, 94] Operation: 103-9=94
Exploring Operation: 103-44=59, Resulting Numbers: [9, 59]
Generated Node #0,1,2: 98:[9, 59] Operation: 103-44=59
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[103, 53], Operations: ['20+83=103', '44+9=53']
Exploring Operation: 103*53=5459, Resulting Numbers: [5459]
5459,98 unequal: No Solution
Exploring Operation: 103-53=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 103+53=156, Resulting Numbers: [156]
156,98 unequal: No Solution
No 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: 98:[44, 94], Operations: ['20+83=103', '103-9=94']
Exploring Operation: 44*94=4136, Resulting Numbers: [4136]
4136,98 unequal: No Solution
Exploring Operation: 44+94=138, Resulting Numbers: [138]
138,98 unequal: No Solution
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,98 unequal: No Solution
No 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: 98:[9, 59], Operations: ['20+83=103', '103-44=59']
Exploring Operation: 9*59=531, Resulting Numbers: [531]
531,98 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[20, 44, 92], Operations: ['83+9=92']
Exploring Operation: 20+92=112, Resulting Numbers: [44, 112]
Generated Node #0,0,0: 98:[44, 112] Operation: 20+92=112
Exploring Operation: 44-20=24, Resulting Numbers: [92, 24]
Generated Node #0,0,1: 98:[92, 24] Operation: 44-20=24
Exploring Operation: 92-44=48, Resulting Numbers: [20, 48]
Generated Node #0,0,2: 98:[20, 48] Operation: 92-44=48
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[20, 48], Operations: ['83+9=92', '92-44=48']
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 20*48=960, Resulting Numbers: [960]
960,98 unequal: No Solution
No 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: 98:[92, 24], Operations: ['83+9=92', '44-20=24']
Exploring Operation: 92*24=2208, Resulting Numbers: [2208]
2208,98 unequal: No Solution
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 92+24=116, Resulting Numbers: [116]
116,98 unequal: No Solution
No 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: 98:[44, 112], Operations: ['83+9=92', '20+92=112']
Exploring Operation: 112-44=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 44+112=156, Resulting Numbers: [156]
156,98 unequal: No Solution
Exploring Operation: 44*112=4928, Resulting Numbers: [4928]
4928,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[20, 9, 39], Operations: ['83-44=39']
Exploring Operation: 9+39=48, Resulting Numbers: [20, 48]
Generated Node #0,2,0: 98:[20, 48] Operation: 9+39=48
Exploring Operation: 20+39=59, Resulting Numbers: [9, 59]
Generated Node #0,2,1: 98:[9, 59] Operation: 20+39=59
Exploring Operation: 39-20=19, Resulting Numbers: [9, 19]
Generated Node #0,2,2: 98:[9, 19] Operation: 39-20=19
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[20, 48], Operations: ['83-44=39', '9+39=48']
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 20*48=960, Resulting Numbers: [960]
960,98 unequal: No Solution
No 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: 98:[9, 19], Operations: ['83-44=39', '39-20=19']
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,98 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,98 unequal: No Solution
No 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: 98:[9, 59], Operations: ['83-44=39', '20+39=59']
Exploring Operation: 9*59=531, Resulting Numbers: [531]
531,98 unequal: No Solution
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
12,
1,
99,
72
] | 15 | [
"12*1=12",
"99-72=27",
"27-12=15"
] | Current State: 15:[12, 1, 99, 72], Operations: []
Exploring Operation: 12*1=12, Resulting Numbers: [99, 72, 12]
Generated Node #2: [99, 72, 12] from Operation: 12*1=12
Current State: 15:[99, 72, 12], Operations: ['12*1=12']
Exploring Operation: 99-72=27, Resulting Numbers: [12, 27]
Generated Node #3: [12, 27] from Operation: 99-72=27
Current State: 15:[12, 27], Operations: ['12*1=12', '99-72=27']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[12, 1, 99, 72], Operations: []
Exploring Operation: 12+1=13, Resulting Numbers: [99, 72, 13]
Generated Node #0,0: 15:[99, 72, 13] Operation: 12+1=13
Exploring Operation: 72-12=60, Resulting Numbers: [1, 99, 60]
Generated Node #0,1: 15:[1, 99, 60] Operation: 72-12=60
Exploring Operation: 99-12=87, Resulting Numbers: [1, 72, 87]
Generated Node #0,2: 15:[1, 72, 87] Operation: 99-12=87
Exploring Operation: 72/12=6, Resulting Numbers: [1, 99, 6]
Generated Node #0,3: 15:[1, 99, 6] Operation: 72/12=6
Exploring Operation: 99-72=27, Resulting Numbers: [12, 1, 27]
Generated Node #0,4: 15:[12, 1, 27] Operation: 99-72=27
Moving to Node #0,4
Current State: 15:[12, 1, 27], Operations: ['99-72=27']
Exploring Operation: 12+1=13, Resulting Numbers: [27, 13]
Generated Node #0,4,0: 15:[27, 13] Operation: 12+1=13
Exploring Operation: 12/1=12, Resulting Numbers: [27, 12]
Generated Node #0,4,1: 15:[27, 12] Operation: 12/1=12
Exploring Operation: 27-12=15, Resulting Numbers: [1, 15]
Generated Node #0,4,2: 15:[1, 15] Operation: 27-12=15
Exploring Operation: 27-1=26, Resulting Numbers: [12, 26]
Generated Node #0,4,3: 15:[12, 26] Operation: 27-1=26
Exploring Operation: 12*1=12, Resulting Numbers: [27, 12]
Generated Node #0,4,4: 15:[27, 12] Operation: 12*1=12
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 15:[1, 15], Operations: ['99-72=27', '27-12=15']
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[12, 1, 99, 72], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [12, 1, 27]
Generated Node #0,4: 15:[12, 1, 27] Operation: 99-72=27
Moving to Node #0,4
Current State: 15:[12, 1, 27], Operations: ['99-72=27']
Exploring Operation: 27-12=15, Resulting Numbers: [1, 15]
Generated Node #0,4,2: 15:[1, 15] Operation: 27-12=15
Moving to Node #0,4,2
Current State: 15:[1, 15], Operations: ['99-72=27', '27-12=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
47,
81,
52,
26
] | 36 | [
"81-47=34",
"52/26=2",
"34+2=36"
] | Current State: 36:[47, 81, 52, 26], Operations: []
Exploring Operation: 81-47=34, Resulting Numbers: [52, 26, 34]
Generated Node #2: [52, 26, 34] from Operation: 81-47=34
Current State: 36:[52, 26, 34], Operations: ['81-47=34']
Exploring Operation: 52/26=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 52/26=2
Current State: 36:[34, 2], Operations: ['81-47=34', '52/26=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[47, 81, 52, 26], Operations: []
Exploring Operation: 81-47=34, Resulting Numbers: [52, 26, 34]
Generated Node #0,0: 36:[52, 26, 34] Operation: 81-47=34
Exploring Operation: 52-47=5, Resulting Numbers: [81, 26, 5]
Generated Node #0,1: 36:[81, 26, 5] Operation: 52-47=5
Exploring Operation: 81-26=55, Resulting Numbers: [47, 52, 55]
Generated Node #0,2: 36:[47, 52, 55] Operation: 81-26=55
Exploring Operation: 52/26=2, Resulting Numbers: [47, 81, 2]
Generated Node #0,3: 36:[47, 81, 2] Operation: 52/26=2
Exploring Operation: 81-52=29, Resulting Numbers: [47, 26, 29]
Generated Node #0,4: 36:[47, 26, 29] Operation: 81-52=29
Moving to Node #0,0
Current State: 36:[52, 26, 34], Operations: ['81-47=34']
Exploring Operation: 34-26=8, Resulting Numbers: [52, 8]
Generated Node #0,0,0: 36:[52, 8] Operation: 34-26=8
Exploring Operation: 52-34=18, Resulting Numbers: [26, 18]
Generated Node #0,0,1: 36:[26, 18] Operation: 52-34=18
Exploring Operation: 26+34=60, Resulting Numbers: [52, 60]
Generated Node #0,0,2: 36:[52, 60] Operation: 26+34=60
Exploring Operation: 52/26=2, Resulting Numbers: [34, 2]
Generated Node #0,0,3: 36:[34, 2] Operation: 52/26=2
Exploring Operation: 52-26=26, Resulting Numbers: [34, 26]
Generated Node #0,0,4: 36:[34, 26] Operation: 52-26=26
Moving to Node #0,4
Current State: 36:[47, 26, 29], Operations: ['81-52=29']
Exploring Operation: 47-29=18, Resulting Numbers: [26, 18]
Generated Node #0,4,0: 36:[26, 18] Operation: 47-29=18
Exploring Operation: 47+26=73, Resulting Numbers: [29, 73]
Generated Node #0,4,1: 36:[29, 73] Operation: 47+26=73
Exploring Operation: 26+29=55, Resulting Numbers: [47, 55]
Generated Node #0,4,2: 36:[47, 55] Operation: 26+29=55
Exploring Operation: 29-26=3, Resulting Numbers: [47, 3]
Generated Node #0,4,3: 36:[47, 3] Operation: 29-26=3
Exploring Operation: 47-26=21, Resulting Numbers: [29, 21]
Generated Node #0,4,4: 36:[29, 21] Operation: 47-26=21
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 36:[26, 18], Operations: ['81-52=29', '47-29=18']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,36 unequal: No Solution
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 36:[29, 21], Operations: ['81-52=29', '47-26=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 36:[47, 3], Operations: ['81-52=29', '29-26=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,36 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 36:[47, 55], Operations: ['81-52=29', '26+29=55']
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 47*55=2585, Resulting Numbers: [2585]
2585,36 unequal: No Solution
Exploring Operation: 47+55=102, Resulting Numbers: [102]
102,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 36:[29, 73], Operations: ['81-52=29', '47+26=73']
Exploring Operation: 29+73=102, Resulting Numbers: [102]
102,36 unequal: No Solution
Exploring Operation: 29*73=2117, Resulting Numbers: [2117]
2117,36 unequal: No Solution
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,36 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: 36:[47, 52, 55], Operations: ['81-26=55']
Exploring Operation: 47+52=99, Resulting Numbers: [55, 99]
Generated Node #0,2,0: 36:[55, 99] Operation: 47+52=99
Exploring Operation: 52-47=5, Resulting Numbers: [55, 5]
Generated Node #0,2,1: 36:[55, 5] Operation: 52-47=5
Exploring Operation: 55-47=8, Resulting Numbers: [52, 8]
Generated Node #0,2,2: 36:[52, 8] Operation: 55-47=8
Exploring Operation: 55-52=3, Resulting Numbers: [47, 3]
Generated Node #0,2,3: 36:[47, 3] Operation: 55-52=3
Exploring Operation: 47+55=102, Resulting Numbers: [52, 102]
Generated Node #0,2,4: 36:[52, 102] Operation: 47+55=102
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 36:[47, 3], Operations: ['81-26=55', '55-52=3']
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,36 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[52, 8], Operations: ['81-26=55', '55-47=8']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,36 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[55, 5], Operations: ['81-26=55', '52-47=5']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,36 unequal: No Solution
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[55, 99], Operations: ['81-26=55', '47+52=99']
Exploring Operation: 55*99=5445, Resulting Numbers: [5445]
5445,36 unequal: No Solution
Exploring Operation: 55+99=154, Resulting Numbers: [154]
154,36 unequal: No Solution
Exploring Operation: 99-55=44, Resulting Numbers: [44]
44,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 36:[52, 102], Operations: ['81-26=55', '47+55=102']
Exploring Operation: 52*102=5304, Resulting Numbers: [5304]
5304,36 unequal: No Solution
Exploring Operation: 102-52=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 52+102=154, Resulting Numbers: [154]
154,36 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: 36:[81, 26, 5], Operations: ['52-47=5']
Exploring Operation: 26-5=21, Resulting Numbers: [81, 21]
Generated Node #0,1,0: 36:[81, 21] Operation: 26-5=21
Exploring Operation: 81+5=86, Resulting Numbers: [26, 86]
Generated Node #0,1,1: 36:[26, 86] Operation: 81+5=86
Exploring Operation: 26+5=31, Resulting Numbers: [81, 31]
Generated Node #0,1,2: 36:[81, 31] Operation: 26+5=31
Exploring Operation: 81-5=76, Resulting Numbers: [26, 76]
Generated Node #0,1,3: 36:[26, 76] Operation: 81-5=76
Exploring Operation: 81-26=55, Resulting Numbers: [5, 55]
Generated Node #0,1,4: 36:[5, 55] Operation: 81-26=55
Moving to Node #0,3
Current State: 36:[47, 81, 2], Operations: ['52/26=2']
Exploring Operation: 81-47=34, Resulting Numbers: [2, 34]
Generated Node #0,3,0: 36:[2, 34] Operation: 81-47=34
Exploring Operation: 81-2=79, Resulting Numbers: [47, 79]
Generated Node #0,3,1: 36:[47, 79] Operation: 81-2=79
Exploring Operation: 47+2=49, Resulting Numbers: [81, 49]
Generated Node #0,3,2: 36:[81, 49] Operation: 47+2=49
Exploring Operation: 81+2=83, Resulting Numbers: [47, 83]
Generated Node #0,3,3: 36:[47, 83] Operation: 81+2=83
Exploring Operation: 47-2=45, Resulting Numbers: [81, 45]
Generated Node #0,3,4: 36:[81, 45] Operation: 47-2=45
Moving to Node #0,0,3
Current State: 36:[34, 2], Operations: ['81-47=34', '52/26=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[47, 81, 52, 26], Operations: []
Exploring Operation: 81-47=34, Resulting Numbers: [52, 26, 34]
Generated Node #0,0: 36:[52, 26, 34] Operation: 81-47=34
Moving to Node #0,0
Current State: 36:[52, 26, 34], Operations: ['81-47=34']
Exploring Operation: 52/26=2, Resulting Numbers: [34, 2]
Generated Node #0,0,3: 36:[34, 2] Operation: 52/26=2
Moving to Node #0,0,3
Current State: 36:[34, 2], Operations: ['81-47=34', '52/26=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.94184 | hs_5 | sum_heuristic |
[
27,
54,
22,
58
] | 47 | [
"54/27=2",
"22/2=11",
"58-11=47"
] | Current State: 47:[27, 54, 22, 58], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [22, 58, 2]
Generated Node #2: [22, 58, 2] from Operation: 54/27=2
Current State: 47:[22, 58, 2], Operations: ['54/27=2']
Exploring Operation: 22/2=11, Resulting Numbers: [58, 11]
Generated Node #3: [58, 11] from Operation: 22/2=11
Current State: 47:[58, 11], Operations: ['54/27=2', '22/2=11']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[27, 54, 22, 58], Operations: []
Exploring Operation: 58-22=36, Resulting Numbers: [27, 54, 36]
Generated Node #0,0: 47:[27, 54, 36] Operation: 58-22=36
Exploring Operation: 54-27=27, Resulting Numbers: [22, 58, 27]
Generated Node #0,1: 47:[22, 58, 27] Operation: 54-27=27
Exploring Operation: 58-27=31, Resulting Numbers: [54, 22, 31]
Generated Node #0,2: 47:[54, 22, 31] Operation: 58-27=31
Exploring Operation: 54-22=32, Resulting Numbers: [27, 58, 32]
Generated Node #0,3: 47:[27, 58, 32] Operation: 54-22=32
Exploring Operation: 27+22=49, Resulting Numbers: [54, 58, 49]
Generated Node #0,4: 47:[54, 58, 49] Operation: 27+22=49
Moving to Node #0,4
Current State: 47:[54, 58, 49], Operations: ['27+22=49']
Exploring Operation: 54+58=112, Resulting Numbers: [49, 112]
Generated Node #0,4,0: 47:[49, 112] Operation: 54+58=112
Exploring Operation: 58-49=9, Resulting Numbers: [54, 9]
Generated Node #0,4,1: 47:[54, 9] Operation: 58-49=9
Exploring Operation: 54-49=5, Resulting Numbers: [58, 5]
Generated Node #0,4,2: 47:[58, 5] Operation: 54-49=5
Exploring Operation: 58-54=4, Resulting Numbers: [49, 4]
Generated Node #0,4,3: 47:[49, 4] Operation: 58-54=4
Exploring Operation: 54+49=103, Resulting Numbers: [58, 103]
Generated Node #0,4,4: 47:[58, 103] Operation: 54+49=103
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 47:[54, 9], Operations: ['27+22=49', '58-49=9']
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,47 unequal: No Solution
No 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: 47:[49, 4], Operations: ['27+22=49', '58-54=4']
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,47 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,47 unequal: No Solution
No 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: 47:[58, 5], Operations: ['27+22=49', '54-49=5']
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,47 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,47 unequal: No Solution
No 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: 47:[49, 112], Operations: ['27+22=49', '54+58=112']
Exploring Operation: 49+112=161, Resulting Numbers: [161]
161,47 unequal: No Solution
Exploring Operation: 49*112=5488, Resulting Numbers: [5488]
5488,47 unequal: No Solution
Exploring Operation: 112-49=63, Resulting Numbers: [63]
63,47 unequal: No Solution
No 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: 47:[58, 103], Operations: ['27+22=49', '54+49=103']
Exploring Operation: 58*103=5974, Resulting Numbers: [5974]
5974,47 unequal: No Solution
Exploring Operation: 58+103=161, Resulting Numbers: [161]
161,47 unequal: No Solution
Exploring Operation: 103-58=45, Resulting Numbers: [45]
45,47 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: 47:[27, 54, 36], Operations: ['58-22=36']
Exploring Operation: 36-27=9, Resulting Numbers: [54, 9]
Generated Node #0,0,0: 47:[54, 9] Operation: 36-27=9
Exploring Operation: 27+36=63, Resulting Numbers: [54, 63]
Generated Node #0,0,1: 47:[54, 63] Operation: 27+36=63
Exploring Operation: 27+54=81, Resulting Numbers: [36, 81]
Generated Node #0,0,2: 47:[36, 81] Operation: 27+54=81
Exploring Operation: 54-27=27, Resulting Numbers: [36, 27]
Generated Node #0,0,3: 47:[36, 27] Operation: 54-27=27
Exploring Operation: 54-36=18, Resulting Numbers: [27, 18]
Generated Node #0,0,4: 47:[27, 18] Operation: 54-36=18
Moving to Node #0,3
Current State: 47:[27, 58, 32], Operations: ['54-22=32']
Exploring Operation: 32-27=5, Resulting Numbers: [58, 5]
Generated Node #0,3,0: 47:[58, 5] Operation: 32-27=5
Exploring Operation: 27+32=59, Resulting Numbers: [58, 59]
Generated Node #0,3,1: 47:[58, 59] Operation: 27+32=59
Exploring Operation: 58-27=31, Resulting Numbers: [32, 31]
Generated Node #0,3,2: 47:[32, 31] Operation: 58-27=31
Exploring Operation: 58-32=26, Resulting Numbers: [27, 26]
Generated Node #0,3,3: 47:[27, 26] Operation: 58-32=26
Exploring Operation: 27+58=85, Resulting Numbers: [32, 85]
Generated Node #0,3,4: 47:[32, 85] Operation: 27+58=85
Moving to Node #0,2
Current State: 47:[54, 22, 31], Operations: ['58-27=31']
Exploring Operation: 54+22=76, Resulting Numbers: [31, 76]
Generated Node #0,2,0: 47:[31, 76] Operation: 54+22=76
Exploring Operation: 22+31=53, Resulting Numbers: [54, 53]
Generated Node #0,2,1: 47:[54, 53] Operation: 22+31=53
Exploring Operation: 54-22=32, Resulting Numbers: [31, 32]
Generated Node #0,2,2: 47:[31, 32] Operation: 54-22=32
Exploring Operation: 31-22=9, Resulting Numbers: [54, 9]
Generated Node #0,2,3: 47:[54, 9] Operation: 31-22=9
Exploring Operation: 54-31=23, Resulting Numbers: [22, 23]
Generated Node #0,2,4: 47:[22, 23] Operation: 54-31=23
Moving to Node #0,1
Current State: 47:[22, 58, 27], Operations: ['54-27=27']
Exploring Operation: 27-22=5, Resulting Numbers: [58, 5]
Generated Node #0,1,0: 47:[58, 5] Operation: 27-22=5
Exploring Operation: 58-27=31, Resulting Numbers: [22, 31]
Generated Node #0,1,1: 47:[22, 31] Operation: 58-27=31
Exploring Operation: 22+58=80, Resulting Numbers: [27, 80]
Generated Node #0,1,2: 47:[27, 80] Operation: 22+58=80
Exploring Operation: 58-22=36, Resulting Numbers: [27, 36]
Generated Node #0,1,3: 47:[27, 36] Operation: 58-22=36
Exploring Operation: 22+27=49, Resulting Numbers: [58, 49]
Generated Node #0,1,4: 47:[58, 49] Operation: 22+27=49
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 47:[58, 49], Operations: ['54-27=27', '22+27=49']
Exploring Operation: 58+49=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Exploring Operation: 58*49=2842, Resulting Numbers: [2842]
2842,47 unequal: No Solution
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,47 unequal: No Solution
No 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: 47:[27, 36], Operations: ['54-27=27', '58-22=36']
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,47 unequal: No Solution
No 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: 47:[22, 31], Operations: ['54-27=27', '58-27=31']
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 22*31=682, Resulting Numbers: [682]
682,47 unequal: No Solution
No 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: 47:[58, 5], Operations: ['54-27=27', '27-22=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,47 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,47 unequal: No Solution
No 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: 47:[27, 80], Operations: ['54-27=27', '22+58=80']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 27+80=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Exploring Operation: 27*80=2160, Resulting Numbers: [2160]
2160,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 47:[54, 53], Operations: ['58-27=31', '22+31=53']
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[58, 59], Operations: ['54-22=32', '27+32=59']
Exploring Operation: 58+59=117, Resulting Numbers: [117]
117,47 unequal: No Solution
Exploring Operation: 59-58=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 58*59=3422, Resulting Numbers: [3422]
3422,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[54, 63], Operations: ['58-22=36', '27+36=63']
Exploring Operation: 54+63=117, Resulting Numbers: [117]
117,47 unequal: No Solution
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 54*63=3402, Resulting Numbers: [3402]
3402,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[32, 31], Operations: ['54-22=32', '58-27=31']
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 32*31=992, Resulting Numbers: [992]
992,47 unequal: No Solution
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[31, 32], Operations: ['58-27=31', '54-22=32']
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,47 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[36, 27], Operations: ['58-22=36', '54-27=27']
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,47 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[27, 26], Operations: ['54-22=32', '58-32=26']
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,47 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[54, 9], Operations: ['58-27=31', '31-22=9']
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,47 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[31, 76], Operations: ['58-27=31', '54+22=76']
Exploring Operation: 31+76=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 31*76=2356, Resulting Numbers: [2356]
2356,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[54, 9], Operations: ['58-22=36', '36-27=9']
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,47 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[36, 81], Operations: ['58-22=36', '27+54=81']
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 36*81=2916, Resulting Numbers: [2916]
2916,47 unequal: No Solution
Exploring Operation: 36+81=117, Resulting Numbers: [117]
117,47 unequal: No Solution
Moving to Node #0,0,4
Current State: 47:[27, 18], Operations: ['58-22=36', '54-36=18']
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,47 unequal: No Solution
Moving to Node #0,2,4
Current State: 47:[22, 23], Operations: ['58-27=31', '54-31=23']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,47 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[58, 5], Operations: ['54-22=32', '32-27=5']
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,47 unequal: No Solution
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Moving to Node #0,3,4
Current State: 47:[32, 85], Operations: ['54-22=32', '27+58=85']
Exploring Operation: 32*85=2720, Resulting Numbers: [2720]
2720,47 unequal: No Solution
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 32+85=117, Resulting Numbers: [117]
117,47 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
19,
52,
11,
5
] | 62 | [
"11-5=6",
"19*6=114",
"114-52=62"
] | Current State: 62:[19, 52, 11, 5], Operations: []
Exploring Operation: 11-5=6, Resulting Numbers: [19, 52, 6]
Generated Node #2: [19, 52, 6] from Operation: 11-5=6
Current State: 62:[19, 52, 6], Operations: ['11-5=6']
Exploring Operation: 19*6=114, Resulting Numbers: [52, 114]
Generated Node #3: [52, 114] from Operation: 19*6=114
Current State: 62:[52, 114], Operations: ['11-5=6', '19*6=114']
Exploring Operation: 114-52=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[19, 52, 11, 5], Operations: []
Exploring Operation: 52-19=33, Resulting Numbers: [11, 5, 33]
Generated Node #0,0: 62:[11, 5, 33] Operation: 52-19=33
Moving to Node #0,0
Current State: 62:[11, 5, 33], Operations: ['52-19=33']
Exploring Operation: 33/11=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 62:[5, 3] Operation: 33/11=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[5, 3], Operations: ['52-19=33', '33/11=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
81,
11,
13
] | 88 | [
"5+81=86",
"13-11=2",
"86+2=88"
] | Current State: 88:[5, 81, 11, 13], Operations: []
Exploring Operation: 5+81=86, Resulting Numbers: [11, 13, 86]
Generated Node #2: [11, 13, 86] from Operation: 5+81=86
Current State: 88:[11, 13, 86], Operations: ['5+81=86']
Exploring Operation: 13-11=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 13-11=2
Current State: 88:[86, 2], Operations: ['5+81=86', '13-11=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[5, 81, 11, 13], Operations: []
Exploring Operation: 5+81=86, Resulting Numbers: [11, 13, 86]
Generated Node #0,0: 88:[11, 13, 86] Operation: 5+81=86
Moving to Node #0,0
Current State: 88:[11, 13, 86], Operations: ['5+81=86']
Exploring Operation: 13-11=2, Resulting Numbers: [86, 2]
Generated Node #0,0,0: 88:[86, 2] Operation: 13-11=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[86, 2], Operations: ['5+81=86', '13-11=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[5, 81, 11, 13], Operations: []
Exploring Operation: 5+81=86, Resulting Numbers: [11, 13, 86]
Generated Node #0,0: 88:[11, 13, 86] Operation: 5+81=86
Moving to Node #0,0
Current State: 88:[11, 13, 86], Operations: ['5+81=86']
Exploring Operation: 13-11=2, Resulting Numbers: [86, 2]
Generated Node #0,0,0: 88:[86, 2] Operation: 13-11=2
Moving to Node #0,0,0
Current State: 88:[86, 2], Operations: ['5+81=86', '13-11=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
50,
44,
19,
31
] | 62 | [
"50*31=1550",
"44-19=25",
"1550/25=62"
] | Current State: 62:[50, 44, 19, 31], Operations: []
Exploring Operation: 50*31=1550, Resulting Numbers: [44, 19, 1550]
Generated Node #2: [44, 19, 1550] from Operation: 50*31=1550
Current State: 62:[44, 19, 1550], Operations: ['50*31=1550']
Exploring Operation: 44-19=25, Resulting Numbers: [1550, 25]
Generated Node #3: [1550, 25] from Operation: 44-19=25
Current State: 62:[1550, 25], Operations: ['50*31=1550', '44-19=25']
Exploring Operation: 1550/25=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[50, 44, 19, 31], Operations: []
Exploring Operation: 50-19=31, Resulting Numbers: [44, 31, 31]
Generated Node #0,0: 62:[44, 31, 31] Operation: 50-19=31
Moving to Node #0,0
Current State: 62:[44, 31, 31], Operations: ['50-19=31']
Exploring Operation: 44-31=13, Resulting Numbers: [31, 13]
Generated Node #0,0,0: 62:[31, 13] Operation: 44-31=13
Moving to Node #0,0,0
Current State: 62:[31, 13], Operations: ['50-19=31', '44-31=13']
Exploring Operation: 31+13=44, Resulting Numbers: [44]
44,62 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
70,
54,
73,
13
] | 64 | [
"70+54=124",
"73-13=60",
"124-60=64"
] | Current State: 64:[70, 54, 73, 13], Operations: []
Exploring Operation: 70+54=124, Resulting Numbers: [73, 13, 124]
Generated Node #2: [73, 13, 124] from Operation: 70+54=124
Current State: 64:[73, 13, 124], Operations: ['70+54=124']
Exploring Operation: 73-13=60, Resulting Numbers: [124, 60]
Generated Node #3: [124, 60] from Operation: 73-13=60
Current State: 64:[124, 60], Operations: ['70+54=124', '73-13=60']
Exploring Operation: 124-60=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[70, 54, 73, 13], Operations: []
Exploring Operation: 70-54=16, Resulting Numbers: [73, 13, 16]
Generated Node #0,0: 64:[73, 13, 16] Operation: 70-54=16
Exploring Operation: 73-54=19, Resulting Numbers: [70, 13, 19]
Generated Node #0,1: 64:[70, 13, 19] Operation: 73-54=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[73, 13, 16], Operations: ['70-54=16']
Exploring Operation: 73-13=60, Resulting Numbers: [16, 60]
Generated Node #0,0,0: 64:[16, 60] Operation: 73-13=60
Exploring Operation: 73-16=57, Resulting Numbers: [13, 57]
Generated Node #0,0,1: 64:[13, 57] Operation: 73-16=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[16, 60], Operations: ['70-54=16', '73-13=60']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,64 unequal: No Solution
Exploring Operation: 16+60=76, Resulting Numbers: [76]
76,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[13, 57], Operations: ['70-54=16', '73-16=57']
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,64 unequal: No Solution
Exploring Operation: 13+57=70, Resulting Numbers: [70]
70,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[70, 13, 19], Operations: ['73-54=19']
Exploring Operation: 19-13=6, Resulting Numbers: [70, 6]
Generated Node #0,1,0: 64:[70, 6] Operation: 19-13=6
Exploring Operation: 13+19=32, Resulting Numbers: [70, 32]
Generated Node #0,1,1: 64:[70, 32] Operation: 13+19=32
Moving to Node #0,1,1
Current State: 64:[70, 32], Operations: ['73-54=19', '13+19=32']
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 70+32=102, Resulting Numbers: [102]
102,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[70, 6], Operations: ['73-54=19', '19-13=6']
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[70, 54, 73, 13], Operations: []
Exploring Operation: 73-54=19, Resulting Numbers: [70, 13, 19]
Generated Node #0,1: 64:[70, 13, 19] Operation: 73-54=19
Moving to Node #0,1
Current State: 64:[70, 13, 19], Operations: ['73-54=19']
Exploring Operation: 19-13=6, Resulting Numbers: [70, 6]
Generated Node #0,1,0: 64:[70, 6] Operation: 19-13=6
Moving to Node #0,1,0
Current State: 64:[70, 6], Operations: ['73-54=19', '19-13=6']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
12,
50,
12,
13
] | 38 | [
"50-12=38",
"13-12=1",
"38*1=38"
] | Current State: 38:[12, 50, 12, 13], Operations: []
Exploring Operation: 50-12=38, Resulting Numbers: [13, 38]
Generated Node #2: [13, 38] from Operation: 50-12=38
Current State: 38:[13, 38], Operations: ['50-12=38']
Exploring Operation: 13-12=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 13-12=1
Current State: 38:[38, 1], Operations: ['50-12=38', '13-12=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[12, 50, 12, 13], Operations: []
Exploring Operation: 50-12=38, Resulting Numbers: [12, 13, 38]
Generated Node #0,0: 38:[12, 13, 38] Operation: 50-12=38
Moving to Node #0,0
Current State: 38:[12, 13, 38], Operations: ['50-12=38']
Exploring Operation: 13-12=1, Resulting Numbers: [38, 1]
Generated Node #0,0,0: 38:[38, 1] Operation: 13-12=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[38, 1], Operations: ['50-12=38', '13-12=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[12, 50, 12, 13], Operations: []
Exploring Operation: 50-12=38, Resulting Numbers: [12, 13, 38]
Generated Node #0,0: 38:[12, 13, 38] Operation: 50-12=38
Moving to Node #0,0
Current State: 38:[12, 13, 38], Operations: ['50-12=38']
Exploring Operation: 13-12=1, Resulting Numbers: [38, 1]
Generated Node #0,0,0: 38:[38, 1] Operation: 13-12=1
Moving to Node #0,0,0
Current State: 38:[38, 1], Operations: ['50-12=38', '13-12=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
89,
47,
65,
7
] | 59 | [
"89-47=42",
"42/7=6",
"65-6=59"
] | Current State: 59:[89, 47, 65, 7], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [65, 7, 42]
Generated Node #2: [65, 7, 42] from Operation: 89-47=42
Current State: 59:[65, 7, 42], Operations: ['89-47=42']
Exploring Operation: 42/7=6, Resulting Numbers: [65, 6]
Generated Node #3: [65, 6] from Operation: 42/7=6
Current State: 59:[65, 6], Operations: ['89-47=42', '42/7=6']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[89, 47, 65, 7], Operations: []
Exploring Operation: 47+7=54, Resulting Numbers: [89, 65, 54]
Generated Node #0,0: 59:[89, 65, 54] Operation: 47+7=54
Exploring Operation: 89-7=82, Resulting Numbers: [47, 65, 82]
Generated Node #0,1: 59:[47, 65, 82] Operation: 89-7=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[89, 65, 54], Operations: ['47+7=54']
Exploring Operation: 89-65=24, Resulting Numbers: [54, 24]
Generated Node #0,0,0: 59:[54, 24] Operation: 89-65=24
Exploring Operation: 89-54=35, Resulting Numbers: [65, 35]
Generated Node #0,0,1: 59:[65, 35] Operation: 89-54=35
Moving to Node #0,0,1
Current State: 59:[65, 35], Operations: ['47+7=54', '89-54=35']
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[54, 24], Operations: ['47+7=54', '89-65=24']
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[47, 65, 82], Operations: ['89-7=82']
Exploring Operation: 82-65=17, Resulting Numbers: [47, 17]
Generated Node #0,1,0: 59:[47, 17] Operation: 82-65=17
Exploring Operation: 82-47=35, Resulting Numbers: [65, 35]
Generated Node #0,1,1: 59:[65, 35] Operation: 82-47=35
Moving to Node #0,1,1
Current State: 59:[65, 35], Operations: ['89-7=82', '82-47=35']
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,59 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[47, 17], Operations: ['89-7=82', '82-65=17']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,59 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 |
[
8,
51,
59,
13
] | 22 | [
"13-8=5",
"51+59=110",
"110/5=22"
] | Current State: 22:[8, 51, 59, 13], Operations: []
Exploring Operation: 13-8=5, Resulting Numbers: [51, 59, 5]
Generated Node #2: [51, 59, 5] from Operation: 13-8=5
Current State: 22:[51, 59, 5], Operations: ['13-8=5']
Exploring Operation: 51+59=110, Resulting Numbers: [5, 110]
Generated Node #3: [5, 110] from Operation: 51+59=110
Current State: 22:[5, 110], Operations: ['13-8=5', '51+59=110']
Exploring Operation: 110/5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[8, 51, 59, 13], Operations: []
Exploring Operation: 59-51=8, Resulting Numbers: [8, 13, 8]
Generated Node #0,0: 22:[8, 13, 8] Operation: 59-51=8
Moving to Node #0,0
Current State: 22:[8, 13, 8], Operations: ['59-51=8']
Exploring Operation: 8/8=1, Resulting Numbers: [13, 1]
Generated Node #0,0,0: 22:[13, 1] Operation: 8/8=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[13, 1], Operations: ['59-51=8', '8/8=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
81,
39,
48
] | 27 | [
"81-39=42",
"42/2=21",
"48-21=27"
] | Current State: 27:[2, 81, 39, 48], Operations: []
Exploring Operation: 81-39=42, Resulting Numbers: [2, 48, 42]
Generated Node #2: [2, 48, 42] from Operation: 81-39=42
Current State: 27:[2, 48, 42], Operations: ['81-39=42']
Exploring Operation: 42/2=21, Resulting Numbers: [48, 21]
Generated Node #3: [48, 21] from Operation: 42/2=21
Current State: 27:[48, 21], Operations: ['81-39=42', '42/2=21']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[2, 81, 39, 48], Operations: []
Exploring Operation: 81-39=42, Resulting Numbers: [2, 48, 42]
Generated Node #0,0: 27:[2, 48, 42] Operation: 81-39=42
Exploring Operation: 48/2=24, Resulting Numbers: [81, 39, 24]
Generated Node #0,1: 27:[81, 39, 24] Operation: 48/2=24
Exploring Operation: 81-48=33, Resulting Numbers: [2, 39, 33]
Generated Node #0,2: 27:[2, 39, 33] Operation: 81-48=33
Exploring Operation: 48-39=9, Resulting Numbers: [2, 81, 9]
Generated Node #0,3: 27:[2, 81, 9] Operation: 48-39=9
Exploring Operation: 81-2=79, Resulting Numbers: [39, 48, 79]
Generated Node #0,4: 27:[39, 48, 79] Operation: 81-2=79
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[2, 39, 33], Operations: ['81-48=33']
Exploring Operation: 39-2=37, Resulting Numbers: [33, 37]
Generated Node #0,2,0: 27:[33, 37] Operation: 39-2=37
Exploring Operation: 39-33=6, Resulting Numbers: [2, 6]
Generated Node #0,2,1: 27:[2, 6] Operation: 39-33=6
Exploring Operation: 2+39=41, Resulting Numbers: [33, 41]
Generated Node #0,2,2: 27:[33, 41] Operation: 2+39=41
Exploring Operation: 2+33=35, Resulting Numbers: [39, 35]
Generated Node #0,2,3: 27:[39, 35] Operation: 2+33=35
Exploring Operation: 33-2=31, Resulting Numbers: [39, 31]
Generated Node #0,2,4: 27:[39, 31] Operation: 33-2=31
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[2, 6], Operations: ['81-48=33', '39-33=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,27 unequal: No Solution
No 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: 27:[33, 37], Operations: ['81-48=33', '39-2=37']
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 33*37=1221, Resulting Numbers: [1221]
1221,27 unequal: No Solution
No 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: 27:[39, 31], Operations: ['81-48=33', '33-2=31']
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 39*31=1209, Resulting Numbers: [1209]
1209,27 unequal: No Solution
No 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: 27:[33, 41], Operations: ['81-48=33', '2+39=41']
Exploring Operation: 33+41=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 33*41=1353, Resulting Numbers: [1353]
1353,27 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,27 unequal: No Solution
No 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: 27:[39, 35], Operations: ['81-48=33', '2+33=35']
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 39*35=1365, Resulting Numbers: [1365]
1365,27 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: 27:[2, 48, 42], Operations: ['81-39=42']
Exploring Operation: 48-2=46, Resulting Numbers: [42, 46]
Generated Node #0,0,0: 27:[42, 46] Operation: 48-2=46
Exploring Operation: 48/2=24, Resulting Numbers: [42, 24]
Generated Node #0,0,1: 27:[42, 24] Operation: 48/2=24
Exploring Operation: 48-42=6, Resulting Numbers: [2, 6]
Generated Node #0,0,2: 27:[2, 6] Operation: 48-42=6
Exploring Operation: 42-2=40, Resulting Numbers: [48, 40]
Generated Node #0,0,3: 27:[48, 40] Operation: 42-2=40
Exploring Operation: 42/2=21, Resulting Numbers: [48, 21]
Generated Node #0,0,4: 27:[48, 21] Operation: 42/2=21
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[2, 6], Operations: ['81-39=42', '48-42=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,27 unequal: No Solution
No 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: 27:[42, 24], Operations: ['81-39=42', '48/2=24']
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,27 unequal: No Solution
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,27 unequal: No Solution
No 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: 27:[48, 21], Operations: ['81-39=42', '42/2=21']
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,27 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[2, 81, 39, 48], Operations: []
Exploring Operation: 81-39=42, Resulting Numbers: [2, 48, 42]
Generated Node #0,0: 27:[2, 48, 42] Operation: 81-39=42
Moving to Node #0,0
Current State: 27:[2, 48, 42], Operations: ['81-39=42']
Exploring Operation: 42/2=21, Resulting Numbers: [48, 21]
Generated Node #0,0,4: 27:[48, 21] Operation: 42/2=21
Moving to Node #0,0,4
Current State: 27:[48, 21], Operations: ['81-39=42', '42/2=21']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
62,
32,
85,
1
] | 55 | [
"62-32=30",
"85*1=85",
"85-30=55"
] | Current State: 55:[62, 32, 85, 1], Operations: []
Exploring Operation: 62-32=30, Resulting Numbers: [85, 1, 30]
Generated Node #2: [85, 1, 30] from Operation: 62-32=30
Current State: 55:[85, 1, 30], Operations: ['62-32=30']
Exploring Operation: 85*1=85, Resulting Numbers: [30, 85]
Generated Node #3: [30, 85] from Operation: 85*1=85
Current State: 55:[30, 85], Operations: ['62-32=30', '85*1=85']
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[62, 32, 85, 1], Operations: []
Exploring Operation: 32-1=31, Resulting Numbers: [62, 85, 31]
Generated Node #0,0: 55:[62, 85, 31] Operation: 32-1=31
Exploring Operation: 62-32=30, Resulting Numbers: [85, 1, 30]
Generated Node #0,1: 55:[85, 1, 30] Operation: 62-32=30
Exploring Operation: 62-1=61, Resulting Numbers: [32, 85, 61]
Generated Node #0,2: 55:[32, 85, 61] Operation: 62-1=61
Exploring Operation: 85-32=53, Resulting Numbers: [62, 1, 53]
Generated Node #0,3: 55:[62, 1, 53] Operation: 85-32=53
Exploring Operation: 85-62=23, Resulting Numbers: [32, 1, 23]
Generated Node #0,4: 55:[32, 1, 23] Operation: 85-62=23
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[62, 1, 53], Operations: ['85-32=53']
Exploring Operation: 62-1=61, Resulting Numbers: [53, 61]
Generated Node #0,3,0: 55:[53, 61] Operation: 62-1=61
Exploring Operation: 1+53=54, Resulting Numbers: [62, 54]
Generated Node #0,3,1: 55:[62, 54] Operation: 1+53=54
Exploring Operation: 62*1=62, Resulting Numbers: [53, 62]
Generated Node #0,3,2: 55:[53, 62] Operation: 62*1=62
Exploring Operation: 62/1=62, Resulting Numbers: [53, 62]
Generated Node #0,3,3: 55:[53, 62] Operation: 62/1=62
Exploring Operation: 62-53=9, Resulting Numbers: [1, 9]
Generated Node #0,3,4: 55:[1, 9] Operation: 62-53=9
Moving to Node #0,3,4
Current State: 55:[1, 9], Operations: ['85-32=53', '62-53=9']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[62, 54], Operations: ['85-32=53', '1+53=54']
Exploring Operation: 62+54=116, Resulting Numbers: [116]
116,55 unequal: No Solution
Exploring Operation: 62*54=3348, Resulting Numbers: [3348]
3348,55 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[53, 61], Operations: ['85-32=53', '62-1=61']
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 53*61=3233, Resulting Numbers: [3233]
3233,55 unequal: No Solution
Exploring Operation: 53+61=114, Resulting Numbers: [114]
114,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[53, 62], Operations: ['85-32=53', '62*1=62']
Exploring Operation: 53+62=115, Resulting Numbers: [115]
115,55 unequal: No Solution
Exploring Operation: 62-53=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 53*62=3286, Resulting Numbers: [3286]
3286,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[53, 62], Operations: ['85-32=53', '62/1=62']
Exploring Operation: 53+62=115, Resulting Numbers: [115]
115,55 unequal: No Solution
Exploring Operation: 62-53=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 53*62=3286, Resulting Numbers: [3286]
3286,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 55:[32, 1, 23], Operations: ['85-62=23']
Exploring Operation: 32+23=55, Resulting Numbers: [1, 55]
Generated Node #0,4,0: 55:[1, 55] Operation: 32+23=55
Exploring Operation: 32-23=9, Resulting Numbers: [1, 9]
Generated Node #0,4,1: 55:[1, 9] Operation: 32-23=9
Exploring Operation: 23-1=22, Resulting Numbers: [32, 22]
Generated Node #0,4,2: 55:[32, 22] Operation: 23-1=22
Exploring Operation: 32*1=32, Resulting Numbers: [23, 32]
Generated Node #0,4,3: 55:[23, 32] Operation: 32*1=32
Exploring Operation: 32-1=31, Resulting Numbers: [23, 31]
Generated Node #0,4,4: 55:[23, 31] Operation: 32-1=31
Moving to Node #0,4,0
Current State: 55:[1, 55], Operations: ['85-62=23', '32+23=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[62, 32, 85, 1], Operations: []
Exploring Operation: 85-62=23, Resulting Numbers: [32, 1, 23]
Generated Node #0,4: 55:[32, 1, 23] Operation: 85-62=23
Moving to Node #0,4
Current State: 55:[32, 1, 23], Operations: ['85-62=23']
Exploring Operation: 32+23=55, Resulting Numbers: [1, 55]
Generated Node #0,4,0: 55:[1, 55] Operation: 32+23=55
Moving to Node #0,4,0
Current State: 55:[1, 55], Operations: ['85-62=23', '32+23=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
39,
1,
82,
5
] | 39 | [
"39-1=38",
"82-5=77",
"77-38=39"
] | Current State: 39:[39, 1, 82, 5], Operations: []
Exploring Operation: 39-1=38, Resulting Numbers: [82, 5, 38]
Generated Node #2: [82, 5, 38] from Operation: 39-1=38
Current State: 39:[82, 5, 38], Operations: ['39-1=38']
Exploring Operation: 82-5=77, Resulting Numbers: [38, 77]
Generated Node #3: [38, 77] from Operation: 82-5=77
Current State: 39:[38, 77], Operations: ['39-1=38', '82-5=77']
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[39, 1, 82, 5], Operations: []
Exploring Operation: 82-5=77, Resulting Numbers: [39, 1, 77]
Generated Node #0,0: 39:[39, 1, 77] Operation: 82-5=77
Exploring Operation: 82-1=81, Resulting Numbers: [39, 5, 81]
Generated Node #0,1: 39:[39, 5, 81] Operation: 82-1=81
Exploring Operation: 82-39=43, Resulting Numbers: [1, 5, 43]
Generated Node #0,2: 39:[1, 5, 43] Operation: 82-39=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[1, 5, 43], Operations: ['82-39=43']
Exploring Operation: 5-1=4, Resulting Numbers: [43, 4]
Generated Node #0,2,0: 39:[43, 4] Operation: 5-1=4
Exploring Operation: 43-5=38, Resulting Numbers: [1, 38]
Generated Node #0,2,1: 39:[1, 38] Operation: 43-5=38
Exploring Operation: 43-1=42, Resulting Numbers: [5, 42]
Generated Node #0,2,2: 39:[5, 42] Operation: 43-1=42
Moving to Node #0,2,1
Current State: 39:[1, 38], Operations: ['82-39=43', '43-5=38']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[39, 1, 82, 5], Operations: []
Exploring Operation: 82-39=43, Resulting Numbers: [1, 5, 43]
Generated Node #0,2: 39:[1, 5, 43] Operation: 82-39=43
Moving to Node #0,2
Current State: 39:[1, 5, 43], Operations: ['82-39=43']
Exploring Operation: 43-5=38, Resulting Numbers: [1, 38]
Generated Node #0,2,1: 39:[1, 38] Operation: 43-5=38
Moving to Node #0,2,1
Current State: 39:[1, 38], Operations: ['82-39=43', '43-5=38']
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
52,
74,
40,
61
] | 44 | [
"74-61=13",
"52/13=4",
"40+4=44"
] | Current State: 44:[52, 74, 40, 61], Operations: []
Exploring Operation: 74-61=13, Resulting Numbers: [52, 40, 13]
Generated Node #2: [52, 40, 13] from Operation: 74-61=13
Current State: 44:[52, 40, 13], Operations: ['74-61=13']
Exploring Operation: 52/13=4, Resulting Numbers: [40, 4]
Generated Node #3: [40, 4] from Operation: 52/13=4
Current State: 44:[40, 4], Operations: ['74-61=13', '52/13=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[52, 74, 40, 61], Operations: []
Exploring Operation: 74-52=22, Resulting Numbers: [40, 61, 22]
Generated Node #0,0: 44:[40, 61, 22] Operation: 74-52=22
Exploring Operation: 74-61=13, Resulting Numbers: [52, 40, 13]
Generated Node #0,1: 44:[52, 40, 13] Operation: 74-61=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[52, 40, 13], Operations: ['74-61=13']
Exploring Operation: 52-40=12, Resulting Numbers: [13, 12]
Generated Node #0,1,0: 44:[13, 12] Operation: 52-40=12
Exploring Operation: 52/13=4, Resulting Numbers: [40, 4]
Generated Node #0,1,1: 44:[40, 4] Operation: 52/13=4
Moving to Node #0,1,0
Current State: 44:[13, 12], Operations: ['74-61=13', '52-40=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[40, 4], Operations: ['74-61=13', '52/13=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[52, 74, 40, 61], Operations: []
Exploring Operation: 74-61=13, Resulting Numbers: [52, 40, 13]
Generated Node #0,1: 44:[52, 40, 13] Operation: 74-61=13
Moving to Node #0,1
Current State: 44:[52, 40, 13], Operations: ['74-61=13']
Exploring Operation: 52/13=4, Resulting Numbers: [40, 4]
Generated Node #0,1,1: 44:[40, 4] Operation: 52/13=4
Moving to Node #0,1,1
Current State: 44:[40, 4], Operations: ['74-61=13', '52/13=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
20,
99,
93,
37
] | 30 | [
"20*93=1860",
"99-37=62",
"1860/62=30"
] | Current State: 30:[20, 99, 93, 37], Operations: []
Exploring Operation: 20*93=1860, Resulting Numbers: [99, 37, 1860]
Generated Node #2: [99, 37, 1860] from Operation: 20*93=1860
Current State: 30:[99, 37, 1860], Operations: ['20*93=1860']
Exploring Operation: 99-37=62, Resulting Numbers: [1860, 62]
Generated Node #3: [1860, 62] from Operation: 99-37=62
Current State: 30:[1860, 62], Operations: ['20*93=1860', '99-37=62']
Exploring Operation: 1860/62=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[20, 99, 93, 37], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [20, 37, 6]
Generated Node #0,0: 30:[20, 37, 6] Operation: 99-93=6
Moving to Node #0,0
Current State: 30:[20, 37, 6], Operations: ['99-93=6']
Exploring Operation: 37-20=17, Resulting Numbers: [6, 17]
Generated Node #0,0,0: 30:[6, 17] Operation: 37-20=17
Moving to Node #0,0,0
Current State: 30:[6, 17], Operations: ['99-93=6', '37-20=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,30 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
41,
6,
37,
64
] | 32 | [
"41-6=35",
"37-35=2",
"64/2=32"
] | Current State: 32:[41, 6, 37, 64], Operations: []
Exploring Operation: 41-6=35, Resulting Numbers: [37, 64, 35]
Generated Node #2: [37, 64, 35] from Operation: 41-6=35
Current State: 32:[37, 64, 35], Operations: ['41-6=35']
Exploring Operation: 37-35=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 37-35=2
Current State: 32:[64, 2], Operations: ['41-6=35', '37-35=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[41, 6, 37, 64], Operations: []
Exploring Operation: 64-41=23, Resulting Numbers: [6, 37, 23]
Generated Node #0,0: 32:[6, 37, 23] Operation: 64-41=23
Moving to Node #0,0
Current State: 32:[6, 37, 23], Operations: ['64-41=23']
Exploring Operation: 37-23=14, Resulting Numbers: [6, 14]
Generated Node #0,0,0: 32:[6, 14] Operation: 37-23=14
Moving to Node #0,0,0
Current State: 32:[6, 14], Operations: ['64-41=23', '37-23=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,32 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
16,
58,
67
] | 59 | [
"58-16=42",
"3*42=126",
"126-67=59"
] | Current State: 59:[3, 16, 58, 67], Operations: []
Exploring Operation: 58-16=42, Resulting Numbers: [3, 67, 42]
Generated Node #2: [3, 67, 42] from Operation: 58-16=42
Current State: 59:[3, 67, 42], Operations: ['58-16=42']
Exploring Operation: 3*42=126, Resulting Numbers: [67, 126]
Generated Node #3: [67, 126] from Operation: 3*42=126
Current State: 59:[67, 126], Operations: ['58-16=42', '3*42=126']
Exploring Operation: 126-67=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[3, 16, 58, 67], Operations: []
Exploring Operation: 67-3=64, Resulting Numbers: [16, 58, 64]
Generated Node #0,0: 59:[16, 58, 64] Operation: 67-3=64
Exploring Operation: 3+16=19, Resulting Numbers: [58, 67, 19]
Generated Node #0,1: 59:[58, 67, 19] Operation: 3+16=19
Exploring Operation: 16-3=13, Resulting Numbers: [58, 67, 13]
Generated Node #0,2: 59:[58, 67, 13] Operation: 16-3=13
Exploring Operation: 3+58=61, Resulting Numbers: [16, 67, 61]
Generated Node #0,3: 59:[16, 67, 61] Operation: 3+58=61
Exploring Operation: 3*16=48, Resulting Numbers: [58, 67, 48]
Generated Node #0,4: 59:[58, 67, 48] Operation: 3*16=48
Moving to Node #0,4
Current State: 59:[58, 67, 48], Operations: ['3*16=48']
Exploring Operation: 58-48=10, Resulting Numbers: [67, 10]
Generated Node #0,4,0: 59:[67, 10] Operation: 58-48=10
Exploring Operation: 67-48=19, Resulting Numbers: [58, 19]
Generated Node #0,4,1: 59:[58, 19] Operation: 67-48=19
Exploring Operation: 67+48=115, Resulting Numbers: [58, 115]
Generated Node #0,4,2: 59:[58, 115] Operation: 67+48=115
Exploring Operation: 67-58=9, Resulting Numbers: [48, 9]
Generated Node #0,4,3: 59:[48, 9] Operation: 67-58=9
Exploring Operation: 58+48=106, Resulting Numbers: [67, 106]
Generated Node #0,4,4: 59:[67, 106] Operation: 58+48=106
Moving to Node #0,1
Current State: 59:[58, 67, 19], Operations: ['3+16=19']
Exploring Operation: 58+19=77, Resulting Numbers: [67, 77]
Generated Node #0,1,0: 59:[67, 77] Operation: 58+19=77
Exploring Operation: 67-19=48, Resulting Numbers: [58, 48]
Generated Node #0,1,1: 59:[58, 48] Operation: 67-19=48
Exploring Operation: 58-19=39, Resulting Numbers: [67, 39]
Generated Node #0,1,2: 59:[67, 39] Operation: 58-19=39
Exploring Operation: 67+19=86, Resulting Numbers: [58, 86]
Generated Node #0,1,3: 59:[58, 86] Operation: 67+19=86
Exploring Operation: 67-58=9, Resulting Numbers: [19, 9]
Generated Node #0,1,4: 59:[19, 9] Operation: 67-58=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[58, 48], Operations: ['3+16=19', '67-19=48']
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,59 unequal: No Solution
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[67, 77], Operations: ['3+16=19', '58+19=77']
Exploring Operation: 67+77=144, Resulting Numbers: [144]
144,59 unequal: No Solution
Exploring Operation: 67*77=5159, Resulting Numbers: [5159]
5159,59 unequal: No Solution
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[67, 39], Operations: ['3+16=19', '58-19=39']
Exploring Operation: 67-39=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 67+39=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 67*39=2613, Resulting Numbers: [2613]
2613,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 59:[58, 86], Operations: ['3+16=19', '67+19=86']
Exploring Operation: 58+86=144, Resulting Numbers: [144]
144,59 unequal: No Solution
Exploring Operation: 58*86=4988, Resulting Numbers: [4988]
4988,59 unequal: No Solution
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 59:[19, 9], Operations: ['3+16=19', '67-58=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,59 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: 59:[16, 58, 64], Operations: ['67-3=64']
Exploring Operation: 16+64=80, Resulting Numbers: [58, 80]
Generated Node #0,0,0: 59:[58, 80] Operation: 16+64=80
Exploring Operation: 16+58=74, Resulting Numbers: [64, 74]
Generated Node #0,0,1: 59:[64, 74] Operation: 16+58=74
Exploring Operation: 64/16=4, Resulting Numbers: [58, 4]
Generated Node #0,0,2: 59:[58, 4] Operation: 64/16=4
Exploring Operation: 58-16=42, Resulting Numbers: [64, 42]
Generated Node #0,0,3: 59:[64, 42] Operation: 58-16=42
Exploring Operation: 64-16=48, Resulting Numbers: [58, 48]
Generated Node #0,0,4: 59:[58, 48] Operation: 64-16=48
Moving to Node #0,3
Current State: 59:[16, 67, 61], Operations: ['3+58=61']
Exploring Operation: 61-16=45, Resulting Numbers: [67, 45]
Generated Node #0,3,0: 59:[67, 45] Operation: 61-16=45
Exploring Operation: 67-61=6, Resulting Numbers: [16, 6]
Generated Node #0,3,1: 59:[16, 6] Operation: 67-61=6
Exploring Operation: 16+67=83, Resulting Numbers: [61, 83]
Generated Node #0,3,2: 59:[61, 83] Operation: 16+67=83
Exploring Operation: 16+61=77, Resulting Numbers: [67, 77]
Generated Node #0,3,3: 59:[67, 77] Operation: 16+61=77
Exploring Operation: 67-16=51, Resulting Numbers: [61, 51]
Generated Node #0,3,4: 59:[61, 51] Operation: 67-16=51
Moving to Node #0,2
Current State: 59:[58, 67, 13], Operations: ['16-3=13']
Exploring Operation: 58+13=71, Resulting Numbers: [67, 71]
Generated Node #0,2,0: 59:[67, 71] Operation: 58+13=71
Exploring Operation: 67+13=80, Resulting Numbers: [58, 80]
Generated Node #0,2,1: 59:[58, 80] Operation: 67+13=80
Exploring Operation: 67-58=9, Resulting Numbers: [13, 9]
Generated Node #0,2,2: 59:[13, 9] Operation: 67-58=9
Exploring Operation: 67-13=54, Resulting Numbers: [58, 54]
Generated Node #0,2,3: 59:[58, 54] Operation: 67-13=54
Exploring Operation: 58-13=45, Resulting Numbers: [67, 45]
Generated Node #0,2,4: 59:[67, 45] Operation: 58-13=45
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[58, 54], Operations: ['16-3=13', '67-13=54']
Exploring Operation: 58+54=112, Resulting Numbers: [112]
112,59 unequal: No Solution
Exploring Operation: 58*54=3132, Resulting Numbers: [3132]
3132,59 unequal: No Solution
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[67, 71], Operations: ['16-3=13', '58+13=71']
Exploring Operation: 67+71=138, Resulting Numbers: [138]
138,59 unequal: No Solution
Exploring Operation: 67*71=4757, Resulting Numbers: [4757]
4757,59 unequal: No Solution
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[58, 80], Operations: ['16-3=13', '67+13=80']
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,59 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 58*80=4640, Resulting Numbers: [4640]
4640,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 59:[67, 45], Operations: ['16-3=13', '58-13=45']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 67+45=112, Resulting Numbers: [112]
112,59 unequal: No Solution
Exploring Operation: 67*45=3015, Resulting Numbers: [3015]
3015,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[13, 9], Operations: ['16-3=13', '67-58=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 59:[61, 51], Operations: ['3+58=61', '67-16=51']
Exploring Operation: 61*51=3111, Resulting Numbers: [3111]
3111,59 unequal: No Solution
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 61+51=112, Resulting Numbers: [112]
112,59 unequal: No Solution
Moving to Node #0,0,4
Current State: 59:[58, 48], Operations: ['67-3=64', '64-16=48']
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,59 unequal: No Solution
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[64, 74], Operations: ['67-3=64', '16+58=74']
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 64+74=138, Resulting Numbers: [138]
138,59 unequal: No Solution
Exploring Operation: 64*74=4736, Resulting Numbers: [4736]
4736,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[67, 45], Operations: ['3+58=61', '61-16=45']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 67+45=112, Resulting Numbers: [112]
112,59 unequal: No Solution
Exploring Operation: 67*45=3015, Resulting Numbers: [3015]
3015,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[58, 80], Operations: ['67-3=64', '16+64=80']
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,59 unequal: No Solution
Exploring Operation: 58*80=4640, Resulting Numbers: [4640]
4640,59 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[64, 42], Operations: ['67-3=64', '58-16=42']
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 64+42=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 64*42=2688, Resulting Numbers: [2688]
2688,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[67, 77], Operations: ['3+58=61', '16+61=77']
Exploring Operation: 67+77=144, Resulting Numbers: [144]
144,59 unequal: No Solution
Exploring Operation: 67*77=5159, Resulting Numbers: [5159]
5159,59 unequal: No Solution
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[61, 83], Operations: ['3+58=61', '16+67=83']
Exploring Operation: 83-61=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 61*83=5063, Resulting Numbers: [5063]
5063,59 unequal: No Solution
Exploring Operation: 61+83=144, Resulting Numbers: [144]
144,59 unequal: No Solution
Moving to Node #0,4,1
Current State: 59:[58, 19], Operations: ['3*16=48', '67-48=19']
Exploring Operation: 58*19=1102, Resulting Numbers: [1102]
1102,59 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[67, 106], Operations: ['3*16=48', '58+48=106']
Exploring Operation: 67*106=7102, Resulting Numbers: [7102]
7102,59 unequal: No Solution
Exploring Operation: 106-67=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 67+106=173, Resulting Numbers: [173]
173,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[58, 4], Operations: ['67-3=64', '64/16=4']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Exploring Operation: 58*4=232, Resulting Numbers: [232]
232,59 unequal: No Solution
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[58, 115], Operations: ['3*16=48', '67+48=115']
Exploring Operation: 58*115=6670, Resulting Numbers: [6670]
6670,59 unequal: No Solution
Exploring Operation: 58+115=173, Resulting Numbers: [173]
173,59 unequal: No Solution
Exploring Operation: 115-58=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[67, 10], Operations: ['3*16=48', '58-48=10']
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 67*10=670, Resulting Numbers: [670]
670,59 unequal: No Solution
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Moving to Node #0,4,3
Current State: 59:[48, 9], Operations: ['3*16=48', '67-58=9']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[16, 6], Operations: ['3+58=61', '67-61=6']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,59 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
49,
78,
8,
54
] | 46 | [
"78-54=24",
"24/8=3",
"49-3=46"
] | Current State: 46:[49, 78, 8, 54], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [49, 8, 24]
Generated Node #2: [49, 8, 24] from Operation: 78-54=24
Current State: 46:[49, 8, 24], Operations: ['78-54=24']
Exploring Operation: 24/8=3, Resulting Numbers: [49, 3]
Generated Node #3: [49, 3] from Operation: 24/8=3
Current State: 46:[49, 3], Operations: ['78-54=24', '24/8=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[49, 78, 8, 54], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [49, 8, 24]
Generated Node #0,0: 46:[49, 8, 24] Operation: 78-54=24
Exploring Operation: 78-49=29, Resulting Numbers: [8, 54, 29]
Generated Node #0,1: 46:[8, 54, 29] Operation: 78-49=29
Moving to Node #0,0
Current State: 46:[49, 8, 24], Operations: ['78-54=24']
Exploring Operation: 24/8=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 46:[49, 3] Operation: 24/8=3
Exploring Operation: 49-8=41, Resulting Numbers: [24, 41]
Generated Node #0,0,1: 46:[24, 41] Operation: 49-8=41
Moving to Node #0,1
Current State: 46:[8, 54, 29], Operations: ['78-49=29']
Exploring Operation: 54-8=46, Resulting Numbers: [29, 46]
Generated Node #0,1,0: 46:[29, 46] Operation: 54-8=46
Exploring Operation: 54-29=25, Resulting Numbers: [8, 25]
Generated Node #0,1,1: 46:[8, 25] Operation: 54-29=25
Moving to Node #0,0,0
Current State: 46:[49, 3], Operations: ['78-54=24', '24/8=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[49, 78, 8, 54], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [49, 8, 24]
Generated Node #0,0: 46:[49, 8, 24] Operation: 78-54=24
Moving to Node #0,0
Current State: 46:[49, 8, 24], Operations: ['78-54=24']
Exploring Operation: 24/8=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 46:[49, 3] Operation: 24/8=3
Moving to Node #0,0,0
Current State: 46:[49, 3], Operations: ['78-54=24', '24/8=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
60,
98,
52,
52
] | 10 | [
"98-52=46",
"52-46=6",
"60/6=10"
] | Current State: 10:[60, 98, 52, 52], Operations: []
Exploring Operation: 98-52=46, Resulting Numbers: [60, 46]
Generated Node #2: [60, 46] from Operation: 98-52=46
Current State: 10:[60, 46], Operations: ['98-52=46']
Exploring Operation: 52-46=6, Resulting Numbers: [60, 6]
Generated Node #3: [60, 6] from Operation: 52-46=6
Current State: 10:[60, 6], Operations: ['98-52=46', '52-46=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[60, 98, 52, 52], Operations: []
Exploring Operation: 98-60=38, Resulting Numbers: [52, 52, 38]
Generated Node #0,0: 10:[52, 52, 38] Operation: 98-60=38
Exploring Operation: 98-52=46, Resulting Numbers: [60, 52, 46]
Generated Node #0,1: 10:[60, 52, 46] Operation: 98-52=46
Exploring Operation: 98-52=46, Resulting Numbers: [60, 52, 46]
Generated Node #0,2: 10:[60, 52, 46] Operation: 98-52=46
Moving to Node #0,0
Current State: 10:[52, 52, 38], Operations: ['98-60=38']
Exploring Operation: 52/52=1, Resulting Numbers: [38, 1]
Generated Node #0,0,0: 10:[38, 1] Operation: 52/52=1
Exploring Operation: 52-52=0, Resulting Numbers: [38, 0]
Generated Node #0,0,1: 10:[38, 0] Operation: 52-52=0
Exploring Operation: 52-38=14, Resulting Numbers: [52, 14]
Generated Node #0,0,2: 10:[52, 14] Operation: 52-38=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[38, 1], Operations: ['98-60=38', '52/52=1']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[38, 0], Operations: ['98-60=38', '52-52=0']
Exploring Operation: 38+0=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 38-0=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 38*0=0, Resulting Numbers: [0]
0,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[52, 14], Operations: ['98-60=38', '52-38=14']
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,10 unequal: No Solution
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,10 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: 10:[60, 52, 46], Operations: ['98-52=46']
Exploring Operation: 60-46=14, Resulting Numbers: [52, 14]
Generated Node #0,1,0: 10:[52, 14] Operation: 60-46=14
Exploring Operation: 60-52=8, Resulting Numbers: [46, 8]
Generated Node #0,1,1: 10:[46, 8] Operation: 60-52=8
Exploring Operation: 52-46=6, Resulting Numbers: [60, 6]
Generated Node #0,1,2: 10:[60, 6] Operation: 52-46=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[46, 8], Operations: ['98-52=46', '60-52=8']
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,10 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[52, 14], Operations: ['98-52=46', '60-46=14']
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,10 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[60, 6], Operations: ['98-52=46', '52-46=6']
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[60, 98, 52, 52], Operations: []
Exploring Operation: 98-52=46, Resulting Numbers: [60, 52, 46]
Generated Node #0,1: 10:[60, 52, 46] Operation: 98-52=46
Moving to Node #0,1
Current State: 10:[60, 52, 46], Operations: ['98-52=46']
Exploring Operation: 52-46=6, Resulting Numbers: [60, 6]
Generated Node #0,1,2: 10:[60, 6] Operation: 52-46=6
Moving to Node #0,1,2
Current State: 10:[60, 6], Operations: ['98-52=46', '52-46=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
66,
96,
4,
24
] | 36 | [
"96-66=30",
"24/4=6",
"30+6=36"
] | Current State: 36:[66, 96, 4, 24], Operations: []
Exploring Operation: 96-66=30, Resulting Numbers: [4, 24, 30]
Generated Node #2: [4, 24, 30] from Operation: 96-66=30
Current State: 36:[4, 24, 30], Operations: ['96-66=30']
Exploring Operation: 24/4=6, Resulting Numbers: [30, 6]
Generated Node #3: [30, 6] from Operation: 24/4=6
Current State: 36:[30, 6], Operations: ['96-66=30', '24/4=6']
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[66, 96, 4, 24], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [66, 24, 24]
Generated Node #0,0: 36:[66, 24, 24] Operation: 96/4=24
Exploring Operation: 66-24=42, Resulting Numbers: [96, 4, 42]
Generated Node #0,1: 36:[96, 4, 42] Operation: 66-24=42
Exploring Operation: 96/24=4, Resulting Numbers: [66, 4, 4]
Generated Node #0,2: 36:[66, 4, 4] Operation: 96/24=4
Exploring Operation: 96-66=30, Resulting Numbers: [4, 24, 30]
Generated Node #0,3: 36:[4, 24, 30] Operation: 96-66=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[4, 24, 30], Operations: ['96-66=30']
Exploring Operation: 24-4=20, Resulting Numbers: [30, 20]
Generated Node #0,3,0: 36:[30, 20] Operation: 24-4=20
Exploring Operation: 24/4=6, Resulting Numbers: [30, 6]
Generated Node #0,3,1: 36:[30, 6] Operation: 24/4=6
Exploring Operation: 30-24=6, Resulting Numbers: [4, 6]
Generated Node #0,3,2: 36:[4, 6] Operation: 30-24=6
Exploring Operation: 4+30=34, Resulting Numbers: [24, 34]
Generated Node #0,3,3: 36:[24, 34] Operation: 4+30=34
Moving to Node #0,3,2
Current State: 36:[4, 6], Operations: ['96-66=30', '30-24=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[30, 6], Operations: ['96-66=30', '24/4=6']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[66, 96, 4, 24], Operations: []
Exploring Operation: 96-66=30, Resulting Numbers: [4, 24, 30]
Generated Node #0,3: 36:[4, 24, 30] Operation: 96-66=30
Moving to Node #0,3
Current State: 36:[4, 24, 30], Operations: ['96-66=30']
Exploring Operation: 24/4=6, Resulting Numbers: [30, 6]
Generated Node #0,3,1: 36:[30, 6] Operation: 24/4=6
Moving to Node #0,3,1
Current State: 36:[30, 6], Operations: ['96-66=30', '24/4=6']
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
76,
40,
89,
35
] | 75 | [
"76*40=3040",
"89*35=3115",
"3115-3040=75"
] | Current State: 75:[76, 40, 89, 35], Operations: []
Exploring Operation: 76*40=3040, Resulting Numbers: [89, 35, 3040]
Generated Node #2: [89, 35, 3040] from Operation: 76*40=3040
Current State: 75:[89, 35, 3040], Operations: ['76*40=3040']
Exploring Operation: 89*35=3115, Resulting Numbers: [3040, 3115]
Generated Node #3: [3040, 3115] from Operation: 89*35=3115
Current State: 75:[3040, 3115], Operations: ['76*40=3040', '89*35=3115']
Exploring Operation: 3115-3040=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[76, 40, 89, 35], Operations: []
Exploring Operation: 40+35=75, Resulting Numbers: [76, 89, 75]
Generated Node #0,0: 75:[76, 89, 75] Operation: 40+35=75
Exploring Operation: 40-35=5, Resulting Numbers: [76, 89, 5]
Generated Node #0,1: 75:[76, 89, 5] Operation: 40-35=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[76, 89, 75], Operations: ['40+35=75']
Exploring Operation: 89-75=14, Resulting Numbers: [76, 14]
Generated Node #0,0,0: 75:[76, 14] Operation: 89-75=14
Exploring Operation: 89-76=13, Resulting Numbers: [75, 13]
Generated Node #0,0,1: 75:[75, 13] Operation: 89-76=13
Moving to Node #0,0,0
Current State: 75:[76, 14], Operations: ['40+35=75', '89-75=14']
Exploring Operation: 76+14=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[75, 13], Operations: ['40+35=75', '89-76=13']
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 75+13=88, Resulting Numbers: [88]
88,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[76, 89, 5], Operations: ['40-35=5']
Exploring Operation: 89-76=13, Resulting Numbers: [5, 13]
Generated Node #0,1,0: 75:[5, 13] Operation: 89-76=13
Exploring Operation: 89-5=84, Resulting Numbers: [76, 84]
Generated Node #0,1,1: 75:[76, 84] Operation: 89-5=84
Moving to Node #0,1,0
Current State: 75:[5, 13], Operations: ['40-35=5', '89-76=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[76, 84], Operations: ['40-35=5', '89-5=84']
Exploring Operation: 76+84=160, Resulting Numbers: [160]
160,75 unequal: No Solution
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,75 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 |
[
63,
41,
29,
44
] | 58 | [
"63-41=22",
"29*44=1276",
"1276/22=58"
] | Current State: 58:[63, 41, 29, 44], Operations: []
Exploring Operation: 63-41=22, Resulting Numbers: [29, 44, 22]
Generated Node #2: [29, 44, 22] from Operation: 63-41=22
Current State: 58:[29, 44, 22], Operations: ['63-41=22']
Exploring Operation: 29*44=1276, Resulting Numbers: [22, 1276]
Generated Node #3: [22, 1276] from Operation: 29*44=1276
Current State: 58:[22, 1276], Operations: ['63-41=22', '29*44=1276']
Exploring Operation: 1276/22=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[63, 41, 29, 44], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [63, 29, 3]
Generated Node #0,0: 58:[63, 29, 3] Operation: 44-41=3
Moving to Node #0,0
Current State: 58:[63, 29, 3], Operations: ['44-41=3']
Exploring Operation: 63-3=60, Resulting Numbers: [29, 60]
Generated Node #0,0,0: 58:[29, 60] Operation: 63-3=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[29, 60], Operations: ['44-41=3', '63-3=60']
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
85,
18,
31,
28
] | 100 | [
"85+18=103",
"31-28=3",
"103-3=100"
] | Current State: 100:[85, 18, 31, 28], Operations: []
Exploring Operation: 85+18=103, Resulting Numbers: [31, 28, 103]
Generated Node #2: [31, 28, 103] from Operation: 85+18=103
Current State: 100:[31, 28, 103], Operations: ['85+18=103']
Exploring Operation: 31-28=3, Resulting Numbers: [103, 3]
Generated Node #3: [103, 3] from Operation: 31-28=3
Current State: 100:[103, 3], Operations: ['85+18=103', '31-28=3']
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[85, 18, 31, 28], Operations: []
Exploring Operation: 85+18=103, Resulting Numbers: [31, 28, 103]
Generated Node #0,0: 100:[31, 28, 103] Operation: 85+18=103
Exploring Operation: 85-28=57, Resulting Numbers: [18, 31, 57]
Generated Node #0,1: 100:[18, 31, 57] Operation: 85-28=57
Exploring Operation: 85-31=54, Resulting Numbers: [18, 28, 54]
Generated Node #0,2: 100:[18, 28, 54] Operation: 85-31=54
Moving to Node #0,2
Current State: 100:[18, 28, 54], Operations: ['85-31=54']
Exploring Operation: 54-28=26, Resulting Numbers: [18, 26]
Generated Node #0,2,0: 100:[18, 26] Operation: 54-28=26
Exploring Operation: 54/18=3, Resulting Numbers: [28, 3]
Generated Node #0,2,1: 100:[28, 3] Operation: 54/18=3
Exploring Operation: 28-18=10, Resulting Numbers: [54, 10]
Generated Node #0,2,2: 100:[54, 10] Operation: 28-18=10
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[18, 26], Operations: ['85-31=54', '54-28=26']
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,100 unequal: No Solution
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,100 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[28, 3], Operations: ['85-31=54', '54/18=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,100 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[54, 10], Operations: ['85-31=54', '28-18=10']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,100 unequal: No Solution
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,100 unequal: No Solution
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,100 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: 100:[31, 28, 103], Operations: ['85+18=103']
Exploring Operation: 31-28=3, Resulting Numbers: [103, 3]
Generated Node #0,0,0: 100:[103, 3] Operation: 31-28=3
Exploring Operation: 31+28=59, Resulting Numbers: [103, 59]
Generated Node #0,0,1: 100:[103, 59] Operation: 31+28=59
Exploring Operation: 103-31=72, Resulting Numbers: [28, 72]
Generated Node #0,0,2: 100:[28, 72] Operation: 103-31=72
Moving to Node #0,1
Current State: 100:[18, 31, 57], Operations: ['85-28=57']
Exploring Operation: 57-31=26, Resulting Numbers: [18, 26]
Generated Node #0,1,0: 100:[18, 26] Operation: 57-31=26
Exploring Operation: 31-18=13, Resulting Numbers: [57, 13]
Generated Node #0,1,1: 100:[57, 13] Operation: 31-18=13
Exploring Operation: 18+31=49, Resulting Numbers: [57, 49]
Generated Node #0,1,2: 100:[57, 49] Operation: 18+31=49
Moving to Node #0,1,0
Current State: 100:[18, 26], Operations: ['85-28=57', '57-31=26']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,100 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[103, 3], Operations: ['85+18=103', '31-28=3']
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[85, 18, 31, 28], Operations: []
Exploring Operation: 85+18=103, Resulting Numbers: [31, 28, 103]
Generated Node #0,0: 100:[31, 28, 103] Operation: 85+18=103
Moving to Node #0,0
Current State: 100:[31, 28, 103], Operations: ['85+18=103']
Exploring Operation: 31-28=3, Resulting Numbers: [103, 3]
Generated Node #0,0,0: 100:[103, 3] Operation: 31-28=3
Moving to Node #0,0,0
Current State: 100:[103, 3], Operations: ['85+18=103', '31-28=3']
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.974826 | hs_3 | sum_heuristic |
[
70,
62,
13,
2
] | 52 | [
"70-62=8",
"13*8=104",
"104/2=52"
] | Current State: 52:[70, 62, 13, 2], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [13, 2, 8]
Generated Node #2: [13, 2, 8] from Operation: 70-62=8
Current State: 52:[13, 2, 8], Operations: ['70-62=8']
Exploring Operation: 13*8=104, Resulting Numbers: [2, 104]
Generated Node #3: [2, 104] from Operation: 13*8=104
Current State: 52:[2, 104], Operations: ['70-62=8', '13*8=104']
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[70, 62, 13, 2], Operations: []
Exploring Operation: 70-13=57, Resulting Numbers: [62, 2, 57]
Generated Node #0,0: 52:[62, 2, 57] Operation: 70-13=57
Exploring Operation: 70-62=8, Resulting Numbers: [13, 2, 8]
Generated Node #0,1: 52:[13, 2, 8] Operation: 70-62=8
Moving to Node #0,1
Current State: 52:[13, 2, 8], Operations: ['70-62=8']
Exploring Operation: 13-8=5, Resulting Numbers: [2, 5]
Generated Node #0,1,0: 52:[2, 5] Operation: 13-8=5
Exploring Operation: 8/2=4, Resulting Numbers: [13, 4]
Generated Node #0,1,1: 52:[13, 4] Operation: 8/2=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[13, 4], Operations: ['70-62=8', '8/2=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[70, 62, 13, 2], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [13, 2, 8]
Generated Node #0,1: 52:[13, 2, 8] Operation: 70-62=8
Moving to Node #0,1
Current State: 52:[13, 2, 8], Operations: ['70-62=8']
Exploring Operation: 8/2=4, Resulting Numbers: [13, 4]
Generated Node #0,1,1: 52:[13, 4] Operation: 8/2=4
Moving to Node #0,1,1
Current State: 52:[13, 4], Operations: ['70-62=8', '8/2=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
52,
63,
95,
85
] | 21 | [
"63-52=11",
"95-85=10",
"11+10=21"
] | Current State: 21:[52, 63, 95, 85], Operations: []
Exploring Operation: 63-52=11, Resulting Numbers: [95, 85, 11]
Generated Node #2: [95, 85, 11] from Operation: 63-52=11
Current State: 21:[95, 85, 11], Operations: ['63-52=11']
Exploring Operation: 95-85=10, Resulting Numbers: [11, 10]
Generated Node #3: [11, 10] from Operation: 95-85=10
Current State: 21:[11, 10], Operations: ['63-52=11', '95-85=10']
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[52, 63, 95, 85], Operations: []
Exploring Operation: 95-63=32, Resulting Numbers: [52, 85, 32]
Generated Node #0,0: 21:[52, 85, 32] Operation: 95-63=32
Exploring Operation: 85-63=22, Resulting Numbers: [52, 95, 22]
Generated Node #0,1: 21:[52, 95, 22] Operation: 85-63=22
Exploring Operation: 95-52=43, Resulting Numbers: [63, 85, 43]
Generated Node #0,2: 21:[63, 85, 43] Operation: 95-52=43
Exploring Operation: 95-85=10, Resulting Numbers: [52, 63, 10]
Generated Node #0,3: 21:[52, 63, 10] Operation: 95-85=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[52, 63, 10], Operations: ['95-85=10']
Exploring Operation: 52+10=62, Resulting Numbers: [63, 62]
Generated Node #0,3,0: 21:[63, 62] Operation: 52+10=62
Exploring Operation: 52-10=42, Resulting Numbers: [63, 42]
Generated Node #0,3,1: 21:[63, 42] Operation: 52-10=42
Exploring Operation: 63-52=11, Resulting Numbers: [10, 11]
Generated Node #0,3,2: 21:[10, 11] Operation: 63-52=11
Exploring Operation: 63-10=53, Resulting Numbers: [52, 53]
Generated Node #0,3,3: 21:[52, 53] Operation: 63-10=53
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 21:[10, 11], Operations: ['95-85=10', '63-52=11']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,21 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[52, 63, 95, 85], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [52, 63, 10]
Generated Node #0,3: 21:[52, 63, 10] Operation: 95-85=10
Moving to Node #0,3
Current State: 21:[52, 63, 10], Operations: ['95-85=10']
Exploring Operation: 63-52=11, Resulting Numbers: [10, 11]
Generated Node #0,3,2: 21:[10, 11] Operation: 63-52=11
Moving to Node #0,3,2
Current State: 21:[10, 11], Operations: ['95-85=10', '63-52=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
53,
20,
23,
88
] | 98 | [
"53-20=33",
"88-23=65",
"33+65=98"
] | Current State: 98:[53, 20, 23, 88], Operations: []
Exploring Operation: 53-20=33, Resulting Numbers: [23, 88, 33]
Generated Node #2: [23, 88, 33] from Operation: 53-20=33
Current State: 98:[23, 88, 33], Operations: ['53-20=33']
Exploring Operation: 88-23=65, Resulting Numbers: [33, 65]
Generated Node #3: [33, 65] from Operation: 88-23=65
Current State: 98:[33, 65], Operations: ['53-20=33', '88-23=65']
Exploring Operation: 33+65=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[53, 20, 23, 88], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [53, 88, 3]
Generated Node #0,0: 98:[53, 88, 3] Operation: 23-20=3
Exploring Operation: 20+23=43, Resulting Numbers: [53, 88, 43]
Generated Node #0,1: 98:[53, 88, 43] Operation: 20+23=43
Moving to Node #0,0
Current State: 98:[53, 88, 3], Operations: ['23-20=3']
Exploring Operation: 53-3=50, Resulting Numbers: [88, 50]
Generated Node #0,0,0: 98:[88, 50] Operation: 53-3=50
Exploring Operation: 88+3=91, Resulting Numbers: [53, 91]
Generated Node #0,0,1: 98:[53, 91] Operation: 88+3=91
Moving to Node #0,1
Current State: 98:[53, 88, 43], Operations: ['20+23=43']
Exploring Operation: 88-43=45, Resulting Numbers: [53, 45]
Generated Node #0,1,0: 98:[53, 45] Operation: 88-43=45
Exploring Operation: 53+43=96, Resulting Numbers: [88, 96]
Generated Node #0,1,1: 98:[88, 96] Operation: 53+43=96
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[53, 45], Operations: ['20+23=43', '88-43=45']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[53, 20, 23, 88], Operations: []
Exploring Operation: 20+23=43, Resulting Numbers: [53, 88, 43]
Generated Node #0,1: 98:[53, 88, 43] Operation: 20+23=43
Moving to Node #0,1
Current State: 98:[53, 88, 43], Operations: ['20+23=43']
Exploring Operation: 88-43=45, Resulting Numbers: [53, 45]
Generated Node #0,1,0: 98:[53, 45] Operation: 88-43=45
Moving to Node #0,1,0
Current State: 98:[53, 45], Operations: ['20+23=43', '88-43=45']
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
81,
42,
57,
32
] | 50 | [
"81-42=39",
"57+32=89",
"89-39=50"
] | Current State: 50:[81, 42, 57, 32], Operations: []
Exploring Operation: 81-42=39, Resulting Numbers: [57, 32, 39]
Generated Node #2: [57, 32, 39] from Operation: 81-42=39
Current State: 50:[57, 32, 39], Operations: ['81-42=39']
Exploring Operation: 57+32=89, Resulting Numbers: [39, 89]
Generated Node #3: [39, 89] from Operation: 57+32=89
Current State: 50:[39, 89], Operations: ['81-42=39', '57+32=89']
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[81, 42, 57, 32], Operations: []
Exploring Operation: 81-32=49, Resulting Numbers: [42, 57, 49]
Generated Node #0,0: 50:[42, 57, 49] Operation: 81-32=49
Exploring Operation: 81-57=24, Resulting Numbers: [42, 32, 24]
Generated Node #0,1: 50:[42, 32, 24] Operation: 81-57=24
Exploring Operation: 42-32=10, Resulting Numbers: [81, 57, 10]
Generated Node #0,2: 50:[81, 57, 10] Operation: 42-32=10
Exploring Operation: 81-42=39, Resulting Numbers: [57, 32, 39]
Generated Node #0,3: 50:[57, 32, 39] Operation: 81-42=39
Moving to Node #0,0
Current State: 50:[42, 57, 49], Operations: ['81-32=49']
Exploring Operation: 42+49=91, Resulting Numbers: [57, 91]
Generated Node #0,0,0: 50:[57, 91] Operation: 42+49=91
Exploring Operation: 57-42=15, Resulting Numbers: [49, 15]
Generated Node #0,0,1: 50:[49, 15] Operation: 57-42=15
Exploring Operation: 49-42=7, Resulting Numbers: [57, 7]
Generated Node #0,0,2: 50:[57, 7] Operation: 49-42=7
Exploring Operation: 57-49=8, Resulting Numbers: [42, 8]
Generated Node #0,0,3: 50:[42, 8] Operation: 57-49=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[49, 15], Operations: ['81-32=49', '57-42=15']
Exploring Operation: 49*15=735, Resulting Numbers: [735]
735,50 unequal: No Solution
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,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,0,2
Current State: 50:[57, 7], Operations: ['81-32=49', '49-42=7']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[81, 42, 57, 32], Operations: []
Exploring Operation: 81-32=49, Resulting Numbers: [42, 57, 49]
Generated Node #0,0: 50:[42, 57, 49] Operation: 81-32=49
Moving to Node #0,0
Current State: 50:[42, 57, 49], Operations: ['81-32=49']
Exploring Operation: 49-42=7, Resulting Numbers: [57, 7]
Generated Node #0,0,2: 50:[57, 7] Operation: 49-42=7
Moving to Node #0,0,2
Current State: 50:[57, 7], Operations: ['81-32=49', '49-42=7']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
70,
24,
6,
55
] | 60 | [
"70-55=15",
"24/6=4",
"15*4=60"
] | Current State: 60:[70, 24, 6, 55], Operations: []
Exploring Operation: 70-55=15, Resulting Numbers: [24, 6, 15]
Generated Node #2: [24, 6, 15] from Operation: 70-55=15
Current State: 60:[24, 6, 15], Operations: ['70-55=15']
Exploring Operation: 24/6=4, Resulting Numbers: [15, 4]
Generated Node #3: [15, 4] from Operation: 24/6=4
Current State: 60:[15, 4], Operations: ['70-55=15', '24/6=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[70, 24, 6, 55], Operations: []
Exploring Operation: 24+6=30, Resulting Numbers: [70, 55, 30]
Generated Node #0,0: 60:[70, 55, 30] Operation: 24+6=30
Exploring Operation: 24/6=4, Resulting Numbers: [70, 55, 4]
Generated Node #0,1: 60:[70, 55, 4] Operation: 24/6=4
Exploring Operation: 55-24=31, Resulting Numbers: [70, 6, 31]
Generated Node #0,2: 60:[70, 6, 31] Operation: 55-24=31
Exploring Operation: 70-6=64, Resulting Numbers: [24, 55, 64]
Generated Node #0,3: 60:[24, 55, 64] Operation: 70-6=64
Exploring Operation: 70-55=15, Resulting Numbers: [24, 6, 15]
Generated Node #0,4: 60:[24, 6, 15] Operation: 70-55=15
Moving to Node #0,4
Current State: 60:[24, 6, 15], Operations: ['70-55=15']
Exploring Operation: 24-6=18, Resulting Numbers: [15, 18]
Generated Node #0,4,0: 60:[15, 18] Operation: 24-6=18
Exploring Operation: 6+15=21, Resulting Numbers: [24, 21]
Generated Node #0,4,1: 60:[24, 21] Operation: 6+15=21
Exploring Operation: 24+6=30, Resulting Numbers: [15, 30]
Generated Node #0,4,2: 60:[15, 30] Operation: 24+6=30
Exploring Operation: 24/6=4, Resulting Numbers: [15, 4]
Generated Node #0,4,3: 60:[15, 4] Operation: 24/6=4
Exploring Operation: 24-15=9, Resulting Numbers: [6, 9]
Generated Node #0,4,4: 60:[6, 9] Operation: 24-15=9
Moving to Node #0,2
Current State: 60:[70, 6, 31], Operations: ['55-24=31']
Exploring Operation: 6+31=37, Resulting Numbers: [70, 37]
Generated Node #0,2,0: 60:[70, 37] Operation: 6+31=37
Exploring Operation: 70+6=76, Resulting Numbers: [31, 76]
Generated Node #0,2,1: 60:[31, 76] Operation: 70+6=76
Exploring Operation: 70-31=39, Resulting Numbers: [6, 39]
Generated Node #0,2,2: 60:[6, 39] Operation: 70-31=39
Exploring Operation: 70-6=64, Resulting Numbers: [31, 64]
Generated Node #0,2,3: 60:[31, 64] Operation: 70-6=64
Exploring Operation: 31-6=25, Resulting Numbers: [70, 25]
Generated Node #0,2,4: 60:[70, 25] Operation: 31-6=25
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 60:[31, 64], Operations: ['55-24=31', '70-6=64']
Exploring Operation: 31+64=95, Resulting Numbers: [95]
95,60 unequal: No Solution
Exploring Operation: 31*64=1984, Resulting Numbers: [1984]
1984,60 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,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:[6, 39], Operations: ['55-24=31', '70-31=39']
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,60 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,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:[70, 25], Operations: ['55-24=31', '31-6=25']
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 70+25=95, Resulting Numbers: [95]
95,60 unequal: No Solution
Exploring Operation: 70*25=1750, Resulting Numbers: [1750]
1750,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:[70, 37], Operations: ['55-24=31', '6+31=37']
Exploring Operation: 70*37=2590, Resulting Numbers: [2590]
2590,60 unequal: No Solution
Exploring Operation: 70+37=107, Resulting Numbers: [107]
107,60 unequal: No Solution
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,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,1
Current State: 60:[31, 76], Operations: ['55-24=31', '70+6=76']
Exploring Operation: 31+76=107, Resulting Numbers: [107]
107,60 unequal: No Solution
Exploring Operation: 31*76=2356, Resulting Numbers: [2356]
2356,60 unequal: No Solution
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,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:[24, 55, 64], Operations: ['70-6=64']
Exploring Operation: 24+64=88, Resulting Numbers: [55, 88]
Generated Node #0,3,0: 60:[55, 88] Operation: 24+64=88
Exploring Operation: 64-55=9, Resulting Numbers: [24, 9]
Generated Node #0,3,1: 60:[24, 9] Operation: 64-55=9
Exploring Operation: 55-24=31, Resulting Numbers: [64, 31]
Generated Node #0,3,2: 60:[64, 31] Operation: 55-24=31
Exploring Operation: 24+55=79, Resulting Numbers: [64, 79]
Generated Node #0,3,3: 60:[64, 79] Operation: 24+55=79
Exploring Operation: 64-24=40, Resulting Numbers: [55, 40]
Generated Node #0,3,4: 60:[55, 40] Operation: 64-24=40
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 60:[24, 9], Operations: ['70-6=64', '64-55=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,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:[64, 31], Operations: ['70-6=64', '55-24=31']
Exploring Operation: 64+31=95, Resulting Numbers: [95]
95,60 unequal: No Solution
Exploring Operation: 64*31=1984, Resulting Numbers: [1984]
1984,60 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,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:[55, 40], Operations: ['70-6=64', '64-24=40']
Exploring Operation: 55*40=2200, Resulting Numbers: [2200]
2200,60 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,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:[64, 79], Operations: ['70-6=64', '24+55=79']
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 64+79=143, Resulting Numbers: [143]
143,60 unequal: No Solution
Exploring Operation: 64*79=5056, Resulting Numbers: [5056]
5056,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:[55, 88], Operations: ['70-6=64', '24+64=88']
Exploring Operation: 88-55=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 55*88=4840, Resulting Numbers: [4840]
4840,60 unequal: No Solution
Exploring Operation: 55+88=143, Resulting Numbers: [143]
143,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:[70, 55, 30], Operations: ['24+6=30']
Exploring Operation: 70-55=15, Resulting Numbers: [30, 15]
Generated Node #0,0,0: 60:[30, 15] Operation: 70-55=15
Exploring Operation: 70+30=100, Resulting Numbers: [55, 100]
Generated Node #0,0,1: 60:[55, 100] Operation: 70+30=100
Exploring Operation: 55+30=85, Resulting Numbers: [70, 85]
Generated Node #0,0,2: 60:[70, 85] Operation: 55+30=85
Exploring Operation: 55-30=25, Resulting Numbers: [70, 25]
Generated Node #0,0,3: 60:[70, 25] Operation: 55-30=25
Exploring Operation: 70-30=40, Resulting Numbers: [55, 40]
Generated Node #0,0,4: 60:[55, 40] Operation: 70-30=40
Moving to Node #0,1
Current State: 60:[70, 55, 4], Operations: ['24/6=4']
Exploring Operation: 70-4=66, Resulting Numbers: [55, 66]
Generated Node #0,1,0: 60:[55, 66] Operation: 70-4=66
Exploring Operation: 55-4=51, Resulting Numbers: [70, 51]
Generated Node #0,1,1: 60:[70, 51] Operation: 55-4=51
Exploring Operation: 70+4=74, Resulting Numbers: [55, 74]
Generated Node #0,1,2: 60:[55, 74] Operation: 70+4=74
Exploring Operation: 55+4=59, Resulting Numbers: [70, 59]
Generated Node #0,1,3: 60:[70, 59] Operation: 55+4=59
Exploring Operation: 70-55=15, Resulting Numbers: [4, 15]
Generated Node #0,1,4: 60:[4, 15] Operation: 70-55=15
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 60:[4, 15], Operations: ['24/6=4', '70-55=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[70, 24, 6, 55], Operations: []
Exploring Operation: 24/6=4, Resulting Numbers: [70, 55, 4]
Generated Node #0,1: 60:[70, 55, 4] Operation: 24/6=4
Moving to Node #0,1
Current State: 60:[70, 55, 4], Operations: ['24/6=4']
Exploring Operation: 70-55=15, Resulting Numbers: [4, 15]
Generated Node #0,1,4: 60:[4, 15] Operation: 70-55=15
Moving to Node #0,1,4
Current State: 60:[4, 15], Operations: ['24/6=4', '70-55=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 | hs_5 | mult_heuristic |
[
49,
90,
18,
69
] | 81 | [
"69-49=20",
"90*18=1620",
"1620/20=81"
] | Current State: 81:[49, 90, 18, 69], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [90, 18, 20]
Generated Node #2: [90, 18, 20] from Operation: 69-49=20
Current State: 81:[90, 18, 20], Operations: ['69-49=20']
Exploring Operation: 90*18=1620, Resulting Numbers: [20, 1620]
Generated Node #3: [20, 1620] from Operation: 90*18=1620
Current State: 81:[20, 1620], Operations: ['69-49=20', '90*18=1620']
Exploring Operation: 1620/20=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[49, 90, 18, 69], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [90, 18, 20]
Generated Node #0,0: 81:[90, 18, 20] Operation: 69-49=20
Exploring Operation: 49-18=31, Resulting Numbers: [90, 69, 31]
Generated Node #0,1: 81:[90, 69, 31] Operation: 49-18=31
Moving to Node #0,0
Current State: 81:[90, 18, 20], Operations: ['69-49=20']
Exploring Operation: 90/18=5, Resulting Numbers: [20, 5]
Generated Node #0,0,0: 81:[20, 5] Operation: 90/18=5
Exploring Operation: 20-18=2, Resulting Numbers: [90, 2]
Generated Node #0,0,1: 81:[90, 2] Operation: 20-18=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[20, 5], Operations: ['69-49=20', '90/18=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[90, 2], Operations: ['69-49=20', '20-18=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,81 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 81:[90, 69, 31], Operations: ['49-18=31']
Exploring Operation: 90-69=21, Resulting Numbers: [31, 21]
Generated Node #0,1,0: 81:[31, 21] Operation: 90-69=21
Exploring Operation: 69-31=38, Resulting Numbers: [90, 38]
Generated Node #0,1,1: 81:[90, 38] Operation: 69-31=38
Moving to Node #0,1,0
Current State: 81:[31, 21], Operations: ['49-18=31', '90-69=21']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[90, 38], Operations: ['49-18=31', '69-31=38']
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,81 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,81 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
94,
71,
98,
45
] | 69 | [
"94-45=49",
"98/49=2",
"71-2=69"
] | Current State: 69:[94, 71, 98, 45], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [71, 98, 49]
Generated Node #2: [71, 98, 49] from Operation: 94-45=49
Current State: 69:[71, 98, 49], Operations: ['94-45=49']
Exploring Operation: 98/49=2, Resulting Numbers: [71, 2]
Generated Node #3: [71, 2] from Operation: 98/49=2
Current State: 69:[71, 2], Operations: ['94-45=49', '98/49=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[94, 71, 98, 45], Operations: []
Exploring Operation: 98-71=27, Resulting Numbers: [94, 45, 27]
Generated Node #0,0: 69:[94, 45, 27] Operation: 98-71=27
Exploring Operation: 98-45=53, Resulting Numbers: [94, 71, 53]
Generated Node #0,1: 69:[94, 71, 53] Operation: 98-45=53
Exploring Operation: 98-94=4, Resulting Numbers: [71, 45, 4]
Generated Node #0,2: 69:[71, 45, 4] Operation: 98-94=4
Exploring Operation: 94-45=49, Resulting Numbers: [71, 98, 49]
Generated Node #0,3: 69:[71, 98, 49] Operation: 94-45=49
Exploring Operation: 94-71=23, Resulting Numbers: [98, 45, 23]
Generated Node #0,4: 69:[98, 45, 23] Operation: 94-71=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[71, 45, 4], Operations: ['98-94=4']
Exploring Operation: 45-4=41, Resulting Numbers: [71, 41]
Generated Node #0,2,0: 69:[71, 41] Operation: 45-4=41
Exploring Operation: 45+4=49, Resulting Numbers: [71, 49]
Generated Node #0,2,1: 69:[71, 49] Operation: 45+4=49
Exploring Operation: 71-4=67, Resulting Numbers: [45, 67]
Generated Node #0,2,2: 69:[45, 67] Operation: 71-4=67
Exploring Operation: 71+4=75, Resulting Numbers: [45, 75]
Generated Node #0,2,3: 69:[45, 75] Operation: 71+4=75
Exploring Operation: 71-45=26, Resulting Numbers: [4, 26]
Generated Node #0,2,4: 69:[4, 26] Operation: 71-45=26
Moving to Node #0,2,4
Current State: 69:[4, 26], Operations: ['98-94=4', '71-45=26']
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[71, 41], Operations: ['98-94=4', '45-4=41']
Exploring Operation: 71*41=2911, Resulting Numbers: [2911]
2911,69 unequal: No Solution
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 71+41=112, Resulting Numbers: [112]
112,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[71, 49], Operations: ['98-94=4', '45+4=49']
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 71+49=120, Resulting Numbers: [120]
120,69 unequal: No Solution
Exploring Operation: 71*49=3479, Resulting Numbers: [3479]
3479,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[45, 67], Operations: ['98-94=4', '71-4=67']
Exploring Operation: 45+67=112, Resulting Numbers: [112]
112,69 unequal: No Solution
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 45*67=3015, Resulting Numbers: [3015]
3015,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[45, 75], Operations: ['98-94=4', '71+4=75']
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 45*75=3375, Resulting Numbers: [3375]
3375,69 unequal: No Solution
Exploring Operation: 45+75=120, Resulting Numbers: [120]
120,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[94, 71, 53], Operations: ['98-45=53']
Exploring Operation: 71+53=124, Resulting Numbers: [94, 124]
Generated Node #0,1,0: 69:[94, 124] Operation: 71+53=124
Exploring Operation: 94-53=41, Resulting Numbers: [71, 41]
Generated Node #0,1,1: 69:[71, 41] Operation: 94-53=41
Exploring Operation: 94+53=147, Resulting Numbers: [71, 147]
Generated Node #0,1,2: 69:[71, 147] Operation: 94+53=147
Exploring Operation: 94-71=23, Resulting Numbers: [53, 23]
Generated Node #0,1,3: 69:[53, 23] Operation: 94-71=23
Exploring Operation: 71-53=18, Resulting Numbers: [94, 18]
Generated Node #0,1,4: 69:[94, 18] Operation: 71-53=18
Moving to Node #0,1,3
Current State: 69:[53, 23], Operations: ['98-45=53', '94-71=23']
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 53*23=1219, Resulting Numbers: [1219]
1219,69 unequal: No Solution
Exploring Operation: 53+23=76, Resulting Numbers: [76]
76,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[71, 41], Operations: ['98-45=53', '94-53=41']
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 71+41=112, Resulting Numbers: [112]
112,69 unequal: No Solution
Exploring Operation: 71*41=2911, Resulting Numbers: [2911]
2911,69 unequal: No Solution
Moving to Node #0,1,4
Current State: 69:[94, 18], Operations: ['98-45=53', '71-53=18']
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,69 unequal: No Solution
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,69 unequal: No Solution
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[94, 124], Operations: ['98-45=53', '71+53=124']
Exploring Operation: 94*124=11656, Resulting Numbers: [11656]
11656,69 unequal: No Solution
Exploring Operation: 124-94=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 94+124=218, Resulting Numbers: [218]
218,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[71, 147], Operations: ['98-45=53', '94+53=147']
Exploring Operation: 147-71=76, Resulting Numbers: [76]
76,69 unequal: No Solution
Exploring Operation: 71*147=10437, Resulting Numbers: [10437]
10437,69 unequal: No Solution
Exploring Operation: 71+147=218, Resulting Numbers: [218]
218,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[94, 45, 27], Operations: ['98-71=27']
Exploring Operation: 45+27=72, Resulting Numbers: [94, 72]
Generated Node #0,0,0: 69:[94, 72] Operation: 45+27=72
Exploring Operation: 94+45=139, Resulting Numbers: [27, 139]
Generated Node #0,0,1: 69:[27, 139] Operation: 94+45=139
Exploring Operation: 45-27=18, Resulting Numbers: [94, 18]
Generated Node #0,0,2: 69:[94, 18] Operation: 45-27=18
Exploring Operation: 94-27=67, Resulting Numbers: [45, 67]
Generated Node #0,0,3: 69:[45, 67] Operation: 94-27=67
Exploring Operation: 94-45=49, Resulting Numbers: [27, 49]
Generated Node #0,0,4: 69:[27, 49] Operation: 94-45=49
Moving to Node #0,0,3
Current State: 69:[45, 67], Operations: ['98-71=27', '94-27=67']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 45*67=3015, Resulting Numbers: [3015]
3015,69 unequal: No Solution
Exploring Operation: 45+67=112, Resulting Numbers: [112]
112,69 unequal: No Solution
Moving to Node #0,0,4
Current State: 69:[27, 49], Operations: ['98-71=27', '94-45=49']
Exploring Operation: 27*49=1323, Resulting Numbers: [1323]
1323,69 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 27+49=76, Resulting Numbers: [76]
76,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[94, 72], Operations: ['98-71=27', '45+27=72']
Exploring Operation: 94*72=6768, Resulting Numbers: [6768]
6768,69 unequal: No Solution
Exploring Operation: 94+72=166, Resulting Numbers: [166]
166,69 unequal: No Solution
Exploring Operation: 94-72=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[94, 18], Operations: ['98-71=27', '45-27=18']
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,69 unequal: No Solution
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,69 unequal: No Solution
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[27, 139], Operations: ['98-71=27', '94+45=139']
Exploring Operation: 139-27=112, Resulting Numbers: [112]
112,69 unequal: No Solution
Exploring Operation: 27*139=3753, Resulting Numbers: [3753]
3753,69 unequal: No Solution
Exploring Operation: 27+139=166, Resulting Numbers: [166]
166,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[71, 98, 49], Operations: ['94-45=49']
Exploring Operation: 98-49=49, Resulting Numbers: [71, 49]
Generated Node #0,3,0: 69:[71, 49] Operation: 98-49=49
Exploring Operation: 98/49=2, Resulting Numbers: [71, 2]
Generated Node #0,3,1: 69:[71, 2] Operation: 98/49=2
Exploring Operation: 71+49=120, Resulting Numbers: [98, 120]
Generated Node #0,3,2: 69:[98, 120] Operation: 71+49=120
Exploring Operation: 71-49=22, Resulting Numbers: [98, 22]
Generated Node #0,3,3: 69:[98, 22] Operation: 71-49=22
Exploring Operation: 98-71=27, Resulting Numbers: [49, 27]
Generated Node #0,3,4: 69:[49, 27] Operation: 98-71=27
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 69:[71, 2], Operations: ['94-45=49', '98/49=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,69 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[94, 71, 98, 45], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [71, 98, 49]
Generated Node #0,3: 69:[71, 98, 49] Operation: 94-45=49
Moving to Node #0,3
Current State: 69:[71, 98, 49], Operations: ['94-45=49']
Exploring Operation: 98/49=2, Resulting Numbers: [71, 2]
Generated Node #0,3,1: 69:[71, 2] Operation: 98/49=2
Moving to Node #0,3,1
Current State: 69:[71, 2], Operations: ['94-45=49', '98/49=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.93316 | hs_5 | mult_heuristic |
[
16,
69,
46,
56
] | 32 | [
"16*69=1104",
"1104/46=24",
"56-24=32"
] | Current State: 32:[16, 69, 46, 56], Operations: []
Exploring Operation: 16*69=1104, Resulting Numbers: [46, 56, 1104]
Generated Node #2: [46, 56, 1104] from Operation: 16*69=1104
Current State: 32:[46, 56, 1104], Operations: ['16*69=1104']
Exploring Operation: 1104/46=24, Resulting Numbers: [56, 24]
Generated Node #3: [56, 24] from Operation: 1104/46=24
Current State: 32:[56, 24], Operations: ['16*69=1104', '1104/46=24']
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[16, 69, 46, 56], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [16, 69, 10]
Generated Node #0,0: 32:[16, 69, 10] Operation: 56-46=10
Exploring Operation: 69-16=53, Resulting Numbers: [46, 56, 53]
Generated Node #0,1: 32:[46, 56, 53] Operation: 69-16=53
Exploring Operation: 69-46=23, Resulting Numbers: [16, 56, 23]
Generated Node #0,2: 32:[16, 56, 23] Operation: 69-46=23
Exploring Operation: 69-56=13, Resulting Numbers: [16, 46, 13]
Generated Node #0,3: 32:[16, 46, 13] Operation: 69-56=13
Exploring Operation: 56-16=40, Resulting Numbers: [69, 46, 40]
Generated Node #0,4: 32:[69, 46, 40] Operation: 56-16=40
Moving to Node #0,3
Current State: 32:[16, 46, 13], Operations: ['69-56=13']
Exploring Operation: 46-13=33, Resulting Numbers: [16, 33]
Generated Node #0,3,0: 32:[16, 33] Operation: 46-13=33
Exploring Operation: 46-16=30, Resulting Numbers: [13, 30]
Generated Node #0,3,1: 32:[13, 30] Operation: 46-16=30
Exploring Operation: 16+13=29, Resulting Numbers: [46, 29]
Generated Node #0,3,2: 32:[46, 29] Operation: 16+13=29
Exploring Operation: 46+13=59, Resulting Numbers: [16, 59]
Generated Node #0,3,3: 32:[16, 59] Operation: 46+13=59
Exploring Operation: 16-13=3, Resulting Numbers: [46, 3]
Generated Node #0,3,4: 32:[46, 3] Operation: 16-13=3
Moving to Node #0,2
Current State: 32:[16, 56, 23], Operations: ['69-46=23']
Exploring Operation: 16+56=72, Resulting Numbers: [23, 72]
Generated Node #0,2,0: 32:[23, 72] Operation: 16+56=72
Exploring Operation: 56-16=40, Resulting Numbers: [23, 40]
Generated Node #0,2,1: 32:[23, 40] Operation: 56-16=40
Exploring Operation: 56-23=33, Resulting Numbers: [16, 33]
Generated Node #0,2,2: 32:[16, 33] Operation: 56-23=33
Exploring Operation: 16+23=39, Resulting Numbers: [56, 39]
Generated Node #0,2,3: 32:[56, 39] Operation: 16+23=39
Exploring Operation: 23-16=7, Resulting Numbers: [56, 7]
Generated Node #0,2,4: 32:[56, 7] Operation: 23-16=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 32:[16, 33], Operations: ['69-46=23', '56-23=33']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,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:[23, 40], Operations: ['69-46=23', '56-16=40']
Exploring Operation: 23*40=920, Resulting Numbers: [920]
920,32 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 23+40=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,2,4
Current State: 32:[56, 7], Operations: ['69-46=23', '23-16=7']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,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,3
Current State: 32:[56, 39], Operations: ['69-46=23', '16+23=39']
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 56+39=95, Resulting Numbers: [95]
95,32 unequal: No Solution
Exploring Operation: 56*39=2184, Resulting Numbers: [2184]
2184,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:[23, 72], Operations: ['69-46=23', '16+56=72']
Exploring Operation: 23+72=95, Resulting Numbers: [95]
95,32 unequal: No Solution
Exploring Operation: 23*72=1656, Resulting Numbers: [1656]
1656,32 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 32:[16, 69, 10], Operations: ['56-46=10']
Exploring Operation: 16-10=6, Resulting Numbers: [69, 6]
Generated Node #0,0,0: 32:[69, 6] Operation: 16-10=6
Exploring Operation: 69-16=53, Resulting Numbers: [10, 53]
Generated Node #0,0,1: 32:[10, 53] Operation: 69-16=53
Exploring Operation: 16+10=26, Resulting Numbers: [69, 26]
Generated Node #0,0,2: 32:[69, 26] Operation: 16+10=26
Exploring Operation: 69-10=59, Resulting Numbers: [16, 59]
Generated Node #0,0,3: 32:[16, 59] Operation: 69-10=59
Exploring Operation: 69+10=79, Resulting Numbers: [16, 79]
Generated Node #0,0,4: 32:[16, 79] Operation: 69+10=79
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[10, 53], Operations: ['56-46=10', '69-16=53']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,32 unequal: No Solution
Exploring Operation: 10+53=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,0,3
Current State: 32:[16, 59], Operations: ['56-46=10', '69-10=59']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 16*59=944, Resulting Numbers: [944]
944,32 unequal: No Solution
Exploring Operation: 16+59=75, Resulting Numbers: [75]
75,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[69, 6], Operations: ['56-46=10', '16-10=6']
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,32 unequal: No Solution
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,32 unequal: No Solution
Exploring Operation: 69-6=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,0,2
Current State: 32:[69, 26], Operations: ['56-46=10', '16+10=26']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,32 unequal: No Solution
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 32:[16, 79], Operations: ['56-46=10', '69+10=79']
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 16*79=1264, Resulting Numbers: [1264]
1264,32 unequal: No Solution
Exploring Operation: 16+79=95, Resulting Numbers: [95]
95,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:[46, 56, 53], Operations: ['69-16=53']
Exploring Operation: 46+53=99, Resulting Numbers: [56, 99]
Generated Node #0,1,0: 32:[56, 99] Operation: 46+53=99
Exploring Operation: 46+56=102, Resulting Numbers: [53, 102]
Generated Node #0,1,1: 32:[53, 102] Operation: 46+56=102
Exploring Operation: 53-46=7, Resulting Numbers: [56, 7]
Generated Node #0,1,2: 32:[56, 7] Operation: 53-46=7
Exploring Operation: 56-53=3, Resulting Numbers: [46, 3]
Generated Node #0,1,3: 32:[46, 3] Operation: 56-53=3
Exploring Operation: 56-46=10, Resulting Numbers: [53, 10]
Generated Node #0,1,4: 32:[53, 10] Operation: 56-46=10
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 32:[46, 3], Operations: ['69-16=53', '56-53=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,32 unequal: No Solution
Exploring Operation: 46-3=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,1,4
Current State: 32:[53, 10], Operations: ['69-16=53', '56-46=10']
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,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:[56, 7], Operations: ['69-16=53', '53-46=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,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:[56, 99], Operations: ['69-16=53', '46+53=99']
Exploring Operation: 56*99=5544, Resulting Numbers: [5544]
5544,32 unequal: No Solution
Exploring Operation: 56+99=155, Resulting Numbers: [155]
155,32 unequal: No Solution
Exploring Operation: 99-56=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,1,1
Current State: 32:[53, 102], Operations: ['69-16=53', '46+56=102']
Exploring Operation: 102-53=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 53+102=155, Resulting Numbers: [155]
155,32 unequal: No Solution
Exploring Operation: 53*102=5406, Resulting Numbers: [5406]
5406,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 32:[69, 46, 40], Operations: ['56-16=40']
Exploring Operation: 69-40=29, Resulting Numbers: [46, 29]
Generated Node #0,4,0: 32:[46, 29] Operation: 69-40=29
Exploring Operation: 46-40=6, Resulting Numbers: [69, 6]
Generated Node #0,4,1: 32:[69, 6] Operation: 46-40=6
Exploring Operation: 69+40=109, Resulting Numbers: [46, 109]
Generated Node #0,4,2: 32:[46, 109] Operation: 69+40=109
Exploring Operation: 69-46=23, Resulting Numbers: [40, 23]
Generated Node #0,4,3: 32:[40, 23] Operation: 69-46=23
Exploring Operation: 69+46=115, Resulting Numbers: [40, 115]
Generated Node #0,4,4: 32:[40, 115] Operation: 69+46=115
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 32:[40, 23], Operations: ['56-16=40', '69-46=23']
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,32 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 40+23=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,4,0
Current State: 32:[46, 29], Operations: ['56-16=40', '69-40=29']
Exploring Operation: 46*29=1334, Resulting Numbers: [1334]
1334,32 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 32:[69, 6], Operations: ['56-16=40', '46-40=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,32 unequal: No Solution
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 32:[46, 109], Operations: ['56-16=40', '69+40=109']
Exploring Operation: 46*109=5014, Resulting Numbers: [5014]
5014,32 unequal: No Solution
Exploring Operation: 46+109=155, Resulting Numbers: [155]
155,32 unequal: No Solution
Exploring Operation: 109-46=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,4,4
Current State: 32:[40, 115], Operations: ['56-16=40', '69+46=115']
Exploring Operation: 40+115=155, Resulting Numbers: [155]
155,32 unequal: No Solution
Exploring Operation: 40*115=4600, Resulting Numbers: [4600]
4600,32 unequal: No Solution
Exploring Operation: 115-40=75, Resulting Numbers: [75]
75,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 32:[16, 33], Operations: ['69-56=13', '46-13=33']
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,32 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[13, 30], Operations: ['69-56=13', '46-16=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,32 unequal: No Solution
Moving to Node #0,3,4
Current State: 32:[46, 3], Operations: ['69-56=13', '16-13=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[46, 29], Operations: ['69-56=13', '16+13=29']
Exploring Operation: 46*29=1334, Resulting Numbers: [1334]
1334,32 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[16, 59], Operations: ['69-56=13', '46+13=59']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 16+59=75, Resulting Numbers: [75]
75,32 unequal: No Solution
Exploring Operation: 16*59=944, Resulting Numbers: [944]
944,32 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
39,
43,
68,
20
] | 34 | [
"39+43=82",
"68-20=48",
"82-48=34"
] | Current State: 34:[39, 43, 68, 20], Operations: []
Exploring Operation: 39+43=82, Resulting Numbers: [68, 20, 82]
Generated Node #2: [68, 20, 82] from Operation: 39+43=82
Current State: 34:[68, 20, 82], Operations: ['39+43=82']
Exploring Operation: 68-20=48, Resulting Numbers: [82, 48]
Generated Node #3: [82, 48] from Operation: 68-20=48
Current State: 34:[82, 48], Operations: ['39+43=82', '68-20=48']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[39, 43, 68, 20], Operations: []
Exploring Operation: 68-39=29, Resulting Numbers: [43, 20, 29]
Generated Node #0,0: 34:[43, 20, 29] Operation: 68-39=29
Exploring Operation: 68-43=25, Resulting Numbers: [39, 20, 25]
Generated Node #0,1: 34:[39, 20, 25] Operation: 68-43=25
Exploring Operation: 68-20=48, Resulting Numbers: [39, 43, 48]
Generated Node #0,2: 34:[39, 43, 48] Operation: 68-20=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[39, 20, 25], Operations: ['68-43=25']
Exploring Operation: 39-25=14, Resulting Numbers: [20, 14]
Generated Node #0,1,0: 34:[20, 14] Operation: 39-25=14
Exploring Operation: 25-20=5, Resulting Numbers: [39, 5]
Generated Node #0,1,1: 34:[39, 5] Operation: 25-20=5
Exploring Operation: 39-20=19, Resulting Numbers: [25, 19]
Generated Node #0,1,2: 34:[25, 19] Operation: 39-20=19
Moving to Node #0,1,0
Current State: 34:[20, 14], Operations: ['68-43=25', '39-25=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[39, 43, 68, 20], Operations: []
Exploring Operation: 68-43=25, Resulting Numbers: [39, 20, 25]
Generated Node #0,1: 34:[39, 20, 25] Operation: 68-43=25
Moving to Node #0,1
Current State: 34:[39, 20, 25], Operations: ['68-43=25']
Exploring Operation: 39-25=14, Resulting Numbers: [20, 14]
Generated Node #0,1,0: 34:[20, 14] Operation: 39-25=14
Moving to Node #0,1,0
Current State: 34:[20, 14], Operations: ['68-43=25', '39-25=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
44,
14,
51,
4
] | 48 | [
"44/4=11",
"51-14=37",
"11+37=48"
] | Current State: 48:[44, 14, 51, 4], Operations: []
Exploring Operation: 44/4=11, Resulting Numbers: [14, 51, 11]
Generated Node #2: [14, 51, 11] from Operation: 44/4=11
Current State: 48:[14, 51, 11], Operations: ['44/4=11']
Exploring Operation: 51-14=37, Resulting Numbers: [11, 37]
Generated Node #3: [11, 37] from Operation: 51-14=37
Current State: 48:[11, 37], Operations: ['44/4=11', '51-14=37']
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[44, 14, 51, 4], Operations: []
Exploring Operation: 51-44=7, Resulting Numbers: [14, 4, 7]
Generated Node #0,0: 48:[14, 4, 7] Operation: 51-44=7
Exploring Operation: 44+4=48, Resulting Numbers: [14, 51, 48]
Generated Node #0,1: 48:[14, 51, 48] Operation: 44+4=48
Moving to Node #0,0
Current State: 48:[14, 4, 7], Operations: ['51-44=7']
Exploring Operation: 14/7=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 48:[4, 2] Operation: 14/7=2
Exploring Operation: 14-7=7, Resulting Numbers: [4, 7]
Generated Node #0,0,1: 48:[4, 7] Operation: 14-7=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[4, 2], Operations: ['51-44=7', '14/7=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,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:[4, 7], Operations: ['51-44=7', '14-7=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,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:[14, 51, 48], Operations: ['44+4=48']
Exploring Operation: 51-14=37, Resulting Numbers: [48, 37]
Generated Node #0,1,0: 48:[48, 37] Operation: 51-14=37
Exploring Operation: 51-48=3, Resulting Numbers: [14, 3]
Generated Node #0,1,1: 48:[14, 3] Operation: 51-48=3
Moving to Node #0,1,1
Current State: 48:[14, 3], Operations: ['44+4=48', '51-48=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[48, 37], Operations: ['44+4=48', '51-14=37']
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,48 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
66,
69,
63,
45
] | 22 | [
"66-63=3",
"69/3=23",
"45-23=22"
] | Current State: 22:[66, 69, 63, 45], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [69, 45, 3]
Generated Node #2: [69, 45, 3] from Operation: 66-63=3
Current State: 22:[69, 45, 3], Operations: ['66-63=3']
Exploring Operation: 69/3=23, Resulting Numbers: [45, 23]
Generated Node #3: [45, 23] from Operation: 69/3=23
Current State: 22:[45, 23], Operations: ['66-63=3', '69/3=23']
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[66, 69, 63, 45], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [63, 45, 3]
Generated Node #0,0: 22:[63, 45, 3] Operation: 69-66=3
Moving to Node #0,0
Current State: 22:[63, 45, 3], Operations: ['69-66=3']
Exploring Operation: 63-45=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 22:[3, 18] Operation: 63-45=18
Moving to Node #0,0,0
Current State: 22:[3, 18], Operations: ['69-66=3', '63-45=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,22 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
67,
17,
91,
75
] | 100 | [
"67+17=84",
"91-75=16",
"84+16=100"
] | Current State: 100:[67, 17, 91, 75], Operations: []
Exploring Operation: 67+17=84, Resulting Numbers: [91, 75, 84]
Generated Node #2: [91, 75, 84] from Operation: 67+17=84
Current State: 100:[91, 75, 84], Operations: ['67+17=84']
Exploring Operation: 91-75=16, Resulting Numbers: [84, 16]
Generated Node #3: [84, 16] from Operation: 91-75=16
Current State: 100:[84, 16], Operations: ['67+17=84', '91-75=16']
Exploring Operation: 84+16=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[67, 17, 91, 75], Operations: []
Exploring Operation: 17+75=92, Resulting Numbers: [67, 91, 92]
Generated Node #0,0: 100:[67, 91, 92] Operation: 17+75=92
Exploring Operation: 91-75=16, Resulting Numbers: [67, 17, 16]
Generated Node #0,1: 100:[67, 17, 16] Operation: 91-75=16
Exploring Operation: 67-17=50, Resulting Numbers: [91, 75, 50]
Generated Node #0,2: 100:[91, 75, 50] Operation: 67-17=50
Exploring Operation: 91-67=24, Resulting Numbers: [17, 75, 24]
Generated Node #0,3: 100:[17, 75, 24] Operation: 91-67=24
Exploring Operation: 75-67=8, Resulting Numbers: [17, 91, 8]
Generated Node #0,4: 100:[17, 91, 8] Operation: 75-67=8
Moving to Node #0,4
Current State: 100:[17, 91, 8], Operations: ['75-67=8']
Exploring Operation: 17+91=108, Resulting Numbers: [8, 108]
Generated Node #0,4,0: 100:[8, 108] Operation: 17+91=108
Exploring Operation: 91-8=83, Resulting Numbers: [17, 83]
Generated Node #0,4,1: 100:[17, 83] Operation: 91-8=83
Exploring Operation: 91+8=99, Resulting Numbers: [17, 99]
Generated Node #0,4,2: 100:[17, 99] Operation: 91+8=99
Exploring Operation: 17-8=9, Resulting Numbers: [91, 9]
Generated Node #0,4,3: 100:[91, 9] Operation: 17-8=9
Exploring Operation: 17+8=25, Resulting Numbers: [91, 25]
Generated Node #0,4,4: 100:[91, 25] Operation: 17+8=25
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 100:[17, 99], Operations: ['75-67=8', '91+8=99']
Exploring Operation: 17+99=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,100 unequal: No Solution
Exploring Operation: 17*99=1683, Resulting Numbers: [1683]
1683,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 100:[91, 25], Operations: ['75-67=8', '17+8=25']
Exploring Operation: 91+25=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 91*25=2275, Resulting Numbers: [2275]
2275,100 unequal: No Solution
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 100:[8, 108], Operations: ['75-67=8', '17+91=108']
Exploring Operation: 8+108=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 8*108=864, Resulting Numbers: [864]
864,100 unequal: No Solution
Exploring Operation: 108-8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[67, 17, 91, 75], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [17, 91, 8]
Generated Node #0,4: 100:[17, 91, 8] Operation: 75-67=8
Moving to Node #0,4
Current State: 100:[17, 91, 8], Operations: ['75-67=8']
Exploring Operation: 17+91=108, Resulting Numbers: [8, 108]
Generated Node #0,4,0: 100:[8, 108] Operation: 17+91=108
Moving to Node #0,4,0
Current State: 100:[8, 108], Operations: ['75-67=8', '17+91=108']
Exploring Operation: 108-8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
3,
66,
35,
91
] | 40 | [
"91-66=25",
"3*25=75",
"75-35=40"
] | Current State: 40:[3, 66, 35, 91], Operations: []
Exploring Operation: 91-66=25, Resulting Numbers: [3, 35, 25]
Generated Node #2: [3, 35, 25] from Operation: 91-66=25
Current State: 40:[3, 35, 25], Operations: ['91-66=25']
Exploring Operation: 3*25=75, Resulting Numbers: [35, 75]
Generated Node #3: [35, 75] from Operation: 3*25=75
Current State: 40:[35, 75], Operations: ['91-66=25', '3*25=75']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[3, 66, 35, 91], Operations: []
Exploring Operation: 91-66=25, Resulting Numbers: [3, 35, 25]
Generated Node #0,0: 40:[3, 35, 25] Operation: 91-66=25
Moving to Node #0,0
Current State: 40:[3, 35, 25], Operations: ['91-66=25']
Exploring Operation: 35-25=10, Resulting Numbers: [3, 10]
Generated Node #0,0,0: 40:[3, 10] Operation: 35-25=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[3, 10], Operations: ['91-66=25', '35-25=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
93,
2,
42,
51
] | 100 | [
"93-2=91",
"51-42=9",
"91+9=100"
] | Current State: 100:[93, 2, 42, 51], Operations: []
Exploring Operation: 93-2=91, Resulting Numbers: [42, 51, 91]
Generated Node #2: [42, 51, 91] from Operation: 93-2=91
Current State: 100:[42, 51, 91], Operations: ['93-2=91']
Exploring Operation: 51-42=9, Resulting Numbers: [91, 9]
Generated Node #3: [91, 9] from Operation: 51-42=9
Current State: 100:[91, 9], Operations: ['93-2=91', '51-42=9']
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[93, 2, 42, 51], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [93, 2, 9]
Generated Node #0,0: 100:[93, 2, 9] Operation: 51-42=9
Exploring Operation: 42/2=21, Resulting Numbers: [93, 51, 21]
Generated Node #0,1: 100:[93, 51, 21] Operation: 42/2=21
Exploring Operation: 93+2=95, Resulting Numbers: [42, 51, 95]
Generated Node #0,2: 100:[42, 51, 95] Operation: 93+2=95
Exploring Operation: 93-42=51, Resulting Numbers: [2, 51, 51]
Generated Node #0,3: 100:[2, 51, 51] Operation: 93-42=51
Moving to Node #0,3
Current State: 100:[2, 51, 51], Operations: ['93-42=51']
Exploring Operation: 51+51=102, Resulting Numbers: [2, 102]
Generated Node #0,3,0: 100:[2, 102] Operation: 51+51=102
Exploring Operation: 51/51=1, Resulting Numbers: [2, 1]
Generated Node #0,3,1: 100:[2, 1] Operation: 51/51=1
Exploring Operation: 51-2=49, Resulting Numbers: [51, 49]
Generated Node #0,3,2: 100:[51, 49] Operation: 51-2=49
Exploring Operation: 51-2=49, Resulting Numbers: [51, 49]
Generated Node #0,3,3: 100:[51, 49] Operation: 51-2=49
Moving to Node #0,0
Current State: 100:[93, 2, 9], Operations: ['51-42=9']
Exploring Operation: 2*9=18, Resulting Numbers: [93, 18]
Generated Node #0,0,0: 100:[93, 18] Operation: 2*9=18
Exploring Operation: 2+9=11, Resulting Numbers: [93, 11]
Generated Node #0,0,1: 100:[93, 11] Operation: 2+9=11
Exploring Operation: 93+9=102, Resulting Numbers: [2, 102]
Generated Node #0,0,2: 100:[2, 102] Operation: 93+9=102
Exploring Operation: 93+2=95, Resulting Numbers: [9, 95]
Generated Node #0,0,3: 100:[9, 95] Operation: 93+2=95
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[2, 102], Operations: ['51-42=9', '93+9=102']
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[93, 2, 42, 51], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [93, 2, 9]
Generated Node #0,0: 100:[93, 2, 9] Operation: 51-42=9
Moving to Node #0,0
Current State: 100:[93, 2, 9], Operations: ['51-42=9']
Exploring Operation: 93+9=102, Resulting Numbers: [2, 102]
Generated Node #0,0,2: 100:[2, 102] Operation: 93+9=102
Moving to Node #0,0,2
Current State: 100:[2, 102], Operations: ['51-42=9', '93+9=102']
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
95,
25,
40,
88
] | 72 | [
"95+25=120",
"88-40=48",
"120-48=72"
] | Current State: 72:[95, 25, 40, 88], Operations: []
Exploring Operation: 95+25=120, Resulting Numbers: [40, 88, 120]
Generated Node #2: [40, 88, 120] from Operation: 95+25=120
Current State: 72:[40, 88, 120], Operations: ['95+25=120']
Exploring Operation: 88-40=48, Resulting Numbers: [120, 48]
Generated Node #3: [120, 48] from Operation: 88-40=48
Current State: 72:[120, 48], Operations: ['95+25=120', '88-40=48']
Exploring Operation: 120-48=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[95, 25, 40, 88], Operations: []
Exploring Operation: 95-25=70, Resulting Numbers: [40, 88, 70]
Generated Node #0,0: 72:[40, 88, 70] Operation: 95-25=70
Exploring Operation: 95-88=7, Resulting Numbers: [25, 40, 7]
Generated Node #0,1: 72:[25, 40, 7] Operation: 95-88=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[25, 40, 7], Operations: ['95-88=7']
Exploring Operation: 25-7=18, Resulting Numbers: [40, 18]
Generated Node #0,1,0: 72:[40, 18] Operation: 25-7=18
Exploring Operation: 40-25=15, Resulting Numbers: [7, 15]
Generated Node #0,1,1: 72:[7, 15] Operation: 40-25=15
Moving to Node #0,1,0
Current State: 72:[40, 18], Operations: ['95-88=7', '25-7=18']
Exploring Operation: 40+18=58, Resulting Numbers: [58]
58,72 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[7, 15], Operations: ['95-88=7', '40-25=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[40, 88, 70], Operations: ['95-25=70']
Exploring Operation: 88-40=48, Resulting Numbers: [70, 48]
Generated Node #0,0,0: 72:[70, 48] Operation: 88-40=48
Exploring Operation: 88-70=18, Resulting Numbers: [40, 18]
Generated Node #0,0,1: 72:[40, 18] Operation: 88-70=18
Moving to Node #0,0,1
Current State: 72:[40, 18], Operations: ['95-25=70', '88-70=18']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 40+18=58, Resulting Numbers: [58]
58,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[70, 48], Operations: ['95-25=70', '88-40=48']
Exploring Operation: 70+48=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,72 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 |
[
50,
18,
35,
27
] | 60 | [
"50+18=68",
"35-27=8",
"68-8=60"
] | Current State: 60:[50, 18, 35, 27], Operations: []
Exploring Operation: 50+18=68, Resulting Numbers: [35, 27, 68]
Generated Node #2: [35, 27, 68] from Operation: 50+18=68
Current State: 60:[35, 27, 68], Operations: ['50+18=68']
Exploring Operation: 35-27=8, Resulting Numbers: [68, 8]
Generated Node #3: [68, 8] from Operation: 35-27=8
Current State: 60:[68, 8], Operations: ['50+18=68', '35-27=8']
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[50, 18, 35, 27], Operations: []
Exploring Operation: 50-35=15, Resulting Numbers: [18, 27, 15]
Generated Node #0,0: 60:[18, 27, 15] Operation: 50-35=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[18, 27, 15], Operations: ['50-35=15']
Exploring Operation: 27-18=9, Resulting Numbers: [15, 9]
Generated Node #0,0,0: 60:[15, 9] Operation: 27-18=9
Moving to Node #0,0,0
Current State: 60:[15, 9], Operations: ['50-35=15', '27-18=9']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
73,
28,
47,
28
] | 27 | [
"73-47=26",
"28/28=1",
"26+1=27"
] | Current State: 27:[73, 28, 47, 28], Operations: []
Exploring Operation: 73-47=26, Resulting Numbers: [28, 28, 26]
Generated Node #2: [28, 28, 26] from Operation: 73-47=26
Current State: 27:[28, 28, 26], Operations: ['73-47=26']
Exploring Operation: 28/28=1, Resulting Numbers: [26, 1]
Generated Node #3: [26, 1] from Operation: 28/28=1
Current State: 27:[26, 1], Operations: ['73-47=26', '28/28=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[73, 28, 47, 28], Operations: []
Exploring Operation: 73-28=45, Resulting Numbers: [47, 28, 45]
Generated Node #0,0: 27:[47, 28, 45] Operation: 73-28=45
Exploring Operation: 73-47=26, Resulting Numbers: [28, 28, 26]
Generated Node #0,1: 27:[28, 28, 26] Operation: 73-47=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[28, 28, 26], Operations: ['73-47=26']
Exploring Operation: 28-26=2, Resulting Numbers: [28, 2]
Generated Node #0,1,0: 27:[28, 2] Operation: 28-26=2
Exploring Operation: 28-26=2, Resulting Numbers: [28, 2]
Generated Node #0,1,1: 27:[28, 2] Operation: 28-26=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[28, 2], Operations: ['73-47=26', '28-26=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,27 unequal: No Solution
No 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: 27:[28, 2], Operations: ['73-47=26', '28-26=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,27 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: 27:[47, 28, 45], Operations: ['73-28=45']
Exploring Operation: 47-45=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 27:[28, 2] Operation: 47-45=2
Exploring Operation: 47-28=19, Resulting Numbers: [45, 19]
Generated Node #0,0,1: 27:[45, 19] Operation: 47-28=19
Moving to Node #0,0,0
Current State: 27:[28, 2], Operations: ['73-28=45', '47-45=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[45, 19], Operations: ['73-28=45', '47-28=19']
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,27 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,27 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 |
[
32,
45,
90,
15
] | 31 | [
"32*45=1440",
"1440/90=16",
"15+16=31"
] | Current State: 31:[32, 45, 90, 15], Operations: []
Exploring Operation: 32*45=1440, Resulting Numbers: [90, 15, 1440]
Generated Node #2: [90, 15, 1440] from Operation: 32*45=1440
Current State: 31:[90, 15, 1440], Operations: ['32*45=1440']
Exploring Operation: 1440/90=16, Resulting Numbers: [15, 16]
Generated Node #3: [15, 16] from Operation: 1440/90=16
Current State: 31:[15, 16], Operations: ['32*45=1440', '1440/90=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[32, 45, 90, 15], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [32, 15, 2]
Generated Node #0,0: 31:[32, 15, 2] Operation: 90/45=2
Exploring Operation: 90/15=6, Resulting Numbers: [32, 45, 6]
Generated Node #0,1: 31:[32, 45, 6] Operation: 90/15=6
Exploring Operation: 90-45=45, Resulting Numbers: [32, 15, 45]
Generated Node #0,2: 31:[32, 15, 45] Operation: 90-45=45
Exploring Operation: 90-32=58, Resulting Numbers: [45, 15, 58]
Generated Node #0,3: 31:[45, 15, 58] Operation: 90-32=58
Exploring Operation: 90-15=75, Resulting Numbers: [32, 45, 75]
Generated Node #0,4: 31:[32, 45, 75] Operation: 90-15=75
Moving to Node #0,2
Current State: 31:[32, 15, 45], Operations: ['90-45=45']
Exploring Operation: 45/15=3, Resulting Numbers: [32, 3]
Generated Node #0,2,0: 31:[32, 3] Operation: 45/15=3
Exploring Operation: 45-15=30, Resulting Numbers: [32, 30]
Generated Node #0,2,1: 31:[32, 30] Operation: 45-15=30
Exploring Operation: 32-15=17, Resulting Numbers: [45, 17]
Generated Node #0,2,2: 31:[45, 17] Operation: 32-15=17
Exploring Operation: 15+45=60, Resulting Numbers: [32, 60]
Generated Node #0,2,3: 31:[32, 60] Operation: 15+45=60
Exploring Operation: 32+15=47, Resulting Numbers: [45, 47]
Generated Node #0,2,4: 31:[45, 47] Operation: 32+15=47
Moving to Node #0,1
Current State: 31:[32, 45, 6], Operations: ['90/15=6']
Exploring Operation: 45-32=13, Resulting Numbers: [6, 13]
Generated Node #0,1,0: 31:[6, 13] Operation: 45-32=13
Exploring Operation: 32+6=38, Resulting Numbers: [45, 38]
Generated Node #0,1,1: 31:[45, 38] Operation: 32+6=38
Exploring Operation: 45+6=51, Resulting Numbers: [32, 51]
Generated Node #0,1,2: 31:[32, 51] Operation: 45+6=51
Exploring Operation: 45-6=39, Resulting Numbers: [32, 39]
Generated Node #0,1,3: 31:[32, 39] Operation: 45-6=39
Exploring Operation: 32-6=26, Resulting Numbers: [45, 26]
Generated Node #0,1,4: 31:[45, 26] Operation: 32-6=26
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 31:[32, 39], Operations: ['90/15=6', '45-6=39']
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,31 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,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,4
Current State: 31:[45, 26], Operations: ['90/15=6', '32-6=26']
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,31 unequal: No Solution
Exploring Operation: 45*26=1170, Resulting Numbers: [1170]
1170,31 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,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:[45, 38], Operations: ['90/15=6', '32+6=38']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,31 unequal: No Solution
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[32, 51], Operations: ['90/15=6', '45+6=51']
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,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:[6, 13], Operations: ['90/15=6', '45-32=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,31 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,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:[32, 15, 2], Operations: ['90/45=2']
Exploring Operation: 32+2=34, Resulting Numbers: [15, 34]
Generated Node #0,0,0: 31:[15, 34] Operation: 32+2=34
Exploring Operation: 15*2=30, Resulting Numbers: [32, 30]
Generated Node #0,0,1: 31:[32, 30] Operation: 15*2=30
Exploring Operation: 32-2=30, Resulting Numbers: [15, 30]
Generated Node #0,0,2: 31:[15, 30] Operation: 32-2=30
Exploring Operation: 15-2=13, Resulting Numbers: [32, 13]
Generated Node #0,0,3: 31:[32, 13] Operation: 15-2=13
Exploring Operation: 15+2=17, Resulting Numbers: [32, 17]
Generated Node #0,0,4: 31:[32, 17] Operation: 15+2=17
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[32, 30], Operations: ['90/45=2', '15*2=30']
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,31 unequal: No Solution
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
No 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: 31:[32, 17], Operations: ['90/45=2', '15+2=17']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,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:[15, 30], Operations: ['90/45=2', '32-2=30']
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 15*30=450, Resulting Numbers: [450]
450,31 unequal: No Solution
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[15, 34], Operations: ['90/45=2', '32+2=34']
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,31 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,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,3
Current State: 31:[32, 13], Operations: ['90/45=2', '15-2=13']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,31 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: 31:[45, 15, 58], Operations: ['90-32=58']
Exploring Operation: 45+15=60, Resulting Numbers: [58, 60]
Generated Node #0,3,0: 31:[58, 60] Operation: 45+15=60
Exploring Operation: 58-45=13, Resulting Numbers: [15, 13]
Generated Node #0,3,1: 31:[15, 13] Operation: 58-45=13
Exploring Operation: 45/15=3, Resulting Numbers: [58, 3]
Generated Node #0,3,2: 31:[58, 3] Operation: 45/15=3
Exploring Operation: 45-15=30, Resulting Numbers: [58, 30]
Generated Node #0,3,3: 31:[58, 30] Operation: 45-15=30
Exploring Operation: 58-15=43, Resulting Numbers: [45, 43]
Generated Node #0,3,4: 31:[45, 43] Operation: 58-15=43
Moving to Node #0,4
Current State: 31:[32, 45, 75], Operations: ['90-15=75']
Exploring Operation: 75-32=43, Resulting Numbers: [45, 43]
Generated Node #0,4,0: 31:[45, 43] Operation: 75-32=43
Exploring Operation: 32+45=77, Resulting Numbers: [75, 77]
Generated Node #0,4,1: 31:[75, 77] Operation: 32+45=77
Exploring Operation: 75-45=30, Resulting Numbers: [32, 30]
Generated Node #0,4,2: 31:[32, 30] Operation: 75-45=30
Exploring Operation: 32+75=107, Resulting Numbers: [45, 107]
Generated Node #0,4,3: 31:[45, 107] Operation: 32+75=107
Exploring Operation: 45-32=13, Resulting Numbers: [75, 13]
Generated Node #0,4,4: 31:[75, 13] Operation: 45-32=13
Moving to Node #0,2,1
Current State: 31:[32, 30], Operations: ['90-45=45', '45-15=30']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,31 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Moving to Node #0,4,2
Current State: 31:[32, 30], Operations: ['90-15=75', '75-45=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
Moving to Node #0,3,4
Current State: 31:[45, 43], Operations: ['90-32=58', '58-15=43']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,31 unequal: No Solution
Exploring Operation: 45*43=1935, Resulting Numbers: [1935]
1935,31 unequal: No Solution
Moving to Node #0,4,0
Current State: 31:[45, 43], Operations: ['90-15=75', '75-32=43']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,31 unequal: No Solution
Exploring Operation: 45*43=1935, Resulting Numbers: [1935]
1935,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[58, 30], Operations: ['90-32=58', '45-15=30']
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,31 unequal: No Solution
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,31 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[45, 17], Operations: ['90-45=45', '32-15=17']
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 45*17=765, Resulting Numbers: [765]
765,31 unequal: No Solution
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[32, 3], Operations: ['90-45=45', '45/15=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[45, 47], Operations: ['90-45=45', '32+15=47']
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,31 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[32, 60], Operations: ['90-45=45', '15+45=60']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 32*60=1920, Resulting Numbers: [1920]
1920,31 unequal: No Solution
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[15, 13], Operations: ['90-32=58', '58-45=13']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[58, 3], Operations: ['90-32=58', '45/15=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,31 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[58, 60], Operations: ['90-32=58', '45+15=60']
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,31 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 58*60=3480, Resulting Numbers: [3480]
3480,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[75, 13], Operations: ['90-15=75', '45-32=13']
Exploring Operation: 75*13=975, Resulting Numbers: [975]
975,31 unequal: No Solution
Exploring Operation: 75+13=88, Resulting Numbers: [88]
88,31 unequal: No Solution
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Moving to Node #0,4,3
Current State: 31:[45, 107], Operations: ['90-15=75', '32+75=107']
Exploring Operation: 45*107=4815, Resulting Numbers: [4815]
4815,31 unequal: No Solution
Exploring Operation: 107-45=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 45+107=152, Resulting Numbers: [152]
152,31 unequal: No Solution
Moving to Node #0,4,1
Current State: 31:[75, 77], Operations: ['90-15=75', '32+45=77']
Exploring Operation: 75*77=5775, Resulting Numbers: [5775]
5775,31 unequal: No Solution
Exploring Operation: 77-75=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 75+77=152, Resulting Numbers: [152]
152,31 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
45,
90,
30,
64
] | 22 | [
"64-45=19",
"90/30=3",
"19+3=22"
] | Current State: 22:[45, 90, 30, 64], Operations: []
Exploring Operation: 64-45=19, Resulting Numbers: [90, 30, 19]
Generated Node #2: [90, 30, 19] from Operation: 64-45=19
Current State: 22:[90, 30, 19], Operations: ['64-45=19']
Exploring Operation: 90/30=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 90/30=3
Current State: 22:[19, 3], Operations: ['64-45=19', '90/30=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[45, 90, 30, 64], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [45, 64, 3]
Generated Node #0,0: 22:[45, 64, 3] Operation: 90/30=3
Exploring Operation: 90/45=2, Resulting Numbers: [30, 64, 2]
Generated Node #0,1: 22:[30, 64, 2] Operation: 90/45=2
Exploring Operation: 90-64=26, Resulting Numbers: [45, 30, 26]
Generated Node #0,2: 22:[45, 30, 26] Operation: 90-64=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[45, 30, 26], Operations: ['90-64=26']
Exploring Operation: 45-30=15, Resulting Numbers: [26, 15]
Generated Node #0,2,0: 22:[26, 15] Operation: 45-30=15
Exploring Operation: 45-26=19, Resulting Numbers: [30, 19]
Generated Node #0,2,1: 22:[30, 19] Operation: 45-26=19
Exploring Operation: 30-26=4, Resulting Numbers: [45, 4]
Generated Node #0,2,2: 22:[45, 4] Operation: 30-26=4
Moving to Node #0,2,0
Current State: 22:[26, 15], Operations: ['90-64=26', '45-30=15']
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[30, 19], Operations: ['90-64=26', '45-26=19']
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[45, 4], Operations: ['90-64=26', '30-26=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,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:[30, 64, 2], Operations: ['90/45=2']
Exploring Operation: 30/2=15, Resulting Numbers: [64, 15]
Generated Node #0,1,0: 22:[64, 15] Operation: 30/2=15
Exploring Operation: 64-30=34, Resulting Numbers: [2, 34]
Generated Node #0,1,1: 22:[2, 34] Operation: 64-30=34
Exploring Operation: 64/2=32, Resulting Numbers: [30, 32]
Generated Node #0,1,2: 22:[30, 32] Operation: 64/2=32
Moving to Node #0,1,1
Current State: 22:[2, 34], Operations: ['90/45=2', '64-30=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[30, 32], Operations: ['90/45=2', '64/2=32']
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,22 unequal: No Solution
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,22 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[64, 15], Operations: ['90/45=2', '30/2=15']
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 64*15=960, Resulting Numbers: [960]
960,22 unequal: No Solution
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,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:[45, 64, 3], Operations: ['90/30=3']
Exploring Operation: 45/3=15, Resulting Numbers: [64, 15]
Generated Node #0,0,0: 22:[64, 15] Operation: 45/3=15
Exploring Operation: 64-45=19, Resulting Numbers: [3, 19]
Generated Node #0,0,1: 22:[3, 19] Operation: 64-45=19
Exploring Operation: 45-3=42, Resulting Numbers: [64, 42]
Generated Node #0,0,2: 22:[64, 42] Operation: 45-3=42
Moving to Node #0,0,1
Current State: 22:[3, 19], Operations: ['90/30=3', '64-45=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[45, 90, 30, 64], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [45, 64, 3]
Generated Node #0,0: 22:[45, 64, 3] Operation: 90/30=3
Moving to Node #0,0
Current State: 22:[45, 64, 3], Operations: ['90/30=3']
Exploring Operation: 64-45=19, Resulting Numbers: [3, 19]
Generated Node #0,0,1: 22:[3, 19] Operation: 64-45=19
Moving to Node #0,0,1
Current State: 22:[3, 19], Operations: ['90/30=3', '64-45=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | sum_heuristic |
[
22,
37,
48,
62
] | 95 | [
"37-22=15",
"48+62=110",
"110-15=95"
] | Current State: 95:[22, 37, 48, 62], Operations: []
Exploring Operation: 37-22=15, Resulting Numbers: [48, 62, 15]
Generated Node #2: [48, 62, 15] from Operation: 37-22=15
Current State: 95:[48, 62, 15], Operations: ['37-22=15']
Exploring Operation: 48+62=110, Resulting Numbers: [15, 110]
Generated Node #3: [15, 110] from Operation: 48+62=110
Current State: 95:[15, 110], Operations: ['37-22=15', '48+62=110']
Exploring Operation: 110-15=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[22, 37, 48, 62], Operations: []
Exploring Operation: 37+62=99, Resulting Numbers: [22, 48, 99]
Generated Node #0,0: 95:[22, 48, 99] Operation: 37+62=99
Exploring Operation: 62-48=14, Resulting Numbers: [22, 37, 14]
Generated Node #0,1: 95:[22, 37, 14] Operation: 62-48=14
Exploring Operation: 48+62=110, Resulting Numbers: [22, 37, 110]
Generated Node #0,2: 95:[22, 37, 110] Operation: 48+62=110
Exploring Operation: 62-37=25, Resulting Numbers: [22, 48, 25]
Generated Node #0,3: 95:[22, 48, 25] Operation: 62-37=25
Exploring Operation: 48-37=11, Resulting Numbers: [22, 62, 11]
Generated Node #0,4: 95:[22, 62, 11] Operation: 48-37=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[22, 37, 14], Operations: ['62-48=14']
Exploring Operation: 37-22=15, Resulting Numbers: [14, 15]
Generated Node #0,1,0: 95:[14, 15] Operation: 37-22=15
Exploring Operation: 37+14=51, Resulting Numbers: [22, 51]
Generated Node #0,1,1: 95:[22, 51] Operation: 37+14=51
Exploring Operation: 37-14=23, Resulting Numbers: [22, 23]
Generated Node #0,1,2: 95:[22, 23] Operation: 37-14=23
Exploring Operation: 22+14=36, Resulting Numbers: [37, 36]
Generated Node #0,1,3: 95:[37, 36] Operation: 22+14=36
Exploring Operation: 22-14=8, Resulting Numbers: [37, 8]
Generated Node #0,1,4: 95:[37, 8] Operation: 22-14=8
Moving to Node #0,1,2
Current State: 95:[22, 23], Operations: ['62-48=14', '37-14=23']
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[14, 15], Operations: ['62-48=14', '37-22=15']
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,95 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Moving to Node #0,1,4
Current State: 95:[37, 8], Operations: ['62-48=14', '22-14=8']
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,95 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[22, 51], Operations: ['62-48=14', '37+14=51']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 22*51=1122, Resulting Numbers: [1122]
1122,95 unequal: No Solution
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Moving to Node #0,1,3
Current State: 95:[37, 36], Operations: ['62-48=14', '22+14=36']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,95 unequal: No Solution
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[22, 48, 99], Operations: ['37+62=99']
Exploring Operation: 48-22=26, Resulting Numbers: [99, 26]
Generated Node #0,0,0: 95:[99, 26] Operation: 48-22=26
Exploring Operation: 22+48=70, Resulting Numbers: [99, 70]
Generated Node #0,0,1: 95:[99, 70] Operation: 22+48=70
Exploring Operation: 99-48=51, Resulting Numbers: [22, 51]
Generated Node #0,0,2: 95:[22, 51] Operation: 99-48=51
Exploring Operation: 99-22=77, Resulting Numbers: [48, 77]
Generated Node #0,0,3: 95:[48, 77] Operation: 99-22=77
Exploring Operation: 22+99=121, Resulting Numbers: [48, 121]
Generated Node #0,0,4: 95:[48, 121] Operation: 22+99=121
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[99, 26], Operations: ['37+62=99', '48-22=26']
Exploring Operation: 99+26=125, Resulting Numbers: [125]
125,95 unequal: No Solution
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 99*26=2574, Resulting Numbers: [2574]
2574,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[99, 70], Operations: ['37+62=99', '22+48=70']
Exploring Operation: 99*70=6930, Resulting Numbers: [6930]
6930,95 unequal: No Solution
Exploring Operation: 99+70=169, Resulting Numbers: [169]
169,95 unequal: No Solution
Exploring Operation: 99-70=29, Resulting Numbers: [29]
29,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[22, 51], Operations: ['37+62=99', '99-48=51']
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 22*51=1122, Resulting Numbers: [1122]
1122,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 95:[48, 77], Operations: ['37+62=99', '99-22=77']
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 48+77=125, Resulting Numbers: [125]
125,95 unequal: No Solution
Exploring Operation: 48*77=3696, Resulting Numbers: [3696]
3696,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 95:[48, 121], Operations: ['37+62=99', '22+99=121']
Exploring Operation: 48*121=5808, Resulting Numbers: [5808]
5808,95 unequal: No Solution
Exploring Operation: 48+121=169, Resulting Numbers: [169]
169,95 unequal: No Solution
Exploring Operation: 121-48=73, Resulting Numbers: [73]
73,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[22, 37, 110], Operations: ['48+62=110']
Exploring Operation: 22+37=59, Resulting Numbers: [110, 59]
Generated Node #0,2,0: 95:[110, 59] Operation: 22+37=59
Exploring Operation: 110-22=88, Resulting Numbers: [37, 88]
Generated Node #0,2,1: 95:[37, 88] Operation: 110-22=88
Exploring Operation: 110-37=73, Resulting Numbers: [22, 73]
Generated Node #0,2,2: 95:[22, 73] Operation: 110-37=73
Exploring Operation: 110/22=5, Resulting Numbers: [37, 5]
Generated Node #0,2,3: 95:[37, 5] Operation: 110/22=5
Exploring Operation: 37-22=15, Resulting Numbers: [110, 15]
Generated Node #0,2,4: 95:[110, 15] Operation: 37-22=15
Moving to Node #0,2,3
Current State: 95:[37, 5], Operations: ['48+62=110', '110/22=5']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,95 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,95 unequal: No Solution
Moving to Node #0,2,4
Current State: 95:[110, 15], Operations: ['48+62=110', '37-22=15']
Exploring Operation: 110*15=1650, Resulting Numbers: [1650]
1650,95 unequal: No Solution
Exploring Operation: 110+15=125, Resulting Numbers: [125]
125,95 unequal: No Solution
Exploring Operation: 110-15=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[22, 37, 48, 62], Operations: []
Exploring Operation: 48+62=110, Resulting Numbers: [22, 37, 110]
Generated Node #0,2: 95:[22, 37, 110] Operation: 48+62=110
Moving to Node #0,2
Current State: 95:[22, 37, 110], Operations: ['48+62=110']
Exploring Operation: 37-22=15, Resulting Numbers: [110, 15]
Generated Node #0,2,4: 95:[110, 15] Operation: 37-22=15
Moving to Node #0,2,4
Current State: 95:[110, 15], Operations: ['48+62=110', '37-22=15']
Exploring Operation: 110-15=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.947917 | hs_5 | sum_heuristic |
[
27,
47,
30,
45
] | 89 | [
"27+47=74",
"45-30=15",
"74+15=89"
] | Current State: 89:[27, 47, 30, 45], Operations: []
Exploring Operation: 27+47=74, Resulting Numbers: [30, 45, 74]
Generated Node #2: [30, 45, 74] from Operation: 27+47=74
Current State: 89:[30, 45, 74], Operations: ['27+47=74']
Exploring Operation: 45-30=15, Resulting Numbers: [74, 15]
Generated Node #3: [74, 15] from Operation: 45-30=15
Current State: 89:[74, 15], Operations: ['27+47=74', '45-30=15']
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[27, 47, 30, 45], Operations: []
Exploring Operation: 27+30=57, Resulting Numbers: [47, 45, 57]
Generated Node #0,0: 89:[47, 45, 57] Operation: 27+30=57
Exploring Operation: 27+47=74, Resulting Numbers: [30, 45, 74]
Generated Node #0,1: 89:[30, 45, 74] Operation: 27+47=74
Exploring Operation: 47+30=77, Resulting Numbers: [27, 45, 77]
Generated Node #0,2: 89:[27, 45, 77] Operation: 47+30=77
Exploring Operation: 27+45=72, Resulting Numbers: [47, 30, 72]
Generated Node #0,3: 89:[47, 30, 72] Operation: 27+45=72
Exploring Operation: 30+45=75, Resulting Numbers: [27, 47, 75]
Generated Node #0,4: 89:[27, 47, 75] Operation: 30+45=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[47, 45, 57], Operations: ['27+30=57']
Exploring Operation: 47+57=104, Resulting Numbers: [45, 104]
Generated Node #0,0,0: 89:[45, 104] Operation: 47+57=104
Exploring Operation: 57-45=12, Resulting Numbers: [47, 12]
Generated Node #0,0,1: 89:[47, 12] Operation: 57-45=12
Exploring Operation: 45+57=102, Resulting Numbers: [47, 102]
Generated Node #0,0,2: 89:[47, 102] Operation: 45+57=102
Exploring Operation: 47-45=2, Resulting Numbers: [57, 2]
Generated Node #0,0,3: 89:[57, 2] Operation: 47-45=2
Exploring Operation: 47+45=92, Resulting Numbers: [57, 92]
Generated Node #0,0,4: 89:[57, 92] Operation: 47+45=92
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 89:[57, 92], Operations: ['27+30=57', '47+45=92']
Exploring Operation: 57*92=5244, Resulting Numbers: [5244]
5244,89 unequal: No Solution
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 57+92=149, Resulting Numbers: [149]
149,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[47, 102], Operations: ['27+30=57', '45+57=102']
Exploring Operation: 47+102=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 47*102=4794, Resulting Numbers: [4794]
4794,89 unequal: No Solution
Exploring Operation: 102-47=55, Resulting Numbers: [55]
55,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[45, 104], Operations: ['27+30=57', '47+57=104']
Exploring Operation: 45+104=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 45*104=4680, Resulting Numbers: [4680]
4680,89 unequal: No Solution
Exploring Operation: 104-45=59, Resulting Numbers: [59]
59,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[47, 12], Operations: ['27+30=57', '57-45=12']
Exploring Operation: 47+12=59, Resulting Numbers: [59]
59,89 unequal: No Solution
Exploring Operation: 47*12=564, Resulting Numbers: [564]
564,89 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 89:[57, 2], Operations: ['27+30=57', '47-45=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,89 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,89 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[30, 45, 74], Operations: ['27+47=74']
Exploring Operation: 30+74=104, Resulting Numbers: [45, 104]
Generated Node #0,1,0: 89:[45, 104] Operation: 30+74=104
Exploring Operation: 74-30=44, Resulting Numbers: [45, 44]
Generated Node #0,1,1: 89:[45, 44] Operation: 74-30=44
Exploring Operation: 45-30=15, Resulting Numbers: [74, 15]
Generated Node #0,1,2: 89:[74, 15] Operation: 45-30=15
Exploring Operation: 45+74=119, Resulting Numbers: [30, 119]
Generated Node #0,1,3: 89:[30, 119] Operation: 45+74=119
Exploring Operation: 30+45=75, Resulting Numbers: [74, 75]
Generated Node #0,1,4: 89:[74, 75] Operation: 30+45=75
Moving to Node #0,1,4
Current State: 89:[74, 75], Operations: ['27+47=74', '30+45=75']
Exploring Operation: 74*75=5550, Resulting Numbers: [5550]
5550,89 unequal: No Solution
Exploring Operation: 74+75=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[45, 104], Operations: ['27+47=74', '30+74=104']
Exploring Operation: 104-45=59, Resulting Numbers: [59]
59,89 unequal: No Solution
Exploring Operation: 45*104=4680, Resulting Numbers: [4680]
4680,89 unequal: No Solution
Exploring Operation: 45+104=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[45, 44], Operations: ['27+47=74', '74-30=44']
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[27, 47, 30, 45], Operations: []
Exploring Operation: 27+47=74, Resulting Numbers: [30, 45, 74]
Generated Node #0,1: 89:[30, 45, 74] Operation: 27+47=74
Moving to Node #0,1
Current State: 89:[30, 45, 74], Operations: ['27+47=74']
Exploring Operation: 74-30=44, Resulting Numbers: [45, 44]
Generated Node #0,1,1: 89:[45, 44] Operation: 74-30=44
Moving to Node #0,1,1
Current State: 89:[45, 44], Operations: ['27+47=74', '74-30=44']
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
90,
25,
8,
46
] | 15 | [
"8+46=54",
"25*54=1350",
"1350/90=15"
] | Current State: 15:[90, 25, 8, 46], Operations: []
Exploring Operation: 8+46=54, Resulting Numbers: [90, 25, 54]
Generated Node #2: [90, 25, 54] from Operation: 8+46=54
Current State: 15:[90, 25, 54], Operations: ['8+46=54']
Exploring Operation: 25*54=1350, Resulting Numbers: [90, 1350]
Generated Node #3: [90, 1350] from Operation: 25*54=1350
Current State: 15:[90, 1350], Operations: ['8+46=54', '25*54=1350']
Exploring Operation: 1350/90=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[90, 25, 8, 46], Operations: []
Exploring Operation: 46-25=21, Resulting Numbers: [90, 8, 21]
Generated Node #0,0: 15:[90, 8, 21] Operation: 46-25=21
Exploring Operation: 90-46=44, Resulting Numbers: [25, 8, 44]
Generated Node #0,1: 15:[25, 8, 44] Operation: 90-46=44
Exploring Operation: 90-8=82, Resulting Numbers: [25, 46, 82]
Generated Node #0,2: 15:[25, 46, 82] Operation: 90-8=82
Exploring Operation: 90-25=65, Resulting Numbers: [8, 46, 65]
Generated Node #0,3: 15:[8, 46, 65] Operation: 90-25=65
Moving to Node #0,1
Current State: 15:[25, 8, 44], Operations: ['90-46=44']
Exploring Operation: 44-25=19, Resulting Numbers: [8, 19]
Generated Node #0,1,0: 15:[8, 19] Operation: 44-25=19
Exploring Operation: 25-8=17, Resulting Numbers: [44, 17]
Generated Node #0,1,1: 15:[44, 17] Operation: 25-8=17
Exploring Operation: 25+8=33, Resulting Numbers: [44, 33]
Generated Node #0,1,2: 15:[44, 33] Operation: 25+8=33
Exploring Operation: 44-8=36, Resulting Numbers: [25, 36]
Generated Node #0,1,3: 15:[25, 36] Operation: 44-8=36
Moving to Node #0,3
Current State: 15:[8, 46, 65], Operations: ['90-25=65']
Exploring Operation: 46-8=38, Resulting Numbers: [65, 38]
Generated Node #0,3,0: 15:[65, 38] Operation: 46-8=38
Exploring Operation: 65-8=57, Resulting Numbers: [46, 57]
Generated Node #0,3,1: 15:[46, 57] Operation: 65-8=57
Exploring Operation: 65-46=19, Resulting Numbers: [8, 19]
Generated Node #0,3,2: 15:[8, 19] Operation: 65-46=19
Exploring Operation: 8+46=54, Resulting Numbers: [65, 54]
Generated Node #0,3,3: 15:[65, 54] Operation: 8+46=54
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 15:[8, 19], Operations: ['90-25=65', '65-46=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,15 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 15:[65, 38], Operations: ['90-25=65', '46-8=38']
Exploring Operation: 65+38=103, Resulting Numbers: [103]
103,15 unequal: No Solution
Exploring Operation: 65*38=2470, Resulting Numbers: [2470]
2470,15 unequal: No Solution
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 15:[46, 57], Operations: ['90-25=65', '65-8=57']
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,15 unequal: No Solution
Exploring Operation: 46*57=2622, Resulting Numbers: [2622]
2622,15 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 15:[65, 54], Operations: ['90-25=65', '8+46=54']
Exploring Operation: 65+54=119, Resulting Numbers: [119]
119,15 unequal: No Solution
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 65*54=3510, Resulting Numbers: [3510]
3510,15 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: 15:[90, 8, 21], Operations: ['46-25=21']
Exploring Operation: 21-8=13, Resulting Numbers: [90, 13]
Generated Node #0,0,0: 15:[90, 13] Operation: 21-8=13
Exploring Operation: 90+8=98, Resulting Numbers: [21, 98]
Generated Node #0,0,1: 15:[21, 98] Operation: 90+8=98
Exploring Operation: 90-21=69, Resulting Numbers: [8, 69]
Generated Node #0,0,2: 15:[8, 69] Operation: 90-21=69
Exploring Operation: 90-8=82, Resulting Numbers: [21, 82]
Generated Node #0,0,3: 15:[21, 82] Operation: 90-8=82
Moving to Node #0,2
Current State: 15:[25, 46, 82], Operations: ['90-8=82']
Exploring Operation: 25+46=71, Resulting Numbers: [82, 71]
Generated Node #0,2,0: 15:[82, 71] Operation: 25+46=71
Exploring Operation: 82-46=36, Resulting Numbers: [25, 36]
Generated Node #0,2,1: 15:[25, 36] Operation: 82-46=36
Exploring Operation: 82-25=57, Resulting Numbers: [46, 57]
Generated Node #0,2,2: 15:[46, 57] Operation: 82-25=57
Exploring Operation: 46-25=21, Resulting Numbers: [82, 21]
Generated Node #0,2,3: 15:[82, 21] Operation: 46-25=21
Moving to Node #0,1,0
Current State: 15:[8, 19], Operations: ['90-46=44', '44-25=19']
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,15 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[25, 36], Operations: ['90-46=44', '44-8=36']
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,15 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[44, 17], Operations: ['90-46=44', '25-8=17']
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,15 unequal: No Solution
Exploring Operation: 44*17=748, Resulting Numbers: [748]
748,15 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[25, 36], Operations: ['90-8=82', '82-46=36']
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,15 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[44, 33], Operations: ['90-46=44', '25+8=33']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 44*33=1452, Resulting Numbers: [1452]
1452,15 unequal: No Solution
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[8, 69], Operations: ['46-25=21', '90-21=69']
Exploring Operation: 8*69=552, Resulting Numbers: [552]
552,15 unequal: No Solution
Exploring Operation: 8+69=77, Resulting Numbers: [77]
77,15 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[21, 82], Operations: ['46-25=21', '90-8=82']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,15 unequal: No Solution
Exploring Operation: 21*82=1722, Resulting Numbers: [1722]
1722,15 unequal: No Solution
Exploring Operation: 21+82=103, Resulting Numbers: [103]
103,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[46, 57], Operations: ['90-8=82', '82-25=57']
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 46*57=2622, Resulting Numbers: [2622]
2622,15 unequal: No Solution
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,15 unequal: No Solution
Moving to Node #0,2,3
Current State: 15:[82, 21], Operations: ['90-8=82', '46-25=21']
Exploring Operation: 82+21=103, Resulting Numbers: [103]
103,15 unequal: No Solution
Exploring Operation: 82*21=1722, Resulting Numbers: [1722]
1722,15 unequal: No Solution
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[90, 13], Operations: ['46-25=21', '21-8=13']
Exploring Operation: 90*13=1170, Resulting Numbers: [1170]
1170,15 unequal: No Solution
Exploring Operation: 90+13=103, Resulting Numbers: [103]
103,15 unequal: No Solution
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[21, 98], Operations: ['46-25=21', '90+8=98']
Exploring Operation: 21*98=2058, Resulting Numbers: [2058]
2058,15 unequal: No Solution
Exploring Operation: 98-21=77, Resulting Numbers: [77]
77,15 unequal: No Solution
Exploring Operation: 21+98=119, Resulting Numbers: [119]
119,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[82, 71], Operations: ['90-8=82', '25+46=71']
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 82+71=153, Resulting Numbers: [153]
153,15 unequal: No Solution
Exploring Operation: 82*71=5822, Resulting Numbers: [5822]
5822,15 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
20,
55,
76,
4
] | 54 | [
"55-20=35",
"76/4=19",
"35+19=54"
] | Current State: 54:[20, 55, 76, 4], Operations: []
Exploring Operation: 55-20=35, Resulting Numbers: [76, 4, 35]
Generated Node #2: [76, 4, 35] from Operation: 55-20=35
Current State: 54:[76, 4, 35], Operations: ['55-20=35']
Exploring Operation: 76/4=19, Resulting Numbers: [35, 19]
Generated Node #3: [35, 19] from Operation: 76/4=19
Current State: 54:[35, 19], Operations: ['55-20=35', '76/4=19']
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[20, 55, 76, 4], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [20, 55, 19]
Generated Node #0,0: 54:[20, 55, 19] Operation: 76/4=19
Exploring Operation: 76-20=56, Resulting Numbers: [55, 4, 56]
Generated Node #0,1: 54:[55, 4, 56] Operation: 76-20=56
Moving to Node #0,0
Current State: 54:[20, 55, 19], Operations: ['76/4=19']
Exploring Operation: 20-19=1, Resulting Numbers: [55, 1]
Generated Node #0,0,0: 54:[55, 1] Operation: 20-19=1
Exploring Operation: 55-20=35, Resulting Numbers: [19, 35]
Generated Node #0,0,1: 54:[19, 35] Operation: 55-20=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[55, 1], Operations: ['76/4=19', '20-19=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[20, 55, 76, 4], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [20, 55, 19]
Generated Node #0,0: 54:[20, 55, 19] Operation: 76/4=19
Moving to Node #0,0
Current State: 54:[20, 55, 19], Operations: ['76/4=19']
Exploring Operation: 20-19=1, Resulting Numbers: [55, 1]
Generated Node #0,0,0: 54:[55, 1] Operation: 20-19=1
Moving to Node #0,0,0
Current State: 54:[55, 1], Operations: ['76/4=19', '20-19=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
39,
56,
39,
14
] | 70 | [
"39+56=95",
"39-14=25",
"95-25=70"
] | Current State: 70:[39, 56, 39, 14], Operations: []
Exploring Operation: 39+56=95, Resulting Numbers: [14, 95]
Generated Node #2: [14, 95] from Operation: 39+56=95
Current State: 70:[14, 95], Operations: ['39+56=95']
Exploring Operation: 39-14=25, Resulting Numbers: [95, 25]
Generated Node #3: [95, 25] from Operation: 39-14=25
Current State: 70:[95, 25], Operations: ['39+56=95', '39-14=25']
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[39, 56, 39, 14], Operations: []
Exploring Operation: 56-39=17, Resulting Numbers: [39, 14, 17]
Generated Node #0,0: 70:[39, 14, 17] Operation: 56-39=17
Exploring Operation: 56-39=17, Resulting Numbers: [39, 14, 17]
Generated Node #0,1: 70:[39, 14, 17] Operation: 56-39=17
Moving to Node #0,0
Current State: 70:[39, 14, 17], Operations: ['56-39=17']
Exploring Operation: 39-17=22, Resulting Numbers: [14, 22]
Generated Node #0,0,0: 70:[14, 22] Operation: 39-17=22
Exploring Operation: 17-14=3, Resulting Numbers: [39, 3]
Generated Node #0,0,1: 70:[39, 3] Operation: 17-14=3
Moving to Node #0,1
Current State: 70:[39, 14, 17], Operations: ['56-39=17']
Exploring Operation: 39-17=22, Resulting Numbers: [14, 22]
Generated Node #0,1,0: 70:[14, 22] Operation: 39-17=22
Exploring Operation: 17-14=3, Resulting Numbers: [39, 3]
Generated Node #0,1,1: 70:[39, 3] Operation: 17-14=3
Moving to Node #0,0,1
Current State: 70:[39, 3], Operations: ['56-39=17', '17-14=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[39, 3], Operations: ['56-39=17', '17-14=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[14, 22], Operations: ['56-39=17', '39-17=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[14, 22], Operations: ['56-39=17', '39-17=22']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,70 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.