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 |
|---|---|---|---|---|---|---|---|---|
[
30,
15,
6,
43
] | 52 | [
"30-15=15",
"43-6=37",
"15+37=52"
] | Current State: 52:[30, 15, 6, 43], Operations: []
Exploring Operation: 30-15=15, Resulting Numbers: [6, 43, 15]
Generated Node #2: [6, 43, 15] from Operation: 30-15=15
Current State: 52:[6, 43, 15], Operations: ['30-15=15']
Exploring Operation: 43-6=37, Resulting Numbers: [15, 37]
Generated Node #3: [15, 37] from Operation: 43-6=37
Current State: 52:[15, 37], Operations: ['30-15=15', '43-6=37']
Exploring Operation: 15+37=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[30, 15, 6, 43], Operations: []
Exploring Operation: 30/15=2, Resulting Numbers: [6, 43, 2]
Generated Node #0,0: 52:[6, 43, 2] Operation: 30/15=2
Exploring Operation: 43-15=28, Resulting Numbers: [30, 6, 28]
Generated Node #0,1: 52:[30, 6, 28] Operation: 43-15=28
Exploring Operation: 43-30=13, Resulting Numbers: [15, 6, 13]
Generated Node #0,2: 52:[15, 6, 13] Operation: 43-30=13
Exploring Operation: 6+43=49, Resulting Numbers: [30, 15, 49]
Generated Node #0,3: 52:[30, 15, 49] Operation: 6+43=49
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[15, 6, 13], Operations: ['43-30=13']
Exploring Operation: 15+6=21, Resulting Numbers: [13, 21]
Generated Node #0,2,0: 52:[13, 21] Operation: 15+6=21
Exploring Operation: 15-13=2, Resulting Numbers: [6, 2]
Generated Node #0,2,1: 52:[6, 2] Operation: 15-13=2
Exploring Operation: 15-6=9, Resulting Numbers: [13, 9]
Generated Node #0,2,2: 52:[13, 9] Operation: 15-6=9
Exploring Operation: 15+13=28, Resulting Numbers: [6, 28]
Generated Node #0,2,3: 52:[6, 28] Operation: 15+13=28
Moving to Node #0,2,1
Current State: 52:[6, 2], Operations: ['43-30=13', '15-13=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[6, 28], Operations: ['43-30=13', '15+13=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,52 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[13, 9], Operations: ['43-30=13', '15-6=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[13, 21], Operations: ['43-30=13', '15+6=21']
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,52 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[30, 6, 28], Operations: ['43-15=28']
Exploring Operation: 30/6=5, Resulting Numbers: [28, 5]
Generated Node #0,1,0: 52:[28, 5] Operation: 30/6=5
Exploring Operation: 30+28=58, Resulting Numbers: [6, 58]
Generated Node #0,1,1: 52:[6, 58] Operation: 30+28=58
Exploring Operation: 30-28=2, Resulting Numbers: [6, 2]
Generated Node #0,1,2: 52:[6, 2] Operation: 30-28=2
Exploring Operation: 30-6=24, Resulting Numbers: [28, 24]
Generated Node #0,1,3: 52:[28, 24] Operation: 30-6=24
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 52:[6, 2], Operations: ['43-15=28', '30-28=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[28, 5], Operations: ['43-15=28', '30/6=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,52 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 52:[28, 24], Operations: ['43-15=28', '30-6=24']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[30, 15, 6, 43], Operations: []
Exploring Operation: 43-15=28, Resulting Numbers: [30, 6, 28]
Generated Node #0,1: 52:[30, 6, 28] Operation: 43-15=28
Moving to Node #0,1
Current State: 52:[30, 6, 28], Operations: ['43-15=28']
Exploring Operation: 30-6=24, Resulting Numbers: [28, 24]
Generated Node #0,1,3: 52:[28, 24] Operation: 30-6=24
Moving to Node #0,1,3
Current State: 52:[28, 24], Operations: ['43-15=28', '30-6=24']
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
55,
17,
5,
91
] | 24 | [
"55+17=72",
"5+91=96",
"96-72=24"
] | Current State: 24:[55, 17, 5, 91], Operations: []
Exploring Operation: 55+17=72, Resulting Numbers: [5, 91, 72]
Generated Node #2: [5, 91, 72] from Operation: 55+17=72
Current State: 24:[5, 91, 72], Operations: ['55+17=72']
Exploring Operation: 5+91=96, Resulting Numbers: [72, 96]
Generated Node #3: [72, 96] from Operation: 5+91=96
Current State: 24:[72, 96], Operations: ['55+17=72', '5+91=96']
Exploring Operation: 96-72=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[55, 17, 5, 91], Operations: []
Exploring Operation: 55/5=11, Resulting Numbers: [17, 91, 11]
Generated Node #0,0: 24:[17, 91, 11] Operation: 55/5=11
Exploring Operation: 91-17=74, Resulting Numbers: [55, 5, 74]
Generated Node #0,1: 24:[55, 5, 74] Operation: 91-17=74
Exploring Operation: 91-55=36, Resulting Numbers: [17, 5, 36]
Generated Node #0,2: 24:[17, 5, 36] Operation: 91-55=36
Exploring Operation: 55-17=38, Resulting Numbers: [5, 91, 38]
Generated Node #0,3: 24:[5, 91, 38] Operation: 55-17=38
Moving to Node #0,2
Current State: 24:[17, 5, 36], Operations: ['91-55=36']
Exploring Operation: 17-5=12, Resulting Numbers: [36, 12]
Generated Node #0,2,0: 24:[36, 12] Operation: 17-5=12
Exploring Operation: 17+5=22, Resulting Numbers: [36, 22]
Generated Node #0,2,1: 24:[36, 22] Operation: 17+5=22
Exploring Operation: 36-5=31, Resulting Numbers: [17, 31]
Generated Node #0,2,2: 24:[17, 31] Operation: 36-5=31
Exploring Operation: 36-17=19, Resulting Numbers: [5, 19]
Generated Node #0,2,3: 24:[5, 19] Operation: 36-17=19
Moving to Node #0,0
Current State: 24:[17, 91, 11], Operations: ['55/5=11']
Exploring Operation: 17+11=28, Resulting Numbers: [91, 28]
Generated Node #0,0,0: 24:[91, 28] Operation: 17+11=28
Exploring Operation: 91-17=74, Resulting Numbers: [11, 74]
Generated Node #0,0,1: 24:[11, 74] Operation: 91-17=74
Exploring Operation: 17-11=6, Resulting Numbers: [91, 6]
Generated Node #0,0,2: 24:[91, 6] Operation: 17-11=6
Exploring Operation: 91-11=80, Resulting Numbers: [17, 80]
Generated Node #0,0,3: 24:[17, 80] Operation: 91-11=80
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[11, 74], Operations: ['55/5=11', '91-17=74']
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,24 unequal: No Solution
Exploring Operation: 11*74=814, Resulting Numbers: [814]
814,24 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 24:[17, 80], Operations: ['55/5=11', '91-11=80']
Exploring Operation: 17*80=1360, Resulting Numbers: [1360]
1360,24 unequal: No Solution
Exploring Operation: 17+80=97, Resulting Numbers: [97]
97,24 unequal: No Solution
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[91, 6], Operations: ['55/5=11', '17-11=6']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,24 unequal: No Solution
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,24 unequal: No Solution
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[91, 28], Operations: ['55/5=11', '17+11=28']
Exploring Operation: 91*28=2548, Resulting Numbers: [2548]
2548,24 unequal: No Solution
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 91+28=119, Resulting Numbers: [119]
119,24 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: 24:[5, 91, 38], Operations: ['55-17=38']
Exploring Operation: 38-5=33, Resulting Numbers: [91, 33]
Generated Node #0,3,0: 24:[91, 33] Operation: 38-5=33
Exploring Operation: 5+91=96, Resulting Numbers: [38, 96]
Generated Node #0,3,1: 24:[38, 96] Operation: 5+91=96
Exploring Operation: 91-38=53, Resulting Numbers: [5, 53]
Generated Node #0,3,2: 24:[5, 53] Operation: 91-38=53
Exploring Operation: 91-5=86, Resulting Numbers: [38, 86]
Generated Node #0,3,3: 24:[38, 86] Operation: 91-5=86
Moving to Node #0,1
Current State: 24:[55, 5, 74], Operations: ['91-17=74']
Exploring Operation: 74-55=19, Resulting Numbers: [5, 19]
Generated Node #0,1,0: 24:[5, 19] Operation: 74-55=19
Exploring Operation: 55/5=11, Resulting Numbers: [74, 11]
Generated Node #0,1,1: 24:[74, 11] Operation: 55/5=11
Exploring Operation: 55-5=50, Resulting Numbers: [74, 50]
Generated Node #0,1,2: 24:[74, 50] Operation: 55-5=50
Exploring Operation: 74-5=69, Resulting Numbers: [55, 69]
Generated Node #0,1,3: 24:[55, 69] Operation: 74-5=69
Moving to Node #0,2,3
Current State: 24:[5, 19], Operations: ['91-55=36', '36-17=19']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[55, 17, 5, 91], Operations: []
Exploring Operation: 91-55=36, Resulting Numbers: [17, 5, 36]
Generated Node #0,2: 24:[17, 5, 36] Operation: 91-55=36
Moving to Node #0,2
Current State: 24:[17, 5, 36], Operations: ['91-55=36']
Exploring Operation: 36-17=19, Resulting Numbers: [5, 19]
Generated Node #0,2,3: 24:[5, 19] Operation: 36-17=19
Moving to Node #0,2,3
Current State: 24:[5, 19], Operations: ['91-55=36', '36-17=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.967014 | hs_4 | mult_heuristic |
[
62,
59,
2,
94
] | 67 | [
"62+59=121",
"2*94=188",
"188-121=67"
] | Current State: 67:[62, 59, 2, 94], Operations: []
Exploring Operation: 62+59=121, Resulting Numbers: [2, 94, 121]
Generated Node #2: [2, 94, 121] from Operation: 62+59=121
Current State: 67:[2, 94, 121], Operations: ['62+59=121']
Exploring Operation: 2*94=188, Resulting Numbers: [121, 188]
Generated Node #3: [121, 188] from Operation: 2*94=188
Current State: 67:[121, 188], Operations: ['62+59=121', '2*94=188']
Exploring Operation: 188-121=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[62, 59, 2, 94], Operations: []
Exploring Operation: 94-2=92, Resulting Numbers: [62, 59, 92]
Generated Node #0,0: 67:[62, 59, 92] Operation: 94-2=92
Exploring Operation: 62-2=60, Resulting Numbers: [59, 94, 60]
Generated Node #0,1: 67:[59, 94, 60] Operation: 62-2=60
Exploring Operation: 62+2=64, Resulting Numbers: [59, 94, 64]
Generated Node #0,2: 67:[59, 94, 64] Operation: 62+2=64
Exploring Operation: 59+2=61, Resulting Numbers: [62, 94, 61]
Generated Node #0,3: 67:[62, 94, 61] Operation: 59+2=61
Exploring Operation: 94/2=47, Resulting Numbers: [62, 59, 47]
Generated Node #0,4: 67:[62, 59, 47] Operation: 94/2=47
Moving to Node #0,4
Current State: 67:[62, 59, 47], Operations: ['94/2=47']
Exploring Operation: 59-47=12, Resulting Numbers: [62, 12]
Generated Node #0,4,0: 67:[62, 12] Operation: 59-47=12
Exploring Operation: 62+47=109, Resulting Numbers: [59, 109]
Generated Node #0,4,1: 67:[59, 109] Operation: 62+47=109
Exploring Operation: 62+59=121, Resulting Numbers: [47, 121]
Generated Node #0,4,2: 67:[47, 121] Operation: 62+59=121
Exploring Operation: 59+47=106, Resulting Numbers: [62, 106]
Generated Node #0,4,3: 67:[62, 106] Operation: 59+47=106
Exploring Operation: 62-47=15, Resulting Numbers: [59, 15]
Generated Node #0,4,4: 67:[59, 15] Operation: 62-47=15
Moving to Node #0,2
Current State: 67:[59, 94, 64], Operations: ['62+2=64']
Exploring Operation: 94-64=30, Resulting Numbers: [59, 30]
Generated Node #0,2,0: 67:[59, 30] Operation: 94-64=30
Exploring Operation: 94-59=35, Resulting Numbers: [64, 35]
Generated Node #0,2,1: 67:[64, 35] Operation: 94-59=35
Exploring Operation: 59+94=153, Resulting Numbers: [64, 153]
Generated Node #0,2,2: 67:[64, 153] Operation: 59+94=153
Exploring Operation: 64-59=5, Resulting Numbers: [94, 5]
Generated Node #0,2,3: 67:[94, 5] Operation: 64-59=5
Exploring Operation: 59+64=123, Resulting Numbers: [94, 123]
Generated Node #0,2,4: 67:[94, 123] Operation: 59+64=123
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[64, 35], Operations: ['62+2=64', '94-59=35']
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 64*35=2240, Resulting Numbers: [2240]
2240,67 unequal: No Solution
Exploring Operation: 64+35=99, Resulting Numbers: [99]
99,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[59, 30], Operations: ['62+2=64', '94-64=30']
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 59*30=1770, Resulting Numbers: [1770]
1770,67 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 67:[94, 123], Operations: ['62+2=64', '59+64=123']
Exploring Operation: 123-94=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 94+123=217, Resulting Numbers: [217]
217,67 unequal: No Solution
Exploring Operation: 94*123=11562, Resulting Numbers: [11562]
11562,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[64, 153], Operations: ['62+2=64', '59+94=153']
Exploring Operation: 64*153=9792, Resulting Numbers: [9792]
9792,67 unequal: No Solution
Exploring Operation: 153-64=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 64+153=217, Resulting Numbers: [217]
217,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[94, 5], Operations: ['62+2=64', '64-59=5']
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 94*5=470, Resulting Numbers: [470]
470,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 67:[62, 59, 92], Operations: ['94-2=92']
Exploring Operation: 62+59=121, Resulting Numbers: [92, 121]
Generated Node #0,0,0: 67:[92, 121] Operation: 62+59=121
Exploring Operation: 92-59=33, Resulting Numbers: [62, 33]
Generated Node #0,0,1: 67:[62, 33] Operation: 92-59=33
Exploring Operation: 59+92=151, Resulting Numbers: [62, 151]
Generated Node #0,0,2: 67:[62, 151] Operation: 59+92=151
Exploring Operation: 62-59=3, Resulting Numbers: [92, 3]
Generated Node #0,0,3: 67:[92, 3] Operation: 62-59=3
Exploring Operation: 92-62=30, Resulting Numbers: [59, 30]
Generated Node #0,0,4: 67:[59, 30] Operation: 92-62=30
Moving to Node #0,3
Current State: 67:[62, 94, 61], Operations: ['59+2=61']
Exploring Operation: 94-62=32, Resulting Numbers: [61, 32]
Generated Node #0,3,0: 67:[61, 32] Operation: 94-62=32
Exploring Operation: 94+61=155, Resulting Numbers: [62, 155]
Generated Node #0,3,1: 67:[62, 155] Operation: 94+61=155
Exploring Operation: 94-61=33, Resulting Numbers: [62, 33]
Generated Node #0,3,2: 67:[62, 33] Operation: 94-61=33
Exploring Operation: 62-61=1, Resulting Numbers: [94, 1]
Generated Node #0,3,3: 67:[94, 1] Operation: 62-61=1
Exploring Operation: 62+61=123, Resulting Numbers: [94, 123]
Generated Node #0,3,4: 67:[94, 123] Operation: 62+61=123
Moving to Node #0,1
Current State: 67:[59, 94, 60], Operations: ['62-2=60']
Exploring Operation: 94-59=35, Resulting Numbers: [60, 35]
Generated Node #0,1,0: 67:[60, 35] Operation: 94-59=35
Exploring Operation: 60-59=1, Resulting Numbers: [94, 1]
Generated Node #0,1,1: 67:[94, 1] Operation: 60-59=1
Exploring Operation: 94-60=34, Resulting Numbers: [59, 34]
Generated Node #0,1,2: 67:[59, 34] Operation: 94-60=34
Exploring Operation: 59+60=119, Resulting Numbers: [94, 119]
Generated Node #0,1,3: 67:[94, 119] Operation: 59+60=119
Exploring Operation: 59+94=153, Resulting Numbers: [60, 153]
Generated Node #0,1,4: 67:[60, 153] Operation: 59+94=153
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[60, 35], Operations: ['62-2=60', '94-59=35']
Exploring Operation: 60*35=2100, Resulting Numbers: [2100]
2100,67 unequal: No Solution
Exploring Operation: 60+35=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[59, 34], Operations: ['62-2=60', '94-60=34']
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,67 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[94, 119], Operations: ['62-2=60', '59+60=119']
Exploring Operation: 94*119=11186, Resulting Numbers: [11186]
11186,67 unequal: No Solution
Exploring Operation: 119-94=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 94+119=213, Resulting Numbers: [213]
213,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[94, 1], Operations: ['62-2=60', '60-59=1']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 67:[60, 153], Operations: ['62-2=60', '59+94=153']
Exploring Operation: 60+153=213, Resulting Numbers: [213]
213,67 unequal: No Solution
Exploring Operation: 153-60=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 60*153=9180, Resulting Numbers: [9180]
9180,67 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: 67:[62, 33], Operations: ['94-2=92', '92-59=33']
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,67 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[62, 33], Operations: ['59+2=61', '94-61=33']
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,67 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[61, 32], Operations: ['59+2=61', '94-62=32']
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,67 unequal: No Solution
Moving to Node #0,4,3
Current State: 67:[62, 106], Operations: ['94/2=47', '59+47=106']
Exploring Operation: 106-62=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Exploring Operation: 62*106=6572, Resulting Numbers: [6572]
6572,67 unequal: No Solution
Exploring Operation: 62+106=168, Resulting Numbers: [168]
168,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[59, 30], Operations: ['94-2=92', '92-62=30']
Exploring Operation: 59*30=1770, Resulting Numbers: [1770]
1770,67 unequal: No Solution
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Moving to Node #0,4,1
Current State: 67:[59, 109], Operations: ['94/2=47', '62+47=109']
Exploring Operation: 109-59=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 59+109=168, Resulting Numbers: [168]
168,67 unequal: No Solution
Exploring Operation: 59*109=6431, Resulting Numbers: [6431]
6431,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[62, 12], Operations: ['94/2=47', '59-47=12']
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,67 unequal: No Solution
Moving to Node #0,4,4
Current State: 67:[59, 15], Operations: ['94/2=47', '62-47=15']
Exploring Operation: 59+15=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Exploring Operation: 59*15=885, Resulting Numbers: [885]
885,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[47, 121], Operations: ['94/2=47', '62+59=121']
Exploring Operation: 47*121=5687, Resulting Numbers: [5687]
5687,67 unequal: No Solution
Exploring Operation: 47+121=168, Resulting Numbers: [168]
168,67 unequal: No Solution
Exploring Operation: 121-47=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[92, 121], Operations: ['94-2=92', '62+59=121']
Exploring Operation: 121-92=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 92+121=213, Resulting Numbers: [213]
213,67 unequal: No Solution
Exploring Operation: 92*121=11132, Resulting Numbers: [11132]
11132,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[94, 123], Operations: ['59+2=61', '62+61=123']
Exploring Operation: 123-94=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 94+123=217, Resulting Numbers: [217]
217,67 unequal: No Solution
Exploring Operation: 94*123=11562, Resulting Numbers: [11562]
11562,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[62, 151], Operations: ['94-2=92', '59+92=151']
Exploring Operation: 62+151=213, Resulting Numbers: [213]
213,67 unequal: No Solution
Exploring Operation: 151-62=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 62*151=9362, Resulting Numbers: [9362]
9362,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[92, 3], Operations: ['94-2=92', '62-59=3']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,67 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[94, 1], Operations: ['59+2=61', '62-61=1']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[62, 155], Operations: ['59+2=61', '94+61=155']
Exploring Operation: 155-62=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 62+155=217, Resulting Numbers: [217]
217,67 unequal: No Solution
Exploring Operation: 62*155=9610, Resulting Numbers: [9610]
9610,67 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
31,
9,
5,
30
] | 54 | [
"31+5=36",
"36-30=6",
"9*6=54"
] | Current State: 54:[31, 9, 5, 30], Operations: []
Exploring Operation: 31+5=36, Resulting Numbers: [9, 30, 36]
Generated Node #2: [9, 30, 36] from Operation: 31+5=36
Current State: 54:[9, 30, 36], Operations: ['31+5=36']
Exploring Operation: 36-30=6, Resulting Numbers: [9, 6]
Generated Node #3: [9, 6] from Operation: 36-30=6
Current State: 54:[9, 6], Operations: ['31+5=36', '36-30=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[31, 9, 5, 30], Operations: []
Exploring Operation: 31-30=1, Resulting Numbers: [9, 5, 1]
Generated Node #0,0: 54:[9, 5, 1] Operation: 31-30=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[9, 5, 1], Operations: ['31-30=1']
Exploring Operation: 5+1=6, Resulting Numbers: [9, 6]
Generated Node #0,0,0: 54:[9, 6] Operation: 5+1=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[9, 6], Operations: ['31-30=1', '5+1=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[31, 9, 5, 30], Operations: []
Exploring Operation: 31-30=1, Resulting Numbers: [9, 5, 1]
Generated Node #0,0: 54:[9, 5, 1] Operation: 31-30=1
Moving to Node #0,0
Current State: 54:[9, 5, 1], Operations: ['31-30=1']
Exploring Operation: 5+1=6, Resulting Numbers: [9, 6]
Generated Node #0,0,0: 54:[9, 6] Operation: 5+1=6
Moving to Node #0,0,0
Current State: 54:[9, 6], Operations: ['31-30=1', '5+1=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
64,
42,
71,
16
] | 97 | [
"64*42=2688",
"2688/16=168",
"168-71=97"
] | Current State: 97:[64, 42, 71, 16], Operations: []
Exploring Operation: 64*42=2688, Resulting Numbers: [71, 16, 2688]
Generated Node #2: [71, 16, 2688] from Operation: 64*42=2688
Current State: 97:[71, 16, 2688], Operations: ['64*42=2688']
Exploring Operation: 2688/16=168, Resulting Numbers: [71, 168]
Generated Node #3: [71, 168] from Operation: 2688/16=168
Current State: 97:[71, 168], Operations: ['64*42=2688', '2688/16=168']
Exploring Operation: 168-71=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[64, 42, 71, 16], Operations: []
Exploring Operation: 42+16=58, Resulting Numbers: [64, 71, 58]
Generated Node #0,0: 97:[64, 71, 58] Operation: 42+16=58
Exploring Operation: 71+16=87, Resulting Numbers: [64, 42, 87]
Generated Node #0,1: 97:[64, 42, 87] Operation: 71+16=87
Exploring Operation: 64+16=80, Resulting Numbers: [42, 71, 80]
Generated Node #0,2: 97:[42, 71, 80] Operation: 64+16=80
Moving to Node #0,0
Current State: 97:[64, 71, 58], Operations: ['42+16=58']
Exploring Operation: 64+71=135, Resulting Numbers: [58, 135]
Generated Node #0,0,0: 97:[58, 135] Operation: 64+71=135
Exploring Operation: 71+58=129, Resulting Numbers: [64, 129]
Generated Node #0,0,1: 97:[64, 129] Operation: 71+58=129
Exploring Operation: 64+58=122, Resulting Numbers: [71, 122]
Generated Node #0,0,2: 97:[71, 122] Operation: 64+58=122
Moving to Node #0,1
Current State: 97:[64, 42, 87], Operations: ['71+16=87']
Exploring Operation: 64+42=106, Resulting Numbers: [87, 106]
Generated Node #0,1,0: 97:[87, 106] Operation: 64+42=106
Exploring Operation: 64-42=22, Resulting Numbers: [87, 22]
Generated Node #0,1,1: 97:[87, 22] Operation: 64-42=22
Exploring Operation: 42+87=129, Resulting Numbers: [64, 129]
Generated Node #0,1,2: 97:[64, 129] Operation: 42+87=129
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[87, 106], Operations: ['71+16=87', '64+42=106']
Exploring Operation: 87*106=9222, Resulting Numbers: [9222]
9222,97 unequal: No Solution
Exploring Operation: 87+106=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Exploring Operation: 106-87=19, Resulting Numbers: [19]
19,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[64, 129], Operations: ['71+16=87', '42+87=129']
Exploring Operation: 64+129=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Exploring Operation: 129-64=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 64*129=8256, Resulting Numbers: [8256]
8256,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[87, 22], Operations: ['71+16=87', '64-42=22']
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 97:[42, 71, 80], Operations: ['64+16=80']
Exploring Operation: 42+71=113, Resulting Numbers: [80, 113]
Generated Node #0,2,0: 97:[80, 113] Operation: 42+71=113
Exploring Operation: 42+80=122, Resulting Numbers: [71, 122]
Generated Node #0,2,1: 97:[71, 122] Operation: 42+80=122
Exploring Operation: 71-42=29, Resulting Numbers: [80, 29]
Generated Node #0,2,2: 97:[80, 29] Operation: 71-42=29
Moving to Node #0,2,0
Current State: 97:[80, 113], Operations: ['64+16=80', '42+71=113']
Exploring Operation: 80+113=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Exploring Operation: 113-80=33, Resulting Numbers: [33]
33,97 unequal: No Solution
Exploring Operation: 80*113=9040, Resulting Numbers: [9040]
9040,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[71, 122], Operations: ['42+16=58', '64+58=122']
Exploring Operation: 122-71=51, Resulting Numbers: [51]
51,97 unequal: No Solution
Exploring Operation: 71*122=8662, Resulting Numbers: [8662]
8662,97 unequal: No Solution
Exploring Operation: 71+122=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[71, 122], Operations: ['64+16=80', '42+80=122']
Exploring Operation: 122-71=51, Resulting Numbers: [51]
51,97 unequal: No Solution
Exploring Operation: 71+122=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Exploring Operation: 71*122=8662, Resulting Numbers: [8662]
8662,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[64, 129], Operations: ['42+16=58', '71+58=129']
Exploring Operation: 64*129=8256, Resulting Numbers: [8256]
8256,97 unequal: No Solution
Exploring Operation: 64+129=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Exploring Operation: 129-64=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[58, 135], Operations: ['42+16=58', '64+71=135']
Exploring Operation: 58*135=7830, Resulting Numbers: [7830]
7830,97 unequal: No Solution
Exploring Operation: 135-58=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 58+135=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[80, 29], Operations: ['64+16=80', '71-42=29']
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,97 unequal: No Solution
Exploring Operation: 80+29=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 80*29=2320, Resulting Numbers: [2320]
2320,97 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
74,
12,
33,
51
] | 81 | [
"33+51=84",
"84/12=7",
"74+7=81"
] | Current State: 81:[74, 12, 33, 51], Operations: []
Exploring Operation: 33+51=84, Resulting Numbers: [74, 12, 84]
Generated Node #2: [74, 12, 84] from Operation: 33+51=84
Current State: 81:[74, 12, 84], Operations: ['33+51=84']
Exploring Operation: 84/12=7, Resulting Numbers: [74, 7]
Generated Node #3: [74, 7] from Operation: 84/12=7
Current State: 81:[74, 7], Operations: ['33+51=84', '84/12=7']
Exploring Operation: 74+7=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[74, 12, 33, 51], Operations: []
Exploring Operation: 74-51=23, Resulting Numbers: [12, 33, 23]
Generated Node #0,0: 81:[12, 33, 23] Operation: 74-51=23
Exploring Operation: 51-12=39, Resulting Numbers: [74, 33, 39]
Generated Node #0,1: 81:[74, 33, 39] Operation: 51-12=39
Exploring Operation: 51-33=18, Resulting Numbers: [74, 12, 18]
Generated Node #0,2: 81:[74, 12, 18] Operation: 51-33=18
Exploring Operation: 33+51=84, Resulting Numbers: [74, 12, 84]
Generated Node #0,3: 81:[74, 12, 84] Operation: 33+51=84
Moving to Node #0,0
Current State: 81:[12, 33, 23], Operations: ['74-51=23']
Exploring Operation: 23-12=11, Resulting Numbers: [33, 11]
Generated Node #0,0,0: 81:[33, 11] Operation: 23-12=11
Exploring Operation: 12+23=35, Resulting Numbers: [33, 35]
Generated Node #0,0,1: 81:[33, 35] Operation: 12+23=35
Exploring Operation: 33-12=21, Resulting Numbers: [23, 21]
Generated Node #0,0,2: 81:[23, 21] Operation: 33-12=21
Exploring Operation: 33-23=10, Resulting Numbers: [12, 10]
Generated Node #0,0,3: 81:[12, 10] Operation: 33-23=10
Moving to Node #0,3
Current State: 81:[74, 12, 84], Operations: ['33+51=84']
Exploring Operation: 84/12=7, Resulting Numbers: [74, 7]
Generated Node #0,3,0: 81:[74, 7] Operation: 84/12=7
Exploring Operation: 84-12=72, Resulting Numbers: [74, 72]
Generated Node #0,3,1: 81:[74, 72] Operation: 84-12=72
Exploring Operation: 74+12=86, Resulting Numbers: [84, 86]
Generated Node #0,3,2: 81:[84, 86] Operation: 74+12=86
Exploring Operation: 84-74=10, Resulting Numbers: [12, 10]
Generated Node #0,3,3: 81:[12, 10] Operation: 84-74=10
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[12, 10], Operations: ['33+51=84', '84-74=10']
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,81 unequal: No Solution
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[84, 86], Operations: ['33+51=84', '74+12=86']
Exploring Operation: 86-84=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 84+86=170, Resulting Numbers: [170]
170,81 unequal: No Solution
Exploring Operation: 84*86=7224, Resulting Numbers: [7224]
7224,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[74, 7], Operations: ['33+51=84', '84/12=7']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 74+7=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[74, 12, 33, 51], Operations: []
Exploring Operation: 33+51=84, Resulting Numbers: [74, 12, 84]
Generated Node #0,3: 81:[74, 12, 84] Operation: 33+51=84
Moving to Node #0,3
Current State: 81:[74, 12, 84], Operations: ['33+51=84']
Exploring Operation: 84/12=7, Resulting Numbers: [74, 7]
Generated Node #0,3,0: 81:[74, 7] Operation: 84/12=7
Moving to Node #0,3,0
Current State: 81:[74, 7], Operations: ['33+51=84', '84/12=7']
Exploring Operation: 74+7=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
41,
10,
72,
13
] | 90 | [
"41-10=31",
"72-13=59",
"31+59=90"
] | Current State: 90:[41, 10, 72, 13], Operations: []
Exploring Operation: 41-10=31, Resulting Numbers: [72, 13, 31]
Generated Node #2: [72, 13, 31] from Operation: 41-10=31
Current State: 90:[72, 13, 31], Operations: ['41-10=31']
Exploring Operation: 72-13=59, Resulting Numbers: [31, 59]
Generated Node #3: [31, 59] from Operation: 72-13=59
Current State: 90:[31, 59], Operations: ['41-10=31', '72-13=59']
Exploring Operation: 31+59=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[41, 10, 72, 13], Operations: []
Exploring Operation: 72+13=85, Resulting Numbers: [41, 10, 85]
Generated Node #0,0: 90:[41, 10, 85] Operation: 72+13=85
Exploring Operation: 72-41=31, Resulting Numbers: [10, 13, 31]
Generated Node #0,1: 90:[10, 13, 31] Operation: 72-41=31
Moving to Node #0,1
Current State: 90:[10, 13, 31], Operations: ['72-41=31']
Exploring Operation: 31-13=18, Resulting Numbers: [10, 18]
Generated Node #0,1,0: 90:[10, 18] Operation: 31-13=18
Exploring Operation: 13-10=3, Resulting Numbers: [31, 3]
Generated Node #0,1,1: 90:[31, 3] Operation: 13-10=3
Moving to Node #0,0
Current State: 90:[41, 10, 85], Operations: ['72+13=85']
Exploring Operation: 85-41=44, Resulting Numbers: [10, 44]
Generated Node #0,0,0: 90:[10, 44] Operation: 85-41=44
Exploring Operation: 41-10=31, Resulting Numbers: [85, 31]
Generated Node #0,0,1: 90:[85, 31] Operation: 41-10=31
Moving to Node #0,1,0
Current State: 90:[10, 18], Operations: ['72-41=31', '31-13=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[10, 44], Operations: ['72+13=85', '85-41=44']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[31, 3], Operations: ['72-41=31', '13-10=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[85, 31], Operations: ['72+13=85', '41-10=31']
Exploring Operation: 85-31=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 85+31=116, Resulting Numbers: [116]
116,90 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
24,
80,
73,
79
] | 89 | [
"80-73=7",
"24*7=168",
"168-79=89"
] | Current State: 89:[24, 80, 73, 79], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [24, 79, 7]
Generated Node #2: [24, 79, 7] from Operation: 80-73=7
Current State: 89:[24, 79, 7], Operations: ['80-73=7']
Exploring Operation: 24*7=168, Resulting Numbers: [79, 168]
Generated Node #3: [79, 168] from Operation: 24*7=168
Current State: 89:[79, 168], Operations: ['80-73=7', '24*7=168']
Exploring Operation: 168-79=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[24, 80, 73, 79], Operations: []
Exploring Operation: 24+79=103, Resulting Numbers: [80, 73, 103]
Generated Node #0,0: 89:[80, 73, 103] Operation: 24+79=103
Exploring Operation: 24+80=104, Resulting Numbers: [73, 79, 104]
Generated Node #0,1: 89:[73, 79, 104] Operation: 24+80=104
Exploring Operation: 73-24=49, Resulting Numbers: [80, 79, 49]
Generated Node #0,2: 89:[80, 79, 49] Operation: 73-24=49
Exploring Operation: 24+73=97, Resulting Numbers: [80, 79, 97]
Generated Node #0,3: 89:[80, 79, 97] Operation: 24+73=97
Exploring Operation: 80-24=56, Resulting Numbers: [73, 79, 56]
Generated Node #0,4: 89:[73, 79, 56] Operation: 80-24=56
Moving to Node #0,3
Current State: 89:[80, 79, 97], Operations: ['24+73=97']
Exploring Operation: 97-79=18, Resulting Numbers: [80, 18]
Generated Node #0,3,0: 89:[80, 18] Operation: 97-79=18
Exploring Operation: 97-80=17, Resulting Numbers: [79, 17]
Generated Node #0,3,1: 89:[79, 17] Operation: 97-80=17
Exploring Operation: 80-79=1, Resulting Numbers: [97, 1]
Generated Node #0,3,2: 89:[97, 1] Operation: 80-79=1
Exploring Operation: 80+79=159, Resulting Numbers: [97, 159]
Generated Node #0,3,3: 89:[97, 159] Operation: 80+79=159
Exploring Operation: 79+97=176, Resulting Numbers: [80, 176]
Generated Node #0,3,4: 89:[80, 176] Operation: 79+97=176
Moving to Node #0,0
Current State: 89:[80, 73, 103], Operations: ['24+79=103']
Exploring Operation: 73+103=176, Resulting Numbers: [80, 176]
Generated Node #0,0,0: 89:[80, 176] Operation: 73+103=176
Exploring Operation: 80-73=7, Resulting Numbers: [103, 7]
Generated Node #0,0,1: 89:[103, 7] Operation: 80-73=7
Exploring Operation: 103-73=30, Resulting Numbers: [80, 30]
Generated Node #0,0,2: 89:[80, 30] Operation: 103-73=30
Exploring Operation: 80+73=153, Resulting Numbers: [103, 153]
Generated Node #0,0,3: 89:[103, 153] Operation: 80+73=153
Exploring Operation: 103-80=23, Resulting Numbers: [73, 23]
Generated Node #0,0,4: 89:[73, 23] Operation: 103-80=23
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[80, 30], Operations: ['24+79=103', '103-73=30']
Exploring Operation: 80*30=2400, Resulting Numbers: [2400]
2400,89 unequal: No Solution
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 80+30=110, Resulting Numbers: [110]
110,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[103, 153], Operations: ['24+79=103', '80+73=153']
Exploring Operation: 103+153=256, Resulting Numbers: [256]
256,89 unequal: No Solution
Exploring Operation: 153-103=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 103*153=15759, Resulting Numbers: [15759]
15759,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 89:[73, 23], Operations: ['24+79=103', '103-80=23']
Exploring Operation: 73+23=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 73*23=1679, Resulting Numbers: [1679]
1679,89 unequal: No Solution
Exploring Operation: 73-23=50, Resulting Numbers: [50]
50,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:[80, 176], Operations: ['24+79=103', '73+103=176']
Exploring Operation: 176-80=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 80+176=256, Resulting Numbers: [256]
256,89 unequal: No Solution
Exploring Operation: 80*176=14080, Resulting Numbers: [14080]
14080,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[103, 7], Operations: ['24+79=103', '80-73=7']
Exploring Operation: 103*7=721, Resulting Numbers: [721]
721,89 unequal: No Solution
Exploring Operation: 103+7=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 103-7=96, Resulting Numbers: [96]
96,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 89:[73, 79, 104], Operations: ['24+80=104']
Exploring Operation: 73+104=177, Resulting Numbers: [79, 177]
Generated Node #0,1,0: 89:[79, 177] Operation: 73+104=177
Exploring Operation: 104-73=31, Resulting Numbers: [79, 31]
Generated Node #0,1,1: 89:[79, 31] Operation: 104-73=31
Exploring Operation: 104-79=25, Resulting Numbers: [73, 25]
Generated Node #0,1,2: 89:[73, 25] Operation: 104-79=25
Exploring Operation: 79-73=6, Resulting Numbers: [104, 6]
Generated Node #0,1,3: 89:[104, 6] Operation: 79-73=6
Exploring Operation: 73+79=152, Resulting Numbers: [104, 152]
Generated Node #0,1,4: 89:[104, 152] Operation: 73+79=152
Moving to Node #0,2
Current State: 89:[80, 79, 49], Operations: ['73-24=49']
Exploring Operation: 80+49=129, Resulting Numbers: [79, 129]
Generated Node #0,2,0: 89:[79, 129] Operation: 80+49=129
Exploring Operation: 80-49=31, Resulting Numbers: [79, 31]
Generated Node #0,2,1: 89:[79, 31] Operation: 80-49=31
Exploring Operation: 80+79=159, Resulting Numbers: [49, 159]
Generated Node #0,2,2: 89:[49, 159] Operation: 80+79=159
Exploring Operation: 79+49=128, Resulting Numbers: [80, 128]
Generated Node #0,2,3: 89:[80, 128] Operation: 79+49=128
Exploring Operation: 79-49=30, Resulting Numbers: [80, 30]
Generated Node #0,2,4: 89:[80, 30] Operation: 79-49=30
Moving to Node #0,4
Current State: 89:[73, 79, 56], Operations: ['80-24=56']
Exploring Operation: 79-56=23, Resulting Numbers: [73, 23]
Generated Node #0,4,0: 89:[73, 23] Operation: 79-56=23
Exploring Operation: 73+79=152, Resulting Numbers: [56, 152]
Generated Node #0,4,1: 89:[56, 152] Operation: 73+79=152
Exploring Operation: 73+56=129, Resulting Numbers: [79, 129]
Generated Node #0,4,2: 89:[79, 129] Operation: 73+56=129
Exploring Operation: 73-56=17, Resulting Numbers: [79, 17]
Generated Node #0,4,3: 89:[79, 17] Operation: 73-56=17
Exploring Operation: 79+56=135, Resulting Numbers: [73, 135]
Generated Node #0,4,4: 89:[73, 135] Operation: 79+56=135
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 89:[79, 129], Operations: ['80-24=56', '73+56=129']
Exploring Operation: 79*129=10191, Resulting Numbers: [10191]
10191,89 unequal: No Solution
Exploring Operation: 79+129=208, Resulting Numbers: [208]
208,89 unequal: No Solution
Exploring Operation: 129-79=50, Resulting Numbers: [50]
50,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 89:[73, 135], Operations: ['80-24=56', '79+56=135']
Exploring Operation: 135-73=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 73+135=208, Resulting Numbers: [208]
208,89 unequal: No Solution
Exploring Operation: 73*135=9855, Resulting Numbers: [9855]
9855,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 89:[73, 23], Operations: ['80-24=56', '79-56=23']
Exploring Operation: 73-23=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 73*23=1679, Resulting Numbers: [1679]
1679,89 unequal: No Solution
Exploring Operation: 73+23=96, Resulting Numbers: [96]
96,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 89:[79, 17], Operations: ['80-24=56', '73-56=17']
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,89 unequal: No Solution
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 89:[56, 152], Operations: ['80-24=56', '73+79=152']
Exploring Operation: 152-56=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 56*152=8512, Resulting Numbers: [8512]
8512,89 unequal: No Solution
Exploring Operation: 56+152=208, Resulting Numbers: [208]
208,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 89:[80, 128], Operations: ['73-24=49', '79+49=128']
Exploring Operation: 128-80=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 80+128=208, Resulting Numbers: [208]
208,89 unequal: No Solution
Exploring Operation: 80*128=10240, Resulting Numbers: [10240]
10240,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[79, 129], Operations: ['73-24=49', '80+49=129']
Exploring Operation: 129-79=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 79+129=208, Resulting Numbers: [208]
208,89 unequal: No Solution
Exploring Operation: 79*129=10191, Resulting Numbers: [10191]
10191,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[80, 30], Operations: ['73-24=49', '79-49=30']
Exploring Operation: 80+30=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 80*30=2400, Resulting Numbers: [2400]
2400,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[79, 31], Operations: ['73-24=49', '80-49=31']
Exploring Operation: 79*31=2449, Resulting Numbers: [2449]
2449,89 unequal: No Solution
Exploring Operation: 79+31=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[79, 31], Operations: ['24+80=104', '104-73=31']
Exploring Operation: 79+31=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 79*31=2449, Resulting Numbers: [2449]
2449,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[104, 152], Operations: ['24+80=104', '73+79=152']
Exploring Operation: 104+152=256, Resulting Numbers: [256]
256,89 unequal: No Solution
Exploring Operation: 152-104=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 104*152=15808, Resulting Numbers: [15808]
15808,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[97, 159], Operations: ['24+73=97', '80+79=159']
Exploring Operation: 159-97=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 97*159=15423, Resulting Numbers: [15423]
15423,89 unequal: No Solution
Exploring Operation: 97+159=256, Resulting Numbers: [256]
256,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[80, 18], Operations: ['24+73=97', '97-79=18']
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Exploring Operation: 80*18=1440, Resulting Numbers: [1440]
1440,89 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[73, 25], Operations: ['24+80=104', '104-79=25']
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[79, 17], Operations: ['24+73=97', '97-80=17']
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,89 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[80, 176], Operations: ['24+73=97', '79+97=176']
Exploring Operation: 80*176=14080, Resulting Numbers: [14080]
14080,89 unequal: No Solution
Exploring Operation: 176-80=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 80+176=256, Resulting Numbers: [256]
256,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[97, 1], Operations: ['24+73=97', '80-79=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[104, 6], Operations: ['24+80=104', '79-73=6']
Exploring Operation: 104*6=624, Resulting Numbers: [624]
624,89 unequal: No Solution
Exploring Operation: 104+6=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 104-6=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[79, 177], Operations: ['24+80=104', '73+104=177']
Exploring Operation: 177-79=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Exploring Operation: 79+177=256, Resulting Numbers: [256]
256,89 unequal: No Solution
Exploring Operation: 79*177=13983, Resulting Numbers: [13983]
13983,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[49, 159], Operations: ['73-24=49', '80+79=159']
Exploring Operation: 49+159=208, Resulting Numbers: [208]
208,89 unequal: No Solution
Exploring Operation: 49*159=7791, Resulting Numbers: [7791]
7791,89 unequal: No Solution
Exploring Operation: 159-49=110, Resulting Numbers: [110]
110,89 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
27,
63,
21,
55
] | 40 | [
"63-27=36",
"21+55=76",
"76-36=40"
] | Current State: 40:[27, 63, 21, 55], Operations: []
Exploring Operation: 63-27=36, Resulting Numbers: [21, 55, 36]
Generated Node #2: [21, 55, 36] from Operation: 63-27=36
Current State: 40:[21, 55, 36], Operations: ['63-27=36']
Exploring Operation: 21+55=76, Resulting Numbers: [36, 76]
Generated Node #3: [36, 76] from Operation: 21+55=76
Current State: 40:[36, 76], Operations: ['63-27=36', '21+55=76']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[27, 63, 21, 55], Operations: []
Exploring Operation: 55-27=28, Resulting Numbers: [63, 21, 28]
Generated Node #0,0: 40:[63, 21, 28] Operation: 55-27=28
Exploring Operation: 63/21=3, Resulting Numbers: [27, 55, 3]
Generated Node #0,1: 40:[27, 55, 3] Operation: 63/21=3
Exploring Operation: 63-27=36, Resulting Numbers: [21, 55, 36]
Generated Node #0,2: 40:[21, 55, 36] Operation: 63-27=36
Exploring Operation: 63-55=8, Resulting Numbers: [27, 21, 8]
Generated Node #0,3: 40:[27, 21, 8] Operation: 63-55=8
Exploring Operation: 63-21=42, Resulting Numbers: [27, 55, 42]
Generated Node #0,4: 40:[27, 55, 42] Operation: 63-21=42
Moving to Node #0,3
Current State: 40:[27, 21, 8], Operations: ['63-55=8']
Exploring Operation: 21-8=13, Resulting Numbers: [27, 13]
Generated Node #0,3,0: 40:[27, 13] Operation: 21-8=13
Exploring Operation: 27-8=19, Resulting Numbers: [21, 19]
Generated Node #0,3,1: 40:[21, 19] Operation: 27-8=19
Exploring Operation: 27+21=48, Resulting Numbers: [8, 48]
Generated Node #0,3,2: 40:[8, 48] Operation: 27+21=48
Exploring Operation: 27-21=6, Resulting Numbers: [8, 6]
Generated Node #0,3,3: 40:[8, 6] Operation: 27-21=6
Exploring Operation: 27+8=35, Resulting Numbers: [21, 35]
Generated Node #0,3,4: 40:[21, 35] Operation: 27+8=35
Moving to Node #0,2
Current State: 40:[21, 55, 36], Operations: ['63-27=36']
Exploring Operation: 36-21=15, Resulting Numbers: [55, 15]
Generated Node #0,2,0: 40:[55, 15] Operation: 36-21=15
Exploring Operation: 55-36=19, Resulting Numbers: [21, 19]
Generated Node #0,2,1: 40:[21, 19] Operation: 55-36=19
Exploring Operation: 21+36=57, Resulting Numbers: [55, 57]
Generated Node #0,2,2: 40:[55, 57] Operation: 21+36=57
Exploring Operation: 21+55=76, Resulting Numbers: [36, 76]
Generated Node #0,2,3: 40:[36, 76] Operation: 21+55=76
Exploring Operation: 55-21=34, Resulting Numbers: [36, 34]
Generated Node #0,2,4: 40:[36, 34] Operation: 55-21=34
Moving to Node #0,1
Current State: 40:[27, 55, 3], Operations: ['63/21=3']
Exploring Operation: 27/3=9, Resulting Numbers: [55, 9]
Generated Node #0,1,0: 40:[55, 9] Operation: 27/3=9
Exploring Operation: 27+3=30, Resulting Numbers: [55, 30]
Generated Node #0,1,1: 40:[55, 30] Operation: 27+3=30
Exploring Operation: 55-27=28, Resulting Numbers: [3, 28]
Generated Node #0,1,2: 40:[3, 28] Operation: 55-27=28
Exploring Operation: 55-3=52, Resulting Numbers: [27, 52]
Generated Node #0,1,3: 40:[27, 52] Operation: 55-3=52
Exploring Operation: 27-3=24, Resulting Numbers: [55, 24]
Generated Node #0,1,4: 40:[55, 24] Operation: 27-3=24
Moving to Node #0,4
Current State: 40:[27, 55, 42], Operations: ['63-21=42']
Exploring Operation: 55-27=28, Resulting Numbers: [42, 28]
Generated Node #0,4,0: 40:[42, 28] Operation: 55-27=28
Exploring Operation: 42-27=15, Resulting Numbers: [55, 15]
Generated Node #0,4,1: 40:[55, 15] Operation: 42-27=15
Exploring Operation: 27+42=69, Resulting Numbers: [55, 69]
Generated Node #0,4,2: 40:[55, 69] Operation: 27+42=69
Exploring Operation: 55-42=13, Resulting Numbers: [27, 13]
Generated Node #0,4,3: 40:[27, 13] Operation: 55-42=13
Exploring Operation: 27+55=82, Resulting Numbers: [42, 82]
Generated Node #0,4,4: 40:[42, 82] Operation: 27+55=82
Moving to Node #0,0
Current State: 40:[63, 21, 28], Operations: ['55-27=28']
Exploring Operation: 63/21=3, Resulting Numbers: [28, 3]
Generated Node #0,0,0: 40:[28, 3] Operation: 63/21=3
Exploring Operation: 28-21=7, Resulting Numbers: [63, 7]
Generated Node #0,0,1: 40:[63, 7] Operation: 28-21=7
Exploring Operation: 63-21=42, Resulting Numbers: [28, 42]
Generated Node #0,0,2: 40:[28, 42] Operation: 63-21=42
Exploring Operation: 21+28=49, Resulting Numbers: [63, 49]
Generated Node #0,0,3: 40:[63, 49] Operation: 21+28=49
Exploring Operation: 63-28=35, Resulting Numbers: [21, 35]
Generated Node #0,0,4: 40:[21, 35] Operation: 63-28=35
Moving to Node #0,3,3
Current State: 40:[8, 6], Operations: ['63-55=8', '27-21=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[21, 19], Operations: ['63-27=36', '55-36=19']
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,40 unequal: No Solution
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[27, 63, 21, 55], Operations: []
Exploring Operation: 63-27=36, Resulting Numbers: [21, 55, 36]
Generated Node #0,2: 40:[21, 55, 36] Operation: 63-27=36
Moving to Node #0,2
Current State: 40:[21, 55, 36], Operations: ['63-27=36']
Exploring Operation: 55-36=19, Resulting Numbers: [21, 19]
Generated Node #0,2,1: 40:[21, 19] Operation: 55-36=19
Moving to Node #0,2,1
Current State: 40:[21, 19], Operations: ['63-27=36', '55-36=19']
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.965278 | hs_5 | sum_heuristic |
[
77,
18,
11,
29
] | 78 | [
"18+11=29",
"29/29=1",
"77+1=78"
] | Current State: 78:[77, 18, 11, 29], Operations: []
Exploring Operation: 18+11=29, Resulting Numbers: [77, 29, 29]
Generated Node #2: [77, 29, 29] from Operation: 18+11=29
Current State: 78:[77, 29, 29], Operations: ['18+11=29']
Exploring Operation: 29/29=1, Resulting Numbers: [77, 1]
Generated Node #3: [77, 1] from Operation: 29/29=1
Current State: 78:[77, 1], Operations: ['18+11=29', '29/29=1']
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[77, 18, 11, 29], Operations: []
Exploring Operation: 29-18=11, Resulting Numbers: [77, 11, 11]
Generated Node #0,0: 78:[77, 11, 11] Operation: 29-18=11
Exploring Operation: 18-11=7, Resulting Numbers: [77, 29, 7]
Generated Node #0,1: 78:[77, 29, 7] Operation: 18-11=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[77, 11, 11], Operations: ['29-18=11']
Exploring Operation: 11/11=1, Resulting Numbers: [77, 1]
Generated Node #0,0,0: 78:[77, 1] Operation: 11/11=1
Exploring Operation: 77/11=7, Resulting Numbers: [11, 7]
Generated Node #0,0,1: 78:[11, 7] Operation: 77/11=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[77, 1], Operations: ['29-18=11', '11/11=1']
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[77, 18, 11, 29], Operations: []
Exploring Operation: 29-18=11, Resulting Numbers: [77, 11, 11]
Generated Node #0,0: 78:[77, 11, 11] Operation: 29-18=11
Moving to Node #0,0
Current State: 78:[77, 11, 11], Operations: ['29-18=11']
Exploring Operation: 11/11=1, Resulting Numbers: [77, 1]
Generated Node #0,0,0: 78:[77, 1] Operation: 11/11=1
Moving to Node #0,0,0
Current State: 78:[77, 1], Operations: ['29-18=11', '11/11=1']
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
3,
12,
43,
44
] | 53 | [
"44-12=32",
"3*32=96",
"96-43=53"
] | Current State: 53:[3, 12, 43, 44], Operations: []
Exploring Operation: 44-12=32, Resulting Numbers: [3, 43, 32]
Generated Node #2: [3, 43, 32] from Operation: 44-12=32
Current State: 53:[3, 43, 32], Operations: ['44-12=32']
Exploring Operation: 3*32=96, Resulting Numbers: [43, 96]
Generated Node #3: [43, 96] from Operation: 3*32=96
Current State: 53:[43, 96], Operations: ['44-12=32', '3*32=96']
Exploring Operation: 96-43=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[3, 12, 43, 44], Operations: []
Exploring Operation: 3*12=36, Resulting Numbers: [43, 44, 36]
Generated Node #0,0: 53:[43, 44, 36] Operation: 3*12=36
Moving to Node #0,0
Current State: 53:[43, 44, 36], Operations: ['3*12=36']
Exploring Operation: 43+36=79, Resulting Numbers: [44, 79]
Generated Node #0,0,0: 53:[44, 79] Operation: 43+36=79
Moving to Node #0,0,0
Current State: 53:[44, 79], Operations: ['3*12=36', '43+36=79']
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,53 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
51,
23,
2,
64
] | 12 | [
"51+23=74",
"64-2=62",
"74-62=12"
] | Current State: 12:[51, 23, 2, 64], Operations: []
Exploring Operation: 51+23=74, Resulting Numbers: [2, 64, 74]
Generated Node #2: [2, 64, 74] from Operation: 51+23=74
Current State: 12:[2, 64, 74], Operations: ['51+23=74']
Exploring Operation: 64-2=62, Resulting Numbers: [74, 62]
Generated Node #3: [74, 62] from Operation: 64-2=62
Current State: 12:[74, 62], Operations: ['51+23=74', '64-2=62']
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[51, 23, 2, 64], Operations: []
Exploring Operation: 51-23=28, Resulting Numbers: [2, 64, 28]
Generated Node #0,0: 12:[2, 64, 28] Operation: 51-23=28
Exploring Operation: 51-2=49, Resulting Numbers: [23, 64, 49]
Generated Node #0,1: 12:[23, 64, 49] Operation: 51-2=49
Exploring Operation: 64-23=41, Resulting Numbers: [51, 2, 41]
Generated Node #0,2: 12:[51, 2, 41] Operation: 64-23=41
Exploring Operation: 64/2=32, Resulting Numbers: [51, 23, 32]
Generated Node #0,3: 12:[51, 23, 32] Operation: 64/2=32
Exploring Operation: 64-51=13, Resulting Numbers: [23, 2, 13]
Generated Node #0,4: 12:[23, 2, 13] Operation: 64-51=13
Start Sub Search at level 1: Moving to Node #0,4
Current State: 12:[23, 2, 13], Operations: ['64-51=13']
Exploring Operation: 2+13=15, Resulting Numbers: [23, 15]
Generated Node #0,4,0: 12:[23, 15] Operation: 2+13=15
Exploring Operation: 23-13=10, Resulting Numbers: [2, 10]
Generated Node #0,4,1: 12:[2, 10] Operation: 23-13=10
Exploring Operation: 23+2=25, Resulting Numbers: [13, 25]
Generated Node #0,4,2: 12:[13, 25] Operation: 23+2=25
Exploring Operation: 13-2=11, Resulting Numbers: [23, 11]
Generated Node #0,4,3: 12:[23, 11] Operation: 13-2=11
Exploring Operation: 23-2=21, Resulting Numbers: [13, 21]
Generated Node #0,4,4: 12:[13, 21] Operation: 23-2=21
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 12:[2, 10], Operations: ['64-51=13', '23-13=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[51, 23, 2, 64], Operations: []
Exploring Operation: 64-51=13, Resulting Numbers: [23, 2, 13]
Generated Node #0,4: 12:[23, 2, 13] Operation: 64-51=13
Moving to Node #0,4
Current State: 12:[23, 2, 13], Operations: ['64-51=13']
Exploring Operation: 23-13=10, Resulting Numbers: [2, 10]
Generated Node #0,4,1: 12:[2, 10] Operation: 23-13=10
Moving to Node #0,4,1
Current State: 12:[2, 10], Operations: ['64-51=13', '23-13=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
18,
54,
9,
38
] | 32 | [
"54/18=3",
"38-9=29",
"3+29=32"
] | Current State: 32:[18, 54, 9, 38], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [9, 38, 3]
Generated Node #2: [9, 38, 3] from Operation: 54/18=3
Current State: 32:[9, 38, 3], Operations: ['54/18=3']
Exploring Operation: 38-9=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 38-9=29
Current State: 32:[3, 29], Operations: ['54/18=3', '38-9=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[18, 54, 9, 38], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [9, 38, 3]
Generated Node #0,0: 32:[9, 38, 3] Operation: 54/18=3
Exploring Operation: 54-18=36, Resulting Numbers: [9, 38, 36]
Generated Node #0,1: 32:[9, 38, 36] Operation: 54-18=36
Exploring Operation: 54-38=16, Resulting Numbers: [18, 9, 16]
Generated Node #0,2: 32:[18, 9, 16] Operation: 54-38=16
Exploring Operation: 54/9=6, Resulting Numbers: [18, 38, 6]
Generated Node #0,3: 32:[18, 38, 6] Operation: 54/9=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[18, 9, 16], Operations: ['54-38=16']
Exploring Operation: 18-16=2, Resulting Numbers: [9, 2]
Generated Node #0,2,0: 32:[9, 2] Operation: 18-16=2
Exploring Operation: 18+16=34, Resulting Numbers: [9, 34]
Generated Node #0,2,1: 32:[9, 34] Operation: 18+16=34
Exploring Operation: 18/9=2, Resulting Numbers: [16, 2]
Generated Node #0,2,2: 32:[16, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [16, 9]
Generated Node #0,2,3: 32:[16, 9] Operation: 18-9=9
Moving to Node #0,2,2
Current State: 32:[16, 2], Operations: ['54-38=16', '18/9=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[18, 54, 9, 38], Operations: []
Exploring Operation: 54-38=16, Resulting Numbers: [18, 9, 16]
Generated Node #0,2: 32:[18, 9, 16] Operation: 54-38=16
Moving to Node #0,2
Current State: 32:[18, 9, 16], Operations: ['54-38=16']
Exploring Operation: 18/9=2, Resulting Numbers: [16, 2]
Generated Node #0,2,2: 32:[16, 2] Operation: 18/9=2
Moving to Node #0,2,2
Current State: 32:[16, 2], Operations: ['54-38=16', '18/9=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
44,
20,
47,
17
] | 34 | [
"44+20=64",
"47-17=30",
"64-30=34"
] | Current State: 34:[44, 20, 47, 17], Operations: []
Exploring Operation: 44+20=64, Resulting Numbers: [47, 17, 64]
Generated Node #2: [47, 17, 64] from Operation: 44+20=64
Current State: 34:[47, 17, 64], Operations: ['44+20=64']
Exploring Operation: 47-17=30, Resulting Numbers: [64, 30]
Generated Node #3: [64, 30] from Operation: 47-17=30
Current State: 34:[64, 30], Operations: ['44+20=64', '47-17=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[44, 20, 47, 17], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [20, 17, 3]
Generated Node #0,0: 34:[20, 17, 3] Operation: 47-44=3
Exploring Operation: 47-20=27, Resulting Numbers: [44, 17, 27]
Generated Node #0,1: 34:[44, 17, 27] Operation: 47-20=27
Moving to Node #0,0
Current State: 34:[20, 17, 3], Operations: ['47-44=3']
Exploring Operation: 20-17=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 34:[3, 3] Operation: 20-17=3
Exploring Operation: 20-3=17, Resulting Numbers: [17, 17]
Generated Node #0,0,1: 34:[17, 17] Operation: 20-3=17
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[17, 17], Operations: ['47-44=3', '20-3=17']
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[44, 20, 47, 17], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [20, 17, 3]
Generated Node #0,0: 34:[20, 17, 3] Operation: 47-44=3
Moving to Node #0,0
Current State: 34:[20, 17, 3], Operations: ['47-44=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17, 17]
Generated Node #0,0,1: 34:[17, 17] Operation: 20-3=17
Moving to Node #0,0,1
Current State: 34:[17, 17], Operations: ['47-44=3', '20-3=17']
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
32,
38,
34,
31
] | 24 | [
"34-32=2",
"31*2=62",
"62-38=24"
] | Current State: 24:[32, 38, 34, 31], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [38, 31, 2]
Generated Node #2: [38, 31, 2] from Operation: 34-32=2
Current State: 24:[38, 31, 2], Operations: ['34-32=2']
Exploring Operation: 31*2=62, Resulting Numbers: [38, 62]
Generated Node #3: [38, 62] from Operation: 31*2=62
Current State: 24:[38, 62], Operations: ['34-32=2', '31*2=62']
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[32, 38, 34, 31], Operations: []
Exploring Operation: 38-34=4, Resulting Numbers: [32, 31, 4]
Generated Node #0,0: 24:[32, 31, 4] Operation: 38-34=4
Exploring Operation: 34-32=2, Resulting Numbers: [38, 31, 2]
Generated Node #0,1: 24:[38, 31, 2] Operation: 34-32=2
Exploring Operation: 38-32=6, Resulting Numbers: [34, 31, 6]
Generated Node #0,2: 24:[34, 31, 6] Operation: 38-32=6
Exploring Operation: 38-31=7, Resulting Numbers: [32, 34, 7]
Generated Node #0,3: 24:[32, 34, 7] Operation: 38-31=7
Exploring Operation: 34-31=3, Resulting Numbers: [32, 38, 3]
Generated Node #0,4: 24:[32, 38, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[32, 31, 4], Operations: ['38-34=4']
Exploring Operation: 32-4=28, Resulting Numbers: [31, 28]
Generated Node #0,0,0: 24:[31, 28] Operation: 32-4=28
Exploring Operation: 32+4=36, Resulting Numbers: [31, 36]
Generated Node #0,0,1: 24:[31, 36] Operation: 32+4=36
Exploring Operation: 32/4=8, Resulting Numbers: [31, 8]
Generated Node #0,0,2: 24:[31, 8] Operation: 32/4=8
Exploring Operation: 31-4=27, Resulting Numbers: [32, 27]
Generated Node #0,0,3: 24:[32, 27] Operation: 31-4=27
Exploring Operation: 32-31=1, Resulting Numbers: [4, 1]
Generated Node #0,0,4: 24:[4, 1] Operation: 32-31=1
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 24:[4, 1], Operations: ['38-34=4', '32-31=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 24:[31, 8], Operations: ['38-34=4', '32/4=8']
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,24 unequal: No Solution
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[31, 28], Operations: ['38-34=4', '32-4=28']
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 31+28=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 31*28=868, Resulting Numbers: [868]
868,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 24:[32, 27], Operations: ['38-34=4', '31-4=27']
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,24 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[31, 36], Operations: ['38-34=4', '32+4=36']
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,24 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[34, 31, 6], Operations: ['38-32=6']
Exploring Operation: 34+6=40, Resulting Numbers: [31, 40]
Generated Node #0,2,0: 24:[31, 40] Operation: 34+6=40
Exploring Operation: 34-6=28, Resulting Numbers: [31, 28]
Generated Node #0,2,1: 24:[31, 28] Operation: 34-6=28
Exploring Operation: 31+6=37, Resulting Numbers: [34, 37]
Generated Node #0,2,2: 24:[34, 37] Operation: 31+6=37
Exploring Operation: 31-6=25, Resulting Numbers: [34, 25]
Generated Node #0,2,3: 24:[34, 25] Operation: 31-6=25
Exploring Operation: 34-31=3, Resulting Numbers: [6, 3]
Generated Node #0,2,4: 24:[6, 3] Operation: 34-31=3
Moving to Node #0,2,4
Current State: 24:[6, 3], Operations: ['38-32=6', '34-31=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[34, 25], Operations: ['38-32=6', '31-6=25']
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 34*25=850, Resulting Numbers: [850]
850,24 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[31, 28], Operations: ['38-32=6', '34-6=28']
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 31+28=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 31*28=868, Resulting Numbers: [868]
868,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[31, 40], Operations: ['38-32=6', '34+6=40']
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,24 unequal: No Solution
Exploring Operation: 31*40=1240, Resulting Numbers: [1240]
1240,24 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[34, 37], Operations: ['38-32=6', '31+6=37']
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,24 unequal: No Solution
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[32, 34, 7], Operations: ['38-31=7']
Exploring Operation: 34-7=27, Resulting Numbers: [32, 27]
Generated Node #0,3,0: 24:[32, 27] Operation: 34-7=27
Exploring Operation: 32-7=25, Resulting Numbers: [34, 25]
Generated Node #0,3,1: 24:[34, 25] Operation: 32-7=25
Exploring Operation: 34+7=41, Resulting Numbers: [32, 41]
Generated Node #0,3,2: 24:[32, 41] Operation: 34+7=41
Exploring Operation: 32+7=39, Resulting Numbers: [34, 39]
Generated Node #0,3,3: 24:[34, 39] Operation: 32+7=39
Exploring Operation: 34-32=2, Resulting Numbers: [7, 2]
Generated Node #0,3,4: 24:[7, 2] Operation: 34-32=2
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 24:[7, 2], Operations: ['38-31=7', '34-32=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 24:[32, 27], Operations: ['38-31=7', '34-7=27']
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,24 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 24:[34, 25], Operations: ['38-31=7', '32-7=25']
Exploring Operation: 34*25=850, Resulting Numbers: [850]
850,24 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 24:[32, 41], Operations: ['38-31=7', '34+7=41']
Exploring Operation: 32+41=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 32*41=1312, Resulting Numbers: [1312]
1312,24 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 24:[34, 39], Operations: ['38-31=7', '32+7=39']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 34+39=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 34*39=1326, Resulting Numbers: [1326]
1326,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[38, 31, 2], Operations: ['34-32=2']
Exploring Operation: 38+2=40, Resulting Numbers: [31, 40]
Generated Node #0,1,0: 24:[31, 40] Operation: 38+2=40
Exploring Operation: 38-31=7, Resulting Numbers: [2, 7]
Generated Node #0,1,1: 24:[2, 7] Operation: 38-31=7
Exploring Operation: 31-2=29, Resulting Numbers: [38, 29]
Generated Node #0,1,2: 24:[38, 29] Operation: 31-2=29
Exploring Operation: 38-2=36, Resulting Numbers: [31, 36]
Generated Node #0,1,3: 24:[31, 36] Operation: 38-2=36
Exploring Operation: 38/2=19, Resulting Numbers: [31, 19]
Generated Node #0,1,4: 24:[31, 19] Operation: 38/2=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[2, 7], Operations: ['34-32=2', '38-31=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 24:[31, 19], Operations: ['34-32=2', '38/2=19']
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,24 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 24:[38, 29], Operations: ['34-32=2', '31-2=29']
Exploring Operation: 38*29=1102, Resulting Numbers: [1102]
1102,24 unequal: No Solution
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,24 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 24:[31, 36], Operations: ['34-32=2', '38-2=36']
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,24 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[31, 40], Operations: ['34-32=2', '38+2=40']
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,24 unequal: No Solution
Exploring Operation: 31*40=1240, Resulting Numbers: [1240]
1240,24 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 24:[32, 38, 3], Operations: ['34-31=3']
Exploring Operation: 32+3=35, Resulting Numbers: [38, 35]
Generated Node #0,4,0: 24:[38, 35] Operation: 32+3=35
Exploring Operation: 38+3=41, Resulting Numbers: [32, 41]
Generated Node #0,4,1: 24:[32, 41] Operation: 38+3=41
Exploring Operation: 38-32=6, Resulting Numbers: [3, 6]
Generated Node #0,4,2: 24:[3, 6] Operation: 38-32=6
Exploring Operation: 38-3=35, Resulting Numbers: [32, 35]
Generated Node #0,4,3: 24:[32, 35] Operation: 38-3=35
Exploring Operation: 32-3=29, Resulting Numbers: [38, 29]
Generated Node #0,4,4: 24:[38, 29] Operation: 32-3=29
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 24:[3, 6], Operations: ['34-31=3', '38-32=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 24:[32, 35], Operations: ['34-31=3', '38-3=35']
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,24 unequal: No Solution
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 24:[38, 29], Operations: ['34-31=3', '32-3=29']
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,24 unequal: No Solution
Exploring Operation: 38*29=1102, Resulting Numbers: [1102]
1102,24 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 24:[38, 35], Operations: ['34-31=3', '32+3=35']
Exploring Operation: 38+35=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 38*35=1330, Resulting Numbers: [1330]
1330,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 24:[32, 41], Operations: ['34-31=3', '38+3=41']
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 32+41=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 32*41=1312, Resulting Numbers: [1312]
1312,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
13,
67,
2,
10
] | 92 | [
"13+67=80",
"2+10=12",
"80+12=92"
] | Current State: 92:[13, 67, 2, 10], Operations: []
Exploring Operation: 13+67=80, Resulting Numbers: [2, 10, 80]
Generated Node #2: [2, 10, 80] from Operation: 13+67=80
Current State: 92:[2, 10, 80], Operations: ['13+67=80']
Exploring Operation: 2+10=12, Resulting Numbers: [80, 12]
Generated Node #3: [80, 12] from Operation: 2+10=12
Current State: 92:[80, 12], Operations: ['13+67=80', '2+10=12']
Exploring Operation: 80+12=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[13, 67, 2, 10], Operations: []
Exploring Operation: 67-13=54, Resulting Numbers: [2, 10, 54]
Generated Node #0,0: 92:[2, 10, 54] Operation: 67-13=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[2, 10, 54], Operations: ['67-13=54']
Exploring Operation: 54-10=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 92:[2, 44] Operation: 54-10=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[2, 44], Operations: ['67-13=54', '54-10=44']
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
41,
86,
71,
15
] | 11 | [
"86-41=45",
"71-15=56",
"56-45=11"
] | Current State: 11:[41, 86, 71, 15], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [71, 15, 45]
Generated Node #2: [71, 15, 45] from Operation: 86-41=45
Current State: 11:[71, 15, 45], Operations: ['86-41=45']
Exploring Operation: 71-15=56, Resulting Numbers: [45, 56]
Generated Node #3: [45, 56] from Operation: 71-15=56
Current State: 11:[45, 56], Operations: ['86-41=45', '71-15=56']
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[41, 86, 71, 15], Operations: []
Exploring Operation: 86-71=15, Resulting Numbers: [41, 15, 15]
Generated Node #0,0: 11:[41, 15, 15] Operation: 86-71=15
Exploring Operation: 86-41=45, Resulting Numbers: [71, 15, 45]
Generated Node #0,1: 11:[71, 15, 45] Operation: 86-41=45
Moving to Node #0,0
Current State: 11:[41, 15, 15], Operations: ['86-71=15']
Exploring Operation: 41-15=26, Resulting Numbers: [15, 26]
Generated Node #0,0,0: 11:[15, 26] Operation: 41-15=26
Exploring Operation: 41-15=26, Resulting Numbers: [15, 26]
Generated Node #0,0,1: 11:[15, 26] Operation: 41-15=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[15, 26], Operations: ['86-71=15', '41-15=26']
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[41, 86, 71, 15], Operations: []
Exploring Operation: 86-71=15, Resulting Numbers: [41, 15, 15]
Generated Node #0,0: 11:[41, 15, 15] Operation: 86-71=15
Moving to Node #0,0
Current State: 11:[41, 15, 15], Operations: ['86-71=15']
Exploring Operation: 41-15=26, Resulting Numbers: [15, 26]
Generated Node #0,0,0: 11:[15, 26] Operation: 41-15=26
Moving to Node #0,0,0
Current State: 11:[15, 26], Operations: ['86-71=15', '41-15=26']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
28,
81,
89,
38
] | 17 | [
"38-28=10",
"81+89=170",
"170/10=17"
] | Current State: 17:[28, 81, 89, 38], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [81, 89, 10]
Generated Node #2: [81, 89, 10] from Operation: 38-28=10
Current State: 17:[81, 89, 10], Operations: ['38-28=10']
Exploring Operation: 81+89=170, Resulting Numbers: [10, 170]
Generated Node #3: [10, 170] from Operation: 81+89=170
Current State: 17:[10, 170], Operations: ['38-28=10', '81+89=170']
Exploring Operation: 170/10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[28, 81, 89, 38], Operations: []
Exploring Operation: 89-81=8, Resulting Numbers: [28, 38, 8]
Generated Node #0,0: 17:[28, 38, 8] Operation: 89-81=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[28, 38, 8], Operations: ['89-81=8']
Exploring Operation: 38-28=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 17:[8, 10] Operation: 38-28=10
Moving to Node #0,0,0
Current State: 17:[8, 10], Operations: ['89-81=8', '38-28=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,17 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 |
[
13,
5,
99,
70
] | 21 | [
"13-5=8",
"99-70=29",
"29-8=21"
] | Current State: 21:[13, 5, 99, 70], Operations: []
Exploring Operation: 13-5=8, Resulting Numbers: [99, 70, 8]
Generated Node #2: [99, 70, 8] from Operation: 13-5=8
Current State: 21:[99, 70, 8], Operations: ['13-5=8']
Exploring Operation: 99-70=29, Resulting Numbers: [8, 29]
Generated Node #3: [8, 29] from Operation: 99-70=29
Current State: 21:[8, 29], Operations: ['13-5=8', '99-70=29']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[13, 5, 99, 70], Operations: []
Exploring Operation: 99-13=86, Resulting Numbers: [5, 70, 86]
Generated Node #0,0: 21:[5, 70, 86] Operation: 99-13=86
Exploring Operation: 70-13=57, Resulting Numbers: [5, 99, 57]
Generated Node #0,1: 21:[5, 99, 57] Operation: 70-13=57
Exploring Operation: 70/5=14, Resulting Numbers: [13, 99, 14]
Generated Node #0,2: 21:[13, 99, 14] Operation: 70/5=14
Exploring Operation: 99-70=29, Resulting Numbers: [13, 5, 29]
Generated Node #0,3: 21:[13, 5, 29] Operation: 99-70=29
Exploring Operation: 13-5=8, Resulting Numbers: [99, 70, 8]
Generated Node #0,4: 21:[99, 70, 8] Operation: 13-5=8
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[13, 5, 29], Operations: ['99-70=29']
Exploring Operation: 29-13=16, Resulting Numbers: [5, 16]
Generated Node #0,3,0: 21:[5, 16] Operation: 29-13=16
Exploring Operation: 5+29=34, Resulting Numbers: [13, 34]
Generated Node #0,3,1: 21:[13, 34] Operation: 5+29=34
Exploring Operation: 13-5=8, Resulting Numbers: [29, 8]
Generated Node #0,3,2: 21:[29, 8] Operation: 13-5=8
Exploring Operation: 29-5=24, Resulting Numbers: [13, 24]
Generated Node #0,3,3: 21:[13, 24] Operation: 29-5=24
Exploring Operation: 13+5=18, Resulting Numbers: [29, 18]
Generated Node #0,3,4: 21:[29, 18] Operation: 13+5=18
Moving to Node #0,3,0
Current State: 21:[5, 16], Operations: ['99-70=29', '29-13=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[13, 5, 99, 70], Operations: []
Exploring Operation: 99-70=29, Resulting Numbers: [13, 5, 29]
Generated Node #0,3: 21:[13, 5, 29] Operation: 99-70=29
Moving to Node #0,3
Current State: 21:[13, 5, 29], Operations: ['99-70=29']
Exploring Operation: 29-13=16, Resulting Numbers: [5, 16]
Generated Node #0,3,0: 21:[5, 16] Operation: 29-13=16
Moving to Node #0,3,0
Current State: 21:[5, 16], Operations: ['99-70=29', '29-13=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
94,
49,
16,
92
] | 63 | [
"94-49=45",
"16+92=108",
"108-45=63"
] | Current State: 63:[94, 49, 16, 92], Operations: []
Exploring Operation: 94-49=45, Resulting Numbers: [16, 92, 45]
Generated Node #2: [16, 92, 45] from Operation: 94-49=45
Current State: 63:[16, 92, 45], Operations: ['94-49=45']
Exploring Operation: 16+92=108, Resulting Numbers: [45, 108]
Generated Node #3: [45, 108] from Operation: 16+92=108
Current State: 63:[45, 108], Operations: ['94-49=45', '16+92=108']
Exploring Operation: 108-45=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[94, 49, 16, 92], Operations: []
Exploring Operation: 94-16=78, Resulting Numbers: [49, 92, 78]
Generated Node #0,0: 63:[49, 92, 78] Operation: 94-16=78
Exploring Operation: 94-49=45, Resulting Numbers: [16, 92, 45]
Generated Node #0,1: 63:[16, 92, 45] Operation: 94-49=45
Exploring Operation: 92-16=76, Resulting Numbers: [94, 49, 76]
Generated Node #0,2: 63:[94, 49, 76] Operation: 92-16=76
Exploring Operation: 92-49=43, Resulting Numbers: [94, 16, 43]
Generated Node #0,3: 63:[94, 16, 43] Operation: 92-49=43
Exploring Operation: 94-92=2, Resulting Numbers: [49, 16, 2]
Generated Node #0,4: 63:[49, 16, 2] Operation: 94-92=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 63:[49, 16, 2], Operations: ['94-92=2']
Exploring Operation: 49+16=65, Resulting Numbers: [2, 65]
Generated Node #0,4,0: 63:[2, 65] Operation: 49+16=65
Exploring Operation: 49-16=33, Resulting Numbers: [2, 33]
Generated Node #0,4,1: 63:[2, 33] Operation: 49-16=33
Exploring Operation: 49+2=51, Resulting Numbers: [16, 51]
Generated Node #0,4,2: 63:[16, 51] Operation: 49+2=51
Exploring Operation: 16+2=18, Resulting Numbers: [49, 18]
Generated Node #0,4,3: 63:[49, 18] Operation: 16+2=18
Exploring Operation: 16/2=8, Resulting Numbers: [49, 8]
Generated Node #0,4,4: 63:[49, 8] Operation: 16/2=8
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 63:[2, 65], Operations: ['94-92=2', '49+16=65']
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 2*65=130, Resulting Numbers: [130]
130,63 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[94, 49, 16, 92], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [49, 16, 2]
Generated Node #0,4: 63:[49, 16, 2] Operation: 94-92=2
Moving to Node #0,4
Current State: 63:[49, 16, 2], Operations: ['94-92=2']
Exploring Operation: 49+16=65, Resulting Numbers: [2, 65]
Generated Node #0,4,0: 63:[2, 65] Operation: 49+16=65
Moving to Node #0,4,0
Current State: 63:[2, 65], Operations: ['94-92=2', '49+16=65']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
61,
80,
95,
56
] | 99 | [
"61-56=5",
"95/5=19",
"80+19=99"
] | Current State: 99:[61, 80, 95, 56], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [80, 95, 5]
Generated Node #2: [80, 95, 5] from Operation: 61-56=5
Current State: 99:[80, 95, 5], Operations: ['61-56=5']
Exploring Operation: 95/5=19, Resulting Numbers: [80, 19]
Generated Node #3: [80, 19] from Operation: 95/5=19
Current State: 99:[80, 19], Operations: ['61-56=5', '95/5=19']
Exploring Operation: 80+19=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[61, 80, 95, 56], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [61, 95, 24]
Generated Node #0,0: 99:[61, 95, 24] Operation: 80-56=24
Exploring Operation: 80-61=19, Resulting Numbers: [95, 56, 19]
Generated Node #0,1: 99:[95, 56, 19] Operation: 80-61=19
Exploring Operation: 61+56=117, Resulting Numbers: [80, 95, 117]
Generated Node #0,2: 99:[80, 95, 117] Operation: 61+56=117
Exploring Operation: 61-56=5, Resulting Numbers: [80, 95, 5]
Generated Node #0,3: 99:[80, 95, 5] Operation: 61-56=5
Exploring Operation: 95-61=34, Resulting Numbers: [80, 56, 34]
Generated Node #0,4: 99:[80, 56, 34] Operation: 95-61=34
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[80, 95, 5], Operations: ['61-56=5']
Exploring Operation: 80+5=85, Resulting Numbers: [95, 85]
Generated Node #0,3,0: 99:[95, 85] Operation: 80+5=85
Exploring Operation: 95-80=15, Resulting Numbers: [5, 15]
Generated Node #0,3,1: 99:[5, 15] Operation: 95-80=15
Exploring Operation: 95+5=100, Resulting Numbers: [80, 100]
Generated Node #0,3,2: 99:[80, 100] Operation: 95+5=100
Exploring Operation: 80/5=16, Resulting Numbers: [95, 16]
Generated Node #0,3,3: 99:[95, 16] Operation: 80/5=16
Exploring Operation: 95/5=19, Resulting Numbers: [80, 19]
Generated Node #0,3,4: 99:[80, 19] Operation: 95/5=19
Moving to Node #0,3,1
Current State: 99:[5, 15], Operations: ['61-56=5', '95-80=15']
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,99 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Moving to Node #0,3,3
Current State: 99:[95, 16], Operations: ['61-56=5', '80/5=16']
Exploring Operation: 95*16=1520, Resulting Numbers: [1520]
1520,99 unequal: No Solution
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,99 unequal: No Solution
Exploring Operation: 95+16=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Moving to Node #0,3,0
Current State: 99:[95, 85], Operations: ['61-56=5', '80+5=85']
Exploring Operation: 95*85=8075, Resulting Numbers: [8075]
8075,99 unequal: No Solution
Exploring Operation: 95-85=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 95+85=180, Resulting Numbers: [180]
180,99 unequal: No Solution
Moving to Node #0,3,2
Current State: 99:[80, 100], Operations: ['61-56=5', '95+5=100']
Exploring Operation: 80*100=8000, Resulting Numbers: [8000]
8000,99 unequal: No Solution
Exploring Operation: 80+100=180, Resulting Numbers: [180]
180,99 unequal: No Solution
Exploring Operation: 100-80=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Moving to Node #0,3,4
Current State: 99:[80, 19], Operations: ['61-56=5', '95/5=19']
Exploring Operation: 80+19=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[61, 80, 95, 56], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [80, 95, 5]
Generated Node #0,3: 99:[80, 95, 5] Operation: 61-56=5
Moving to Node #0,3
Current State: 99:[80, 95, 5], Operations: ['61-56=5']
Exploring Operation: 95/5=19, Resulting Numbers: [80, 19]
Generated Node #0,3,4: 99:[80, 19] Operation: 95/5=19
Moving to Node #0,3,4
Current State: 99:[80, 19], Operations: ['61-56=5', '95/5=19']
Exploring Operation: 80+19=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | mult_heuristic |
[
15,
48,
17,
29
] | 75 | [
"15+48=63",
"29-17=12",
"63+12=75"
] | Current State: 75:[15, 48, 17, 29], Operations: []
Exploring Operation: 15+48=63, Resulting Numbers: [17, 29, 63]
Generated Node #2: [17, 29, 63] from Operation: 15+48=63
Current State: 75:[17, 29, 63], Operations: ['15+48=63']
Exploring Operation: 29-17=12, Resulting Numbers: [63, 12]
Generated Node #3: [63, 12] from Operation: 29-17=12
Current State: 75:[63, 12], Operations: ['15+48=63', '29-17=12']
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[15, 48, 17, 29], Operations: []
Exploring Operation: 48+29=77, Resulting Numbers: [15, 17, 77]
Generated Node #0,0: 75:[15, 17, 77] Operation: 48+29=77
Exploring Operation: 48-29=19, Resulting Numbers: [15, 17, 19]
Generated Node #0,1: 75:[15, 17, 19] Operation: 48-29=19
Moving to Node #0,0
Current State: 75:[15, 17, 77], Operations: ['48+29=77']
Exploring Operation: 15+17=32, Resulting Numbers: [77, 32]
Generated Node #0,0,0: 75:[77, 32] Operation: 15+17=32
Exploring Operation: 17-15=2, Resulting Numbers: [77, 2]
Generated Node #0,0,1: 75:[77, 2] Operation: 17-15=2
Moving to Node #0,1
Current State: 75:[15, 17, 19], Operations: ['48-29=19']
Exploring Operation: 19-17=2, Resulting Numbers: [15, 2]
Generated Node #0,1,0: 75:[15, 2] Operation: 19-17=2
Exploring Operation: 19-15=4, Resulting Numbers: [17, 4]
Generated Node #0,1,1: 75:[17, 4] Operation: 19-15=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[15, 2], Operations: ['48-29=19', '19-17=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[17, 4], Operations: ['48-29=19', '19-15=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,75 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: 75:[77, 2], Operations: ['48+29=77', '17-15=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[15, 48, 17, 29], Operations: []
Exploring Operation: 48+29=77, Resulting Numbers: [15, 17, 77]
Generated Node #0,0: 75:[15, 17, 77] Operation: 48+29=77
Moving to Node #0,0
Current State: 75:[15, 17, 77], Operations: ['48+29=77']
Exploring Operation: 17-15=2, Resulting Numbers: [77, 2]
Generated Node #0,0,1: 75:[77, 2] Operation: 17-15=2
Moving to Node #0,0,1
Current State: 75:[77, 2], Operations: ['48+29=77', '17-15=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
72,
7,
99,
94
] | 70 | [
"72-7=65",
"99-94=5",
"65+5=70"
] | Current State: 70:[72, 7, 99, 94], Operations: []
Exploring Operation: 72-7=65, Resulting Numbers: [99, 94, 65]
Generated Node #2: [99, 94, 65] from Operation: 72-7=65
Current State: 70:[99, 94, 65], Operations: ['72-7=65']
Exploring Operation: 99-94=5, Resulting Numbers: [65, 5]
Generated Node #3: [65, 5] from Operation: 99-94=5
Current State: 70:[65, 5], Operations: ['72-7=65', '99-94=5']
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[72, 7, 99, 94], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [7, 94, 27]
Generated Node #0,0: 70:[7, 94, 27] Operation: 99-72=27
Exploring Operation: 99-94=5, Resulting Numbers: [72, 7, 5]
Generated Node #0,1: 70:[72, 7, 5] Operation: 99-94=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[72, 7, 5], Operations: ['99-94=5']
Exploring Operation: 7-5=2, Resulting Numbers: [72, 2]
Generated Node #0,1,0: 70:[72, 2] Operation: 7-5=2
Exploring Operation: 7*5=35, Resulting Numbers: [72, 35]
Generated Node #0,1,1: 70:[72, 35] Operation: 7*5=35
Moving to Node #0,1,0
Current State: 70:[72, 2], Operations: ['99-94=5', '7-5=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[72, 7, 99, 94], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [72, 7, 5]
Generated Node #0,1: 70:[72, 7, 5] Operation: 99-94=5
Moving to Node #0,1
Current State: 70:[72, 7, 5], Operations: ['99-94=5']
Exploring Operation: 7-5=2, Resulting Numbers: [72, 2]
Generated Node #0,1,0: 70:[72, 2] Operation: 7-5=2
Moving to Node #0,1,0
Current State: 70:[72, 2], Operations: ['99-94=5', '7-5=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
3,
8,
6,
3
] | 42 | [
"3*8=24",
"6*3=18",
"24+18=42"
] | Current State: 42:[3, 8, 6, 3], Operations: []
Exploring Operation: 3*8=24, Resulting Numbers: [6, 24]
Generated Node #2: [6, 24] from Operation: 3*8=24
Current State: 42:[6, 24], Operations: ['3*8=24']
Exploring Operation: 6*3=18, Resulting Numbers: [24, 18]
Generated Node #3: [24, 18] from Operation: 6*3=18
Current State: 42:[24, 18], Operations: ['3*8=24', '6*3=18']
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[3, 8, 6, 3], Operations: []
Exploring Operation: 8+6=14, Resulting Numbers: [3, 3, 14]
Generated Node #0,0: 42:[3, 3, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [3, 3, 2]
Generated Node #0,1: 42:[3, 3, 2] Operation: 8-6=2
Exploring Operation: 8-3=5, Resulting Numbers: [6, 3, 5]
Generated Node #0,2: 42:[6, 3, 5] Operation: 8-3=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[3, 3, 14], Operations: ['8+6=14']
Exploring Operation: 3+3=6, Resulting Numbers: [14, 6]
Generated Node #0,0,0: 42:[14, 6] Operation: 3+3=6
Exploring Operation: 3*14=42, Resulting Numbers: [3, 42]
Generated Node #0,0,1: 42:[3, 42] Operation: 3*14=42
Exploring Operation: 3*14=42, Resulting Numbers: [3, 42]
Generated Node #0,0,2: 42:[3, 42] Operation: 3*14=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[14, 6], Operations: ['8+6=14', '3+3=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[3, 42], Operations: ['8+6=14', '3*14=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[3, 42], Operations: ['8+6=14', '3*14=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[3, 3, 2], Operations: ['8-6=2']
Exploring Operation: 3+3=6, Resulting Numbers: [2, 6]
Generated Node #0,1,0: 42:[2, 6] Operation: 3+3=6
Exploring Operation: 3*2=6, Resulting Numbers: [3, 6]
Generated Node #0,1,1: 42:[3, 6] Operation: 3*2=6
Exploring Operation: 3*2=6, Resulting Numbers: [3, 6]
Generated Node #0,1,2: 42:[3, 6] Operation: 3*2=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[2, 6], Operations: ['8-6=2', '3+3=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[3, 6], Operations: ['8-6=2', '3*2=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 42:[3, 6], Operations: ['8-6=2', '3*2=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[6, 3, 5], Operations: ['8-3=5']
Exploring Operation: 5-3=2, Resulting Numbers: [6, 2]
Generated Node #0,2,0: 42:[6, 2] Operation: 5-3=2
Exploring Operation: 6/3=2, Resulting Numbers: [5, 2]
Generated Node #0,2,1: 42:[5, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [5, 3]
Generated Node #0,2,2: 42:[5, 3] Operation: 6-3=3
Moving to Node #0,2,0
Current State: 42:[6, 2], Operations: ['8-3=5', '5-3=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[5, 2], Operations: ['8-3=5', '6/3=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[5, 3], Operations: ['8-3=5', '6-3=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
93,
62,
34,
79
] | 42 | [
"93+62=155",
"34+79=113",
"155-113=42"
] | Current State: 42:[93, 62, 34, 79], Operations: []
Exploring Operation: 93+62=155, Resulting Numbers: [34, 79, 155]
Generated Node #2: [34, 79, 155] from Operation: 93+62=155
Current State: 42:[34, 79, 155], Operations: ['93+62=155']
Exploring Operation: 34+79=113, Resulting Numbers: [155, 113]
Generated Node #3: [155, 113] from Operation: 34+79=113
Current State: 42:[155, 113], Operations: ['93+62=155', '34+79=113']
Exploring Operation: 155-113=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[93, 62, 34, 79], Operations: []
Exploring Operation: 93-79=14, Resulting Numbers: [62, 34, 14]
Generated Node #0,0: 42:[62, 34, 14] Operation: 93-79=14
Exploring Operation: 93-62=31, Resulting Numbers: [34, 79, 31]
Generated Node #0,1: 42:[34, 79, 31] Operation: 93-62=31
Exploring Operation: 79-34=45, Resulting Numbers: [93, 62, 45]
Generated Node #0,2: 42:[93, 62, 45] Operation: 79-34=45
Exploring Operation: 79-62=17, Resulting Numbers: [93, 34, 17]
Generated Node #0,3: 42:[93, 34, 17] Operation: 79-62=17
Exploring Operation: 93-34=59, Resulting Numbers: [62, 79, 59]
Generated Node #0,4: 42:[62, 79, 59] Operation: 93-34=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[62, 34, 14], Operations: ['93-79=14']
Exploring Operation: 62-34=28, Resulting Numbers: [14, 28]
Generated Node #0,0,0: 42:[14, 28] Operation: 62-34=28
Exploring Operation: 62+14=76, Resulting Numbers: [34, 76]
Generated Node #0,0,1: 42:[34, 76] Operation: 62+14=76
Exploring Operation: 34+14=48, Resulting Numbers: [62, 48]
Generated Node #0,0,2: 42:[62, 48] Operation: 34+14=48
Exploring Operation: 62-14=48, Resulting Numbers: [34, 48]
Generated Node #0,0,3: 42:[34, 48] Operation: 62-14=48
Exploring Operation: 34-14=20, Resulting Numbers: [62, 20]
Generated Node #0,0,4: 42:[62, 20] Operation: 34-14=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[14, 28], Operations: ['93-79=14', '62-34=28']
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,42 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[93, 62, 34, 79], Operations: []
Exploring Operation: 93-79=14, Resulting Numbers: [62, 34, 14]
Generated Node #0,0: 42:[62, 34, 14] Operation: 93-79=14
Moving to Node #0,0
Current State: 42:[62, 34, 14], Operations: ['93-79=14']
Exploring Operation: 62-34=28, Resulting Numbers: [14, 28]
Generated Node #0,0,0: 42:[14, 28] Operation: 62-34=28
Moving to Node #0,0,0
Current State: 42:[14, 28], Operations: ['93-79=14', '62-34=28']
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
46,
62,
66,
64
] | 85 | [
"66-64=2",
"46/2=23",
"62+23=85"
] | Current State: 85:[46, 62, 66, 64], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [46, 62, 2]
Generated Node #2: [46, 62, 2] from Operation: 66-64=2
Current State: 85:[46, 62, 2], Operations: ['66-64=2']
Exploring Operation: 46/2=23, Resulting Numbers: [62, 23]
Generated Node #3: [62, 23] from Operation: 46/2=23
Current State: 85:[62, 23], Operations: ['66-64=2', '46/2=23']
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[46, 62, 66, 64], Operations: []
Exploring Operation: 62-46=16, Resulting Numbers: [66, 64, 16]
Generated Node #0,0: 85:[66, 64, 16] Operation: 62-46=16
Exploring Operation: 64-46=18, Resulting Numbers: [62, 66, 18]
Generated Node #0,1: 85:[62, 66, 18] Operation: 64-46=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[66, 64, 16], Operations: ['62-46=16']
Exploring Operation: 64/16=4, Resulting Numbers: [66, 4]
Generated Node #0,0,0: 85:[66, 4] Operation: 64/16=4
Exploring Operation: 66-64=2, Resulting Numbers: [16, 2]
Generated Node #0,0,1: 85:[16, 2] Operation: 66-64=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[16, 2], Operations: ['62-46=16', '66-64=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[66, 4], Operations: ['62-46=16', '64/16=4']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[62, 66, 18], Operations: ['64-46=18']
Exploring Operation: 66-62=4, Resulting Numbers: [18, 4]
Generated Node #0,1,0: 85:[18, 4] Operation: 66-62=4
Exploring Operation: 62+18=80, Resulting Numbers: [66, 80]
Generated Node #0,1,1: 85:[66, 80] Operation: 62+18=80
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[18, 4], Operations: ['64-46=18', '66-62=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[66, 80], Operations: ['64-46=18', '62+18=80']
Exploring Operation: 80-66=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 66+80=146, Resulting Numbers: [146]
146,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
88,
1,
83,
2
] | 39 | [
"88*1=88",
"88/2=44",
"83-44=39"
] | Current State: 39:[88, 1, 83, 2], Operations: []
Exploring Operation: 88*1=88, Resulting Numbers: [83, 2, 88]
Generated Node #2: [83, 2, 88] from Operation: 88*1=88
Current State: 39:[83, 2, 88], Operations: ['88*1=88']
Exploring Operation: 88/2=44, Resulting Numbers: [83, 44]
Generated Node #3: [83, 44] from Operation: 88/2=44
Current State: 39:[83, 44], Operations: ['88*1=88', '88/2=44']
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[88, 1, 83, 2], Operations: []
Exploring Operation: 88-1=87, Resulting Numbers: [83, 2, 87]
Generated Node #0,0: 39:[83, 2, 87] Operation: 88-1=87
Exploring Operation: 88-2=86, Resulting Numbers: [1, 83, 86]
Generated Node #0,1: 39:[1, 83, 86] Operation: 88-2=86
Exploring Operation: 88-83=5, Resulting Numbers: [1, 2, 5]
Generated Node #0,2: 39:[1, 2, 5] Operation: 88-83=5
Exploring Operation: 88/2=44, Resulting Numbers: [1, 83, 44]
Generated Node #0,3: 39:[1, 83, 44] Operation: 88/2=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[1, 2, 5], Operations: ['88-83=5']
Exploring Operation: 1+2=3, Resulting Numbers: [5, 3]
Generated Node #0,2,0: 39:[5, 3] Operation: 1+2=3
Exploring Operation: 1*2=2, Resulting Numbers: [5, 2]
Generated Node #0,2,1: 39:[5, 2] Operation: 1*2=2
Exploring Operation: 5-1=4, Resulting Numbers: [2, 4]
Generated Node #0,2,2: 39:[2, 4] Operation: 5-1=4
Exploring Operation: 5-2=3, Resulting Numbers: [1, 3]
Generated Node #0,2,3: 39:[1, 3] Operation: 5-2=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[5, 3], Operations: ['88-83=5', '1+2=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,39 unequal: No Solution
No 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: 39:[2, 4], Operations: ['88-83=5', '5-1=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,39 unequal: No Solution
No 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: 39:[1, 3], Operations: ['88-83=5', '5-2=3']
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,39 unequal: No Solution
No 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: 39:[5, 2], Operations: ['88-83=5', '1*2=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,39 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: 39:[1, 83, 44], Operations: ['88/2=44']
Exploring Operation: 1*83=83, Resulting Numbers: [44, 83]
Generated Node #0,3,0: 39:[44, 83] Operation: 1*83=83
Exploring Operation: 83-1=82, Resulting Numbers: [44, 82]
Generated Node #0,3,1: 39:[44, 82] Operation: 83-1=82
Exploring Operation: 44-1=43, Resulting Numbers: [83, 43]
Generated Node #0,3,2: 39:[83, 43] Operation: 44-1=43
Exploring Operation: 83-44=39, Resulting Numbers: [1, 39]
Generated Node #0,3,3: 39:[1, 39] Operation: 83-44=39
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[1, 39], Operations: ['88/2=44', '83-44=39']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[88, 1, 83, 2], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [1, 83, 44]
Generated Node #0,3: 39:[1, 83, 44] Operation: 88/2=44
Moving to Node #0,3
Current State: 39:[1, 83, 44], Operations: ['88/2=44']
Exploring Operation: 83-44=39, Resulting Numbers: [1, 39]
Generated Node #0,3,3: 39:[1, 39] Operation: 83-44=39
Moving to Node #0,3,3
Current State: 39:[1, 39], Operations: ['88/2=44', '83-44=39']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
17,
90,
59,
26
] | 22 | [
"17+90=107",
"59+26=85",
"107-85=22"
] | Current State: 22:[17, 90, 59, 26], Operations: []
Exploring Operation: 17+90=107, Resulting Numbers: [59, 26, 107]
Generated Node #2: [59, 26, 107] from Operation: 17+90=107
Current State: 22:[59, 26, 107], Operations: ['17+90=107']
Exploring Operation: 59+26=85, Resulting Numbers: [107, 85]
Generated Node #3: [107, 85] from Operation: 59+26=85
Current State: 22:[107, 85], Operations: ['17+90=107', '59+26=85']
Exploring Operation: 107-85=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[17, 90, 59, 26], Operations: []
Exploring Operation: 90-59=31, Resulting Numbers: [17, 26, 31]
Generated Node #0,0: 22:[17, 26, 31] Operation: 90-59=31
Exploring Operation: 59-17=42, Resulting Numbers: [90, 26, 42]
Generated Node #0,1: 22:[90, 26, 42] Operation: 59-17=42
Exploring Operation: 90-26=64, Resulting Numbers: [17, 59, 64]
Generated Node #0,2: 22:[17, 59, 64] Operation: 90-26=64
Exploring Operation: 59-26=33, Resulting Numbers: [17, 90, 33]
Generated Node #0,3: 22:[17, 90, 33] Operation: 59-26=33
Exploring Operation: 90-17=73, Resulting Numbers: [59, 26, 73]
Generated Node #0,4: 22:[59, 26, 73] Operation: 90-17=73
Moving to Node #0,0
Current State: 22:[17, 26, 31], Operations: ['90-59=31']
Exploring Operation: 17+31=48, Resulting Numbers: [26, 48]
Generated Node #0,0,0: 22:[26, 48] Operation: 17+31=48
Exploring Operation: 17+26=43, Resulting Numbers: [31, 43]
Generated Node #0,0,1: 22:[31, 43] Operation: 17+26=43
Exploring Operation: 26-17=9, Resulting Numbers: [31, 9]
Generated Node #0,0,2: 22:[31, 9] Operation: 26-17=9
Exploring Operation: 31-26=5, Resulting Numbers: [17, 5]
Generated Node #0,0,3: 22:[17, 5] Operation: 31-26=5
Exploring Operation: 31-17=14, Resulting Numbers: [26, 14]
Generated Node #0,0,4: 22:[26, 14] Operation: 31-17=14
Moving to Node #0,3
Current State: 22:[17, 90, 33], Operations: ['59-26=33']
Exploring Operation: 33-17=16, Resulting Numbers: [90, 16]
Generated Node #0,3,0: 22:[90, 16] Operation: 33-17=16
Exploring Operation: 90-33=57, Resulting Numbers: [17, 57]
Generated Node #0,3,1: 22:[17, 57] Operation: 90-33=57
Exploring Operation: 17+33=50, Resulting Numbers: [90, 50]
Generated Node #0,3,2: 22:[90, 50] Operation: 17+33=50
Exploring Operation: 90-17=73, Resulting Numbers: [33, 73]
Generated Node #0,3,3: 22:[33, 73] Operation: 90-17=73
Exploring Operation: 17+90=107, Resulting Numbers: [33, 107]
Generated Node #0,3,4: 22:[33, 107] Operation: 17+90=107
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 22:[17, 57], Operations: ['59-26=33', '90-33=57']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,22 unequal: No Solution
Exploring Operation: 17*57=969, Resulting Numbers: [969]
969,22 unequal: No Solution
Exploring Operation: 17+57=74, Resulting Numbers: [74]
74,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,3
Current State: 22:[33, 73], Operations: ['59-26=33', '90-17=73']
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,22 unequal: No Solution
Exploring Operation: 33+73=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 33*73=2409, Resulting Numbers: [2409]
2409,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,0
Current State: 22:[90, 16], Operations: ['59-26=33', '33-17=16']
Exploring Operation: 90*16=1440, Resulting Numbers: [1440]
1440,22 unequal: No Solution
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,22 unequal: No Solution
Exploring Operation: 90+16=106, Resulting Numbers: [106]
106,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,2
Current State: 22:[90, 50], Operations: ['59-26=33', '17+33=50']
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,22 unequal: No Solution
Exploring Operation: 90+50=140, Resulting Numbers: [140]
140,22 unequal: No Solution
Exploring Operation: 90*50=4500, Resulting Numbers: [4500]
4500,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,4
Current State: 22:[33, 107], Operations: ['59-26=33', '17+90=107']
Exploring Operation: 107-33=74, Resulting Numbers: [74]
74,22 unequal: No Solution
Exploring Operation: 33+107=140, Resulting Numbers: [140]
140,22 unequal: No Solution
Exploring Operation: 33*107=3531, Resulting Numbers: [3531]
3531,22 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: 22:[17, 59, 64], Operations: ['90-26=64']
Exploring Operation: 59-17=42, Resulting Numbers: [64, 42]
Generated Node #0,2,0: 22:[64, 42] Operation: 59-17=42
Exploring Operation: 17+64=81, Resulting Numbers: [59, 81]
Generated Node #0,2,1: 22:[59, 81] Operation: 17+64=81
Exploring Operation: 64-59=5, Resulting Numbers: [17, 5]
Generated Node #0,2,2: 22:[17, 5] Operation: 64-59=5
Exploring Operation: 64-17=47, Resulting Numbers: [59, 47]
Generated Node #0,2,3: 22:[59, 47] Operation: 64-17=47
Exploring Operation: 17+59=76, Resulting Numbers: [64, 76]
Generated Node #0,2,4: 22:[64, 76] Operation: 17+59=76
Moving to Node #0,1
Current State: 22:[90, 26, 42], Operations: ['59-17=42']
Exploring Operation: 42-26=16, Resulting Numbers: [90, 16]
Generated Node #0,1,0: 22:[90, 16] Operation: 42-26=16
Exploring Operation: 90+26=116, Resulting Numbers: [42, 116]
Generated Node #0,1,1: 22:[42, 116] Operation: 90+26=116
Exploring Operation: 90+42=132, Resulting Numbers: [26, 132]
Generated Node #0,1,2: 22:[26, 132] Operation: 90+42=132
Exploring Operation: 90-42=48, Resulting Numbers: [26, 48]
Generated Node #0,1,3: 22:[26, 48] Operation: 90-42=48
Exploring Operation: 90-26=64, Resulting Numbers: [42, 64]
Generated Node #0,1,4: 22:[42, 64] Operation: 90-26=64
Moving to Node #0,4
Current State: 22:[59, 26, 73], Operations: ['90-17=73']
Exploring Operation: 59+26=85, Resulting Numbers: [73, 85]
Generated Node #0,4,0: 22:[73, 85] Operation: 59+26=85
Exploring Operation: 73-26=47, Resulting Numbers: [59, 47]
Generated Node #0,4,1: 22:[59, 47] Operation: 73-26=47
Exploring Operation: 59+73=132, Resulting Numbers: [26, 132]
Generated Node #0,4,2: 22:[26, 132] Operation: 59+73=132
Exploring Operation: 59-26=33, Resulting Numbers: [73, 33]
Generated Node #0,4,3: 22:[73, 33] Operation: 59-26=33
Exploring Operation: 73-59=14, Resulting Numbers: [26, 14]
Generated Node #0,4,4: 22:[26, 14] Operation: 73-59=14
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 22:[26, 14], Operations: ['90-17=73', '73-59=14']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,22 unequal: No Solution
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,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,4,1
Current State: 22:[59, 47], Operations: ['90-17=73', '73-26=47']
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,22 unequal: No Solution
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,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,4,3
Current State: 22:[73, 33], Operations: ['90-17=73', '59-26=33']
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,22 unequal: No Solution
Exploring Operation: 73+33=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 73*33=2409, Resulting Numbers: [2409]
2409,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,4,0
Current State: 22:[73, 85], Operations: ['90-17=73', '59+26=85']
Exploring Operation: 85-73=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 73*85=6205, Resulting Numbers: [6205]
6205,22 unequal: No Solution
Exploring Operation: 73+85=158, Resulting Numbers: [158]
158,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,4,2
Current State: 22:[26, 132], Operations: ['90-17=73', '59+73=132']
Exploring Operation: 132-26=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 26*132=3432, Resulting Numbers: [3432]
3432,22 unequal: No Solution
Exploring Operation: 26+132=158, Resulting Numbers: [158]
158,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 22:[26, 14], Operations: ['90-59=31', '31-17=14']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,22 unequal: No Solution
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[17, 5], Operations: ['90-26=64', '64-59=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[17, 90, 59, 26], Operations: []
Exploring Operation: 90-26=64, Resulting Numbers: [17, 59, 64]
Generated Node #0,2: 22:[17, 59, 64] Operation: 90-26=64
Moving to Node #0,2
Current State: 22:[17, 59, 64], Operations: ['90-26=64']
Exploring Operation: 64-59=5, Resulting Numbers: [17, 5]
Generated Node #0,2,2: 22:[17, 5] Operation: 64-59=5
Moving to Node #0,2,2
Current State: 22:[17, 5], Operations: ['90-26=64', '64-59=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.940972 | hs_5 | mult_heuristic |
[
12,
96,
2,
5
] | 47 | [
"96-12=84",
"84/2=42",
"5+42=47"
] | Current State: 47:[12, 96, 2, 5], Operations: []
Exploring Operation: 96-12=84, Resulting Numbers: [2, 5, 84]
Generated Node #2: [2, 5, 84] from Operation: 96-12=84
Current State: 47:[2, 5, 84], Operations: ['96-12=84']
Exploring Operation: 84/2=42, Resulting Numbers: [5, 42]
Generated Node #3: [5, 42] from Operation: 84/2=42
Current State: 47:[5, 42], Operations: ['96-12=84', '84/2=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[12, 96, 2, 5], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [12, 5, 48]
Generated Node #0,0: 47:[12, 5, 48] Operation: 96/2=48
Moving to Node #0,0
Current State: 47:[12, 5, 48], Operations: ['96/2=48']
Exploring Operation: 12*5=60, Resulting Numbers: [48, 60]
Generated Node #0,0,0: 47:[48, 60] Operation: 12*5=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[48, 60], Operations: ['96/2=48', '12*5=60']
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,47 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 |
[
18,
55,
62,
84
] | 73 | [
"18+55=73",
"62+84=146",
"146-73=73"
] | Current State: 73:[18, 55, 62, 84], Operations: []
Exploring Operation: 18+55=73, Resulting Numbers: [62, 84, 73]
Generated Node #2: [62, 84, 73] from Operation: 18+55=73
Current State: 73:[62, 84, 73], Operations: ['18+55=73']
Exploring Operation: 62+84=146, Resulting Numbers: [73, 146]
Generated Node #3: [73, 146] from Operation: 62+84=146
Current State: 73:[73, 146], Operations: ['18+55=73', '62+84=146']
Exploring Operation: 146-73=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[18, 55, 62, 84], Operations: []
Exploring Operation: 18+55=73, Resulting Numbers: [62, 84, 73]
Generated Node #0,0: 73:[62, 84, 73] Operation: 18+55=73
Exploring Operation: 18+62=80, Resulting Numbers: [55, 84, 80]
Generated Node #0,1: 73:[55, 84, 80] Operation: 18+62=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[62, 84, 73], Operations: ['18+55=73']
Exploring Operation: 62+84=146, Resulting Numbers: [73, 146]
Generated Node #0,0,0: 73:[73, 146] Operation: 62+84=146
Exploring Operation: 84-62=22, Resulting Numbers: [73, 22]
Generated Node #0,0,1: 73:[73, 22] Operation: 84-62=22
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[73, 22], Operations: ['18+55=73', '84-62=22']
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,73 unequal: No Solution
No 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: 73:[73, 146], Operations: ['18+55=73', '62+84=146']
Exploring Operation: 146-73=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[18, 55, 62, 84], Operations: []
Exploring Operation: 18+55=73, Resulting Numbers: [62, 84, 73]
Generated Node #0,0: 73:[62, 84, 73] Operation: 18+55=73
Moving to Node #0,0
Current State: 73:[62, 84, 73], Operations: ['18+55=73']
Exploring Operation: 62+84=146, Resulting Numbers: [73, 146]
Generated Node #0,0,0: 73:[73, 146] Operation: 62+84=146
Moving to Node #0,0,0
Current State: 73:[73, 146], Operations: ['18+55=73', '62+84=146']
Exploring Operation: 146-73=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
97,
88,
2,
63
] | 36 | [
"97-88=9",
"63+9=72",
"72/2=36"
] | Current State: 36:[97, 88, 2, 63], Operations: []
Exploring Operation: 97-88=9, Resulting Numbers: [2, 63, 9]
Generated Node #2: [2, 63, 9] from Operation: 97-88=9
Current State: 36:[2, 63, 9], Operations: ['97-88=9']
Exploring Operation: 63+9=72, Resulting Numbers: [2, 72]
Generated Node #3: [2, 72] from Operation: 63+9=72
Current State: 36:[2, 72], Operations: ['97-88=9', '63+9=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[97, 88, 2, 63], Operations: []
Exploring Operation: 88-63=25, Resulting Numbers: [97, 2, 25]
Generated Node #0,0: 36:[97, 2, 25] Operation: 88-63=25
Exploring Operation: 97-88=9, Resulting Numbers: [2, 63, 9]
Generated Node #0,1: 36:[2, 63, 9] Operation: 97-88=9
Exploring Operation: 88/2=44, Resulting Numbers: [97, 63, 44]
Generated Node #0,2: 36:[97, 63, 44] Operation: 88/2=44
Exploring Operation: 97-63=34, Resulting Numbers: [88, 2, 34]
Generated Node #0,3: 36:[88, 2, 34] Operation: 97-63=34
Moving to Node #0,1
Current State: 36:[2, 63, 9], Operations: ['97-88=9']
Exploring Operation: 2*9=18, Resulting Numbers: [63, 18]
Generated Node #0,1,0: 36:[63, 18] Operation: 2*9=18
Exploring Operation: 63-9=54, Resulting Numbers: [2, 54]
Generated Node #0,1,1: 36:[2, 54] Operation: 63-9=54
Exploring Operation: 63/9=7, Resulting Numbers: [2, 7]
Generated Node #0,1,2: 36:[2, 7] Operation: 63/9=7
Exploring Operation: 63-2=61, Resulting Numbers: [9, 61]
Generated Node #0,1,3: 36:[9, 61] Operation: 63-2=61
Moving to Node #0,3
Current State: 36:[88, 2, 34], Operations: ['97-63=34']
Exploring Operation: 88/2=44, Resulting Numbers: [34, 44]
Generated Node #0,3,0: 36:[34, 44] Operation: 88/2=44
Exploring Operation: 88-34=54, Resulting Numbers: [2, 54]
Generated Node #0,3,1: 36:[2, 54] Operation: 88-34=54
Exploring Operation: 88-2=86, Resulting Numbers: [34, 86]
Generated Node #0,3,2: 36:[34, 86] Operation: 88-2=86
Exploring Operation: 2+34=36, Resulting Numbers: [88, 36]
Generated Node #0,3,3: 36:[88, 36] Operation: 2+34=36
Moving to Node #0,0
Current State: 36:[97, 2, 25], Operations: ['88-63=25']
Exploring Operation: 97+2=99, Resulting Numbers: [25, 99]
Generated Node #0,0,0: 36:[25, 99] Operation: 97+2=99
Exploring Operation: 25-2=23, Resulting Numbers: [97, 23]
Generated Node #0,0,1: 36:[97, 23] Operation: 25-2=23
Exploring Operation: 97-2=95, Resulting Numbers: [25, 95]
Generated Node #0,0,2: 36:[25, 95] Operation: 97-2=95
Exploring Operation: 97-25=72, Resulting Numbers: [2, 72]
Generated Node #0,0,3: 36:[2, 72] Operation: 97-25=72
Moving to Node #0,2
Current State: 36:[97, 63, 44], Operations: ['88/2=44']
Exploring Operation: 97-63=34, Resulting Numbers: [44, 34]
Generated Node #0,2,0: 36:[44, 34] Operation: 97-63=34
Exploring Operation: 97+63=160, Resulting Numbers: [44, 160]
Generated Node #0,2,1: 36:[44, 160] Operation: 97+63=160
Exploring Operation: 63-44=19, Resulting Numbers: [97, 19]
Generated Node #0,2,2: 36:[97, 19] Operation: 63-44=19
Exploring Operation: 97-44=53, Resulting Numbers: [63, 53]
Generated Node #0,2,3: 36:[63, 53] Operation: 97-44=53
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[44, 34], Operations: ['88/2=44', '97-63=34']
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,36 unequal: No Solution
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,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,3
Current State: 36:[63, 53], Operations: ['88/2=44', '97-44=53']
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 63+53=116, Resulting Numbers: [116]
116,36 unequal: No Solution
Exploring Operation: 63*53=3339, Resulting Numbers: [3339]
3339,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:[97, 19], Operations: ['88/2=44', '63-44=19']
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,36 unequal: No Solution
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,36 unequal: No Solution
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,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:[44, 160], Operations: ['88/2=44', '97+63=160']
Exploring Operation: 44*160=7040, Resulting Numbers: [7040]
7040,36 unequal: No Solution
Exploring Operation: 160-44=116, Resulting Numbers: [116]
116,36 unequal: No Solution
Exploring Operation: 44+160=204, Resulting Numbers: [204]
204,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 36:[2, 7], Operations: ['97-88=9', '63/9=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Moving to Node #0,3,0
Current State: 36:[34, 44], Operations: ['97-63=34', '88/2=44']
Exploring Operation: 34+44=78, Resulting Numbers: [78]
78,36 unequal: No Solution
Exploring Operation: 34*44=1496, Resulting Numbers: [1496]
1496,36 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[2, 54], Operations: ['97-63=34', '88-34=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,36 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,36 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[2, 54], Operations: ['97-88=9', '63-9=54']
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,36 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,36 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[9, 61], Operations: ['97-88=9', '63-2=61']
Exploring Operation: 9*61=549, Resulting Numbers: [549]
549,36 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Exploring Operation: 9+61=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[63, 18], Operations: ['97-88=9', '2*9=18']
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,36 unequal: No Solution
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,36 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[2, 72], Operations: ['88-63=25', '97-25=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[97, 88, 2, 63], Operations: []
Exploring Operation: 88-63=25, Resulting Numbers: [97, 2, 25]
Generated Node #0,0: 36:[97, 2, 25] Operation: 88-63=25
Moving to Node #0,0
Current State: 36:[97, 2, 25], Operations: ['88-63=25']
Exploring Operation: 97-25=72, Resulting Numbers: [2, 72]
Generated Node #0,0,3: 36:[2, 72] Operation: 97-25=72
Moving to Node #0,0,3
Current State: 36:[2, 72], Operations: ['88-63=25', '97-25=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.950521 | hs_4 | mult_heuristic |
[
9,
29,
5,
44
] | 29 | [
"29-9=20",
"5+44=49",
"49-20=29"
] | Current State: 29:[9, 29, 5, 44], Operations: []
Exploring Operation: 29-9=20, Resulting Numbers: [5, 44, 20]
Generated Node #2: [5, 44, 20] from Operation: 29-9=20
Current State: 29:[5, 44, 20], Operations: ['29-9=20']
Exploring Operation: 5+44=49, Resulting Numbers: [20, 49]
Generated Node #3: [20, 49] from Operation: 5+44=49
Current State: 29:[20, 49], Operations: ['29-9=20', '5+44=49']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[9, 29, 5, 44], Operations: []
Exploring Operation: 44-9=35, Resulting Numbers: [29, 5, 35]
Generated Node #0,0: 29:[29, 5, 35] Operation: 44-9=35
Exploring Operation: 9+5=14, Resulting Numbers: [29, 44, 14]
Generated Node #0,1: 29:[29, 44, 14] Operation: 9+5=14
Exploring Operation: 9-5=4, Resulting Numbers: [29, 44, 4]
Generated Node #0,2: 29:[29, 44, 4] Operation: 9-5=4
Exploring Operation: 9*5=45, Resulting Numbers: [29, 44, 45]
Generated Node #0,3: 29:[29, 44, 45] Operation: 9*5=45
Exploring Operation: 44-5=39, Resulting Numbers: [9, 29, 39]
Generated Node #0,4: 29:[9, 29, 39] Operation: 44-5=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[29, 5, 35], Operations: ['44-9=35']
Exploring Operation: 5+35=40, Resulting Numbers: [29, 40]
Generated Node #0,0,0: 29:[29, 40] Operation: 5+35=40
Exploring Operation: 35-5=30, Resulting Numbers: [29, 30]
Generated Node #0,0,1: 29:[29, 30] Operation: 35-5=30
Exploring Operation: 35/5=7, Resulting Numbers: [29, 7]
Generated Node #0,0,2: 29:[29, 7] Operation: 35/5=7
Exploring Operation: 29-5=24, Resulting Numbers: [35, 24]
Generated Node #0,0,3: 29:[35, 24] Operation: 29-5=24
Exploring Operation: 29+5=34, Resulting Numbers: [35, 34]
Generated Node #0,0,4: 29:[35, 34] Operation: 29+5=34
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[29, 30], Operations: ['44-9=35', '35-5=30']
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,29 unequal: No Solution
No 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: 29:[29, 40], Operations: ['44-9=35', '5+35=40']
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 29*40=1160, Resulting Numbers: [1160]
1160,29 unequal: No Solution
No 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: 29:[35, 24], Operations: ['44-9=35', '29-5=24']
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Exploring Operation: 35*24=840, Resulting Numbers: [840]
840,29 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,29 unequal: No Solution
No 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: 29:[35, 34], Operations: ['44-9=35', '29+5=34']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 35+34=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 35*34=1190, Resulting Numbers: [1190]
1190,29 unequal: No Solution
No 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: 29:[29, 7], Operations: ['44-9=35', '35/5=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,29 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: 29:[29, 44, 14], Operations: ['9+5=14']
Exploring Operation: 44-14=30, Resulting Numbers: [29, 30]
Generated Node #0,1,0: 29:[29, 30] Operation: 44-14=30
Exploring Operation: 29+14=43, Resulting Numbers: [44, 43]
Generated Node #0,1,1: 29:[44, 43] Operation: 29+14=43
Exploring Operation: 29-14=15, Resulting Numbers: [44, 15]
Generated Node #0,1,2: 29:[44, 15] Operation: 29-14=15
Exploring Operation: 44+14=58, Resulting Numbers: [29, 58]
Generated Node #0,1,3: 29:[29, 58] Operation: 44+14=58
Exploring Operation: 44-29=15, Resulting Numbers: [14, 15]
Generated Node #0,1,4: 29:[14, 15] Operation: 44-29=15
Moving to Node #0,1,0
Current State: 29:[29, 30], Operations: ['9+5=14', '44-14=30']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,29 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[44, 15], Operations: ['9+5=14', '29-14=15']
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[9, 29, 5, 44], Operations: []
Exploring Operation: 9+5=14, Resulting Numbers: [29, 44, 14]
Generated Node #0,1: 29:[29, 44, 14] Operation: 9+5=14
Moving to Node #0,1
Current State: 29:[29, 44, 14], Operations: ['9+5=14']
Exploring Operation: 29-14=15, Resulting Numbers: [44, 15]
Generated Node #0,1,2: 29:[44, 15] Operation: 29-14=15
Moving to Node #0,1,2
Current State: 29:[44, 15], Operations: ['9+5=14', '29-14=15']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
81,
85,
40,
70
] | 26 | [
"85-81=4",
"70-40=30",
"30-4=26"
] | Current State: 26:[81, 85, 40, 70], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [40, 70, 4]
Generated Node #2: [40, 70, 4] from Operation: 85-81=4
Current State: 26:[40, 70, 4], Operations: ['85-81=4']
Exploring Operation: 70-40=30, Resulting Numbers: [4, 30]
Generated Node #3: [4, 30] from Operation: 70-40=30
Current State: 26:[4, 30], Operations: ['85-81=4', '70-40=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[81, 85, 40, 70], Operations: []
Exploring Operation: 81-70=11, Resulting Numbers: [85, 40, 11]
Generated Node #0,0: 26:[85, 40, 11] Operation: 81-70=11
Exploring Operation: 85-70=15, Resulting Numbers: [81, 40, 15]
Generated Node #0,1: 26:[81, 40, 15] Operation: 85-70=15
Exploring Operation: 81-40=41, Resulting Numbers: [85, 70, 41]
Generated Node #0,2: 26:[85, 70, 41] Operation: 81-40=41
Exploring Operation: 85-81=4, Resulting Numbers: [40, 70, 4]
Generated Node #0,3: 26:[40, 70, 4] Operation: 85-81=4
Moving to Node #0,3
Current State: 26:[40, 70, 4], Operations: ['85-81=4']
Exploring Operation: 40-4=36, Resulting Numbers: [70, 36]
Generated Node #0,3,0: 26:[70, 36] Operation: 40-4=36
Exploring Operation: 40/4=10, Resulting Numbers: [70, 10]
Generated Node #0,3,1: 26:[70, 10] Operation: 40/4=10
Exploring Operation: 70-40=30, Resulting Numbers: [4, 30]
Generated Node #0,3,2: 26:[4, 30] Operation: 70-40=30
Exploring Operation: 70-4=66, Resulting Numbers: [40, 66]
Generated Node #0,3,3: 26:[40, 66] Operation: 70-4=66
Moving to Node #0,1
Current State: 26:[81, 40, 15], Operations: ['85-70=15']
Exploring Operation: 40-15=25, Resulting Numbers: [81, 25]
Generated Node #0,1,0: 26:[81, 25] Operation: 40-15=25
Exploring Operation: 81-40=41, Resulting Numbers: [15, 41]
Generated Node #0,1,1: 26:[15, 41] Operation: 81-40=41
Exploring Operation: 81+15=96, Resulting Numbers: [40, 96]
Generated Node #0,1,2: 26:[40, 96] Operation: 81+15=96
Exploring Operation: 81-15=66, Resulting Numbers: [40, 66]
Generated Node #0,1,3: 26:[40, 66] Operation: 81-15=66
Moving to Node #0,0
Current State: 26:[85, 40, 11], Operations: ['81-70=11']
Exploring Operation: 85+11=96, Resulting Numbers: [40, 96]
Generated Node #0,0,0: 26:[40, 96] Operation: 85+11=96
Exploring Operation: 40-11=29, Resulting Numbers: [85, 29]
Generated Node #0,0,1: 26:[85, 29] Operation: 40-11=29
Exploring Operation: 85-40=45, Resulting Numbers: [11, 45]
Generated Node #0,0,2: 26:[11, 45] Operation: 85-40=45
Exploring Operation: 85-11=74, Resulting Numbers: [40, 74]
Generated Node #0,0,3: 26:[40, 74] Operation: 85-11=74
Moving to Node #0,2
Current State: 26:[85, 70, 41], Operations: ['81-40=41']
Exploring Operation: 85-41=44, Resulting Numbers: [70, 44]
Generated Node #0,2,0: 26:[70, 44] Operation: 85-41=44
Exploring Operation: 85+70=155, Resulting Numbers: [41, 155]
Generated Node #0,2,1: 26:[41, 155] Operation: 85+70=155
Exploring Operation: 85-70=15, Resulting Numbers: [41, 15]
Generated Node #0,2,2: 26:[41, 15] Operation: 85-70=15
Exploring Operation: 70-41=29, Resulting Numbers: [85, 29]
Generated Node #0,2,3: 26:[85, 29] Operation: 70-41=29
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[41, 15], Operations: ['81-40=41', '85-70=15']
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[81, 85, 40, 70], Operations: []
Exploring Operation: 81-40=41, Resulting Numbers: [85, 70, 41]
Generated Node #0,2: 26:[85, 70, 41] Operation: 81-40=41
Moving to Node #0,2
Current State: 26:[85, 70, 41], Operations: ['81-40=41']
Exploring Operation: 85-70=15, Resulting Numbers: [41, 15]
Generated Node #0,2,2: 26:[41, 15] Operation: 85-70=15
Moving to Node #0,2,2
Current State: 26:[41, 15], Operations: ['81-40=41', '85-70=15']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | sum_heuristic |
[
90,
41,
63,
37
] | 75 | [
"90-41=49",
"63-37=26",
"49+26=75"
] | Current State: 75:[90, 41, 63, 37], Operations: []
Exploring Operation: 90-41=49, Resulting Numbers: [63, 37, 49]
Generated Node #2: [63, 37, 49] from Operation: 90-41=49
Current State: 75:[63, 37, 49], Operations: ['90-41=49']
Exploring Operation: 63-37=26, Resulting Numbers: [49, 26]
Generated Node #3: [49, 26] from Operation: 63-37=26
Current State: 75:[49, 26], Operations: ['90-41=49', '63-37=26']
Exploring Operation: 49+26=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[90, 41, 63, 37], Operations: []
Exploring Operation: 41-37=4, Resulting Numbers: [90, 63, 4]
Generated Node #0,0: 75:[90, 63, 4] Operation: 41-37=4
Exploring Operation: 90-63=27, Resulting Numbers: [41, 37, 27]
Generated Node #0,1: 75:[41, 37, 27] Operation: 90-63=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[90, 63, 4], Operations: ['41-37=4']
Exploring Operation: 90-63=27, Resulting Numbers: [4, 27]
Generated Node #0,0,0: 75:[4, 27] Operation: 90-63=27
Exploring Operation: 90-4=86, Resulting Numbers: [63, 86]
Generated Node #0,0,1: 75:[63, 86] Operation: 90-4=86
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[4, 27], Operations: ['41-37=4', '90-63=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[63, 86], Operations: ['41-37=4', '90-4=86']
Exploring Operation: 86-63=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 63+86=149, Resulting Numbers: [149]
149,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[41, 37, 27], Operations: ['90-63=27']
Exploring Operation: 41-37=4, Resulting Numbers: [27, 4]
Generated Node #0,1,0: 75:[27, 4] Operation: 41-37=4
Exploring Operation: 41+37=78, Resulting Numbers: [27, 78]
Generated Node #0,1,1: 75:[27, 78] Operation: 41+37=78
Moving to Node #0,1,0
Current State: 75:[27, 4], Operations: ['90-63=27', '41-37=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[27, 78], Operations: ['90-63=27', '41+37=78']
Exploring Operation: 78-27=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 27+78=105, Resulting Numbers: [105]
105,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 | mult_heuristic |
[
66,
59,
92,
3
] | 77 | [
"92-59=33",
"33/3=11",
"66+11=77"
] | Current State: 77:[66, 59, 92, 3], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [66, 3, 33]
Generated Node #2: [66, 3, 33] from Operation: 92-59=33
Current State: 77:[66, 3, 33], Operations: ['92-59=33']
Exploring Operation: 33/3=11, Resulting Numbers: [66, 11]
Generated Node #3: [66, 11] from Operation: 33/3=11
Current State: 77:[66, 11], Operations: ['92-59=33', '33/3=11']
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[66, 59, 92, 3], Operations: []
Exploring Operation: 66-59=7, Resulting Numbers: [92, 3, 7]
Generated Node #0,0: 77:[92, 3, 7] Operation: 66-59=7
Exploring Operation: 92-66=26, Resulting Numbers: [59, 3, 26]
Generated Node #0,1: 77:[59, 3, 26] Operation: 92-66=26
Moving to Node #0,0
Current State: 77:[92, 3, 7], Operations: ['66-59=7']
Exploring Operation: 92-3=89, Resulting Numbers: [7, 89]
Generated Node #0,0,0: 77:[7, 89] Operation: 92-3=89
Exploring Operation: 92-7=85, Resulting Numbers: [3, 85]
Generated Node #0,0,1: 77:[3, 85] Operation: 92-7=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[7, 89], Operations: ['66-59=7', '92-3=89']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,77 unequal: No Solution
Exploring Operation: 7+89=96, Resulting Numbers: [96]
96,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[3, 85], Operations: ['66-59=7', '92-7=85']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,77 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 77:[59, 3, 26], Operations: ['92-66=26']
Exploring Operation: 3*26=78, Resulting Numbers: [59, 78]
Generated Node #0,1,0: 77:[59, 78] Operation: 3*26=78
Exploring Operation: 59+26=85, Resulting Numbers: [3, 85]
Generated Node #0,1,1: 77:[3, 85] Operation: 59+26=85
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[3, 85], Operations: ['92-66=26', '59+26=85']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,77 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[59, 78], Operations: ['92-66=26', '3*26=78']
Exploring Operation: 78-59=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 59+78=137, Resulting Numbers: [137]
137,77 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 |
[
33,
55,
18,
54
] | 19 | [
"55-33=22",
"54/18=3",
"22-3=19"
] | Current State: 19:[33, 55, 18, 54], Operations: []
Exploring Operation: 55-33=22, Resulting Numbers: [18, 54, 22]
Generated Node #2: [18, 54, 22] from Operation: 55-33=22
Current State: 19:[18, 54, 22], Operations: ['55-33=22']
Exploring Operation: 54/18=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 54/18=3
Current State: 19:[22, 3], Operations: ['55-33=22', '54/18=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[33, 55, 18, 54], Operations: []
Exploring Operation: 55-54=1, Resulting Numbers: [33, 18, 1]
Generated Node #0,0: 19:[33, 18, 1] Operation: 55-54=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[33, 18, 1], Operations: ['55-54=1']
Exploring Operation: 33-1=32, Resulting Numbers: [18, 32]
Generated Node #0,0,0: 19:[18, 32] Operation: 33-1=32
Moving to Node #0,0,0
Current State: 19:[18, 32], Operations: ['55-54=1', '33-1=32']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,19 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 |
[
11,
81,
21,
58
] | 33 | [
"81-11=70",
"58-21=37",
"70-37=33"
] | Current State: 33:[11, 81, 21, 58], Operations: []
Exploring Operation: 81-11=70, Resulting Numbers: [21, 58, 70]
Generated Node #2: [21, 58, 70] from Operation: 81-11=70
Current State: 33:[21, 58, 70], Operations: ['81-11=70']
Exploring Operation: 58-21=37, Resulting Numbers: [70, 37]
Generated Node #3: [70, 37] from Operation: 58-21=37
Current State: 33:[70, 37], Operations: ['81-11=70', '58-21=37']
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[11, 81, 21, 58], Operations: []
Exploring Operation: 58-11=47, Resulting Numbers: [81, 21, 47]
Generated Node #0,0: 33:[81, 21, 47] Operation: 58-11=47
Exploring Operation: 81-58=23, Resulting Numbers: [11, 21, 23]
Generated Node #0,1: 33:[11, 21, 23] Operation: 81-58=23
Exploring Operation: 81-21=60, Resulting Numbers: [11, 58, 60]
Generated Node #0,2: 33:[11, 58, 60] Operation: 81-21=60
Exploring Operation: 58-21=37, Resulting Numbers: [11, 81, 37]
Generated Node #0,3: 33:[11, 81, 37] Operation: 58-21=37
Exploring Operation: 81-11=70, Resulting Numbers: [21, 58, 70]
Generated Node #0,4: 33:[21, 58, 70] Operation: 81-11=70
Moving to Node #0,1
Current State: 33:[11, 21, 23], Operations: ['81-58=23']
Exploring Operation: 21-11=10, Resulting Numbers: [23, 10]
Generated Node #0,1,0: 33:[23, 10] Operation: 21-11=10
Exploring Operation: 11+23=34, Resulting Numbers: [21, 34]
Generated Node #0,1,1: 33:[21, 34] Operation: 11+23=34
Exploring Operation: 23-21=2, Resulting Numbers: [11, 2]
Generated Node #0,1,2: 33:[11, 2] Operation: 23-21=2
Exploring Operation: 11+21=32, Resulting Numbers: [23, 32]
Generated Node #0,1,3: 33:[23, 32] Operation: 11+21=32
Exploring Operation: 23-11=12, Resulting Numbers: [21, 12]
Generated Node #0,1,4: 33:[21, 12] Operation: 23-11=12
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 33:[11, 2], Operations: ['81-58=23', '23-21=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[23, 10], Operations: ['81-58=23', '21-11=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[11, 81, 21, 58], Operations: []
Exploring Operation: 81-58=23, Resulting Numbers: [11, 21, 23]
Generated Node #0,1: 33:[11, 21, 23] Operation: 81-58=23
Moving to Node #0,1
Current State: 33:[11, 21, 23], Operations: ['81-58=23']
Exploring Operation: 21-11=10, Resulting Numbers: [23, 10]
Generated Node #0,1,0: 33:[23, 10] Operation: 21-11=10
Moving to Node #0,1,0
Current State: 33:[23, 10], Operations: ['81-58=23', '21-11=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
36,
90,
69,
41
] | 82 | [
"90-36=54",
"69-41=28",
"54+28=82"
] | Current State: 82:[36, 90, 69, 41], Operations: []
Exploring Operation: 90-36=54, Resulting Numbers: [69, 41, 54]
Generated Node #2: [69, 41, 54] from Operation: 90-36=54
Current State: 82:[69, 41, 54], Operations: ['90-36=54']
Exploring Operation: 69-41=28, Resulting Numbers: [54, 28]
Generated Node #3: [54, 28] from Operation: 69-41=28
Current State: 82:[54, 28], Operations: ['90-36=54', '69-41=28']
Exploring Operation: 54+28=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[36, 90, 69, 41], Operations: []
Exploring Operation: 90-69=21, Resulting Numbers: [36, 41, 21]
Generated Node #0,0: 82:[36, 41, 21] Operation: 90-69=21
Exploring Operation: 41-36=5, Resulting Numbers: [90, 69, 5]
Generated Node #0,1: 82:[90, 69, 5] Operation: 41-36=5
Exploring Operation: 69-36=33, Resulting Numbers: [90, 41, 33]
Generated Node #0,2: 82:[90, 41, 33] Operation: 69-36=33
Exploring Operation: 90-36=54, Resulting Numbers: [69, 41, 54]
Generated Node #0,3: 82:[69, 41, 54] Operation: 90-36=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[90, 41, 33], Operations: ['69-36=33']
Exploring Operation: 41+33=74, Resulting Numbers: [90, 74]
Generated Node #0,2,0: 82:[90, 74] Operation: 41+33=74
Exploring Operation: 90-41=49, Resulting Numbers: [33, 49]
Generated Node #0,2,1: 82:[33, 49] Operation: 90-41=49
Exploring Operation: 90-33=57, Resulting Numbers: [41, 57]
Generated Node #0,2,2: 82:[41, 57] Operation: 90-33=57
Exploring Operation: 41-33=8, Resulting Numbers: [90, 8]
Generated Node #0,2,3: 82:[90, 8] Operation: 41-33=8
Moving to Node #0,2,3
Current State: 82:[90, 8], Operations: ['69-36=33', '41-33=8']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[36, 90, 69, 41], Operations: []
Exploring Operation: 69-36=33, Resulting Numbers: [90, 41, 33]
Generated Node #0,2: 82:[90, 41, 33] Operation: 69-36=33
Moving to Node #0,2
Current State: 82:[90, 41, 33], Operations: ['69-36=33']
Exploring Operation: 41-33=8, Resulting Numbers: [90, 8]
Generated Node #0,2,3: 82:[90, 8] Operation: 41-33=8
Moving to Node #0,2,3
Current State: 82:[90, 8], Operations: ['69-36=33', '41-33=8']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
70,
55,
86,
16
] | 56 | [
"86-70=16",
"16/16=1",
"55+1=56"
] | Current State: 56:[70, 55, 86, 16], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [55, 16, 16]
Generated Node #2: [55, 16, 16] from Operation: 86-70=16
Current State: 56:[55, 16, 16], Operations: ['86-70=16']
Exploring Operation: 16/16=1, Resulting Numbers: [55, 1]
Generated Node #3: [55, 1] from Operation: 16/16=1
Current State: 56:[55, 1], Operations: ['86-70=16', '16/16=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[70, 55, 86, 16], Operations: []
Exploring Operation: 70-16=54, Resulting Numbers: [55, 86, 54]
Generated Node #0,0: 56:[55, 86, 54] Operation: 70-16=54
Exploring Operation: 86-55=31, Resulting Numbers: [70, 16, 31]
Generated Node #0,1: 56:[70, 16, 31] Operation: 86-55=31
Exploring Operation: 86-16=70, Resulting Numbers: [70, 55, 70]
Generated Node #0,2: 56:[70, 55, 70] Operation: 86-16=70
Exploring Operation: 86-70=16, Resulting Numbers: [55, 16, 16]
Generated Node #0,3: 56:[55, 16, 16] Operation: 86-70=16
Exploring Operation: 70-55=15, Resulting Numbers: [86, 16, 15]
Generated Node #0,4: 56:[86, 16, 15] Operation: 70-55=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[55, 16, 16], Operations: ['86-70=16']
Exploring Operation: 55-16=39, Resulting Numbers: [16, 39]
Generated Node #0,3,0: 56:[16, 39] Operation: 55-16=39
Exploring Operation: 16-16=0, Resulting Numbers: [55, 0]
Generated Node #0,3,1: 56:[55, 0] Operation: 16-16=0
Exploring Operation: 16/16=1, Resulting Numbers: [55, 1]
Generated Node #0,3,2: 56:[55, 1] Operation: 16/16=1
Exploring Operation: 16+16=32, Resulting Numbers: [55, 32]
Generated Node #0,3,3: 56:[55, 32] Operation: 16+16=32
Exploring Operation: 55-16=39, Resulting Numbers: [16, 39]
Generated Node #0,3,4: 56:[16, 39] Operation: 55-16=39
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 56:[55, 1], Operations: ['86-70=16', '16/16=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[70, 55, 86, 16], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [55, 16, 16]
Generated Node #0,3: 56:[55, 16, 16] Operation: 86-70=16
Moving to Node #0,3
Current State: 56:[55, 16, 16], Operations: ['86-70=16']
Exploring Operation: 16/16=1, Resulting Numbers: [55, 1]
Generated Node #0,3,2: 56:[55, 1] Operation: 16/16=1
Moving to Node #0,3,2
Current State: 56:[55, 1], Operations: ['86-70=16', '16/16=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
65,
4,
5,
62
] | 47 | [
"65-5=60",
"60/4=15",
"62-15=47"
] | Current State: 47:[65, 4, 5, 62], Operations: []
Exploring Operation: 65-5=60, Resulting Numbers: [4, 62, 60]
Generated Node #2: [4, 62, 60] from Operation: 65-5=60
Current State: 47:[4, 62, 60], Operations: ['65-5=60']
Exploring Operation: 60/4=15, Resulting Numbers: [62, 15]
Generated Node #3: [62, 15] from Operation: 60/4=15
Current State: 47:[62, 15], Operations: ['65-5=60', '60/4=15']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[65, 4, 5, 62], Operations: []
Exploring Operation: 65-5=60, Resulting Numbers: [4, 62, 60]
Generated Node #0,0: 47:[4, 62, 60] Operation: 65-5=60
Exploring Operation: 65-4=61, Resulting Numbers: [5, 62, 61]
Generated Node #0,1: 47:[5, 62, 61] Operation: 65-4=61
Exploring Operation: 4+5=9, Resulting Numbers: [65, 62, 9]
Generated Node #0,2: 47:[65, 62, 9] Operation: 4+5=9
Exploring Operation: 4*5=20, Resulting Numbers: [65, 62, 20]
Generated Node #0,3: 47:[65, 62, 20] Operation: 4*5=20
Exploring Operation: 62-4=58, Resulting Numbers: [65, 5, 58]
Generated Node #0,4: 47:[65, 5, 58] Operation: 62-4=58
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[65, 62, 20], Operations: ['4*5=20']
Exploring Operation: 65-20=45, Resulting Numbers: [62, 45]
Generated Node #0,3,0: 47:[62, 45] Operation: 65-20=45
Exploring Operation: 62-20=42, Resulting Numbers: [65, 42]
Generated Node #0,3,1: 47:[65, 42] Operation: 62-20=42
Exploring Operation: 65+20=85, Resulting Numbers: [62, 85]
Generated Node #0,3,2: 47:[62, 85] Operation: 65+20=85
Exploring Operation: 62+20=82, Resulting Numbers: [65, 82]
Generated Node #0,3,3: 47:[65, 82] Operation: 62+20=82
Exploring Operation: 65-62=3, Resulting Numbers: [20, 3]
Generated Node #0,3,4: 47:[20, 3] Operation: 65-62=3
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 47:[62, 45], Operations: ['4*5=20', '65-20=45']
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 62*45=2790, Resulting Numbers: [2790]
2790,47 unequal: No Solution
Exploring Operation: 62+45=107, Resulting Numbers: [107]
107,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,3,1
Current State: 47:[65, 42], Operations: ['4*5=20', '62-20=42']
Exploring Operation: 65+42=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Exploring Operation: 65*42=2730, Resulting Numbers: [2730]
2730,47 unequal: No Solution
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,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,3,2
Current State: 47:[62, 85], Operations: ['4*5=20', '65+20=85']
Exploring Operation: 62+85=147, Resulting Numbers: [147]
147,47 unequal: No Solution
Exploring Operation: 62*85=5270, Resulting Numbers: [5270]
5270,47 unequal: No Solution
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,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,3,3
Current State: 47:[65, 82], Operations: ['4*5=20', '62+20=82']
Exploring Operation: 65*82=5330, Resulting Numbers: [5330]
5330,47 unequal: No Solution
Exploring Operation: 65+82=147, Resulting Numbers: [147]
147,47 unequal: No Solution
Exploring Operation: 82-65=17, Resulting Numbers: [17]
17,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,3,4
Current State: 47:[20, 3], Operations: ['4*5=20', '65-62=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,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,0
Current State: 47:[4, 62, 60], Operations: ['65-5=60']
Exploring Operation: 4+60=64, Resulting Numbers: [62, 64]
Generated Node #0,0,0: 47:[62, 64] Operation: 4+60=64
Exploring Operation: 60-4=56, Resulting Numbers: [62, 56]
Generated Node #0,0,1: 47:[62, 56] Operation: 60-4=56
Exploring Operation: 4+62=66, Resulting Numbers: [60, 66]
Generated Node #0,0,2: 47:[60, 66] Operation: 4+62=66
Exploring Operation: 60/4=15, Resulting Numbers: [62, 15]
Generated Node #0,0,3: 47:[62, 15] Operation: 60/4=15
Exploring Operation: 62-4=58, Resulting Numbers: [60, 58]
Generated Node #0,0,4: 47:[60, 58] Operation: 62-4=58
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[62, 56], Operations: ['65-5=60', '60-4=56']
Exploring Operation: 62*56=3472, Resulting Numbers: [3472]
3472,47 unequal: No Solution
Exploring Operation: 62-56=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 62+56=118, Resulting Numbers: [118]
118,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,0,4
Current State: 47:[60, 58], Operations: ['65-5=60', '62-4=58']
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 60*58=3480, Resulting Numbers: [3480]
3480,47 unequal: No Solution
Exploring Operation: 60+58=118, Resulting Numbers: [118]
118,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,0,0
Current State: 47:[62, 64], Operations: ['65-5=60', '4+60=64']
Exploring Operation: 62+64=126, Resulting Numbers: [126]
126,47 unequal: No Solution
Exploring Operation: 62*64=3968, Resulting Numbers: [3968]
3968,47 unequal: No Solution
Exploring Operation: 64-62=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,0,2
Current State: 47:[60, 66], Operations: ['65-5=60', '4+62=66']
Exploring Operation: 60*66=3960, Resulting Numbers: [3960]
3960,47 unequal: No Solution
Exploring Operation: 60+66=126, Resulting Numbers: [126]
126,47 unequal: No Solution
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,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,0,3
Current State: 47:[62, 15], Operations: ['65-5=60', '60/4=15']
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 62*15=930, Resulting Numbers: [930]
930,47 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[65, 4, 5, 62], Operations: []
Exploring Operation: 65-5=60, Resulting Numbers: [4, 62, 60]
Generated Node #0,0: 47:[4, 62, 60] Operation: 65-5=60
Moving to Node #0,0
Current State: 47:[4, 62, 60], Operations: ['65-5=60']
Exploring Operation: 60/4=15, Resulting Numbers: [62, 15]
Generated Node #0,0,3: 47:[62, 15] Operation: 60/4=15
Moving to Node #0,0,3
Current State: 47:[62, 15], Operations: ['65-5=60', '60/4=15']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.957465 | hs_5 | sum_heuristic |
[
45,
57,
87,
43
] | 58 | [
"45+57=102",
"87-43=44",
"102-44=58"
] | Current State: 58:[45, 57, 87, 43], Operations: []
Exploring Operation: 45+57=102, Resulting Numbers: [87, 43, 102]
Generated Node #2: [87, 43, 102] from Operation: 45+57=102
Current State: 58:[87, 43, 102], Operations: ['45+57=102']
Exploring Operation: 87-43=44, Resulting Numbers: [102, 44]
Generated Node #3: [102, 44] from Operation: 87-43=44
Current State: 58:[102, 44], Operations: ['45+57=102', '87-43=44']
Exploring Operation: 102-44=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[45, 57, 87, 43], Operations: []
Exploring Operation: 87-57=30, Resulting Numbers: [45, 43, 30]
Generated Node #0,0: 58:[45, 43, 30] Operation: 87-57=30
Exploring Operation: 87-43=44, Resulting Numbers: [45, 57, 44]
Generated Node #0,1: 58:[45, 57, 44] Operation: 87-43=44
Exploring Operation: 87-45=42, Resulting Numbers: [57, 43, 42]
Generated Node #0,2: 58:[57, 43, 42] Operation: 87-45=42
Exploring Operation: 45-43=2, Resulting Numbers: [57, 87, 2]
Generated Node #0,3: 58:[57, 87, 2] Operation: 45-43=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[45, 43, 30], Operations: ['87-57=30']
Exploring Operation: 45-30=15, Resulting Numbers: [43, 15]
Generated Node #0,0,0: 58:[43, 15] Operation: 45-30=15
Exploring Operation: 43-30=13, Resulting Numbers: [45, 13]
Generated Node #0,0,1: 58:[45, 13] Operation: 43-30=13
Exploring Operation: 45-43=2, Resulting Numbers: [30, 2]
Generated Node #0,0,2: 58:[30, 2] Operation: 45-43=2
Exploring Operation: 43+30=73, Resulting Numbers: [45, 73]
Generated Node #0,0,3: 58:[45, 73] Operation: 43+30=73
Moving to Node #0,0,2
Current State: 58:[30, 2], Operations: ['87-57=30', '45-43=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[45, 13], Operations: ['87-57=30', '43-30=13']
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[45, 57, 87, 43], Operations: []
Exploring Operation: 87-57=30, Resulting Numbers: [45, 43, 30]
Generated Node #0,0: 58:[45, 43, 30] Operation: 87-57=30
Moving to Node #0,0
Current State: 58:[45, 43, 30], Operations: ['87-57=30']
Exploring Operation: 43-30=13, Resulting Numbers: [45, 13]
Generated Node #0,0,1: 58:[45, 13] Operation: 43-30=13
Moving to Node #0,0,1
Current State: 58:[45, 13], Operations: ['87-57=30', '43-30=13']
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
5,
24,
29,
20
] | 49 | [
"20/5=4",
"24+29=53",
"53-4=49"
] | Current State: 49:[5, 24, 29, 20], Operations: []
Exploring Operation: 20/5=4, Resulting Numbers: [24, 29, 4]
Generated Node #2: [24, 29, 4] from Operation: 20/5=4
Current State: 49:[24, 29, 4], Operations: ['20/5=4']
Exploring Operation: 24+29=53, Resulting Numbers: [4, 53]
Generated Node #3: [4, 53] from Operation: 24+29=53
Current State: 49:[4, 53], Operations: ['20/5=4', '24+29=53']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[5, 24, 29, 20], Operations: []
Exploring Operation: 29-24=5, Resulting Numbers: [5, 20, 5]
Generated Node #0,0: 49:[5, 20, 5] Operation: 29-24=5
Exploring Operation: 24+29=53, Resulting Numbers: [5, 20, 53]
Generated Node #0,1: 49:[5, 20, 53] Operation: 24+29=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[5, 20, 5], Operations: ['29-24=5']
Exploring Operation: 20/5=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 49:[5, 4] Operation: 20/5=4
Exploring Operation: 20/5=4, Resulting Numbers: [5, 4]
Generated Node #0,0,1: 49:[5, 4] Operation: 20/5=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[5, 4], Operations: ['29-24=5', '20/5=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[5, 4], Operations: ['29-24=5', '20/5=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[5, 20, 53], Operations: ['24+29=53']
Exploring Operation: 20-5=15, Resulting Numbers: [53, 15]
Generated Node #0,1,0: 49:[53, 15] Operation: 20-5=15
Exploring Operation: 20/5=4, Resulting Numbers: [53, 4]
Generated Node #0,1,1: 49:[53, 4] Operation: 20/5=4
Moving to Node #0,1,1
Current State: 49:[53, 4], Operations: ['24+29=53', '20/5=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[5, 24, 29, 20], Operations: []
Exploring Operation: 24+29=53, Resulting Numbers: [5, 20, 53]
Generated Node #0,1: 49:[5, 20, 53] Operation: 24+29=53
Moving to Node #0,1
Current State: 49:[5, 20, 53], Operations: ['24+29=53']
Exploring Operation: 20/5=4, Resulting Numbers: [53, 4]
Generated Node #0,1,1: 49:[53, 4] Operation: 20/5=4
Moving to Node #0,1,1
Current State: 49:[53, 4], Operations: ['24+29=53', '20/5=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
12,
10,
39,
53
] | 36 | [
"12+10=22",
"53-39=14",
"22+14=36"
] | Current State: 36:[12, 10, 39, 53], Operations: []
Exploring Operation: 12+10=22, Resulting Numbers: [39, 53, 22]
Generated Node #2: [39, 53, 22] from Operation: 12+10=22
Current State: 36:[39, 53, 22], Operations: ['12+10=22']
Exploring Operation: 53-39=14, Resulting Numbers: [22, 14]
Generated Node #3: [22, 14] from Operation: 53-39=14
Current State: 36:[22, 14], Operations: ['12+10=22', '53-39=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[12, 10, 39, 53], Operations: []
Exploring Operation: 53-39=14, Resulting Numbers: [12, 10, 14]
Generated Node #0,0: 36:[12, 10, 14] Operation: 53-39=14
Exploring Operation: 53-12=41, Resulting Numbers: [10, 39, 41]
Generated Node #0,1: 36:[10, 39, 41] Operation: 53-12=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[12, 10, 14], Operations: ['53-39=14']
Exploring Operation: 14-12=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 36:[10, 2] Operation: 14-12=2
Exploring Operation: 14-10=4, Resulting Numbers: [12, 4]
Generated Node #0,0,1: 36:[12, 4] Operation: 14-10=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[12, 4], Operations: ['53-39=14', '14-10=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[10, 2], Operations: ['53-39=14', '14-12=2']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[10, 39, 41], Operations: ['53-12=41']
Exploring Operation: 41-10=31, Resulting Numbers: [39, 31]
Generated Node #0,1,0: 36:[39, 31] Operation: 41-10=31
Exploring Operation: 41-39=2, Resulting Numbers: [10, 2]
Generated Node #0,1,1: 36:[10, 2] Operation: 41-39=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[10, 2], Operations: ['53-12=41', '41-39=2']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[39, 31], Operations: ['53-12=41', '41-10=31']
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
77,
13,
7,
65
] | 75 | [
"77-7=70",
"65/13=5",
"70+5=75"
] | Current State: 75:[77, 13, 7, 65], Operations: []
Exploring Operation: 77-7=70, Resulting Numbers: [13, 65, 70]
Generated Node #2: [13, 65, 70] from Operation: 77-7=70
Current State: 75:[13, 65, 70], Operations: ['77-7=70']
Exploring Operation: 65/13=5, Resulting Numbers: [70, 5]
Generated Node #3: [70, 5] from Operation: 65/13=5
Current State: 75:[70, 5], Operations: ['77-7=70', '65/13=5']
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[77, 13, 7, 65], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [13, 7, 12]
Generated Node #0,0: 75:[13, 7, 12] Operation: 77-65=12
Exploring Operation: 65/13=5, Resulting Numbers: [77, 7, 5]
Generated Node #0,1: 75:[77, 7, 5] Operation: 65/13=5
Exploring Operation: 13+65=78, Resulting Numbers: [77, 7, 78]
Generated Node #0,2: 75:[77, 7, 78] Operation: 13+65=78
Moving to Node #0,1
Current State: 75:[77, 7, 5], Operations: ['65/13=5']
Exploring Operation: 77-7=70, Resulting Numbers: [5, 70]
Generated Node #0,1,0: 75:[5, 70] Operation: 77-7=70
Exploring Operation: 77/7=11, Resulting Numbers: [5, 11]
Generated Node #0,1,1: 75:[5, 11] Operation: 77/7=11
Exploring Operation: 7-5=2, Resulting Numbers: [77, 2]
Generated Node #0,1,2: 75:[77, 2] Operation: 7-5=2
Moving to Node #0,0
Current State: 75:[13, 7, 12], Operations: ['77-65=12']
Exploring Operation: 13+12=25, Resulting Numbers: [7, 25]
Generated Node #0,0,0: 75:[7, 25] Operation: 13+12=25
Exploring Operation: 12-7=5, Resulting Numbers: [13, 5]
Generated Node #0,0,1: 75:[13, 5] Operation: 12-7=5
Exploring Operation: 13-7=6, Resulting Numbers: [12, 6]
Generated Node #0,0,2: 75:[12, 6] Operation: 13-7=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[7, 25], Operations: ['77-65=12', '13+12=25']
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,75 unequal: No Solution
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[13, 5], Operations: ['77-65=12', '12-7=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[12, 6], Operations: ['77-65=12', '13-7=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 75:[77, 7, 78], Operations: ['13+65=78']
Exploring Operation: 77/7=11, Resulting Numbers: [78, 11]
Generated Node #0,2,0: 75:[78, 11] Operation: 77/7=11
Exploring Operation: 78-7=71, Resulting Numbers: [77, 71]
Generated Node #0,2,1: 75:[77, 71] Operation: 78-7=71
Exploring Operation: 78-77=1, Resulting Numbers: [7, 1]
Generated Node #0,2,2: 75:[7, 1] Operation: 78-77=1
Moving to Node #0,1,2
Current State: 75:[77, 2], Operations: ['65/13=5', '7-5=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,75 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[77, 13, 7, 65], Operations: []
Exploring Operation: 65/13=5, Resulting Numbers: [77, 7, 5]
Generated Node #0,1: 75:[77, 7, 5] Operation: 65/13=5
Moving to Node #0,1
Current State: 75:[77, 7, 5], Operations: ['65/13=5']
Exploring Operation: 7-5=2, Resulting Numbers: [77, 2]
Generated Node #0,1,2: 75:[77, 2] Operation: 7-5=2
Moving to Node #0,1,2
Current State: 75:[77, 2], Operations: ['65/13=5', '7-5=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
28,
71,
6,
80
] | 31 | [
"71-28=43",
"80-6=74",
"74-43=31"
] | Current State: 31:[28, 71, 6, 80], Operations: []
Exploring Operation: 71-28=43, Resulting Numbers: [6, 80, 43]
Generated Node #2: [6, 80, 43] from Operation: 71-28=43
Current State: 31:[6, 80, 43], Operations: ['71-28=43']
Exploring Operation: 80-6=74, Resulting Numbers: [43, 74]
Generated Node #3: [43, 74] from Operation: 80-6=74
Current State: 31:[43, 74], Operations: ['71-28=43', '80-6=74']
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[28, 71, 6, 80], Operations: []
Exploring Operation: 80-71=9, Resulting Numbers: [28, 6, 9]
Generated Node #0,0: 31:[28, 6, 9] Operation: 80-71=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[28, 6, 9], Operations: ['80-71=9']
Exploring Operation: 6+9=15, Resulting Numbers: [28, 15]
Generated Node #0,0,0: 31:[28, 15] Operation: 6+9=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[28, 15], Operations: ['80-71=9', '6+9=15']
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
12,
57,
91,
3
] | 25 | [
"12+57=69",
"91+3=94",
"94-69=25"
] | Current State: 25:[12, 57, 91, 3], Operations: []
Exploring Operation: 12+57=69, Resulting Numbers: [91, 3, 69]
Generated Node #2: [91, 3, 69] from Operation: 12+57=69
Current State: 25:[91, 3, 69], Operations: ['12+57=69']
Exploring Operation: 91+3=94, Resulting Numbers: [69, 94]
Generated Node #3: [69, 94] from Operation: 91+3=94
Current State: 25:[69, 94], Operations: ['12+57=69', '91+3=94']
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[12, 57, 91, 3], Operations: []
Exploring Operation: 91-57=34, Resulting Numbers: [12, 3, 34]
Generated Node #0,0: 25:[12, 3, 34] Operation: 91-57=34
Exploring Operation: 57/3=19, Resulting Numbers: [12, 91, 19]
Generated Node #0,1: 25:[12, 91, 19] Operation: 57/3=19
Exploring Operation: 91-12=79, Resulting Numbers: [57, 3, 79]
Generated Node #0,2: 25:[57, 3, 79] Operation: 91-12=79
Exploring Operation: 12/3=4, Resulting Numbers: [57, 91, 4]
Generated Node #0,3: 25:[57, 91, 4] Operation: 12/3=4
Exploring Operation: 57-12=45, Resulting Numbers: [91, 3, 45]
Generated Node #0,4: 25:[91, 3, 45] Operation: 57-12=45
Moving to Node #0,0
Current State: 25:[12, 3, 34], Operations: ['91-57=34']
Exploring Operation: 34-3=31, Resulting Numbers: [12, 31]
Generated Node #0,0,0: 25:[12, 31] Operation: 34-3=31
Exploring Operation: 12-3=9, Resulting Numbers: [34, 9]
Generated Node #0,0,1: 25:[34, 9] Operation: 12-3=9
Exploring Operation: 34-12=22, Resulting Numbers: [3, 22]
Generated Node #0,0,2: 25:[3, 22] Operation: 34-12=22
Exploring Operation: 12/3=4, Resulting Numbers: [34, 4]
Generated Node #0,0,3: 25:[34, 4] Operation: 12/3=4
Exploring Operation: 12+3=15, Resulting Numbers: [34, 15]
Generated Node #0,0,4: 25:[34, 15] Operation: 12+3=15
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[3, 22], Operations: ['91-57=34', '34-12=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[12, 57, 91, 3], Operations: []
Exploring Operation: 91-57=34, Resulting Numbers: [12, 3, 34]
Generated Node #0,0: 25:[12, 3, 34] Operation: 91-57=34
Moving to Node #0,0
Current State: 25:[12, 3, 34], Operations: ['91-57=34']
Exploring Operation: 34-12=22, Resulting Numbers: [3, 22]
Generated Node #0,0,2: 25:[3, 22] Operation: 34-12=22
Moving to Node #0,0,2
Current State: 25:[3, 22], Operations: ['91-57=34', '34-12=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
60,
28,
12,
66
] | 94 | [
"28*66=1848",
"1848/12=154",
"154-60=94"
] | Current State: 94:[60, 28, 12, 66], Operations: []
Exploring Operation: 28*66=1848, Resulting Numbers: [60, 12, 1848]
Generated Node #2: [60, 12, 1848] from Operation: 28*66=1848
Current State: 94:[60, 12, 1848], Operations: ['28*66=1848']
Exploring Operation: 1848/12=154, Resulting Numbers: [60, 154]
Generated Node #3: [60, 154] from Operation: 1848/12=154
Current State: 94:[60, 154], Operations: ['28*66=1848', '1848/12=154']
Exploring Operation: 154-60=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[60, 28, 12, 66], Operations: []
Exploring Operation: 28+66=94, Resulting Numbers: [60, 12, 94]
Generated Node #0,0: 94:[60, 12, 94] Operation: 28+66=94
Exploring Operation: 66-28=38, Resulting Numbers: [60, 12, 38]
Generated Node #0,1: 94:[60, 12, 38] Operation: 66-28=38
Exploring Operation: 66-60=6, Resulting Numbers: [28, 12, 6]
Generated Node #0,2: 94:[28, 12, 6] Operation: 66-60=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[60, 12, 94], Operations: ['28+66=94']
Exploring Operation: 60-12=48, Resulting Numbers: [94, 48]
Generated Node #0,0,0: 94:[94, 48] Operation: 60-12=48
Exploring Operation: 60+12=72, Resulting Numbers: [94, 72]
Generated Node #0,0,1: 94:[94, 72] Operation: 60+12=72
Exploring Operation: 60/12=5, Resulting Numbers: [94, 5]
Generated Node #0,0,2: 94:[94, 5] Operation: 60/12=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[94, 48], Operations: ['28+66=94', '60-12=48']
Exploring Operation: 94+48=142, Resulting Numbers: [142]
142,94 unequal: No Solution
Exploring Operation: 94-48=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 94*48=4512, Resulting Numbers: [4512]
4512,94 unequal: No Solution
No 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: 94:[94, 5], Operations: ['28+66=94', '60/12=5']
Exploring Operation: 94*5=470, Resulting Numbers: [470]
470,94 unequal: No Solution
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,94 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,94 unequal: No Solution
No 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: 94:[94, 72], Operations: ['28+66=94', '60+12=72']
Exploring Operation: 94+72=166, Resulting Numbers: [166]
166,94 unequal: No Solution
Exploring Operation: 94*72=6768, Resulting Numbers: [6768]
6768,94 unequal: No Solution
Exploring Operation: 94-72=22, Resulting Numbers: [22]
22,94 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: 94:[60, 12, 38], Operations: ['66-28=38']
Exploring Operation: 60-12=48, Resulting Numbers: [38, 48]
Generated Node #0,1,0: 94:[38, 48] Operation: 60-12=48
Exploring Operation: 60/12=5, Resulting Numbers: [38, 5]
Generated Node #0,1,1: 94:[38, 5] Operation: 60/12=5
Exploring Operation: 60+38=98, Resulting Numbers: [12, 98]
Generated Node #0,1,2: 94:[12, 98] Operation: 60+38=98
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[38, 48], Operations: ['66-28=38', '60-12=48']
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 38*48=1824, Resulting Numbers: [1824]
1824,94 unequal: No Solution
No 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: 94:[38, 5], Operations: ['66-28=38', '60/12=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,94 unequal: No Solution
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,94 unequal: No Solution
No 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: 94:[12, 98], Operations: ['66-28=38', '60+38=98']
Exploring Operation: 12*98=1176, Resulting Numbers: [1176]
1176,94 unequal: No Solution
Exploring Operation: 12+98=110, Resulting Numbers: [110]
110,94 unequal: No Solution
Exploring Operation: 98-12=86, Resulting Numbers: [86]
86,94 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: 94:[28, 12, 6], Operations: ['66-60=6']
Exploring Operation: 28+12=40, Resulting Numbers: [6, 40]
Generated Node #0,2,0: 94:[6, 40] Operation: 28+12=40
Exploring Operation: 12/6=2, Resulting Numbers: [28, 2]
Generated Node #0,2,1: 94:[28, 2] Operation: 12/6=2
Exploring Operation: 28-12=16, Resulting Numbers: [6, 16]
Generated Node #0,2,2: 94:[6, 16] Operation: 28-12=16
Moving to Node #0,2,0
Current State: 94:[6, 40], Operations: ['66-60=6', '28+12=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[6, 16], Operations: ['66-60=6', '28-12=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,94 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[28, 2], Operations: ['66-60=6', '12/6=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,94 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 |
[
20,
89,
90,
11
] | 41 | [
"20*11=220",
"89+90=179",
"220-179=41"
] | Current State: 41:[20, 89, 90, 11], Operations: []
Exploring Operation: 20*11=220, Resulting Numbers: [89, 90, 220]
Generated Node #2: [89, 90, 220] from Operation: 20*11=220
Current State: 41:[89, 90, 220], Operations: ['20*11=220']
Exploring Operation: 89+90=179, Resulting Numbers: [220, 179]
Generated Node #3: [220, 179] from Operation: 89+90=179
Current State: 41:[220, 179], Operations: ['20*11=220', '89+90=179']
Exploring Operation: 220-179=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[20, 89, 90, 11], Operations: []
Exploring Operation: 90-89=1, Resulting Numbers: [20, 11, 1]
Generated Node #0,0: 41:[20, 11, 1] Operation: 90-89=1
Exploring Operation: 20+11=31, Resulting Numbers: [89, 90, 31]
Generated Node #0,1: 41:[89, 90, 31] Operation: 20+11=31
Exploring Operation: 90-20=70, Resulting Numbers: [89, 11, 70]
Generated Node #0,2: 41:[89, 11, 70] Operation: 90-20=70
Exploring Operation: 89-11=78, Resulting Numbers: [20, 90, 78]
Generated Node #0,3: 41:[20, 90, 78] Operation: 89-11=78
Exploring Operation: 89-20=69, Resulting Numbers: [90, 11, 69]
Generated Node #0,4: 41:[90, 11, 69] Operation: 89-20=69
Moving to Node #0,0
Current State: 41:[20, 11, 1], Operations: ['90-89=1']
Exploring Operation: 20*1=20, Resulting Numbers: [11, 20]
Generated Node #0,0,0: 41:[11, 20] Operation: 20*1=20
Exploring Operation: 20+11=31, Resulting Numbers: [1, 31]
Generated Node #0,0,1: 41:[1, 31] Operation: 20+11=31
Exploring Operation: 11+1=12, Resulting Numbers: [20, 12]
Generated Node #0,0,2: 41:[20, 12] Operation: 11+1=12
Exploring Operation: 20+1=21, Resulting Numbers: [11, 21]
Generated Node #0,0,3: 41:[11, 21] Operation: 20+1=21
Exploring Operation: 20/1=20, Resulting Numbers: [11, 20]
Generated Node #0,0,4: 41:[11, 20] Operation: 20/1=20
Moving to Node #0,2
Current State: 41:[89, 11, 70], Operations: ['90-20=70']
Exploring Operation: 11+70=81, Resulting Numbers: [89, 81]
Generated Node #0,2,0: 41:[89, 81] Operation: 11+70=81
Exploring Operation: 89-11=78, Resulting Numbers: [70, 78]
Generated Node #0,2,1: 41:[70, 78] Operation: 89-11=78
Exploring Operation: 70-11=59, Resulting Numbers: [89, 59]
Generated Node #0,2,2: 41:[89, 59] Operation: 70-11=59
Exploring Operation: 89+11=100, Resulting Numbers: [70, 100]
Generated Node #0,2,3: 41:[70, 100] Operation: 89+11=100
Exploring Operation: 89-70=19, Resulting Numbers: [11, 19]
Generated Node #0,2,4: 41:[11, 19] Operation: 89-70=19
Moving to Node #0,4
Current State: 41:[90, 11, 69], Operations: ['89-20=69']
Exploring Operation: 11+69=80, Resulting Numbers: [90, 80]
Generated Node #0,4,0: 41:[90, 80] Operation: 11+69=80
Exploring Operation: 90+11=101, Resulting Numbers: [69, 101]
Generated Node #0,4,1: 41:[69, 101] Operation: 90+11=101
Exploring Operation: 69-11=58, Resulting Numbers: [90, 58]
Generated Node #0,4,2: 41:[90, 58] Operation: 69-11=58
Exploring Operation: 90-69=21, Resulting Numbers: [11, 21]
Generated Node #0,4,3: 41:[11, 21] Operation: 90-69=21
Exploring Operation: 90-11=79, Resulting Numbers: [69, 79]
Generated Node #0,4,4: 41:[69, 79] Operation: 90-11=79
Moving to Node #0,1
Current State: 41:[89, 90, 31], Operations: ['20+11=31']
Exploring Operation: 90+31=121, Resulting Numbers: [89, 121]
Generated Node #0,1,0: 41:[89, 121] Operation: 90+31=121
Exploring Operation: 89-31=58, Resulting Numbers: [90, 58]
Generated Node #0,1,1: 41:[90, 58] Operation: 89-31=58
Exploring Operation: 89+31=120, Resulting Numbers: [90, 120]
Generated Node #0,1,2: 41:[90, 120] Operation: 89+31=120
Exploring Operation: 90-31=59, Resulting Numbers: [89, 59]
Generated Node #0,1,3: 41:[89, 59] Operation: 90-31=59
Exploring Operation: 90-89=1, Resulting Numbers: [31, 1]
Generated Node #0,1,4: 41:[31, 1] Operation: 90-89=1
Moving to Node #0,3
Current State: 41:[20, 90, 78], Operations: ['89-11=78']
Exploring Operation: 90-78=12, Resulting Numbers: [20, 12]
Generated Node #0,3,0: 41:[20, 12] Operation: 90-78=12
Exploring Operation: 20+90=110, Resulting Numbers: [78, 110]
Generated Node #0,3,1: 41:[78, 110] Operation: 20+90=110
Exploring Operation: 20+78=98, Resulting Numbers: [90, 98]
Generated Node #0,3,2: 41:[90, 98] Operation: 20+78=98
Exploring Operation: 90-20=70, Resulting Numbers: [78, 70]
Generated Node #0,3,3: 41:[78, 70] Operation: 90-20=70
Exploring Operation: 78-20=58, Resulting Numbers: [90, 58]
Generated Node #0,3,4: 41:[90, 58] Operation: 78-20=58
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[20, 12], Operations: ['89-11=78', '90-78=12']
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,41 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,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:[78, 70], Operations: ['89-11=78', '90-20=70']
Exploring Operation: 78+70=148, Resulting Numbers: [148]
148,41 unequal: No Solution
Exploring Operation: 78*70=5460, Resulting Numbers: [5460]
5460,41 unequal: No Solution
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,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:[90, 58], Operations: ['89-11=78', '78-20=58']
Exploring Operation: 90*58=5220, Resulting Numbers: [5220]
5220,41 unequal: No Solution
Exploring Operation: 90+58=148, Resulting Numbers: [148]
148,41 unequal: No Solution
Exploring Operation: 90-58=32, Resulting Numbers: [32]
32,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:[78, 110], Operations: ['89-11=78', '20+90=110']
Exploring Operation: 78*110=8580, Resulting Numbers: [8580]
8580,41 unequal: No Solution
Exploring Operation: 110-78=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 78+110=188, Resulting Numbers: [188]
188,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:[90, 98], Operations: ['89-11=78', '20+78=98']
Exploring Operation: 98-90=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 90+98=188, Resulting Numbers: [188]
188,41 unequal: No Solution
Exploring Operation: 90*98=8820, Resulting Numbers: [8820]
8820,41 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: 41:[1, 31], Operations: ['90-89=1', '20+11=31']
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[11, 21], Operations: ['90-89=1', '20+1=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,41 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[20, 12], Operations: ['90-89=1', '11+1=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,41 unequal: No Solution
Moving to Node #0,4,3
Current State: 41:[11, 21], Operations: ['89-20=69', '90-69=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,41 unequal: No Solution
Moving to Node #0,1,4
Current State: 41:[31, 1], Operations: ['20+11=31', '90-89=1']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Moving to Node #0,0,4
Current State: 41:[11, 20], Operations: ['90-89=1', '20/1=20']
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[11, 20], Operations: ['90-89=1', '20*1=20']
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,41 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[11, 19], Operations: ['90-20=70', '89-70=19']
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,41 unequal: No Solution
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[70, 78], Operations: ['90-20=70', '89-11=78']
Exploring Operation: 70*78=5460, Resulting Numbers: [5460]
5460,41 unequal: No Solution
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 70+78=148, Resulting Numbers: [148]
148,41 unequal: No Solution
Moving to Node #0,4,4
Current State: 41:[69, 79], Operations: ['89-20=69', '90-11=79']
Exploring Operation: 69*79=5451, Resulting Numbers: [5451]
5451,41 unequal: No Solution
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 69+79=148, Resulting Numbers: [148]
148,41 unequal: No Solution
Moving to Node #0,4,2
Current State: 41:[90, 58], Operations: ['89-20=69', '69-11=58']
Exploring Operation: 90*58=5220, Resulting Numbers: [5220]
5220,41 unequal: No Solution
Exploring Operation: 90-58=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 90+58=148, Resulting Numbers: [148]
148,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[89, 59], Operations: ['20+11=31', '90-31=59']
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 89+59=148, Resulting Numbers: [148]
148,41 unequal: No Solution
Exploring Operation: 89*59=5251, Resulting Numbers: [5251]
5251,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[89, 59], Operations: ['90-20=70', '70-11=59']
Exploring Operation: 89*59=5251, Resulting Numbers: [5251]
5251,41 unequal: No Solution
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 89+59=148, Resulting Numbers: [148]
148,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[90, 58], Operations: ['20+11=31', '89-31=58']
Exploring Operation: 90-58=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 90*58=5220, Resulting Numbers: [5220]
5220,41 unequal: No Solution
Exploring Operation: 90+58=148, Resulting Numbers: [148]
148,41 unequal: No Solution
Moving to Node #0,4,0
Current State: 41:[90, 80], Operations: ['89-20=69', '11+69=80']
Exploring Operation: 90+80=170, Resulting Numbers: [170]
170,41 unequal: No Solution
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 90*80=7200, Resulting Numbers: [7200]
7200,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[70, 100], Operations: ['90-20=70', '89+11=100']
Exploring Operation: 70+100=170, Resulting Numbers: [170]
170,41 unequal: No Solution
Exploring Operation: 100-70=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 70*100=7000, Resulting Numbers: [7000]
7000,41 unequal: No Solution
Moving to Node #0,4,1
Current State: 41:[69, 101], Operations: ['89-20=69', '90+11=101']
Exploring Operation: 69+101=170, Resulting Numbers: [170]
170,41 unequal: No Solution
Exploring Operation: 101-69=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 69*101=6969, Resulting Numbers: [6969]
6969,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[89, 81], Operations: ['90-20=70', '11+70=81']
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 89*81=7209, Resulting Numbers: [7209]
7209,41 unequal: No Solution
Exploring Operation: 89+81=170, Resulting Numbers: [170]
170,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[89, 121], Operations: ['20+11=31', '90+31=121']
Exploring Operation: 89*121=10769, Resulting Numbers: [10769]
10769,41 unequal: No Solution
Exploring Operation: 121-89=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 89+121=210, Resulting Numbers: [210]
210,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[90, 120], Operations: ['20+11=31', '89+31=120']
Exploring Operation: 90+120=210, Resulting Numbers: [210]
210,41 unequal: No Solution
Exploring Operation: 120-90=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 90*120=10800, Resulting Numbers: [10800]
10800,41 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
26,
57,
29,
21
] | 91 | [
"26+57=83",
"29-21=8",
"83+8=91"
] | Current State: 91:[26, 57, 29, 21], Operations: []
Exploring Operation: 26+57=83, Resulting Numbers: [29, 21, 83]
Generated Node #2: [29, 21, 83] from Operation: 26+57=83
Current State: 91:[29, 21, 83], Operations: ['26+57=83']
Exploring Operation: 29-21=8, Resulting Numbers: [83, 8]
Generated Node #3: [83, 8] from Operation: 29-21=8
Current State: 91:[83, 8], Operations: ['26+57=83', '29-21=8']
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[26, 57, 29, 21], Operations: []
Exploring Operation: 57+29=86, Resulting Numbers: [26, 21, 86]
Generated Node #0,0: 91:[26, 21, 86] Operation: 57+29=86
Exploring Operation: 57-29=28, Resulting Numbers: [26, 21, 28]
Generated Node #0,1: 91:[26, 21, 28] Operation: 57-29=28
Exploring Operation: 26+57=83, Resulting Numbers: [29, 21, 83]
Generated Node #0,2: 91:[29, 21, 83] Operation: 26+57=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[26, 21, 86], Operations: ['57+29=86']
Exploring Operation: 26-21=5, Resulting Numbers: [86, 5]
Generated Node #0,0,0: 91:[86, 5] Operation: 26-21=5
Exploring Operation: 21+86=107, Resulting Numbers: [26, 107]
Generated Node #0,0,1: 91:[26, 107] Operation: 21+86=107
Exploring Operation: 26+86=112, Resulting Numbers: [21, 112]
Generated Node #0,0,2: 91:[21, 112] Operation: 26+86=112
Moving to Node #0,0,0
Current State: 91:[86, 5], Operations: ['57+29=86', '26-21=5']
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,91 unequal: No Solution
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[26, 57, 29, 21], Operations: []
Exploring Operation: 57+29=86, Resulting Numbers: [26, 21, 86]
Generated Node #0,0: 91:[26, 21, 86] Operation: 57+29=86
Moving to Node #0,0
Current State: 91:[26, 21, 86], Operations: ['57+29=86']
Exploring Operation: 26-21=5, Resulting Numbers: [86, 5]
Generated Node #0,0,0: 91:[86, 5] Operation: 26-21=5
Moving to Node #0,0,0
Current State: 91:[86, 5], Operations: ['57+29=86', '26-21=5']
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
73,
24,
2,
91
] | 66 | [
"91-73=18",
"24*2=48",
"18+48=66"
] | Current State: 66:[73, 24, 2, 91], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [24, 2, 18]
Generated Node #2: [24, 2, 18] from Operation: 91-73=18
Current State: 66:[24, 2, 18], Operations: ['91-73=18']
Exploring Operation: 24*2=48, Resulting Numbers: [18, 48]
Generated Node #3: [18, 48] from Operation: 24*2=48
Current State: 66:[18, 48], Operations: ['91-73=18', '24*2=48']
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[73, 24, 2, 91], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [24, 2, 18]
Generated Node #0,0: 66:[24, 2, 18] Operation: 91-73=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[24, 2, 18], Operations: ['91-73=18']
Exploring Operation: 24-18=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 66:[2, 6] Operation: 24-18=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[2, 6], Operations: ['91-73=18', '24-18=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
75,
53,
4,
58
] | 19 | [
"58-53=5",
"75/5=15",
"4+15=19"
] | Current State: 19:[75, 53, 4, 58], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [75, 4, 5]
Generated Node #2: [75, 4, 5] from Operation: 58-53=5
Current State: 19:[75, 4, 5], Operations: ['58-53=5']
Exploring Operation: 75/5=15, Resulting Numbers: [4, 15]
Generated Node #3: [4, 15] from Operation: 75/5=15
Current State: 19:[4, 15], Operations: ['58-53=5', '75/5=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[75, 53, 4, 58], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [75, 4, 5]
Generated Node #0,0: 19:[75, 4, 5] Operation: 58-53=5
Exploring Operation: 75-53=22, Resulting Numbers: [4, 58, 22]
Generated Node #0,1: 19:[4, 58, 22] Operation: 75-53=22
Exploring Operation: 75-58=17, Resulting Numbers: [53, 4, 17]
Generated Node #0,2: 19:[53, 4, 17] Operation: 75-58=17
Exploring Operation: 75-4=71, Resulting Numbers: [53, 58, 71]
Generated Node #0,3: 19:[53, 58, 71] Operation: 75-4=71
Moving to Node #0,2
Current State: 19:[53, 4, 17], Operations: ['75-58=17']
Exploring Operation: 4+17=21, Resulting Numbers: [53, 21]
Generated Node #0,2,0: 19:[53, 21] Operation: 4+17=21
Exploring Operation: 53-17=36, Resulting Numbers: [4, 36]
Generated Node #0,2,1: 19:[4, 36] Operation: 53-17=36
Exploring Operation: 53+4=57, Resulting Numbers: [17, 57]
Generated Node #0,2,2: 19:[17, 57] Operation: 53+4=57
Exploring Operation: 53-4=49, Resulting Numbers: [17, 49]
Generated Node #0,2,3: 19:[17, 49] Operation: 53-4=49
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[4, 36], Operations: ['75-58=17', '53-17=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 4*36=144, Resulting Numbers: [144]
144,19 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 19:[17, 49], Operations: ['75-58=17', '53-4=49']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 17*49=833, Resulting Numbers: [833]
833,19 unequal: No Solution
Exploring Operation: 17+49=66, Resulting Numbers: [66]
66,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[53, 21], Operations: ['75-58=17', '4+17=21']
Exploring Operation: 53*21=1113, Resulting Numbers: [1113]
1113,19 unequal: No Solution
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,19 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[17, 57], Operations: ['75-58=17', '53+4=57']
Exploring Operation: 17+57=74, Resulting Numbers: [74]
74,19 unequal: No Solution
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 17*57=969, Resulting Numbers: [969]
969,19 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: 19:[4, 58, 22], Operations: ['75-53=22']
Exploring Operation: 4+58=62, Resulting Numbers: [22, 62]
Generated Node #0,1,0: 19:[22, 62] Operation: 4+58=62
Exploring Operation: 22-4=18, Resulting Numbers: [58, 18]
Generated Node #0,1,1: 19:[58, 18] Operation: 22-4=18
Exploring Operation: 58-4=54, Resulting Numbers: [22, 54]
Generated Node #0,1,2: 19:[22, 54] Operation: 58-4=54
Exploring Operation: 58-22=36, Resulting Numbers: [4, 36]
Generated Node #0,1,3: 19:[4, 36] Operation: 58-22=36
Moving to Node #0,0
Current State: 19:[75, 4, 5], Operations: ['58-53=5']
Exploring Operation: 4*5=20, Resulting Numbers: [75, 20]
Generated Node #0,0,0: 19:[75, 20] Operation: 4*5=20
Exploring Operation: 75-5=70, Resulting Numbers: [4, 70]
Generated Node #0,0,1: 19:[4, 70] Operation: 75-5=70
Exploring Operation: 75-4=71, Resulting Numbers: [5, 71]
Generated Node #0,0,2: 19:[5, 71] Operation: 75-4=71
Exploring Operation: 75/5=15, Resulting Numbers: [4, 15]
Generated Node #0,0,3: 19:[4, 15] Operation: 75/5=15
Moving to Node #0,3
Current State: 19:[53, 58, 71], Operations: ['75-4=71']
Exploring Operation: 53+58=111, Resulting Numbers: [71, 111]
Generated Node #0,3,0: 19:[71, 111] Operation: 53+58=111
Exploring Operation: 58-53=5, Resulting Numbers: [71, 5]
Generated Node #0,3,1: 19:[71, 5] Operation: 58-53=5
Exploring Operation: 71-53=18, Resulting Numbers: [58, 18]
Generated Node #0,3,2: 19:[58, 18] Operation: 71-53=18
Exploring Operation: 71-58=13, Resulting Numbers: [53, 13]
Generated Node #0,3,3: 19:[53, 13] Operation: 71-58=13
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 19:[58, 18], Operations: ['75-4=71', '71-53=18']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,19 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 19:[53, 13], Operations: ['75-4=71', '71-58=13']
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 53+13=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Exploring Operation: 53*13=689, Resulting Numbers: [689]
689,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[71, 5], Operations: ['75-4=71', '58-53=5']
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 71*5=355, Resulting Numbers: [355]
355,19 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[71, 111], Operations: ['75-4=71', '53+58=111']
Exploring Operation: 71*111=7881, Resulting Numbers: [7881]
7881,19 unequal: No Solution
Exploring Operation: 111-71=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 71+111=182, Resulting Numbers: [182]
182,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 19:[4, 15], Operations: ['58-53=5', '75/5=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[75, 53, 4, 58], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [75, 4, 5]
Generated Node #0,0: 19:[75, 4, 5] Operation: 58-53=5
Moving to Node #0,0
Current State: 19:[75, 4, 5], Operations: ['58-53=5']
Exploring Operation: 75/5=15, Resulting Numbers: [4, 15]
Generated Node #0,0,3: 19:[4, 15] Operation: 75/5=15
Moving to Node #0,0,3
Current State: 19:[4, 15], Operations: ['58-53=5', '75/5=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.955729 | hs_4 | mult_heuristic |
[
3,
15,
70,
27
] | 52 | [
"3*15=45",
"70+27=97",
"97-45=52"
] | Current State: 52:[3, 15, 70, 27], Operations: []
Exploring Operation: 3*15=45, Resulting Numbers: [70, 27, 45]
Generated Node #2: [70, 27, 45] from Operation: 3*15=45
Current State: 52:[70, 27, 45], Operations: ['3*15=45']
Exploring Operation: 70+27=97, Resulting Numbers: [45, 97]
Generated Node #3: [45, 97] from Operation: 70+27=97
Current State: 52:[45, 97], Operations: ['3*15=45', '70+27=97']
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[3, 15, 70, 27], Operations: []
Exploring Operation: 70-15=55, Resulting Numbers: [3, 27, 55]
Generated Node #0,0: 52:[3, 27, 55] Operation: 70-15=55
Moving to Node #0,0
Current State: 52:[3, 27, 55], Operations: ['70-15=55']
Exploring Operation: 55-3=52, Resulting Numbers: [27, 52]
Generated Node #0,0,0: 52:[27, 52] Operation: 55-3=52
Moving to Node #0,0,0
Current State: 52:[27, 52], Operations: ['70-15=55', '55-3=52']
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,52 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
45,
53,
60,
15
] | 33 | [
"45/15=3",
"60/3=20",
"53-20=33"
] | Current State: 33:[45, 53, 60, 15], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [53, 60, 3]
Generated Node #2: [53, 60, 3] from Operation: 45/15=3
Current State: 33:[53, 60, 3], Operations: ['45/15=3']
Exploring Operation: 60/3=20, Resulting Numbers: [53, 20]
Generated Node #3: [53, 20] from Operation: 60/3=20
Current State: 33:[53, 20], Operations: ['45/15=3', '60/3=20']
Exploring Operation: 53-20=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[45, 53, 60, 15], Operations: []
Exploring Operation: 60-53=7, Resulting Numbers: [45, 15, 7]
Generated Node #0,0: 33:[45, 15, 7] Operation: 60-53=7
Exploring Operation: 60/15=4, Resulting Numbers: [45, 53, 4]
Generated Node #0,1: 33:[45, 53, 4] Operation: 60/15=4
Exploring Operation: 60-45=15, Resulting Numbers: [53, 15, 15]
Generated Node #0,2: 33:[53, 15, 15] Operation: 60-45=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[45, 15, 7], Operations: ['60-53=7']
Exploring Operation: 45/15=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 33:[7, 3] Operation: 45/15=3
Exploring Operation: 45-7=38, Resulting Numbers: [15, 38]
Generated Node #0,0,1: 33:[15, 38] Operation: 45-7=38
Exploring Operation: 45-15=30, Resulting Numbers: [7, 30]
Generated Node #0,0,2: 33:[7, 30] Operation: 45-15=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[7, 3], Operations: ['60-53=7', '45/15=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,33 unequal: No Solution
No 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: 33:[7, 30], Operations: ['60-53=7', '45-15=30']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,33 unequal: No Solution
No 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: 33:[15, 38], Operations: ['60-53=7', '45-7=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,33 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: 33:[53, 15, 15], Operations: ['60-45=15']
Exploring Operation: 53-15=38, Resulting Numbers: [15, 38]
Generated Node #0,2,0: 33:[15, 38] Operation: 53-15=38
Exploring Operation: 53-15=38, Resulting Numbers: [15, 38]
Generated Node #0,2,1: 33:[15, 38] Operation: 53-15=38
Exploring Operation: 15/15=1, Resulting Numbers: [53, 1]
Generated Node #0,2,2: 33:[53, 1] Operation: 15/15=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[15, 38], Operations: ['60-45=15', '53-15=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,33 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,33 unequal: No Solution
No 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: 33:[15, 38], Operations: ['60-45=15', '53-15=38']
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,33 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,33 unequal: No Solution
No 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: 33:[53, 1], Operations: ['60-45=15', '15/15=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,33 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: 33:[45, 53, 4], Operations: ['60/15=4']
Exploring Operation: 45-4=41, Resulting Numbers: [53, 41]
Generated Node #0,1,0: 33:[53, 41] Operation: 45-4=41
Exploring Operation: 53-4=49, Resulting Numbers: [45, 49]
Generated Node #0,1,1: 33:[45, 49] Operation: 53-4=49
Exploring Operation: 53-45=8, Resulting Numbers: [4, 8]
Generated Node #0,1,2: 33:[4, 8] Operation: 53-45=8
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[4, 8], Operations: ['60/15=4', '53-45=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,33 unequal: No Solution
No 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: 33:[53, 41], Operations: ['60/15=4', '45-4=41']
Exploring Operation: 53*41=2173, Resulting Numbers: [2173]
2173,33 unequal: No Solution
Exploring Operation: 53+41=94, Resulting Numbers: [94]
94,33 unequal: No Solution
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,33 unequal: No Solution
No 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: 33:[45, 49], Operations: ['60/15=4', '53-4=49']
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,33 unequal: No Solution
Exploring Operation: 45*49=2205, Resulting Numbers: [2205]
2205,33 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,33 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 |
[
7,
29,
37,
91
] | 90 | [
"7+29=36",
"91-37=54",
"36+54=90"
] | Current State: 90:[7, 29, 37, 91], Operations: []
Exploring Operation: 7+29=36, Resulting Numbers: [37, 91, 36]
Generated Node #2: [37, 91, 36] from Operation: 7+29=36
Current State: 90:[37, 91, 36], Operations: ['7+29=36']
Exploring Operation: 91-37=54, Resulting Numbers: [36, 54]
Generated Node #3: [36, 54] from Operation: 91-37=54
Current State: 90:[36, 54], Operations: ['7+29=36', '91-37=54']
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[7, 29, 37, 91], Operations: []
Exploring Operation: 37-29=8, Resulting Numbers: [7, 91, 8]
Generated Node #0,0: 90:[7, 91, 8] Operation: 37-29=8
Exploring Operation: 91/7=13, Resulting Numbers: [29, 37, 13]
Generated Node #0,1: 90:[29, 37, 13] Operation: 91/7=13
Exploring Operation: 91-37=54, Resulting Numbers: [7, 29, 54]
Generated Node #0,2: 90:[7, 29, 54] Operation: 91-37=54
Exploring Operation: 7+37=44, Resulting Numbers: [29, 91, 44]
Generated Node #0,3: 90:[29, 91, 44] Operation: 7+37=44
Exploring Operation: 37-7=30, Resulting Numbers: [29, 91, 30]
Generated Node #0,4: 90:[29, 91, 30] Operation: 37-7=30
Moving to Node #0,4
Current State: 90:[29, 91, 30], Operations: ['37-7=30']
Exploring Operation: 91-30=61, Resulting Numbers: [29, 61]
Generated Node #0,4,0: 90:[29, 61] Operation: 91-30=61
Exploring Operation: 29+30=59, Resulting Numbers: [91, 59]
Generated Node #0,4,1: 90:[91, 59] Operation: 29+30=59
Exploring Operation: 91-29=62, Resulting Numbers: [30, 62]
Generated Node #0,4,2: 90:[30, 62] Operation: 91-29=62
Exploring Operation: 29+91=120, Resulting Numbers: [30, 120]
Generated Node #0,4,3: 90:[30, 120] Operation: 29+91=120
Exploring Operation: 30-29=1, Resulting Numbers: [91, 1]
Generated Node #0,4,4: 90:[91, 1] Operation: 30-29=1
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 90:[91, 1], Operations: ['37-7=30', '30-29=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[7, 29, 37, 91], Operations: []
Exploring Operation: 37-7=30, Resulting Numbers: [29, 91, 30]
Generated Node #0,4: 90:[29, 91, 30] Operation: 37-7=30
Moving to Node #0,4
Current State: 90:[29, 91, 30], Operations: ['37-7=30']
Exploring Operation: 30-29=1, Resulting Numbers: [91, 1]
Generated Node #0,4,4: 90:[91, 1] Operation: 30-29=1
Moving to Node #0,4,4
Current State: 90:[91, 1], Operations: ['37-7=30', '30-29=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
96,
48,
51,
85
] | 14 | [
"96-48=48",
"85-51=34",
"48-34=14"
] | Current State: 14:[96, 48, 51, 85], Operations: []
Exploring Operation: 96-48=48, Resulting Numbers: [51, 85, 48]
Generated Node #2: [51, 85, 48] from Operation: 96-48=48
Current State: 14:[51, 85, 48], Operations: ['96-48=48']
Exploring Operation: 85-51=34, Resulting Numbers: [48, 34]
Generated Node #3: [48, 34] from Operation: 85-51=34
Current State: 14:[48, 34], Operations: ['96-48=48', '85-51=34']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[96, 48, 51, 85], Operations: []
Exploring Operation: 96-85=11, Resulting Numbers: [48, 51, 11]
Generated Node #0,0: 14:[48, 51, 11] Operation: 96-85=11
Exploring Operation: 96/48=2, Resulting Numbers: [51, 85, 2]
Generated Node #0,1: 14:[51, 85, 2] Operation: 96/48=2
Moving to Node #0,0
Current State: 14:[48, 51, 11], Operations: ['96-85=11']
Exploring Operation: 51-48=3, Resulting Numbers: [11, 3]
Generated Node #0,0,0: 14:[11, 3] Operation: 51-48=3
Exploring Operation: 48-11=37, Resulting Numbers: [51, 37]
Generated Node #0,0,1: 14:[51, 37] Operation: 48-11=37
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[11, 3], Operations: ['96-85=11', '51-48=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[96, 48, 51, 85], Operations: []
Exploring Operation: 96-85=11, Resulting Numbers: [48, 51, 11]
Generated Node #0,0: 14:[48, 51, 11] Operation: 96-85=11
Moving to Node #0,0
Current State: 14:[48, 51, 11], Operations: ['96-85=11']
Exploring Operation: 51-48=3, Resulting Numbers: [11, 3]
Generated Node #0,0,0: 14:[11, 3] Operation: 51-48=3
Moving to Node #0,0,0
Current State: 14:[11, 3], Operations: ['96-85=11', '51-48=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
37,
28,
52,
7
] | 91 | [
"37+28=65",
"65-52=13",
"7*13=91"
] | Current State: 91:[37, 28, 52, 7], Operations: []
Exploring Operation: 37+28=65, Resulting Numbers: [52, 7, 65]
Generated Node #2: [52, 7, 65] from Operation: 37+28=65
Current State: 91:[52, 7, 65], Operations: ['37+28=65']
Exploring Operation: 65-52=13, Resulting Numbers: [7, 13]
Generated Node #3: [7, 13] from Operation: 65-52=13
Current State: 91:[7, 13], Operations: ['37+28=65', '65-52=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[37, 28, 52, 7], Operations: []
Exploring Operation: 37+52=89, Resulting Numbers: [28, 7, 89]
Generated Node #0,0: 91:[28, 7, 89] Operation: 37+52=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[28, 7, 89], Operations: ['37+52=89']
Exploring Operation: 28/7=4, Resulting Numbers: [89, 4]
Generated Node #0,0,0: 91:[89, 4] Operation: 28/7=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[89, 4], Operations: ['37+52=89', '28/7=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,91 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 |
[
48,
54,
18,
57
] | 52 | [
"57-48=9",
"18/9=2",
"54-2=52"
] | Current State: 52:[48, 54, 18, 57], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [54, 18, 9]
Generated Node #2: [54, 18, 9] from Operation: 57-48=9
Current State: 52:[54, 18, 9], Operations: ['57-48=9']
Exploring Operation: 18/9=2, Resulting Numbers: [54, 2]
Generated Node #3: [54, 2] from Operation: 18/9=2
Current State: 52:[54, 2], Operations: ['57-48=9', '18/9=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[48, 54, 18, 57], Operations: []
Exploring Operation: 48-18=30, Resulting Numbers: [54, 57, 30]
Generated Node #0,0: 52:[54, 57, 30] Operation: 48-18=30
Exploring Operation: 54/18=3, Resulting Numbers: [48, 57, 3]
Generated Node #0,1: 52:[48, 57, 3] Operation: 54/18=3
Exploring Operation: 57-54=3, Resulting Numbers: [48, 18, 3]
Generated Node #0,2: 52:[48, 18, 3] Operation: 57-54=3
Moving to Node #0,1
Current State: 52:[48, 57, 3], Operations: ['54/18=3']
Exploring Operation: 57-3=54, Resulting Numbers: [48, 54]
Generated Node #0,1,0: 52:[48, 54] Operation: 57-3=54
Exploring Operation: 48+3=51, Resulting Numbers: [57, 51]
Generated Node #0,1,1: 52:[57, 51] Operation: 48+3=51
Exploring Operation: 57-48=9, Resulting Numbers: [3, 9]
Generated Node #0,1,2: 52:[3, 9] Operation: 57-48=9
Moving to Node #0,2
Current State: 52:[48, 18, 3], Operations: ['57-54=3']
Exploring Operation: 18*3=54, Resulting Numbers: [48, 54]
Generated Node #0,2,0: 52:[48, 54] Operation: 18*3=54
Exploring Operation: 48-18=30, Resulting Numbers: [3, 30]
Generated Node #0,2,1: 52:[3, 30] Operation: 48-18=30
Exploring Operation: 48+3=51, Resulting Numbers: [18, 51]
Generated Node #0,2,2: 52:[18, 51] Operation: 48+3=51
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[3, 30], Operations: ['57-54=3', '48-18=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[48, 54], Operations: ['57-54=3', '18*3=54']
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,52 unequal: No Solution
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,52 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[18, 51], Operations: ['57-54=3', '48+3=51']
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,52 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,52 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: 52:[54, 57, 30], Operations: ['48-18=30']
Exploring Operation: 57-54=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 52:[30, 3] Operation: 57-54=3
Exploring Operation: 57-30=27, Resulting Numbers: [54, 27]
Generated Node #0,0,1: 52:[54, 27] Operation: 57-30=27
Exploring Operation: 54-30=24, Resulting Numbers: [57, 24]
Generated Node #0,0,2: 52:[57, 24] Operation: 54-30=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[54, 27], Operations: ['48-18=30', '57-30=27']
Exploring Operation: 54/27=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 54+27=81, Resulting Numbers: [81]
81,52 unequal: No Solution
Exploring Operation: 54-27=27, Resulting Numbers: [27]
27,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[30, 3], Operations: ['48-18=30', '57-54=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[57, 24], Operations: ['48-18=30', '54-30=24']
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,52 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 52:[3, 9], Operations: ['54/18=3', '57-48=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[48, 54], Operations: ['54/18=3', '57-3=54']
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,52 unequal: No Solution
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,52 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[57, 51], Operations: ['54/18=3', '48+3=51']
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 57+51=108, Resulting Numbers: [108]
108,52 unequal: No Solution
Exploring Operation: 57*51=2907, Resulting Numbers: [2907]
2907,52 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
42,
36,
18,
71
] | 83 | [
"42-36=6",
"18+71=89",
"89-6=83"
] | Current State: 83:[42, 36, 18, 71], Operations: []
Exploring Operation: 42-36=6, Resulting Numbers: [18, 71, 6]
Generated Node #2: [18, 71, 6] from Operation: 42-36=6
Current State: 83:[18, 71, 6], Operations: ['42-36=6']
Exploring Operation: 18+71=89, Resulting Numbers: [6, 89]
Generated Node #3: [6, 89] from Operation: 18+71=89
Current State: 83:[6, 89], Operations: ['42-36=6', '18+71=89']
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[42, 36, 18, 71], Operations: []
Exploring Operation: 36+18=54, Resulting Numbers: [42, 71, 54]
Generated Node #0,0: 83:[42, 71, 54] Operation: 36+18=54
Exploring Operation: 42+36=78, Resulting Numbers: [18, 71, 78]
Generated Node #0,1: 83:[18, 71, 78] Operation: 42+36=78
Exploring Operation: 42+18=60, Resulting Numbers: [36, 71, 60]
Generated Node #0,2: 83:[36, 71, 60] Operation: 42+18=60
Exploring Operation: 18+71=89, Resulting Numbers: [42, 36, 89]
Generated Node #0,3: 83:[42, 36, 89] Operation: 18+71=89
Exploring Operation: 42-18=24, Resulting Numbers: [36, 71, 24]
Generated Node #0,4: 83:[36, 71, 24] Operation: 42-18=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[42, 71, 54], Operations: ['36+18=54']
Exploring Operation: 42+54=96, Resulting Numbers: [71, 96]
Generated Node #0,0,0: 83:[71, 96] Operation: 42+54=96
Exploring Operation: 71+54=125, Resulting Numbers: [42, 125]
Generated Node #0,0,1: 83:[42, 125] Operation: 71+54=125
Exploring Operation: 42+71=113, Resulting Numbers: [54, 113]
Generated Node #0,0,2: 83:[54, 113] Operation: 42+71=113
Exploring Operation: 71-42=29, Resulting Numbers: [54, 29]
Generated Node #0,0,3: 83:[54, 29] Operation: 71-42=29
Exploring Operation: 54-42=12, Resulting Numbers: [71, 12]
Generated Node #0,0,4: 83:[71, 12] Operation: 54-42=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[71, 96], Operations: ['36+18=54', '42+54=96']
Exploring Operation: 96-71=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Exploring Operation: 71+96=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Exploring Operation: 71*96=6816, Resulting Numbers: [6816]
6816,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[54, 113], Operations: ['36+18=54', '42+71=113']
Exploring Operation: 54*113=6102, Resulting Numbers: [6102]
6102,83 unequal: No Solution
Exploring Operation: 113-54=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 54+113=167, Resulting Numbers: [167]
167,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[42, 125], Operations: ['36+18=54', '71+54=125']
Exploring Operation: 125-42=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[42, 36, 18, 71], Operations: []
Exploring Operation: 36+18=54, Resulting Numbers: [42, 71, 54]
Generated Node #0,0: 83:[42, 71, 54] Operation: 36+18=54
Moving to Node #0,0
Current State: 83:[42, 71, 54], Operations: ['36+18=54']
Exploring Operation: 71+54=125, Resulting Numbers: [42, 125]
Generated Node #0,0,1: 83:[42, 125] Operation: 71+54=125
Moving to Node #0,0,1
Current State: 83:[42, 125], Operations: ['36+18=54', '71+54=125']
Exploring Operation: 125-42=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
31,
19,
54,
2
] | 60 | [
"31-19=12",
"12/2=6",
"54+6=60"
] | Current State: 60:[31, 19, 54, 2], Operations: []
Exploring Operation: 31-19=12, Resulting Numbers: [54, 2, 12]
Generated Node #2: [54, 2, 12] from Operation: 31-19=12
Current State: 60:[54, 2, 12], Operations: ['31-19=12']
Exploring Operation: 12/2=6, Resulting Numbers: [54, 6]
Generated Node #3: [54, 6] from Operation: 12/2=6
Current State: 60:[54, 6], Operations: ['31-19=12', '12/2=6']
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[31, 19, 54, 2], Operations: []
Exploring Operation: 31-19=12, Resulting Numbers: [54, 2, 12]
Generated Node #0,0: 60:[54, 2, 12] Operation: 31-19=12
Exploring Operation: 54-31=23, Resulting Numbers: [19, 2, 23]
Generated Node #0,1: 60:[19, 2, 23] Operation: 54-31=23
Exploring Operation: 54-19=35, Resulting Numbers: [31, 2, 35]
Generated Node #0,2: 60:[31, 2, 35] Operation: 54-19=35
Exploring Operation: 54/2=27, Resulting Numbers: [31, 19, 27]
Generated Node #0,3: 60:[31, 19, 27] Operation: 54/2=27
Moving to Node #0,1
Current State: 60:[19, 2, 23], Operations: ['54-31=23']
Exploring Operation: 19-2=17, Resulting Numbers: [23, 17]
Generated Node #0,1,0: 60:[23, 17] Operation: 19-2=17
Exploring Operation: 23-19=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 60:[2, 4] Operation: 23-19=4
Exploring Operation: 23-2=21, Resulting Numbers: [19, 21]
Generated Node #0,1,2: 60:[19, 21] Operation: 23-2=21
Exploring Operation: 19+2=21, Resulting Numbers: [23, 21]
Generated Node #0,1,3: 60:[23, 21] Operation: 19+2=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[2, 4], Operations: ['54-31=23', '23-19=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,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,1,2
Current State: 60:[19, 21], Operations: ['54-31=23', '23-2=21']
Exploring Operation: 19*21=399, Resulting Numbers: [399]
399,60 unequal: No Solution
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,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,1,3
Current State: 60:[23, 21], Operations: ['54-31=23', '19+2=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,60 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,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,1,0
Current State: 60:[23, 17], Operations: ['54-31=23', '19-2=17']
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 23*17=391, Resulting Numbers: [391]
391,60 unequal: No Solution
Exploring Operation: 23+17=40, Resulting Numbers: [40]
40,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:[31, 19, 27], Operations: ['54/2=27']
Exploring Operation: 31-19=12, Resulting Numbers: [27, 12]
Generated Node #0,3,0: 60:[27, 12] Operation: 31-19=12
Exploring Operation: 31-27=4, Resulting Numbers: [19, 4]
Generated Node #0,3,1: 60:[19, 4] Operation: 31-27=4
Exploring Operation: 27-19=8, Resulting Numbers: [31, 8]
Generated Node #0,3,2: 60:[31, 8] Operation: 27-19=8
Exploring Operation: 31+27=58, Resulting Numbers: [19, 58]
Generated Node #0,3,3: 60:[19, 58] Operation: 31+27=58
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 60:[19, 4], Operations: ['54/2=27', '31-27=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,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:[27, 12], Operations: ['54/2=27', '31-19=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,60 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,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:[31, 8], Operations: ['54/2=27', '27-19=8']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,60 unequal: No Solution
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,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:[19, 58], Operations: ['54/2=27', '31+27=58']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,60 unequal: No Solution
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,60 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: 60:[31, 2, 35], Operations: ['54-19=35']
Exploring Operation: 35-2=33, Resulting Numbers: [31, 33]
Generated Node #0,2,0: 60:[31, 33] Operation: 35-2=33
Exploring Operation: 31-2=29, Resulting Numbers: [35, 29]
Generated Node #0,2,1: 60:[35, 29] Operation: 31-2=29
Exploring Operation: 35-31=4, Resulting Numbers: [2, 4]
Generated Node #0,2,2: 60:[2, 4] Operation: 35-31=4
Exploring Operation: 31+35=66, Resulting Numbers: [2, 66]
Generated Node #0,2,3: 60:[2, 66] Operation: 31+35=66
Moving to Node #0,0
Current State: 60:[54, 2, 12], Operations: ['31-19=12']
Exploring Operation: 54+2=56, Resulting Numbers: [12, 56]
Generated Node #0,0,0: 60:[12, 56] Operation: 54+2=56
Exploring Operation: 54+12=66, Resulting Numbers: [2, 66]
Generated Node #0,0,1: 60:[2, 66] Operation: 54+12=66
Exploring Operation: 54/2=27, Resulting Numbers: [12, 27]
Generated Node #0,0,2: 60:[12, 27] Operation: 54/2=27
Exploring Operation: 12-2=10, Resulting Numbers: [54, 10]
Generated Node #0,0,3: 60:[54, 10] Operation: 12-2=10
Moving to Node #0,2,2
Current State: 60:[2, 4], Operations: ['54-19=35', '35-31=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[12, 27], Operations: ['31-19=12', '54/2=27']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[12, 56], Operations: ['31-19=12', '54+2=56']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,60 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[31, 33], Operations: ['54-19=35', '35-2=33']
Exploring Operation: 31*33=1023, Resulting Numbers: [1023]
1023,60 unequal: No Solution
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[35, 29], Operations: ['54-19=35', '31-2=29']
Exploring Operation: 35*29=1015, Resulting Numbers: [1015]
1015,60 unequal: No Solution
Exploring Operation: 35+29=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[2, 66], Operations: ['31-19=12', '54+12=66']
Exploring Operation: 2*66=132, Resulting Numbers: [132]
132,60 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[54, 10], Operations: ['31-19=12', '12-2=10']
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[2, 66], Operations: ['54-19=35', '31+35=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 2*66=132, Resulting Numbers: [132]
132,60 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
83,
17,
6,
63
] | 74 | [
"83-17=66",
"66/6=11",
"63+11=74"
] | Current State: 74:[83, 17, 6, 63], Operations: []
Exploring Operation: 83-17=66, Resulting Numbers: [6, 63, 66]
Generated Node #2: [6, 63, 66] from Operation: 83-17=66
Current State: 74:[6, 63, 66], Operations: ['83-17=66']
Exploring Operation: 66/6=11, Resulting Numbers: [63, 11]
Generated Node #3: [63, 11] from Operation: 66/6=11
Current State: 74:[63, 11], Operations: ['83-17=66', '66/6=11']
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[83, 17, 6, 63], Operations: []
Exploring Operation: 17+63=80, Resulting Numbers: [83, 6, 80]
Generated Node #0,0: 74:[83, 6, 80] Operation: 17+63=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[83, 6, 80], Operations: ['17+63=80']
Exploring Operation: 83-80=3, Resulting Numbers: [6, 3]
Generated Node #0,0,0: 74:[6, 3] Operation: 83-80=3
Moving to Node #0,0,0
Current State: 74:[6, 3], Operations: ['17+63=80', '83-80=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,74 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 |
[
94,
11,
61,
55
] | 89 | [
"94-11=83",
"61-55=6",
"83+6=89"
] | Current State: 89:[94, 11, 61, 55], Operations: []
Exploring Operation: 94-11=83, Resulting Numbers: [61, 55, 83]
Generated Node #2: [61, 55, 83] from Operation: 94-11=83
Current State: 89:[61, 55, 83], Operations: ['94-11=83']
Exploring Operation: 61-55=6, Resulting Numbers: [83, 6]
Generated Node #3: [83, 6] from Operation: 61-55=6
Current State: 89:[83, 6], Operations: ['94-11=83', '61-55=6']
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[94, 11, 61, 55], Operations: []
Exploring Operation: 94-11=83, Resulting Numbers: [61, 55, 83]
Generated Node #0,0: 89:[61, 55, 83] Operation: 94-11=83
Exploring Operation: 11+55=66, Resulting Numbers: [94, 61, 66]
Generated Node #0,1: 89:[94, 61, 66] Operation: 11+55=66
Exploring Operation: 11+61=72, Resulting Numbers: [94, 55, 72]
Generated Node #0,2: 89:[94, 55, 72] Operation: 11+61=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[94, 61, 66], Operations: ['11+55=66']
Exploring Operation: 94+61=155, Resulting Numbers: [66, 155]
Generated Node #0,1,0: 89:[66, 155] Operation: 94+61=155
Exploring Operation: 61+66=127, Resulting Numbers: [94, 127]
Generated Node #0,1,1: 89:[94, 127] Operation: 61+66=127
Exploring Operation: 94-61=33, Resulting Numbers: [66, 33]
Generated Node #0,1,2: 89:[66, 33] Operation: 94-61=33
Moving to Node #0,1,1
Current State: 89:[94, 127], Operations: ['11+55=66', '61+66=127']
Exploring Operation: 94*127=11938, Resulting Numbers: [11938]
11938,89 unequal: No Solution
Exploring Operation: 94+127=221, Resulting Numbers: [221]
221,89 unequal: No Solution
Exploring Operation: 127-94=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[66, 33], Operations: ['11+55=66', '94-61=33']
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 66+33=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[66, 155], Operations: ['11+55=66', '94+61=155']
Exploring Operation: 66*155=10230, Resulting Numbers: [10230]
10230,89 unequal: No Solution
Exploring Operation: 66+155=221, Resulting Numbers: [221]
221,89 unequal: No Solution
Exploring Operation: 155-66=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[94, 11, 61, 55], Operations: []
Exploring Operation: 11+55=66, Resulting Numbers: [94, 61, 66]
Generated Node #0,1: 89:[94, 61, 66] Operation: 11+55=66
Moving to Node #0,1
Current State: 89:[94, 61, 66], Operations: ['11+55=66']
Exploring Operation: 94+61=155, Resulting Numbers: [66, 155]
Generated Node #0,1,0: 89:[66, 155] Operation: 94+61=155
Moving to Node #0,1,0
Current State: 89:[66, 155], Operations: ['11+55=66', '94+61=155']
Exploring Operation: 155-66=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
46,
70,
26,
7
] | 10 | [
"46-26=20",
"70/7=10",
"20-10=10"
] | Current State: 10:[46, 70, 26, 7], Operations: []
Exploring Operation: 46-26=20, Resulting Numbers: [70, 7, 20]
Generated Node #2: [70, 7, 20] from Operation: 46-26=20
Current State: 10:[70, 7, 20], Operations: ['46-26=20']
Exploring Operation: 70/7=10, Resulting Numbers: [20, 10]
Generated Node #3: [20, 10] from Operation: 70/7=10
Current State: 10:[20, 10], Operations: ['46-26=20', '70/7=10']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[46, 70, 26, 7], Operations: []
Exploring Operation: 70/7=10, Resulting Numbers: [46, 26, 10]
Generated Node #0,0: 10:[46, 26, 10] Operation: 70/7=10
Exploring Operation: 70-46=24, Resulting Numbers: [26, 7, 24]
Generated Node #0,1: 10:[26, 7, 24] Operation: 70-46=24
Moving to Node #0,1
Current State: 10:[26, 7, 24], Operations: ['70-46=24']
Exploring Operation: 26-7=19, Resulting Numbers: [24, 19]
Generated Node #0,1,0: 10:[24, 19] Operation: 26-7=19
Exploring Operation: 26-24=2, Resulting Numbers: [7, 2]
Generated Node #0,1,1: 10:[7, 2] Operation: 26-24=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[7, 2], Operations: ['70-46=24', '26-24=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,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:[24, 19], Operations: ['70-46=24', '26-7=19']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,10 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: 10:[46, 26, 10], Operations: ['70/7=10']
Exploring Operation: 46-26=20, Resulting Numbers: [10, 20]
Generated Node #0,0,0: 10:[10, 20] Operation: 46-26=20
Exploring Operation: 46-10=36, Resulting Numbers: [26, 36]
Generated Node #0,0,1: 10:[26, 36] Operation: 46-10=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[10, 20], Operations: ['70/7=10', '46-26=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[46, 70, 26, 7], Operations: []
Exploring Operation: 70/7=10, Resulting Numbers: [46, 26, 10]
Generated Node #0,0: 10:[46, 26, 10] Operation: 70/7=10
Moving to Node #0,0
Current State: 10:[46, 26, 10], Operations: ['70/7=10']
Exploring Operation: 46-26=20, Resulting Numbers: [10, 20]
Generated Node #0,0,0: 10:[10, 20] Operation: 46-26=20
Moving to Node #0,0,0
Current State: 10:[10, 20], Operations: ['70/7=10', '46-26=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
98,
3,
69,
45
] | 90 | [
"98-45=53",
"3*53=159",
"159-69=90"
] | Current State: 90:[98, 3, 69, 45], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [3, 69, 53]
Generated Node #2: [3, 69, 53] from Operation: 98-45=53
Current State: 90:[3, 69, 53], Operations: ['98-45=53']
Exploring Operation: 3*53=159, Resulting Numbers: [69, 159]
Generated Node #3: [69, 159] from Operation: 3*53=159
Current State: 90:[69, 159], Operations: ['98-45=53', '3*53=159']
Exploring Operation: 159-69=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[98, 3, 69, 45], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [3, 45, 29]
Generated Node #0,0: 90:[3, 45, 29] Operation: 98-69=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[3, 45, 29], Operations: ['98-69=29']
Exploring Operation: 45/3=15, Resulting Numbers: [29, 15]
Generated Node #0,0,0: 90:[29, 15] Operation: 45/3=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[29, 15], Operations: ['98-69=29', '45/3=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
82,
20,
99,
68
] | 71 | [
"82+20=102",
"99-68=31",
"102-31=71"
] | Current State: 71:[82, 20, 99, 68], Operations: []
Exploring Operation: 82+20=102, Resulting Numbers: [99, 68, 102]
Generated Node #2: [99, 68, 102] from Operation: 82+20=102
Current State: 71:[99, 68, 102], Operations: ['82+20=102']
Exploring Operation: 99-68=31, Resulting Numbers: [102, 31]
Generated Node #3: [102, 31] from Operation: 99-68=31
Current State: 71:[102, 31], Operations: ['82+20=102', '99-68=31']
Exploring Operation: 102-31=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[82, 20, 99, 68], Operations: []
Exploring Operation: 82-20=62, Resulting Numbers: [99, 68, 62]
Generated Node #0,0: 71:[99, 68, 62] Operation: 82-20=62
Exploring Operation: 99-20=79, Resulting Numbers: [82, 68, 79]
Generated Node #0,1: 71:[82, 68, 79] Operation: 99-20=79
Moving to Node #0,1
Current State: 71:[82, 68, 79], Operations: ['99-20=79']
Exploring Operation: 82-68=14, Resulting Numbers: [79, 14]
Generated Node #0,1,0: 71:[79, 14] Operation: 82-68=14
Exploring Operation: 82-79=3, Resulting Numbers: [68, 3]
Generated Node #0,1,1: 71:[68, 3] Operation: 82-79=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[79, 14], Operations: ['99-20=79', '82-68=14']
Exploring Operation: 79+14=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[68, 3], Operations: ['99-20=79', '82-79=3']
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[82, 20, 99, 68], Operations: []
Exploring Operation: 99-20=79, Resulting Numbers: [82, 68, 79]
Generated Node #0,1: 71:[82, 68, 79] Operation: 99-20=79
Moving to Node #0,1
Current State: 71:[82, 68, 79], Operations: ['99-20=79']
Exploring Operation: 82-79=3, Resulting Numbers: [68, 3]
Generated Node #0,1,1: 71:[68, 3] Operation: 82-79=3
Moving to Node #0,1,1
Current State: 71:[68, 3], Operations: ['99-20=79', '82-79=3']
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
38,
88,
93,
15
] | 48 | [
"38+88=126",
"93-15=78",
"126-78=48"
] | Current State: 48:[38, 88, 93, 15], Operations: []
Exploring Operation: 38+88=126, Resulting Numbers: [93, 15, 126]
Generated Node #2: [93, 15, 126] from Operation: 38+88=126
Current State: 48:[93, 15, 126], Operations: ['38+88=126']
Exploring Operation: 93-15=78, Resulting Numbers: [126, 78]
Generated Node #3: [126, 78] from Operation: 93-15=78
Current State: 48:[126, 78], Operations: ['38+88=126', '93-15=78']
Exploring Operation: 126-78=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[38, 88, 93, 15], Operations: []
Exploring Operation: 88-38=50, Resulting Numbers: [93, 15, 50]
Generated Node #0,0: 48:[93, 15, 50] Operation: 88-38=50
Exploring Operation: 93-88=5, Resulting Numbers: [38, 15, 5]
Generated Node #0,1: 48:[38, 15, 5] Operation: 93-88=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[38, 15, 5], Operations: ['93-88=5']
Exploring Operation: 38+15=53, Resulting Numbers: [5, 53]
Generated Node #0,1,0: 48:[5, 53] Operation: 38+15=53
Exploring Operation: 38-15=23, Resulting Numbers: [5, 23]
Generated Node #0,1,1: 48:[5, 23] Operation: 38-15=23
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 48:[5, 23], Operations: ['93-88=5', '38-15=23']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,48 unequal: No Solution
No 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: 48:[5, 53], Operations: ['93-88=5', '38+15=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,48 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[38, 88, 93, 15], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [38, 15, 5]
Generated Node #0,1: 48:[38, 15, 5] Operation: 93-88=5
Moving to Node #0,1
Current State: 48:[38, 15, 5], Operations: ['93-88=5']
Exploring Operation: 38+15=53, Resulting Numbers: [5, 53]
Generated Node #0,1,0: 48:[5, 53] Operation: 38+15=53
Moving to Node #0,1,0
Current State: 48:[5, 53], Operations: ['93-88=5', '38+15=53']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
97,
65,
4,
2
] | 83 | [
"97+65=162",
"4+162=166",
"166/2=83"
] | Current State: 83:[97, 65, 4, 2], Operations: []
Exploring Operation: 97+65=162, Resulting Numbers: [4, 2, 162]
Generated Node #2: [4, 2, 162] from Operation: 97+65=162
Current State: 83:[4, 2, 162], Operations: ['97+65=162']
Exploring Operation: 4+162=166, Resulting Numbers: [2, 166]
Generated Node #3: [2, 166] from Operation: 4+162=166
Current State: 83:[2, 166], Operations: ['97+65=162', '4+162=166']
Exploring Operation: 166/2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[97, 65, 4, 2], Operations: []
Exploring Operation: 97-2=95, Resulting Numbers: [65, 4, 95]
Generated Node #0,0: 83:[65, 4, 95] Operation: 97-2=95
Exploring Operation: 97-4=93, Resulting Numbers: [65, 2, 93]
Generated Node #0,1: 83:[65, 2, 93] Operation: 97-4=93
Exploring Operation: 65+4=69, Resulting Numbers: [97, 2, 69]
Generated Node #0,2: 83:[97, 2, 69] Operation: 65+4=69
Exploring Operation: 4*2=8, Resulting Numbers: [97, 65, 8]
Generated Node #0,3: 83:[97, 65, 8] Operation: 4*2=8
Moving to Node #0,3
Current State: 83:[97, 65, 8], Operations: ['4*2=8']
Exploring Operation: 97+8=105, Resulting Numbers: [65, 105]
Generated Node #0,3,0: 83:[65, 105] Operation: 97+8=105
Exploring Operation: 97-8=89, Resulting Numbers: [65, 89]
Generated Node #0,3,1: 83:[65, 89] Operation: 97-8=89
Exploring Operation: 65-8=57, Resulting Numbers: [97, 57]
Generated Node #0,3,2: 83:[97, 57] Operation: 65-8=57
Exploring Operation: 65+8=73, Resulting Numbers: [97, 73]
Generated Node #0,3,3: 83:[97, 73] Operation: 65+8=73
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 83:[65, 89], Operations: ['4*2=8', '97-8=89']
Exploring Operation: 89-65=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 65*89=5785, Resulting Numbers: [5785]
5785,83 unequal: No Solution
Exploring Operation: 65+89=154, Resulting Numbers: [154]
154,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[97, 73], Operations: ['4*2=8', '65+8=73']
Exploring Operation: 97-73=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 97*73=7081, Resulting Numbers: [7081]
7081,83 unequal: No Solution
Exploring Operation: 97+73=170, Resulting Numbers: [170]
170,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 83:[65, 105], Operations: ['4*2=8', '97+8=105']
Exploring Operation: 65+105=170, Resulting Numbers: [170]
170,83 unequal: No Solution
Exploring Operation: 65*105=6825, Resulting Numbers: [6825]
6825,83 unequal: No Solution
Exploring Operation: 105-65=40, Resulting Numbers: [40]
40,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 83:[97, 57], Operations: ['4*2=8', '65-8=57']
Exploring Operation: 97+57=154, Resulting Numbers: [154]
154,83 unequal: No Solution
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 97*57=5529, Resulting Numbers: [5529]
5529,83 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: 83:[65, 2, 93], Operations: ['97-4=93']
Exploring Operation: 93-2=91, Resulting Numbers: [65, 91]
Generated Node #0,1,0: 83:[65, 91] Operation: 93-2=91
Exploring Operation: 65-2=63, Resulting Numbers: [93, 63]
Generated Node #0,1,1: 83:[93, 63] Operation: 65-2=63
Exploring Operation: 2+93=95, Resulting Numbers: [65, 95]
Generated Node #0,1,2: 83:[65, 95] Operation: 2+93=95
Exploring Operation: 65+2=67, Resulting Numbers: [93, 67]
Generated Node #0,1,3: 83:[93, 67] Operation: 65+2=67
Moving to Node #0,0
Current State: 83:[65, 4, 95], Operations: ['97-2=95']
Exploring Operation: 65+4=69, Resulting Numbers: [95, 69]
Generated Node #0,0,0: 83:[95, 69] Operation: 65+4=69
Exploring Operation: 95-4=91, Resulting Numbers: [65, 91]
Generated Node #0,0,1: 83:[65, 91] Operation: 95-4=91
Exploring Operation: 65-4=61, Resulting Numbers: [95, 61]
Generated Node #0,0,2: 83:[95, 61] Operation: 65-4=61
Exploring Operation: 4+95=99, Resulting Numbers: [65, 99]
Generated Node #0,0,3: 83:[65, 99] Operation: 4+95=99
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[95, 69], Operations: ['97-2=95', '65+4=69']
Exploring Operation: 95+69=164, Resulting Numbers: [164]
164,83 unequal: No Solution
Exploring Operation: 95-69=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 95*69=6555, Resulting Numbers: [6555]
6555,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[65, 91], Operations: ['97-2=95', '95-4=91']
Exploring Operation: 65*91=5915, Resulting Numbers: [5915]
5915,83 unequal: No Solution
Exploring Operation: 65+91=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 91-65=26, Resulting Numbers: [26]
26,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[95, 61], Operations: ['97-2=95', '65-4=61']
Exploring Operation: 95*61=5795, Resulting Numbers: [5795]
5795,83 unequal: No Solution
Exploring Operation: 95-61=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 95+61=156, Resulting Numbers: [156]
156,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[65, 99], Operations: ['97-2=95', '4+95=99']
Exploring Operation: 99-65=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 65+99=164, Resulting Numbers: [164]
164,83 unequal: No Solution
Exploring Operation: 65*99=6435, Resulting Numbers: [6435]
6435,83 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: 83:[97, 2, 69], Operations: ['65+4=69']
Exploring Operation: 69-2=67, Resulting Numbers: [97, 67]
Generated Node #0,2,0: 83:[97, 67] Operation: 69-2=67
Exploring Operation: 97-2=95, Resulting Numbers: [69, 95]
Generated Node #0,2,1: 83:[69, 95] Operation: 97-2=95
Exploring Operation: 97+2=99, Resulting Numbers: [69, 99]
Generated Node #0,2,2: 83:[69, 99] Operation: 97+2=99
Exploring Operation: 2+69=71, Resulting Numbers: [97, 71]
Generated Node #0,2,3: 83:[97, 71] Operation: 2+69=71
Moving to Node #0,1,0
Current State: 83:[65, 91], Operations: ['97-4=93', '93-2=91']
Exploring Operation: 91-65=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 65+91=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 65*91=5915, Resulting Numbers: [5915]
5915,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[97, 71], Operations: ['65+4=69', '2+69=71']
Exploring Operation: 97-71=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 97+71=168, Resulting Numbers: [168]
168,83 unequal: No Solution
Exploring Operation: 97*71=6887, Resulting Numbers: [6887]
6887,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[93, 67], Operations: ['97-4=93', '65+2=67']
Exploring Operation: 93-67=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 93+67=160, Resulting Numbers: [160]
160,83 unequal: No Solution
Exploring Operation: 93*67=6231, Resulting Numbers: [6231]
6231,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[69, 95], Operations: ['65+4=69', '97-2=95']
Exploring Operation: 95-69=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 69*95=6555, Resulting Numbers: [6555]
6555,83 unequal: No Solution
Exploring Operation: 69+95=164, Resulting Numbers: [164]
164,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[97, 67], Operations: ['65+4=69', '69-2=67']
Exploring Operation: 97+67=164, Resulting Numbers: [164]
164,83 unequal: No Solution
Exploring Operation: 97*67=6499, Resulting Numbers: [6499]
6499,83 unequal: No Solution
Exploring Operation: 97-67=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[93, 63], Operations: ['97-4=93', '65-2=63']
Exploring Operation: 93-63=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 93*63=5859, Resulting Numbers: [5859]
5859,83 unequal: No Solution
Exploring Operation: 93+63=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[69, 99], Operations: ['65+4=69', '97+2=99']
Exploring Operation: 69*99=6831, Resulting Numbers: [6831]
6831,83 unequal: No Solution
Exploring Operation: 69+99=168, Resulting Numbers: [168]
168,83 unequal: No Solution
Exploring Operation: 99-69=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[65, 95], Operations: ['97-4=93', '2+93=95']
Exploring Operation: 65+95=160, Resulting Numbers: [160]
160,83 unequal: No Solution
Exploring Operation: 95-65=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 65*95=6175, Resulting Numbers: [6175]
6175,83 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
60,
67,
10,
22
] | 19 | [
"67-60=7",
"22-10=12",
"7+12=19"
] | Current State: 19:[60, 67, 10, 22], Operations: []
Exploring Operation: 67-60=7, Resulting Numbers: [10, 22, 7]
Generated Node #2: [10, 22, 7] from Operation: 67-60=7
Current State: 19:[10, 22, 7], Operations: ['67-60=7']
Exploring Operation: 22-10=12, Resulting Numbers: [7, 12]
Generated Node #3: [7, 12] from Operation: 22-10=12
Current State: 19:[7, 12], Operations: ['67-60=7', '22-10=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[60, 67, 10, 22], Operations: []
Exploring Operation: 60/10=6, Resulting Numbers: [67, 22, 6]
Generated Node #0,0: 19:[67, 22, 6] Operation: 60/10=6
Exploring Operation: 67-60=7, Resulting Numbers: [10, 22, 7]
Generated Node #0,1: 19:[10, 22, 7] Operation: 67-60=7
Exploring Operation: 60-22=38, Resulting Numbers: [67, 10, 38]
Generated Node #0,2: 19:[67, 10, 38] Operation: 60-22=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[10, 22, 7], Operations: ['67-60=7']
Exploring Operation: 22-10=12, Resulting Numbers: [7, 12]
Generated Node #0,1,0: 19:[7, 12] Operation: 22-10=12
Exploring Operation: 10+7=17, Resulting Numbers: [22, 17]
Generated Node #0,1,1: 19:[22, 17] Operation: 10+7=17
Exploring Operation: 22-7=15, Resulting Numbers: [10, 15]
Generated Node #0,1,2: 19:[10, 15] Operation: 22-7=15
Moving to Node #0,1,1
Current State: 19:[22, 17], Operations: ['67-60=7', '10+7=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[10, 15], Operations: ['67-60=7', '22-7=15']
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,19 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[7, 12], Operations: ['67-60=7', '22-10=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[60, 67, 10, 22], Operations: []
Exploring Operation: 67-60=7, Resulting Numbers: [10, 22, 7]
Generated Node #0,1: 19:[10, 22, 7] Operation: 67-60=7
Moving to Node #0,1
Current State: 19:[10, 22, 7], Operations: ['67-60=7']
Exploring Operation: 22-10=12, Resulting Numbers: [7, 12]
Generated Node #0,1,0: 19:[7, 12] Operation: 22-10=12
Moving to Node #0,1,0
Current State: 19:[7, 12], Operations: ['67-60=7', '22-10=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
92,
70,
66,
70
] | 92 | [
"70-70=0",
"66*0=0",
"92+0=92"
] | Current State: 92:[92, 70, 66, 70], Operations: []
Exploring Operation: 70-70=0, Resulting Numbers: [92, 66, 0]
Generated Node #2: [92, 66, 0] from Operation: 70-70=0
Current State: 92:[92, 66, 0], Operations: ['70-70=0']
Exploring Operation: 66*0=0, Resulting Numbers: [92, 0]
Generated Node #3: [92, 0] from Operation: 66*0=0
Current State: 92:[92, 0], Operations: ['70-70=0', '66*0=0']
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[92, 70, 66, 70], Operations: []
Exploring Operation: 92-70=22, Resulting Numbers: [66, 70, 22]
Generated Node #0,0: 92:[66, 70, 22] Operation: 92-70=22
Exploring Operation: 70/70=1, Resulting Numbers: [92, 66, 1]
Generated Node #0,1: 92:[92, 66, 1] Operation: 70/70=1
Exploring Operation: 70-66=4, Resulting Numbers: [92, 70, 4]
Generated Node #0,2: 92:[92, 70, 4] Operation: 70-66=4
Exploring Operation: 70-70=0, Resulting Numbers: [92, 66, 0]
Generated Node #0,3: 92:[92, 66, 0] Operation: 70-70=0
Exploring Operation: 70-66=4, Resulting Numbers: [92, 70, 4]
Generated Node #0,4: 92:[92, 70, 4] Operation: 70-66=4
Moving to Node #0,1
Current State: 92:[92, 66, 1], Operations: ['70/70=1']
Exploring Operation: 92/1=92, Resulting Numbers: [66, 92]
Generated Node #0,1,0: 92:[66, 92] Operation: 92/1=92
Exploring Operation: 92-66=26, Resulting Numbers: [1, 26]
Generated Node #0,1,1: 92:[1, 26] Operation: 92-66=26
Exploring Operation: 92*1=92, Resulting Numbers: [66, 92]
Generated Node #0,1,2: 92:[66, 92] Operation: 92*1=92
Exploring Operation: 66-1=65, Resulting Numbers: [92, 65]
Generated Node #0,1,3: 92:[92, 65] Operation: 66-1=65
Exploring Operation: 66*1=66, Resulting Numbers: [92, 66]
Generated Node #0,1,4: 92:[92, 66] Operation: 66*1=66
Moving to Node #0,3
Current State: 92:[92, 66, 0], Operations: ['70-70=0']
Exploring Operation: 92-0=92, Resulting Numbers: [66, 92]
Generated Node #0,3,0: 92:[66, 92] Operation: 92-0=92
Exploring Operation: 92+0=92, Resulting Numbers: [66, 92]
Generated Node #0,3,1: 92:[66, 92] Operation: 92+0=92
Exploring Operation: 92-66=26, Resulting Numbers: [0, 26]
Generated Node #0,3,2: 92:[0, 26] Operation: 92-66=26
Exploring Operation: 66+0=66, Resulting Numbers: [92, 66]
Generated Node #0,3,3: 92:[92, 66] Operation: 66+0=66
Exploring Operation: 66*0=0, Resulting Numbers: [92, 0]
Generated Node #0,3,4: 92:[92, 0] Operation: 66*0=0
Moving to Node #0,2
Current State: 92:[92, 70, 4], Operations: ['70-66=4']
Exploring Operation: 92-70=22, Resulting Numbers: [4, 22]
Generated Node #0,2,0: 92:[4, 22] Operation: 92-70=22
Exploring Operation: 92+4=96, Resulting Numbers: [70, 96]
Generated Node #0,2,1: 92:[70, 96] Operation: 92+4=96
Exploring Operation: 70+4=74, Resulting Numbers: [92, 74]
Generated Node #0,2,2: 92:[92, 74] Operation: 70+4=74
Exploring Operation: 70-4=66, Resulting Numbers: [92, 66]
Generated Node #0,2,3: 92:[92, 66] Operation: 70-4=66
Exploring Operation: 92/4=23, Resulting Numbers: [70, 23]
Generated Node #0,2,4: 92:[70, 23] Operation: 92/4=23
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[4, 22], Operations: ['70-66=4', '92-70=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[92, 74], Operations: ['70-66=4', '70+4=74']
Exploring Operation: 92*74=6808, Resulting Numbers: [6808]
6808,92 unequal: No Solution
Exploring Operation: 92+74=166, Resulting Numbers: [166]
166,92 unequal: No Solution
Exploring Operation: 92-74=18, Resulting Numbers: [18]
18,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[92, 66], Operations: ['70-66=4', '70-4=66']
Exploring Operation: 92+66=158, Resulting Numbers: [158]
158,92 unequal: No Solution
Exploring Operation: 92-66=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 92*66=6072, Resulting Numbers: [6072]
6072,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 92:[70, 23], Operations: ['70-66=4', '92/4=23']
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,92 unequal: No Solution
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,92 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[70, 96], Operations: ['70-66=4', '92+4=96']
Exploring Operation: 96-70=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 70*96=6720, Resulting Numbers: [6720]
6720,92 unequal: No Solution
Exploring Operation: 70+96=166, Resulting Numbers: [166]
166,92 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: 92:[92, 70, 4], Operations: ['70-66=4']
Exploring Operation: 92+4=96, Resulting Numbers: [70, 96]
Generated Node #0,4,0: 92:[70, 96] Operation: 92+4=96
Exploring Operation: 92/4=23, Resulting Numbers: [70, 23]
Generated Node #0,4,1: 92:[70, 23] Operation: 92/4=23
Exploring Operation: 92-70=22, Resulting Numbers: [4, 22]
Generated Node #0,4,2: 92:[4, 22] Operation: 92-70=22
Exploring Operation: 70+4=74, Resulting Numbers: [92, 74]
Generated Node #0,4,3: 92:[92, 74] Operation: 70+4=74
Exploring Operation: 70-4=66, Resulting Numbers: [92, 66]
Generated Node #0,4,4: 92:[92, 66] Operation: 70-4=66
Moving to Node #0,0
Current State: 92:[66, 70, 22], Operations: ['92-70=22']
Exploring Operation: 70-22=48, Resulting Numbers: [66, 48]
Generated Node #0,0,0: 92:[66, 48] Operation: 70-22=48
Exploring Operation: 70-66=4, Resulting Numbers: [22, 4]
Generated Node #0,0,1: 92:[22, 4] Operation: 70-66=4
Exploring Operation: 66/22=3, Resulting Numbers: [70, 3]
Generated Node #0,0,2: 92:[70, 3] Operation: 66/22=3
Exploring Operation: 66-22=44, Resulting Numbers: [70, 44]
Generated Node #0,0,3: 92:[70, 44] Operation: 66-22=44
Exploring Operation: 70+22=92, Resulting Numbers: [66, 92]
Generated Node #0,0,4: 92:[66, 92] Operation: 70+22=92
Moving to Node #0,4,2
Current State: 92:[4, 22], Operations: ['70-66=4', '92-70=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[22, 4], Operations: ['92-70=22', '70-66=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Moving to Node #0,3,4
Current State: 92:[92, 0], Operations: ['70-70=0', '66*0=0']
Exploring Operation: 92-0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[92, 70, 66, 70], Operations: []
Exploring Operation: 70-70=0, Resulting Numbers: [92, 66, 0]
Generated Node #0,3: 92:[92, 66, 0] Operation: 70-70=0
Moving to Node #0,3
Current State: 92:[92, 66, 0], Operations: ['70-70=0']
Exploring Operation: 66*0=0, Resulting Numbers: [92, 0]
Generated Node #0,3,4: 92:[92, 0] Operation: 66*0=0
Moving to Node #0,3,4
Current State: 92:[92, 0], Operations: ['70-70=0', '66*0=0']
Exploring Operation: 92-0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.951389 | hs_5 | mult_heuristic |
[
45,
21,
24,
74
] | 89 | [
"24-21=3",
"45/3=15",
"74+15=89"
] | Current State: 89:[45, 21, 24, 74], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [45, 74, 3]
Generated Node #2: [45, 74, 3] from Operation: 24-21=3
Current State: 89:[45, 74, 3], Operations: ['24-21=3']
Exploring Operation: 45/3=15, Resulting Numbers: [74, 15]
Generated Node #3: [74, 15] from Operation: 45/3=15
Current State: 89:[74, 15], Operations: ['24-21=3', '45/3=15']
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[45, 21, 24, 74], Operations: []
Exploring Operation: 21+24=45, Resulting Numbers: [45, 74, 45]
Generated Node #0,0: 89:[45, 74, 45] Operation: 21+24=45
Exploring Operation: 45+24=69, Resulting Numbers: [21, 74, 69]
Generated Node #0,1: 89:[21, 74, 69] Operation: 45+24=69
Exploring Operation: 21+74=95, Resulting Numbers: [45, 24, 95]
Generated Node #0,2: 89:[45, 24, 95] Operation: 21+74=95
Exploring Operation: 24+74=98, Resulting Numbers: [45, 21, 98]
Generated Node #0,3: 89:[45, 21, 98] Operation: 24+74=98
Exploring Operation: 45+21=66, Resulting Numbers: [24, 74, 66]
Generated Node #0,4: 89:[24, 74, 66] Operation: 45+21=66
Moving to Node #0,0
Current State: 89:[45, 74, 45], Operations: ['21+24=45']
Exploring Operation: 45/45=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 89:[74, 1] Operation: 45/45=1
Exploring Operation: 45+74=119, Resulting Numbers: [45, 119]
Generated Node #0,0,1: 89:[45, 119] Operation: 45+74=119
Exploring Operation: 74+45=119, Resulting Numbers: [45, 119]
Generated Node #0,0,2: 89:[45, 119] Operation: 74+45=119
Exploring Operation: 74-45=29, Resulting Numbers: [45, 29]
Generated Node #0,0,3: 89:[45, 29] Operation: 74-45=29
Exploring Operation: 45+45=90, Resulting Numbers: [74, 90]
Generated Node #0,0,4: 89:[74, 90] Operation: 45+45=90
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 89:[74, 90], Operations: ['21+24=45', '45+45=90']
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,89 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[45, 119], Operations: ['21+24=45', '45+74=119']
Exploring Operation: 119-45=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 45*119=5355, Resulting Numbers: [5355]
5355,89 unequal: No Solution
Exploring Operation: 45+119=164, Resulting Numbers: [164]
164,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[45, 119], Operations: ['21+24=45', '74+45=119']
Exploring Operation: 45+119=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 119-45=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 45*119=5355, Resulting Numbers: [5355]
5355,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:[74, 1], Operations: ['21+24=45', '45/45=1']
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[45, 29], Operations: ['21+24=45', '74-45=29']
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,89 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 89:[24, 74, 66], Operations: ['45+21=66']
Exploring Operation: 74-24=50, Resulting Numbers: [66, 50]
Generated Node #0,4,0: 89:[66, 50] Operation: 74-24=50
Exploring Operation: 66-24=42, Resulting Numbers: [74, 42]
Generated Node #0,4,1: 89:[74, 42] Operation: 66-24=42
Exploring Operation: 24+66=90, Resulting Numbers: [74, 90]
Generated Node #0,4,2: 89:[74, 90] Operation: 24+66=90
Exploring Operation: 24+74=98, Resulting Numbers: [66, 98]
Generated Node #0,4,3: 89:[66, 98] Operation: 24+74=98
Exploring Operation: 74+66=140, Resulting Numbers: [24, 140]
Generated Node #0,4,4: 89:[24, 140] Operation: 74+66=140
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 89:[74, 90], Operations: ['45+21=66', '24+66=90']
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 89:[66, 98], Operations: ['45+21=66', '24+74=98']
Exploring Operation: 66+98=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 66*98=6468, Resulting Numbers: [6468]
6468,89 unequal: No Solution
Exploring Operation: 98-66=32, Resulting Numbers: [32]
32,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 89:[66, 50], Operations: ['45+21=66', '74-24=50']
Exploring Operation: 66-50=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 66*50=3300, Resulting Numbers: [3300]
3300,89 unequal: No Solution
Exploring Operation: 66+50=116, Resulting Numbers: [116]
116,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 89:[74, 42], Operations: ['45+21=66', '66-24=42']
Exploring Operation: 74*42=3108, Resulting Numbers: [3108]
3108,89 unequal: No Solution
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,89 unequal: No Solution
Exploring Operation: 74+42=116, Resulting Numbers: [116]
116,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 89:[24, 140], Operations: ['45+21=66', '74+66=140']
Exploring Operation: 24+140=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 140-24=116, Resulting Numbers: [116]
116,89 unequal: No Solution
Exploring Operation: 24*140=3360, Resulting Numbers: [3360]
3360,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 89:[21, 74, 69], Operations: ['45+24=69']
Exploring Operation: 74-21=53, Resulting Numbers: [69, 53]
Generated Node #0,1,0: 89:[69, 53] Operation: 74-21=53
Exploring Operation: 69-21=48, Resulting Numbers: [74, 48]
Generated Node #0,1,1: 89:[74, 48] Operation: 69-21=48
Exploring Operation: 74+69=143, Resulting Numbers: [21, 143]
Generated Node #0,1,2: 89:[21, 143] Operation: 74+69=143
Exploring Operation: 21+74=95, Resulting Numbers: [69, 95]
Generated Node #0,1,3: 89:[69, 95] Operation: 21+74=95
Exploring Operation: 21+69=90, Resulting Numbers: [74, 90]
Generated Node #0,1,4: 89:[74, 90] Operation: 21+69=90
Moving to Node #0,2
Current State: 89:[45, 24, 95], Operations: ['21+74=95']
Exploring Operation: 95-24=71, Resulting Numbers: [45, 71]
Generated Node #0,2,0: 89:[45, 71] Operation: 95-24=71
Exploring Operation: 45+24=69, Resulting Numbers: [95, 69]
Generated Node #0,2,1: 89:[95, 69] Operation: 45+24=69
Exploring Operation: 45-24=21, Resulting Numbers: [95, 21]
Generated Node #0,2,2: 89:[95, 21] Operation: 45-24=21
Exploring Operation: 95-45=50, Resulting Numbers: [24, 50]
Generated Node #0,2,3: 89:[24, 50] Operation: 95-45=50
Exploring Operation: 24+95=119, Resulting Numbers: [45, 119]
Generated Node #0,2,4: 89:[45, 119] Operation: 24+95=119
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[95, 69], Operations: ['21+74=95', '45+24=69']
Exploring Operation: 95+69=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 95*69=6555, Resulting Numbers: [6555]
6555,89 unequal: No Solution
Exploring Operation: 95-69=26, Resulting Numbers: [26]
26,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[45, 71], Operations: ['21+74=95', '95-24=71']
Exploring Operation: 45+71=116, Resulting Numbers: [116]
116,89 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 45*71=3195, Resulting Numbers: [3195]
3195,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[95, 21], Operations: ['21+74=95', '45-24=21']
Exploring Operation: 95+21=116, Resulting Numbers: [116]
116,89 unequal: No Solution
Exploring Operation: 95*21=1995, Resulting Numbers: [1995]
1995,89 unequal: No Solution
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 89:[45, 119], Operations: ['21+74=95', '24+95=119']
Exploring Operation: 119-45=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 45*119=5355, Resulting Numbers: [5355]
5355,89 unequal: No Solution
Exploring Operation: 45+119=164, Resulting Numbers: [164]
164,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[24, 50], Operations: ['21+74=95', '95-45=50']
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 24*50=1200, Resulting Numbers: [1200]
1200,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 89:[45, 21, 98], Operations: ['24+74=98']
Exploring Operation: 45+21=66, Resulting Numbers: [98, 66]
Generated Node #0,3,0: 89:[98, 66] Operation: 45+21=66
Exploring Operation: 45-21=24, Resulting Numbers: [98, 24]
Generated Node #0,3,1: 89:[98, 24] Operation: 45-21=24
Exploring Operation: 98-21=77, Resulting Numbers: [45, 77]
Generated Node #0,3,2: 89:[45, 77] Operation: 98-21=77
Exploring Operation: 98-45=53, Resulting Numbers: [21, 53]
Generated Node #0,3,3: 89:[21, 53] Operation: 98-45=53
Exploring Operation: 21+98=119, Resulting Numbers: [45, 119]
Generated Node #0,3,4: 89:[45, 119] Operation: 21+98=119
Moving to Node #0,1,4
Current State: 89:[74, 90], Operations: ['45+24=69', '21+69=90']
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,89 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[69, 95], Operations: ['45+24=69', '21+74=95']
Exploring Operation: 69+95=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 95-69=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 69*95=6555, Resulting Numbers: [6555]
6555,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[98, 66], Operations: ['24+74=98', '45+21=66']
Exploring Operation: 98*66=6468, Resulting Numbers: [6468]
6468,89 unequal: No Solution
Exploring Operation: 98+66=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 98-66=32, Resulting Numbers: [32]
32,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[45, 77], Operations: ['24+74=98', '98-21=77']
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,89 unequal: No Solution
Exploring Operation: 45+77=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 45*77=3465, Resulting Numbers: [3465]
3465,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[69, 53], Operations: ['45+24=69', '74-21=53']
Exploring Operation: 69+53=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 69*53=3657, Resulting Numbers: [3657]
3657,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[74, 48], Operations: ['45+24=69', '69-21=48']
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 74*48=3552, Resulting Numbers: [3552]
3552,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[98, 24], Operations: ['24+74=98', '45-21=24']
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 98*24=2352, Resulting Numbers: [2352]
2352,89 unequal: No Solution
Exploring Operation: 98+24=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[45, 119], Operations: ['24+74=98', '21+98=119']
Exploring Operation: 119-45=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 45*119=5355, Resulting Numbers: [5355]
5355,89 unequal: No Solution
Exploring Operation: 45+119=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[21, 53], Operations: ['24+74=98', '98-45=53']
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,89 unequal: No Solution
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[21, 143], Operations: ['45+24=69', '74+69=143']
Exploring Operation: 21*143=3003, Resulting Numbers: [3003]
3003,89 unequal: No Solution
Exploring Operation: 143-21=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 21+143=164, Resulting Numbers: [164]
164,89 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
10,
26,
36,
73
] | 93 | [
"26-10=16",
"36+73=109",
"109-16=93"
] | Current State: 93:[10, 26, 36, 73], Operations: []
Exploring Operation: 26-10=16, Resulting Numbers: [36, 73, 16]
Generated Node #2: [36, 73, 16] from Operation: 26-10=16
Current State: 93:[36, 73, 16], Operations: ['26-10=16']
Exploring Operation: 36+73=109, Resulting Numbers: [16, 109]
Generated Node #3: [16, 109] from Operation: 36+73=109
Current State: 93:[16, 109], Operations: ['26-10=16', '36+73=109']
Exploring Operation: 109-16=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[10, 26, 36, 73], Operations: []
Exploring Operation: 10+73=83, Resulting Numbers: [26, 36, 83]
Generated Node #0,0: 93:[26, 36, 83] Operation: 10+73=83
Exploring Operation: 26+73=99, Resulting Numbers: [10, 36, 99]
Generated Node #0,1: 93:[10, 36, 99] Operation: 26+73=99
Exploring Operation: 73-36=37, Resulting Numbers: [10, 26, 37]
Generated Node #0,2: 93:[10, 26, 37] Operation: 73-36=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[10, 36, 99], Operations: ['26+73=99']
Exploring Operation: 10+36=46, Resulting Numbers: [99, 46]
Generated Node #0,1,0: 93:[99, 46] Operation: 10+36=46
Exploring Operation: 99-10=89, Resulting Numbers: [36, 89]
Generated Node #0,1,1: 93:[36, 89] Operation: 99-10=89
Exploring Operation: 36-10=26, Resulting Numbers: [99, 26]
Generated Node #0,1,2: 93:[99, 26] Operation: 36-10=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[36, 89], Operations: ['26+73=99', '99-10=89']
Exploring Operation: 36+89=125, Resulting Numbers: [125]
125,93 unequal: No Solution
Exploring Operation: 36*89=3204, Resulting Numbers: [3204]
3204,93 unequal: No Solution
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,93 unequal: No Solution
No 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: 93:[99, 26], Operations: ['26+73=99', '36-10=26']
Exploring Operation: 99+26=125, Resulting Numbers: [125]
125,93 unequal: No Solution
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,93 unequal: No Solution
Exploring Operation: 99*26=2574, Resulting Numbers: [2574]
2574,93 unequal: No Solution
No 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: 93:[99, 46], Operations: ['26+73=99', '10+36=46']
Exploring Operation: 99-46=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Exploring Operation: 99+46=145, Resulting Numbers: [145]
145,93 unequal: No Solution
Exploring Operation: 99*46=4554, Resulting Numbers: [4554]
4554,93 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: 93:[10, 26, 37], Operations: ['73-36=37']
Exploring Operation: 10+26=36, Resulting Numbers: [37, 36]
Generated Node #0,2,0: 93:[37, 36] Operation: 10+26=36
Exploring Operation: 37-10=27, Resulting Numbers: [26, 27]
Generated Node #0,2,1: 93:[26, 27] Operation: 37-10=27
Exploring Operation: 37-26=11, Resulting Numbers: [10, 11]
Generated Node #0,2,2: 93:[10, 11] Operation: 37-26=11
Moving to Node #0,2,1
Current State: 93:[26, 27], Operations: ['73-36=37', '37-10=27']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,93 unequal: No Solution
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[37, 36], Operations: ['73-36=37', '10+26=36']
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,93 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,93 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[10, 11], Operations: ['73-36=37', '37-26=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[26, 36, 83], Operations: ['10+73=83']
Exploring Operation: 36-26=10, Resulting Numbers: [83, 10]
Generated Node #0,0,0: 93:[83, 10] Operation: 36-26=10
Exploring Operation: 83-36=47, Resulting Numbers: [26, 47]
Generated Node #0,0,1: 93:[26, 47] Operation: 83-36=47
Exploring Operation: 26+83=109, Resulting Numbers: [36, 109]
Generated Node #0,0,2: 93:[36, 109] Operation: 26+83=109
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[83, 10], Operations: ['10+73=83', '36-26=10']
Exploring Operation: 83*10=830, Resulting Numbers: [830]
830,93 unequal: No Solution
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,93 unequal: No Solution
Exploring Operation: 83+10=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[10, 26, 36, 73], Operations: []
Exploring Operation: 10+73=83, Resulting Numbers: [26, 36, 83]
Generated Node #0,0: 93:[26, 36, 83] Operation: 10+73=83
Moving to Node #0,0
Current State: 93:[26, 36, 83], Operations: ['10+73=83']
Exploring Operation: 36-26=10, Resulting Numbers: [83, 10]
Generated Node #0,0,0: 93:[83, 10] Operation: 36-26=10
Moving to Node #0,0,0
Current State: 93:[83, 10], Operations: ['10+73=83', '36-26=10']
Exploring Operation: 83+10=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
8,
91,
92,
69
] | 93 | [
"92-69=23",
"8*23=184",
"184-91=93"
] | Current State: 93:[8, 91, 92, 69], Operations: []
Exploring Operation: 92-69=23, Resulting Numbers: [8, 91, 23]
Generated Node #2: [8, 91, 23] from Operation: 92-69=23
Current State: 93:[8, 91, 23], Operations: ['92-69=23']
Exploring Operation: 8*23=184, Resulting Numbers: [91, 184]
Generated Node #3: [91, 184] from Operation: 8*23=184
Current State: 93:[91, 184], Operations: ['92-69=23', '8*23=184']
Exploring Operation: 184-91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[8, 91, 92, 69], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [8, 92, 22]
Generated Node #0,0: 93:[8, 92, 22] Operation: 91-69=22
Exploring Operation: 92-69=23, Resulting Numbers: [8, 91, 23]
Generated Node #0,1: 93:[8, 91, 23] Operation: 92-69=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[8, 92, 22], Operations: ['91-69=22']
Exploring Operation: 8+22=30, Resulting Numbers: [92, 30]
Generated Node #0,0,0: 93:[92, 30] Operation: 8+22=30
Exploring Operation: 22-8=14, Resulting Numbers: [92, 14]
Generated Node #0,0,1: 93:[92, 14] Operation: 22-8=14
Moving to Node #0,0,0
Current State: 93:[92, 30], Operations: ['91-69=22', '8+22=30']
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[92, 14], Operations: ['91-69=22', '22-8=14']
Exploring Operation: 92+14=106, Resulting Numbers: [106]
106,93 unequal: No Solution
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[8, 91, 23], Operations: ['92-69=23']
Exploring Operation: 8+23=31, Resulting Numbers: [91, 31]
Generated Node #0,1,0: 93:[91, 31] Operation: 8+23=31
Exploring Operation: 8+91=99, Resulting Numbers: [23, 99]
Generated Node #0,1,1: 93:[23, 99] Operation: 8+91=99
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[91, 31], Operations: ['92-69=23', '8+23=31']
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,93 unequal: No Solution
Exploring Operation: 91+31=122, Resulting Numbers: [122]
122,93 unequal: No Solution
No 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: 93:[23, 99], Operations: ['92-69=23', '8+91=99']
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,93 unequal: No Solution
Exploring Operation: 23+99=122, Resulting Numbers: [122]
122,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
26,
42,
97,
16
] | 97 | [
"42-26=16",
"97+16=113",
"113-16=97"
] | Current State: 97:[26, 42, 97, 16], Operations: []
Exploring Operation: 42-26=16, Resulting Numbers: [97, 16, 16]
Generated Node #2: [97, 16, 16] from Operation: 42-26=16
Current State: 97:[97, 16, 16], Operations: ['42-26=16']
Exploring Operation: 97+16=113, Resulting Numbers: [113]
113,97 equal: Goal Reached
Exploring Operation: 113-16=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[26, 42, 97, 16], Operations: []
Exploring Operation: 42+16=58, Resulting Numbers: [26, 97, 58]
Generated Node #0,0: 97:[26, 97, 58] Operation: 42+16=58
Exploring Operation: 26+16=42, Resulting Numbers: [42, 97, 42]
Generated Node #0,1: 97:[42, 97, 42] Operation: 26+16=42
Exploring Operation: 26+42=68, Resulting Numbers: [97, 16, 68]
Generated Node #0,2: 97:[97, 16, 68] Operation: 26+42=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[26, 97, 58], Operations: ['42+16=58']
Exploring Operation: 97-26=71, Resulting Numbers: [58, 71]
Generated Node #0,0,0: 97:[58, 71] Operation: 97-26=71
Exploring Operation: 26+97=123, Resulting Numbers: [58, 123]
Generated Node #0,0,1: 97:[58, 123] Operation: 26+97=123
Exploring Operation: 26+58=84, Resulting Numbers: [97, 84]
Generated Node #0,0,2: 97:[97, 84] Operation: 26+58=84
Moving to Node #0,0,2
Current State: 97:[97, 84], Operations: ['42+16=58', '26+58=84']
Exploring Operation: 97*84=8148, Resulting Numbers: [8148]
8148,97 unequal: No Solution
Exploring Operation: 97-84=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Exploring Operation: 97+84=181, Resulting Numbers: [181]
181,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[58, 71], Operations: ['42+16=58', '97-26=71']
Exploring Operation: 58*71=4118, Resulting Numbers: [4118]
4118,97 unequal: No Solution
Exploring Operation: 58+71=129, Resulting Numbers: [129]
129,97 unequal: No Solution
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[58, 123], Operations: ['42+16=58', '26+97=123']
Exploring Operation: 123-58=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 58*123=7134, Resulting Numbers: [7134]
7134,97 unequal: No Solution
Exploring Operation: 58+123=181, Resulting Numbers: [181]
181,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[42, 97, 42], Operations: ['26+16=42']
Exploring Operation: 42+97=139, Resulting Numbers: [42, 139]
Generated Node #0,1,0: 97:[42, 139] Operation: 42+97=139
Exploring Operation: 42+42=84, Resulting Numbers: [97, 84]
Generated Node #0,1,1: 97:[97, 84] Operation: 42+42=84
Exploring Operation: 42/42=1, Resulting Numbers: [97, 1]
Generated Node #0,1,2: 97:[97, 1] Operation: 42/42=1
Moving to Node #0,1,1
Current State: 97:[97, 84], Operations: ['26+16=42', '42+42=84']
Exploring Operation: 97+84=181, Resulting Numbers: [181]
181,97 unequal: No Solution
Exploring Operation: 97*84=8148, Resulting Numbers: [8148]
8148,97 unequal: No Solution
Exploring Operation: 97-84=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[97, 1], Operations: ['26+16=42', '42/42=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[26, 42, 97, 16], Operations: []
Exploring Operation: 26+16=42, Resulting Numbers: [42, 97, 42]
Generated Node #0,1: 97:[42, 97, 42] Operation: 26+16=42
Moving to Node #0,1
Current State: 97:[42, 97, 42], Operations: ['26+16=42']
Exploring Operation: 42/42=1, Resulting Numbers: [97, 1]
Generated Node #0,1,2: 97:[97, 1] Operation: 42/42=1
Moving to Node #0,1,2
Current State: 97:[97, 1], Operations: ['26+16=42', '42/42=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
16,
43,
76,
85
] | 50 | [
"16+43=59",
"85-76=9",
"59-9=50"
] | Current State: 50:[16, 43, 76, 85], Operations: []
Exploring Operation: 16+43=59, Resulting Numbers: [76, 85, 59]
Generated Node #2: [76, 85, 59] from Operation: 16+43=59
Current State: 50:[76, 85, 59], Operations: ['16+43=59']
Exploring Operation: 85-76=9, Resulting Numbers: [59, 9]
Generated Node #3: [59, 9] from Operation: 85-76=9
Current State: 50:[59, 9], Operations: ['16+43=59', '85-76=9']
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[16, 43, 76, 85], Operations: []
Exploring Operation: 85-76=9, Resulting Numbers: [16, 43, 9]
Generated Node #0,0: 50:[16, 43, 9] Operation: 85-76=9
Exploring Operation: 85-43=42, Resulting Numbers: [16, 76, 42]
Generated Node #0,1: 50:[16, 76, 42] Operation: 85-43=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[16, 43, 9], Operations: ['85-76=9']
Exploring Operation: 16+9=25, Resulting Numbers: [43, 25]
Generated Node #0,0,0: 50:[43, 25] Operation: 16+9=25
Exploring Operation: 43-16=27, Resulting Numbers: [9, 27]
Generated Node #0,0,1: 50:[9, 27] Operation: 43-16=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 50:[9, 27], Operations: ['85-76=9', '43-16=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[43, 25], Operations: ['85-76=9', '16+9=25']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[16, 76, 42], Operations: ['85-43=42']
Exploring Operation: 76-16=60, Resulting Numbers: [42, 60]
Generated Node #0,1,0: 50:[42, 60] Operation: 76-16=60
Exploring Operation: 76-42=34, Resulting Numbers: [16, 34]
Generated Node #0,1,1: 50:[16, 34] Operation: 76-42=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[16, 34], Operations: ['85-43=42', '76-42=34']
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[16, 43, 76, 85], Operations: []
Exploring Operation: 85-43=42, Resulting Numbers: [16, 76, 42]
Generated Node #0,1: 50:[16, 76, 42] Operation: 85-43=42
Moving to Node #0,1
Current State: 50:[16, 76, 42], Operations: ['85-43=42']
Exploring Operation: 76-42=34, Resulting Numbers: [16, 34]
Generated Node #0,1,1: 50:[16, 34] Operation: 76-42=34
Moving to Node #0,1,1
Current State: 50:[16, 34], Operations: ['85-43=42', '76-42=34']
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
47,
26,
28,
75
] | 14 | [
"47+26=73",
"75-73=2",
"28/2=14"
] | Current State: 14:[47, 26, 28, 75], Operations: []
Exploring Operation: 47+26=73, Resulting Numbers: [28, 75, 73]
Generated Node #2: [28, 75, 73] from Operation: 47+26=73
Current State: 14:[28, 75, 73], Operations: ['47+26=73']
Exploring Operation: 75-73=2, Resulting Numbers: [28, 2]
Generated Node #3: [28, 2] from Operation: 75-73=2
Current State: 14:[28, 2], Operations: ['47+26=73', '75-73=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[47, 26, 28, 75], Operations: []
Exploring Operation: 47-28=19, Resulting Numbers: [26, 75, 19]
Generated Node #0,0: 14:[26, 75, 19] Operation: 47-28=19
Exploring Operation: 75-47=28, Resulting Numbers: [26, 28, 28]
Generated Node #0,1: 14:[26, 28, 28] Operation: 75-47=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[26, 28, 28], Operations: ['75-47=28']
Exploring Operation: 28/28=1, Resulting Numbers: [26, 1]
Generated Node #0,1,0: 14:[26, 1] Operation: 28/28=1
Exploring Operation: 28-26=2, Resulting Numbers: [28, 2]
Generated Node #0,1,1: 14:[28, 2] Operation: 28-26=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[26, 1], Operations: ['75-47=28', '28/28=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[28, 2], Operations: ['75-47=28', '28-26=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[47, 26, 28, 75], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [26, 28, 28]
Generated Node #0,1: 14:[26, 28, 28] Operation: 75-47=28
Moving to Node #0,1
Current State: 14:[26, 28, 28], Operations: ['75-47=28']
Exploring Operation: 28-26=2, Resulting Numbers: [28, 2]
Generated Node #0,1,1: 14:[28, 2] Operation: 28-26=2
Moving to Node #0,1,1
Current State: 14:[28, 2], Operations: ['75-47=28', '28-26=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
54,
48,
3,
45
] | 79 | [
"54+48=102",
"102/3=34",
"45+34=79"
] | Current State: 79:[54, 48, 3, 45], Operations: []
Exploring Operation: 54+48=102, Resulting Numbers: [3, 45, 102]
Generated Node #2: [3, 45, 102] from Operation: 54+48=102
Current State: 79:[3, 45, 102], Operations: ['54+48=102']
Exploring Operation: 102/3=34, Resulting Numbers: [45, 34]
Generated Node #3: [45, 34] from Operation: 102/3=34
Current State: 79:[45, 34], Operations: ['54+48=102', '102/3=34']
Exploring Operation: 45+34=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[54, 48, 3, 45], Operations: []
Exploring Operation: 3+45=48, Resulting Numbers: [54, 48, 48]
Generated Node #0,0: 79:[54, 48, 48] Operation: 3+45=48
Exploring Operation: 54+3=57, Resulting Numbers: [48, 45, 57]
Generated Node #0,1: 79:[48, 45, 57] Operation: 54+3=57
Exploring Operation: 48+3=51, Resulting Numbers: [54, 45, 51]
Generated Node #0,2: 79:[54, 45, 51] Operation: 48+3=51
Moving to Node #0,0
Current State: 79:[54, 48, 48], Operations: ['3+45=48']
Exploring Operation: 48+48=96, Resulting Numbers: [54, 96]
Generated Node #0,0,0: 79:[54, 96] Operation: 48+48=96
Exploring Operation: 54+48=102, Resulting Numbers: [48, 102]
Generated Node #0,0,1: 79:[48, 102] Operation: 54+48=102
Exploring Operation: 54+48=102, Resulting Numbers: [48, 102]
Generated Node #0,0,2: 79:[48, 102] Operation: 54+48=102
Moving to Node #0,1
Current State: 79:[48, 45, 57], Operations: ['54+3=57']
Exploring Operation: 48+57=105, Resulting Numbers: [45, 105]
Generated Node #0,1,0: 79:[45, 105] Operation: 48+57=105
Exploring Operation: 45+57=102, Resulting Numbers: [48, 102]
Generated Node #0,1,1: 79:[48, 102] Operation: 45+57=102
Exploring Operation: 48+45=93, Resulting Numbers: [57, 93]
Generated Node #0,1,2: 79:[57, 93] Operation: 48+45=93
Moving to Node #0,2
Current State: 79:[54, 45, 51], Operations: ['48+3=51']
Exploring Operation: 45+51=96, Resulting Numbers: [54, 96]
Generated Node #0,2,0: 79:[54, 96] Operation: 45+51=96
Exploring Operation: 54+45=99, Resulting Numbers: [51, 99]
Generated Node #0,2,1: 79:[51, 99] Operation: 54+45=99
Exploring Operation: 54+51=105, Resulting Numbers: [45, 105]
Generated Node #0,2,2: 79:[45, 105] Operation: 54+51=105
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[54, 96], Operations: ['48+3=51', '45+51=96']
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Exploring Operation: 54*96=5184, Resulting Numbers: [5184]
5184,79 unequal: No Solution
Exploring Operation: 54+96=150, Resulting Numbers: [150]
150,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[51, 99], Operations: ['48+3=51', '54+45=99']
Exploring Operation: 51*99=5049, Resulting Numbers: [5049]
5049,79 unequal: No Solution
Exploring Operation: 51+99=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 99-51=48, Resulting Numbers: [48]
48,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[45, 105], Operations: ['48+3=51', '54+51=105']
Exploring Operation: 45*105=4725, Resulting Numbers: [4725]
4725,79 unequal: No Solution
Exploring Operation: 45+105=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 105-45=60, Resulting Numbers: [60]
60,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 79:[57, 93], Operations: ['54+3=57', '48+45=93']
Exploring Operation: 57+93=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 57*93=5301, Resulting Numbers: [5301]
5301,79 unequal: No Solution
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[54, 96], Operations: ['3+45=48', '48+48=96']
Exploring Operation: 54+96=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 54*96=5184, Resulting Numbers: [5184]
5184,79 unequal: No Solution
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[48, 102], Operations: ['3+45=48', '54+48=102']
Exploring Operation: 48*102=4896, Resulting Numbers: [4896]
4896,79 unequal: No Solution
Exploring Operation: 102-48=54, Resulting Numbers: [54]
54,79 unequal: No Solution
Exploring Operation: 48+102=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[48, 102], Operations: ['54+3=57', '45+57=102']
Exploring Operation: 48*102=4896, Resulting Numbers: [4896]
4896,79 unequal: No Solution
Exploring Operation: 102-48=54, Resulting Numbers: [54]
54,79 unequal: No Solution
Exploring Operation: 48+102=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[48, 102], Operations: ['3+45=48', '54+48=102']
Exploring Operation: 48+102=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 102-48=54, Resulting Numbers: [54]
54,79 unequal: No Solution
Exploring Operation: 48*102=4896, Resulting Numbers: [4896]
4896,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[45, 105], Operations: ['54+3=57', '48+57=105']
Exploring Operation: 105-45=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 45+105=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 45*105=4725, Resulting Numbers: [4725]
4725,79 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
60,
87,
1,
8
] | 18 | [
"87-60=27",
"1+8=9",
"27-9=18"
] | Current State: 18:[60, 87, 1, 8], Operations: []
Exploring Operation: 87-60=27, Resulting Numbers: [1, 8, 27]
Generated Node #2: [1, 8, 27] from Operation: 87-60=27
Current State: 18:[1, 8, 27], Operations: ['87-60=27']
Exploring Operation: 1+8=9, Resulting Numbers: [27, 9]
Generated Node #3: [27, 9] from Operation: 1+8=9
Current State: 18:[27, 9], Operations: ['87-60=27', '1+8=9']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[60, 87, 1, 8], Operations: []
Exploring Operation: 60-1=59, Resulting Numbers: [87, 8, 59]
Generated Node #0,0: 18:[87, 8, 59] Operation: 60-1=59
Exploring Operation: 87-8=79, Resulting Numbers: [60, 1, 79]
Generated Node #0,1: 18:[60, 1, 79] Operation: 87-8=79
Exploring Operation: 87-1=86, Resulting Numbers: [60, 8, 86]
Generated Node #0,2: 18:[60, 8, 86] Operation: 87-1=86
Exploring Operation: 60-8=52, Resulting Numbers: [87, 1, 52]
Generated Node #0,3: 18:[87, 1, 52] Operation: 60-8=52
Exploring Operation: 87-60=27, Resulting Numbers: [1, 8, 27]
Generated Node #0,4: 18:[1, 8, 27] Operation: 87-60=27
Moving to Node #0,4
Current State: 18:[1, 8, 27], Operations: ['87-60=27']
Exploring Operation: 8-1=7, Resulting Numbers: [27, 7]
Generated Node #0,4,0: 18:[27, 7] Operation: 8-1=7
Exploring Operation: 27-1=26, Resulting Numbers: [8, 26]
Generated Node #0,4,1: 18:[8, 26] Operation: 27-1=26
Exploring Operation: 1+8=9, Resulting Numbers: [27, 9]
Generated Node #0,4,2: 18:[27, 9] Operation: 1+8=9
Exploring Operation: 1*8=8, Resulting Numbers: [27, 8]
Generated Node #0,4,3: 18:[27, 8] Operation: 1*8=8
Exploring Operation: 27-8=19, Resulting Numbers: [1, 19]
Generated Node #0,4,4: 18:[1, 19] Operation: 27-8=19
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 18:[1, 19], Operations: ['87-60=27', '27-8=19']
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[60, 87, 1, 8], Operations: []
Exploring Operation: 87-60=27, Resulting Numbers: [1, 8, 27]
Generated Node #0,4: 18:[1, 8, 27] Operation: 87-60=27
Moving to Node #0,4
Current State: 18:[1, 8, 27], Operations: ['87-60=27']
Exploring Operation: 27-8=19, Resulting Numbers: [1, 19]
Generated Node #0,4,4: 18:[1, 19] Operation: 27-8=19
Moving to Node #0,4,4
Current State: 18:[1, 19], Operations: ['87-60=27', '27-8=19']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
94,
64,
19,
35
] | 95 | [
"94-64=30",
"35-30=5",
"19*5=95"
] | Current State: 95:[94, 64, 19, 35], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [19, 35, 30]
Generated Node #2: [19, 35, 30] from Operation: 94-64=30
Current State: 95:[19, 35, 30], Operations: ['94-64=30']
Exploring Operation: 35-30=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 35-30=5
Current State: 95:[19, 5], Operations: ['94-64=30', '35-30=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[94, 64, 19, 35], Operations: []
Exploring Operation: 64+35=99, Resulting Numbers: [94, 19, 99]
Generated Node #0,0: 95:[94, 19, 99] Operation: 64+35=99
Exploring Operation: 64-35=29, Resulting Numbers: [94, 19, 29]
Generated Node #0,1: 95:[94, 19, 29] Operation: 64-35=29
Moving to Node #0,0
Current State: 95:[94, 19, 99], Operations: ['64+35=99']
Exploring Operation: 99-94=5, Resulting Numbers: [19, 5]
Generated Node #0,0,0: 95:[19, 5] Operation: 99-94=5
Exploring Operation: 99-19=80, Resulting Numbers: [94, 80]
Generated Node #0,0,1: 95:[94, 80] Operation: 99-19=80
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[19, 5], Operations: ['64+35=99', '99-94=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[94, 64, 19, 35], Operations: []
Exploring Operation: 64+35=99, Resulting Numbers: [94, 19, 99]
Generated Node #0,0: 95:[94, 19, 99] Operation: 64+35=99
Moving to Node #0,0
Current State: 95:[94, 19, 99], Operations: ['64+35=99']
Exploring Operation: 99-94=5, Resulting Numbers: [19, 5]
Generated Node #0,0,0: 95:[19, 5] Operation: 99-94=5
Moving to Node #0,0,0
Current State: 95:[19, 5], Operations: ['64+35=99', '99-94=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
2,
4,
83,
30
] | 39 | [
"83-2=81",
"4*30=120",
"120-81=39"
] | Current State: 39:[2, 4, 83, 30], Operations: []
Exploring Operation: 83-2=81, Resulting Numbers: [4, 30, 81]
Generated Node #2: [4, 30, 81] from Operation: 83-2=81
Current State: 39:[4, 30, 81], Operations: ['83-2=81']
Exploring Operation: 4*30=120, Resulting Numbers: [81, 120]
Generated Node #3: [81, 120] from Operation: 4*30=120
Current State: 39:[81, 120], Operations: ['83-2=81', '4*30=120']
Exploring Operation: 120-81=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[2, 4, 83, 30], Operations: []
Exploring Operation: 4+30=34, Resulting Numbers: [2, 83, 34]
Generated Node #0,0: 39:[2, 83, 34] Operation: 4+30=34
Exploring Operation: 30/2=15, Resulting Numbers: [4, 83, 15]
Generated Node #0,1: 39:[4, 83, 15] Operation: 30/2=15
Exploring Operation: 83-30=53, Resulting Numbers: [2, 4, 53]
Generated Node #0,2: 39:[2, 4, 53] Operation: 83-30=53
Exploring Operation: 83-4=79, Resulting Numbers: [2, 30, 79]
Generated Node #0,3: 39:[2, 30, 79] Operation: 83-4=79
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[2, 4, 53], Operations: ['83-30=53']
Exploring Operation: 4/2=2, Resulting Numbers: [53, 2]
Generated Node #0,2,0: 39:[53, 2] Operation: 4/2=2
Exploring Operation: 53-2=51, Resulting Numbers: [4, 51]
Generated Node #0,2,1: 39:[4, 51] Operation: 53-2=51
Exploring Operation: 53-4=49, Resulting Numbers: [2, 49]
Generated Node #0,2,2: 39:[2, 49] Operation: 53-4=49
Exploring Operation: 4-2=2, Resulting Numbers: [53, 2]
Generated Node #0,2,3: 39:[53, 2] Operation: 4-2=2
Moving to Node #0,2,2
Current State: 39:[2, 49], Operations: ['83-30=53', '53-4=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[4, 51], Operations: ['83-30=53', '53-2=51']
Exploring Operation: 4+51=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 4*51=204, Resulting Numbers: [204]
204,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[53, 2], Operations: ['83-30=53', '4-2=2']
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,39 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[53, 2], Operations: ['83-30=53', '4/2=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[4, 83, 15], Operations: ['30/2=15']
Exploring Operation: 83-4=79, Resulting Numbers: [15, 79]
Generated Node #0,1,0: 39:[15, 79] Operation: 83-4=79
Exploring Operation: 83-15=68, Resulting Numbers: [4, 68]
Generated Node #0,1,1: 39:[4, 68] Operation: 83-15=68
Exploring Operation: 4+83=87, Resulting Numbers: [15, 87]
Generated Node #0,1,2: 39:[15, 87] Operation: 4+83=87
Exploring Operation: 15-4=11, Resulting Numbers: [83, 11]
Generated Node #0,1,3: 39:[83, 11] Operation: 15-4=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[4, 68], Operations: ['30/2=15', '83-15=68']
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 4+68=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 4*68=272, Resulting Numbers: [272]
272,39 unequal: No Solution
No 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: 39:[15, 79], Operations: ['30/2=15', '83-4=79']
Exploring Operation: 15*79=1185, Resulting Numbers: [1185]
1185,39 unequal: No Solution
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 15+79=94, Resulting Numbers: [94]
94,39 unequal: No Solution
No 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: 39:[83, 11], Operations: ['30/2=15', '15-4=11']
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,39 unequal: No Solution
Exploring Operation: 83*11=913, Resulting Numbers: [913]
913,39 unequal: No Solution
No 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: 39:[15, 87], Operations: ['30/2=15', '4+83=87']
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 15*87=1305, Resulting Numbers: [1305]
1305,39 unequal: No Solution
Exploring Operation: 15+87=102, Resulting Numbers: [102]
102,39 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: 39:[2, 83, 34], Operations: ['4+30=34']
Exploring Operation: 2+34=36, Resulting Numbers: [83, 36]
Generated Node #0,0,0: 39:[83, 36] Operation: 2+34=36
Exploring Operation: 83-34=49, Resulting Numbers: [2, 49]
Generated Node #0,0,1: 39:[2, 49] Operation: 83-34=49
Exploring Operation: 34/2=17, Resulting Numbers: [83, 17]
Generated Node #0,0,2: 39:[83, 17] Operation: 34/2=17
Exploring Operation: 83-2=81, Resulting Numbers: [34, 81]
Generated Node #0,0,3: 39:[34, 81] Operation: 83-2=81
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[2, 49], Operations: ['4+30=34', '83-34=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,39 unequal: No Solution
No 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: 39:[83, 36], Operations: ['4+30=34', '2+34=36']
Exploring Operation: 83+36=119, Resulting Numbers: [119]
119,39 unequal: No Solution
Exploring Operation: 83*36=2988, Resulting Numbers: [2988]
2988,39 unequal: No Solution
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,39 unequal: No Solution
No 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: 39:[34, 81], Operations: ['4+30=34', '83-2=81']
Exploring Operation: 34*81=2754, Resulting Numbers: [2754]
2754,39 unequal: No Solution
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 34+81=115, Resulting Numbers: [115]
115,39 unequal: No Solution
No 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: 39:[83, 17], Operations: ['4+30=34', '34/2=17']
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,39 unequal: No Solution
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,39 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: 39:[2, 30, 79], Operations: ['83-4=79']
Exploring Operation: 79-30=49, Resulting Numbers: [2, 49]
Generated Node #0,3,0: 39:[2, 49] Operation: 79-30=49
Exploring Operation: 2+30=32, Resulting Numbers: [79, 32]
Generated Node #0,3,1: 39:[79, 32] Operation: 2+30=32
Exploring Operation: 30/2=15, Resulting Numbers: [79, 15]
Generated Node #0,3,2: 39:[79, 15] Operation: 30/2=15
Exploring Operation: 79-2=77, Resulting Numbers: [30, 77]
Generated Node #0,3,3: 39:[30, 77] Operation: 79-2=77
Moving to Node #0,3,0
Current State: 39:[2, 49], Operations: ['83-4=79', '79-30=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,39 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[79, 15], Operations: ['83-4=79', '30/2=15']
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 79*15=1185, Resulting Numbers: [1185]
1185,39 unequal: No Solution
Exploring Operation: 79+15=94, Resulting Numbers: [94]
94,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[30, 77], Operations: ['83-4=79', '79-2=77']
Exploring Operation: 30+77=107, Resulting Numbers: [107]
107,39 unequal: No Solution
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 30*77=2310, Resulting Numbers: [2310]
2310,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[79, 32], Operations: ['83-4=79', '2+30=32']
Exploring Operation: 79+32=111, Resulting Numbers: [111]
111,39 unequal: No Solution
Exploring Operation: 79*32=2528, Resulting Numbers: [2528]
2528,39 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
35,
86,
70,
30
] | 49 | [
"86-35=51",
"70+30=100",
"100-51=49"
] | Current State: 49:[35, 86, 70, 30], Operations: []
Exploring Operation: 86-35=51, Resulting Numbers: [70, 30, 51]
Generated Node #2: [70, 30, 51] from Operation: 86-35=51
Current State: 49:[70, 30, 51], Operations: ['86-35=51']
Exploring Operation: 70+30=100, Resulting Numbers: [51, 100]
Generated Node #3: [51, 100] from Operation: 70+30=100
Current State: 49:[51, 100], Operations: ['86-35=51', '70+30=100']
Exploring Operation: 100-51=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[35, 86, 70, 30], Operations: []
Exploring Operation: 86-35=51, Resulting Numbers: [70, 30, 51]
Generated Node #0,0: 49:[70, 30, 51] Operation: 86-35=51
Exploring Operation: 35-30=5, Resulting Numbers: [86, 70, 5]
Generated Node #0,1: 49:[86, 70, 5] Operation: 35-30=5
Exploring Operation: 86-30=56, Resulting Numbers: [35, 70, 56]
Generated Node #0,2: 49:[35, 70, 56] Operation: 86-30=56
Exploring Operation: 70-30=40, Resulting Numbers: [35, 86, 40]
Generated Node #0,3: 49:[35, 86, 40] Operation: 70-30=40
Exploring Operation: 86-70=16, Resulting Numbers: [35, 30, 16]
Generated Node #0,4: 49:[35, 30, 16] Operation: 86-70=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[70, 30, 51], Operations: ['86-35=51']
Exploring Operation: 51-30=21, Resulting Numbers: [70, 21]
Generated Node #0,0,0: 49:[70, 21] Operation: 51-30=21
Exploring Operation: 70-51=19, Resulting Numbers: [30, 19]
Generated Node #0,0,1: 49:[30, 19] Operation: 70-51=19
Exploring Operation: 70+30=100, Resulting Numbers: [51, 100]
Generated Node #0,0,2: 49:[51, 100] Operation: 70+30=100
Exploring Operation: 70-30=40, Resulting Numbers: [51, 40]
Generated Node #0,0,3: 49:[51, 40] Operation: 70-30=40
Exploring Operation: 30+51=81, Resulting Numbers: [70, 81]
Generated Node #0,0,4: 49:[70, 81] Operation: 30+51=81
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 49:[51, 40], Operations: ['86-35=51', '70-30=40']
Exploring Operation: 51+40=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 51*40=2040, Resulting Numbers: [2040]
2040,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[30, 19], Operations: ['86-35=51', '70-51=19']
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[35, 86, 70, 30], Operations: []
Exploring Operation: 86-35=51, Resulting Numbers: [70, 30, 51]
Generated Node #0,0: 49:[70, 30, 51] Operation: 86-35=51
Moving to Node #0,0
Current State: 49:[70, 30, 51], Operations: ['86-35=51']
Exploring Operation: 70-51=19, Resulting Numbers: [30, 19]
Generated Node #0,0,1: 49:[30, 19] Operation: 70-51=19
Moving to Node #0,0,1
Current State: 49:[30, 19], Operations: ['86-35=51', '70-51=19']
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
74,
32,
4,
33
] | 13 | [
"74-32=42",
"33-4=29",
"42-29=13"
] | Current State: 13:[74, 32, 4, 33], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [4, 33, 42]
Generated Node #2: [4, 33, 42] from Operation: 74-32=42
Current State: 13:[4, 33, 42], Operations: ['74-32=42']
Exploring Operation: 33-4=29, Resulting Numbers: [42, 29]
Generated Node #3: [42, 29] from Operation: 33-4=29
Current State: 13:[42, 29], Operations: ['74-32=42', '33-4=29']
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[74, 32, 4, 33], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [4, 33, 42]
Generated Node #0,0: 13:[4, 33, 42] Operation: 74-32=42
Exploring Operation: 74-33=41, Resulting Numbers: [32, 4, 41]
Generated Node #0,1: 13:[32, 4, 41] Operation: 74-33=41
Exploring Operation: 33-32=1, Resulting Numbers: [74, 4, 1]
Generated Node #0,2: 13:[74, 4, 1] Operation: 33-32=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[32, 4, 41], Operations: ['74-33=41']
Exploring Operation: 32-4=28, Resulting Numbers: [41, 28]
Generated Node #0,1,0: 13:[41, 28] Operation: 32-4=28
Exploring Operation: 32/4=8, Resulting Numbers: [41, 8]
Generated Node #0,1,1: 13:[41, 8] Operation: 32/4=8
Exploring Operation: 41-32=9, Resulting Numbers: [4, 9]
Generated Node #0,1,2: 13:[4, 9] Operation: 41-32=9
Moving to Node #0,1,2
Current State: 13:[4, 9], Operations: ['74-33=41', '41-32=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[74, 32, 4, 33], Operations: []
Exploring Operation: 74-33=41, Resulting Numbers: [32, 4, 41]
Generated Node #0,1: 13:[32, 4, 41] Operation: 74-33=41
Moving to Node #0,1
Current State: 13:[32, 4, 41], Operations: ['74-33=41']
Exploring Operation: 41-32=9, Resulting Numbers: [4, 9]
Generated Node #0,1,2: 13:[4, 9] Operation: 41-32=9
Moving to Node #0,1,2
Current State: 13:[4, 9], Operations: ['74-33=41', '41-32=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
95,
71,
3,
42
] | 15 | [
"95-71=24",
"42-3=39",
"39-24=15"
] | Current State: 15:[95, 71, 3, 42], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [3, 42, 24]
Generated Node #2: [3, 42, 24] from Operation: 95-71=24
Current State: 15:[3, 42, 24], Operations: ['95-71=24']
Exploring Operation: 42-3=39, Resulting Numbers: [24, 39]
Generated Node #3: [24, 39] from Operation: 42-3=39
Current State: 15:[24, 39], Operations: ['95-71=24', '42-3=39']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[95, 71, 3, 42], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [3, 42, 24]
Generated Node #0,0: 15:[3, 42, 24] Operation: 95-71=24
Exploring Operation: 71-42=29, Resulting Numbers: [95, 3, 29]
Generated Node #0,1: 15:[95, 3, 29] Operation: 71-42=29
Exploring Operation: 95-42=53, Resulting Numbers: [71, 3, 53]
Generated Node #0,2: 15:[71, 3, 53] Operation: 95-42=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[3, 42, 24], Operations: ['95-71=24']
Exploring Operation: 24/3=8, Resulting Numbers: [42, 8]
Generated Node #0,0,0: 15:[42, 8] Operation: 24/3=8
Exploring Operation: 42/3=14, Resulting Numbers: [24, 14]
Generated Node #0,0,1: 15:[24, 14] Operation: 42/3=14
Exploring Operation: 42-24=18, Resulting Numbers: [3, 18]
Generated Node #0,0,2: 15:[3, 18] Operation: 42-24=18
Moving to Node #0,0,2
Current State: 15:[3, 18], Operations: ['95-71=24', '42-24=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[95, 71, 3, 42], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [3, 42, 24]
Generated Node #0,0: 15:[3, 42, 24] Operation: 95-71=24
Moving to Node #0,0
Current State: 15:[3, 42, 24], Operations: ['95-71=24']
Exploring Operation: 42-24=18, Resulting Numbers: [3, 18]
Generated Node #0,0,2: 15:[3, 18] Operation: 42-24=18
Moving to Node #0,0,2
Current State: 15:[3, 18], Operations: ['95-71=24', '42-24=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
68,
87,
33,
51
] | 72 | [
"87-33=54",
"68*54=3672",
"3672/51=72"
] | Current State: 72:[68, 87, 33, 51], Operations: []
Exploring Operation: 87-33=54, Resulting Numbers: [68, 51, 54]
Generated Node #2: [68, 51, 54] from Operation: 87-33=54
Current State: 72:[68, 51, 54], Operations: ['87-33=54']
Exploring Operation: 68*54=3672, Resulting Numbers: [51, 3672]
Generated Node #3: [51, 3672] from Operation: 68*54=3672
Current State: 72:[51, 3672], Operations: ['87-33=54', '68*54=3672']
Exploring Operation: 3672/51=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[68, 87, 33, 51], Operations: []
Exploring Operation: 87-51=36, Resulting Numbers: [68, 33, 36]
Generated Node #0,0: 72:[68, 33, 36] Operation: 87-51=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[68, 33, 36], Operations: ['87-51=36']
Exploring Operation: 68-33=35, Resulting Numbers: [36, 35]
Generated Node #0,0,0: 72:[36, 35] Operation: 68-33=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[36, 35], Operations: ['87-51=36', '68-33=35']
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,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 | sum_heuristic |
[
34,
16,
5,
7
] | 73 | [
"34+5=39",
"16*7=112",
"112-39=73"
] | Current State: 73:[34, 16, 5, 7], Operations: []
Exploring Operation: 34+5=39, Resulting Numbers: [16, 7, 39]
Generated Node #2: [16, 7, 39] from Operation: 34+5=39
Current State: 73:[16, 7, 39], Operations: ['34+5=39']
Exploring Operation: 16*7=112, Resulting Numbers: [39, 112]
Generated Node #3: [39, 112] from Operation: 16*7=112
Current State: 73:[39, 112], Operations: ['34+5=39', '16*7=112']
Exploring Operation: 112-39=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[34, 16, 5, 7], Operations: []
Exploring Operation: 16*5=80, Resulting Numbers: [34, 7, 80]
Generated Node #0,0: 73:[34, 7, 80] Operation: 16*5=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[34, 7, 80], Operations: ['16*5=80']
Exploring Operation: 34+7=41, Resulting Numbers: [80, 41]
Generated Node #0,0,0: 73:[80, 41] Operation: 34+7=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[80, 41], Operations: ['16*5=80', '34+7=41']
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
25,
86,
21,
33
] | 49 | [
"86-25=61",
"33-21=12",
"61-12=49"
] | Current State: 49:[25, 86, 21, 33], Operations: []
Exploring Operation: 86-25=61, Resulting Numbers: [21, 33, 61]
Generated Node #2: [21, 33, 61] from Operation: 86-25=61
Current State: 49:[21, 33, 61], Operations: ['86-25=61']
Exploring Operation: 33-21=12, Resulting Numbers: [61, 12]
Generated Node #3: [61, 12] from Operation: 33-21=12
Current State: 49:[61, 12], Operations: ['86-25=61', '33-21=12']
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[25, 86, 21, 33], Operations: []
Exploring Operation: 86-33=53, Resulting Numbers: [25, 21, 53]
Generated Node #0,0: 49:[25, 21, 53] Operation: 86-33=53
Exploring Operation: 33-25=8, Resulting Numbers: [86, 21, 8]
Generated Node #0,1: 49:[86, 21, 8] Operation: 33-25=8
Exploring Operation: 86-21=65, Resulting Numbers: [25, 33, 65]
Generated Node #0,2: 49:[25, 33, 65] Operation: 86-21=65
Exploring Operation: 86-25=61, Resulting Numbers: [21, 33, 61]
Generated Node #0,3: 49:[21, 33, 61] Operation: 86-25=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[25, 21, 53], Operations: ['86-33=53']
Exploring Operation: 53-21=32, Resulting Numbers: [25, 32]
Generated Node #0,0,0: 49:[25, 32] Operation: 53-21=32
Exploring Operation: 25+21=46, Resulting Numbers: [53, 46]
Generated Node #0,0,1: 49:[53, 46] Operation: 25+21=46
Exploring Operation: 25-21=4, Resulting Numbers: [53, 4]
Generated Node #0,0,2: 49:[53, 4] Operation: 25-21=4
Exploring Operation: 53-25=28, Resulting Numbers: [21, 28]
Generated Node #0,0,3: 49:[21, 28] Operation: 53-25=28
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[53, 46], Operations: ['86-33=53', '25+21=46']
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 53*46=2438, Resulting Numbers: [2438]
2438,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[53, 4], Operations: ['86-33=53', '25-21=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,49 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[25, 86, 21, 33], Operations: []
Exploring Operation: 86-33=53, Resulting Numbers: [25, 21, 53]
Generated Node #0,0: 49:[25, 21, 53] Operation: 86-33=53
Moving to Node #0,0
Current State: 49:[25, 21, 53], Operations: ['86-33=53']
Exploring Operation: 25-21=4, Resulting Numbers: [53, 4]
Generated Node #0,0,2: 49:[53, 4] Operation: 25-21=4
Moving to Node #0,0,2
Current State: 49:[53, 4], Operations: ['86-33=53', '25-21=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
26,
22,
63,
22
] | 90 | [
"26+63=89",
"22/22=1",
"89+1=90"
] | Current State: 90:[26, 22, 63, 22], Operations: []
Exploring Operation: 26+63=89, Resulting Numbers: [22, 22, 89]
Generated Node #2: [22, 22, 89] from Operation: 26+63=89
Current State: 90:[22, 22, 89], Operations: ['26+63=89']
Exploring Operation: 22/22=1, Resulting Numbers: [89, 1]
Generated Node #3: [89, 1] from Operation: 22/22=1
Current State: 90:[89, 1], Operations: ['26+63=89', '22/22=1']
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[26, 22, 63, 22], Operations: []
Exploring Operation: 63-22=41, Resulting Numbers: [26, 22, 41]
Generated Node #0,0: 90:[26, 22, 41] Operation: 63-22=41
Exploring Operation: 26+63=89, Resulting Numbers: [22, 22, 89]
Generated Node #0,1: 90:[22, 22, 89] Operation: 26+63=89
Moving to Node #0,1
Current State: 90:[22, 22, 89], Operations: ['26+63=89']
Exploring Operation: 22+22=44, Resulting Numbers: [89, 44]
Generated Node #0,1,0: 90:[89, 44] Operation: 22+22=44
Exploring Operation: 22/22=1, Resulting Numbers: [89, 1]
Generated Node #0,1,1: 90:[89, 1] Operation: 22/22=1
Moving to Node #0,0
Current State: 90:[26, 22, 41], Operations: ['63-22=41']
Exploring Operation: 41-26=15, Resulting Numbers: [22, 15]
Generated Node #0,0,0: 90:[22, 15] Operation: 41-26=15
Exploring Operation: 26-22=4, Resulting Numbers: [41, 4]
Generated Node #0,0,1: 90:[41, 4] Operation: 26-22=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[22, 15], Operations: ['63-22=41', '41-26=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[41, 4], Operations: ['63-22=41', '26-22=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,90 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: 90:[89, 44], Operations: ['26+63=89', '22+22=44']
Exploring Operation: 89+44=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Exploring Operation: 89-44=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[89, 1], Operations: ['26+63=89', '22/22=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[26, 22, 63, 22], Operations: []
Exploring Operation: 26+63=89, Resulting Numbers: [22, 22, 89]
Generated Node #0,1: 90:[22, 22, 89] Operation: 26+63=89
Moving to Node #0,1
Current State: 90:[22, 22, 89], Operations: ['26+63=89']
Exploring Operation: 22/22=1, Resulting Numbers: [89, 1]
Generated Node #0,1,1: 90:[89, 1] Operation: 22/22=1
Moving to Node #0,1,1
Current State: 90:[89, 1], Operations: ['26+63=89', '22/22=1']
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
4,
95,
18,
29
] | 52 | [
"4+95=99",
"18+29=47",
"99-47=52"
] | Current State: 52:[4, 95, 18, 29], Operations: []
Exploring Operation: 4+95=99, Resulting Numbers: [18, 29, 99]
Generated Node #2: [18, 29, 99] from Operation: 4+95=99
Current State: 52:[18, 29, 99], Operations: ['4+95=99']
Exploring Operation: 18+29=47, Resulting Numbers: [99, 47]
Generated Node #3: [99, 47] from Operation: 18+29=47
Current State: 52:[99, 47], Operations: ['4+95=99', '18+29=47']
Exploring Operation: 99-47=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[4, 95, 18, 29], Operations: []
Exploring Operation: 95-29=66, Resulting Numbers: [4, 18, 66]
Generated Node #0,0: 52:[4, 18, 66] Operation: 95-29=66
Exploring Operation: 95-4=91, Resulting Numbers: [18, 29, 91]
Generated Node #0,1: 52:[18, 29, 91] Operation: 95-4=91
Exploring Operation: 29-18=11, Resulting Numbers: [4, 95, 11]
Generated Node #0,2: 52:[4, 95, 11] Operation: 29-18=11
Exploring Operation: 95-18=77, Resulting Numbers: [4, 29, 77]
Generated Node #0,3: 52:[4, 29, 77] Operation: 95-18=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[4, 18, 66], Operations: ['95-29=66']
Exploring Operation: 66-18=48, Resulting Numbers: [4, 48]
Generated Node #0,0,0: 52:[4, 48] Operation: 66-18=48
Exploring Operation: 66-4=62, Resulting Numbers: [18, 62]
Generated Node #0,0,1: 52:[18, 62] Operation: 66-4=62
Exploring Operation: 18-4=14, Resulting Numbers: [66, 14]
Generated Node #0,0,2: 52:[66, 14] Operation: 18-4=14
Exploring Operation: 4+18=22, Resulting Numbers: [66, 22]
Generated Node #0,0,3: 52:[66, 22] Operation: 4+18=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[4, 48], Operations: ['95-29=66', '66-18=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[4, 95, 18, 29], Operations: []
Exploring Operation: 95-29=66, Resulting Numbers: [4, 18, 66]
Generated Node #0,0: 52:[4, 18, 66] Operation: 95-29=66
Moving to Node #0,0
Current State: 52:[4, 18, 66], Operations: ['95-29=66']
Exploring Operation: 66-18=48, Resulting Numbers: [4, 48]
Generated Node #0,0,0: 52:[4, 48] Operation: 66-18=48
Moving to Node #0,0,0
Current State: 52:[4, 48], Operations: ['95-29=66', '66-18=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
8,
92,
7,
70
] | 82 | [
"92-8=84",
"84/7=12",
"70+12=82"
] | Current State: 82:[8, 92, 7, 70], Operations: []
Exploring Operation: 92-8=84, Resulting Numbers: [7, 70, 84]
Generated Node #2: [7, 70, 84] from Operation: 92-8=84
Current State: 82:[7, 70, 84], Operations: ['92-8=84']
Exploring Operation: 84/7=12, Resulting Numbers: [70, 12]
Generated Node #3: [70, 12] from Operation: 84/7=12
Current State: 82:[70, 12], Operations: ['92-8=84', '84/7=12']
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[8, 92, 7, 70], Operations: []
Exploring Operation: 92-8=84, Resulting Numbers: [7, 70, 84]
Generated Node #0,0: 82:[7, 70, 84] Operation: 92-8=84
Exploring Operation: 92-7=85, Resulting Numbers: [8, 70, 85]
Generated Node #0,1: 82:[8, 70, 85] Operation: 92-7=85
Exploring Operation: 8+70=78, Resulting Numbers: [92, 7, 78]
Generated Node #0,2: 82:[92, 7, 78] Operation: 8+70=78
Exploring Operation: 8-7=1, Resulting Numbers: [92, 70, 1]
Generated Node #0,3: 82:[92, 70, 1] Operation: 8-7=1
Exploring Operation: 7+70=77, Resulting Numbers: [8, 92, 77]
Generated Node #0,4: 82:[8, 92, 77] Operation: 7+70=77
Moving to Node #0,0
Current State: 82:[7, 70, 84], Operations: ['92-8=84']
Exploring Operation: 7+70=77, Resulting Numbers: [84, 77]
Generated Node #0,0,0: 82:[84, 77] Operation: 7+70=77
Exploring Operation: 70-7=63, Resulting Numbers: [84, 63]
Generated Node #0,0,1: 82:[84, 63] Operation: 70-7=63
Exploring Operation: 84-7=77, Resulting Numbers: [70, 77]
Generated Node #0,0,2: 82:[70, 77] Operation: 84-7=77
Exploring Operation: 70/7=10, Resulting Numbers: [84, 10]
Generated Node #0,0,3: 82:[84, 10] Operation: 70/7=10
Exploring Operation: 84-70=14, Resulting Numbers: [7, 14]
Generated Node #0,0,4: 82:[7, 14] Operation: 84-70=14
Moving to Node #0,2
Current State: 82:[92, 7, 78], Operations: ['8+70=78']
Exploring Operation: 78-7=71, Resulting Numbers: [92, 71]
Generated Node #0,2,0: 82:[92, 71] Operation: 78-7=71
Exploring Operation: 92-7=85, Resulting Numbers: [78, 85]
Generated Node #0,2,1: 82:[78, 85] Operation: 92-7=85
Exploring Operation: 92+7=99, Resulting Numbers: [78, 99]
Generated Node #0,2,2: 82:[78, 99] Operation: 92+7=99
Exploring Operation: 92-78=14, Resulting Numbers: [7, 14]
Generated Node #0,2,3: 82:[7, 14] Operation: 92-78=14
Exploring Operation: 7+78=85, Resulting Numbers: [92, 85]
Generated Node #0,2,4: 82:[92, 85] Operation: 7+78=85
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[78, 85], Operations: ['8+70=78', '92-7=85']
Exploring Operation: 78+85=163, Resulting Numbers: [163]
163,82 unequal: No Solution
Exploring Operation: 78*85=6630, Resulting Numbers: [6630]
6630,82 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 82:[92, 85], Operations: ['8+70=78', '7+78=85']
Exploring Operation: 92-85=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 92*85=7820, Resulting Numbers: [7820]
7820,82 unequal: No Solution
Exploring Operation: 92+85=177, Resulting Numbers: [177]
177,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 82:[7, 14], Operations: ['8+70=78', '92-78=14']
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[92, 71], Operations: ['8+70=78', '78-7=71']
Exploring Operation: 92*71=6532, Resulting Numbers: [6532]
6532,82 unequal: No Solution
Exploring Operation: 92+71=163, Resulting Numbers: [163]
163,82 unequal: No Solution
Exploring Operation: 92-71=21, Resulting Numbers: [21]
21,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[78, 99], Operations: ['8+70=78', '92+7=99']
Exploring Operation: 78+99=177, Resulting Numbers: [177]
177,82 unequal: No Solution
Exploring Operation: 78*99=7722, Resulting Numbers: [7722]
7722,82 unequal: No Solution
Exploring Operation: 99-78=21, Resulting Numbers: [21]
21,82 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: 82:[8, 70, 85], Operations: ['92-7=85']
Exploring Operation: 8+85=93, Resulting Numbers: [70, 93]
Generated Node #0,1,0: 82:[70, 93] Operation: 8+85=93
Exploring Operation: 70-8=62, Resulting Numbers: [85, 62]
Generated Node #0,1,1: 82:[85, 62] Operation: 70-8=62
Exploring Operation: 8+70=78, Resulting Numbers: [85, 78]
Generated Node #0,1,2: 82:[85, 78] Operation: 8+70=78
Exploring Operation: 85-8=77, Resulting Numbers: [70, 77]
Generated Node #0,1,3: 82:[70, 77] Operation: 85-8=77
Exploring Operation: 85-70=15, Resulting Numbers: [8, 15]
Generated Node #0,1,4: 82:[8, 15] Operation: 85-70=15
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 82:[85, 78], Operations: ['92-7=85', '8+70=78']
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 85+78=163, Resulting Numbers: [163]
163,82 unequal: No Solution
Exploring Operation: 85*78=6630, Resulting Numbers: [6630]
6630,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 82:[70, 77], Operations: ['92-7=85', '85-8=77']
Exploring Operation: 77-70=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 70+77=147, Resulting Numbers: [147]
147,82 unequal: No Solution
Exploring Operation: 70*77=5390, Resulting Numbers: [5390]
5390,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 82:[8, 15], Operations: ['92-7=85', '85-70=15']
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,82 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,82 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[70, 93], Operations: ['92-7=85', '8+85=93']
Exploring Operation: 70+93=163, Resulting Numbers: [163]
163,82 unequal: No Solution
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,82 unequal: No Solution
Exploring Operation: 70*93=6510, Resulting Numbers: [6510]
6510,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[85, 62], Operations: ['92-7=85', '70-8=62']
Exploring Operation: 85+62=147, Resulting Numbers: [147]
147,82 unequal: No Solution
Exploring Operation: 85*62=5270, Resulting Numbers: [5270]
5270,82 unequal: No Solution
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,82 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: 82:[8, 92, 77], Operations: ['7+70=77']
Exploring Operation: 77-8=69, Resulting Numbers: [92, 69]
Generated Node #0,4,0: 82:[92, 69] Operation: 77-8=69
Exploring Operation: 8+77=85, Resulting Numbers: [92, 85]
Generated Node #0,4,1: 82:[92, 85] Operation: 8+77=85
Exploring Operation: 92-8=84, Resulting Numbers: [77, 84]
Generated Node #0,4,2: 82:[77, 84] Operation: 92-8=84
Exploring Operation: 8+92=100, Resulting Numbers: [77, 100]
Generated Node #0,4,3: 82:[77, 100] Operation: 8+92=100
Exploring Operation: 92-77=15, Resulting Numbers: [8, 15]
Generated Node #0,4,4: 82:[8, 15] Operation: 92-77=15
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 82:[77, 84], Operations: ['7+70=77', '92-8=84']
Exploring Operation: 77+84=161, Resulting Numbers: [161]
161,82 unequal: No Solution
Exploring Operation: 77*84=6468, Resulting Numbers: [6468]
6468,82 unequal: No Solution
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 82:[92, 85], Operations: ['7+70=77', '8+77=85']
Exploring Operation: 92+85=177, Resulting Numbers: [177]
177,82 unequal: No Solution
Exploring Operation: 92-85=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 92*85=7820, Resulting Numbers: [7820]
7820,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 82:[8, 15], Operations: ['7+70=77', '92-77=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,82 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 82:[92, 69], Operations: ['7+70=77', '77-8=69']
Exploring Operation: 92-69=23, Resulting Numbers: [23]
23,82 unequal: No Solution
Exploring Operation: 92*69=6348, Resulting Numbers: [6348]
6348,82 unequal: No Solution
Exploring Operation: 92+69=161, Resulting Numbers: [161]
161,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 82:[77, 100], Operations: ['7+70=77', '8+92=100']
Exploring Operation: 100-77=23, Resulting Numbers: [23]
23,82 unequal: No Solution
Exploring Operation: 77+100=177, Resulting Numbers: [177]
177,82 unequal: No Solution
Exploring Operation: 77*100=7700, Resulting Numbers: [7700]
7700,82 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: 82:[92, 70, 1], Operations: ['8-7=1']
Exploring Operation: 92-1=91, Resulting Numbers: [70, 91]
Generated Node #0,3,0: 82:[70, 91] Operation: 92-1=91
Exploring Operation: 92/1=92, Resulting Numbers: [70, 92]
Generated Node #0,3,1: 82:[70, 92] Operation: 92/1=92
Exploring Operation: 92-70=22, Resulting Numbers: [1, 22]
Generated Node #0,3,2: 82:[1, 22] Operation: 92-70=22
Exploring Operation: 92*1=92, Resulting Numbers: [70, 92]
Generated Node #0,3,3: 82:[70, 92] Operation: 92*1=92
Exploring Operation: 70+1=71, Resulting Numbers: [92, 71]
Generated Node #0,3,4: 82:[92, 71] Operation: 70+1=71
Moving to Node #0,0,0
Current State: 82:[84, 77], Operations: ['92-8=84', '7+70=77']
Exploring Operation: 84+77=161, Resulting Numbers: [161]
161,82 unequal: No Solution
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 84*77=6468, Resulting Numbers: [6468]
6468,82 unequal: No Solution
Moving to Node #0,0,3
Current State: 82:[84, 10], Operations: ['92-8=84', '70/7=10']
Exploring Operation: 84*10=840, Resulting Numbers: [840]
840,82 unequal: No Solution
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,82 unequal: No Solution
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[70, 77], Operations: ['92-8=84', '84-7=77']
Exploring Operation: 70*77=5390, Resulting Numbers: [5390]
5390,82 unequal: No Solution
Exploring Operation: 70+77=147, Resulting Numbers: [147]
147,82 unequal: No Solution
Exploring Operation: 77-70=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Moving to Node #0,0,4
Current State: 82:[7, 14], Operations: ['92-8=84', '84-70=14']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,82 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Moving to Node #0,3,2
Current State: 82:[1, 22], Operations: ['8-7=1', '92-70=22']
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,82 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,82 unequal: No Solution
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,82 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Moving to Node #0,3,0
Current State: 82:[70, 91], Operations: ['8-7=1', '92-1=91']
Exploring Operation: 91-70=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 70+91=161, Resulting Numbers: [161]
161,82 unequal: No Solution
Exploring Operation: 70*91=6370, Resulting Numbers: [6370]
6370,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[84, 63], Operations: ['92-8=84', '70-7=63']
Exploring Operation: 84+63=147, Resulting Numbers: [147]
147,82 unequal: No Solution
Exploring Operation: 84-63=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 84*63=5292, Resulting Numbers: [5292]
5292,82 unequal: No Solution
Moving to Node #0,3,4
Current State: 82:[92, 71], Operations: ['8-7=1', '70+1=71']
Exploring Operation: 92-71=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 92*71=6532, Resulting Numbers: [6532]
6532,82 unequal: No Solution
Exploring Operation: 92+71=163, Resulting Numbers: [163]
163,82 unequal: No Solution
Moving to Node #0,3,3
Current State: 82:[70, 92], Operations: ['8-7=1', '92*1=92']
Exploring Operation: 70*92=6440, Resulting Numbers: [6440]
6440,82 unequal: No Solution
Exploring Operation: 70+92=162, Resulting Numbers: [162]
162,82 unequal: No Solution
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,82 unequal: No Solution
Moving to Node #0,3,1
Current State: 82:[70, 92], Operations: ['8-7=1', '92/1=92']
Exploring Operation: 70+92=162, Resulting Numbers: [162]
162,82 unequal: No Solution
Exploring Operation: 70*92=6440, Resulting Numbers: [6440]
6440,82 unequal: No Solution
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,82 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
59,
69,
64,
21
] | 75 | [
"69-59=10",
"64+21=85",
"85-10=75"
] | Current State: 75:[59, 69, 64, 21], Operations: []
Exploring Operation: 69-59=10, Resulting Numbers: [64, 21, 10]
Generated Node #2: [64, 21, 10] from Operation: 69-59=10
Current State: 75:[64, 21, 10], Operations: ['69-59=10']
Exploring Operation: 64+21=85, Resulting Numbers: [10, 85]
Generated Node #3: [10, 85] from Operation: 64+21=85
Current State: 75:[10, 85], Operations: ['69-59=10', '64+21=85']
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[59, 69, 64, 21], Operations: []
Exploring Operation: 69-59=10, Resulting Numbers: [64, 21, 10]
Generated Node #0,0: 75:[64, 21, 10] Operation: 69-59=10
Exploring Operation: 64-59=5, Resulting Numbers: [69, 21, 5]
Generated Node #0,1: 75:[69, 21, 5] Operation: 64-59=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[69, 21, 5], Operations: ['64-59=5']
Exploring Operation: 69+5=74, Resulting Numbers: [21, 74]
Generated Node #0,1,0: 75:[21, 74] Operation: 69+5=74
Exploring Operation: 21+5=26, Resulting Numbers: [69, 26]
Generated Node #0,1,1: 75:[69, 26] Operation: 21+5=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[21, 74], Operations: ['64-59=5', '69+5=74']
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,75 unequal: No Solution
Exploring Operation: 21+74=95, Resulting Numbers: [95]
95,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[69, 26], Operations: ['64-59=5', '21+5=26']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,75 unequal: No Solution
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[64, 21, 10], Operations: ['69-59=10']
Exploring Operation: 64+10=74, Resulting Numbers: [21, 74]
Generated Node #0,0,0: 75:[21, 74] Operation: 64+10=74
Exploring Operation: 64+21=85, Resulting Numbers: [10, 85]
Generated Node #0,0,1: 75:[10, 85] Operation: 64+21=85
Moving to Node #0,0,0
Current State: 75:[21, 74], Operations: ['69-59=10', '64+10=74']
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,75 unequal: No Solution
Exploring Operation: 21+74=95, Resulting Numbers: [95]
95,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[10, 85], Operations: ['69-59=10', '64+21=85']
Exploring Operation: 10+85=95, Resulting Numbers: [95]
95,75 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[59, 69, 64, 21], Operations: []
Exploring Operation: 69-59=10, Resulting Numbers: [64, 21, 10]
Generated Node #0,0: 75:[64, 21, 10] Operation: 69-59=10
Moving to Node #0,0
Current State: 75:[64, 21, 10], Operations: ['69-59=10']
Exploring Operation: 64+21=85, Resulting Numbers: [10, 85]
Generated Node #0,0,1: 75:[10, 85] Operation: 64+21=85
Moving to Node #0,0,1
Current State: 75:[10, 85], Operations: ['69-59=10', '64+21=85']
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
93,
12,
29,
92
] | 16 | [
"93+12=105",
"29+92=121",
"121-105=16"
] | Current State: 16:[93, 12, 29, 92], Operations: []
Exploring Operation: 93+12=105, Resulting Numbers: [29, 92, 105]
Generated Node #2: [29, 92, 105] from Operation: 93+12=105
Current State: 16:[29, 92, 105], Operations: ['93+12=105']
Exploring Operation: 29+92=121, Resulting Numbers: [105, 121]
Generated Node #3: [105, 121] from Operation: 29+92=121
Current State: 16:[105, 121], Operations: ['93+12=105', '29+92=121']
Exploring Operation: 121-105=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[93, 12, 29, 92], Operations: []
Exploring Operation: 93-29=64, Resulting Numbers: [12, 92, 64]
Generated Node #0,0: 16:[12, 92, 64] Operation: 93-29=64
Exploring Operation: 93-92=1, Resulting Numbers: [12, 29, 1]
Generated Node #0,1: 16:[12, 29, 1] Operation: 93-92=1
Exploring Operation: 93-12=81, Resulting Numbers: [29, 92, 81]
Generated Node #0,2: 16:[29, 92, 81] Operation: 93-12=81
Exploring Operation: 92-29=63, Resulting Numbers: [93, 12, 63]
Generated Node #0,3: 16:[93, 12, 63] Operation: 92-29=63
Exploring Operation: 29-12=17, Resulting Numbers: [93, 92, 17]
Generated Node #0,4: 16:[93, 92, 17] Operation: 29-12=17
Moving to Node #0,1
Current State: 16:[12, 29, 1], Operations: ['93-92=1']
Exploring Operation: 12-1=11, Resulting Numbers: [29, 11]
Generated Node #0,1,0: 16:[29, 11] Operation: 12-1=11
Exploring Operation: 29-12=17, Resulting Numbers: [1, 17]
Generated Node #0,1,1: 16:[1, 17] Operation: 29-12=17
Exploring Operation: 29-1=28, Resulting Numbers: [12, 28]
Generated Node #0,1,2: 16:[12, 28] Operation: 29-1=28
Exploring Operation: 12*1=12, Resulting Numbers: [29, 12]
Generated Node #0,1,3: 16:[29, 12] Operation: 12*1=12
Exploring Operation: 12+1=13, Resulting Numbers: [29, 13]
Generated Node #0,1,4: 16:[29, 13] Operation: 12+1=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[1, 17], Operations: ['93-92=1', '29-12=17']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[93, 12, 29, 92], Operations: []
Exploring Operation: 93-92=1, Resulting Numbers: [12, 29, 1]
Generated Node #0,1: 16:[12, 29, 1] Operation: 93-92=1
Moving to Node #0,1
Current State: 16:[12, 29, 1], Operations: ['93-92=1']
Exploring Operation: 29-12=17, Resulting Numbers: [1, 17]
Generated Node #0,1,1: 16:[1, 17] Operation: 29-12=17
Moving to Node #0,1,1
Current State: 16:[1, 17], Operations: ['93-92=1', '29-12=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
25,
5,
3,
74
] | 48 | [
"25*5=125",
"3+74=77",
"125-77=48"
] | Current State: 48:[25, 5, 3, 74], Operations: []
Exploring Operation: 25*5=125, Resulting Numbers: [3, 74, 125]
Generated Node #2: [3, 74, 125] from Operation: 25*5=125
Current State: 48:[3, 74, 125], Operations: ['25*5=125']
Exploring Operation: 3+74=77, Resulting Numbers: [125, 77]
Generated Node #3: [125, 77] from Operation: 3+74=77
Current State: 48:[125, 77], Operations: ['25*5=125', '3+74=77']
Exploring Operation: 125-77=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[25, 5, 3, 74], Operations: []
Exploring Operation: 5+3=8, Resulting Numbers: [25, 74, 8]
Generated Node #0,0: 48:[25, 74, 8] Operation: 5+3=8
Exploring Operation: 25/5=5, Resulting Numbers: [3, 74, 5]
Generated Node #0,1: 48:[3, 74, 5] Operation: 25/5=5
Exploring Operation: 74-3=71, Resulting Numbers: [25, 5, 71]
Generated Node #0,2: 48:[25, 5, 71] Operation: 74-3=71
Exploring Operation: 74-5=69, Resulting Numbers: [25, 3, 69]
Generated Node #0,3: 48:[25, 3, 69] Operation: 74-5=69
Exploring Operation: 74-25=49, Resulting Numbers: [5, 3, 49]
Generated Node #0,4: 48:[5, 3, 49] Operation: 74-25=49
Moving to Node #0,4
Current State: 48:[5, 3, 49], Operations: ['74-25=49']
Exploring Operation: 5+3=8, Resulting Numbers: [49, 8]
Generated Node #0,4,0: 48:[49, 8] Operation: 5+3=8
Exploring Operation: 49-3=46, Resulting Numbers: [5, 46]
Generated Node #0,4,1: 48:[5, 46] Operation: 49-3=46
Exploring Operation: 5*3=15, Resulting Numbers: [49, 15]
Generated Node #0,4,2: 48:[49, 15] Operation: 5*3=15
Exploring Operation: 5-3=2, Resulting Numbers: [49, 2]
Generated Node #0,4,3: 48:[49, 2] Operation: 5-3=2
Exploring Operation: 49-5=44, Resulting Numbers: [3, 44]
Generated Node #0,4,4: 48:[3, 44] Operation: 49-5=44
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 48:[49, 8], Operations: ['74-25=49', '5+3=8']
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,48 unequal: No Solution
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,48 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,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,4,3
Current State: 48:[49, 2], Operations: ['74-25=49', '5-3=2']
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,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,4,2
Current State: 48:[49, 15], Operations: ['74-25=49', '5*3=15']
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,48 unequal: No Solution
Exploring Operation: 49*15=735, Resulting Numbers: [735]
735,48 unequal: No Solution
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,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,4,1
Current State: 48:[5, 46], Operations: ['74-25=49', '49-3=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,48 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,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,4,4
Current State: 48:[3, 44], Operations: ['74-25=49', '49-5=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,48 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: 48:[25, 3, 69], Operations: ['74-5=69']
Exploring Operation: 69-25=44, Resulting Numbers: [3, 44]
Generated Node #0,3,0: 48:[3, 44] Operation: 69-25=44
Exploring Operation: 69-3=66, Resulting Numbers: [25, 66]
Generated Node #0,3,1: 48:[25, 66] Operation: 69-3=66
Exploring Operation: 25+3=28, Resulting Numbers: [69, 28]
Generated Node #0,3,2: 48:[69, 28] Operation: 25+3=28
Exploring Operation: 69/3=23, Resulting Numbers: [25, 23]
Generated Node #0,3,3: 48:[25, 23] Operation: 69/3=23
Exploring Operation: 25-3=22, Resulting Numbers: [69, 22]
Generated Node #0,3,4: 48:[69, 22] Operation: 25-3=22
Moving to Node #0,2
Current State: 48:[25, 5, 71], Operations: ['74-3=71']
Exploring Operation: 71-5=66, Resulting Numbers: [25, 66]
Generated Node #0,2,0: 48:[25, 66] Operation: 71-5=66
Exploring Operation: 25-5=20, Resulting Numbers: [71, 20]
Generated Node #0,2,1: 48:[71, 20] Operation: 25-5=20
Exploring Operation: 25/5=5, Resulting Numbers: [71, 5]
Generated Node #0,2,2: 48:[71, 5] Operation: 25/5=5
Exploring Operation: 71-25=46, Resulting Numbers: [5, 46]
Generated Node #0,2,3: 48:[5, 46] Operation: 71-25=46
Exploring Operation: 25+5=30, Resulting Numbers: [71, 30]
Generated Node #0,2,4: 48:[71, 30] Operation: 25+5=30
Moving to Node #0,0
Current State: 48:[25, 74, 8], Operations: ['5+3=8']
Exploring Operation: 74-8=66, Resulting Numbers: [25, 66]
Generated Node #0,0,0: 48:[25, 66] Operation: 74-8=66
Exploring Operation: 74-25=49, Resulting Numbers: [8, 49]
Generated Node #0,0,1: 48:[8, 49] Operation: 74-25=49
Exploring Operation: 25-8=17, Resulting Numbers: [74, 17]
Generated Node #0,0,2: 48:[74, 17] Operation: 25-8=17
Exploring Operation: 25+8=33, Resulting Numbers: [74, 33]
Generated Node #0,0,3: 48:[74, 33] Operation: 25+8=33
Exploring Operation: 74+8=82, Resulting Numbers: [25, 82]
Generated Node #0,0,4: 48:[25, 82] Operation: 74+8=82
Moving to Node #0,1
Current State: 48:[3, 74, 5], Operations: ['25/5=5']
Exploring Operation: 74-5=69, Resulting Numbers: [3, 69]
Generated Node #0,1,0: 48:[3, 69] Operation: 74-5=69
Exploring Operation: 5-3=2, Resulting Numbers: [74, 2]
Generated Node #0,1,1: 48:[74, 2] Operation: 5-3=2
Exploring Operation: 3*5=15, Resulting Numbers: [74, 15]
Generated Node #0,1,2: 48:[74, 15] Operation: 3*5=15
Exploring Operation: 3+5=8, Resulting Numbers: [74, 8]
Generated Node #0,1,3: 48:[74, 8] Operation: 3+5=8
Exploring Operation: 74-3=71, Resulting Numbers: [5, 71]
Generated Node #0,1,4: 48:[5, 71] Operation: 74-3=71
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[3, 69], Operations: ['25/5=5', '74-5=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 3*69=207, Resulting Numbers: [207]
207,48 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,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,1,4
Current State: 48:[5, 71], Operations: ['25/5=5', '74-3=71']
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 5*71=355, Resulting Numbers: [355]
355,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,1,1
Current State: 48:[74, 2], Operations: ['25/5=5', '5-3=2']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 74*2=148, Resulting Numbers: [148]
148,48 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,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,1,3
Current State: 48:[74, 8], Operations: ['25/5=5', '3+5=8']
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,48 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,48 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,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,1,2
Current State: 48:[74, 15], Operations: ['25/5=5', '3*5=15']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,48 unequal: No Solution
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,48 unequal: No Solution
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,48 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: 48:[8, 49], Operations: ['5+3=8', '74-25=49']
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,48 unequal: No Solution
Exploring Operation: 8*49=392, Resulting Numbers: [392]
392,48 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Moving to Node #0,3,3
Current State: 48:[25, 23], Operations: ['74-5=69', '69/3=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[25, 5, 3, 74], Operations: []
Exploring Operation: 74-5=69, Resulting Numbers: [25, 3, 69]
Generated Node #0,3: 48:[25, 3, 69] Operation: 74-5=69
Moving to Node #0,3
Current State: 48:[25, 3, 69], Operations: ['74-5=69']
Exploring Operation: 69/3=23, Resulting Numbers: [25, 23]
Generated Node #0,3,3: 48:[25, 23] Operation: 69/3=23
Moving to Node #0,3,3
Current State: 48:[25, 23], Operations: ['74-5=69', '69/3=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.939236 | hs_5 | sum_heuristic |
[
81,
28,
8,
4
] | 25 | [
"28*8=224",
"224/4=56",
"81-56=25"
] | Current State: 25:[81, 28, 8, 4], Operations: []
Exploring Operation: 28*8=224, Resulting Numbers: [81, 4, 224]
Generated Node #2: [81, 4, 224] from Operation: 28*8=224
Current State: 25:[81, 4, 224], Operations: ['28*8=224']
Exploring Operation: 224/4=56, Resulting Numbers: [81, 56]
Generated Node #3: [81, 56] from Operation: 224/4=56
Current State: 25:[81, 56], Operations: ['28*8=224', '224/4=56']
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[81, 28, 8, 4], Operations: []
Exploring Operation: 81-28=53, Resulting Numbers: [8, 4, 53]
Generated Node #0,0: 25:[8, 4, 53] Operation: 81-28=53
Exploring Operation: 81-8=73, Resulting Numbers: [28, 4, 73]
Generated Node #0,1: 25:[28, 4, 73] Operation: 81-8=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[8, 4, 53], Operations: ['81-28=53']
Exploring Operation: 53-8=45, Resulting Numbers: [4, 45]
Generated Node #0,0,0: 25:[4, 45] Operation: 53-8=45
Exploring Operation: 53-4=49, Resulting Numbers: [8, 49]
Generated Node #0,0,1: 25:[8, 49] Operation: 53-4=49
Moving to Node #0,0,0
Current State: 25:[4, 45], Operations: ['81-28=53', '53-8=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,25 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[8, 49], Operations: ['81-28=53', '53-4=49']
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[28, 4, 73], Operations: ['81-8=73']
Exploring Operation: 73-4=69, Resulting Numbers: [28, 69]
Generated Node #0,1,0: 25:[28, 69] Operation: 73-4=69
Exploring Operation: 73-28=45, Resulting Numbers: [4, 45]
Generated Node #0,1,1: 25:[4, 45] Operation: 73-28=45
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[4, 45], Operations: ['81-8=73', '73-28=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,25 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[28, 69], Operations: ['81-8=73', '73-4=69']
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 28+69=97, Resulting Numbers: [97]
97,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
11,
12,
2,
72
] | 59 | [
"11+12=23",
"72/2=36",
"23+36=59"
] | Current State: 59:[11, 12, 2, 72], Operations: []
Exploring Operation: 11+12=23, Resulting Numbers: [2, 72, 23]
Generated Node #2: [2, 72, 23] from Operation: 11+12=23
Current State: 59:[2, 72, 23], Operations: ['11+12=23']
Exploring Operation: 72/2=36, Resulting Numbers: [23, 36]
Generated Node #3: [23, 36] from Operation: 72/2=36
Current State: 59:[23, 36], Operations: ['11+12=23', '72/2=36']
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[11, 12, 2, 72], Operations: []
Exploring Operation: 11*2=22, Resulting Numbers: [12, 72, 22]
Generated Node #0,0: 59:[12, 72, 22] Operation: 11*2=22
Exploring Operation: 11+12=23, Resulting Numbers: [2, 72, 23]
Generated Node #0,1: 59:[2, 72, 23] Operation: 11+12=23
Exploring Operation: 12*2=24, Resulting Numbers: [11, 72, 24]
Generated Node #0,2: 59:[11, 72, 24] Operation: 12*2=24
Moving to Node #0,2
Current State: 59:[11, 72, 24], Operations: ['12*2=24']
Exploring Operation: 72-11=61, Resulting Numbers: [24, 61]
Generated Node #0,2,0: 59:[24, 61] Operation: 72-11=61
Exploring Operation: 11+72=83, Resulting Numbers: [24, 83]
Generated Node #0,2,1: 59:[24, 83] Operation: 11+72=83
Exploring Operation: 11+24=35, Resulting Numbers: [72, 35]
Generated Node #0,2,2: 59:[72, 35] Operation: 11+24=35
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[24, 61], Operations: ['12*2=24', '72-11=61']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 24*61=1464, Resulting Numbers: [1464]
1464,59 unequal: No Solution
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,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:[72, 35], Operations: ['12*2=24', '11+24=35']
Exploring Operation: 72*35=2520, Resulting Numbers: [2520]
2520,59 unequal: No Solution
Exploring Operation: 72+35=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,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:[24, 83], Operations: ['12*2=24', '11+72=83']
Exploring Operation: 24*83=1992, Resulting Numbers: [1992]
1992,59 unequal: No Solution
Exploring Operation: 24+83=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[11, 12, 2, 72], Operations: []
Exploring Operation: 12*2=24, Resulting Numbers: [11, 72, 24]
Generated Node #0,2: 59:[11, 72, 24] Operation: 12*2=24
Moving to Node #0,2
Current State: 59:[11, 72, 24], Operations: ['12*2=24']
Exploring Operation: 11+72=83, Resulting Numbers: [24, 83]
Generated Node #0,2,1: 59:[24, 83] Operation: 11+72=83
Moving to Node #0,2,1
Current State: 59:[24, 83], Operations: ['12*2=24', '11+72=83']
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
19,
36,
26,
63
] | 45 | [
"26-19=7",
"63/7=9",
"36+9=45"
] | Current State: 45:[19, 36, 26, 63], Operations: []
Exploring Operation: 26-19=7, Resulting Numbers: [36, 63, 7]
Generated Node #2: [36, 63, 7] from Operation: 26-19=7
Current State: 45:[36, 63, 7], Operations: ['26-19=7']
Exploring Operation: 63/7=9, Resulting Numbers: [36, 9]
Generated Node #3: [36, 9] from Operation: 63/7=9
Current State: 45:[36, 9], Operations: ['26-19=7', '63/7=9']
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[19, 36, 26, 63], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [19, 36, 37]
Generated Node #0,0: 45:[19, 36, 37] Operation: 63-26=37
Exploring Operation: 63-19=44, Resulting Numbers: [36, 26, 44]
Generated Node #0,1: 45:[36, 26, 44] Operation: 63-19=44
Exploring Operation: 36-26=10, Resulting Numbers: [19, 63, 10]
Generated Node #0,2: 45:[19, 63, 10] Operation: 36-26=10
Exploring Operation: 19+26=45, Resulting Numbers: [36, 63, 45]
Generated Node #0,3: 45:[36, 63, 45] Operation: 19+26=45
Moving to Node #0,0
Current State: 45:[19, 36, 37], Operations: ['63-26=37']
Exploring Operation: 37-36=1, Resulting Numbers: [19, 1]
Generated Node #0,0,0: 45:[19, 1] Operation: 37-36=1
Exploring Operation: 36-19=17, Resulting Numbers: [37, 17]
Generated Node #0,0,1: 45:[37, 17] Operation: 36-19=17
Exploring Operation: 19+36=55, Resulting Numbers: [37, 55]
Generated Node #0,0,2: 45:[37, 55] Operation: 19+36=55
Exploring Operation: 37-19=18, Resulting Numbers: [36, 18]
Generated Node #0,0,3: 45:[36, 18] Operation: 37-19=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[19, 1], Operations: ['63-26=37', '37-36=1']
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[37, 17], Operations: ['63-26=37', '36-19=17']
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,45 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 45:[36, 18], Operations: ['63-26=37', '37-19=18']
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,45 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 45:[37, 55], Operations: ['63-26=37', '19+36=55']
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 37*55=2035, Resulting Numbers: [2035]
2035,45 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 45:[36, 26, 44], Operations: ['63-19=44']
Exploring Operation: 36+26=62, Resulting Numbers: [44, 62]
Generated Node #0,1,0: 45:[44, 62] Operation: 36+26=62
Exploring Operation: 36-26=10, Resulting Numbers: [44, 10]
Generated Node #0,1,1: 45:[44, 10] Operation: 36-26=10
Exploring Operation: 44-36=8, Resulting Numbers: [26, 8]
Generated Node #0,1,2: 45:[26, 8] Operation: 44-36=8
Exploring Operation: 44-26=18, Resulting Numbers: [36, 18]
Generated Node #0,1,3: 45:[36, 18] Operation: 44-26=18
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[44, 10], Operations: ['63-19=44', '36-26=10']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[26, 8], Operations: ['63-19=44', '44-36=8']
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,45 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 45:[36, 18], Operations: ['63-19=44', '44-26=18']
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,45 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[44, 62], Operations: ['63-19=44', '36+26=62']
Exploring Operation: 44+62=106, Resulting Numbers: [106]
106,45 unequal: No Solution
Exploring Operation: 44*62=2728, Resulting Numbers: [2728]
2728,45 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 45:[19, 63, 10], Operations: ['36-26=10']
Exploring Operation: 63-10=53, Resulting Numbers: [19, 53]
Generated Node #0,2,0: 45:[19, 53] Operation: 63-10=53
Exploring Operation: 19+10=29, Resulting Numbers: [63, 29]
Generated Node #0,2,1: 45:[63, 29] Operation: 19+10=29
Exploring Operation: 63-19=44, Resulting Numbers: [10, 44]
Generated Node #0,2,2: 45:[10, 44] Operation: 63-19=44
Exploring Operation: 19-10=9, Resulting Numbers: [63, 9]
Generated Node #0,2,3: 45:[63, 9] Operation: 19-10=9
Moving to Node #0,3
Current State: 45:[36, 63, 45], Operations: ['19+26=45']
Exploring Operation: 45-36=9, Resulting Numbers: [63, 9]
Generated Node #0,3,0: 45:[63, 9] Operation: 45-36=9
Exploring Operation: 63-36=27, Resulting Numbers: [45, 27]
Generated Node #0,3,1: 45:[45, 27] Operation: 63-36=27
Exploring Operation: 36+63=99, Resulting Numbers: [45, 99]
Generated Node #0,3,2: 45:[45, 99] Operation: 36+63=99
Exploring Operation: 63-45=18, Resulting Numbers: [36, 18]
Generated Node #0,3,3: 45:[36, 18] Operation: 63-45=18
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[45, 27], Operations: ['19+26=45', '63-36=27']
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,45 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 45:[36, 18], Operations: ['19+26=45', '63-45=18']
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,45 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[63, 9], Operations: ['19+26=45', '45-36=9']
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,45 unequal: No Solution
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 45:[45, 99], Operations: ['19+26=45', '36+63=99']
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 45+99=144, Resulting Numbers: [144]
144,45 unequal: No Solution
Exploring Operation: 45*99=4455, Resulting Numbers: [4455]
4455,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 45:[10, 44], Operations: ['36-26=10', '63-19=44']
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,45 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[19, 53], Operations: ['36-26=10', '63-10=53']
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 19+53=72, Resulting Numbers: [72]
72,45 unequal: No Solution
Exploring Operation: 19*53=1007, Resulting Numbers: [1007]
1007,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[63, 9], Operations: ['36-26=10', '19-10=9']
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,45 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,45 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[63, 29], Operations: ['36-26=10', '19+10=29']
Exploring Operation: 63+29=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 63*29=1827, Resulting Numbers: [1827]
1827,45 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
17,
24,
25,
51
] | 15 | [
"17+24=41",
"51-25=26",
"41-26=15"
] | Current State: 15:[17, 24, 25, 51], Operations: []
Exploring Operation: 17+24=41, Resulting Numbers: [25, 51, 41]
Generated Node #2: [25, 51, 41] from Operation: 17+24=41
Current State: 15:[25, 51, 41], Operations: ['17+24=41']
Exploring Operation: 51-25=26, Resulting Numbers: [41, 26]
Generated Node #3: [41, 26] from Operation: 51-25=26
Current State: 15:[41, 26], Operations: ['17+24=41', '51-25=26']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[17, 24, 25, 51], Operations: []
Exploring Operation: 51-24=27, Resulting Numbers: [17, 25, 27]
Generated Node #0,0: 15:[17, 25, 27] Operation: 51-24=27
Exploring Operation: 51/17=3, Resulting Numbers: [24, 25, 3]
Generated Node #0,1: 15:[24, 25, 3] Operation: 51/17=3
Exploring Operation: 51-25=26, Resulting Numbers: [17, 24, 26]
Generated Node #0,2: 15:[17, 24, 26] Operation: 51-25=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[24, 25, 3], Operations: ['51/17=3']
Exploring Operation: 24-3=21, Resulting Numbers: [25, 21]
Generated Node #0,1,0: 15:[25, 21] Operation: 24-3=21
Exploring Operation: 24/3=8, Resulting Numbers: [25, 8]
Generated Node #0,1,1: 15:[25, 8] Operation: 24/3=8
Exploring Operation: 25-24=1, Resulting Numbers: [3, 1]
Generated Node #0,1,2: 15:[3, 1] Operation: 25-24=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 15:[3, 1], Operations: ['51/17=3', '25-24=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,15 unequal: No Solution
No 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: 15:[25, 8], Operations: ['51/17=3', '24/3=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,15 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,15 unequal: No Solution
No 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: 15:[25, 21], Operations: ['51/17=3', '24-3=21']
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,15 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,15 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: 15:[17, 24, 26], Operations: ['51-25=26']
Exploring Operation: 24-17=7, Resulting Numbers: [26, 7]
Generated Node #0,2,0: 15:[26, 7] Operation: 24-17=7
Exploring Operation: 26-17=9, Resulting Numbers: [24, 9]
Generated Node #0,2,1: 15:[24, 9] Operation: 26-17=9
Exploring Operation: 26-24=2, Resulting Numbers: [17, 2]
Generated Node #0,2,2: 15:[17, 2] Operation: 26-24=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 15:[17, 2], Operations: ['51-25=26', '26-24=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[17, 24, 25, 51], Operations: []
Exploring Operation: 51-25=26, Resulting Numbers: [17, 24, 26]
Generated Node #0,2: 15:[17, 24, 26] Operation: 51-25=26
Moving to Node #0,2
Current State: 15:[17, 24, 26], Operations: ['51-25=26']
Exploring Operation: 26-24=2, Resulting Numbers: [17, 2]
Generated Node #0,2,2: 15:[17, 2] Operation: 26-24=2
Moving to Node #0,2,2
Current State: 15:[17, 2], Operations: ['51-25=26', '26-24=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
14,
34,
17,
78
] | 46 | [
"14+78=92",
"34/17=2",
"92/2=46"
] | Current State: 46:[14, 34, 17, 78], Operations: []
Exploring Operation: 14+78=92, Resulting Numbers: [34, 17, 92]
Generated Node #2: [34, 17, 92] from Operation: 14+78=92
Current State: 46:[34, 17, 92], Operations: ['14+78=92']
Exploring Operation: 34/17=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 34/17=2
Current State: 46:[92, 2], Operations: ['14+78=92', '34/17=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[14, 34, 17, 78], Operations: []
Exploring Operation: 78-14=64, Resulting Numbers: [34, 17, 64]
Generated Node #0,0: 46:[34, 17, 64] Operation: 78-14=64
Exploring Operation: 78-34=44, Resulting Numbers: [14, 17, 44]
Generated Node #0,1: 46:[14, 17, 44] Operation: 78-34=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[14, 17, 44], Operations: ['78-34=44']
Exploring Operation: 17-14=3, Resulting Numbers: [44, 3]
Generated Node #0,1,0: 46:[44, 3] Operation: 17-14=3
Exploring Operation: 14+17=31, Resulting Numbers: [44, 31]
Generated Node #0,1,1: 46:[44, 31] Operation: 14+17=31
Moving to Node #0,1,0
Current State: 46:[44, 3], Operations: ['78-34=44', '17-14=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,46 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[44, 31], Operations: ['78-34=44', '14+17=31']
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,46 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[34, 17, 64], Operations: ['78-14=64']
Exploring Operation: 64-17=47, Resulting Numbers: [34, 47]
Generated Node #0,0,0: 46:[34, 47] Operation: 64-17=47
Exploring Operation: 64-34=30, Resulting Numbers: [17, 30]
Generated Node #0,0,1: 46:[17, 30] Operation: 64-34=30
Moving to Node #0,0,0
Current State: 46:[34, 47], Operations: ['78-14=64', '64-17=47']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[17, 30], Operations: ['78-14=64', '64-34=30']
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,46 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 |
[
32,
33,
49,
2
] | 25 | [
"33-32=1",
"49+1=50",
"50/2=25"
] | Current State: 25:[32, 33, 49, 2], Operations: []
Exploring Operation: 33-32=1, Resulting Numbers: [49, 2, 1]
Generated Node #2: [49, 2, 1] from Operation: 33-32=1
Current State: 25:[49, 2, 1], Operations: ['33-32=1']
Exploring Operation: 49+1=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 49+1=50
Current State: 25:[2, 50], Operations: ['33-32=1', '49+1=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[32, 33, 49, 2], Operations: []
Exploring Operation: 33-32=1, Resulting Numbers: [49, 2, 1]
Generated Node #0,0: 25:[49, 2, 1] Operation: 33-32=1
Exploring Operation: 32-2=30, Resulting Numbers: [33, 49, 30]
Generated Node #0,1: 25:[33, 49, 30] Operation: 32-2=30
Exploring Operation: 49-32=17, Resulting Numbers: [33, 2, 17]
Generated Node #0,2: 25:[33, 2, 17] Operation: 49-32=17
Exploring Operation: 49-33=16, Resulting Numbers: [32, 2, 16]
Generated Node #0,3: 25:[32, 2, 16] Operation: 49-33=16
Moving to Node #0,2
Current State: 25:[33, 2, 17], Operations: ['49-32=17']
Exploring Operation: 2*17=34, Resulting Numbers: [33, 34]
Generated Node #0,2,0: 25:[33, 34] Operation: 2*17=34
Exploring Operation: 33-2=31, Resulting Numbers: [17, 31]
Generated Node #0,2,1: 25:[17, 31] Operation: 33-2=31
Exploring Operation: 2+17=19, Resulting Numbers: [33, 19]
Generated Node #0,2,2: 25:[33, 19] Operation: 2+17=19
Exploring Operation: 33-17=16, Resulting Numbers: [2, 16]
Generated Node #0,2,3: 25:[2, 16] Operation: 33-17=16
Moving to Node #0,3
Current State: 25:[32, 2, 16], Operations: ['49-33=16']
Exploring Operation: 32-16=16, Resulting Numbers: [2, 16]
Generated Node #0,3,0: 25:[2, 16] Operation: 32-16=16
Exploring Operation: 32-2=30, Resulting Numbers: [16, 30]
Generated Node #0,3,1: 25:[16, 30] Operation: 32-2=30
Exploring Operation: 32/16=2, Resulting Numbers: [2, 2]
Generated Node #0,3,2: 25:[2, 2] Operation: 32/16=2
Exploring Operation: 16/2=8, Resulting Numbers: [32, 8]
Generated Node #0,3,3: 25:[32, 8] Operation: 16/2=8
Moving to Node #0,0
Current State: 25:[49, 2, 1], Operations: ['33-32=1']
Exploring Operation: 49-2=47, Resulting Numbers: [1, 47]
Generated Node #0,0,0: 25:[1, 47] Operation: 49-2=47
Exploring Operation: 49-1=48, Resulting Numbers: [2, 48]
Generated Node #0,0,1: 25:[2, 48] Operation: 49-1=48
Exploring Operation: 49*1=49, Resulting Numbers: [2, 49]
Generated Node #0,0,2: 25:[2, 49] Operation: 49*1=49
Exploring Operation: 2+1=3, Resulting Numbers: [49, 3]
Generated Node #0,0,3: 25:[49, 3] Operation: 2+1=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[1, 47], Operations: ['33-32=1', '49-2=47']
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 1+47=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,25 unequal: No Solution
No 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: 25:[2, 48], Operations: ['33-32=1', '49-1=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,25 unequal: No Solution
No 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: 25:[49, 3], Operations: ['33-32=1', '2+1=3']
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,25 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,25 unequal: No Solution
No 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: 25:[2, 49], Operations: ['33-32=1', '49*1=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,25 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,25 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: 25:[33, 49, 30], Operations: ['32-2=30']
Exploring Operation: 49-30=19, Resulting Numbers: [33, 19]
Generated Node #0,1,0: 25:[33, 19] Operation: 49-30=19
Exploring Operation: 49-33=16, Resulting Numbers: [30, 16]
Generated Node #0,1,1: 25:[30, 16] Operation: 49-33=16
Exploring Operation: 33+49=82, Resulting Numbers: [30, 82]
Generated Node #0,1,2: 25:[30, 82] Operation: 33+49=82
Exploring Operation: 33-30=3, Resulting Numbers: [49, 3]
Generated Node #0,1,3: 25:[49, 3] Operation: 33-30=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[33, 19], Operations: ['32-2=30', '49-30=19']
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,25 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,25 unequal: No Solution
No 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: 25:[30, 16], Operations: ['32-2=30', '49-33=16']
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,25 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,25 unequal: No Solution
No 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: 25:[49, 3], Operations: ['32-2=30', '33-30=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,25 unequal: No Solution
No 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: 25:[30, 82], Operations: ['32-2=30', '33+49=82']
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 30*82=2460, Resulting Numbers: [2460]
2460,25 unequal: No Solution
Exploring Operation: 30+82=112, Resulting Numbers: [112]
112,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 25:[2, 2], Operations: ['49-33=16', '32/16=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[32, 8], Operations: ['49-33=16', '16/2=8']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,25 unequal: No Solution
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[2, 16], Operations: ['49-33=16', '32-16=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[2, 16], Operations: ['49-32=17', '33-17=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[33, 19], Operations: ['49-32=17', '2+17=19']
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,25 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[17, 31], Operations: ['49-32=17', '33-2=31']
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[16, 30], Operations: ['49-33=16', '32-2=30']
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,25 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[33, 34], Operations: ['49-32=17', '2*17=34']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 33*34=1122, Resulting Numbers: [1122]
1122,25 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
51,
35,
10,
47
] | 21 | [
"51-35=16",
"47-10=37",
"37-16=21"
] | Current State: 21:[51, 35, 10, 47], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [10, 47, 16]
Generated Node #2: [10, 47, 16] from Operation: 51-35=16
Current State: 21:[10, 47, 16], Operations: ['51-35=16']
Exploring Operation: 47-10=37, Resulting Numbers: [16, 37]
Generated Node #3: [16, 37] from Operation: 47-10=37
Current State: 21:[16, 37], Operations: ['51-35=16', '47-10=37']
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[51, 35, 10, 47], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [35, 10, 4]
Generated Node #0,0: 21:[35, 10, 4] Operation: 51-47=4
Exploring Operation: 51-35=16, Resulting Numbers: [10, 47, 16]
Generated Node #0,1: 21:[10, 47, 16] Operation: 51-35=16
Moving to Node #0,0
Current State: 21:[35, 10, 4], Operations: ['51-47=4']
Exploring Operation: 35-4=31, Resulting Numbers: [10, 31]
Generated Node #0,0,0: 21:[10, 31] Operation: 35-4=31
Exploring Operation: 35-10=25, Resulting Numbers: [4, 25]
Generated Node #0,0,1: 21:[4, 25] Operation: 35-10=25
Moving to Node #0,1
Current State: 21:[10, 47, 16], Operations: ['51-35=16']
Exploring Operation: 47-16=31, Resulting Numbers: [10, 31]
Generated Node #0,1,0: 21:[10, 31] Operation: 47-16=31
Exploring Operation: 47-10=37, Resulting Numbers: [16, 37]
Generated Node #0,1,1: 21:[16, 37] Operation: 47-10=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[10, 31], Operations: ['51-35=16', '47-16=31']
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[51, 35, 10, 47], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [10, 47, 16]
Generated Node #0,1: 21:[10, 47, 16] Operation: 51-35=16
Moving to Node #0,1
Current State: 21:[10, 47, 16], Operations: ['51-35=16']
Exploring Operation: 47-16=31, Resulting Numbers: [10, 31]
Generated Node #0,1,0: 21:[10, 31] Operation: 47-16=31
Moving to Node #0,1,0
Current State: 21:[10, 31], Operations: ['51-35=16', '47-16=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
61,
54,
58,
2
] | 16 | [
"61-58=3",
"54/3=18",
"18-2=16"
] | Current State: 16:[61, 54, 58, 2], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [54, 2, 3]
Generated Node #2: [54, 2, 3] from Operation: 61-58=3
Current State: 16:[54, 2, 3], Operations: ['61-58=3']
Exploring Operation: 54/3=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 54/3=18
Current State: 16:[2, 18], Operations: ['61-58=3', '54/3=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[61, 54, 58, 2], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [54, 2, 3]
Generated Node #0,0: 16:[54, 2, 3] Operation: 61-58=3
Exploring Operation: 61-54=7, Resulting Numbers: [58, 2, 7]
Generated Node #0,1: 16:[58, 2, 7] Operation: 61-54=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[54, 2, 3], Operations: ['61-58=3']
Exploring Operation: 54/3=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 16:[2, 18] Operation: 54/3=18
Exploring Operation: 54/2=27, Resulting Numbers: [3, 27]
Generated Node #0,0,1: 16:[3, 27] Operation: 54/2=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[2, 18], Operations: ['61-58=3', '54/3=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[61, 54, 58, 2], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [54, 2, 3]
Generated Node #0,0: 16:[54, 2, 3] Operation: 61-58=3
Moving to Node #0,0
Current State: 16:[54, 2, 3], Operations: ['61-58=3']
Exploring Operation: 54/3=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 16:[2, 18] Operation: 54/3=18
Moving to Node #0,0,0
Current State: 16:[2, 18], Operations: ['61-58=3', '54/3=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
29,
57,
98,
98
] | 57 | [
"98-98=0",
"29*0=0",
"57+0=57"
] | Current State: 57:[29, 57, 98, 98], Operations: []
Exploring Operation: 98-98=0, Resulting Numbers: [29, 57, 0]
Generated Node #2: [29, 57, 0] from Operation: 98-98=0
Current State: 57:[29, 57, 0], Operations: ['98-98=0']
Exploring Operation: 29*0=0, Resulting Numbers: [57, 0]
Generated Node #3: [57, 0] from Operation: 29*0=0
Current State: 57:[57, 0], Operations: ['98-98=0', '29*0=0']
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[29, 57, 98, 98], Operations: []
Exploring Operation: 98/98=1, Resulting Numbers: [29, 57, 1]
Generated Node #0,0: 57:[29, 57, 1] Operation: 98/98=1
Exploring Operation: 98-29=69, Resulting Numbers: [57, 98, 69]
Generated Node #0,1: 57:[57, 98, 69] Operation: 98-29=69
Exploring Operation: 98-29=69, Resulting Numbers: [57, 98, 69]
Generated Node #0,2: 57:[57, 98, 69] Operation: 98-29=69
Exploring Operation: 98-98=0, Resulting Numbers: [29, 57, 0]
Generated Node #0,3: 57:[29, 57, 0] Operation: 98-98=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[29, 57, 1], Operations: ['98/98=1']
Exploring Operation: 29/1=29, Resulting Numbers: [57, 29]
Generated Node #0,0,0: 57:[57, 29] Operation: 29/1=29
Exploring Operation: 29*1=29, Resulting Numbers: [57, 29]
Generated Node #0,0,1: 57:[57, 29] Operation: 29*1=29
Exploring Operation: 29-1=28, Resulting Numbers: [57, 28]
Generated Node #0,0,2: 57:[57, 28] Operation: 29-1=28
Exploring Operation: 57*1=57, Resulting Numbers: [29, 57]
Generated Node #0,0,3: 57:[29, 57] Operation: 57*1=57
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[57, 28], Operations: ['98/98=1', '29-1=28']
Exploring Operation: 57+28=85, Resulting Numbers: [85]
85,57 unequal: No Solution
Exploring Operation: 57*28=1596, Resulting Numbers: [1596]
1596,57 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,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:[57, 29], Operations: ['98/98=1', '29/1=29']
Exploring Operation: 57*29=1653, Resulting Numbers: [1653]
1653,57 unequal: No Solution
Exploring Operation: 57+29=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[57, 29], Operations: ['98/98=1', '29*1=29']
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 57*29=1653, Resulting Numbers: [1653]
1653,57 unequal: No Solution
Exploring Operation: 57+29=86, Resulting Numbers: [86]
86,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:[29, 57], Operations: ['98/98=1', '57*1=57']
Exploring Operation: 29+57=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 29*57=1653, Resulting Numbers: [1653]
1653,57 unequal: No Solution
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,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:[29, 57, 0], Operations: ['98-98=0']
Exploring Operation: 29-0=29, Resulting Numbers: [57, 29]
Generated Node #0,3,0: 57:[57, 29] Operation: 29-0=29
Exploring Operation: 29+0=29, Resulting Numbers: [57, 29]
Generated Node #0,3,1: 57:[57, 29] Operation: 29+0=29
Exploring Operation: 29*0=0, Resulting Numbers: [57, 0]
Generated Node #0,3,2: 57:[57, 0] Operation: 29*0=0
Exploring Operation: 57+0=57, Resulting Numbers: [29, 57]
Generated Node #0,3,3: 57:[29, 57] Operation: 57+0=57
Moving to Node #0,3,2
Current State: 57:[57, 0], Operations: ['98-98=0', '29*0=0']
Exploring Operation: 57*0=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 57-0=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[29, 57, 98, 98], Operations: []
Exploring Operation: 98-98=0, Resulting Numbers: [29, 57, 0]
Generated Node #0,3: 57:[29, 57, 0] Operation: 98-98=0
Moving to Node #0,3
Current State: 57:[29, 57, 0], Operations: ['98-98=0']
Exploring Operation: 29*0=0, Resulting Numbers: [57, 0]
Generated Node #0,3,2: 57:[57, 0] Operation: 29*0=0
Moving to Node #0,3,2
Current State: 57:[57, 0], Operations: ['98-98=0', '29*0=0']
Exploring Operation: 57-0=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
78,
51,
80,
14
] | 39 | [
"78-51=27",
"80-14=66",
"66-27=39"
] | Current State: 39:[78, 51, 80, 14], Operations: []
Exploring Operation: 78-51=27, Resulting Numbers: [80, 14, 27]
Generated Node #2: [80, 14, 27] from Operation: 78-51=27
Current State: 39:[80, 14, 27], Operations: ['78-51=27']
Exploring Operation: 80-14=66, Resulting Numbers: [27, 66]
Generated Node #3: [27, 66] from Operation: 80-14=66
Current State: 39:[27, 66], Operations: ['78-51=27', '80-14=66']
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[78, 51, 80, 14], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [51, 14, 2]
Generated Node #0,0: 39:[51, 14, 2] Operation: 80-78=2
Moving to Node #0,0
Current State: 39:[51, 14, 2], Operations: ['80-78=2']
Exploring Operation: 51-14=37, Resulting Numbers: [2, 37]
Generated Node #0,0,0: 39:[2, 37] Operation: 51-14=37
Moving to Node #0,0,0
Current State: 39:[2, 37], Operations: ['80-78=2', '51-14=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[78, 51, 80, 14], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [51, 14, 2]
Generated Node #0,0: 39:[51, 14, 2] Operation: 80-78=2
Moving to Node #0,0
Current State: 39:[51, 14, 2], Operations: ['80-78=2']
Exploring Operation: 51-14=37, Resulting Numbers: [2, 37]
Generated Node #0,0,0: 39:[2, 37] Operation: 51-14=37
Moving to Node #0,0,0
Current State: 39:[2, 37], Operations: ['80-78=2', '51-14=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.