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 |
|---|---|---|---|---|---|---|---|---|
[
52,
52,
95,
83
] | 83 | [
"52-52=0",
"95*0=0",
"83+0=83"
] | Current State: 83:[52, 52, 95, 83], Operations: []
Exploring Operation: 52-52=0, Resulting Numbers: [95, 83, 0]
Generated Node #2: [95, 83, 0] from Operation: 52-52=0
Current State: 83:[95, 83, 0], Operations: ['52-52=0']
Exploring Operation: 95*0=0, Resulting Numbers: [83, 0]
Generated Node #3: [83, 0] from Operation: 95*0=0
Current State: 83:[83, 0], Operations: ['52-52=0', '95*0=0']
Exploring Operation: 83+0=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[52, 52, 95, 83], Operations: []
Exploring Operation: 52+52=104, Resulting Numbers: [95, 83, 104]
Generated Node #0,0: 83:[95, 83, 104] Operation: 52+52=104
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[95, 83, 104], Operations: ['52+52=104']
Exploring Operation: 104-95=9, Resulting Numbers: [83, 9]
Generated Node #0,0,0: 83:[83, 9] Operation: 104-95=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[83, 9], Operations: ['52+52=104', '104-95=9']
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
60,
93,
2,
63
] | 99 | [
"63-60=3",
"2*3=6",
"93+6=99"
] | Current State: 99:[60, 93, 2, 63], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [93, 2, 3]
Generated Node #2: [93, 2, 3] from Operation: 63-60=3
Current State: 99:[93, 2, 3], Operations: ['63-60=3']
Exploring Operation: 2*3=6, Resulting Numbers: [93, 6]
Generated Node #3: [93, 6] from Operation: 2*3=6
Current State: 99:[93, 6], Operations: ['63-60=3', '2*3=6']
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[60, 93, 2, 63], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [2, 63, 33]
Generated Node #0,0: 99:[2, 63, 33] Operation: 93-60=33
Exploring Operation: 60+63=123, Resulting Numbers: [93, 2, 123]
Generated Node #0,1: 99:[93, 2, 123] Operation: 60+63=123
Exploring Operation: 63-60=3, Resulting Numbers: [93, 2, 3]
Generated Node #0,2: 99:[93, 2, 3] Operation: 63-60=3
Moving to Node #0,2
Current State: 99:[93, 2, 3], Operations: ['63-60=3']
Exploring Operation: 93/3=31, Resulting Numbers: [2, 31]
Generated Node #0,2,0: 99:[2, 31] Operation: 93/3=31
Exploring Operation: 93+3=96, Resulting Numbers: [2, 96]
Generated Node #0,2,1: 99:[2, 96] Operation: 93+3=96
Exploring Operation: 93+2=95, Resulting Numbers: [3, 95]
Generated Node #0,2,2: 99:[3, 95] Operation: 93+2=95
Moving to Node #0,0
Current State: 99:[2, 63, 33], Operations: ['93-60=33']
Exploring Operation: 2*63=126, Resulting Numbers: [33, 126]
Generated Node #0,0,0: 99:[33, 126] Operation: 2*63=126
Exploring Operation: 63+33=96, Resulting Numbers: [2, 96]
Generated Node #0,0,1: 99:[2, 96] Operation: 63+33=96
Exploring Operation: 63-33=30, Resulting Numbers: [2, 30]
Generated Node #0,0,2: 99:[2, 30] Operation: 63-33=30
Moving to Node #0,1
Current State: 99:[93, 2, 123], Operations: ['60+63=123']
Exploring Operation: 123-93=30, Resulting Numbers: [2, 30]
Generated Node #0,1,0: 99:[2, 30] Operation: 123-93=30
Exploring Operation: 93+2=95, Resulting Numbers: [123, 95]
Generated Node #0,1,1: 99:[123, 95] Operation: 93+2=95
Exploring Operation: 123-2=121, Resulting Numbers: [93, 121]
Generated Node #0,1,2: 99:[93, 121] Operation: 123-2=121
Moving to Node #0,2,0
Current State: 99:[2, 31], Operations: ['63-60=3', '93/3=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[3, 95], Operations: ['63-60=3', '93+2=95']
Exploring Operation: 3*95=285, Resulting Numbers: [285]
285,99 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,99 unequal: No Solution
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[2, 30], Operations: ['60+63=123', '123-93=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[2, 96], Operations: ['63-60=3', '93+3=96']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,99 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[2, 30], Operations: ['93-60=33', '63-33=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[2, 96], Operations: ['93-60=33', '63+33=96']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,99 unequal: No Solution
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[33, 126], Operations: ['93-60=33', '2*63=126']
Exploring Operation: 33*126=4158, Resulting Numbers: [4158]
4158,99 unequal: No Solution
Exploring Operation: 33+126=159, Resulting Numbers: [159]
159,99 unequal: No Solution
Exploring Operation: 126-33=93, Resulting Numbers: [93]
93,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[123, 95], Operations: ['60+63=123', '93+2=95']
Exploring Operation: 123-95=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 123*95=11685, Resulting Numbers: [11685]
11685,99 unequal: No Solution
Exploring Operation: 123+95=218, Resulting Numbers: [218]
218,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[93, 121], Operations: ['60+63=123', '123-2=121']
Exploring Operation: 93+121=214, Resulting Numbers: [214]
214,99 unequal: No Solution
Exploring Operation: 121-93=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 93*121=11253, Resulting Numbers: [11253]
11253,99 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
73,
12,
60,
3
] | 81 | [
"73-12=61",
"60/3=20",
"61+20=81"
] | Current State: 81:[73, 12, 60, 3], Operations: []
Exploring Operation: 73-12=61, Resulting Numbers: [60, 3, 61]
Generated Node #2: [60, 3, 61] from Operation: 73-12=61
Current State: 81:[60, 3, 61], Operations: ['73-12=61']
Exploring Operation: 60/3=20, Resulting Numbers: [61, 20]
Generated Node #3: [61, 20] from Operation: 60/3=20
Current State: 81:[61, 20], Operations: ['73-12=61', '60/3=20']
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[73, 12, 60, 3], Operations: []
Exploring Operation: 12+60=72, Resulting Numbers: [73, 3, 72]
Generated Node #0,0: 81:[73, 3, 72] Operation: 12+60=72
Exploring Operation: 60/12=5, Resulting Numbers: [73, 3, 5]
Generated Node #0,1: 81:[73, 3, 5] Operation: 60/12=5
Exploring Operation: 73-60=13, Resulting Numbers: [12, 3, 13]
Generated Node #0,2: 81:[12, 3, 13] Operation: 73-60=13
Exploring Operation: 60/3=20, Resulting Numbers: [73, 12, 20]
Generated Node #0,3: 81:[73, 12, 20] Operation: 60/3=20
Moving to Node #0,2
Current State: 81:[12, 3, 13], Operations: ['73-60=13']
Exploring Operation: 12-3=9, Resulting Numbers: [13, 9]
Generated Node #0,2,0: 81:[13, 9] Operation: 12-3=9
Exploring Operation: 13-3=10, Resulting Numbers: [12, 10]
Generated Node #0,2,1: 81:[12, 10] Operation: 13-3=10
Exploring Operation: 12+13=25, Resulting Numbers: [3, 25]
Generated Node #0,2,2: 81:[3, 25] Operation: 12+13=25
Exploring Operation: 13-12=1, Resulting Numbers: [3, 1]
Generated Node #0,2,3: 81:[3, 1] Operation: 13-12=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[3, 25], Operations: ['73-60=13', '12+13=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 81:[3, 1], Operations: ['73-60=13', '13-12=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[13, 9], Operations: ['73-60=13', '12-3=9']
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,81 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[12, 10], Operations: ['73-60=13', '13-3=10']
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,81 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 81:[73, 3, 5], Operations: ['60/12=5']
Exploring Operation: 73+3=76, Resulting Numbers: [5, 76]
Generated Node #0,1,0: 81:[5, 76] Operation: 73+3=76
Exploring Operation: 5-3=2, Resulting Numbers: [73, 2]
Generated Node #0,1,1: 81:[73, 2] Operation: 5-3=2
Exploring Operation: 73+5=78, Resulting Numbers: [3, 78]
Generated Node #0,1,2: 81:[3, 78] Operation: 73+5=78
Exploring Operation: 3+5=8, Resulting Numbers: [73, 8]
Generated Node #0,1,3: 81:[73, 8] Operation: 3+5=8
Moving to Node #0,0
Current State: 81:[73, 3, 72], Operations: ['12+60=72']
Exploring Operation: 72/3=24, Resulting Numbers: [73, 24]
Generated Node #0,0,0: 81:[73, 24] Operation: 72/3=24
Exploring Operation: 73+3=76, Resulting Numbers: [72, 76]
Generated Node #0,0,1: 81:[72, 76] Operation: 73+3=76
Exploring Operation: 73-72=1, Resulting Numbers: [3, 1]
Generated Node #0,0,2: 81:[3, 1] Operation: 73-72=1
Exploring Operation: 3+72=75, Resulting Numbers: [73, 75]
Generated Node #0,0,3: 81:[73, 75] Operation: 3+72=75
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[3, 1], Operations: ['12+60=72', '73-72=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[73, 24], Operations: ['12+60=72', '72/3=24']
Exploring Operation: 73+24=97, Resulting Numbers: [97]
97,81 unequal: No Solution
Exploring Operation: 73*24=1752, Resulting Numbers: [1752]
1752,81 unequal: No Solution
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[72, 76], Operations: ['12+60=72', '73+3=76']
Exploring Operation: 72+76=148, Resulting Numbers: [148]
148,81 unequal: No Solution
Exploring Operation: 72*76=5472, Resulting Numbers: [5472]
5472,81 unequal: No Solution
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[73, 75], Operations: ['12+60=72', '3+72=75']
Exploring Operation: 73*75=5475, Resulting Numbers: [5475]
5475,81 unequal: No Solution
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 73+75=148, Resulting Numbers: [148]
148,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 81:[73, 12, 20], Operations: ['60/3=20']
Exploring Operation: 12+20=32, Resulting Numbers: [73, 32]
Generated Node #0,3,0: 81:[73, 32] Operation: 12+20=32
Exploring Operation: 73+20=93, Resulting Numbers: [12, 93]
Generated Node #0,3,1: 81:[12, 93] Operation: 73+20=93
Exploring Operation: 20-12=8, Resulting Numbers: [73, 8]
Generated Node #0,3,2: 81:[73, 8] Operation: 20-12=8
Exploring Operation: 73+12=85, Resulting Numbers: [20, 85]
Generated Node #0,3,3: 81:[20, 85] Operation: 73+12=85
Moving to Node #0,1,2
Current State: 81:[3, 78], Operations: ['60/12=5', '73+5=78']
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,81 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[73, 12, 60, 3], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [73, 3, 5]
Generated Node #0,1: 81:[73, 3, 5] Operation: 60/12=5
Moving to Node #0,1
Current State: 81:[73, 3, 5], Operations: ['60/12=5']
Exploring Operation: 73+5=78, Resulting Numbers: [3, 78]
Generated Node #0,1,2: 81:[3, 78] Operation: 73+5=78
Moving to Node #0,1,2
Current State: 81:[3, 78], Operations: ['60/12=5', '73+5=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.954861 | hs_4 | sum_heuristic |
[
67,
9,
7,
63
] | 43 | [
"67-63=4",
"9*4=36",
"7+36=43"
] | Current State: 43:[67, 9, 7, 63], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [9, 7, 4]
Generated Node #2: [9, 7, 4] from Operation: 67-63=4
Current State: 43:[9, 7, 4], Operations: ['67-63=4']
Exploring Operation: 9*4=36, Resulting Numbers: [7, 36]
Generated Node #3: [7, 36] from Operation: 9*4=36
Current State: 43:[7, 36], Operations: ['67-63=4', '9*4=36']
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[67, 9, 7, 63], Operations: []
Exploring Operation: 9*7=63, Resulting Numbers: [67, 63, 63]
Generated Node #0,0: 43:[67, 63, 63] Operation: 9*7=63
Exploring Operation: 67-9=58, Resulting Numbers: [7, 63, 58]
Generated Node #0,1: 43:[7, 63, 58] Operation: 67-9=58
Exploring Operation: 67-7=60, Resulting Numbers: [9, 63, 60]
Generated Node #0,2: 43:[9, 63, 60] Operation: 67-7=60
Moving to Node #0,0
Current State: 43:[67, 63, 63], Operations: ['9*7=63']
Exploring Operation: 63/63=1, Resulting Numbers: [67, 1]
Generated Node #0,0,0: 43:[67, 1] Operation: 63/63=1
Exploring Operation: 67-63=4, Resulting Numbers: [63, 4]
Generated Node #0,0,1: 43:[63, 4] Operation: 67-63=4
Exploring Operation: 67-63=4, Resulting Numbers: [63, 4]
Generated Node #0,0,2: 43:[63, 4] Operation: 67-63=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[63, 4], Operations: ['9*7=63', '67-63=4']
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,43 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[63, 4], Operations: ['9*7=63', '67-63=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[67, 1], Operations: ['9*7=63', '63/63=1']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,43 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: 43:[7, 63, 58], Operations: ['67-9=58']
Exploring Operation: 7+63=70, Resulting Numbers: [58, 70]
Generated Node #0,1,0: 43:[58, 70] Operation: 7+63=70
Exploring Operation: 58-7=51, Resulting Numbers: [63, 51]
Generated Node #0,1,1: 43:[63, 51] Operation: 58-7=51
Exploring Operation: 63-7=56, Resulting Numbers: [58, 56]
Generated Node #0,1,2: 43:[58, 56] Operation: 63-7=56
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[63, 51], Operations: ['67-9=58', '58-7=51']
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 43:[58, 56], Operations: ['67-9=58', '63-7=56']
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,43 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[58, 70], Operations: ['67-9=58', '7+63=70']
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 58*70=4060, Resulting Numbers: [4060]
4060,43 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,43 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: 43:[9, 63, 60], Operations: ['67-7=60']
Exploring Operation: 63-9=54, Resulting Numbers: [60, 54]
Generated Node #0,2,0: 43:[60, 54] Operation: 63-9=54
Exploring Operation: 60-9=51, Resulting Numbers: [63, 51]
Generated Node #0,2,1: 43:[63, 51] Operation: 60-9=51
Exploring Operation: 9+63=72, Resulting Numbers: [60, 72]
Generated Node #0,2,2: 43:[60, 72] Operation: 9+63=72
Moving to Node #0,2,0
Current State: 43:[60, 54], Operations: ['67-7=60', '63-9=54']
Exploring Operation: 60-54=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 60*54=3240, Resulting Numbers: [3240]
3240,43 unequal: No Solution
Exploring Operation: 60+54=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[63, 51], Operations: ['67-7=60', '60-9=51']
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,43 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[60, 72], Operations: ['67-7=60', '9+63=72']
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 60+72=132, Resulting Numbers: [132]
132,43 unequal: No Solution
Exploring Operation: 60*72=4320, Resulting Numbers: [4320]
4320,43 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
54,
42,
6,
38
] | 15 | [
"54+6=60",
"42-38=4",
"60/4=15"
] | Current State: 15:[54, 42, 6, 38], Operations: []
Exploring Operation: 54+6=60, Resulting Numbers: [42, 38, 60]
Generated Node #2: [42, 38, 60] from Operation: 54+6=60
Current State: 15:[42, 38, 60], Operations: ['54+6=60']
Exploring Operation: 42-38=4, Resulting Numbers: [60, 4]
Generated Node #3: [60, 4] from Operation: 42-38=4
Current State: 15:[60, 4], Operations: ['54+6=60', '42-38=4']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[54, 42, 6, 38], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [6, 38, 12]
Generated Node #0,0: 15:[6, 38, 12] Operation: 54-42=12
Exploring Operation: 42-38=4, Resulting Numbers: [54, 6, 4]
Generated Node #0,1: 15:[54, 6, 4] Operation: 42-38=4
Exploring Operation: 54-38=16, Resulting Numbers: [42, 6, 16]
Generated Node #0,2: 15:[42, 6, 16] Operation: 54-38=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[6, 38, 12], Operations: ['54-42=12']
Exploring Operation: 38-12=26, Resulting Numbers: [6, 26]
Generated Node #0,0,0: 15:[6, 26] Operation: 38-12=26
Exploring Operation: 12-6=6, Resulting Numbers: [38, 6]
Generated Node #0,0,1: 15:[38, 6] Operation: 12-6=6
Exploring Operation: 38-6=32, Resulting Numbers: [12, 32]
Generated Node #0,0,2: 15:[12, 32] Operation: 38-6=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[6, 26], Operations: ['54-42=12', '38-12=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,15 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,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,0,2
Current State: 15:[12, 32], Operations: ['54-42=12', '38-6=32']
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,15 unequal: No Solution
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,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,0,1
Current State: 15:[38, 6], Operations: ['54-42=12', '12-6=6']
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,15 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,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:[42, 6, 16], Operations: ['54-38=16']
Exploring Operation: 42-16=26, Resulting Numbers: [6, 26]
Generated Node #0,2,0: 15:[6, 26] Operation: 42-16=26
Exploring Operation: 42-6=36, Resulting Numbers: [16, 36]
Generated Node #0,2,1: 15:[16, 36] Operation: 42-6=36
Exploring Operation: 42/6=7, Resulting Numbers: [16, 7]
Generated Node #0,2,2: 15:[16, 7] Operation: 42/6=7
Moving to Node #0,2,2
Current State: 15:[16, 7], Operations: ['54-38=16', '42/6=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,15 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[6, 26], Operations: ['54-38=16', '42-16=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,15 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[16, 36], Operations: ['54-38=16', '42-6=36']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[54, 6, 4], Operations: ['42-38=4']
Exploring Operation: 54-4=50, Resulting Numbers: [6, 50]
Generated Node #0,1,0: 15:[6, 50] Operation: 54-4=50
Exploring Operation: 54-6=48, Resulting Numbers: [4, 48]
Generated Node #0,1,1: 15:[4, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [4, 9]
Generated Node #0,1,2: 15:[4, 9] Operation: 54/6=9
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 15:[4, 9], Operations: ['42-38=4', '54/6=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,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:[4, 48], Operations: ['42-38=4', '54-6=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,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:[6, 50], Operations: ['42-38=4', '54-4=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,15 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
11,
89,
61,
56
] | 95 | [
"11+89=100",
"61-56=5",
"100-5=95"
] | Current State: 95:[11, 89, 61, 56], Operations: []
Exploring Operation: 11+89=100, Resulting Numbers: [61, 56, 100]
Generated Node #2: [61, 56, 100] from Operation: 11+89=100
Current State: 95:[61, 56, 100], Operations: ['11+89=100']
Exploring Operation: 61-56=5, Resulting Numbers: [100, 5]
Generated Node #3: [100, 5] from Operation: 61-56=5
Current State: 95:[100, 5], Operations: ['11+89=100', '61-56=5']
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[11, 89, 61, 56], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [11, 89, 5]
Generated Node #0,0: 95:[11, 89, 5] Operation: 61-56=5
Moving to Node #0,0
Current State: 95:[11, 89, 5], Operations: ['61-56=5']
Exploring Operation: 11+89=100, Resulting Numbers: [5, 100]
Generated Node #0,0,0: 95:[5, 100] Operation: 11+89=100
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[5, 100], Operations: ['61-56=5', '11+89=100']
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[11, 89, 61, 56], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [11, 89, 5]
Generated Node #0,0: 95:[11, 89, 5] Operation: 61-56=5
Moving to Node #0,0
Current State: 95:[11, 89, 5], Operations: ['61-56=5']
Exploring Operation: 11+89=100, Resulting Numbers: [5, 100]
Generated Node #0,0,0: 95:[5, 100] Operation: 11+89=100
Moving to Node #0,0,0
Current State: 95:[5, 100], Operations: ['61-56=5', '11+89=100']
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
78,
71,
82,
51
] | 26 | [
"78*51=3978",
"71+82=153",
"3978/153=26"
] | Current State: 26:[78, 71, 82, 51], Operations: []
Exploring Operation: 78*51=3978, Resulting Numbers: [71, 82, 3978]
Generated Node #2: [71, 82, 3978] from Operation: 78*51=3978
Current State: 26:[71, 82, 3978], Operations: ['78*51=3978']
Exploring Operation: 71+82=153, Resulting Numbers: [3978, 153]
Generated Node #3: [3978, 153] from Operation: 71+82=153
Current State: 26:[3978, 153], Operations: ['78*51=3978', '71+82=153']
Exploring Operation: 3978/153=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[78, 71, 82, 51], Operations: []
Exploring Operation: 78-71=7, Resulting Numbers: [82, 51, 7]
Generated Node #0,0: 26:[82, 51, 7] Operation: 78-71=7
Exploring Operation: 82-71=11, Resulting Numbers: [78, 51, 11]
Generated Node #0,1: 26:[78, 51, 11] Operation: 82-71=11
Exploring Operation: 82-51=31, Resulting Numbers: [78, 71, 31]
Generated Node #0,2: 26:[78, 71, 31] Operation: 82-51=31
Exploring Operation: 82-78=4, Resulting Numbers: [71, 51, 4]
Generated Node #0,3: 26:[71, 51, 4] Operation: 82-78=4
Exploring Operation: 78-51=27, Resulting Numbers: [71, 82, 27]
Generated Node #0,4: 26:[71, 82, 27] Operation: 78-51=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[71, 51, 4], Operations: ['82-78=4']
Exploring Operation: 71+4=75, Resulting Numbers: [51, 75]
Generated Node #0,3,0: 26:[51, 75] Operation: 71+4=75
Exploring Operation: 71-51=20, Resulting Numbers: [4, 20]
Generated Node #0,3,1: 26:[4, 20] Operation: 71-51=20
Exploring Operation: 51-4=47, Resulting Numbers: [71, 47]
Generated Node #0,3,2: 26:[71, 47] Operation: 51-4=47
Exploring Operation: 51+4=55, Resulting Numbers: [71, 55]
Generated Node #0,3,3: 26:[71, 55] Operation: 51+4=55
Exploring Operation: 71-4=67, Resulting Numbers: [51, 67]
Generated Node #0,3,4: 26:[51, 67] Operation: 71-4=67
Moving to Node #0,3,1
Current State: 26:[4, 20], Operations: ['82-78=4', '71-51=20']
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,26 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Moving to Node #0,3,4
Current State: 26:[51, 67], Operations: ['82-78=4', '71-4=67']
Exploring Operation: 51+67=118, Resulting Numbers: [118]
118,26 unequal: No Solution
Exploring Operation: 51*67=3417, Resulting Numbers: [3417]
3417,26 unequal: No Solution
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[71, 47], Operations: ['82-78=4', '51-4=47']
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 71*47=3337, Resulting Numbers: [3337]
3337,26 unequal: No Solution
Exploring Operation: 71+47=118, Resulting Numbers: [118]
118,26 unequal: No Solution
Moving to Node #0,3,0
Current State: 26:[51, 75], Operations: ['82-78=4', '71+4=75']
Exploring Operation: 51+75=126, Resulting Numbers: [126]
126,26 unequal: No Solution
Exploring Operation: 51*75=3825, Resulting Numbers: [3825]
3825,26 unequal: No Solution
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[71, 55], Operations: ['82-78=4', '51+4=55']
Exploring Operation: 71+55=126, Resulting Numbers: [126]
126,26 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 71*55=3905, Resulting Numbers: [3905]
3905,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[78, 51, 11], Operations: ['82-71=11']
Exploring Operation: 78-11=67, Resulting Numbers: [51, 67]
Generated Node #0,1,0: 26:[51, 67] Operation: 78-11=67
Exploring Operation: 78+11=89, Resulting Numbers: [51, 89]
Generated Node #0,1,1: 26:[51, 89] Operation: 78+11=89
Exploring Operation: 51+11=62, Resulting Numbers: [78, 62]
Generated Node #0,1,2: 26:[78, 62] Operation: 51+11=62
Exploring Operation: 51-11=40, Resulting Numbers: [78, 40]
Generated Node #0,1,3: 26:[78, 40] Operation: 51-11=40
Exploring Operation: 78-51=27, Resulting Numbers: [11, 27]
Generated Node #0,1,4: 26:[11, 27] Operation: 78-51=27
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 26:[11, 27], Operations: ['82-71=11', '78-51=27']
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[51, 67], Operations: ['82-71=11', '78-11=67']
Exploring Operation: 51*67=3417, Resulting Numbers: [3417]
3417,26 unequal: No Solution
Exploring Operation: 51+67=118, Resulting Numbers: [118]
118,26 unequal: No Solution
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 26:[78, 40], Operations: ['82-71=11', '51-11=40']
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,26 unequal: No Solution
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,26 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[51, 89], Operations: ['82-71=11', '78+11=89']
Exploring Operation: 51*89=4539, Resulting Numbers: [4539]
4539,26 unequal: No Solution
Exploring Operation: 51+89=140, Resulting Numbers: [140]
140,26 unequal: No Solution
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 26:[78, 62], Operations: ['82-71=11', '51+11=62']
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 78+62=140, Resulting Numbers: [140]
140,26 unequal: No Solution
Exploring Operation: 78*62=4836, Resulting Numbers: [4836]
4836,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[82, 51, 7], Operations: ['78-71=7']
Exploring Operation: 51-7=44, Resulting Numbers: [82, 44]
Generated Node #0,0,0: 26:[82, 44] Operation: 51-7=44
Exploring Operation: 82-7=75, Resulting Numbers: [51, 75]
Generated Node #0,0,1: 26:[51, 75] Operation: 82-7=75
Exploring Operation: 82-51=31, Resulting Numbers: [7, 31]
Generated Node #0,0,2: 26:[7, 31] Operation: 82-51=31
Exploring Operation: 51+7=58, Resulting Numbers: [82, 58]
Generated Node #0,0,3: 26:[82, 58] Operation: 51+7=58
Exploring Operation: 82+7=89, Resulting Numbers: [51, 89]
Generated Node #0,0,4: 26:[51, 89] Operation: 82+7=89
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 26:[7, 31], Operations: ['78-71=7', '82-51=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,26 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[82, 44], Operations: ['78-71=7', '51-7=44']
Exploring Operation: 82*44=3608, Resulting Numbers: [3608]
3608,26 unequal: No Solution
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 82+44=126, Resulting Numbers: [126]
126,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[51, 75], Operations: ['78-71=7', '82-7=75']
Exploring Operation: 51*75=3825, Resulting Numbers: [3825]
3825,26 unequal: No Solution
Exploring Operation: 51+75=126, Resulting Numbers: [126]
126,26 unequal: No Solution
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 26:[82, 58], Operations: ['78-71=7', '51+7=58']
Exploring Operation: 82*58=4756, Resulting Numbers: [4756]
4756,26 unequal: No Solution
Exploring Operation: 82+58=140, Resulting Numbers: [140]
140,26 unequal: No Solution
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 26:[51, 89], Operations: ['78-71=7', '82+7=89']
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 51+89=140, Resulting Numbers: [140]
140,26 unequal: No Solution
Exploring Operation: 51*89=4539, Resulting Numbers: [4539]
4539,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[78, 71, 31], Operations: ['82-51=31']
Exploring Operation: 78-71=7, Resulting Numbers: [31, 7]
Generated Node #0,2,0: 26:[31, 7] Operation: 78-71=7
Exploring Operation: 71-31=40, Resulting Numbers: [78, 40]
Generated Node #0,2,1: 26:[78, 40] Operation: 71-31=40
Exploring Operation: 78+31=109, Resulting Numbers: [71, 109]
Generated Node #0,2,2: 26:[71, 109] Operation: 78+31=109
Exploring Operation: 78+71=149, Resulting Numbers: [31, 149]
Generated Node #0,2,3: 26:[31, 149] Operation: 78+71=149
Exploring Operation: 78-31=47, Resulting Numbers: [71, 47]
Generated Node #0,2,4: 26:[71, 47] Operation: 78-31=47
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 26:[31, 7], Operations: ['82-51=31', '78-71=7']
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,26 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 26:[78, 40], Operations: ['82-51=31', '71-31=40']
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,26 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 26:[71, 47], Operations: ['82-51=31', '78-31=47']
Exploring Operation: 71+47=118, Resulting Numbers: [118]
118,26 unequal: No Solution
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 71*47=3337, Resulting Numbers: [3337]
3337,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[71, 109], Operations: ['82-51=31', '78+31=109']
Exploring Operation: 109-71=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 71+109=180, Resulting Numbers: [180]
180,26 unequal: No Solution
Exploring Operation: 71*109=7739, Resulting Numbers: [7739]
7739,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 26:[31, 149], Operations: ['82-51=31', '78+71=149']
Exploring Operation: 31*149=4619, Resulting Numbers: [4619]
4619,26 unequal: No Solution
Exploring Operation: 31+149=180, Resulting Numbers: [180]
180,26 unequal: No Solution
Exploring Operation: 149-31=118, Resulting Numbers: [118]
118,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 26:[71, 82, 27], Operations: ['78-51=27']
Exploring Operation: 71+82=153, Resulting Numbers: [27, 153]
Generated Node #0,4,0: 26:[27, 153] Operation: 71+82=153
Exploring Operation: 71-27=44, Resulting Numbers: [82, 44]
Generated Node #0,4,1: 26:[82, 44] Operation: 71-27=44
Exploring Operation: 71+27=98, Resulting Numbers: [82, 98]
Generated Node #0,4,2: 26:[82, 98] Operation: 71+27=98
Exploring Operation: 82-27=55, Resulting Numbers: [71, 55]
Generated Node #0,4,3: 26:[71, 55] Operation: 82-27=55
Exploring Operation: 82-71=11, Resulting Numbers: [27, 11]
Generated Node #0,4,4: 26:[27, 11] Operation: 82-71=11
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 26:[27, 11], Operations: ['78-51=27', '82-71=11']
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,26 unequal: No Solution
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 26:[82, 44], Operations: ['78-51=27', '71-27=44']
Exploring Operation: 82+44=126, Resulting Numbers: [126]
126,26 unequal: No Solution
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 82*44=3608, Resulting Numbers: [3608]
3608,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 26:[71, 55], Operations: ['78-51=27', '82-27=55']
Exploring Operation: 71*55=3905, Resulting Numbers: [3905]
3905,26 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 71+55=126, Resulting Numbers: [126]
126,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 26:[27, 153], Operations: ['78-51=27', '71+82=153']
Exploring Operation: 27*153=4131, Resulting Numbers: [4131]
4131,26 unequal: No Solution
Exploring Operation: 27+153=180, Resulting Numbers: [180]
180,26 unequal: No Solution
Exploring Operation: 153-27=126, Resulting Numbers: [126]
126,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 26:[82, 98], Operations: ['78-51=27', '71+27=98']
Exploring Operation: 82+98=180, Resulting Numbers: [180]
180,26 unequal: No Solution
Exploring Operation: 82*98=8036, Resulting Numbers: [8036]
8036,26 unequal: No Solution
Exploring Operation: 98-82=16, Resulting Numbers: [16]
16,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
93,
33,
87,
88
] | 78 | [
"93-88=5",
"33*5=165",
"165-87=78"
] | Current State: 78:[93, 33, 87, 88], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [33, 87, 5]
Generated Node #2: [33, 87, 5] from Operation: 93-88=5
Current State: 78:[33, 87, 5], Operations: ['93-88=5']
Exploring Operation: 33*5=165, Resulting Numbers: [87, 165]
Generated Node #3: [87, 165] from Operation: 33*5=165
Current State: 78:[87, 165], Operations: ['93-88=5', '33*5=165']
Exploring Operation: 165-87=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[93, 33, 87, 88], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [33, 88, 6]
Generated Node #0,0: 78:[33, 88, 6] Operation: 93-87=6
Exploring Operation: 93-88=5, Resulting Numbers: [33, 87, 5]
Generated Node #0,1: 78:[33, 87, 5] Operation: 93-88=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[33, 88, 6], Operations: ['93-87=6']
Exploring Operation: 33+6=39, Resulting Numbers: [88, 39]
Generated Node #0,0,0: 78:[88, 39] Operation: 33+6=39
Exploring Operation: 88-6=82, Resulting Numbers: [33, 82]
Generated Node #0,0,1: 78:[33, 82] Operation: 88-6=82
Moving to Node #0,0,0
Current State: 78:[88, 39], Operations: ['93-87=6', '33+6=39']
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 88+39=127, Resulting Numbers: [127]
127,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[33, 82], Operations: ['93-87=6', '88-6=82']
Exploring Operation: 33+82=115, Resulting Numbers: [115]
115,78 unequal: No Solution
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[33, 87, 5], Operations: ['93-88=5']
Exploring Operation: 87-5=82, Resulting Numbers: [33, 82]
Generated Node #0,1,0: 78:[33, 82] Operation: 87-5=82
Exploring Operation: 33+5=38, Resulting Numbers: [87, 38]
Generated Node #0,1,1: 78:[87, 38] Operation: 33+5=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[33, 82], Operations: ['93-88=5', '87-5=82']
Exploring Operation: 33+82=115, Resulting Numbers: [115]
115,78 unequal: No Solution
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,78 unequal: No Solution
No 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: 78:[87, 38], Operations: ['93-88=5', '33+5=38']
Exploring Operation: 87+38=125, Resulting Numbers: [125]
125,78 unequal: No Solution
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,78 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 |
[
32,
50,
8,
8
] | 100 | [
"32*50=1600",
"8+8=16",
"1600/16=100"
] | Current State: 100:[32, 50, 8, 8], Operations: []
Exploring Operation: 32*50=1600, Resulting Numbers: [8, 8, 1600]
Generated Node #2: [8, 8, 1600] from Operation: 32*50=1600
Current State: 100:[8, 8, 1600], Operations: ['32*50=1600']
Exploring Operation: 8+8=16, Resulting Numbers: [1600, 16]
Generated Node #3: [1600, 16] from Operation: 8+8=16
Current State: 100:[1600, 16], Operations: ['32*50=1600', '8+8=16']
Exploring Operation: 1600/16=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[32, 50, 8, 8], Operations: []
Exploring Operation: 32-8=24, Resulting Numbers: [50, 8, 24]
Generated Node #0,0: 100:[50, 8, 24] Operation: 32-8=24
Exploring Operation: 32-8=24, Resulting Numbers: [50, 8, 24]
Generated Node #0,1: 100:[50, 8, 24] Operation: 32-8=24
Exploring Operation: 32/8=4, Resulting Numbers: [50, 8, 4]
Generated Node #0,2: 100:[50, 8, 4] Operation: 32/8=4
Exploring Operation: 32/8=4, Resulting Numbers: [50, 8, 4]
Generated Node #0,3: 100:[50, 8, 4] Operation: 32/8=4
Exploring Operation: 50-32=18, Resulting Numbers: [8, 8, 18]
Generated Node #0,4: 100:[8, 8, 18] Operation: 50-32=18
Moving to Node #0,2
Current State: 100:[50, 8, 4], Operations: ['32/8=4']
Exploring Operation: 8+4=12, Resulting Numbers: [50, 12]
Generated Node #0,2,0: 100:[50, 12] Operation: 8+4=12
Exploring Operation: 50+4=54, Resulting Numbers: [8, 54]
Generated Node #0,2,1: 100:[8, 54] Operation: 50+4=54
Exploring Operation: 8-4=4, Resulting Numbers: [50, 4]
Generated Node #0,2,2: 100:[50, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [50, 2]
Generated Node #0,2,3: 100:[50, 2] Operation: 8/4=2
Exploring Operation: 50-4=46, Resulting Numbers: [8, 46]
Generated Node #0,2,4: 100:[8, 46] Operation: 50-4=46
Moving to Node #0,3
Current State: 100:[50, 8, 4], Operations: ['32/8=4']
Exploring Operation: 8-4=4, Resulting Numbers: [50, 4]
Generated Node #0,3,0: 100:[50, 4] Operation: 8-4=4
Exploring Operation: 50+4=54, Resulting Numbers: [8, 54]
Generated Node #0,3,1: 100:[8, 54] Operation: 50+4=54
Exploring Operation: 50-4=46, Resulting Numbers: [8, 46]
Generated Node #0,3,2: 100:[8, 46] Operation: 50-4=46
Exploring Operation: 8/4=2, Resulting Numbers: [50, 2]
Generated Node #0,3,3: 100:[50, 2] Operation: 8/4=2
Exploring Operation: 8+4=12, Resulting Numbers: [50, 12]
Generated Node #0,3,4: 100:[50, 12] Operation: 8+4=12
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 100:[50, 4], Operations: ['32/8=4', '8-4=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 100:[50, 2], Operations: ['32/8=4', '8/4=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[32, 50, 8, 8], Operations: []
Exploring Operation: 32/8=4, Resulting Numbers: [50, 8, 4]
Generated Node #0,3: 100:[50, 8, 4] Operation: 32/8=4
Moving to Node #0,3
Current State: 100:[50, 8, 4], Operations: ['32/8=4']
Exploring Operation: 8/4=2, Resulting Numbers: [50, 2]
Generated Node #0,3,3: 100:[50, 2] Operation: 8/4=2
Moving to Node #0,3,3
Current State: 100:[50, 2], Operations: ['32/8=4', '8/4=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
26,
2,
19,
90
] | 85 | [
"26-2=24",
"19+90=109",
"109-24=85"
] | Current State: 85:[26, 2, 19, 90], Operations: []
Exploring Operation: 26-2=24, Resulting Numbers: [19, 90, 24]
Generated Node #2: [19, 90, 24] from Operation: 26-2=24
Current State: 85:[19, 90, 24], Operations: ['26-2=24']
Exploring Operation: 19+90=109, Resulting Numbers: [24, 109]
Generated Node #3: [24, 109] from Operation: 19+90=109
Current State: 85:[24, 109], Operations: ['26-2=24', '19+90=109']
Exploring Operation: 109-24=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[26, 2, 19, 90], Operations: []
Exploring Operation: 26-19=7, Resulting Numbers: [2, 90, 7]
Generated Node #0,0: 85:[2, 90, 7] Operation: 26-19=7
Exploring Operation: 19-2=17, Resulting Numbers: [26, 90, 17]
Generated Node #0,1: 85:[26, 90, 17] Operation: 19-2=17
Exploring Operation: 90-2=88, Resulting Numbers: [26, 19, 88]
Generated Node #0,2: 85:[26, 19, 88] Operation: 90-2=88
Exploring Operation: 26/2=13, Resulting Numbers: [19, 90, 13]
Generated Node #0,3: 85:[19, 90, 13] Operation: 26/2=13
Exploring Operation: 26-2=24, Resulting Numbers: [19, 90, 24]
Generated Node #0,4: 85:[19, 90, 24] Operation: 26-2=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[2, 90, 7], Operations: ['26-19=7']
Exploring Operation: 2*7=14, Resulting Numbers: [90, 14]
Generated Node #0,0,0: 85:[90, 14] Operation: 2*7=14
Exploring Operation: 90-2=88, Resulting Numbers: [7, 88]
Generated Node #0,0,1: 85:[7, 88] Operation: 90-2=88
Exploring Operation: 7-2=5, Resulting Numbers: [90, 5]
Generated Node #0,0,2: 85:[90, 5] Operation: 7-2=5
Exploring Operation: 90-7=83, Resulting Numbers: [2, 83]
Generated Node #0,0,3: 85:[2, 83] Operation: 90-7=83
Exploring Operation: 2+90=92, Resulting Numbers: [7, 92]
Generated Node #0,0,4: 85:[7, 92] Operation: 2+90=92
Moving to Node #0,0,1
Current State: 85:[7, 88], Operations: ['26-19=7', '90-2=88']
Exploring Operation: 7*88=616, Resulting Numbers: [616]
616,85 unequal: No Solution
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[2, 83], Operations: ['26-19=7', '90-7=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,85 unequal: No Solution
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[26, 2, 19, 90], Operations: []
Exploring Operation: 26-19=7, Resulting Numbers: [2, 90, 7]
Generated Node #0,0: 85:[2, 90, 7] Operation: 26-19=7
Moving to Node #0,0
Current State: 85:[2, 90, 7], Operations: ['26-19=7']
Exploring Operation: 90-7=83, Resulting Numbers: [2, 83]
Generated Node #0,0,3: 85:[2, 83] Operation: 90-7=83
Moving to Node #0,0,3
Current State: 85:[2, 83], Operations: ['26-19=7', '90-7=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
46,
93,
85,
79
] | 53 | [
"93-46=47",
"85-79=6",
"47+6=53"
] | Current State: 53:[46, 93, 85, 79], Operations: []
Exploring Operation: 93-46=47, Resulting Numbers: [85, 79, 47]
Generated Node #2: [85, 79, 47] from Operation: 93-46=47
Current State: 53:[85, 79, 47], Operations: ['93-46=47']
Exploring Operation: 85-79=6, Resulting Numbers: [47, 6]
Generated Node #3: [47, 6] from Operation: 85-79=6
Current State: 53:[47, 6], Operations: ['93-46=47', '85-79=6']
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[46, 93, 85, 79], Operations: []
Exploring Operation: 93-85=8, Resulting Numbers: [46, 79, 8]
Generated Node #0,0: 53:[46, 79, 8] Operation: 93-85=8
Exploring Operation: 93-79=14, Resulting Numbers: [46, 85, 14]
Generated Node #0,1: 53:[46, 85, 14] Operation: 93-79=14
Exploring Operation: 85-46=39, Resulting Numbers: [93, 79, 39]
Generated Node #0,2: 53:[93, 79, 39] Operation: 85-46=39
Exploring Operation: 79-46=33, Resulting Numbers: [93, 85, 33]
Generated Node #0,3: 53:[93, 85, 33] Operation: 79-46=33
Exploring Operation: 93-46=47, Resulting Numbers: [85, 79, 47]
Generated Node #0,4: 53:[85, 79, 47] Operation: 93-46=47
Start Sub Search at level 1: Moving to Node #0,4
Current State: 53:[85, 79, 47], Operations: ['93-46=47']
Exploring Operation: 79+47=126, Resulting Numbers: [85, 126]
Generated Node #0,4,0: 53:[85, 126] Operation: 79+47=126
Exploring Operation: 85-79=6, Resulting Numbers: [47, 6]
Generated Node #0,4,1: 53:[47, 6] Operation: 85-79=6
Exploring Operation: 85-47=38, Resulting Numbers: [79, 38]
Generated Node #0,4,2: 53:[79, 38] Operation: 85-47=38
Exploring Operation: 79-47=32, Resulting Numbers: [85, 32]
Generated Node #0,4,3: 53:[85, 32] Operation: 79-47=32
Exploring Operation: 85+47=132, Resulting Numbers: [79, 132]
Generated Node #0,4,4: 53:[79, 132] Operation: 85+47=132
Moving to Node #0,4,2
Current State: 53:[79, 38], Operations: ['93-46=47', '85-47=38']
Exploring Operation: 79+38=117, Resulting Numbers: [117]
117,53 unequal: No Solution
Exploring Operation: 79*38=3002, Resulting Numbers: [3002]
3002,53 unequal: No Solution
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Moving to Node #0,4,3
Current State: 53:[85, 32], Operations: ['93-46=47', '79-47=32']
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[46, 93, 85, 79], Operations: []
Exploring Operation: 93-46=47, Resulting Numbers: [85, 79, 47]
Generated Node #0,4: 53:[85, 79, 47] Operation: 93-46=47
Moving to Node #0,4
Current State: 53:[85, 79, 47], Operations: ['93-46=47']
Exploring Operation: 79-47=32, Resulting Numbers: [85, 32]
Generated Node #0,4,3: 53:[85, 32] Operation: 79-47=32
Moving to Node #0,4,3
Current State: 53:[85, 32], Operations: ['93-46=47', '79-47=32']
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
9,
3,
49,
54
] | 76 | [
"9*3=27",
"49+54=103",
"103-27=76"
] | Current State: 76:[9, 3, 49, 54], Operations: []
Exploring Operation: 9*3=27, Resulting Numbers: [49, 54, 27]
Generated Node #2: [49, 54, 27] from Operation: 9*3=27
Current State: 76:[49, 54, 27], Operations: ['9*3=27']
Exploring Operation: 49+54=103, Resulting Numbers: [27, 103]
Generated Node #3: [27, 103] from Operation: 49+54=103
Current State: 76:[27, 103], Operations: ['9*3=27', '49+54=103']
Exploring Operation: 103-27=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[9, 3, 49, 54], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [9, 3, 5]
Generated Node #0,0: 76:[9, 3, 5] Operation: 54-49=5
Moving to Node #0,0
Current State: 76:[9, 3, 5], Operations: ['54-49=5']
Exploring Operation: 9-5=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 76:[3, 4] Operation: 9-5=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[3, 4], Operations: ['54-49=5', '9-5=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,76 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 |
[
49,
58,
84,
86
] | 18 | [
"58-49=9",
"86-84=2",
"9*2=18"
] | Current State: 18:[49, 58, 84, 86], Operations: []
Exploring Operation: 58-49=9, Resulting Numbers: [84, 86, 9]
Generated Node #2: [84, 86, 9] from Operation: 58-49=9
Current State: 18:[84, 86, 9], Operations: ['58-49=9']
Exploring Operation: 86-84=2, Resulting Numbers: [9, 2]
Generated Node #3: [9, 2] from Operation: 86-84=2
Current State: 18:[9, 2], Operations: ['58-49=9', '86-84=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[49, 58, 84, 86], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [49, 58, 2]
Generated Node #0,0: 18:[49, 58, 2] Operation: 86-84=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[49, 58, 2], Operations: ['86-84=2']
Exploring Operation: 58-49=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 18:[2, 9] Operation: 58-49=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[2, 9], Operations: ['86-84=2', '58-49=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[49, 58, 84, 86], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [49, 58, 2]
Generated Node #0,0: 18:[49, 58, 2] Operation: 86-84=2
Moving to Node #0,0
Current State: 18:[49, 58, 2], Operations: ['86-84=2']
Exploring Operation: 58-49=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 18:[2, 9] Operation: 58-49=9
Moving to Node #0,0,0
Current State: 18:[2, 9], Operations: ['86-84=2', '58-49=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
21,
48,
7,
23
] | 75 | [
"21/7=3",
"48-23=25",
"3*25=75"
] | Current State: 75:[21, 48, 7, 23], Operations: []
Exploring Operation: 21/7=3, Resulting Numbers: [48, 23, 3]
Generated Node #2: [48, 23, 3] from Operation: 21/7=3
Current State: 75:[48, 23, 3], Operations: ['21/7=3']
Exploring Operation: 48-23=25, Resulting Numbers: [3, 25]
Generated Node #3: [3, 25] from Operation: 48-23=25
Current State: 75:[3, 25], Operations: ['21/7=3', '48-23=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[21, 48, 7, 23], Operations: []
Exploring Operation: 21+48=69, Resulting Numbers: [7, 23, 69]
Generated Node #0,0: 75:[7, 23, 69] Operation: 21+48=69
Exploring Operation: 48-23=25, Resulting Numbers: [21, 7, 25]
Generated Node #0,1: 75:[21, 7, 25] Operation: 48-23=25
Exploring Operation: 48-21=27, Resulting Numbers: [7, 23, 27]
Generated Node #0,2: 75:[7, 23, 27] Operation: 48-21=27
Moving to Node #0,1
Current State: 75:[21, 7, 25], Operations: ['48-23=25']
Exploring Operation: 21-7=14, Resulting Numbers: [25, 14]
Generated Node #0,1,0: 75:[25, 14] Operation: 21-7=14
Exploring Operation: 21+7=28, Resulting Numbers: [25, 28]
Generated Node #0,1,1: 75:[25, 28] Operation: 21+7=28
Exploring Operation: 21/7=3, Resulting Numbers: [25, 3]
Generated Node #0,1,2: 75:[25, 3] Operation: 21/7=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[25, 3], Operations: ['48-23=25', '21/7=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[21, 48, 7, 23], Operations: []
Exploring Operation: 48-23=25, Resulting Numbers: [21, 7, 25]
Generated Node #0,1: 75:[21, 7, 25] Operation: 48-23=25
Moving to Node #0,1
Current State: 75:[21, 7, 25], Operations: ['48-23=25']
Exploring Operation: 21/7=3, Resulting Numbers: [25, 3]
Generated Node #0,1,2: 75:[25, 3] Operation: 21/7=3
Moving to Node #0,1,2
Current State: 75:[25, 3], Operations: ['48-23=25', '21/7=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
8,
83,
85,
41
] | 45 | [
"85-83=2",
"8/2=4",
"41+4=45"
] | Current State: 45:[8, 83, 85, 41], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [8, 41, 2]
Generated Node #2: [8, 41, 2] from Operation: 85-83=2
Current State: 45:[8, 41, 2], Operations: ['85-83=2']
Exploring Operation: 8/2=4, Resulting Numbers: [41, 4]
Generated Node #3: [41, 4] from Operation: 8/2=4
Current State: 45:[41, 4], Operations: ['85-83=2', '8/2=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[8, 83, 85, 41], Operations: []
Exploring Operation: 85-41=44, Resulting Numbers: [8, 83, 44]
Generated Node #0,0: 45:[8, 83, 44] Operation: 85-41=44
Exploring Operation: 85-83=2, Resulting Numbers: [8, 41, 2]
Generated Node #0,1: 45:[8, 41, 2] Operation: 85-83=2
Exploring Operation: 83-41=42, Resulting Numbers: [8, 85, 42]
Generated Node #0,2: 45:[8, 85, 42] Operation: 83-41=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[8, 41, 2], Operations: ['85-83=2']
Exploring Operation: 8+41=49, Resulting Numbers: [2, 49]
Generated Node #0,1,0: 45:[2, 49] Operation: 8+41=49
Exploring Operation: 41+2=43, Resulting Numbers: [8, 43]
Generated Node #0,1,1: 45:[8, 43] Operation: 41+2=43
Exploring Operation: 8+2=10, Resulting Numbers: [41, 10]
Generated Node #0,1,2: 45:[41, 10] Operation: 8+2=10
Moving to Node #0,1,1
Current State: 45:[8, 43], Operations: ['85-83=2', '41+2=43']
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,45 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[2, 49], Operations: ['85-83=2', '8+41=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,45 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[41, 10], Operations: ['85-83=2', '8+2=10']
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 41*10=410, Resulting Numbers: [410]
410,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[8, 83, 44], Operations: ['85-41=44']
Exploring Operation: 8+44=52, Resulting Numbers: [83, 52]
Generated Node #0,0,0: 45:[83, 52] Operation: 8+44=52
Exploring Operation: 83-44=39, Resulting Numbers: [8, 39]
Generated Node #0,0,1: 45:[8, 39] Operation: 83-44=39
Exploring Operation: 83-8=75, Resulting Numbers: [44, 75]
Generated Node #0,0,2: 45:[44, 75] Operation: 83-8=75
Moving to Node #0,0,1
Current State: 45:[8, 39], Operations: ['85-41=44', '83-44=39']
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,45 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[44, 75], Operations: ['85-41=44', '83-8=75']
Exploring Operation: 75-44=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 44+75=119, Resulting Numbers: [119]
119,45 unequal: No Solution
Exploring Operation: 44*75=3300, Resulting Numbers: [3300]
3300,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[83, 52], Operations: ['85-41=44', '8+44=52']
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 83+52=135, Resulting Numbers: [135]
135,45 unequal: No Solution
Exploring Operation: 83*52=4316, Resulting Numbers: [4316]
4316,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,2
Current State: 45:[8, 85, 42], Operations: ['83-41=42']
Exploring Operation: 85-8=77, Resulting Numbers: [42, 77]
Generated Node #0,2,0: 45:[42, 77] Operation: 85-8=77
Exploring Operation: 8+42=50, Resulting Numbers: [85, 50]
Generated Node #0,2,1: 45:[85, 50] Operation: 8+42=50
Exploring Operation: 85-42=43, Resulting Numbers: [8, 43]
Generated Node #0,2,2: 45:[8, 43] Operation: 85-42=43
Moving to Node #0,2,2
Current State: 45:[8, 43], Operations: ['83-41=42', '85-42=43']
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,45 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[42, 77], Operations: ['83-41=42', '85-8=77']
Exploring Operation: 42+77=119, Resulting Numbers: [119]
119,45 unequal: No Solution
Exploring Operation: 42*77=3234, Resulting Numbers: [3234]
3234,45 unequal: No Solution
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[85, 50], Operations: ['83-41=42', '8+42=50']
Exploring Operation: 85+50=135, Resulting Numbers: [135]
135,45 unequal: No Solution
Exploring Operation: 85*50=4250, Resulting Numbers: [4250]
4250,45 unequal: No Solution
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,45 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 |
[
24,
63,
43,
79
] | 42 | [
"24*63=1512",
"79-43=36",
"1512/36=42"
] | Current State: 42:[24, 63, 43, 79], Operations: []
Exploring Operation: 24*63=1512, Resulting Numbers: [43, 79, 1512]
Generated Node #2: [43, 79, 1512] from Operation: 24*63=1512
Current State: 42:[43, 79, 1512], Operations: ['24*63=1512']
Exploring Operation: 79-43=36, Resulting Numbers: [1512, 36]
Generated Node #3: [1512, 36] from Operation: 79-43=36
Current State: 42:[1512, 36], Operations: ['24*63=1512', '79-43=36']
Exploring Operation: 1512/36=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[24, 63, 43, 79], Operations: []
Exploring Operation: 79-63=16, Resulting Numbers: [24, 43, 16]
Generated Node #0,0: 42:[24, 43, 16] Operation: 79-63=16
Exploring Operation: 79-43=36, Resulting Numbers: [24, 63, 36]
Generated Node #0,1: 42:[24, 63, 36] Operation: 79-43=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[24, 43, 16], Operations: ['79-63=16']
Exploring Operation: 24-16=8, Resulting Numbers: [43, 8]
Generated Node #0,0,0: 42:[43, 8] Operation: 24-16=8
Exploring Operation: 24+16=40, Resulting Numbers: [43, 40]
Generated Node #0,0,1: 42:[43, 40] Operation: 24+16=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[43, 8], Operations: ['79-63=16', '24-16=8']
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,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:[43, 40], Operations: ['79-63=16', '24+16=40']
Exploring Operation: 43+40=83, Resulting Numbers: [83]
83,42 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,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:[24, 63, 36], Operations: ['79-43=36']
Exploring Operation: 63-36=27, Resulting Numbers: [24, 27]
Generated Node #0,1,0: 42:[24, 27] Operation: 63-36=27
Exploring Operation: 63-24=39, Resulting Numbers: [36, 39]
Generated Node #0,1,1: 42:[36, 39] Operation: 63-24=39
Moving to Node #0,1,0
Current State: 42:[24, 27], Operations: ['79-43=36', '63-36=27']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[36, 39], Operations: ['79-43=36', '63-24=39']
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,42 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,
1,
25,
28
] | 11 | [
"33*1=33",
"28-25=3",
"33/3=11"
] | Current State: 11:[33, 1, 25, 28], Operations: []
Exploring Operation: 33*1=33, Resulting Numbers: [25, 28, 33]
Generated Node #2: [25, 28, 33] from Operation: 33*1=33
Current State: 11:[25, 28, 33], Operations: ['33*1=33']
Exploring Operation: 28-25=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 28-25=3
Current State: 11:[33, 3], Operations: ['33*1=33', '28-25=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[33, 1, 25, 28], Operations: []
Exploring Operation: 33-28=5, Resulting Numbers: [1, 25, 5]
Generated Node #0,0: 11:[1, 25, 5] Operation: 33-28=5
Exploring Operation: 33-1=32, Resulting Numbers: [25, 28, 32]
Generated Node #0,1: 11:[25, 28, 32] Operation: 33-1=32
Exploring Operation: 33-25=8, Resulting Numbers: [1, 28, 8]
Generated Node #0,2: 11:[1, 28, 8] Operation: 33-25=8
Exploring Operation: 28-25=3, Resulting Numbers: [33, 1, 3]
Generated Node #0,3: 11:[33, 1, 3] Operation: 28-25=3
Moving to Node #0,0
Current State: 11:[1, 25, 5], Operations: ['33-28=5']
Exploring Operation: 25-1=24, Resulting Numbers: [5, 24]
Generated Node #0,0,0: 11:[5, 24] Operation: 25-1=24
Exploring Operation: 25-5=20, Resulting Numbers: [1, 20]
Generated Node #0,0,1: 11:[1, 20] Operation: 25-5=20
Exploring Operation: 1+5=6, Resulting Numbers: [25, 6]
Generated Node #0,0,2: 11:[25, 6] Operation: 1+5=6
Exploring Operation: 25/5=5, Resulting Numbers: [1, 5]
Generated Node #0,0,3: 11:[1, 5] Operation: 25/5=5
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 11:[1, 5], Operations: ['33-28=5', '25/5=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[5, 24], Operations: ['33-28=5', '25-1=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[1, 20], Operations: ['33-28=5', '25-5=20']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 11:[25, 6], Operations: ['33-28=5', '1+5=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,11 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: 11:[1, 28, 8], Operations: ['33-25=8']
Exploring Operation: 28-8=20, Resulting Numbers: [1, 20]
Generated Node #0,2,0: 11:[1, 20] Operation: 28-8=20
Exploring Operation: 28-1=27, Resulting Numbers: [8, 27]
Generated Node #0,2,1: 11:[8, 27] Operation: 28-1=27
Exploring Operation: 1*28=28, Resulting Numbers: [8, 28]
Generated Node #0,2,2: 11:[8, 28] Operation: 1*28=28
Exploring Operation: 1+8=9, Resulting Numbers: [28, 9]
Generated Node #0,2,3: 11:[28, 9] Operation: 1+8=9
Moving to Node #0,3
Current State: 11:[33, 1, 3], Operations: ['28-25=3']
Exploring Operation: 1+3=4, Resulting Numbers: [33, 4]
Generated Node #0,3,0: 11:[33, 4] Operation: 1+3=4
Exploring Operation: 33-3=30, Resulting Numbers: [1, 30]
Generated Node #0,3,1: 11:[1, 30] Operation: 33-3=30
Exploring Operation: 33-1=32, Resulting Numbers: [3, 32]
Generated Node #0,3,2: 11:[3, 32] Operation: 33-1=32
Exploring Operation: 33/3=11, Resulting Numbers: [1, 11]
Generated Node #0,3,3: 11:[1, 11] Operation: 33/3=11
Moving to Node #0,1
Current State: 11:[25, 28, 32], Operations: ['33-1=32']
Exploring Operation: 32-28=4, Resulting Numbers: [25, 4]
Generated Node #0,1,0: 11:[25, 4] Operation: 32-28=4
Exploring Operation: 25+28=53, Resulting Numbers: [32, 53]
Generated Node #0,1,1: 11:[32, 53] Operation: 25+28=53
Exploring Operation: 32-25=7, Resulting Numbers: [28, 7]
Generated Node #0,1,2: 11:[28, 7] Operation: 32-25=7
Exploring Operation: 28-25=3, Resulting Numbers: [32, 3]
Generated Node #0,1,3: 11:[32, 3] Operation: 28-25=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[25, 4], Operations: ['33-1=32', '32-28=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[28, 7], Operations: ['33-1=32', '32-25=7']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 28*7=196, Resulting Numbers: [196]
196,11 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 11:[32, 3], Operations: ['33-1=32', '28-25=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[32, 53], Operations: ['33-1=32', '25+28=53']
Exploring Operation: 53-32=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 32*53=1696, Resulting Numbers: [1696]
1696,11 unequal: No Solution
Exploring Operation: 32+53=85, Resulting Numbers: [85]
85,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 11:[1, 11], Operations: ['28-25=3', '33/3=11']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[33, 1, 25, 28], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [33, 1, 3]
Generated Node #0,3: 11:[33, 1, 3] Operation: 28-25=3
Moving to Node #0,3
Current State: 11:[33, 1, 3], Operations: ['28-25=3']
Exploring Operation: 33/3=11, Resulting Numbers: [1, 11]
Generated Node #0,3,3: 11:[1, 11] Operation: 33/3=11
Moving to Node #0,3,3
Current State: 11:[1, 11], Operations: ['28-25=3', '33/3=11']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.954861 | hs_4 | mult_heuristic |
[
65,
11,
16,
63
] | 76 | [
"16-11=5",
"65/5=13",
"63+13=76"
] | Current State: 76:[65, 11, 16, 63], Operations: []
Exploring Operation: 16-11=5, Resulting Numbers: [65, 63, 5]
Generated Node #2: [65, 63, 5] from Operation: 16-11=5
Current State: 76:[65, 63, 5], Operations: ['16-11=5']
Exploring Operation: 65/5=13, Resulting Numbers: [63, 13]
Generated Node #3: [63, 13] from Operation: 65/5=13
Current State: 76:[63, 13], Operations: ['16-11=5', '65/5=13']
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[65, 11, 16, 63], Operations: []
Exploring Operation: 11+63=74, Resulting Numbers: [65, 16, 74]
Generated Node #0,0: 76:[65, 16, 74] Operation: 11+63=74
Exploring Operation: 65-63=2, Resulting Numbers: [11, 16, 2]
Generated Node #0,1: 76:[11, 16, 2] Operation: 65-63=2
Exploring Operation: 65+11=76, Resulting Numbers: [16, 63, 76]
Generated Node #0,2: 76:[16, 63, 76] Operation: 65+11=76
Moving to Node #0,1
Current State: 76:[11, 16, 2], Operations: ['65-63=2']
Exploring Operation: 11*2=22, Resulting Numbers: [16, 22]
Generated Node #0,1,0: 76:[16, 22] Operation: 11*2=22
Exploring Operation: 11+16=27, Resulting Numbers: [2, 27]
Generated Node #0,1,1: 76:[2, 27] Operation: 11+16=27
Exploring Operation: 16-11=5, Resulting Numbers: [2, 5]
Generated Node #0,1,2: 76:[2, 5] Operation: 16-11=5
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[2, 5], Operations: ['65-63=2', '16-11=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,76 unequal: No Solution
No 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: 76:[16, 22], Operations: ['65-63=2', '11*2=22']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,76 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,76 unequal: No Solution
No 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: 76:[2, 27], Operations: ['65-63=2', '11+16=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,76 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: 76:[65, 16, 74], Operations: ['11+63=74']
Exploring Operation: 65+16=81, Resulting Numbers: [74, 81]
Generated Node #0,0,0: 76:[74, 81] Operation: 65+16=81
Exploring Operation: 74-65=9, Resulting Numbers: [16, 9]
Generated Node #0,0,1: 76:[16, 9] Operation: 74-65=9
Exploring Operation: 65-16=49, Resulting Numbers: [74, 49]
Generated Node #0,0,2: 76:[74, 49] Operation: 65-16=49
Moving to Node #0,2
Current State: 76:[16, 63, 76], Operations: ['65+11=76']
Exploring Operation: 63-16=47, Resulting Numbers: [76, 47]
Generated Node #0,2,0: 76:[76, 47] Operation: 63-16=47
Exploring Operation: 76-63=13, Resulting Numbers: [16, 13]
Generated Node #0,2,1: 76:[16, 13] Operation: 76-63=13
Exploring Operation: 16+63=79, Resulting Numbers: [76, 79]
Generated Node #0,2,2: 76:[76, 79] Operation: 16+63=79
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[76, 79], Operations: ['65+11=76', '16+63=79']
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 76*79=6004, Resulting Numbers: [6004]
6004,76 unequal: No Solution
Exploring Operation: 76+79=155, Resulting Numbers: [155]
155,76 unequal: No Solution
No 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: 76:[76, 47], Operations: ['65+11=76', '63-16=47']
Exploring Operation: 76*47=3572, Resulting Numbers: [3572]
3572,76 unequal: No Solution
Exploring Operation: 76+47=123, Resulting Numbers: [123]
123,76 unequal: No Solution
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,76 unequal: No Solution
No 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: 76:[16, 13], Operations: ['65+11=76', '76-63=13']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 76:[74, 81], Operations: ['11+63=74', '65+16=81']
Exploring Operation: 74*81=5994, Resulting Numbers: [5994]
5994,76 unequal: No Solution
Exploring Operation: 74+81=155, Resulting Numbers: [155]
155,76 unequal: No Solution
Exploring Operation: 81-74=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[16, 9], Operations: ['11+63=74', '74-65=9']
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,76 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[74, 49], Operations: ['11+63=74', '65-16=49']
Exploring Operation: 74*49=3626, Resulting Numbers: [3626]
3626,76 unequal: No Solution
Exploring Operation: 74-49=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 74+49=123, Resulting Numbers: [123]
123,76 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
17,
66,
73,
30
] | 91 | [
"30-17=13",
"73-66=7",
"13*7=91"
] | Current State: 91:[17, 66, 73, 30], Operations: []
Exploring Operation: 30-17=13, Resulting Numbers: [66, 73, 13]
Generated Node #2: [66, 73, 13] from Operation: 30-17=13
Current State: 91:[66, 73, 13], Operations: ['30-17=13']
Exploring Operation: 73-66=7, Resulting Numbers: [13, 7]
Generated Node #3: [13, 7] from Operation: 73-66=7
Current State: 91:[13, 7], Operations: ['30-17=13', '73-66=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[17, 66, 73, 30], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [17, 30, 7]
Generated Node #0,0: 91:[17, 30, 7] Operation: 73-66=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[17, 30, 7], Operations: ['73-66=7']
Exploring Operation: 30-17=13, Resulting Numbers: [7, 13]
Generated Node #0,0,0: 91:[7, 13] Operation: 30-17=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[7, 13], Operations: ['73-66=7', '30-17=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[17, 66, 73, 30], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [17, 30, 7]
Generated Node #0,0: 91:[17, 30, 7] Operation: 73-66=7
Moving to Node #0,0
Current State: 91:[17, 30, 7], Operations: ['73-66=7']
Exploring Operation: 30-17=13, Resulting Numbers: [7, 13]
Generated Node #0,0,0: 91:[7, 13] Operation: 30-17=13
Moving to Node #0,0,0
Current State: 91:[7, 13], Operations: ['73-66=7', '30-17=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
8,
14,
63,
12
] | 65 | [
"14-8=6",
"12/6=2",
"63+2=65"
] | Current State: 65:[8, 14, 63, 12], Operations: []
Exploring Operation: 14-8=6, Resulting Numbers: [63, 12, 6]
Generated Node #2: [63, 12, 6] from Operation: 14-8=6
Current State: 65:[63, 12, 6], Operations: ['14-8=6']
Exploring Operation: 12/6=2, Resulting Numbers: [63, 2]
Generated Node #3: [63, 2] from Operation: 12/6=2
Current State: 65:[63, 2], Operations: ['14-8=6', '12/6=2']
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[8, 14, 63, 12], Operations: []
Exploring Operation: 8+63=71, Resulting Numbers: [14, 12, 71]
Generated Node #0,0: 65:[14, 12, 71] Operation: 8+63=71
Exploring Operation: 14-8=6, Resulting Numbers: [63, 12, 6]
Generated Node #0,1: 65:[63, 12, 6] Operation: 14-8=6
Exploring Operation: 14-12=2, Resulting Numbers: [8, 63, 2]
Generated Node #0,2: 65:[8, 63, 2] Operation: 14-12=2
Exploring Operation: 12-8=4, Resulting Numbers: [14, 63, 4]
Generated Node #0,3: 65:[14, 63, 4] Operation: 12-8=4
Moving to Node #0,1
Current State: 65:[63, 12, 6], Operations: ['14-8=6']
Exploring Operation: 12/6=2, Resulting Numbers: [63, 2]
Generated Node #0,1,0: 65:[63, 2] Operation: 12/6=2
Exploring Operation: 63+6=69, Resulting Numbers: [12, 69]
Generated Node #0,1,1: 65:[12, 69] Operation: 63+6=69
Exploring Operation: 12+6=18, Resulting Numbers: [63, 18]
Generated Node #0,1,2: 65:[63, 18] Operation: 12+6=18
Exploring Operation: 12-6=6, Resulting Numbers: [63, 6]
Generated Node #0,1,3: 65:[63, 6] Operation: 12-6=6
Moving to Node #0,3
Current State: 65:[14, 63, 4], Operations: ['12-8=4']
Exploring Operation: 63+4=67, Resulting Numbers: [14, 67]
Generated Node #0,3,0: 65:[14, 67] Operation: 63+4=67
Exploring Operation: 14+4=18, Resulting Numbers: [63, 18]
Generated Node #0,3,1: 65:[63, 18] Operation: 14+4=18
Exploring Operation: 63-4=59, Resulting Numbers: [14, 59]
Generated Node #0,3,2: 65:[14, 59] Operation: 63-4=59
Exploring Operation: 14-4=10, Resulting Numbers: [63, 10]
Generated Node #0,3,3: 65:[63, 10] Operation: 14-4=10
Moving to Node #0,2
Current State: 65:[8, 63, 2], Operations: ['14-12=2']
Exploring Operation: 63+2=65, Resulting Numbers: [8, 65]
Generated Node #0,2,0: 65:[8, 65] Operation: 63+2=65
Exploring Operation: 8+2=10, Resulting Numbers: [63, 10]
Generated Node #0,2,1: 65:[63, 10] Operation: 8+2=10
Exploring Operation: 8/2=4, Resulting Numbers: [63, 4]
Generated Node #0,2,2: 65:[63, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [63, 6]
Generated Node #0,2,3: 65:[63, 6] Operation: 8-2=6
Moving to Node #0,0
Current State: 65:[14, 12, 71], Operations: ['8+63=71']
Exploring Operation: 14-12=2, Resulting Numbers: [71, 2]
Generated Node #0,0,0: 65:[71, 2] Operation: 14-12=2
Exploring Operation: 14+12=26, Resulting Numbers: [71, 26]
Generated Node #0,0,1: 65:[71, 26] Operation: 14+12=26
Exploring Operation: 71-12=59, Resulting Numbers: [14, 59]
Generated Node #0,0,2: 65:[14, 59] Operation: 71-12=59
Exploring Operation: 71-14=57, Resulting Numbers: [12, 57]
Generated Node #0,0,3: 65:[12, 57] Operation: 71-14=57
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[14, 59], Operations: ['8+63=71', '71-12=59']
Exploring Operation: 14*59=826, Resulting Numbers: [826]
826,65 unequal: No Solution
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 14+59=73, Resulting Numbers: [73]
73,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[71, 2], Operations: ['8+63=71', '14-12=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[12, 57], Operations: ['8+63=71', '71-14=57']
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 12*57=684, Resulting Numbers: [684]
684,65 unequal: No Solution
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[71, 26], Operations: ['8+63=71', '14+12=26']
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 71*26=1846, Resulting Numbers: [1846]
1846,65 unequal: No Solution
Exploring Operation: 71+26=97, Resulting Numbers: [97]
97,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 65:[63, 6], Operations: ['14-8=6', '12-6=6']
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,65 unequal: No Solution
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[14, 67], Operations: ['12-8=4', '63+4=67']
Exploring Operation: 14*67=938, Resulting Numbers: [938]
938,65 unequal: No Solution
Exploring Operation: 14+67=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[63, 4], Operations: ['14-12=2', '8/2=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,65 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[63, 6], Operations: ['14-12=2', '8-2=6']
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,65 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[8, 65], Operations: ['14-12=2', '63+2=65']
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 8*65=520, Resulting Numbers: [520]
520,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[12, 69], Operations: ['14-8=6', '63+6=69']
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 12+69=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Exploring Operation: 12*69=828, Resulting Numbers: [828]
828,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[63, 10], Operations: ['12-8=4', '14-4=10']
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,65 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[63, 2], Operations: ['14-8=6', '12/6=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[8, 14, 63, 12], Operations: []
Exploring Operation: 14-8=6, Resulting Numbers: [63, 12, 6]
Generated Node #0,1: 65:[63, 12, 6] Operation: 14-8=6
Moving to Node #0,1
Current State: 65:[63, 12, 6], Operations: ['14-8=6']
Exploring Operation: 12/6=2, Resulting Numbers: [63, 2]
Generated Node #0,1,0: 65:[63, 2] Operation: 12/6=2
Moving to Node #0,1,0
Current State: 65:[63, 2], Operations: ['14-8=6', '12/6=2']
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.947917 | hs_4 | mult_heuristic |
[
4,
77,
2,
89
] | 41 | [
"77-2=75",
"89+75=164",
"164/4=41"
] | Current State: 41:[4, 77, 2, 89], Operations: []
Exploring Operation: 77-2=75, Resulting Numbers: [4, 89, 75]
Generated Node #2: [4, 89, 75] from Operation: 77-2=75
Current State: 41:[4, 89, 75], Operations: ['77-2=75']
Exploring Operation: 89+75=164, Resulting Numbers: [4, 164]
Generated Node #3: [4, 164] from Operation: 89+75=164
Current State: 41:[4, 164], Operations: ['77-2=75', '89+75=164']
Exploring Operation: 164/4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[4, 77, 2, 89], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [4, 2, 12]
Generated Node #0,0: 41:[4, 2, 12] Operation: 89-77=12
Exploring Operation: 4*2=8, Resulting Numbers: [77, 89, 8]
Generated Node #0,1: 41:[77, 89, 8] Operation: 4*2=8
Exploring Operation: 77-4=73, Resulting Numbers: [2, 89, 73]
Generated Node #0,2: 41:[2, 89, 73] Operation: 77-4=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[4, 2, 12], Operations: ['89-77=12']
Exploring Operation: 4*12=48, Resulting Numbers: [2, 48]
Generated Node #0,0,0: 41:[2, 48] Operation: 4*12=48
Exploring Operation: 2*12=24, Resulting Numbers: [4, 24]
Generated Node #0,0,1: 41:[4, 24] Operation: 2*12=24
Exploring Operation: 4*2=8, Resulting Numbers: [12, 8]
Generated Node #0,0,2: 41:[12, 8] Operation: 4*2=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[2, 48], Operations: ['89-77=12', '4*12=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[4, 24], Operations: ['89-77=12', '2*12=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[12, 8], Operations: ['89-77=12', '4*2=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[77, 89, 8], Operations: ['4*2=8']
Exploring Operation: 89-8=81, Resulting Numbers: [77, 81]
Generated Node #0,1,0: 41:[77, 81] Operation: 89-8=81
Exploring Operation: 89-77=12, Resulting Numbers: [8, 12]
Generated Node #0,1,1: 41:[8, 12] Operation: 89-77=12
Exploring Operation: 77-8=69, Resulting Numbers: [89, 69]
Generated Node #0,1,2: 41:[89, 69] Operation: 77-8=69
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[8, 12], Operations: ['4*2=8', '89-77=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[77, 81], Operations: ['4*2=8', '89-8=81']
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 77+81=158, Resulting Numbers: [158]
158,41 unequal: No Solution
Exploring Operation: 77*81=6237, Resulting Numbers: [6237]
6237,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[89, 69], Operations: ['4*2=8', '77-8=69']
Exploring Operation: 89+69=158, Resulting Numbers: [158]
158,41 unequal: No Solution
Exploring Operation: 89-69=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 89*69=6141, Resulting Numbers: [6141]
6141,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[2, 89, 73], Operations: ['77-4=73']
Exploring Operation: 89-73=16, Resulting Numbers: [2, 16]
Generated Node #0,2,0: 41:[2, 16] Operation: 89-73=16
Exploring Operation: 73-2=71, Resulting Numbers: [89, 71]
Generated Node #0,2,1: 41:[89, 71] Operation: 73-2=71
Exploring Operation: 89-2=87, Resulting Numbers: [73, 87]
Generated Node #0,2,2: 41:[73, 87] Operation: 89-2=87
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 41:[2, 16], Operations: ['77-4=73', '89-73=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 41:[89, 71], Operations: ['77-4=73', '73-2=71']
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 89*71=6319, Resulting Numbers: [6319]
6319,41 unequal: No Solution
Exploring Operation: 89+71=160, Resulting Numbers: [160]
160,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 41:[73, 87], Operations: ['77-4=73', '89-2=87']
Exploring Operation: 73+87=160, Resulting Numbers: [160]
160,41 unequal: No Solution
Exploring Operation: 87-73=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 73*87=6351, Resulting Numbers: [6351]
6351,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
45,
53,
84,
42
] | 50 | [
"53-45=8",
"84-42=42",
"8+42=50"
] | Current State: 50:[45, 53, 84, 42], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [84, 42, 8]
Generated Node #2: [84, 42, 8] from Operation: 53-45=8
Current State: 50:[84, 42, 8], Operations: ['53-45=8']
Exploring Operation: 84-42=42, Resulting Numbers: [8, 42]
Generated Node #3: [8, 42] from Operation: 84-42=42
Current State: 50:[8, 42], Operations: ['53-45=8', '84-42=42']
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[45, 53, 84, 42], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [45, 53, 2]
Generated Node #0,0: 50:[45, 53, 2] Operation: 84/42=2
Exploring Operation: 84-42=42, Resulting Numbers: [45, 53, 42]
Generated Node #0,1: 50:[45, 53, 42] Operation: 84-42=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[45, 53, 2], Operations: ['84/42=2']
Exploring Operation: 53-45=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 50:[2, 8] Operation: 53-45=8
Exploring Operation: 45+2=47, Resulting Numbers: [53, 47]
Generated Node #0,0,1: 50:[53, 47] Operation: 45+2=47
Moving to Node #0,0,0
Current State: 50:[2, 8], Operations: ['84/42=2', '53-45=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[53, 47], Operations: ['84/42=2', '45+2=47']
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[45, 53, 42], Operations: ['84-42=42']
Exploring Operation: 53-42=11, Resulting Numbers: [45, 11]
Generated Node #0,1,0: 50:[45, 11] Operation: 53-42=11
Exploring Operation: 45-42=3, Resulting Numbers: [53, 3]
Generated Node #0,1,1: 50:[53, 3] Operation: 45-42=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[53, 3], Operations: ['84-42=42', '45-42=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[45, 53, 84, 42], Operations: []
Exploring Operation: 84-42=42, Resulting Numbers: [45, 53, 42]
Generated Node #0,1: 50:[45, 53, 42] Operation: 84-42=42
Moving to Node #0,1
Current State: 50:[45, 53, 42], Operations: ['84-42=42']
Exploring Operation: 45-42=3, Resulting Numbers: [53, 3]
Generated Node #0,1,1: 50:[53, 3] Operation: 45-42=3
Moving to Node #0,1,1
Current State: 50:[53, 3], Operations: ['84-42=42', '45-42=3']
Exploring Operation: 53-3=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 |
[
96,
83,
78,
67
] | 72 | [
"83-67=16",
"96/16=6",
"78-6=72"
] | Current State: 72:[96, 83, 78, 67], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [96, 78, 16]
Generated Node #2: [96, 78, 16] from Operation: 83-67=16
Current State: 72:[96, 78, 16], Operations: ['83-67=16']
Exploring Operation: 96/16=6, Resulting Numbers: [78, 6]
Generated Node #3: [78, 6] from Operation: 96/16=6
Current State: 72:[78, 6], Operations: ['83-67=16', '96/16=6']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[96, 83, 78, 67], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [78, 67, 13]
Generated Node #0,0: 72:[78, 67, 13] Operation: 96-83=13
Moving to Node #0,0
Current State: 72:[78, 67, 13], Operations: ['96-83=13']
Exploring Operation: 78-67=11, Resulting Numbers: [13, 11]
Generated Node #0,0,0: 72:[13, 11] Operation: 78-67=11
Moving to Node #0,0,0
Current State: 72:[13, 11], Operations: ['96-83=13', '78-67=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,72 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
63,
20,
18,
82
] | 19 | [
"63+20=83",
"82-18=64",
"83-64=19"
] | Current State: 19:[63, 20, 18, 82], Operations: []
Exploring Operation: 63+20=83, Resulting Numbers: [18, 82, 83]
Generated Node #2: [18, 82, 83] from Operation: 63+20=83
Current State: 19:[18, 82, 83], Operations: ['63+20=83']
Exploring Operation: 82-18=64, Resulting Numbers: [83, 64]
Generated Node #3: [83, 64] from Operation: 82-18=64
Current State: 19:[83, 64], Operations: ['63+20=83', '82-18=64']
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[63, 20, 18, 82], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [20, 18, 19]
Generated Node #0,0: 19:[20, 18, 19] Operation: 82-63=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[20, 18, 19], Operations: ['82-63=19']
Exploring Operation: 20-18=2, Resulting Numbers: [19, 2]
Generated Node #0,0,0: 19:[19, 2] Operation: 20-18=2
Moving to Node #0,0,0
Current State: 19:[19, 2], Operations: ['82-63=19', '20-18=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,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 | mult_heuristic |
[
10,
66,
96,
24
] | 19 | [
"10+66=76",
"96/24=4",
"76/4=19"
] | Current State: 19:[10, 66, 96, 24], Operations: []
Exploring Operation: 10+66=76, Resulting Numbers: [96, 24, 76]
Generated Node #2: [96, 24, 76] from Operation: 10+66=76
Current State: 19:[96, 24, 76], Operations: ['10+66=76']
Exploring Operation: 96/24=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 96/24=4
Current State: 19:[76, 4], Operations: ['10+66=76', '96/24=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[10, 66, 96, 24], Operations: []
Exploring Operation: 66-24=42, Resulting Numbers: [10, 96, 42]
Generated Node #0,0: 19:[10, 96, 42] Operation: 66-24=42
Exploring Operation: 96/24=4, Resulting Numbers: [10, 66, 4]
Generated Node #0,1: 19:[10, 66, 4] Operation: 96/24=4
Exploring Operation: 96-66=30, Resulting Numbers: [10, 24, 30]
Generated Node #0,2: 19:[10, 24, 30] Operation: 96-66=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[10, 24, 30], Operations: ['96-66=30']
Exploring Operation: 30-10=20, Resulting Numbers: [24, 20]
Generated Node #0,2,0: 19:[24, 20] Operation: 30-10=20
Exploring Operation: 30/10=3, Resulting Numbers: [24, 3]
Generated Node #0,2,1: 19:[24, 3] Operation: 30/10=3
Exploring Operation: 24-10=14, Resulting Numbers: [30, 14]
Generated Node #0,2,2: 19:[30, 14] Operation: 24-10=14
Moving to Node #0,2,0
Current State: 19:[24, 20], Operations: ['96-66=30', '30-10=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,19 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[30, 14], Operations: ['96-66=30', '24-10=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,19 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[24, 3], Operations: ['96-66=30', '30/10=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[10, 66, 4], Operations: ['96/24=4']
Exploring Operation: 66-4=62, Resulting Numbers: [10, 62]
Generated Node #0,1,0: 19:[10, 62] Operation: 66-4=62
Exploring Operation: 10+4=14, Resulting Numbers: [66, 14]
Generated Node #0,1,1: 19:[66, 14] Operation: 10+4=14
Exploring Operation: 66-10=56, Resulting Numbers: [4, 56]
Generated Node #0,1,2: 19:[4, 56] Operation: 66-10=56
Moving to Node #0,1,0
Current State: 19:[10, 62], Operations: ['96/24=4', '66-4=62']
Exploring Operation: 10+62=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 10*62=620, Resulting Numbers: [620]
620,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[66, 14], Operations: ['96/24=4', '10+4=14']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[4, 56], Operations: ['96/24=4', '66-10=56']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[10, 96, 42], Operations: ['66-24=42']
Exploring Operation: 42-10=32, Resulting Numbers: [96, 32]
Generated Node #0,0,0: 19:[96, 32] Operation: 42-10=32
Exploring Operation: 96-42=54, Resulting Numbers: [10, 54]
Generated Node #0,0,1: 19:[10, 54] Operation: 96-42=54
Exploring Operation: 96-10=86, Resulting Numbers: [42, 86]
Generated Node #0,0,2: 19:[42, 86] Operation: 96-10=86
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[10, 54], Operations: ['66-24=42', '96-42=54']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 10+54=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 10*54=540, Resulting Numbers: [540]
540,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[96, 32], Operations: ['66-24=42', '42-10=32']
Exploring Operation: 96/32=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 96-32=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 96+32=128, Resulting Numbers: [128]
128,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[42, 86], Operations: ['66-24=42', '96-10=86']
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 42*86=3612, Resulting Numbers: [3612]
3612,19 unequal: No Solution
Exploring Operation: 42+86=128, Resulting Numbers: [128]
128,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
47,
48,
75,
10
] | 65 | [
"48-47=1",
"75-10=65",
"1*65=65"
] | Current State: 65:[47, 48, 75, 10], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [75, 10, 1]
Generated Node #2: [75, 10, 1] from Operation: 48-47=1
Current State: 65:[75, 10, 1], Operations: ['48-47=1']
Exploring Operation: 75-10=65, Resulting Numbers: [1, 65]
Generated Node #3: [1, 65] from Operation: 75-10=65
Current State: 65:[1, 65], Operations: ['48-47=1', '75-10=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[47, 48, 75, 10], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [75, 10, 1]
Generated Node #0,0: 65:[75, 10, 1] Operation: 48-47=1
Exploring Operation: 75-47=28, Resulting Numbers: [48, 10, 28]
Generated Node #0,1: 65:[48, 10, 28] Operation: 75-47=28
Moving to Node #0,0
Current State: 65:[75, 10, 1], Operations: ['48-47=1']
Exploring Operation: 75-10=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 65:[1, 65] Operation: 75-10=65
Exploring Operation: 75-1=74, Resulting Numbers: [10, 74]
Generated Node #0,0,1: 65:[10, 74] Operation: 75-1=74
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[1, 65], Operations: ['48-47=1', '75-10=65']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[47, 48, 75, 10], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [75, 10, 1]
Generated Node #0,0: 65:[75, 10, 1] Operation: 48-47=1
Moving to Node #0,0
Current State: 65:[75, 10, 1], Operations: ['48-47=1']
Exploring Operation: 75-10=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 65:[1, 65] Operation: 75-10=65
Moving to Node #0,0,0
Current State: 65:[1, 65], Operations: ['48-47=1', '75-10=65']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
48,
81,
39,
67
] | 76 | [
"48-39=9",
"81/9=9",
"67+9=76"
] | Current State: 76:[48, 81, 39, 67], Operations: []
Exploring Operation: 48-39=9, Resulting Numbers: [81, 67, 9]
Generated Node #2: [81, 67, 9] from Operation: 48-39=9
Current State: 76:[81, 67, 9], Operations: ['48-39=9']
Exploring Operation: 81/9=9, Resulting Numbers: [67, 9]
Generated Node #3: [67, 9] from Operation: 81/9=9
Current State: 76:[67, 9], Operations: ['48-39=9', '81/9=9']
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[48, 81, 39, 67], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [48, 39, 14]
Generated Node #0,0: 76:[48, 39, 14] Operation: 81-67=14
Exploring Operation: 67-48=19, Resulting Numbers: [81, 39, 19]
Generated Node #0,1: 76:[81, 39, 19] Operation: 67-48=19
Exploring Operation: 81-48=33, Resulting Numbers: [39, 67, 33]
Generated Node #0,2: 76:[39, 67, 33] Operation: 81-48=33
Moving to Node #0,1
Current State: 76:[81, 39, 19], Operations: ['67-48=19']
Exploring Operation: 81-39=42, Resulting Numbers: [19, 42]
Generated Node #0,1,0: 76:[19, 42] Operation: 81-39=42
Exploring Operation: 39-19=20, Resulting Numbers: [81, 20]
Generated Node #0,1,1: 76:[81, 20] Operation: 39-19=20
Exploring Operation: 81-19=62, Resulting Numbers: [39, 62]
Generated Node #0,1,2: 76:[39, 62] Operation: 81-19=62
Moving to Node #0,2
Current State: 76:[39, 67, 33], Operations: ['81-48=33']
Exploring Operation: 39+33=72, Resulting Numbers: [67, 72]
Generated Node #0,2,0: 76:[67, 72] Operation: 39+33=72
Exploring Operation: 67-33=34, Resulting Numbers: [39, 34]
Generated Node #0,2,1: 76:[39, 34] Operation: 67-33=34
Exploring Operation: 39-33=6, Resulting Numbers: [67, 6]
Generated Node #0,2,2: 76:[67, 6] Operation: 39-33=6
Moving to Node #0,0
Current State: 76:[48, 39, 14], Operations: ['81-67=14']
Exploring Operation: 48+14=62, Resulting Numbers: [39, 62]
Generated Node #0,0,0: 76:[39, 62] Operation: 48+14=62
Exploring Operation: 48-14=34, Resulting Numbers: [39, 34]
Generated Node #0,0,1: 76:[39, 34] Operation: 48-14=34
Exploring Operation: 48-39=9, Resulting Numbers: [14, 9]
Generated Node #0,0,2: 76:[14, 9] Operation: 48-39=9
Moving to Node #0,1,0
Current State: 76:[19, 42], Operations: ['67-48=19', '81-39=42']
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,76 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[39, 34], Operations: ['81-67=14', '48-14=34']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,76 unequal: No Solution
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[39, 34], Operations: ['81-48=33', '67-33=34']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,76 unequal: No Solution
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[81, 20], Operations: ['67-48=19', '39-19=20']
Exploring Operation: 81*20=1620, Resulting Numbers: [1620]
1620,76 unequal: No Solution
Exploring Operation: 81+20=101, Resulting Numbers: [101]
101,76 unequal: No Solution
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[14, 9], Operations: ['81-67=14', '48-39=9']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[67, 6], Operations: ['81-48=33', '39-33=6']
Exploring Operation: 67*6=402, Resulting Numbers: [402]
402,76 unequal: No Solution
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,76 unequal: No Solution
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[67, 72], Operations: ['81-48=33', '39+33=72']
Exploring Operation: 67*72=4824, Resulting Numbers: [4824]
4824,76 unequal: No Solution
Exploring Operation: 67+72=139, Resulting Numbers: [139]
139,76 unequal: No Solution
Exploring Operation: 72-67=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[39, 62], Operations: ['81-67=14', '48+14=62']
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 39*62=2418, Resulting Numbers: [2418]
2418,76 unequal: No Solution
Exploring Operation: 39+62=101, Resulting Numbers: [101]
101,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[39, 62], Operations: ['67-48=19', '81-19=62']
Exploring Operation: 39+62=101, Resulting Numbers: [101]
101,76 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 39*62=2418, Resulting Numbers: [2418]
2418,76 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
17,
2,
38,
67
] | 13 | [
"67-17=50",
"50/2=25",
"38-25=13"
] | Current State: 13:[17, 2, 38, 67], Operations: []
Exploring Operation: 67-17=50, Resulting Numbers: [2, 38, 50]
Generated Node #2: [2, 38, 50] from Operation: 67-17=50
Current State: 13:[2, 38, 50], Operations: ['67-17=50']
Exploring Operation: 50/2=25, Resulting Numbers: [38, 25]
Generated Node #3: [38, 25] from Operation: 50/2=25
Current State: 13:[38, 25], Operations: ['67-17=50', '50/2=25']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[17, 2, 38, 67], Operations: []
Exploring Operation: 67-38=29, Resulting Numbers: [17, 2, 29]
Generated Node #0,0: 13:[17, 2, 29] Operation: 67-38=29
Exploring Operation: 38-17=21, Resulting Numbers: [2, 67, 21]
Generated Node #0,1: 13:[2, 67, 21] Operation: 38-17=21
Exploring Operation: 38/2=19, Resulting Numbers: [17, 67, 19]
Generated Node #0,2: 13:[17, 67, 19] Operation: 38/2=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[17, 2, 29], Operations: ['67-38=29']
Exploring Operation: 29-17=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 13:[2, 12] Operation: 29-17=12
Exploring Operation: 17-2=15, Resulting Numbers: [29, 15]
Generated Node #0,0,1: 13:[29, 15] Operation: 17-2=15
Exploring Operation: 29-2=27, Resulting Numbers: [17, 27]
Generated Node #0,0,2: 13:[17, 27] Operation: 29-2=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[2, 12], Operations: ['67-38=29', '29-17=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[29, 15], Operations: ['67-38=29', '17-2=15']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,13 unequal: No Solution
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[17, 27], Operations: ['67-38=29', '29-2=27']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,13 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: 13:[17, 67, 19], Operations: ['38/2=19']
Exploring Operation: 67-19=48, Resulting Numbers: [17, 48]
Generated Node #0,2,0: 13:[17, 48] Operation: 67-19=48
Exploring Operation: 67-17=50, Resulting Numbers: [19, 50]
Generated Node #0,2,1: 13:[19, 50] Operation: 67-17=50
Exploring Operation: 19-17=2, Resulting Numbers: [67, 2]
Generated Node #0,2,2: 13:[67, 2] Operation: 19-17=2
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[17, 48], Operations: ['38/2=19', '67-19=48']
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,13 unequal: No Solution
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[19, 50], Operations: ['38/2=19', '67-17=50']
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,13 unequal: No Solution
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,13 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[67, 2], Operations: ['38/2=19', '19-17=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,13 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,13 unequal: No Solution
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,13 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: 13:[2, 67, 21], Operations: ['38-17=21']
Exploring Operation: 67-2=65, Resulting Numbers: [21, 65]
Generated Node #0,1,0: 13:[21, 65] Operation: 67-2=65
Exploring Operation: 67-21=46, Resulting Numbers: [2, 46]
Generated Node #0,1,1: 13:[2, 46] Operation: 67-21=46
Exploring Operation: 21-2=19, Resulting Numbers: [67, 19]
Generated Node #0,1,2: 13:[67, 19] Operation: 21-2=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[2, 46], Operations: ['38-17=21', '67-21=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[21, 65], Operations: ['38-17=21', '67-2=65']
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,13 unequal: No Solution
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[67, 19], Operations: ['38-17=21', '21-2=19']
Exploring Operation: 67+19=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 67*19=1273, Resulting Numbers: [1273]
1273,13 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 |
[
8,
57,
96,
89
] | 58 | [
"8+57=65",
"96-89=7",
"65-7=58"
] | Current State: 58:[8, 57, 96, 89], Operations: []
Exploring Operation: 8+57=65, Resulting Numbers: [96, 89, 65]
Generated Node #2: [96, 89, 65] from Operation: 8+57=65
Current State: 58:[96, 89, 65], Operations: ['8+57=65']
Exploring Operation: 96-89=7, Resulting Numbers: [65, 7]
Generated Node #3: [65, 7] from Operation: 96-89=7
Current State: 58:[65, 7], Operations: ['8+57=65', '96-89=7']
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[8, 57, 96, 89], Operations: []
Exploring Operation: 96-89=7, Resulting Numbers: [8, 57, 7]
Generated Node #0,0: 58:[8, 57, 7] Operation: 96-89=7
Exploring Operation: 96-8=88, Resulting Numbers: [57, 89, 88]
Generated Node #0,1: 58:[57, 89, 88] Operation: 96-8=88
Exploring Operation: 96-57=39, Resulting Numbers: [8, 89, 39]
Generated Node #0,2: 58:[8, 89, 39] Operation: 96-57=39
Exploring Operation: 89-57=32, Resulting Numbers: [8, 96, 32]
Generated Node #0,3: 58:[8, 96, 32] Operation: 89-57=32
Exploring Operation: 96/8=12, Resulting Numbers: [57, 89, 12]
Generated Node #0,4: 58:[57, 89, 12] Operation: 96/8=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[8, 57, 7], Operations: ['96-89=7']
Exploring Operation: 57-8=49, Resulting Numbers: [7, 49]
Generated Node #0,0,0: 58:[7, 49] Operation: 57-8=49
Exploring Operation: 8-7=1, Resulting Numbers: [57, 1]
Generated Node #0,0,1: 58:[57, 1] Operation: 8-7=1
Exploring Operation: 8+57=65, Resulting Numbers: [7, 65]
Generated Node #0,0,2: 58:[7, 65] Operation: 8+57=65
Exploring Operation: 8*7=56, Resulting Numbers: [57, 56]
Generated Node #0,0,3: 58:[57, 56] Operation: 8*7=56
Exploring Operation: 57+7=64, Resulting Numbers: [8, 64]
Generated Node #0,0,4: 58:[8, 64] Operation: 57+7=64
Moving to Node #0,0,1
Current State: 58:[57, 1], Operations: ['96-89=7', '8-7=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[8, 57, 96, 89], Operations: []
Exploring Operation: 96-89=7, Resulting Numbers: [8, 57, 7]
Generated Node #0,0: 58:[8, 57, 7] Operation: 96-89=7
Moving to Node #0,0
Current State: 58:[8, 57, 7], Operations: ['96-89=7']
Exploring Operation: 8-7=1, Resulting Numbers: [57, 1]
Generated Node #0,0,1: 58:[57, 1] Operation: 8-7=1
Moving to Node #0,0,1
Current State: 58:[57, 1], Operations: ['96-89=7', '8-7=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
58,
33,
91,
62
] | 93 | [
"62-33=29",
"58/29=2",
"91+2=93"
] | Current State: 93:[58, 33, 91, 62], Operations: []
Exploring Operation: 62-33=29, Resulting Numbers: [58, 91, 29]
Generated Node #2: [58, 91, 29] from Operation: 62-33=29
Current State: 93:[58, 91, 29], Operations: ['62-33=29']
Exploring Operation: 58/29=2, Resulting Numbers: [91, 2]
Generated Node #3: [91, 2] from Operation: 58/29=2
Current State: 93:[91, 2], Operations: ['62-33=29', '58/29=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[58, 33, 91, 62], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [33, 91, 4]
Generated Node #0,0: 93:[33, 91, 4] Operation: 62-58=4
Moving to Node #0,0
Current State: 93:[33, 91, 4], Operations: ['62-58=4']
Exploring Operation: 33-4=29, Resulting Numbers: [91, 29]
Generated Node #0,0,0: 93:[91, 29] Operation: 33-4=29
Moving to Node #0,0,0
Current State: 93:[91, 29], Operations: ['62-58=4', '33-4=29']
Exploring Operation: 91+29=120, Resulting Numbers: [120]
120,93 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
17,
8,
31,
18
] | 40 | [
"17-8=9",
"31+18=49",
"49-9=40"
] | Current State: 40:[17, 8, 31, 18], Operations: []
Exploring Operation: 17-8=9, Resulting Numbers: [31, 18, 9]
Generated Node #2: [31, 18, 9] from Operation: 17-8=9
Current State: 40:[31, 18, 9], Operations: ['17-8=9']
Exploring Operation: 31+18=49, Resulting Numbers: [9, 49]
Generated Node #3: [9, 49] from Operation: 31+18=49
Current State: 40:[9, 49], Operations: ['17-8=9', '31+18=49']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[17, 8, 31, 18], Operations: []
Exploring Operation: 31-17=14, Resulting Numbers: [8, 18, 14]
Generated Node #0,0: 40:[8, 18, 14] Operation: 31-17=14
Exploring Operation: 8+31=39, Resulting Numbers: [17, 18, 39]
Generated Node #0,1: 40:[17, 18, 39] Operation: 8+31=39
Moving to Node #0,0
Current State: 40:[8, 18, 14], Operations: ['31-17=14']
Exploring Operation: 18-14=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 40:[8, 4] Operation: 18-14=4
Exploring Operation: 14-8=6, Resulting Numbers: [18, 6]
Generated Node #0,0,1: 40:[18, 6] Operation: 14-8=6
Moving to Node #0,1
Current State: 40:[17, 18, 39], Operations: ['8+31=39']
Exploring Operation: 18-17=1, Resulting Numbers: [39, 1]
Generated Node #0,1,0: 40:[39, 1] Operation: 18-17=1
Exploring Operation: 39-17=22, Resulting Numbers: [18, 22]
Generated Node #0,1,1: 40:[18, 22] Operation: 39-17=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[39, 1], Operations: ['8+31=39', '18-17=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[17, 8, 31, 18], Operations: []
Exploring Operation: 8+31=39, Resulting Numbers: [17, 18, 39]
Generated Node #0,1: 40:[17, 18, 39] Operation: 8+31=39
Moving to Node #0,1
Current State: 40:[17, 18, 39], Operations: ['8+31=39']
Exploring Operation: 18-17=1, Resulting Numbers: [39, 1]
Generated Node #0,1,0: 40:[39, 1] Operation: 18-17=1
Moving to Node #0,1,0
Current State: 40:[39, 1], Operations: ['8+31=39', '18-17=1']
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
50,
91,
36,
32
] | 45 | [
"91-50=41",
"36-32=4",
"41+4=45"
] | Current State: 45:[50, 91, 36, 32], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [36, 32, 41]
Generated Node #2: [36, 32, 41] from Operation: 91-50=41
Current State: 45:[36, 32, 41], Operations: ['91-50=41']
Exploring Operation: 36-32=4, Resulting Numbers: [41, 4]
Generated Node #3: [41, 4] from Operation: 36-32=4
Current State: 45:[41, 4], Operations: ['91-50=41', '36-32=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[50, 91, 36, 32], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [36, 32, 41]
Generated Node #0,0: 45:[36, 32, 41] Operation: 91-50=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[36, 32, 41], Operations: ['91-50=41']
Exploring Operation: 36-32=4, Resulting Numbers: [41, 4]
Generated Node #0,0,0: 45:[41, 4] Operation: 36-32=4
Moving to Node #0,0,0
Current State: 45:[41, 4], Operations: ['91-50=41', '36-32=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[50, 91, 36, 32], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [36, 32, 41]
Generated Node #0,0: 45:[36, 32, 41] Operation: 91-50=41
Moving to Node #0,0
Current State: 45:[36, 32, 41], Operations: ['91-50=41']
Exploring Operation: 36-32=4, Resulting Numbers: [41, 4]
Generated Node #0,0,0: 45:[41, 4] Operation: 36-32=4
Moving to Node #0,0,0
Current State: 45:[41, 4], Operations: ['91-50=41', '36-32=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
98,
9,
36,
53
] | 41 | [
"98-53=45",
"36/9=4",
"45-4=41"
] | Current State: 41:[98, 9, 36, 53], Operations: []
Exploring Operation: 98-53=45, Resulting Numbers: [9, 36, 45]
Generated Node #2: [9, 36, 45] from Operation: 98-53=45
Current State: 41:[9, 36, 45], Operations: ['98-53=45']
Exploring Operation: 36/9=4, Resulting Numbers: [45, 4]
Generated Node #3: [45, 4] from Operation: 36/9=4
Current State: 41:[45, 4], Operations: ['98-53=45', '36/9=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[98, 9, 36, 53], Operations: []
Exploring Operation: 98-9=89, Resulting Numbers: [36, 53, 89]
Generated Node #0,0: 41:[36, 53, 89] Operation: 98-9=89
Exploring Operation: 98-53=45, Resulting Numbers: [9, 36, 45]
Generated Node #0,1: 41:[9, 36, 45] Operation: 98-53=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[9, 36, 45], Operations: ['98-53=45']
Exploring Operation: 9+36=45, Resulting Numbers: [45, 45]
Generated Node #0,1,0: 41:[45, 45] Operation: 9+36=45
Exploring Operation: 45-9=36, Resulting Numbers: [36, 36]
Generated Node #0,1,1: 41:[36, 36] Operation: 45-9=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[45, 45], Operations: ['98-53=45', '9+36=45']
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[36, 36], Operations: ['98-53=45', '45-9=36']
Exploring Operation: 36/36=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[36, 53, 89], Operations: ['98-9=89']
Exploring Operation: 89-36=53, Resulting Numbers: [53, 53]
Generated Node #0,0,0: 41:[53, 53] Operation: 89-36=53
Exploring Operation: 89-53=36, Resulting Numbers: [36, 36]
Generated Node #0,0,1: 41:[36, 36] Operation: 89-53=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[36, 36], Operations: ['98-9=89', '89-53=36']
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,41 unequal: No Solution
Exploring Operation: 36/36=1, Resulting Numbers: [1]
1,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[53, 53], Operations: ['98-9=89', '89-36=53']
Exploring Operation: 53/53=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 53-53=0, Resulting Numbers: [0]
0,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
23,
20,
34,
32
] | 22 | [
"23-20=3",
"34+32=66",
"66/3=22"
] | Current State: 22:[23, 20, 34, 32], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [34, 32, 3]
Generated Node #2: [34, 32, 3] from Operation: 23-20=3
Current State: 22:[34, 32, 3], Operations: ['23-20=3']
Exploring Operation: 34+32=66, Resulting Numbers: [3, 66]
Generated Node #3: [3, 66] from Operation: 34+32=66
Current State: 22:[3, 66], Operations: ['23-20=3', '34+32=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[23, 20, 34, 32], Operations: []
Exploring Operation: 32-20=12, Resulting Numbers: [23, 34, 12]
Generated Node #0,0: 22:[23, 34, 12] Operation: 32-20=12
Exploring Operation: 34-32=2, Resulting Numbers: [23, 20, 2]
Generated Node #0,1: 22:[23, 20, 2] Operation: 34-32=2
Exploring Operation: 32-23=9, Resulting Numbers: [20, 34, 9]
Generated Node #0,2: 22:[20, 34, 9] Operation: 32-23=9
Exploring Operation: 34-20=14, Resulting Numbers: [23, 32, 14]
Generated Node #0,3: 22:[23, 32, 14] Operation: 34-20=14
Exploring Operation: 34-23=11, Resulting Numbers: [20, 32, 11]
Generated Node #0,4: 22:[20, 32, 11] Operation: 34-23=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[23, 20, 2], Operations: ['34-32=2']
Exploring Operation: 23-2=21, Resulting Numbers: [20, 21]
Generated Node #0,1,0: 22:[20, 21] Operation: 23-2=21
Exploring Operation: 20/2=10, Resulting Numbers: [23, 10]
Generated Node #0,1,1: 22:[23, 10] Operation: 20/2=10
Exploring Operation: 23+2=25, Resulting Numbers: [20, 25]
Generated Node #0,1,2: 22:[20, 25] Operation: 23+2=25
Exploring Operation: 20+2=22, Resulting Numbers: [23, 22]
Generated Node #0,1,3: 22:[23, 22] Operation: 20+2=22
Exploring Operation: 23-20=3, Resulting Numbers: [2, 3]
Generated Node #0,1,4: 22:[2, 3] Operation: 23-20=3
Moving to Node #0,1,3
Current State: 22:[23, 22], Operations: ['34-32=2', '20+2=22']
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,22 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Moving to Node #0,1,4
Current State: 22:[2, 3], Operations: ['34-32=2', '23-20=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[23, 10], Operations: ['34-32=2', '20/2=10']
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,22 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[20, 21], Operations: ['34-32=2', '23-2=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,22 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[20, 25], Operations: ['34-32=2', '23+2=25']
Exploring Operation: 20*25=500, Resulting Numbers: [500]
500,22 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,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
Current State: 22:[20, 32, 11], Operations: ['34-23=11']
Exploring Operation: 20+11=31, Resulting Numbers: [32, 31]
Generated Node #0,4,0: 22:[32, 31] Operation: 20+11=31
Exploring Operation: 32-20=12, Resulting Numbers: [11, 12]
Generated Node #0,4,1: 22:[11, 12] Operation: 32-20=12
Exploring Operation: 20-11=9, Resulting Numbers: [32, 9]
Generated Node #0,4,2: 22:[32, 9] Operation: 20-11=9
Exploring Operation: 32-11=21, Resulting Numbers: [20, 21]
Generated Node #0,4,3: 22:[20, 21] Operation: 32-11=21
Exploring Operation: 32+11=43, Resulting Numbers: [20, 43]
Generated Node #0,4,4: 22:[20, 43] Operation: 32+11=43
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 22:[11, 12], Operations: ['34-23=11', '32-20=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,22 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 22:[20, 21], Operations: ['34-23=11', '32-11=21']
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,22 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 22:[32, 9], Operations: ['34-23=11', '20-11=9']
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,22 unequal: No Solution
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 22:[32, 31], Operations: ['34-23=11', '20+11=31']
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 32*31=992, Resulting Numbers: [992]
992,22 unequal: No Solution
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 22:[20, 43], Operations: ['34-23=11', '32+11=43']
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,22 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[23, 34, 12], Operations: ['32-20=12']
Exploring Operation: 34-23=11, Resulting Numbers: [12, 11]
Generated Node #0,0,0: 22:[12, 11] Operation: 34-23=11
Exploring Operation: 23+12=35, Resulting Numbers: [34, 35]
Generated Node #0,0,1: 22:[34, 35] Operation: 23+12=35
Exploring Operation: 34+12=46, Resulting Numbers: [23, 46]
Generated Node #0,0,2: 22:[23, 46] Operation: 34+12=46
Exploring Operation: 23-12=11, Resulting Numbers: [34, 11]
Generated Node #0,0,3: 22:[34, 11] Operation: 23-12=11
Exploring Operation: 34-12=22, Resulting Numbers: [23, 22]
Generated Node #0,0,4: 22:[23, 22] Operation: 34-12=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[12, 11], Operations: ['32-20=12', '34-23=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,22 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 22:[23, 22], Operations: ['32-20=12', '34-12=22']
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,22 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 22:[34, 11], Operations: ['32-20=12', '23-12=11']
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,22 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[34, 35], Operations: ['32-20=12', '23+12=35']
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,22 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,22 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 22:[23, 46], Operations: ['32-20=12', '34+12=46']
Exploring Operation: 23*46=1058, Resulting Numbers: [1058]
1058,22 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[23, 32, 14], Operations: ['34-20=14']
Exploring Operation: 23-14=9, Resulting Numbers: [32, 9]
Generated Node #0,3,0: 22:[32, 9] Operation: 23-14=9
Exploring Operation: 23+14=37, Resulting Numbers: [32, 37]
Generated Node #0,3,1: 22:[32, 37] Operation: 23+14=37
Exploring Operation: 32+14=46, Resulting Numbers: [23, 46]
Generated Node #0,3,2: 22:[23, 46] Operation: 32+14=46
Exploring Operation: 32-23=9, Resulting Numbers: [14, 9]
Generated Node #0,3,3: 22:[14, 9] Operation: 32-23=9
Exploring Operation: 32-14=18, Resulting Numbers: [23, 18]
Generated Node #0,3,4: 22:[23, 18] Operation: 32-14=18
Moving to Node #0,3,3
Current State: 22:[14, 9], Operations: ['34-20=14', '32-23=9']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,22 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Moving to Node #0,3,4
Current State: 22:[23, 18], Operations: ['34-20=14', '32-14=18']
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,22 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Moving to Node #0,3,0
Current State: 22:[32, 9], Operations: ['34-20=14', '23-14=9']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,22 unequal: No Solution
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[32, 37], Operations: ['34-20=14', '23+14=37']
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,22 unequal: No Solution
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,22 unequal: No Solution
Moving to Node #0,3,2
Current State: 22:[23, 46], Operations: ['34-20=14', '32+14=46']
Exploring Operation: 23*46=1058, Resulting Numbers: [1058]
1058,22 unequal: No Solution
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,22 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,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,2
Current State: 22:[20, 34, 9], Operations: ['32-23=9']
Exploring Operation: 20+9=29, Resulting Numbers: [34, 29]
Generated Node #0,2,0: 22:[34, 29] Operation: 20+9=29
Exploring Operation: 34-9=25, Resulting Numbers: [20, 25]
Generated Node #0,2,1: 22:[20, 25] Operation: 34-9=25
Exploring Operation: 20-9=11, Resulting Numbers: [34, 11]
Generated Node #0,2,2: 22:[34, 11] Operation: 20-9=11
Exploring Operation: 34-20=14, Resulting Numbers: [9, 14]
Generated Node #0,2,3: 22:[9, 14] Operation: 34-20=14
Exploring Operation: 34+9=43, Resulting Numbers: [20, 43]
Generated Node #0,2,4: 22:[20, 43] Operation: 34+9=43
Moving to Node #0,2,1
Current State: 22:[20, 25], Operations: ['32-23=9', '34-9=25']
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 20*25=500, Resulting Numbers: [500]
500,22 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Moving to Node #0,2,3
Current State: 22:[9, 14], Operations: ['32-23=9', '34-20=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[34, 11], Operations: ['32-23=9', '20-9=11']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[34, 29], Operations: ['32-23=9', '20+9=29']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,22 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Moving to Node #0,2,4
Current State: 22:[20, 43], Operations: ['32-23=9', '34+9=43']
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,22 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
9,
98,
96,
79
] | 68 | [
"9+98=107",
"96+79=175",
"175-107=68"
] | Current State: 68:[9, 98, 96, 79], Operations: []
Exploring Operation: 9+98=107, Resulting Numbers: [96, 79, 107]
Generated Node #2: [96, 79, 107] from Operation: 9+98=107
Current State: 68:[96, 79, 107], Operations: ['9+98=107']
Exploring Operation: 96+79=175, Resulting Numbers: [107, 175]
Generated Node #3: [107, 175] from Operation: 96+79=175
Current State: 68:[107, 175], Operations: ['9+98=107', '96+79=175']
Exploring Operation: 175-107=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[9, 98, 96, 79], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [9, 79, 2]
Generated Node #0,0: 68:[9, 79, 2] Operation: 98-96=2
Exploring Operation: 98-79=19, Resulting Numbers: [9, 96, 19]
Generated Node #0,1: 68:[9, 96, 19] Operation: 98-79=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[9, 79, 2], Operations: ['98-96=2']
Exploring Operation: 79-9=70, Resulting Numbers: [2, 70]
Generated Node #0,0,0: 68:[2, 70] Operation: 79-9=70
Exploring Operation: 9*2=18, Resulting Numbers: [79, 18]
Generated Node #0,0,1: 68:[79, 18] Operation: 9*2=18
Moving to Node #0,0,0
Current State: 68:[2, 70], Operations: ['98-96=2', '79-9=70']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[9, 98, 96, 79], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [9, 79, 2]
Generated Node #0,0: 68:[9, 79, 2] Operation: 98-96=2
Moving to Node #0,0
Current State: 68:[9, 79, 2], Operations: ['98-96=2']
Exploring Operation: 79-9=70, Resulting Numbers: [2, 70]
Generated Node #0,0,0: 68:[2, 70] Operation: 79-9=70
Moving to Node #0,0,0
Current State: 68:[2, 70], Operations: ['98-96=2', '79-9=70']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
16,
42,
31,
38
] | 95 | [
"42-16=26",
"31+38=69",
"26+69=95"
] | Current State: 95:[16, 42, 31, 38], Operations: []
Exploring Operation: 42-16=26, Resulting Numbers: [31, 38, 26]
Generated Node #2: [31, 38, 26] from Operation: 42-16=26
Current State: 95:[31, 38, 26], Operations: ['42-16=26']
Exploring Operation: 31+38=69, Resulting Numbers: [26, 69]
Generated Node #3: [26, 69] from Operation: 31+38=69
Current State: 95:[26, 69], Operations: ['42-16=26', '31+38=69']
Exploring Operation: 26+69=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[16, 42, 31, 38], Operations: []
Exploring Operation: 42-31=11, Resulting Numbers: [16, 38, 11]
Generated Node #0,0: 95:[16, 38, 11] Operation: 42-31=11
Exploring Operation: 42-38=4, Resulting Numbers: [16, 31, 4]
Generated Node #0,1: 95:[16, 31, 4] Operation: 42-38=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[16, 31, 4], Operations: ['42-38=4']
Exploring Operation: 31-4=27, Resulting Numbers: [16, 27]
Generated Node #0,1,0: 95:[16, 27] Operation: 31-4=27
Exploring Operation: 31-16=15, Resulting Numbers: [4, 15]
Generated Node #0,1,1: 95:[4, 15] Operation: 31-16=15
Moving to Node #0,1,1
Current State: 95:[4, 15], Operations: ['42-38=4', '31-16=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[16, 27], Operations: ['42-38=4', '31-4=27']
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[16, 38, 11], Operations: ['42-31=11']
Exploring Operation: 38-16=22, Resulting Numbers: [11, 22]
Generated Node #0,0,0: 95:[11, 22] Operation: 38-16=22
Exploring Operation: 38-11=27, Resulting Numbers: [16, 27]
Generated Node #0,0,1: 95:[16, 27] Operation: 38-11=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[11, 22], Operations: ['42-31=11', '38-16=22']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[16, 27], Operations: ['42-31=11', '38-11=27']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
6,
22,
14,
4
] | 50 | [
"22-6=16",
"4*16=64",
"64-14=50"
] | Current State: 50:[6, 22, 14, 4], Operations: []
Exploring Operation: 22-6=16, Resulting Numbers: [14, 4, 16]
Generated Node #2: [14, 4, 16] from Operation: 22-6=16
Current State: 50:[14, 4, 16], Operations: ['22-6=16']
Exploring Operation: 4*16=64, Resulting Numbers: [14, 64]
Generated Node #3: [14, 64] from Operation: 4*16=64
Current State: 50:[14, 64], Operations: ['22-6=16', '4*16=64']
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[6, 22, 14, 4], Operations: []
Exploring Operation: 22-14=8, Resulting Numbers: [6, 4, 8]
Generated Node #0,0: 50:[6, 4, 8] Operation: 22-14=8
Moving to Node #0,0
Current State: 50:[6, 4, 8], Operations: ['22-14=8']
Exploring Operation: 8-6=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 50:[4, 2] Operation: 8-6=2
Moving to Node #0,0,0
Current State: 50:[4, 2], Operations: ['22-14=8', '8-6=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,50 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
8,
41,
57,
54
] | 99 | [
"41-8=33",
"57-54=3",
"33*3=99"
] | Current State: 99:[8, 41, 57, 54], Operations: []
Exploring Operation: 41-8=33, Resulting Numbers: [57, 54, 33]
Generated Node #2: [57, 54, 33] from Operation: 41-8=33
Current State: 99:[57, 54, 33], Operations: ['41-8=33']
Exploring Operation: 57-54=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 57-54=3
Current State: 99:[33, 3], Operations: ['41-8=33', '57-54=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[8, 41, 57, 54], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [8, 41, 3]
Generated Node #0,0: 99:[8, 41, 3] Operation: 57-54=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[8, 41, 3], Operations: ['57-54=3']
Exploring Operation: 41-8=33, Resulting Numbers: [3, 33]
Generated Node #0,0,0: 99:[3, 33] Operation: 41-8=33
Moving to Node #0,0,0
Current State: 99:[3, 33], Operations: ['57-54=3', '41-8=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[8, 41, 57, 54], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [8, 41, 3]
Generated Node #0,0: 99:[8, 41, 3] Operation: 57-54=3
Moving to Node #0,0
Current State: 99:[8, 41, 3], Operations: ['57-54=3']
Exploring Operation: 41-8=33, Resulting Numbers: [3, 33]
Generated Node #0,0,0: 99:[3, 33] Operation: 41-8=33
Moving to Node #0,0,0
Current State: 99:[3, 33], Operations: ['57-54=3', '41-8=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
51,
42,
77,
64
] | 44 | [
"51+77=128",
"128/64=2",
"42+2=44"
] | Current State: 44:[51, 42, 77, 64], Operations: []
Exploring Operation: 51+77=128, Resulting Numbers: [42, 64, 128]
Generated Node #2: [42, 64, 128] from Operation: 51+77=128
Current State: 44:[42, 64, 128], Operations: ['51+77=128']
Exploring Operation: 128/64=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 128/64=2
Current State: 44:[42, 2], Operations: ['51+77=128', '128/64=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[51, 42, 77, 64], Operations: []
Exploring Operation: 77-64=13, Resulting Numbers: [51, 42, 13]
Generated Node #0,0: 44:[51, 42, 13] Operation: 77-64=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[51, 42, 13], Operations: ['77-64=13']
Exploring Operation: 51-42=9, Resulting Numbers: [13, 9]
Generated Node #0,0,0: 44:[13, 9] Operation: 51-42=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[13, 9], Operations: ['77-64=13', '51-42=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
90,
29,
29,
15
] | 75 | [
"90+29=119",
"29+15=44",
"119-44=75"
] | Current State: 75:[90, 29, 29, 15], Operations: []
Exploring Operation: 90+29=119, Resulting Numbers: [15, 119]
Generated Node #2: [15, 119] from Operation: 90+29=119
Current State: 75:[15, 119], Operations: ['90+29=119']
Exploring Operation: 29+15=44, Resulting Numbers: [119, 44]
Generated Node #3: [119, 44] from Operation: 29+15=44
Current State: 75:[119, 44], Operations: ['90+29=119', '29+15=44']
Exploring Operation: 119-44=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[90, 29, 29, 15], Operations: []
Exploring Operation: 29/29=1, Resulting Numbers: [90, 15, 1]
Generated Node #0,0: 75:[90, 15, 1] Operation: 29/29=1
Exploring Operation: 90-15=75, Resulting Numbers: [29, 29, 75]
Generated Node #0,1: 75:[29, 29, 75] Operation: 90-15=75
Exploring Operation: 90-29=61, Resulting Numbers: [29, 15, 61]
Generated Node #0,2: 75:[29, 15, 61] Operation: 90-29=61
Exploring Operation: 90/15=6, Resulting Numbers: [29, 29, 6]
Generated Node #0,3: 75:[29, 29, 6] Operation: 90/15=6
Exploring Operation: 90-29=61, Resulting Numbers: [29, 15, 61]
Generated Node #0,4: 75:[29, 15, 61] Operation: 90-29=61
Moving to Node #0,1
Current State: 75:[29, 29, 75], Operations: ['90-15=75']
Exploring Operation: 29+29=58, Resulting Numbers: [75, 58]
Generated Node #0,1,0: 75:[75, 58] Operation: 29+29=58
Exploring Operation: 29/29=1, Resulting Numbers: [75, 1]
Generated Node #0,1,1: 75:[75, 1] Operation: 29/29=1
Exploring Operation: 75-29=46, Resulting Numbers: [29, 46]
Generated Node #0,1,2: 75:[29, 46] Operation: 75-29=46
Exploring Operation: 75-29=46, Resulting Numbers: [29, 46]
Generated Node #0,1,3: 75:[29, 46] Operation: 75-29=46
Exploring Operation: 29-29=0, Resulting Numbers: [75, 0]
Generated Node #0,1,4: 75:[75, 0] Operation: 29-29=0
Moving to Node #0,3
Current State: 75:[29, 29, 6], Operations: ['90/15=6']
Exploring Operation: 29+6=35, Resulting Numbers: [29, 35]
Generated Node #0,3,0: 75:[29, 35] Operation: 29+6=35
Exploring Operation: 29-6=23, Resulting Numbers: [29, 23]
Generated Node #0,3,1: 75:[29, 23] Operation: 29-6=23
Exploring Operation: 29-6=23, Resulting Numbers: [29, 23]
Generated Node #0,3,2: 75:[29, 23] Operation: 29-6=23
Exploring Operation: 29/29=1, Resulting Numbers: [6, 1]
Generated Node #0,3,3: 75:[6, 1] Operation: 29/29=1
Exploring Operation: 29-29=0, Resulting Numbers: [6, 0]
Generated Node #0,3,4: 75:[6, 0] Operation: 29-29=0
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[6, 1], Operations: ['90/15=6', '29/29=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,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,3,4
Current State: 75:[6, 0], Operations: ['90/15=6', '29-29=0']
Exploring Operation: 6+0=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 6-0=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 6*0=0, Resulting Numbers: [0]
0,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,3,1
Current State: 75:[29, 23], Operations: ['90/15=6', '29-6=23']
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,75 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,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,3,2
Current State: 75:[29, 23], Operations: ['90/15=6', '29-6=23']
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,75 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,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,3,0
Current State: 75:[29, 35], Operations: ['90/15=6', '29+6=35']
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,75 unequal: No Solution
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,75 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,75 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: 75:[90, 15, 1], Operations: ['29/29=1']
Exploring Operation: 90-15=75, Resulting Numbers: [1, 75]
Generated Node #0,0,0: 75:[1, 75] Operation: 90-15=75
Exploring Operation: 90/1=90, Resulting Numbers: [15, 90]
Generated Node #0,0,1: 75:[15, 90] Operation: 90/1=90
Exploring Operation: 90*1=90, Resulting Numbers: [15, 90]
Generated Node #0,0,2: 75:[15, 90] Operation: 90*1=90
Exploring Operation: 90/15=6, Resulting Numbers: [1, 6]
Generated Node #0,0,3: 75:[1, 6] Operation: 90/15=6
Exploring Operation: 90-1=89, Resulting Numbers: [15, 89]
Generated Node #0,0,4: 75:[15, 89] Operation: 90-1=89
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[1, 75], Operations: ['29/29=1', '90-15=75']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[90, 29, 29, 15], Operations: []
Exploring Operation: 29/29=1, Resulting Numbers: [90, 15, 1]
Generated Node #0,0: 75:[90, 15, 1] Operation: 29/29=1
Moving to Node #0,0
Current State: 75:[90, 15, 1], Operations: ['29/29=1']
Exploring Operation: 90-15=75, Resulting Numbers: [1, 75]
Generated Node #0,0,0: 75:[1, 75] Operation: 90-15=75
Moving to Node #0,0,0
Current State: 75:[1, 75], Operations: ['29/29=1', '90-15=75']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
63,
78,
29,
33
] | 19 | [
"78-63=15",
"33-29=4",
"15+4=19"
] | Current State: 19:[63, 78, 29, 33], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [29, 33, 15]
Generated Node #2: [29, 33, 15] from Operation: 78-63=15
Current State: 19:[29, 33, 15], Operations: ['78-63=15']
Exploring Operation: 33-29=4, Resulting Numbers: [15, 4]
Generated Node #3: [15, 4] from Operation: 33-29=4
Current State: 19:[15, 4], Operations: ['78-63=15', '33-29=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[63, 78, 29, 33], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [29, 33, 15]
Generated Node #0,0: 19:[29, 33, 15] Operation: 78-63=15
Moving to Node #0,0
Current State: 19:[29, 33, 15], Operations: ['78-63=15']
Exploring Operation: 33-15=18, Resulting Numbers: [29, 18]
Generated Node #0,0,0: 19:[29, 18] Operation: 33-15=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[29, 18], Operations: ['78-63=15', '33-15=18']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,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 | mult_heuristic |
[
66,
86,
63,
73
] | 77 | [
"73-66=7",
"63/7=9",
"86-9=77"
] | Current State: 77:[66, 86, 63, 73], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [86, 63, 7]
Generated Node #2: [86, 63, 7] from Operation: 73-66=7
Current State: 77:[86, 63, 7], Operations: ['73-66=7']
Exploring Operation: 63/7=9, Resulting Numbers: [86, 9]
Generated Node #3: [86, 9] from Operation: 63/7=9
Current State: 77:[86, 9], Operations: ['73-66=7', '63/7=9']
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[66, 86, 63, 73], Operations: []
Exploring Operation: 86-66=20, Resulting Numbers: [63, 73, 20]
Generated Node #0,0: 77:[63, 73, 20] Operation: 86-66=20
Exploring Operation: 66-63=3, Resulting Numbers: [86, 73, 3]
Generated Node #0,1: 77:[86, 73, 3] Operation: 66-63=3
Exploring Operation: 73-66=7, Resulting Numbers: [86, 63, 7]
Generated Node #0,2: 77:[86, 63, 7] Operation: 73-66=7
Exploring Operation: 73-63=10, Resulting Numbers: [66, 86, 10]
Generated Node #0,3: 77:[66, 86, 10] Operation: 73-63=10
Moving to Node #0,1
Current State: 77:[86, 73, 3], Operations: ['66-63=3']
Exploring Operation: 86-73=13, Resulting Numbers: [3, 13]
Generated Node #0,1,0: 77:[3, 13] Operation: 86-73=13
Exploring Operation: 86-3=83, Resulting Numbers: [73, 83]
Generated Node #0,1,1: 77:[73, 83] Operation: 86-3=83
Exploring Operation: 73+3=76, Resulting Numbers: [86, 76]
Generated Node #0,1,2: 77:[86, 76] Operation: 73+3=76
Exploring Operation: 86+3=89, Resulting Numbers: [73, 89]
Generated Node #0,1,3: 77:[73, 89] Operation: 86+3=89
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[3, 13], Operations: ['66-63=3', '86-73=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,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,1
Current State: 77:[73, 83], Operations: ['66-63=3', '86-3=83']
Exploring Operation: 83-73=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 73*83=6059, Resulting Numbers: [6059]
6059,77 unequal: No Solution
Exploring Operation: 73+83=156, Resulting Numbers: [156]
156,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,2
Current State: 77:[86, 76], Operations: ['66-63=3', '73+3=76']
Exploring Operation: 86*76=6536, Resulting Numbers: [6536]
6536,77 unequal: No Solution
Exploring Operation: 86-76=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 86+76=162, Resulting Numbers: [162]
162,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,3
Current State: 77:[73, 89], Operations: ['66-63=3', '86+3=89']
Exploring Operation: 73+89=162, Resulting Numbers: [162]
162,77 unequal: No Solution
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 73*89=6497, Resulting Numbers: [6497]
6497,77 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: 77:[66, 86, 10], Operations: ['73-63=10']
Exploring Operation: 66-10=56, Resulting Numbers: [86, 56]
Generated Node #0,3,0: 77:[86, 56] Operation: 66-10=56
Exploring Operation: 66+10=76, Resulting Numbers: [86, 76]
Generated Node #0,3,1: 77:[86, 76] Operation: 66+10=76
Exploring Operation: 86-10=76, Resulting Numbers: [66, 76]
Generated Node #0,3,2: 77:[66, 76] Operation: 86-10=76
Exploring Operation: 86-66=20, Resulting Numbers: [10, 20]
Generated Node #0,3,3: 77:[10, 20] Operation: 86-66=20
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 77:[86, 76], Operations: ['73-63=10', '66+10=76']
Exploring Operation: 86+76=162, Resulting Numbers: [162]
162,77 unequal: No Solution
Exploring Operation: 86-76=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 86*76=6536, Resulting Numbers: [6536]
6536,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,3,3
Current State: 77:[10, 20], Operations: ['73-63=10', '86-66=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 10*20=200, Resulting Numbers: [200]
200,77 unequal: No Solution
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,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,3,2
Current State: 77:[66, 76], Operations: ['73-63=10', '86-10=76']
Exploring Operation: 66+76=142, Resulting Numbers: [142]
142,77 unequal: No Solution
Exploring Operation: 66*76=5016, Resulting Numbers: [5016]
5016,77 unequal: No Solution
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,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,3,0
Current State: 77:[86, 56], Operations: ['73-63=10', '66-10=56']
Exploring Operation: 86-56=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 86+56=142, Resulting Numbers: [142]
142,77 unequal: No Solution
Exploring Operation: 86*56=4816, Resulting Numbers: [4816]
4816,77 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: 77:[86, 63, 7], Operations: ['73-66=7']
Exploring Operation: 63/7=9, Resulting Numbers: [86, 9]
Generated Node #0,2,0: 77:[86, 9] Operation: 63/7=9
Exploring Operation: 63+7=70, Resulting Numbers: [86, 70]
Generated Node #0,2,1: 77:[86, 70] Operation: 63+7=70
Exploring Operation: 86-7=79, Resulting Numbers: [63, 79]
Generated Node #0,2,2: 77:[63, 79] Operation: 86-7=79
Exploring Operation: 86-63=23, Resulting Numbers: [7, 23]
Generated Node #0,2,3: 77:[7, 23] Operation: 86-63=23
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[86, 9], Operations: ['73-66=7', '63/7=9']
Exploring Operation: 86*9=774, Resulting Numbers: [774]
774,77 unequal: No Solution
Exploring Operation: 86+9=95, Resulting Numbers: [95]
95,77 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[66, 86, 63, 73], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [86, 63, 7]
Generated Node #0,2: 77:[86, 63, 7] Operation: 73-66=7
Moving to Node #0,2
Current State: 77:[86, 63, 7], Operations: ['73-66=7']
Exploring Operation: 63/7=9, Resulting Numbers: [86, 9]
Generated Node #0,2,0: 77:[86, 9] Operation: 63/7=9
Moving to Node #0,2,0
Current State: 77:[86, 9], Operations: ['73-66=7', '63/7=9']
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_4 | mult_heuristic |
[
15,
61,
19,
35
] | 31 | [
"15+61=76",
"76/19=4",
"35-4=31"
] | Current State: 31:[15, 61, 19, 35], Operations: []
Exploring Operation: 15+61=76, Resulting Numbers: [19, 35, 76]
Generated Node #2: [19, 35, 76] from Operation: 15+61=76
Current State: 31:[19, 35, 76], Operations: ['15+61=76']
Exploring Operation: 76/19=4, Resulting Numbers: [35, 4]
Generated Node #3: [35, 4] from Operation: 76/19=4
Current State: 31:[35, 4], Operations: ['15+61=76', '76/19=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[15, 61, 19, 35], Operations: []
Exploring Operation: 61-15=46, Resulting Numbers: [19, 35, 46]
Generated Node #0,0: 31:[19, 35, 46] Operation: 61-15=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[19, 35, 46], Operations: ['61-15=46']
Exploring Operation: 46-19=27, Resulting Numbers: [35, 27]
Generated Node #0,0,0: 31:[35, 27] Operation: 46-19=27
Moving to Node #0,0,0
Current State: 31:[35, 27], Operations: ['61-15=46', '46-19=27']
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,31 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 |
[
34,
52,
50,
66
] | 26 | [
"34+66=100",
"52*50=2600",
"2600/100=26"
] | Current State: 26:[34, 52, 50, 66], Operations: []
Exploring Operation: 34+66=100, Resulting Numbers: [52, 50, 100]
Generated Node #2: [52, 50, 100] from Operation: 34+66=100
Current State: 26:[52, 50, 100], Operations: ['34+66=100']
Exploring Operation: 52*50=2600, Resulting Numbers: [100, 2600]
Generated Node #3: [100, 2600] from Operation: 52*50=2600
Current State: 26:[100, 2600], Operations: ['34+66=100', '52*50=2600']
Exploring Operation: 2600/100=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[34, 52, 50, 66], Operations: []
Exploring Operation: 66-52=14, Resulting Numbers: [34, 50, 14]
Generated Node #0,0: 26:[34, 50, 14] Operation: 66-52=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[34, 50, 14], Operations: ['66-52=14']
Exploring Operation: 50-34=16, Resulting Numbers: [14, 16]
Generated Node #0,0,0: 26:[14, 16] Operation: 50-34=16
Moving to Node #0,0,0
Current State: 26:[14, 16], Operations: ['66-52=14', '50-34=16']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
47,
41,
31,
88
] | 63 | [
"47-41=6",
"88-31=57",
"6+57=63"
] | Current State: 63:[47, 41, 31, 88], Operations: []
Exploring Operation: 47-41=6, Resulting Numbers: [31, 88, 6]
Generated Node #2: [31, 88, 6] from Operation: 47-41=6
Current State: 63:[31, 88, 6], Operations: ['47-41=6']
Exploring Operation: 88-31=57, Resulting Numbers: [6, 57]
Generated Node #3: [6, 57] from Operation: 88-31=57
Current State: 63:[6, 57], Operations: ['47-41=6', '88-31=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[47, 41, 31, 88], Operations: []
Exploring Operation: 47-41=6, Resulting Numbers: [31, 88, 6]
Generated Node #0,0: 63:[31, 88, 6] Operation: 47-41=6
Exploring Operation: 88-31=57, Resulting Numbers: [47, 41, 57]
Generated Node #0,1: 63:[47, 41, 57] Operation: 88-31=57
Exploring Operation: 41-31=10, Resulting Numbers: [47, 88, 10]
Generated Node #0,2: 63:[47, 88, 10] Operation: 41-31=10
Exploring Operation: 88-41=47, Resulting Numbers: [47, 31, 47]
Generated Node #0,3: 63:[47, 31, 47] Operation: 88-41=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[31, 88, 6], Operations: ['47-41=6']
Exploring Operation: 88-6=82, Resulting Numbers: [31, 82]
Generated Node #0,0,0: 63:[31, 82] Operation: 88-6=82
Exploring Operation: 31+6=37, Resulting Numbers: [88, 37]
Generated Node #0,0,1: 63:[88, 37] Operation: 31+6=37
Exploring Operation: 88-31=57, Resulting Numbers: [6, 57]
Generated Node #0,0,2: 63:[6, 57] Operation: 88-31=57
Exploring Operation: 31-6=25, Resulting Numbers: [88, 25]
Generated Node #0,0,3: 63:[88, 25] Operation: 31-6=25
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[6, 57], Operations: ['47-41=6', '88-31=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[47, 41, 31, 88], Operations: []
Exploring Operation: 47-41=6, Resulting Numbers: [31, 88, 6]
Generated Node #0,0: 63:[31, 88, 6] Operation: 47-41=6
Moving to Node #0,0
Current State: 63:[31, 88, 6], Operations: ['47-41=6']
Exploring Operation: 88-31=57, Resulting Numbers: [6, 57]
Generated Node #0,0,2: 63:[6, 57] Operation: 88-31=57
Moving to Node #0,0,2
Current State: 63:[6, 57], Operations: ['47-41=6', '88-31=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
23,
19,
13,
69
] | 46 | [
"13*69=897",
"897-23=874",
"874/19=46"
] | Current State: 46:[23, 19, 13, 69], Operations: []
Exploring Operation: 13*69=897, Resulting Numbers: [23, 19, 897]
Generated Node #2: [23, 19, 897] from Operation: 13*69=897
Current State: 46:[23, 19, 897], Operations: ['13*69=897']
Exploring Operation: 897-23=874, Resulting Numbers: [19, 874]
Generated Node #3: [19, 874] from Operation: 897-23=874
Current State: 46:[19, 874], Operations: ['13*69=897', '897-23=874']
Exploring Operation: 874/19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[23, 19, 13, 69], Operations: []
Exploring Operation: 69-13=56, Resulting Numbers: [23, 19, 56]
Generated Node #0,0: 46:[23, 19, 56] Operation: 69-13=56
Exploring Operation: 69-19=50, Resulting Numbers: [23, 13, 50]
Generated Node #0,1: 46:[23, 13, 50] Operation: 69-19=50
Exploring Operation: 69-23=46, Resulting Numbers: [19, 13, 46]
Generated Node #0,2: 46:[19, 13, 46] Operation: 69-23=46
Exploring Operation: 19-13=6, Resulting Numbers: [23, 69, 6]
Generated Node #0,3: 46:[23, 69, 6] Operation: 19-13=6
Exploring Operation: 69/23=3, Resulting Numbers: [19, 13, 3]
Generated Node #0,4: 46:[19, 13, 3] Operation: 69/23=3
Moving to Node #0,0
Current State: 46:[23, 19, 56], Operations: ['69-13=56']
Exploring Operation: 56-23=33, Resulting Numbers: [19, 33]
Generated Node #0,0,0: 46:[19, 33] Operation: 56-23=33
Exploring Operation: 56-19=37, Resulting Numbers: [23, 37]
Generated Node #0,0,1: 46:[23, 37] Operation: 56-19=37
Exploring Operation: 23-19=4, Resulting Numbers: [56, 4]
Generated Node #0,0,2: 46:[56, 4] Operation: 23-19=4
Exploring Operation: 19+56=75, Resulting Numbers: [23, 75]
Generated Node #0,0,3: 46:[23, 75] Operation: 19+56=75
Exploring Operation: 23+19=42, Resulting Numbers: [56, 42]
Generated Node #0,0,4: 46:[56, 42] Operation: 23+19=42
Moving to Node #0,2
Current State: 46:[19, 13, 46], Operations: ['69-23=46']
Exploring Operation: 46-19=27, Resulting Numbers: [13, 27]
Generated Node #0,2,0: 46:[13, 27] Operation: 46-19=27
Exploring Operation: 19+13=32, Resulting Numbers: [46, 32]
Generated Node #0,2,1: 46:[46, 32] Operation: 19+13=32
Exploring Operation: 19-13=6, Resulting Numbers: [46, 6]
Generated Node #0,2,2: 46:[46, 6] Operation: 19-13=6
Exploring Operation: 13+46=59, Resulting Numbers: [19, 59]
Generated Node #0,2,3: 46:[19, 59] Operation: 13+46=59
Exploring Operation: 46-13=33, Resulting Numbers: [19, 33]
Generated Node #0,2,4: 46:[19, 33] Operation: 46-13=33
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[46, 6], Operations: ['69-23=46', '19-13=6']
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,46 unequal: No Solution
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,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,2,1
Current State: 46:[46, 32], Operations: ['69-23=46', '19+13=32']
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,46 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,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,2,0
Current State: 46:[13, 27], Operations: ['69-23=46', '46-19=27']
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,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,2,4
Current State: 46:[19, 33], Operations: ['69-23=46', '46-13=33']
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,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,2,3
Current State: 46:[19, 59], Operations: ['69-23=46', '13+46=59']
Exploring Operation: 19+59=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 19*59=1121, Resulting Numbers: [1121]
1121,46 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: 46:[23, 13, 50], Operations: ['69-19=50']
Exploring Operation: 13+50=63, Resulting Numbers: [23, 63]
Generated Node #0,1,0: 46:[23, 63] Operation: 13+50=63
Exploring Operation: 23-13=10, Resulting Numbers: [50, 10]
Generated Node #0,1,1: 46:[50, 10] Operation: 23-13=10
Exploring Operation: 50-23=27, Resulting Numbers: [13, 27]
Generated Node #0,1,2: 46:[13, 27] Operation: 50-23=27
Exploring Operation: 23+13=36, Resulting Numbers: [50, 36]
Generated Node #0,1,3: 46:[50, 36] Operation: 23+13=36
Exploring Operation: 50-13=37, Resulting Numbers: [23, 37]
Generated Node #0,1,4: 46:[23, 37] Operation: 50-13=37
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 46:[23, 37], Operations: ['69-19=50', '50-13=37']
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 23*37=851, Resulting Numbers: [851]
851,46 unequal: No Solution
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[50, 10], Operations: ['69-19=50', '23-13=10']
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,46 unequal: No Solution
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[13, 27], Operations: ['69-19=50', '50-23=27']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[50, 36], Operations: ['69-19=50', '23+13=36']
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 50*36=1800, Resulting Numbers: [1800]
1800,46 unequal: No Solution
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[23, 63], Operations: ['69-19=50', '13+50=63']
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 23*63=1449, Resulting Numbers: [1449]
1449,46 unequal: No Solution
Exploring Operation: 23+63=86, Resulting Numbers: [86]
86,46 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: 46:[19, 13, 3], Operations: ['69/23=3']
Exploring Operation: 19-13=6, Resulting Numbers: [3, 6]
Generated Node #0,4,0: 46:[3, 6] Operation: 19-13=6
Exploring Operation: 19+3=22, Resulting Numbers: [13, 22]
Generated Node #0,4,1: 46:[13, 22] Operation: 19+3=22
Exploring Operation: 13+3=16, Resulting Numbers: [19, 16]
Generated Node #0,4,2: 46:[19, 16] Operation: 13+3=16
Exploring Operation: 13*3=39, Resulting Numbers: [19, 39]
Generated Node #0,4,3: 46:[19, 39] Operation: 13*3=39
Exploring Operation: 19+13=32, Resulting Numbers: [3, 32]
Generated Node #0,4,4: 46:[3, 32] Operation: 19+13=32
Moving to Node #0,3
Current State: 46:[23, 69, 6], Operations: ['19-13=6']
Exploring Operation: 69-6=63, Resulting Numbers: [23, 63]
Generated Node #0,3,0: 46:[23, 63] Operation: 69-6=63
Exploring Operation: 23-6=17, Resulting Numbers: [69, 17]
Generated Node #0,3,1: 46:[69, 17] Operation: 23-6=17
Exploring Operation: 23+6=29, Resulting Numbers: [69, 29]
Generated Node #0,3,2: 46:[69, 29] Operation: 23+6=29
Exploring Operation: 69/23=3, Resulting Numbers: [6, 3]
Generated Node #0,3,3: 46:[6, 3] Operation: 69/23=3
Exploring Operation: 69-23=46, Resulting Numbers: [6, 46]
Generated Node #0,3,4: 46:[6, 46] Operation: 69-23=46
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 46:[6, 46], Operations: ['19-13=6', '69-23=46']
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,46 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,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,3,3
Current State: 46:[6, 3], Operations: ['19-13=6', '69/23=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,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,3,0
Current State: 46:[23, 63], Operations: ['19-13=6', '69-6=63']
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 23+63=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 23*63=1449, Resulting Numbers: [1449]
1449,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,3,1
Current State: 46:[69, 17], Operations: ['19-13=6', '23-6=17']
Exploring Operation: 69+17=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 69*17=1173, Resulting Numbers: [1173]
1173,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,3,2
Current State: 46:[69, 29], Operations: ['19-13=6', '23+6=29']
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 69*29=2001, Resulting Numbers: [2001]
2001,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 46:[3, 6], Operations: ['69/23=3', '19-13=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[23, 37], Operations: ['69-13=56', '56-19=37']
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 23*37=851, Resulting Numbers: [851]
851,46 unequal: No Solution
Moving to Node #0,4,4
Current State: 46:[3, 32], Operations: ['69/23=3', '19+13=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,46 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Moving to Node #0,4,1
Current State: 46:[13, 22], Operations: ['69/23=3', '19+3=22']
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,46 unequal: No Solution
Moving to Node #0,4,3
Current State: 46:[19, 39], Operations: ['69/23=3', '13*3=39']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,46 unequal: No Solution
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Moving to Node #0,4,2
Current State: 46:[19, 16], Operations: ['69/23=3', '13+3=16']
Exploring Operation: 19*16=304, Resulting Numbers: [304]
304,46 unequal: No Solution
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[56, 4], Operations: ['69-13=56', '23-19=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,46 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[19, 33], Operations: ['69-13=56', '56-23=33']
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,46 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Moving to Node #0,0,4
Current State: 46:[56, 42], Operations: ['69-13=56', '23+19=42']
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,46 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[23, 75], Operations: ['69-13=56', '19+56=75']
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,46 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,46 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
79,
33,
28,
32
] | 68 | [
"79*28=2212",
"32+2212=2244",
"2244/33=68"
] | Current State: 68:[79, 33, 28, 32], Operations: []
Exploring Operation: 79*28=2212, Resulting Numbers: [33, 32, 2212]
Generated Node #2: [33, 32, 2212] from Operation: 79*28=2212
Current State: 68:[33, 32, 2212], Operations: ['79*28=2212']
Exploring Operation: 32+2212=2244, Resulting Numbers: [33, 2244]
Generated Node #3: [33, 2244] from Operation: 32+2212=2244
Current State: 68:[33, 2244], Operations: ['79*28=2212', '32+2212=2244']
Exploring Operation: 2244/33=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[79, 33, 28, 32], Operations: []
Exploring Operation: 33-32=1, Resulting Numbers: [79, 28, 1]
Generated Node #0,0: 68:[79, 28, 1] Operation: 33-32=1
Exploring Operation: 32-28=4, Resulting Numbers: [79, 33, 4]
Generated Node #0,1: 68:[79, 33, 4] Operation: 32-28=4
Exploring Operation: 33-28=5, Resulting Numbers: [79, 32, 5]
Generated Node #0,2: 68:[79, 32, 5] Operation: 33-28=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[79, 33, 4], Operations: ['32-28=4']
Exploring Operation: 33+4=37, Resulting Numbers: [79, 37]
Generated Node #0,1,0: 68:[79, 37] Operation: 33+4=37
Exploring Operation: 79-4=75, Resulting Numbers: [33, 75]
Generated Node #0,1,1: 68:[33, 75] Operation: 79-4=75
Exploring Operation: 79-33=46, Resulting Numbers: [4, 46]
Generated Node #0,1,2: 68:[4, 46] Operation: 79-33=46
Moving to Node #0,1,1
Current State: 68:[33, 75], Operations: ['32-28=4', '79-4=75']
Exploring Operation: 33*75=2475, Resulting Numbers: [2475]
2475,68 unequal: No Solution
Exploring Operation: 33+75=108, Resulting Numbers: [108]
108,68 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[4, 46], Operations: ['32-28=4', '79-33=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,68 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[79, 37], Operations: ['32-28=4', '33+4=37']
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 79+37=116, Resulting Numbers: [116]
116,68 unequal: No Solution
Exploring Operation: 79*37=2923, Resulting Numbers: [2923]
2923,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[79, 32, 5], Operations: ['33-28=5']
Exploring Operation: 79-32=47, Resulting Numbers: [5, 47]
Generated Node #0,2,0: 68:[5, 47] Operation: 79-32=47
Exploring Operation: 79-5=74, Resulting Numbers: [32, 74]
Generated Node #0,2,1: 68:[32, 74] Operation: 79-5=74
Exploring Operation: 32+5=37, Resulting Numbers: [79, 37]
Generated Node #0,2,2: 68:[79, 37] Operation: 32+5=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[32, 74], Operations: ['33-28=5', '79-5=74']
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 32+74=106, Resulting Numbers: [106]
106,68 unequal: No Solution
Exploring Operation: 32*74=2368, Resulting Numbers: [2368]
2368,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 68:[5, 47], Operations: ['33-28=5', '79-32=47']
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,68 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 68:[79, 37], Operations: ['33-28=5', '32+5=37']
Exploring Operation: 79*37=2923, Resulting Numbers: [2923]
2923,68 unequal: No Solution
Exploring Operation: 79+37=116, Resulting Numbers: [116]
116,68 unequal: No Solution
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[79, 28, 1], Operations: ['33-32=1']
Exploring Operation: 79*1=79, Resulting Numbers: [28, 79]
Generated Node #0,0,0: 68:[28, 79] Operation: 79*1=79
Exploring Operation: 79-1=78, Resulting Numbers: [28, 78]
Generated Node #0,0,1: 68:[28, 78] Operation: 79-1=78
Exploring Operation: 28+1=29, Resulting Numbers: [79, 29]
Generated Node #0,0,2: 68:[79, 29] Operation: 28+1=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[28, 78], Operations: ['33-32=1', '79-1=78']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,68 unequal: No Solution
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,68 unequal: No Solution
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[79, 29], Operations: ['33-32=1', '28+1=29']
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,68 unequal: No Solution
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,68 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[28, 79], Operations: ['33-32=1', '79*1=79']
Exploring Operation: 28*79=2212, Resulting Numbers: [2212]
2212,68 unequal: No Solution
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 28+79=107, Resulting Numbers: [107]
107,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
30,
14,
20,
79
] | 70 | [
"79-30=49",
"20*49=980",
"980/14=70"
] | Current State: 70:[30, 14, 20, 79], Operations: []
Exploring Operation: 79-30=49, Resulting Numbers: [14, 20, 49]
Generated Node #2: [14, 20, 49] from Operation: 79-30=49
Current State: 70:[14, 20, 49], Operations: ['79-30=49']
Exploring Operation: 20*49=980, Resulting Numbers: [14, 980]
Generated Node #3: [14, 980] from Operation: 20*49=980
Current State: 70:[14, 980], Operations: ['79-30=49', '20*49=980']
Exploring Operation: 980/14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[30, 14, 20, 79], Operations: []
Exploring Operation: 30-20=10, Resulting Numbers: [14, 79, 10]
Generated Node #0,0: 70:[14, 79, 10] Operation: 30-20=10
Exploring Operation: 79-14=65, Resulting Numbers: [30, 20, 65]
Generated Node #0,1: 70:[30, 20, 65] Operation: 79-14=65
Exploring Operation: 20-14=6, Resulting Numbers: [30, 79, 6]
Generated Node #0,2: 70:[30, 79, 6] Operation: 20-14=6
Exploring Operation: 14+20=34, Resulting Numbers: [30, 79, 34]
Generated Node #0,3: 70:[30, 79, 34] Operation: 14+20=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[14, 79, 10], Operations: ['30-20=10']
Exploring Operation: 14+10=24, Resulting Numbers: [79, 24]
Generated Node #0,0,0: 70:[79, 24] Operation: 14+10=24
Exploring Operation: 79-14=65, Resulting Numbers: [10, 65]
Generated Node #0,0,1: 70:[10, 65] Operation: 79-14=65
Exploring Operation: 79-10=69, Resulting Numbers: [14, 69]
Generated Node #0,0,2: 70:[14, 69] Operation: 79-10=69
Exploring Operation: 14-10=4, Resulting Numbers: [79, 4]
Generated Node #0,0,3: 70:[79, 4] Operation: 14-10=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[14, 69], Operations: ['30-20=10', '79-10=69']
Exploring Operation: 14+69=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 14*69=966, Resulting Numbers: [966]
966,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[10, 65], Operations: ['30-20=10', '79-14=65']
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,70 unequal: No Solution
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 70:[79, 4], Operations: ['30-20=10', '14-10=4']
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[79, 24], Operations: ['30-20=10', '14+10=24']
Exploring Operation: 79*24=1896, Resulting Numbers: [1896]
1896,70 unequal: No Solution
Exploring Operation: 79+24=103, Resulting Numbers: [103]
103,70 unequal: No Solution
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[30, 79, 6], Operations: ['20-14=6']
Exploring Operation: 79-6=73, Resulting Numbers: [30, 73]
Generated Node #0,2,0: 70:[30, 73] Operation: 79-6=73
Exploring Operation: 79-30=49, Resulting Numbers: [6, 49]
Generated Node #0,2,1: 70:[6, 49] Operation: 79-30=49
Exploring Operation: 30/6=5, Resulting Numbers: [79, 5]
Generated Node #0,2,2: 70:[79, 5] Operation: 30/6=5
Exploring Operation: 30+6=36, Resulting Numbers: [79, 36]
Generated Node #0,2,3: 70:[79, 36] Operation: 30+6=36
Moving to Node #0,2,0
Current State: 70:[30, 73], Operations: ['20-14=6', '79-6=73']
Exploring Operation: 30*73=2190, Resulting Numbers: [2190]
2190,70 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 30+73=103, Resulting Numbers: [103]
103,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[79, 5], Operations: ['20-14=6', '30/6=5']
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 79*5=395, Resulting Numbers: [395]
395,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[79, 36], Operations: ['20-14=6', '30+6=36']
Exploring Operation: 79+36=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 79*36=2844, Resulting Numbers: [2844]
2844,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[6, 49], Operations: ['20-14=6', '79-30=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 6*49=294, Resulting Numbers: [294]
294,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[30, 79, 34], Operations: ['14+20=34']
Exploring Operation: 79-30=49, Resulting Numbers: [34, 49]
Generated Node #0,3,0: 70:[34, 49] Operation: 79-30=49
Exploring Operation: 30+34=64, Resulting Numbers: [79, 64]
Generated Node #0,3,1: 70:[79, 64] Operation: 30+34=64
Exploring Operation: 34-30=4, Resulting Numbers: [79, 4]
Generated Node #0,3,2: 70:[79, 4] Operation: 34-30=4
Exploring Operation: 79-34=45, Resulting Numbers: [30, 45]
Generated Node #0,3,3: 70:[30, 45] Operation: 79-34=45
Moving to Node #0,3,2
Current State: 70:[79, 4], Operations: ['14+20=34', '34-30=4']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,70 unequal: No Solution
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Moving to Node #0,3,1
Current State: 70:[79, 64], Operations: ['14+20=34', '30+34=64']
Exploring Operation: 79*64=5056, Resulting Numbers: [5056]
5056,70 unequal: No Solution
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 79+64=143, Resulting Numbers: [143]
143,70 unequal: No Solution
Moving to Node #0,3,0
Current State: 70:[34, 49], Operations: ['14+20=34', '79-30=49']
Exploring Operation: 34*49=1666, Resulting Numbers: [1666]
1666,70 unequal: No Solution
Exploring Operation: 34+49=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Moving to Node #0,3,3
Current State: 70:[30, 45], Operations: ['14+20=34', '79-34=45']
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,70 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[30, 20, 65], Operations: ['79-14=65']
Exploring Operation: 30-20=10, Resulting Numbers: [65, 10]
Generated Node #0,1,0: 70:[65, 10] Operation: 30-20=10
Exploring Operation: 65-30=35, Resulting Numbers: [20, 35]
Generated Node #0,1,1: 70:[20, 35] Operation: 65-30=35
Exploring Operation: 30+20=50, Resulting Numbers: [65, 50]
Generated Node #0,1,2: 70:[65, 50] Operation: 30+20=50
Exploring Operation: 65-20=45, Resulting Numbers: [30, 45]
Generated Node #0,1,3: 70:[30, 45] Operation: 65-20=45
Moving to Node #0,1,0
Current State: 70:[65, 10], Operations: ['79-14=65', '30-20=10']
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,70 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[20, 35], Operations: ['79-14=65', '65-30=35']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,70 unequal: No Solution
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[30, 45], Operations: ['79-14=65', '65-20=45']
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,70 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[65, 50], Operations: ['79-14=65', '30+20=50']
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 65*50=3250, Resulting Numbers: [3250]
3250,70 unequal: No Solution
Exploring Operation: 65+50=115, Resulting Numbers: [115]
115,70 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 |
[
17,
72,
3,
45
] | 86 | [
"17+45=62",
"72/3=24",
"62+24=86"
] | Current State: 86:[17, 72, 3, 45], Operations: []
Exploring Operation: 17+45=62, Resulting Numbers: [72, 3, 62]
Generated Node #2: [72, 3, 62] from Operation: 17+45=62
Current State: 86:[72, 3, 62], Operations: ['17+45=62']
Exploring Operation: 72/3=24, Resulting Numbers: [62, 24]
Generated Node #3: [62, 24] from Operation: 72/3=24
Current State: 86:[62, 24], Operations: ['17+45=62', '72/3=24']
Exploring Operation: 62+24=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[17, 72, 3, 45], Operations: []
Exploring Operation: 17+72=89, Resulting Numbers: [3, 45, 89]
Generated Node #0,0: 86:[3, 45, 89] Operation: 17+72=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[3, 45, 89], Operations: ['17+72=89']
Exploring Operation: 89-3=86, Resulting Numbers: [45, 86]
Generated Node #0,0,0: 86:[45, 86] Operation: 89-3=86
Moving to Node #0,0,0
Current State: 86:[45, 86], Operations: ['17+72=89', '89-3=86']
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,86 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 |
[
53,
51,
46,
52
] | 21 | [
"53+52=105",
"51-46=5",
"105/5=21"
] | Current State: 21:[53, 51, 46, 52], Operations: []
Exploring Operation: 53+52=105, Resulting Numbers: [51, 46, 105]
Generated Node #2: [51, 46, 105] from Operation: 53+52=105
Current State: 21:[51, 46, 105], Operations: ['53+52=105']
Exploring Operation: 51-46=5, Resulting Numbers: [105, 5]
Generated Node #3: [105, 5] from Operation: 51-46=5
Current State: 21:[105, 5], Operations: ['53+52=105', '51-46=5']
Exploring Operation: 105/5=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[53, 51, 46, 52], Operations: []
Exploring Operation: 53-46=7, Resulting Numbers: [51, 52, 7]
Generated Node #0,0: 21:[51, 52, 7] Operation: 53-46=7
Exploring Operation: 53-51=2, Resulting Numbers: [46, 52, 2]
Generated Node #0,1: 21:[46, 52, 2] Operation: 53-51=2
Exploring Operation: 52-51=1, Resulting Numbers: [53, 46, 1]
Generated Node #0,2: 21:[53, 46, 1] Operation: 52-51=1
Exploring Operation: 52-46=6, Resulting Numbers: [53, 51, 6]
Generated Node #0,3: 21:[53, 51, 6] Operation: 52-46=6
Exploring Operation: 53-52=1, Resulting Numbers: [51, 46, 1]
Generated Node #0,4: 21:[51, 46, 1] Operation: 53-52=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[46, 52, 2], Operations: ['53-51=2']
Exploring Operation: 52-46=6, Resulting Numbers: [2, 6]
Generated Node #0,1,0: 21:[2, 6] Operation: 52-46=6
Exploring Operation: 52/2=26, Resulting Numbers: [46, 26]
Generated Node #0,1,1: 21:[46, 26] Operation: 52/2=26
Exploring Operation: 46/2=23, Resulting Numbers: [52, 23]
Generated Node #0,1,2: 21:[52, 23] Operation: 46/2=23
Exploring Operation: 52-2=50, Resulting Numbers: [46, 50]
Generated Node #0,1,3: 21:[46, 50] Operation: 52-2=50
Exploring Operation: 46-2=44, Resulting Numbers: [52, 44]
Generated Node #0,1,4: 21:[52, 44] Operation: 46-2=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[2, 6], Operations: ['53-51=2', '52-46=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[46, 26], Operations: ['53-51=2', '52/2=26']
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 21:[52, 23], Operations: ['53-51=2', '46/2=23']
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 52*23=1196, Resulting Numbers: [1196]
1196,21 unequal: No Solution
Exploring Operation: 52+23=75, Resulting Numbers: [75]
75,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 21:[46, 50], Operations: ['53-51=2', '52-2=50']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,21 unequal: No Solution
Exploring Operation: 46*50=2300, Resulting Numbers: [2300]
2300,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 21:[52, 44], Operations: ['53-51=2', '46-2=44']
Exploring Operation: 52*44=2288, Resulting Numbers: [2288]
2288,21 unequal: No Solution
Exploring Operation: 52+44=96, Resulting Numbers: [96]
96,21 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 21:[51, 46, 1], Operations: ['53-52=1']
Exploring Operation: 51/1=51, Resulting Numbers: [46, 51]
Generated Node #0,4,0: 21:[46, 51] Operation: 51/1=51
Exploring Operation: 46-1=45, Resulting Numbers: [51, 45]
Generated Node #0,4,1: 21:[51, 45] Operation: 46-1=45
Exploring Operation: 51*1=51, Resulting Numbers: [46, 51]
Generated Node #0,4,2: 21:[46, 51] Operation: 51*1=51
Exploring Operation: 51-46=5, Resulting Numbers: [1, 5]
Generated Node #0,4,3: 21:[1, 5] Operation: 51-46=5
Exploring Operation: 51-1=50, Resulting Numbers: [46, 50]
Generated Node #0,4,4: 21:[46, 50] Operation: 51-1=50
Moving to Node #0,4,3
Current State: 21:[1, 5], Operations: ['53-52=1', '51-46=5']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Moving to Node #0,4,4
Current State: 21:[46, 50], Operations: ['53-52=1', '51-1=50']
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,21 unequal: No Solution
Exploring Operation: 46*50=2300, Resulting Numbers: [2300]
2300,21 unequal: No Solution
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Moving to Node #0,4,1
Current State: 21:[51, 45], Operations: ['53-52=1', '46-1=45']
Exploring Operation: 51*45=2295, Resulting Numbers: [2295]
2295,21 unequal: No Solution
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,21 unequal: No Solution
Moving to Node #0,4,0
Current State: 21:[46, 51], Operations: ['53-52=1', '51/1=51']
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 46+51=97, Resulting Numbers: [97]
97,21 unequal: No Solution
Exploring Operation: 46*51=2346, Resulting Numbers: [2346]
2346,21 unequal: No Solution
Moving to Node #0,4,2
Current State: 21:[46, 51], Operations: ['53-52=1', '51*1=51']
Exploring Operation: 46*51=2346, Resulting Numbers: [2346]
2346,21 unequal: No Solution
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 46+51=97, Resulting Numbers: [97]
97,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[53, 46, 1], Operations: ['52-51=1']
Exploring Operation: 53-46=7, Resulting Numbers: [1, 7]
Generated Node #0,2,0: 21:[1, 7] Operation: 53-46=7
Exploring Operation: 53-1=52, Resulting Numbers: [46, 52]
Generated Node #0,2,1: 21:[46, 52] Operation: 53-1=52
Exploring Operation: 53*1=53, Resulting Numbers: [46, 53]
Generated Node #0,2,2: 21:[46, 53] Operation: 53*1=53
Exploring Operation: 46-1=45, Resulting Numbers: [53, 45]
Generated Node #0,2,3: 21:[53, 45] Operation: 46-1=45
Exploring Operation: 53/1=53, Resulting Numbers: [46, 53]
Generated Node #0,2,4: 21:[46, 53] Operation: 53/1=53
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 21:[1, 7], Operations: ['52-51=1', '53-46=7']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 21:[46, 52], Operations: ['52-51=1', '53-1=52']
Exploring Operation: 46*52=2392, Resulting Numbers: [2392]
2392,21 unequal: No Solution
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 21:[53, 45], Operations: ['52-51=1', '46-1=45']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,21 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 21:[46, 53], Operations: ['52-51=1', '53*1=53']
Exploring Operation: 46*53=2438, Resulting Numbers: [2438]
2438,21 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 46+53=99, Resulting Numbers: [99]
99,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 21:[46, 53], Operations: ['52-51=1', '53/1=53']
Exploring Operation: 46+53=99, Resulting Numbers: [99]
99,21 unequal: No Solution
Exploring Operation: 46*53=2438, Resulting Numbers: [2438]
2438,21 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[51, 52, 7], Operations: ['53-46=7']
Exploring Operation: 51-7=44, Resulting Numbers: [52, 44]
Generated Node #0,0,0: 21:[52, 44] Operation: 51-7=44
Exploring Operation: 52+7=59, Resulting Numbers: [51, 59]
Generated Node #0,0,1: 21:[51, 59] Operation: 52+7=59
Exploring Operation: 52-51=1, Resulting Numbers: [7, 1]
Generated Node #0,0,2: 21:[7, 1] Operation: 52-51=1
Exploring Operation: 52-7=45, Resulting Numbers: [51, 45]
Generated Node #0,0,3: 21:[51, 45] Operation: 52-7=45
Exploring Operation: 51+7=58, Resulting Numbers: [52, 58]
Generated Node #0,0,4: 21:[52, 58] Operation: 51+7=58
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[7, 1], Operations: ['53-46=7', '52-51=1']
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[52, 44], Operations: ['53-46=7', '51-7=44']
Exploring Operation: 52*44=2288, Resulting Numbers: [2288]
2288,21 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 52+44=96, Resulting Numbers: [96]
96,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 21:[51, 45], Operations: ['53-46=7', '52-7=45']
Exploring Operation: 51*45=2295, Resulting Numbers: [2295]
2295,21 unequal: No Solution
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,21 unequal: No Solution
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[51, 59], Operations: ['53-46=7', '52+7=59']
Exploring Operation: 51*59=3009, Resulting Numbers: [3009]
3009,21 unequal: No Solution
Exploring Operation: 59-51=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 51+59=110, Resulting Numbers: [110]
110,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 21:[52, 58], Operations: ['53-46=7', '51+7=58']
Exploring Operation: 52+58=110, Resulting Numbers: [110]
110,21 unequal: No Solution
Exploring Operation: 52*58=3016, Resulting Numbers: [3016]
3016,21 unequal: No Solution
Exploring Operation: 58-52=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[53, 51, 6], Operations: ['52-46=6']
Exploring Operation: 53-6=47, Resulting Numbers: [51, 47]
Generated Node #0,3,0: 21:[51, 47] Operation: 53-6=47
Exploring Operation: 51+6=57, Resulting Numbers: [53, 57]
Generated Node #0,3,1: 21:[53, 57] Operation: 51+6=57
Exploring Operation: 53-51=2, Resulting Numbers: [6, 2]
Generated Node #0,3,2: 21:[6, 2] Operation: 53-51=2
Exploring Operation: 53+6=59, Resulting Numbers: [51, 59]
Generated Node #0,3,3: 21:[51, 59] Operation: 53+6=59
Exploring Operation: 51-6=45, Resulting Numbers: [53, 45]
Generated Node #0,3,4: 21:[53, 45] Operation: 51-6=45
Moving to Node #0,3,2
Current State: 21:[6, 2], Operations: ['52-46=6', '53-51=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Moving to Node #0,3,4
Current State: 21:[53, 45], Operations: ['52-46=6', '51-6=45']
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,21 unequal: No Solution
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,21 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Moving to Node #0,3,0
Current State: 21:[51, 47], Operations: ['52-46=6', '53-6=47']
Exploring Operation: 51*47=2397, Resulting Numbers: [2397]
2397,21 unequal: No Solution
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,21 unequal: No Solution
Moving to Node #0,3,1
Current State: 21:[53, 57], Operations: ['52-46=6', '51+6=57']
Exploring Operation: 53+57=110, Resulting Numbers: [110]
110,21 unequal: No Solution
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 53*57=3021, Resulting Numbers: [3021]
3021,21 unequal: No Solution
Moving to Node #0,3,3
Current State: 21:[51, 59], Operations: ['52-46=6', '53+6=59']
Exploring Operation: 59-51=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 51+59=110, Resulting Numbers: [110]
110,21 unequal: No Solution
Exploring Operation: 51*59=3009, Resulting Numbers: [3009]
3009,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
5,
32,
20,
53
] | 60 | [
"32-5=27",
"53-20=33",
"27+33=60"
] | Current State: 60:[5, 32, 20, 53], Operations: []
Exploring Operation: 32-5=27, Resulting Numbers: [20, 53, 27]
Generated Node #2: [20, 53, 27] from Operation: 32-5=27
Current State: 60:[20, 53, 27], Operations: ['32-5=27']
Exploring Operation: 53-20=33, Resulting Numbers: [27, 33]
Generated Node #3: [27, 33] from Operation: 53-20=33
Current State: 60:[27, 33], Operations: ['32-5=27', '53-20=33']
Exploring Operation: 27+33=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[5, 32, 20, 53], Operations: []
Exploring Operation: 20-5=15, Resulting Numbers: [32, 53, 15]
Generated Node #0,0: 60:[32, 53, 15] Operation: 20-5=15
Exploring Operation: 53-20=33, Resulting Numbers: [5, 32, 33]
Generated Node #0,1: 60:[5, 32, 33] Operation: 53-20=33
Exploring Operation: 5+53=58, Resulting Numbers: [32, 20, 58]
Generated Node #0,2: 60:[32, 20, 58] Operation: 5+53=58
Exploring Operation: 32-20=12, Resulting Numbers: [5, 53, 12]
Generated Node #0,3: 60:[5, 53, 12] Operation: 32-20=12
Exploring Operation: 53-32=21, Resulting Numbers: [5, 20, 21]
Generated Node #0,4: 60:[5, 20, 21] Operation: 53-32=21
Moving to Node #0,4
Current State: 60:[5, 20, 21], Operations: ['53-32=21']
Exploring Operation: 5+21=26, Resulting Numbers: [20, 26]
Generated Node #0,4,0: 60:[20, 26] Operation: 5+21=26
Exploring Operation: 21-5=16, Resulting Numbers: [20, 16]
Generated Node #0,4,1: 60:[20, 16] Operation: 21-5=16
Exploring Operation: 20/5=4, Resulting Numbers: [21, 4]
Generated Node #0,4,2: 60:[21, 4] Operation: 20/5=4
Exploring Operation: 21-20=1, Resulting Numbers: [5, 1]
Generated Node #0,4,3: 60:[5, 1] Operation: 21-20=1
Exploring Operation: 20-5=15, Resulting Numbers: [21, 15]
Generated Node #0,4,4: 60:[21, 15] Operation: 20-5=15
Moving to Node #0,2
Current State: 60:[32, 20, 58], Operations: ['5+53=58']
Exploring Operation: 32-20=12, Resulting Numbers: [58, 12]
Generated Node #0,2,0: 60:[58, 12] Operation: 32-20=12
Exploring Operation: 58-32=26, Resulting Numbers: [20, 26]
Generated Node #0,2,1: 60:[20, 26] Operation: 58-32=26
Exploring Operation: 58-20=38, Resulting Numbers: [32, 38]
Generated Node #0,2,2: 60:[32, 38] Operation: 58-20=38
Exploring Operation: 20+58=78, Resulting Numbers: [32, 78]
Generated Node #0,2,3: 60:[32, 78] Operation: 20+58=78
Exploring Operation: 32+20=52, Resulting Numbers: [58, 52]
Generated Node #0,2,4: 60:[58, 52] Operation: 32+20=52
Moving to Node #0,1
Current State: 60:[5, 32, 33], Operations: ['53-20=33']
Exploring Operation: 33-5=28, Resulting Numbers: [32, 28]
Generated Node #0,1,0: 60:[32, 28] Operation: 33-5=28
Exploring Operation: 33-32=1, Resulting Numbers: [5, 1]
Generated Node #0,1,1: 60:[5, 1] Operation: 33-32=1
Exploring Operation: 32+33=65, Resulting Numbers: [5, 65]
Generated Node #0,1,2: 60:[5, 65] Operation: 32+33=65
Exploring Operation: 32-5=27, Resulting Numbers: [33, 27]
Generated Node #0,1,3: 60:[33, 27] Operation: 32-5=27
Exploring Operation: 5+32=37, Resulting Numbers: [33, 37]
Generated Node #0,1,4: 60:[33, 37] Operation: 5+32=37
Moving to Node #0,3
Current State: 60:[5, 53, 12], Operations: ['32-20=12']
Exploring Operation: 5+12=17, Resulting Numbers: [53, 17]
Generated Node #0,3,0: 60:[53, 17] Operation: 5+12=17
Exploring Operation: 12-5=7, Resulting Numbers: [53, 7]
Generated Node #0,3,1: 60:[53, 7] Operation: 12-5=7
Exploring Operation: 5*12=60, Resulting Numbers: [53, 60]
Generated Node #0,3,2: 60:[53, 60] Operation: 5*12=60
Exploring Operation: 53+12=65, Resulting Numbers: [5, 65]
Generated Node #0,3,3: 60:[5, 65] Operation: 53+12=65
Exploring Operation: 5+53=58, Resulting Numbers: [12, 58]
Generated Node #0,3,4: 60:[12, 58] Operation: 5+53=58
Moving to Node #0,0
Current State: 60:[32, 53, 15], Operations: ['20-5=15']
Exploring Operation: 53-32=21, Resulting Numbers: [15, 21]
Generated Node #0,0,0: 60:[15, 21] Operation: 53-32=21
Exploring Operation: 32-15=17, Resulting Numbers: [53, 17]
Generated Node #0,0,1: 60:[53, 17] Operation: 32-15=17
Exploring Operation: 32+15=47, Resulting Numbers: [53, 47]
Generated Node #0,0,2: 60:[53, 47] Operation: 32+15=47
Exploring Operation: 53-15=38, Resulting Numbers: [32, 38]
Generated Node #0,0,3: 60:[32, 38] Operation: 53-15=38
Exploring Operation: 53+15=68, Resulting Numbers: [32, 68]
Generated Node #0,0,4: 60:[32, 68] Operation: 53+15=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[15, 21], Operations: ['20-5=15', '53-32=21']
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,60 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,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,0,1
Current State: 60:[53, 17], Operations: ['20-5=15', '32-15=17']
Exploring Operation: 53+17=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 53*17=901, Resulting Numbers: [901]
901,60 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 60:[32, 38], Operations: ['20-5=15', '53-15=38']
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,60 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,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,0,4
Current State: 60:[32, 68], Operations: ['20-5=15', '53+15=68']
Exploring Operation: 32*68=2176, Resulting Numbers: [2176]
2176,60 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 32+68=100, Resulting Numbers: [100]
100,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,0,2
Current State: 60:[53, 47], Operations: ['20-5=15', '32+15=47']
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,60 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,60 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 60:[20, 16], Operations: ['53-32=21', '21-5=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,60 unequal: No Solution
Moving to Node #0,4,3
Current State: 60:[5, 1], Operations: ['53-32=21', '21-20=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,4,2
Current State: 60:[21, 4], Operations: ['53-32=21', '20/5=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[5, 1], Operations: ['53-20=33', '33-32=1']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,4,4
Current State: 60:[21, 15], Operations: ['53-32=21', '20-5=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[58, 12], Operations: ['5+53=58', '32-20=12']
Exploring Operation: 58*12=696, Resulting Numbers: [696]
696,60 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Moving to Node #0,3,4
Current State: 60:[12, 58], Operations: ['32-20=12', '5+53=58']
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,60 unequal: No Solution
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[20, 26], Operations: ['5+53=58', '58-32=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[32, 28], Operations: ['53-20=33', '33-5=28']
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[5, 32, 20, 53], Operations: []
Exploring Operation: 53-20=33, Resulting Numbers: [5, 32, 33]
Generated Node #0,1: 60:[5, 32, 33] Operation: 53-20=33
Moving to Node #0,1
Current State: 60:[5, 32, 33], Operations: ['53-20=33']
Exploring Operation: 33-5=28, Resulting Numbers: [32, 28]
Generated Node #0,1,0: 60:[32, 28] Operation: 33-5=28
Moving to Node #0,1,0
Current State: 60:[32, 28], Operations: ['53-20=33', '33-5=28']
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.934028 | hs_5 | sum_heuristic |
[
59,
52,
92,
57
] | 28 | [
"59-52=7",
"92-57=35",
"35-7=28"
] | Current State: 28:[59, 52, 92, 57], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [92, 57, 7]
Generated Node #2: [92, 57, 7] from Operation: 59-52=7
Current State: 28:[92, 57, 7], Operations: ['59-52=7']
Exploring Operation: 92-57=35, Resulting Numbers: [7, 35]
Generated Node #3: [7, 35] from Operation: 92-57=35
Current State: 28:[7, 35], Operations: ['59-52=7', '92-57=35']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[59, 52, 92, 57], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [52, 57, 33]
Generated Node #0,0: 28:[52, 57, 33] Operation: 92-59=33
Exploring Operation: 92-57=35, Resulting Numbers: [59, 52, 35]
Generated Node #0,1: 28:[59, 52, 35] Operation: 92-57=35
Exploring Operation: 92-52=40, Resulting Numbers: [59, 57, 40]
Generated Node #0,2: 28:[59, 57, 40] Operation: 92-52=40
Exploring Operation: 59-57=2, Resulting Numbers: [52, 92, 2]
Generated Node #0,3: 28:[52, 92, 2] Operation: 59-57=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[52, 57, 33], Operations: ['92-59=33']
Exploring Operation: 52-33=19, Resulting Numbers: [57, 19]
Generated Node #0,0,0: 28:[57, 19] Operation: 52-33=19
Exploring Operation: 57-52=5, Resulting Numbers: [33, 5]
Generated Node #0,0,1: 28:[33, 5] Operation: 57-52=5
Exploring Operation: 57-33=24, Resulting Numbers: [52, 24]
Generated Node #0,0,2: 28:[52, 24] Operation: 57-33=24
Exploring Operation: 52+57=109, Resulting Numbers: [33, 109]
Generated Node #0,0,3: 28:[33, 109] Operation: 52+57=109
Moving to Node #0,0,1
Current State: 28:[33, 5], Operations: ['92-59=33', '57-52=5']
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,28 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[59, 52, 92, 57], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [52, 57, 33]
Generated Node #0,0: 28:[52, 57, 33] Operation: 92-59=33
Moving to Node #0,0
Current State: 28:[52, 57, 33], Operations: ['92-59=33']
Exploring Operation: 57-52=5, Resulting Numbers: [33, 5]
Generated Node #0,0,1: 28:[33, 5] Operation: 57-52=5
Moving to Node #0,0,1
Current State: 28:[33, 5], Operations: ['92-59=33', '57-52=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
48,
49,
44,
86
] | 43 | [
"49-48=1",
"86-44=42",
"1+42=43"
] | Current State: 43:[48, 49, 44, 86], Operations: []
Exploring Operation: 49-48=1, Resulting Numbers: [44, 86, 1]
Generated Node #2: [44, 86, 1] from Operation: 49-48=1
Current State: 43:[44, 86, 1], Operations: ['49-48=1']
Exploring Operation: 86-44=42, Resulting Numbers: [1, 42]
Generated Node #3: [1, 42] from Operation: 86-44=42
Current State: 43:[1, 42], Operations: ['49-48=1', '86-44=42']
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[48, 49, 44, 86], Operations: []
Exploring Operation: 86-49=37, Resulting Numbers: [48, 44, 37]
Generated Node #0,0: 43:[48, 44, 37] Operation: 86-49=37
Exploring Operation: 86-48=38, Resulting Numbers: [49, 44, 38]
Generated Node #0,1: 43:[49, 44, 38] Operation: 86-48=38
Exploring Operation: 86-44=42, Resulting Numbers: [48, 49, 42]
Generated Node #0,2: 43:[48, 49, 42] Operation: 86-44=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[48, 44, 37], Operations: ['86-49=37']
Exploring Operation: 48-37=11, Resulting Numbers: [44, 11]
Generated Node #0,0,0: 43:[44, 11] Operation: 48-37=11
Exploring Operation: 48+37=85, Resulting Numbers: [44, 85]
Generated Node #0,0,1: 43:[44, 85] Operation: 48+37=85
Exploring Operation: 44-37=7, Resulting Numbers: [48, 7]
Generated Node #0,0,2: 43:[48, 7] Operation: 44-37=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[44, 11], Operations: ['86-49=37', '48-37=11']
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[48, 7], Operations: ['86-49=37', '44-37=7']
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,43 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[44, 85], Operations: ['86-49=37', '48+37=85']
Exploring Operation: 44*85=3740, Resulting Numbers: [3740]
3740,43 unequal: No Solution
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 44+85=129, Resulting Numbers: [129]
129,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[49, 44, 38], Operations: ['86-48=38']
Exploring Operation: 44-38=6, Resulting Numbers: [49, 6]
Generated Node #0,1,0: 43:[49, 6] Operation: 44-38=6
Exploring Operation: 49-38=11, Resulting Numbers: [44, 11]
Generated Node #0,1,1: 43:[44, 11] Operation: 49-38=11
Exploring Operation: 49-44=5, Resulting Numbers: [38, 5]
Generated Node #0,1,2: 43:[38, 5] Operation: 49-44=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[44, 11], Operations: ['86-48=38', '49-38=11']
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[49, 6], Operations: ['86-48=38', '44-38=6']
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[48, 49, 44, 86], Operations: []
Exploring Operation: 86-48=38, Resulting Numbers: [49, 44, 38]
Generated Node #0,1: 43:[49, 44, 38] Operation: 86-48=38
Moving to Node #0,1
Current State: 43:[49, 44, 38], Operations: ['86-48=38']
Exploring Operation: 44-38=6, Resulting Numbers: [49, 6]
Generated Node #0,1,0: 43:[49, 6] Operation: 44-38=6
Moving to Node #0,1,0
Current State: 43:[49, 6], Operations: ['86-48=38', '44-38=6']
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
3,
93,
25,
8
] | 98 | [
"8-3=5",
"25/5=5",
"93+5=98"
] | Current State: 98:[3, 93, 25, 8], Operations: []
Exploring Operation: 8-3=5, Resulting Numbers: [93, 25, 5]
Generated Node #2: [93, 25, 5] from Operation: 8-3=5
Current State: 98:[93, 25, 5], Operations: ['8-3=5']
Exploring Operation: 25/5=5, Resulting Numbers: [93, 5]
Generated Node #3: [93, 5] from Operation: 25/5=5
Current State: 98:[93, 5], Operations: ['8-3=5', '25/5=5']
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[3, 93, 25, 8], Operations: []
Exploring Operation: 25-8=17, Resulting Numbers: [3, 93, 17]
Generated Node #0,0: 98:[3, 93, 17] Operation: 25-8=17
Exploring Operation: 93+8=101, Resulting Numbers: [3, 25, 101]
Generated Node #0,1: 98:[3, 25, 101] Operation: 93+8=101
Exploring Operation: 3+93=96, Resulting Numbers: [25, 8, 96]
Generated Node #0,2: 98:[25, 8, 96] Operation: 3+93=96
Exploring Operation: 25-3=22, Resulting Numbers: [93, 8, 22]
Generated Node #0,3: 98:[93, 8, 22] Operation: 25-3=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[3, 93, 17], Operations: ['25-8=17']
Exploring Operation: 93-3=90, Resulting Numbers: [17, 90]
Generated Node #0,0,0: 98:[17, 90] Operation: 93-3=90
Exploring Operation: 3+93=96, Resulting Numbers: [17, 96]
Generated Node #0,0,1: 98:[17, 96] Operation: 3+93=96
Exploring Operation: 17-3=14, Resulting Numbers: [93, 14]
Generated Node #0,0,2: 98:[93, 14] Operation: 17-3=14
Exploring Operation: 3*17=51, Resulting Numbers: [93, 51]
Generated Node #0,0,3: 98:[93, 51] Operation: 3*17=51
Moving to Node #0,0,1
Current State: 98:[17, 96], Operations: ['25-8=17', '3+93=96']
Exploring Operation: 17+96=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Exploring Operation: 17*96=1632, Resulting Numbers: [1632]
1632,98 unequal: No Solution
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[93, 14], Operations: ['25-8=17', '17-3=14']
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Exploring Operation: 93*14=1302, Resulting Numbers: [1302]
1302,98 unequal: No Solution
Exploring Operation: 93+14=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[93, 51], Operations: ['25-8=17', '3*17=51']
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 93+51=144, Resulting Numbers: [144]
144,98 unequal: No Solution
Exploring Operation: 93*51=4743, Resulting Numbers: [4743]
4743,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[17, 90], Operations: ['25-8=17', '93-3=90']
Exploring Operation: 17+90=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,98 unequal: No Solution
Exploring Operation: 17*90=1530, Resulting Numbers: [1530]
1530,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[25, 8, 96], Operations: ['3+93=96']
Exploring Operation: 25-8=17, Resulting Numbers: [96, 17]
Generated Node #0,2,0: 98:[96, 17] Operation: 25-8=17
Exploring Operation: 25+8=33, Resulting Numbers: [96, 33]
Generated Node #0,2,1: 98:[96, 33] Operation: 25+8=33
Exploring Operation: 96/8=12, Resulting Numbers: [25, 12]
Generated Node #0,2,2: 98:[25, 12] Operation: 96/8=12
Exploring Operation: 8+96=104, Resulting Numbers: [25, 104]
Generated Node #0,2,3: 98:[25, 104] Operation: 8+96=104
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[96, 17], Operations: ['3+93=96', '25-8=17']
Exploring Operation: 96+17=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Exploring Operation: 96*17=1632, Resulting Numbers: [1632]
1632,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[25, 12], Operations: ['3+93=96', '96/8=12']
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,98 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 98:[25, 104], Operations: ['3+93=96', '8+96=104']
Exploring Operation: 25*104=2600, Resulting Numbers: [2600]
2600,98 unequal: No Solution
Exploring Operation: 104-25=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Exploring Operation: 25+104=129, Resulting Numbers: [129]
129,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[96, 33], Operations: ['3+93=96', '25+8=33']
Exploring Operation: 96+33=129, Resulting Numbers: [129]
129,98 unequal: No Solution
Exploring Operation: 96-33=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 96*33=3168, Resulting Numbers: [3168]
3168,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[93, 8, 22], Operations: ['25-3=22']
Exploring Operation: 93+22=115, Resulting Numbers: [8, 115]
Generated Node #0,3,0: 98:[8, 115] Operation: 93+22=115
Exploring Operation: 93-8=85, Resulting Numbers: [22, 85]
Generated Node #0,3,1: 98:[22, 85] Operation: 93-8=85
Exploring Operation: 22-8=14, Resulting Numbers: [93, 14]
Generated Node #0,3,2: 98:[93, 14] Operation: 22-8=14
Exploring Operation: 93+8=101, Resulting Numbers: [22, 101]
Generated Node #0,3,3: 98:[22, 101] Operation: 93+8=101
Moving to Node #0,3,2
Current State: 98:[93, 14], Operations: ['25-3=22', '22-8=14']
Exploring Operation: 93*14=1302, Resulting Numbers: [1302]
1302,98 unequal: No Solution
Exploring Operation: 93+14=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[22, 101], Operations: ['25-3=22', '93+8=101']
Exploring Operation: 22*101=2222, Resulting Numbers: [2222]
2222,98 unequal: No Solution
Exploring Operation: 101-22=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Exploring Operation: 22+101=123, Resulting Numbers: [123]
123,98 unequal: No Solution
Moving to Node #0,3,0
Current State: 98:[8, 115], Operations: ['25-3=22', '93+22=115']
Exploring Operation: 115-8=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Exploring Operation: 8*115=920, Resulting Numbers: [920]
920,98 unequal: No Solution
Exploring Operation: 8+115=123, Resulting Numbers: [123]
123,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[22, 85], Operations: ['25-3=22', '93-8=85']
Exploring Operation: 85-22=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 22+85=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Exploring Operation: 22*85=1870, Resulting Numbers: [1870]
1870,98 unequal: No Solution
No 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: 98:[3, 25, 101], Operations: ['93+8=101']
Exploring Operation: 3+101=104, Resulting Numbers: [25, 104]
Generated Node #0,1,0: 98:[25, 104] Operation: 3+101=104
Exploring Operation: 25-3=22, Resulting Numbers: [101, 22]
Generated Node #0,1,1: 98:[101, 22] Operation: 25-3=22
Exploring Operation: 3+25=28, Resulting Numbers: [101, 28]
Generated Node #0,1,2: 98:[101, 28] Operation: 3+25=28
Exploring Operation: 101-3=98, Resulting Numbers: [25, 98]
Generated Node #0,1,3: 98:[25, 98] Operation: 101-3=98
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[101, 22], Operations: ['93+8=101', '25-3=22']
Exploring Operation: 101-22=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Exploring Operation: 101*22=2222, Resulting Numbers: [2222]
2222,98 unequal: No Solution
Exploring Operation: 101+22=123, Resulting Numbers: [123]
123,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 98:[25, 98], Operations: ['93+8=101', '101-3=98']
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,98 unequal: No Solution
Exploring Operation: 25+98=123, Resulting Numbers: [123]
123,98 unequal: No Solution
Exploring Operation: 25*98=2450, Resulting Numbers: [2450]
2450,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[25, 104], Operations: ['93+8=101', '3+101=104']
Exploring Operation: 104-25=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Exploring Operation: 25+104=129, Resulting Numbers: [129]
129,98 unequal: No Solution
Exploring Operation: 25*104=2600, Resulting Numbers: [2600]
2600,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[101, 28], Operations: ['93+8=101', '3+25=28']
Exploring Operation: 101+28=129, Resulting Numbers: [129]
129,98 unequal: No Solution
Exploring Operation: 101*28=2828, Resulting Numbers: [2828]
2828,98 unequal: No Solution
Exploring Operation: 101-28=73, Resulting Numbers: [73]
73,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
4,
93,
33,
18
] | 12 | [
"4*18=72",
"93-33=60",
"72-60=12"
] | Current State: 12:[4, 93, 33, 18], Operations: []
Exploring Operation: 4*18=72, Resulting Numbers: [93, 33, 72]
Generated Node #2: [93, 33, 72] from Operation: 4*18=72
Current State: 12:[93, 33, 72], Operations: ['4*18=72']
Exploring Operation: 93-33=60, Resulting Numbers: [72, 60]
Generated Node #3: [72, 60] from Operation: 93-33=60
Current State: 12:[72, 60], Operations: ['4*18=72', '93-33=60']
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[4, 93, 33, 18], Operations: []
Exploring Operation: 93-33=60, Resulting Numbers: [4, 18, 60]
Generated Node #0,0: 12:[4, 18, 60] Operation: 93-33=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[4, 18, 60], Operations: ['93-33=60']
Exploring Operation: 60/4=15, Resulting Numbers: [18, 15]
Generated Node #0,0,0: 12:[18, 15] Operation: 60/4=15
Moving to Node #0,0,0
Current State: 12:[18, 15], Operations: ['93-33=60', '60/4=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
29,
2,
40,
29
] | 76 | [
"29+29=58",
"2*58=116",
"116-40=76"
] | Current State: 76:[29, 2, 40, 29], Operations: []
Exploring Operation: 29+29=58, Resulting Numbers: [2, 40, 58]
Generated Node #2: [2, 40, 58] from Operation: 29+29=58
Current State: 76:[2, 40, 58], Operations: ['29+29=58']
Exploring Operation: 2*58=116, Resulting Numbers: [40, 116]
Generated Node #3: [40, 116] from Operation: 2*58=116
Current State: 76:[40, 116], Operations: ['29+29=58', '2*58=116']
Exploring Operation: 116-40=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[29, 2, 40, 29], Operations: []
Exploring Operation: 29-29=0, Resulting Numbers: [2, 40, 0]
Generated Node #0,0: 76:[2, 40, 0] Operation: 29-29=0
Exploring Operation: 29/29=1, Resulting Numbers: [2, 40, 1]
Generated Node #0,1: 76:[2, 40, 1] Operation: 29/29=1
Exploring Operation: 29+40=69, Resulting Numbers: [2, 29, 69]
Generated Node #0,2: 76:[2, 29, 69] Operation: 29+40=69
Exploring Operation: 40-29=11, Resulting Numbers: [2, 29, 11]
Generated Node #0,3: 76:[2, 29, 11] Operation: 40-29=11
Moving to Node #0,1
Current State: 76:[2, 40, 1], Operations: ['29/29=1']
Exploring Operation: 2*1=2, Resulting Numbers: [40, 2]
Generated Node #0,1,0: 76:[40, 2] Operation: 2*1=2
Exploring Operation: 40-2=38, Resulting Numbers: [1, 38]
Generated Node #0,1,1: 76:[1, 38] Operation: 40-2=38
Exploring Operation: 40/2=20, Resulting Numbers: [1, 20]
Generated Node #0,1,2: 76:[1, 20] Operation: 40/2=20
Exploring Operation: 40-1=39, Resulting Numbers: [2, 39]
Generated Node #0,1,3: 76:[2, 39] Operation: 40-1=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[1, 38], Operations: ['29/29=1', '40-2=38']
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,76 unequal: No Solution
No 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: 76:[2, 39], Operations: ['29/29=1', '40-1=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,76 unequal: No Solution
No 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: 76:[40, 2], Operations: ['29/29=1', '2*1=2']
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,76 unequal: No Solution
No 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: 76:[1, 20], Operations: ['29/29=1', '40/2=20']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,76 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: 76:[2, 40, 0], Operations: ['29-29=0']
Exploring Operation: 40-2=38, Resulting Numbers: [0, 38]
Generated Node #0,0,0: 76:[0, 38] Operation: 40-2=38
Exploring Operation: 40+0=40, Resulting Numbers: [2, 40]
Generated Node #0,0,1: 76:[2, 40] Operation: 40+0=40
Exploring Operation: 2+0=2, Resulting Numbers: [40, 2]
Generated Node #0,0,2: 76:[40, 2] Operation: 2+0=2
Exploring Operation: 2-0=2, Resulting Numbers: [40, 2]
Generated Node #0,0,3: 76:[40, 2] Operation: 2-0=2
Moving to Node #0,3
Current State: 76:[2, 29, 11], Operations: ['40-29=11']
Exploring Operation: 2+29=31, Resulting Numbers: [11, 31]
Generated Node #0,3,0: 76:[11, 31] Operation: 2+29=31
Exploring Operation: 29-11=18, Resulting Numbers: [2, 18]
Generated Node #0,3,1: 76:[2, 18] Operation: 29-11=18
Exploring Operation: 2*11=22, Resulting Numbers: [29, 22]
Generated Node #0,3,2: 76:[29, 22] Operation: 2*11=22
Exploring Operation: 29+11=40, Resulting Numbers: [2, 40]
Generated Node #0,3,3: 76:[2, 40] Operation: 29+11=40
Moving to Node #0,2
Current State: 76:[2, 29, 69], Operations: ['29+40=69']
Exploring Operation: 69-29=40, Resulting Numbers: [2, 40]
Generated Node #0,2,0: 76:[2, 40] Operation: 69-29=40
Exploring Operation: 2+29=31, Resulting Numbers: [69, 31]
Generated Node #0,2,1: 76:[69, 31] Operation: 2+29=31
Exploring Operation: 29-2=27, Resulting Numbers: [69, 27]
Generated Node #0,2,2: 76:[69, 27] Operation: 29-2=27
Exploring Operation: 2+69=71, Resulting Numbers: [29, 71]
Generated Node #0,2,3: 76:[29, 71] Operation: 2+69=71
Moving to Node #0,3,1
Current State: 76:[2, 18], Operations: ['40-29=11', '29-11=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[40, 2], Operations: ['29-29=0', '2+0=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[2, 40], Operations: ['40-29=11', '29+11=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[0, 38], Operations: ['29-29=0', '40-2=38']
Exploring Operation: 38-0=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 0+38=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 0*38=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[2, 40], Operations: ['29-29=0', '40+0=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[40, 2], Operations: ['29-29=0', '2-0=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[2, 40], Operations: ['29+40=69', '69-29=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[29, 22], Operations: ['40-29=11', '2*11=22']
Exploring Operation: 29*22=638, Resulting Numbers: [638]
638,76 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[69, 31], Operations: ['29+40=69', '2+29=31']
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 69+31=100, Resulting Numbers: [100]
100,76 unequal: No Solution
Exploring Operation: 69*31=2139, Resulting Numbers: [2139]
2139,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[11, 31], Operations: ['40-29=11', '2+29=31']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[29, 71], Operations: ['29+40=69', '2+69=71']
Exploring Operation: 29+71=100, Resulting Numbers: [100]
100,76 unequal: No Solution
Exploring Operation: 29*71=2059, Resulting Numbers: [2059]
2059,76 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[69, 27], Operations: ['29+40=69', '29-2=27']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 69*27=1863, Resulting Numbers: [1863]
1863,76 unequal: No Solution
Exploring Operation: 69+27=96, Resulting Numbers: [96]
96,76 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
69,
71,
15,
6
] | 42 | [
"71-69=2",
"15+6=21",
"2*21=42"
] | Current State: 42:[69, 71, 15, 6], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [15, 6, 2]
Generated Node #2: [15, 6, 2] from Operation: 71-69=2
Current State: 42:[15, 6, 2], Operations: ['71-69=2']
Exploring Operation: 15+6=21, Resulting Numbers: [2, 21]
Generated Node #3: [2, 21] from Operation: 15+6=21
Current State: 42:[2, 21], Operations: ['71-69=2', '15+6=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[69, 71, 15, 6], Operations: []
Exploring Operation: 69-15=54, Resulting Numbers: [71, 6, 54]
Generated Node #0,0: 42:[71, 6, 54] Operation: 69-15=54
Exploring Operation: 71-69=2, Resulting Numbers: [15, 6, 2]
Generated Node #0,1: 42:[15, 6, 2] Operation: 71-69=2
Exploring Operation: 71-6=65, Resulting Numbers: [69, 15, 65]
Generated Node #0,2: 42:[69, 15, 65] Operation: 71-6=65
Exploring Operation: 71-15=56, Resulting Numbers: [69, 6, 56]
Generated Node #0,3: 42:[69, 6, 56] Operation: 71-15=56
Exploring Operation: 69-6=63, Resulting Numbers: [71, 15, 63]
Generated Node #0,4: 42:[71, 15, 63] Operation: 69-6=63
Moving to Node #0,1
Current State: 42:[15, 6, 2], Operations: ['71-69=2']
Exploring Operation: 6+2=8, Resulting Numbers: [15, 8]
Generated Node #0,1,0: 42:[15, 8] Operation: 6+2=8
Exploring Operation: 15+6=21, Resulting Numbers: [2, 21]
Generated Node #0,1,1: 42:[2, 21] Operation: 15+6=21
Exploring Operation: 15-2=13, Resulting Numbers: [6, 13]
Generated Node #0,1,2: 42:[6, 13] Operation: 15-2=13
Exploring Operation: 6/2=3, Resulting Numbers: [15, 3]
Generated Node #0,1,3: 42:[15, 3] Operation: 6/2=3
Exploring Operation: 15-6=9, Resulting Numbers: [2, 9]
Generated Node #0,1,4: 42:[2, 9] Operation: 15-6=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[2, 21], Operations: ['71-69=2', '15+6=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[69, 71, 15, 6], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [15, 6, 2]
Generated Node #0,1: 42:[15, 6, 2] Operation: 71-69=2
Moving to Node #0,1
Current State: 42:[15, 6, 2], Operations: ['71-69=2']
Exploring Operation: 15+6=21, Resulting Numbers: [2, 21]
Generated Node #0,1,1: 42:[2, 21] Operation: 15+6=21
Moving to Node #0,1,1
Current State: 42:[2, 21], Operations: ['71-69=2', '15+6=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
58,
34,
8,
2
] | 82 | [
"58+34=92",
"8+2=10",
"92-10=82"
] | Current State: 82:[58, 34, 8, 2], Operations: []
Exploring Operation: 58+34=92, Resulting Numbers: [8, 2, 92]
Generated Node #2: [8, 2, 92] from Operation: 58+34=92
Current State: 82:[8, 2, 92], Operations: ['58+34=92']
Exploring Operation: 8+2=10, Resulting Numbers: [92, 10]
Generated Node #3: [92, 10] from Operation: 8+2=10
Current State: 82:[92, 10], Operations: ['58+34=92', '8+2=10']
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[58, 34, 8, 2], Operations: []
Exploring Operation: 58+34=92, Resulting Numbers: [8, 2, 92]
Generated Node #0,0: 82:[8, 2, 92] Operation: 58+34=92
Moving to Node #0,0
Current State: 82:[8, 2, 92], Operations: ['58+34=92']
Exploring Operation: 92-8=84, Resulting Numbers: [2, 84]
Generated Node #0,0,0: 82:[2, 84] Operation: 92-8=84
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[2, 84], Operations: ['58+34=92', '92-8=84']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[58, 34, 8, 2], Operations: []
Exploring Operation: 58+34=92, Resulting Numbers: [8, 2, 92]
Generated Node #0,0: 82:[8, 2, 92] Operation: 58+34=92
Moving to Node #0,0
Current State: 82:[8, 2, 92], Operations: ['58+34=92']
Exploring Operation: 92-8=84, Resulting Numbers: [2, 84]
Generated Node #0,0,0: 82:[2, 84] Operation: 92-8=84
Moving to Node #0,0,0
Current State: 82:[2, 84], Operations: ['58+34=92', '92-8=84']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
67,
44,
24,
25
] | 77 | [
"67-25=42",
"44*42=1848",
"1848/24=77"
] | Current State: 77:[67, 44, 24, 25], Operations: []
Exploring Operation: 67-25=42, Resulting Numbers: [44, 24, 42]
Generated Node #2: [44, 24, 42] from Operation: 67-25=42
Current State: 77:[44, 24, 42], Operations: ['67-25=42']
Exploring Operation: 44*42=1848, Resulting Numbers: [24, 1848]
Generated Node #3: [24, 1848] from Operation: 44*42=1848
Current State: 77:[24, 1848], Operations: ['67-25=42', '44*42=1848']
Exploring Operation: 1848/24=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[67, 44, 24, 25], Operations: []
Exploring Operation: 44+25=69, Resulting Numbers: [67, 24, 69]
Generated Node #0,0: 77:[67, 24, 69] Operation: 44+25=69
Exploring Operation: 44+24=68, Resulting Numbers: [67, 25, 68]
Generated Node #0,1: 77:[67, 25, 68] Operation: 44+24=68
Exploring Operation: 44-25=19, Resulting Numbers: [67, 24, 19]
Generated Node #0,2: 77:[67, 24, 19] Operation: 44-25=19
Moving to Node #0,0
Current State: 77:[67, 24, 69], Operations: ['44+25=69']
Exploring Operation: 24+69=93, Resulting Numbers: [67, 93]
Generated Node #0,0,0: 77:[67, 93] Operation: 24+69=93
Exploring Operation: 67+24=91, Resulting Numbers: [69, 91]
Generated Node #0,0,1: 77:[69, 91] Operation: 67+24=91
Exploring Operation: 69-67=2, Resulting Numbers: [24, 2]
Generated Node #0,0,2: 77:[24, 2] Operation: 69-67=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[24, 2], Operations: ['44+25=69', '69-67=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,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:[69, 91], Operations: ['44+25=69', '67+24=91']
Exploring Operation: 69+91=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Exploring Operation: 91-69=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 69*91=6279, Resulting Numbers: [6279]
6279,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[67, 93], Operations: ['44+25=69', '24+69=93']
Exploring Operation: 67+93=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Exploring Operation: 93-67=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 67*93=6231, Resulting Numbers: [6231]
6231,77 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: 77:[67, 24, 19], Operations: ['44-25=19']
Exploring Operation: 24-19=5, Resulting Numbers: [67, 5]
Generated Node #0,2,0: 77:[67, 5] Operation: 24-19=5
Exploring Operation: 67+24=91, Resulting Numbers: [19, 91]
Generated Node #0,2,1: 77:[19, 91] Operation: 67+24=91
Exploring Operation: 67+19=86, Resulting Numbers: [24, 86]
Generated Node #0,2,2: 77:[24, 86] Operation: 67+19=86
Moving to Node #0,1
Current State: 77:[67, 25, 68], Operations: ['44+24=68']
Exploring Operation: 68-67=1, Resulting Numbers: [25, 1]
Generated Node #0,1,0: 77:[25, 1] Operation: 68-67=1
Exploring Operation: 25+68=93, Resulting Numbers: [67, 93]
Generated Node #0,1,1: 77:[67, 93] Operation: 25+68=93
Exploring Operation: 67+25=92, Resulting Numbers: [68, 92]
Generated Node #0,1,2: 77:[68, 92] Operation: 67+25=92
Moving to Node #0,2,0
Current State: 77:[67, 5], Operations: ['44-25=19', '24-19=5']
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,77 unequal: No Solution
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[25, 1], Operations: ['44+24=68', '68-67=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[24, 86], Operations: ['44-25=19', '67+19=86']
Exploring Operation: 24*86=2064, Resulting Numbers: [2064]
2064,77 unequal: No Solution
Exploring Operation: 24+86=110, Resulting Numbers: [110]
110,77 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[19, 91], Operations: ['44-25=19', '67+24=91']
Exploring Operation: 19+91=110, Resulting Numbers: [110]
110,77 unequal: No Solution
Exploring Operation: 19*91=1729, Resulting Numbers: [1729]
1729,77 unequal: No Solution
Exploring Operation: 91-19=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[68, 92], Operations: ['44+24=68', '67+25=92']
Exploring Operation: 92-68=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 68*92=6256, Resulting Numbers: [6256]
6256,77 unequal: No Solution
Exploring Operation: 68+92=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[67, 93], Operations: ['44+24=68', '25+68=93']
Exploring Operation: 93-67=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 67+93=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Exploring Operation: 67*93=6231, Resulting Numbers: [6231]
6231,77 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
89,
12,
16,
25
] | 60 | [
"89+12=101",
"16+25=41",
"101-41=60"
] | Current State: 60:[89, 12, 16, 25], Operations: []
Exploring Operation: 89+12=101, Resulting Numbers: [16, 25, 101]
Generated Node #2: [16, 25, 101] from Operation: 89+12=101
Current State: 60:[16, 25, 101], Operations: ['89+12=101']
Exploring Operation: 16+25=41, Resulting Numbers: [101, 41]
Generated Node #3: [101, 41] from Operation: 16+25=41
Current State: 60:[101, 41], Operations: ['89+12=101', '16+25=41']
Exploring Operation: 101-41=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[89, 12, 16, 25], Operations: []
Exploring Operation: 89-25=64, Resulting Numbers: [12, 16, 64]
Generated Node #0,0: 60:[12, 16, 64] Operation: 89-25=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[12, 16, 64], Operations: ['89-25=64']
Exploring Operation: 64/16=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 60:[12, 4] Operation: 64/16=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[12, 4], Operations: ['89-25=64', '64/16=4']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,60 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 |
[
31,
99,
62,
88
] | 94 | [
"99-31=68",
"88-62=26",
"68+26=94"
] | Current State: 94:[31, 99, 62, 88], Operations: []
Exploring Operation: 99-31=68, Resulting Numbers: [62, 88, 68]
Generated Node #2: [62, 88, 68] from Operation: 99-31=68
Current State: 94:[62, 88, 68], Operations: ['99-31=68']
Exploring Operation: 88-62=26, Resulting Numbers: [68, 26]
Generated Node #3: [68, 26] from Operation: 88-62=26
Current State: 94:[68, 26], Operations: ['99-31=68', '88-62=26']
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[31, 99, 62, 88], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [99, 88, 2]
Generated Node #0,0: 94:[99, 88, 2] Operation: 62/31=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[99, 88, 2], Operations: ['62/31=2']
Exploring Operation: 88/2=44, Resulting Numbers: [99, 44]
Generated Node #0,0,0: 94:[99, 44] Operation: 88/2=44
Moving to Node #0,0,0
Current State: 94:[99, 44], Operations: ['62/31=2', '88/2=44']
Exploring Operation: 99-44=55, Resulting Numbers: [55]
55,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
26,
38,
88,
38
] | 41 | [
"26+88=114",
"114/38=3",
"38+3=41"
] | Current State: 41:[26, 38, 88, 38], Operations: []
Exploring Operation: 26+88=114, Resulting Numbers: [38, 38, 114]
Generated Node #2: [38, 38, 114] from Operation: 26+88=114
Current State: 41:[38, 38, 114], Operations: ['26+88=114']
Exploring Operation: 114/38=3, Resulting Numbers: [3]
3,41 equal: Goal Reached
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[26, 38, 88, 38], Operations: []
Exploring Operation: 88-38=50, Resulting Numbers: [26, 38, 50]
Generated Node #0,0: 41:[26, 38, 50] Operation: 88-38=50
Exploring Operation: 88-38=50, Resulting Numbers: [26, 38, 50]
Generated Node #0,1: 41:[26, 38, 50] Operation: 88-38=50
Exploring Operation: 88-26=62, Resulting Numbers: [38, 38, 62]
Generated Node #0,2: 41:[38, 38, 62] Operation: 88-26=62
Moving to Node #0,0
Current State: 41:[26, 38, 50], Operations: ['88-38=50']
Exploring Operation: 38-26=12, Resulting Numbers: [50, 12]
Generated Node #0,0,0: 41:[50, 12] Operation: 38-26=12
Exploring Operation: 26+38=64, Resulting Numbers: [50, 64]
Generated Node #0,0,1: 41:[50, 64] Operation: 26+38=64
Exploring Operation: 50-26=24, Resulting Numbers: [38, 24]
Generated Node #0,0,2: 41:[38, 24] Operation: 50-26=24
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[38, 24], Operations: ['88-38=50', '50-26=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,41 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[50, 64], Operations: ['88-38=50', '26+38=64']
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 50*64=3200, Resulting Numbers: [3200]
3200,41 unequal: No Solution
Exploring Operation: 50+64=114, Resulting Numbers: [114]
114,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[50, 12], Operations: ['88-38=50', '38-26=12']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 41:[26, 38, 50], Operations: ['88-38=50']
Exploring Operation: 50-26=24, Resulting Numbers: [38, 24]
Generated Node #0,1,0: 41:[38, 24] Operation: 50-26=24
Exploring Operation: 26+38=64, Resulting Numbers: [50, 64]
Generated Node #0,1,1: 41:[50, 64] Operation: 26+38=64
Exploring Operation: 38-26=12, Resulting Numbers: [50, 12]
Generated Node #0,1,2: 41:[50, 12] Operation: 38-26=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[38, 24], Operations: ['88-38=50', '50-26=24']
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[50, 64], Operations: ['88-38=50', '26+38=64']
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 50+64=114, Resulting Numbers: [114]
114,41 unequal: No Solution
Exploring Operation: 50*64=3200, Resulting Numbers: [3200]
3200,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[50, 12], Operations: ['88-38=50', '38-26=12']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,41 unequal: No Solution
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 41:[38, 38, 62], Operations: ['88-26=62']
Exploring Operation: 62-38=24, Resulting Numbers: [38, 24]
Generated Node #0,2,0: 41:[38, 24] Operation: 62-38=24
Exploring Operation: 38+38=76, Resulting Numbers: [62, 76]
Generated Node #0,2,1: 41:[62, 76] Operation: 38+38=76
Exploring Operation: 62-38=24, Resulting Numbers: [38, 24]
Generated Node #0,2,2: 41:[38, 24] Operation: 62-38=24
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[38, 24], Operations: ['88-26=62', '62-38=24']
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,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,2,2
Current State: 41:[38, 24], Operations: ['88-26=62', '62-38=24']
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,41 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,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,2,1
Current State: 41:[62, 76], Operations: ['88-26=62', '38+38=76']
Exploring Operation: 62*76=4712, Resulting Numbers: [4712]
4712,41 unequal: No Solution
Exploring Operation: 62+76=138, Resulting Numbers: [138]
138,41 unequal: No Solution
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,41 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 |
[
82,
3,
38,
60
] | 92 | [
"82-60=22",
"3*38=114",
"114-22=92"
] | Current State: 92:[82, 3, 38, 60], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [3, 38, 22]
Generated Node #2: [3, 38, 22] from Operation: 82-60=22
Current State: 92:[3, 38, 22], Operations: ['82-60=22']
Exploring Operation: 3*38=114, Resulting Numbers: [22, 114]
Generated Node #3: [22, 114] from Operation: 3*38=114
Current State: 92:[22, 114], Operations: ['82-60=22', '3*38=114']
Exploring Operation: 114-22=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[82, 3, 38, 60], Operations: []
Exploring Operation: 60-38=22, Resulting Numbers: [82, 3, 22]
Generated Node #0,0: 92:[82, 3, 22] Operation: 60-38=22
Exploring Operation: 82-60=22, Resulting Numbers: [3, 38, 22]
Generated Node #0,1: 92:[3, 38, 22] Operation: 82-60=22
Moving to Node #0,1
Current State: 92:[3, 38, 22], Operations: ['82-60=22']
Exploring Operation: 38-22=16, Resulting Numbers: [3, 16]
Generated Node #0,1,0: 92:[3, 16] Operation: 38-22=16
Exploring Operation: 3+38=41, Resulting Numbers: [22, 41]
Generated Node #0,1,1: 92:[22, 41] Operation: 3+38=41
Moving to Node #0,0
Current State: 92:[82, 3, 22], Operations: ['60-38=22']
Exploring Operation: 82+3=85, Resulting Numbers: [22, 85]
Generated Node #0,0,0: 92:[22, 85] Operation: 82+3=85
Exploring Operation: 3+22=25, Resulting Numbers: [82, 25]
Generated Node #0,0,1: 92:[82, 25] Operation: 3+22=25
Moving to Node #0,1,1
Current State: 92:[22, 41], Operations: ['82-60=22', '3+38=41']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 22+41=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[22, 85], Operations: ['60-38=22', '82+3=85']
Exploring Operation: 85-22=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 22+85=107, Resulting Numbers: [107]
107,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[3, 16], Operations: ['82-60=22', '38-22=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[82, 25], Operations: ['60-38=22', '3+22=25']
Exploring Operation: 82+25=107, Resulting Numbers: [107]
107,92 unequal: No Solution
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,92 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
33,
27,
70,
30
] | 100 | [
"33+27=60",
"70-30=40",
"60+40=100"
] | Current State: 100:[33, 27, 70, 30], Operations: []
Exploring Operation: 33+27=60, Resulting Numbers: [70, 30, 60]
Generated Node #2: [70, 30, 60] from Operation: 33+27=60
Current State: 100:[70, 30, 60], Operations: ['33+27=60']
Exploring Operation: 70-30=40, Resulting Numbers: [60, 40]
Generated Node #3: [60, 40] from Operation: 70-30=40
Current State: 100:[60, 40], Operations: ['33+27=60', '70-30=40']
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[33, 27, 70, 30], Operations: []
Exploring Operation: 27+70=97, Resulting Numbers: [33, 30, 97]
Generated Node #0,0: 100:[33, 30, 97] Operation: 27+70=97
Exploring Operation: 70+30=100, Resulting Numbers: [33, 27, 100]
Generated Node #0,1: 100:[33, 27, 100] Operation: 70+30=100
Exploring Operation: 70-33=37, Resulting Numbers: [27, 30, 37]
Generated Node #0,2: 100:[27, 30, 37] Operation: 70-33=37
Exploring Operation: 33+70=103, Resulting Numbers: [27, 30, 103]
Generated Node #0,3: 100:[27, 30, 103] Operation: 33+70=103
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[33, 27, 100], Operations: ['70+30=100']
Exploring Operation: 33+27=60, Resulting Numbers: [100, 60]
Generated Node #0,1,0: 100:[100, 60] Operation: 33+27=60
Exploring Operation: 33-27=6, Resulting Numbers: [100, 6]
Generated Node #0,1,1: 100:[100, 6] Operation: 33-27=6
Exploring Operation: 100-27=73, Resulting Numbers: [33, 73]
Generated Node #0,1,2: 100:[33, 73] Operation: 100-27=73
Exploring Operation: 100-33=67, Resulting Numbers: [27, 67]
Generated Node #0,1,3: 100:[27, 67] Operation: 100-33=67
Moving to Node #0,1,1
Current State: 100:[100, 6], Operations: ['70+30=100', '33-27=6']
Exploring Operation: 100*6=600, Resulting Numbers: [600]
600,100 unequal: No Solution
Exploring Operation: 100+6=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Exploring Operation: 100-6=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[100, 60], Operations: ['70+30=100', '33+27=60']
Exploring Operation: 100+60=160, Resulting Numbers: [160]
160,100 unequal: No Solution
Exploring Operation: 100-60=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 100*60=6000, Resulting Numbers: [6000]
6000,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[27, 67], Operations: ['70+30=100', '100-33=67']
Exploring Operation: 27+67=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 27*67=1809, Resulting Numbers: [1809]
1809,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[33, 73], Operations: ['70+30=100', '100-27=73']
Exploring Operation: 33*73=2409, Resulting Numbers: [2409]
2409,100 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 33+73=106, Resulting Numbers: [106]
106,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[27, 30, 103], Operations: ['33+70=103']
Exploring Operation: 30-27=3, Resulting Numbers: [103, 3]
Generated Node #0,3,0: 100:[103, 3] Operation: 30-27=3
Exploring Operation: 27+30=57, Resulting Numbers: [103, 57]
Generated Node #0,3,1: 100:[103, 57] Operation: 27+30=57
Exploring Operation: 103-27=76, Resulting Numbers: [30, 76]
Generated Node #0,3,2: 100:[30, 76] Operation: 103-27=76
Exploring Operation: 103-30=73, Resulting Numbers: [27, 73]
Generated Node #0,3,3: 100:[27, 73] Operation: 103-30=73
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 100:[103, 3], Operations: ['33+70=103', '30-27=3']
Exploring Operation: 103*3=309, Resulting Numbers: [309]
309,100 unequal: No Solution
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[33, 27, 70, 30], Operations: []
Exploring Operation: 33+70=103, Resulting Numbers: [27, 30, 103]
Generated Node #0,3: 100:[27, 30, 103] Operation: 33+70=103
Moving to Node #0,3
Current State: 100:[27, 30, 103], Operations: ['33+70=103']
Exploring Operation: 30-27=3, Resulting Numbers: [103, 3]
Generated Node #0,3,0: 100:[103, 3] Operation: 30-27=3
Moving to Node #0,3,0
Current State: 100:[103, 3], Operations: ['33+70=103', '30-27=3']
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
33,
7,
17,
60
] | 39 | [
"17-7=10",
"60/10=6",
"33+6=39"
] | Current State: 39:[33, 7, 17, 60], Operations: []
Exploring Operation: 17-7=10, Resulting Numbers: [33, 60, 10]
Generated Node #2: [33, 60, 10] from Operation: 17-7=10
Current State: 39:[33, 60, 10], Operations: ['17-7=10']
Exploring Operation: 60/10=6, Resulting Numbers: [33, 6]
Generated Node #3: [33, 6] from Operation: 60/10=6
Current State: 39:[33, 6], Operations: ['17-7=10', '60/10=6']
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[33, 7, 17, 60], Operations: []
Exploring Operation: 60-33=27, Resulting Numbers: [7, 17, 27]
Generated Node #0,0: 39:[7, 17, 27] Operation: 60-33=27
Exploring Operation: 60-17=43, Resulting Numbers: [33, 7, 43]
Generated Node #0,1: 39:[33, 7, 43] Operation: 60-17=43
Moving to Node #0,1
Current State: 39:[33, 7, 43], Operations: ['60-17=43']
Exploring Operation: 33+7=40, Resulting Numbers: [43, 40]
Generated Node #0,1,0: 39:[43, 40] Operation: 33+7=40
Exploring Operation: 43-33=10, Resulting Numbers: [7, 10]
Generated Node #0,1,1: 39:[7, 10] Operation: 43-33=10
Moving to Node #0,0
Current State: 39:[7, 17, 27], Operations: ['60-33=27']
Exploring Operation: 7+27=34, Resulting Numbers: [17, 34]
Generated Node #0,0,0: 39:[17, 34] Operation: 7+27=34
Exploring Operation: 27-17=10, Resulting Numbers: [7, 10]
Generated Node #0,0,1: 39:[7, 10] Operation: 27-17=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[7, 10], Operations: ['60-33=27', '27-17=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,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,0,0
Current State: 39:[17, 34], Operations: ['60-33=27', '7+27=34']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,39 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: 39:[43, 40], Operations: ['60-17=43', '33+7=40']
Exploring Operation: 43+40=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[7, 10], Operations: ['60-17=43', '43-33=10']
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
35,
27,
70,
46
] | 100 | [
"70/35=2",
"27*2=54",
"46+54=100"
] | Current State: 100:[35, 27, 70, 46], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [27, 46, 2]
Generated Node #2: [27, 46, 2] from Operation: 70/35=2
Current State: 100:[27, 46, 2], Operations: ['70/35=2']
Exploring Operation: 27*2=54, Resulting Numbers: [46, 54]
Generated Node #3: [46, 54] from Operation: 27*2=54
Current State: 100:[46, 54], Operations: ['70/35=2', '27*2=54']
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[35, 27, 70, 46], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [27, 46, 2]
Generated Node #0,0: 100:[27, 46, 2] Operation: 70/35=2
Moving to Node #0,0
Current State: 100:[27, 46, 2], Operations: ['70/35=2']
Exploring Operation: 46-27=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 100:[2, 19] Operation: 46-27=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[2, 19], Operations: ['70/35=2', '46-27=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
23,
41,
29,
32
] | 21 | [
"41-23=18",
"32-29=3",
"18+3=21"
] | Current State: 21:[23, 41, 29, 32], Operations: []
Exploring Operation: 41-23=18, Resulting Numbers: [29, 32, 18]
Generated Node #2: [29, 32, 18] from Operation: 41-23=18
Current State: 21:[29, 32, 18], Operations: ['41-23=18']
Exploring Operation: 32-29=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 32-29=3
Current State: 21:[18, 3], Operations: ['41-23=18', '32-29=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[23, 41, 29, 32], Operations: []
Exploring Operation: 41-29=12, Resulting Numbers: [23, 32, 12]
Generated Node #0,0: 21:[23, 32, 12] Operation: 41-29=12
Exploring Operation: 41-23=18, Resulting Numbers: [29, 32, 18]
Generated Node #0,1: 21:[29, 32, 18] Operation: 41-23=18
Exploring Operation: 41-32=9, Resulting Numbers: [23, 29, 9]
Generated Node #0,2: 21:[23, 29, 9] Operation: 41-32=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[23, 29, 9], Operations: ['41-32=9']
Exploring Operation: 23-9=14, Resulting Numbers: [29, 14]
Generated Node #0,2,0: 21:[29, 14] Operation: 23-9=14
Exploring Operation: 29-23=6, Resulting Numbers: [9, 6]
Generated Node #0,2,1: 21:[9, 6] Operation: 29-23=6
Exploring Operation: 29-9=20, Resulting Numbers: [23, 20]
Generated Node #0,2,2: 21:[23, 20] Operation: 29-9=20
Moving to Node #0,2,1
Current State: 21:[9, 6], Operations: ['41-32=9', '29-23=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[23, 20], Operations: ['41-32=9', '29-9=20']
Exploring Operation: 23*20=460, Resulting Numbers: [460]
460,21 unequal: No Solution
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[29, 14], Operations: ['41-32=9', '23-9=14']
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[23, 32, 12], Operations: ['41-29=12']
Exploring Operation: 23-12=11, Resulting Numbers: [32, 11]
Generated Node #0,0,0: 21:[32, 11] Operation: 23-12=11
Exploring Operation: 32-12=20, Resulting Numbers: [23, 20]
Generated Node #0,0,1: 21:[23, 20] Operation: 32-12=20
Exploring Operation: 32-23=9, Resulting Numbers: [12, 9]
Generated Node #0,0,2: 21:[12, 9] Operation: 32-23=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[23, 20], Operations: ['41-29=12', '32-12=20']
Exploring Operation: 23*20=460, Resulting Numbers: [460]
460,21 unequal: No Solution
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[12, 9], Operations: ['41-29=12', '32-23=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[23, 41, 29, 32], Operations: []
Exploring Operation: 41-29=12, Resulting Numbers: [23, 32, 12]
Generated Node #0,0: 21:[23, 32, 12] Operation: 41-29=12
Moving to Node #0,0
Current State: 21:[23, 32, 12], Operations: ['41-29=12']
Exploring Operation: 32-23=9, Resulting Numbers: [12, 9]
Generated Node #0,0,2: 21:[12, 9] Operation: 32-23=9
Moving to Node #0,0,2
Current State: 21:[12, 9], Operations: ['41-29=12', '32-23=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
75,
13,
6,
33
] | 61 | [
"75+13=88",
"33-6=27",
"88-27=61"
] | Current State: 61:[75, 13, 6, 33], Operations: []
Exploring Operation: 75+13=88, Resulting Numbers: [6, 33, 88]
Generated Node #2: [6, 33, 88] from Operation: 75+13=88
Current State: 61:[6, 33, 88], Operations: ['75+13=88']
Exploring Operation: 33-6=27, Resulting Numbers: [88, 27]
Generated Node #3: [88, 27] from Operation: 33-6=27
Current State: 61:[88, 27], Operations: ['75+13=88', '33-6=27']
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[75, 13, 6, 33], Operations: []
Exploring Operation: 75-13=62, Resulting Numbers: [6, 33, 62]
Generated Node #0,0: 61:[6, 33, 62] Operation: 75-13=62
Exploring Operation: 13*6=78, Resulting Numbers: [75, 33, 78]
Generated Node #0,1: 61:[75, 33, 78] Operation: 13*6=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[75, 33, 78], Operations: ['13*6=78']
Exploring Operation: 78-33=45, Resulting Numbers: [75, 45]
Generated Node #0,1,0: 61:[75, 45] Operation: 78-33=45
Exploring Operation: 75-33=42, Resulting Numbers: [78, 42]
Generated Node #0,1,1: 61:[78, 42] Operation: 75-33=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[75, 45], Operations: ['13*6=78', '78-33=45']
Exploring Operation: 75+45=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[78, 42], Operations: ['13*6=78', '75-33=42']
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,61 unequal: No Solution
Exploring Operation: 78+42=120, Resulting Numbers: [120]
120,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[6, 33, 62], Operations: ['75-13=62']
Exploring Operation: 62-6=56, Resulting Numbers: [33, 56]
Generated Node #0,0,0: 61:[33, 56] Operation: 62-6=56
Exploring Operation: 6+33=39, Resulting Numbers: [62, 39]
Generated Node #0,0,1: 61:[62, 39] Operation: 6+33=39
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[62, 39], Operations: ['75-13=62', '6+33=39']
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 62+39=101, Resulting Numbers: [101]
101,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[33, 56], Operations: ['75-13=62', '62-6=56']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
58,
69,
17,
60
] | 95 | [
"69-60=9",
"17*9=153",
"153-58=95"
] | Current State: 95:[58, 69, 17, 60], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [58, 17, 9]
Generated Node #2: [58, 17, 9] from Operation: 69-60=9
Current State: 95:[58, 17, 9], Operations: ['69-60=9']
Exploring Operation: 17*9=153, Resulting Numbers: [58, 153]
Generated Node #3: [58, 153] from Operation: 17*9=153
Current State: 95:[58, 153], Operations: ['69-60=9', '17*9=153']
Exploring Operation: 153-58=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[58, 69, 17, 60], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [69, 17, 2]
Generated Node #0,0: 95:[69, 17, 2] Operation: 60-58=2
Exploring Operation: 69-60=9, Resulting Numbers: [58, 17, 9]
Generated Node #0,1: 95:[58, 17, 9] Operation: 69-60=9
Exploring Operation: 69-58=11, Resulting Numbers: [17, 60, 11]
Generated Node #0,2: 95:[17, 60, 11] Operation: 69-58=11
Moving to Node #0,0
Current State: 95:[69, 17, 2], Operations: ['60-58=2']
Exploring Operation: 69+2=71, Resulting Numbers: [17, 71]
Generated Node #0,0,0: 95:[17, 71] Operation: 69+2=71
Exploring Operation: 69+17=86, Resulting Numbers: [2, 86]
Generated Node #0,0,1: 95:[2, 86] Operation: 69+17=86
Exploring Operation: 17+2=19, Resulting Numbers: [69, 19]
Generated Node #0,0,2: 95:[69, 19] Operation: 17+2=19
Moving to Node #0,1
Current State: 95:[58, 17, 9], Operations: ['69-60=9']
Exploring Operation: 58+9=67, Resulting Numbers: [17, 67]
Generated Node #0,1,0: 95:[17, 67] Operation: 58+9=67
Exploring Operation: 58-17=41, Resulting Numbers: [9, 41]
Generated Node #0,1,1: 95:[9, 41] Operation: 58-17=41
Exploring Operation: 58+17=75, Resulting Numbers: [9, 75]
Generated Node #0,1,2: 95:[9, 75] Operation: 58+17=75
Moving to Node #0,2
Current State: 95:[17, 60, 11], Operations: ['69-58=11']
Exploring Operation: 17+60=77, Resulting Numbers: [11, 77]
Generated Node #0,2,0: 95:[11, 77] Operation: 17+60=77
Exploring Operation: 60+11=71, Resulting Numbers: [17, 71]
Generated Node #0,2,1: 95:[17, 71] Operation: 60+11=71
Exploring Operation: 60-17=43, Resulting Numbers: [11, 43]
Generated Node #0,2,2: 95:[11, 43] Operation: 60-17=43
Moving to Node #0,0,1
Current State: 95:[2, 86], Operations: ['60-58=2', '69+17=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[11, 77], Operations: ['69-58=11', '17+60=77']
Exploring Operation: 11+77=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[9, 75], Operations: ['69-60=9', '58+17=75']
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Exploring Operation: 9+75=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 9*75=675, Resulting Numbers: [675]
675,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[69, 19], Operations: ['60-58=2', '17+2=19']
Exploring Operation: 69*19=1311, Resulting Numbers: [1311]
1311,95 unequal: No Solution
Exploring Operation: 69+19=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[9, 41], Operations: ['69-60=9', '58-17=41']
Exploring Operation: 9+41=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 9*41=369, Resulting Numbers: [369]
369,95 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[17, 71], Operations: ['69-58=11', '60+11=71']
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,95 unequal: No Solution
Exploring Operation: 17*71=1207, Resulting Numbers: [1207]
1207,95 unequal: No Solution
Exploring Operation: 17+71=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[17, 71], Operations: ['60-58=2', '69+2=71']
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,95 unequal: No Solution
Exploring Operation: 17+71=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Exploring Operation: 17*71=1207, Resulting Numbers: [1207]
1207,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[11, 43], Operations: ['69-58=11', '60-17=43']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,95 unequal: No Solution
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,95 unequal: No Solution
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[17, 67], Operations: ['69-60=9', '58+9=67']
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 17*67=1139, Resulting Numbers: [1139]
1139,95 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,95 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
6,
37,
51
] | 22 | [
"2+6=8",
"51-37=14",
"8+14=22"
] | Current State: 22:[2, 6, 37, 51], Operations: []
Exploring Operation: 2+6=8, Resulting Numbers: [37, 51, 8]
Generated Node #2: [37, 51, 8] from Operation: 2+6=8
Current State: 22:[37, 51, 8], Operations: ['2+6=8']
Exploring Operation: 51-37=14, Resulting Numbers: [8, 14]
Generated Node #3: [8, 14] from Operation: 51-37=14
Current State: 22:[8, 14], Operations: ['2+6=8', '51-37=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[2, 6, 37, 51], Operations: []
Exploring Operation: 2*6=12, Resulting Numbers: [37, 51, 12]
Generated Node #0,0: 22:[37, 51, 12] Operation: 2*6=12
Exploring Operation: 37-6=31, Resulting Numbers: [2, 51, 31]
Generated Node #0,1: 22:[2, 51, 31] Operation: 37-6=31
Exploring Operation: 51-6=45, Resulting Numbers: [2, 37, 45]
Generated Node #0,2: 22:[2, 37, 45] Operation: 51-6=45
Exploring Operation: 51-37=14, Resulting Numbers: [2, 6, 14]
Generated Node #0,3: 22:[2, 6, 14] Operation: 51-37=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[2, 6, 14], Operations: ['51-37=14']
Exploring Operation: 6/2=3, Resulting Numbers: [14, 3]
Generated Node #0,3,0: 22:[14, 3] Operation: 6/2=3
Exploring Operation: 14-6=8, Resulting Numbers: [2, 8]
Generated Node #0,3,1: 22:[2, 8] Operation: 14-6=8
Exploring Operation: 6+14=20, Resulting Numbers: [2, 20]
Generated Node #0,3,2: 22:[2, 20] Operation: 6+14=20
Exploring Operation: 2*6=12, Resulting Numbers: [14, 12]
Generated Node #0,3,3: 22:[14, 12] Operation: 2*6=12
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 22:[2, 20], Operations: ['51-37=14', '6+14=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[2, 6, 37, 51], Operations: []
Exploring Operation: 51-37=14, Resulting Numbers: [2, 6, 14]
Generated Node #0,3: 22:[2, 6, 14] Operation: 51-37=14
Moving to Node #0,3
Current State: 22:[2, 6, 14], Operations: ['51-37=14']
Exploring Operation: 6+14=20, Resulting Numbers: [2, 20]
Generated Node #0,3,2: 22:[2, 20] Operation: 6+14=20
Moving to Node #0,3,2
Current State: 22:[2, 20], Operations: ['51-37=14', '6+14=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
14,
4,
31,
87
] | 19 | [
"31-14=17",
"4*17=68",
"87-68=19"
] | Current State: 19:[14, 4, 31, 87], Operations: []
Exploring Operation: 31-14=17, Resulting Numbers: [4, 87, 17]
Generated Node #2: [4, 87, 17] from Operation: 31-14=17
Current State: 19:[4, 87, 17], Operations: ['31-14=17']
Exploring Operation: 4*17=68, Resulting Numbers: [87, 68]
Generated Node #3: [87, 68] from Operation: 4*17=68
Current State: 19:[87, 68], Operations: ['31-14=17', '4*17=68']
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[14, 4, 31, 87], Operations: []
Exploring Operation: 14+4=18, Resulting Numbers: [31, 87, 18]
Generated Node #0,0: 19:[31, 87, 18] Operation: 14+4=18
Exploring Operation: 87-31=56, Resulting Numbers: [14, 4, 56]
Generated Node #0,1: 19:[14, 4, 56] Operation: 87-31=56
Moving to Node #0,1
Current State: 19:[14, 4, 56], Operations: ['87-31=56']
Exploring Operation: 56/14=4, Resulting Numbers: [4, 4]
Generated Node #0,1,0: 19:[4, 4] Operation: 56/14=4
Exploring Operation: 56/4=14, Resulting Numbers: [14, 14]
Generated Node #0,1,1: 19:[14, 14] Operation: 56/4=14
Moving to Node #0,0
Current State: 19:[31, 87, 18], Operations: ['14+4=18']
Exploring Operation: 87-18=69, Resulting Numbers: [31, 69]
Generated Node #0,0,0: 19:[31, 69] Operation: 87-18=69
Exploring Operation: 87-31=56, Resulting Numbers: [18, 56]
Generated Node #0,0,1: 19:[18, 56] Operation: 87-31=56
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[18, 56], Operations: ['14+4=18', '87-31=56']
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,19 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[31, 69], Operations: ['14+4=18', '87-18=69']
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 31+69=100, Resulting Numbers: [100]
100,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 19:[14, 14], Operations: ['87-31=56', '56/4=14']
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[4, 4], Operations: ['87-31=56', '56/14=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,19 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
4,
71,
48
] | 96 | [
"71-59=12",
"4*12=48",
"48+48=96"
] | Current State: 96:[59, 4, 71, 48], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [4, 48, 12]
Generated Node #2: [4, 48, 12] from Operation: 71-59=12
Current State: 96:[4, 48, 12], Operations: ['71-59=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48, 48]
Generated Node #3: [48, 48] from Operation: 4*12=48
Current State: 96:[48, 48], Operations: ['71-59=12', '4*12=48']
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[59, 4, 71, 48], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [4, 48, 12]
Generated Node #0,0: 96:[4, 48, 12] Operation: 71-59=12
Exploring Operation: 71-48=23, Resulting Numbers: [59, 4, 23]
Generated Node #0,1: 96:[59, 4, 23] Operation: 71-48=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[4, 48, 12], Operations: ['71-59=12']
Exploring Operation: 4+12=16, Resulting Numbers: [48, 16]
Generated Node #0,0,0: 96:[48, 16] Operation: 4+12=16
Exploring Operation: 48/4=12, Resulting Numbers: [12, 12]
Generated Node #0,0,1: 96:[12, 12] Operation: 48/4=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[48, 16], Operations: ['71-59=12', '4+12=16']
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[12, 12], Operations: ['71-59=12', '48/4=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[59, 4, 23], Operations: ['71-48=23']
Exploring Operation: 59-23=36, Resulting Numbers: [4, 36]
Generated Node #0,1,0: 96:[4, 36] Operation: 59-23=36
Exploring Operation: 59-4=55, Resulting Numbers: [23, 55]
Generated Node #0,1,1: 96:[23, 55] Operation: 59-4=55
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[4, 36], Operations: ['71-48=23', '59-23=36']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[23, 55], Operations: ['71-48=23', '59-4=55']
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 23+55=78, Resulting Numbers: [78]
78,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
17,
81,
56
] | 12 | [
"81/3=27",
"56-17=39",
"39-27=12"
] | Current State: 12:[3, 17, 81, 56], Operations: []
Exploring Operation: 81/3=27, Resulting Numbers: [17, 56, 27]
Generated Node #2: [17, 56, 27] from Operation: 81/3=27
Current State: 12:[17, 56, 27], Operations: ['81/3=27']
Exploring Operation: 56-17=39, Resulting Numbers: [27, 39]
Generated Node #3: [27, 39] from Operation: 56-17=39
Current State: 12:[27, 39], Operations: ['81/3=27', '56-17=39']
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[3, 17, 81, 56], Operations: []
Exploring Operation: 81-56=25, Resulting Numbers: [3, 17, 25]
Generated Node #0,0: 12:[3, 17, 25] Operation: 81-56=25
Exploring Operation: 56-17=39, Resulting Numbers: [3, 81, 39]
Generated Node #0,1: 12:[3, 81, 39] Operation: 56-17=39
Exploring Operation: 81/3=27, Resulting Numbers: [17, 56, 27]
Generated Node #0,2: 12:[17, 56, 27] Operation: 81/3=27
Exploring Operation: 17-3=14, Resulting Numbers: [81, 56, 14]
Generated Node #0,3: 12:[81, 56, 14] Operation: 17-3=14
Exploring Operation: 81-17=64, Resulting Numbers: [3, 56, 64]
Generated Node #0,4: 12:[3, 56, 64] Operation: 81-17=64
Moving to Node #0,0
Current State: 12:[3, 17, 25], Operations: ['81-56=25']
Exploring Operation: 25-3=22, Resulting Numbers: [17, 22]
Generated Node #0,0,0: 12:[17, 22] Operation: 25-3=22
Exploring Operation: 25-17=8, Resulting Numbers: [3, 8]
Generated Node #0,0,1: 12:[3, 8] Operation: 25-17=8
Exploring Operation: 3+25=28, Resulting Numbers: [17, 28]
Generated Node #0,0,2: 12:[17, 28] Operation: 3+25=28
Exploring Operation: 3+17=20, Resulting Numbers: [25, 20]
Generated Node #0,0,3: 12:[25, 20] Operation: 3+17=20
Exploring Operation: 17-3=14, Resulting Numbers: [25, 14]
Generated Node #0,0,4: 12:[25, 14] Operation: 17-3=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[3, 8], Operations: ['81-56=25', '25-17=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[17, 22], Operations: ['81-56=25', '25-3=22']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 12:[25, 14], Operations: ['81-56=25', '17-3=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 25*14=350, Resulting Numbers: [350]
350,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[17, 28], Operations: ['81-56=25', '3+25=28']
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[25, 20], Operations: ['81-56=25', '3+17=20']
Exploring Operation: 25*20=500, Resulting Numbers: [500]
500,12 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,12 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: 12:[17, 56, 27], Operations: ['81/3=27']
Exploring Operation: 17+56=73, Resulting Numbers: [27, 73]
Generated Node #0,2,0: 12:[27, 73] Operation: 17+56=73
Exploring Operation: 56-27=29, Resulting Numbers: [17, 29]
Generated Node #0,2,1: 12:[17, 29] Operation: 56-27=29
Exploring Operation: 56-17=39, Resulting Numbers: [27, 39]
Generated Node #0,2,2: 12:[27, 39] Operation: 56-17=39
Exploring Operation: 27-17=10, Resulting Numbers: [56, 10]
Generated Node #0,2,3: 12:[56, 10] Operation: 27-17=10
Exploring Operation: 17+27=44, Resulting Numbers: [56, 44]
Generated Node #0,2,4: 12:[56, 44] Operation: 17+27=44
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[17, 29], Operations: ['81/3=27', '56-27=29']
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[3, 17, 81, 56], Operations: []
Exploring Operation: 81/3=27, Resulting Numbers: [17, 56, 27]
Generated Node #0,2: 12:[17, 56, 27] Operation: 81/3=27
Moving to Node #0,2
Current State: 12:[17, 56, 27], Operations: ['81/3=27']
Exploring Operation: 56-27=29, Resulting Numbers: [17, 29]
Generated Node #0,2,1: 12:[17, 29] Operation: 56-27=29
Moving to Node #0,2,1
Current State: 12:[17, 29], Operations: ['81/3=27', '56-27=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
39,
12,
40,
85
] | 72 | [
"39-12=27",
"85-40=45",
"27+45=72"
] | Current State: 72:[39, 12, 40, 85], Operations: []
Exploring Operation: 39-12=27, Resulting Numbers: [40, 85, 27]
Generated Node #2: [40, 85, 27] from Operation: 39-12=27
Current State: 72:[40, 85, 27], Operations: ['39-12=27']
Exploring Operation: 85-40=45, Resulting Numbers: [27, 45]
Generated Node #3: [27, 45] from Operation: 85-40=45
Current State: 72:[27, 45], Operations: ['39-12=27', '85-40=45']
Exploring Operation: 27+45=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[39, 12, 40, 85], Operations: []
Exploring Operation: 85-12=73, Resulting Numbers: [39, 40, 73]
Generated Node #0,0: 72:[39, 40, 73] Operation: 85-12=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[39, 40, 73], Operations: ['85-12=73']
Exploring Operation: 40-39=1, Resulting Numbers: [73, 1]
Generated Node #0,0,0: 72:[73, 1] Operation: 40-39=1
Moving to Node #0,0,0
Current State: 72:[73, 1], Operations: ['85-12=73', '40-39=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[39, 12, 40, 85], Operations: []
Exploring Operation: 85-12=73, Resulting Numbers: [39, 40, 73]
Generated Node #0,0: 72:[39, 40, 73] Operation: 85-12=73
Moving to Node #0,0
Current State: 72:[39, 40, 73], Operations: ['85-12=73']
Exploring Operation: 40-39=1, Resulting Numbers: [73, 1]
Generated Node #0,0,0: 72:[73, 1] Operation: 40-39=1
Moving to Node #0,0,0
Current State: 72:[73, 1], Operations: ['85-12=73', '40-39=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
69,
17,
73,
76
] | 55 | [
"69-17=52",
"76-73=3",
"52+3=55"
] | Current State: 55:[69, 17, 73, 76], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [73, 76, 52]
Generated Node #2: [73, 76, 52] from Operation: 69-17=52
Current State: 55:[73, 76, 52], Operations: ['69-17=52']
Exploring Operation: 76-73=3, Resulting Numbers: [52, 3]
Generated Node #3: [52, 3] from Operation: 76-73=3
Current State: 55:[52, 3], Operations: ['69-17=52', '76-73=3']
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[69, 17, 73, 76], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [17, 76, 4]
Generated Node #0,0: 55:[17, 76, 4] Operation: 73-69=4
Exploring Operation: 76-69=7, Resulting Numbers: [17, 73, 7]
Generated Node #0,1: 55:[17, 73, 7] Operation: 76-69=7
Exploring Operation: 73-17=56, Resulting Numbers: [69, 76, 56]
Generated Node #0,2: 55:[69, 76, 56] Operation: 73-17=56
Exploring Operation: 76-73=3, Resulting Numbers: [69, 17, 3]
Generated Node #0,3: 55:[69, 17, 3] Operation: 76-73=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[69, 17, 3], Operations: ['76-73=3']
Exploring Operation: 69/3=23, Resulting Numbers: [17, 23]
Generated Node #0,3,0: 55:[17, 23] Operation: 69/3=23
Exploring Operation: 17-3=14, Resulting Numbers: [69, 14]
Generated Node #0,3,1: 55:[69, 14] Operation: 17-3=14
Exploring Operation: 69-17=52, Resulting Numbers: [3, 52]
Generated Node #0,3,2: 55:[3, 52] Operation: 69-17=52
Exploring Operation: 69-3=66, Resulting Numbers: [17, 66]
Generated Node #0,3,3: 55:[17, 66] Operation: 69-3=66
Moving to Node #0,3,2
Current State: 55:[3, 52], Operations: ['76-73=3', '69-17=52']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,55 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[69, 17, 73, 76], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [69, 17, 3]
Generated Node #0,3: 55:[69, 17, 3] Operation: 76-73=3
Moving to Node #0,3
Current State: 55:[69, 17, 3], Operations: ['76-73=3']
Exploring Operation: 69-17=52, Resulting Numbers: [3, 52]
Generated Node #0,3,2: 55:[3, 52] Operation: 69-17=52
Moving to Node #0,3,2
Current State: 55:[3, 52], Operations: ['76-73=3', '69-17=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
90,
45,
54,
36
] | 45 | [
"90+45=135",
"54+36=90",
"135-90=45"
] | Current State: 45:[90, 45, 54, 36], Operations: []
Exploring Operation: 90+45=135, Resulting Numbers: [54, 36, 135]
Generated Node #2: [54, 36, 135] from Operation: 90+45=135
Current State: 45:[54, 36, 135], Operations: ['90+45=135']
Exploring Operation: 54+36=90, Resulting Numbers: [135, 90]
Generated Node #3: [135, 90] from Operation: 54+36=90
Current State: 45:[135, 90], Operations: ['90+45=135', '54+36=90']
Exploring Operation: 135-90=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[90, 45, 54, 36], Operations: []
Exploring Operation: 90-36=54, Resulting Numbers: [45, 54, 54]
Generated Node #0,0: 45:[45, 54, 54] Operation: 90-36=54
Exploring Operation: 90-54=36, Resulting Numbers: [45, 36, 36]
Generated Node #0,1: 45:[45, 36, 36] Operation: 90-54=36
Exploring Operation: 90-45=45, Resulting Numbers: [54, 36, 45]
Generated Node #0,2: 45:[54, 36, 45] Operation: 90-45=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[45, 54, 54], Operations: ['90-36=54']
Exploring Operation: 54-54=0, Resulting Numbers: [45, 0]
Generated Node #0,0,0: 45:[45, 0] Operation: 54-54=0
Exploring Operation: 54-45=9, Resulting Numbers: [54, 9]
Generated Node #0,0,1: 45:[54, 9] Operation: 54-45=9
Exploring Operation: 54/54=1, Resulting Numbers: [45, 1]
Generated Node #0,0,2: 45:[45, 1] Operation: 54/54=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[45, 1], Operations: ['90-36=54', '54/54=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[90, 45, 54, 36], Operations: []
Exploring Operation: 90-36=54, Resulting Numbers: [45, 54, 54]
Generated Node #0,0: 45:[45, 54, 54] Operation: 90-36=54
Moving to Node #0,0
Current State: 45:[45, 54, 54], Operations: ['90-36=54']
Exploring Operation: 54/54=1, Resulting Numbers: [45, 1]
Generated Node #0,0,2: 45:[45, 1] Operation: 54/54=1
Moving to Node #0,0,2
Current State: 45:[45, 1], Operations: ['90-36=54', '54/54=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
58,
3,
2,
28
] | 82 | [
"58-3=55",
"2*55=110",
"110-28=82"
] | Current State: 82:[58, 3, 2, 28], Operations: []
Exploring Operation: 58-3=55, Resulting Numbers: [2, 28, 55]
Generated Node #2: [2, 28, 55] from Operation: 58-3=55
Current State: 82:[2, 28, 55], Operations: ['58-3=55']
Exploring Operation: 2*55=110, Resulting Numbers: [28, 110]
Generated Node #3: [28, 110] from Operation: 2*55=110
Current State: 82:[28, 110], Operations: ['58-3=55', '2*55=110']
Exploring Operation: 110-28=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[58, 3, 2, 28], Operations: []
Exploring Operation: 58+28=86, Resulting Numbers: [3, 2, 86]
Generated Node #0,0: 82:[3, 2, 86] Operation: 58+28=86
Exploring Operation: 3*28=84, Resulting Numbers: [58, 2, 84]
Generated Node #0,1: 82:[58, 2, 84] Operation: 3*28=84
Exploring Operation: 58/2=29, Resulting Numbers: [3, 28, 29]
Generated Node #0,2: 82:[3, 28, 29] Operation: 58/2=29
Exploring Operation: 58-28=30, Resulting Numbers: [3, 2, 30]
Generated Node #0,3: 82:[3, 2, 30] Operation: 58-28=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[3, 2, 86], Operations: ['58+28=86']
Exploring Operation: 86-2=84, Resulting Numbers: [3, 84]
Generated Node #0,0,0: 82:[3, 84] Operation: 86-2=84
Exploring Operation: 3-2=1, Resulting Numbers: [86, 1]
Generated Node #0,0,1: 82:[86, 1] Operation: 3-2=1
Exploring Operation: 86/2=43, Resulting Numbers: [3, 43]
Generated Node #0,0,2: 82:[3, 43] Operation: 86/2=43
Exploring Operation: 86-3=83, Resulting Numbers: [2, 83]
Generated Node #0,0,3: 82:[2, 83] Operation: 86-3=83
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 82:[2, 83], Operations: ['58+28=86', '86-3=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,82 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[3, 84], Operations: ['58+28=86', '86-2=84']
Exploring Operation: 3*84=252, Resulting Numbers: [252]
252,82 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[3, 43], Operations: ['58+28=86', '86/2=43']
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,82 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,82 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[86, 1], Operations: ['58+28=86', '3-2=1']
Exploring Operation: 86+1=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,82 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,82 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[3, 2, 30], Operations: ['58-28=30']
Exploring Operation: 30/3=10, Resulting Numbers: [2, 10]
Generated Node #0,3,0: 82:[2, 10] Operation: 30/3=10
Exploring Operation: 3*30=90, Resulting Numbers: [2, 90]
Generated Node #0,3,1: 82:[2, 90] Operation: 3*30=90
Exploring Operation: 3+30=33, Resulting Numbers: [2, 33]
Generated Node #0,3,2: 82:[2, 33] Operation: 3+30=33
Exploring Operation: 2+30=32, Resulting Numbers: [3, 32]
Generated Node #0,3,3: 82:[3, 32] Operation: 2+30=32
Moving to Node #0,3,0
Current State: 82:[2, 10], Operations: ['58-28=30', '30/3=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,82 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,82 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Moving to Node #0,3,2
Current State: 82:[2, 33], Operations: ['58-28=30', '3+30=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Moving to Node #0,3,1
Current State: 82:[2, 90], Operations: ['58-28=30', '3*30=90']
Exploring Operation: 2*90=180, Resulting Numbers: [180]
180,82 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Moving to Node #0,3,3
Current State: 82:[3, 32], Operations: ['58-28=30', '2+30=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,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
Current State: 82:[58, 2, 84], Operations: ['3*28=84']
Exploring Operation: 84-2=82, Resulting Numbers: [58, 82]
Generated Node #0,1,0: 82:[58, 82] Operation: 84-2=82
Exploring Operation: 84-58=26, Resulting Numbers: [2, 26]
Generated Node #0,1,1: 82:[2, 26] Operation: 84-58=26
Exploring Operation: 58/2=29, Resulting Numbers: [84, 29]
Generated Node #0,1,2: 82:[84, 29] Operation: 58/2=29
Exploring Operation: 58-2=56, Resulting Numbers: [84, 56]
Generated Node #0,1,3: 82:[84, 56] Operation: 58-2=56
Moving to Node #0,1,2
Current State: 82:[84, 29], Operations: ['3*28=84', '58/2=29']
Exploring Operation: 84+29=113, Resulting Numbers: [113]
113,82 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,82 unequal: No Solution
Exploring Operation: 84*29=2436, Resulting Numbers: [2436]
2436,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[2, 26], Operations: ['3*28=84', '84-58=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,82 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Moving to Node #0,1,3
Current State: 82:[84, 56], Operations: ['3*28=84', '58-2=56']
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Exploring Operation: 84*56=4704, Resulting Numbers: [4704]
4704,82 unequal: No Solution
Exploring Operation: 84+56=140, Resulting Numbers: [140]
140,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[58, 82], Operations: ['3*28=84', '84-2=82']
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 58+82=140, Resulting Numbers: [140]
140,82 unequal: No Solution
Exploring Operation: 58*82=4756, Resulting Numbers: [4756]
4756,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
Current State: 82:[3, 28, 29], Operations: ['58/2=29']
Exploring Operation: 3*28=84, Resulting Numbers: [29, 84]
Generated Node #0,2,0: 82:[29, 84] Operation: 3*28=84
Exploring Operation: 29-28=1, Resulting Numbers: [3, 1]
Generated Node #0,2,1: 82:[3, 1] Operation: 29-28=1
Exploring Operation: 28+29=57, Resulting Numbers: [3, 57]
Generated Node #0,2,2: 82:[3, 57] Operation: 28+29=57
Exploring Operation: 3*29=87, Resulting Numbers: [28, 87]
Generated Node #0,2,3: 82:[28, 87] Operation: 3*29=87
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[3, 1], Operations: ['58/2=29', '29-28=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[29, 84], Operations: ['58/2=29', '3*28=84']
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,82 unequal: No Solution
Exploring Operation: 29*84=2436, Resulting Numbers: [2436]
2436,82 unequal: No Solution
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[3, 57], Operations: ['58/2=29', '28+29=57']
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,82 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,82 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 82:[28, 87], Operations: ['58/2=29', '3*29=87']
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 28*87=2436, Resulting Numbers: [2436]
2436,82 unequal: No Solution
Exploring Operation: 28+87=115, Resulting Numbers: [115]
115,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
35,
75,
63,
62
] | 39 | [
"75-35=40",
"63-62=1",
"40-1=39"
] | Current State: 39:[35, 75, 63, 62], Operations: []
Exploring Operation: 75-35=40, Resulting Numbers: [63, 62, 40]
Generated Node #2: [63, 62, 40] from Operation: 75-35=40
Current State: 39:[63, 62, 40], Operations: ['75-35=40']
Exploring Operation: 63-62=1, Resulting Numbers: [40, 1]
Generated Node #3: [40, 1] from Operation: 63-62=1
Current State: 39:[40, 1], Operations: ['75-35=40', '63-62=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[35, 75, 63, 62], Operations: []
Exploring Operation: 75-35=40, Resulting Numbers: [63, 62, 40]
Generated Node #0,0: 39:[63, 62, 40] Operation: 75-35=40
Exploring Operation: 75-62=13, Resulting Numbers: [35, 63, 13]
Generated Node #0,1: 39:[35, 63, 13] Operation: 75-62=13
Exploring Operation: 63-62=1, Resulting Numbers: [35, 75, 1]
Generated Node #0,2: 39:[35, 75, 1] Operation: 63-62=1
Exploring Operation: 75-63=12, Resulting Numbers: [35, 62, 12]
Generated Node #0,3: 39:[35, 62, 12] Operation: 75-63=12
Exploring Operation: 63-35=28, Resulting Numbers: [75, 62, 28]
Generated Node #0,4: 39:[75, 62, 28] Operation: 63-35=28
Moving to Node #0,1
Current State: 39:[35, 63, 13], Operations: ['75-62=13']
Exploring Operation: 35-13=22, Resulting Numbers: [63, 22]
Generated Node #0,1,0: 39:[63, 22] Operation: 35-13=22
Exploring Operation: 63-35=28, Resulting Numbers: [13, 28]
Generated Node #0,1,1: 39:[13, 28] Operation: 63-35=28
Exploring Operation: 63+13=76, Resulting Numbers: [35, 76]
Generated Node #0,1,2: 39:[35, 76] Operation: 63+13=76
Exploring Operation: 35+13=48, Resulting Numbers: [63, 48]
Generated Node #0,1,3: 39:[63, 48] Operation: 35+13=48
Exploring Operation: 63-13=50, Resulting Numbers: [35, 50]
Generated Node #0,1,4: 39:[35, 50] Operation: 63-13=50
Moving to Node #0,3
Current State: 39:[35, 62, 12], Operations: ['75-63=12']
Exploring Operation: 35+12=47, Resulting Numbers: [62, 47]
Generated Node #0,3,0: 39:[62, 47] Operation: 35+12=47
Exploring Operation: 62-35=27, Resulting Numbers: [12, 27]
Generated Node #0,3,1: 39:[12, 27] Operation: 62-35=27
Exploring Operation: 62-12=50, Resulting Numbers: [35, 50]
Generated Node #0,3,2: 39:[35, 50] Operation: 62-12=50
Exploring Operation: 35-12=23, Resulting Numbers: [62, 23]
Generated Node #0,3,3: 39:[62, 23] Operation: 35-12=23
Exploring Operation: 62+12=74, Resulting Numbers: [35, 74]
Generated Node #0,3,4: 39:[35, 74] Operation: 62+12=74
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 39:[12, 27], Operations: ['75-63=12', '62-35=27']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,39 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[35, 75, 63, 62], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [35, 62, 12]
Generated Node #0,3: 39:[35, 62, 12] Operation: 75-63=12
Moving to Node #0,3
Current State: 39:[35, 62, 12], Operations: ['75-63=12']
Exploring Operation: 62-35=27, Resulting Numbers: [12, 27]
Generated Node #0,3,1: 39:[12, 27] Operation: 62-35=27
Moving to Node #0,3,1
Current State: 39:[12, 27], Operations: ['75-63=12', '62-35=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
48,
4,
72,
58
] | 36 | [
"58-4=54",
"48*54=2592",
"2592/72=36"
] | Current State: 36:[48, 4, 72, 58], Operations: []
Exploring Operation: 58-4=54, Resulting Numbers: [48, 72, 54]
Generated Node #2: [48, 72, 54] from Operation: 58-4=54
Current State: 36:[48, 72, 54], Operations: ['58-4=54']
Exploring Operation: 48*54=2592, Resulting Numbers: [72, 2592]
Generated Node #3: [72, 2592] from Operation: 48*54=2592
Current State: 36:[72, 2592], Operations: ['58-4=54', '48*54=2592']
Exploring Operation: 2592/72=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[48, 4, 72, 58], Operations: []
Exploring Operation: 72-58=14, Resulting Numbers: [48, 4, 14]
Generated Node #0,0: 36:[48, 4, 14] Operation: 72-58=14
Exploring Operation: 72-48=24, Resulting Numbers: [4, 58, 24]
Generated Node #0,1: 36:[4, 58, 24] Operation: 72-48=24
Exploring Operation: 48/4=12, Resulting Numbers: [72, 58, 12]
Generated Node #0,2: 36:[72, 58, 12] Operation: 48/4=12
Exploring Operation: 58-48=10, Resulting Numbers: [4, 72, 10]
Generated Node #0,3: 36:[4, 72, 10] Operation: 58-48=10
Exploring Operation: 72/4=18, Resulting Numbers: [48, 58, 18]
Generated Node #0,4: 36:[48, 58, 18] Operation: 72/4=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[48, 4, 14], Operations: ['72-58=14']
Exploring Operation: 14-4=10, Resulting Numbers: [48, 10]
Generated Node #0,0,0: 36:[48, 10] Operation: 14-4=10
Exploring Operation: 48/4=12, Resulting Numbers: [14, 12]
Generated Node #0,0,1: 36:[14, 12] Operation: 48/4=12
Exploring Operation: 48-4=44, Resulting Numbers: [14, 44]
Generated Node #0,0,2: 36:[14, 44] Operation: 48-4=44
Exploring Operation: 4+14=18, Resulting Numbers: [48, 18]
Generated Node #0,0,3: 36:[48, 18] Operation: 4+14=18
Exploring Operation: 48-14=34, Resulting Numbers: [4, 34]
Generated Node #0,0,4: 36:[4, 34] Operation: 48-14=34
Moving to Node #0,0,1
Current State: 36:[14, 12], Operations: ['72-58=14', '48/4=12']
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,36 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Moving to Node #0,0,4
Current State: 36:[4, 34], Operations: ['72-58=14', '48-14=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[14, 44], Operations: ['72-58=14', '48-4=44']
Exploring Operation: 14+44=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 14*44=616, Resulting Numbers: [616]
616,36 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[48, 18], Operations: ['72-58=14', '4+14=18']
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,36 unequal: No Solution
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[48, 10], Operations: ['72-58=14', '14-4=10']
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,36 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,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,1
Current State: 36:[4, 58, 24], Operations: ['72-48=24']
Exploring Operation: 24/4=6, Resulting Numbers: [58, 6]
Generated Node #0,1,0: 36:[58, 6] Operation: 24/4=6
Exploring Operation: 4+24=28, Resulting Numbers: [58, 28]
Generated Node #0,1,1: 36:[58, 28] Operation: 4+24=28
Exploring Operation: 24-4=20, Resulting Numbers: [58, 20]
Generated Node #0,1,2: 36:[58, 20] Operation: 24-4=20
Exploring Operation: 58-4=54, Resulting Numbers: [24, 54]
Generated Node #0,1,3: 36:[24, 54] Operation: 58-4=54
Exploring Operation: 58-24=34, Resulting Numbers: [4, 34]
Generated Node #0,1,4: 36:[4, 34] Operation: 58-24=34
Moving to Node #0,1,4
Current State: 36:[4, 34], Operations: ['72-48=24', '58-24=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[58, 6], Operations: ['72-48=24', '24/4=6']
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,36 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[58, 20], Operations: ['72-48=24', '24-4=20']
Exploring Operation: 58*20=1160, Resulting Numbers: [1160]
1160,36 unequal: No Solution
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 58+20=78, Resulting Numbers: [78]
78,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[24, 54], Operations: ['72-48=24', '58-4=54']
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,36 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[58, 28], Operations: ['72-48=24', '4+24=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,36 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,36 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 36:[48, 58, 18], Operations: ['72/4=18']
Exploring Operation: 58-48=10, Resulting Numbers: [18, 10]
Generated Node #0,4,0: 36:[18, 10] Operation: 58-48=10
Exploring Operation: 58-18=40, Resulting Numbers: [48, 40]
Generated Node #0,4,1: 36:[48, 40] Operation: 58-18=40
Exploring Operation: 48+18=66, Resulting Numbers: [58, 66]
Generated Node #0,4,2: 36:[58, 66] Operation: 48+18=66
Exploring Operation: 48-18=30, Resulting Numbers: [58, 30]
Generated Node #0,4,3: 36:[58, 30] Operation: 48-18=30
Exploring Operation: 58+18=76, Resulting Numbers: [48, 76]
Generated Node #0,4,4: 36:[48, 76] Operation: 58+18=76
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 36:[18, 10], Operations: ['72/4=18', '58-48=10']
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,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,4,1
Current State: 36:[48, 40], Operations: ['72/4=18', '58-18=40']
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 48*40=1920, Resulting Numbers: [1920]
1920,36 unequal: No Solution
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,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,4,3
Current State: 36:[58, 30], Operations: ['72/4=18', '48-18=30']
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,36 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,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,4,2
Current State: 36:[58, 66], Operations: ['72/4=18', '48+18=66']
Exploring Operation: 58+66=124, Resulting Numbers: [124]
124,36 unequal: No Solution
Exploring Operation: 58*66=3828, Resulting Numbers: [3828]
3828,36 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,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,4,4
Current State: 36:[48, 76], Operations: ['72/4=18', '58+18=76']
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,36 unequal: No Solution
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,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,3
Current State: 36:[4, 72, 10], Operations: ['58-48=10']
Exploring Operation: 72-4=68, Resulting Numbers: [10, 68]
Generated Node #0,3,0: 36:[10, 68] Operation: 72-4=68
Exploring Operation: 72/4=18, Resulting Numbers: [10, 18]
Generated Node #0,3,1: 36:[10, 18] Operation: 72/4=18
Exploring Operation: 4+10=14, Resulting Numbers: [72, 14]
Generated Node #0,3,2: 36:[72, 14] Operation: 4+10=14
Exploring Operation: 10-4=6, Resulting Numbers: [72, 6]
Generated Node #0,3,3: 36:[72, 6] Operation: 10-4=6
Exploring Operation: 72-10=62, Resulting Numbers: [4, 62]
Generated Node #0,3,4: 36:[4, 62] Operation: 72-10=62
Moving to Node #0,3,1
Current State: 36:[10, 18], Operations: ['58-48=10', '72/4=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Moving to Node #0,3,4
Current State: 36:[4, 62], Operations: ['58-48=10', '72-10=62']
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 4*62=248, Resulting Numbers: [248]
248,36 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Moving to Node #0,3,0
Current State: 36:[10, 68], Operations: ['58-48=10', '72-4=68']
Exploring Operation: 10*68=680, Resulting Numbers: [680]
680,36 unequal: No Solution
Exploring Operation: 10+68=78, Resulting Numbers: [78]
78,36 unequal: No Solution
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Moving to Node #0,3,3
Current State: 36:[72, 6], Operations: ['58-48=10', '10-4=6']
Exploring Operation: 72*6=432, Resulting Numbers: [432]
432,36 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,36 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Moving to Node #0,3,2
Current State: 36:[72, 14], Operations: ['58-48=10', '4+10=14']
Exploring Operation: 72*14=1008, Resulting Numbers: [1008]
1008,36 unequal: No Solution
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 72+14=86, Resulting Numbers: [86]
86,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[72, 58, 12], Operations: ['48/4=12']
Exploring Operation: 72-58=14, Resulting Numbers: [12, 14]
Generated Node #0,2,0: 36:[12, 14] Operation: 72-58=14
Exploring Operation: 58-12=46, Resulting Numbers: [72, 46]
Generated Node #0,2,1: 36:[72, 46] Operation: 58-12=46
Exploring Operation: 72/12=6, Resulting Numbers: [58, 6]
Generated Node #0,2,2: 36:[58, 6] Operation: 72/12=6
Exploring Operation: 72+12=84, Resulting Numbers: [58, 84]
Generated Node #0,2,3: 36:[58, 84] Operation: 72+12=84
Exploring Operation: 72-12=60, Resulting Numbers: [58, 60]
Generated Node #0,2,4: 36:[58, 60] Operation: 72-12=60
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[12, 14], Operations: ['48/4=12', '72-58=14']
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,36 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[58, 6], Operations: ['48/4=12', '72/12=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,36 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[72, 46], Operations: ['48/4=12', '58-12=46']
Exploring Operation: 72+46=118, Resulting Numbers: [118]
118,36 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 72*46=3312, Resulting Numbers: [3312]
3312,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 36:[58, 60], Operations: ['48/4=12', '72-12=60']
Exploring Operation: 58*60=3480, Resulting Numbers: [3480]
3480,36 unequal: No Solution
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,36 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 36:[58, 84], Operations: ['48/4=12', '72+12=84']
Exploring Operation: 58+84=142, Resulting Numbers: [142]
142,36 unequal: No Solution
Exploring Operation: 58*84=4872, Resulting Numbers: [4872]
4872,36 unequal: No Solution
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,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_5 | mult_heuristic |
[
87,
64,
14,
34
] | 25 | [
"87-64=23",
"14+34=48",
"48-23=25"
] | Current State: 25:[87, 64, 14, 34], Operations: []
Exploring Operation: 87-64=23, Resulting Numbers: [14, 34, 23]
Generated Node #2: [14, 34, 23] from Operation: 87-64=23
Current State: 25:[14, 34, 23], Operations: ['87-64=23']
Exploring Operation: 14+34=48, Resulting Numbers: [23, 48]
Generated Node #3: [23, 48] from Operation: 14+34=48
Current State: 25:[23, 48], Operations: ['87-64=23', '14+34=48']
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[87, 64, 14, 34], Operations: []
Exploring Operation: 87-64=23, Resulting Numbers: [14, 34, 23]
Generated Node #0,0: 25:[14, 34, 23] Operation: 87-64=23
Exploring Operation: 64-14=50, Resulting Numbers: [87, 34, 50]
Generated Node #0,1: 25:[87, 34, 50] Operation: 64-14=50
Exploring Operation: 87-14=73, Resulting Numbers: [64, 34, 73]
Generated Node #0,2: 25:[64, 34, 73] Operation: 87-14=73
Exploring Operation: 64-34=30, Resulting Numbers: [87, 14, 30]
Generated Node #0,3: 25:[87, 14, 30] Operation: 64-34=30
Exploring Operation: 87-34=53, Resulting Numbers: [64, 14, 53]
Generated Node #0,4: 25:[64, 14, 53] Operation: 87-34=53
Moving to Node #0,0
Current State: 25:[14, 34, 23], Operations: ['87-64=23']
Exploring Operation: 14+34=48, Resulting Numbers: [23, 48]
Generated Node #0,0,0: 25:[23, 48] Operation: 14+34=48
Exploring Operation: 34-14=20, Resulting Numbers: [23, 20]
Generated Node #0,0,1: 25:[23, 20] Operation: 34-14=20
Exploring Operation: 23-14=9, Resulting Numbers: [34, 9]
Generated Node #0,0,2: 25:[34, 9] Operation: 23-14=9
Exploring Operation: 14+23=37, Resulting Numbers: [34, 37]
Generated Node #0,0,3: 25:[34, 37] Operation: 14+23=37
Exploring Operation: 34-23=11, Resulting Numbers: [14, 11]
Generated Node #0,0,4: 25:[14, 11] Operation: 34-23=11
Moving to Node #0,4
Current State: 25:[64, 14, 53], Operations: ['87-34=53']
Exploring Operation: 14+53=67, Resulting Numbers: [64, 67]
Generated Node #0,4,0: 25:[64, 67] Operation: 14+53=67
Exploring Operation: 53-14=39, Resulting Numbers: [64, 39]
Generated Node #0,4,1: 25:[64, 39] Operation: 53-14=39
Exploring Operation: 64-53=11, Resulting Numbers: [14, 11]
Generated Node #0,4,2: 25:[14, 11] Operation: 64-53=11
Exploring Operation: 64-14=50, Resulting Numbers: [53, 50]
Generated Node #0,4,3: 25:[53, 50] Operation: 64-14=50
Exploring Operation: 64+14=78, Resulting Numbers: [53, 78]
Generated Node #0,4,4: 25:[53, 78] Operation: 64+14=78
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 25:[14, 11], Operations: ['87-34=53', '64-53=11']
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,25 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[87, 64, 14, 34], Operations: []
Exploring Operation: 87-34=53, Resulting Numbers: [64, 14, 53]
Generated Node #0,4: 25:[64, 14, 53] Operation: 87-34=53
Moving to Node #0,4
Current State: 25:[64, 14, 53], Operations: ['87-34=53']
Exploring Operation: 64-53=11, Resulting Numbers: [14, 11]
Generated Node #0,4,2: 25:[14, 11] Operation: 64-53=11
Moving to Node #0,4,2
Current State: 25:[14, 11], Operations: ['87-34=53', '64-53=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
31,
11,
18,
40
] | 100 | [
"31+11=42",
"18+40=58",
"42+58=100"
] | Current State: 100:[31, 11, 18, 40], Operations: []
Exploring Operation: 31+11=42, Resulting Numbers: [18, 40, 42]
Generated Node #2: [18, 40, 42] from Operation: 31+11=42
Current State: 100:[18, 40, 42], Operations: ['31+11=42']
Exploring Operation: 18+40=58, Resulting Numbers: [42, 58]
Generated Node #3: [42, 58] from Operation: 18+40=58
Current State: 100:[42, 58], Operations: ['31+11=42', '18+40=58']
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[31, 11, 18, 40], Operations: []
Exploring Operation: 40-31=9, Resulting Numbers: [11, 18, 9]
Generated Node #0,0: 100:[11, 18, 9] Operation: 40-31=9
Moving to Node #0,0
Current State: 100:[11, 18, 9], Operations: ['40-31=9']
Exploring Operation: 18/9=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 100:[11, 2] Operation: 18/9=2
Moving to Node #0,0,0
Current State: 100:[11, 2], Operations: ['40-31=9', '18/9=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,100 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
13,
63,
37,
10
] | 16 | [
"13-10=3",
"63/3=21",
"37-21=16"
] | Current State: 16:[13, 63, 37, 10], Operations: []
Exploring Operation: 13-10=3, Resulting Numbers: [63, 37, 3]
Generated Node #2: [63, 37, 3] from Operation: 13-10=3
Current State: 16:[63, 37, 3], Operations: ['13-10=3']
Exploring Operation: 63/3=21, Resulting Numbers: [37, 21]
Generated Node #3: [37, 21] from Operation: 63/3=21
Current State: 16:[37, 21], Operations: ['13-10=3', '63/3=21']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[13, 63, 37, 10], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [13, 10, 26]
Generated Node #0,0: 16:[13, 10, 26] Operation: 63-37=26
Exploring Operation: 63-10=53, Resulting Numbers: [13, 37, 53]
Generated Node #0,1: 16:[13, 37, 53] Operation: 63-10=53
Exploring Operation: 37-13=24, Resulting Numbers: [63, 10, 24]
Generated Node #0,2: 16:[63, 10, 24] Operation: 37-13=24
Exploring Operation: 37-10=27, Resulting Numbers: [13, 63, 27]
Generated Node #0,3: 16:[13, 63, 27] Operation: 37-10=27
Exploring Operation: 63-13=50, Resulting Numbers: [37, 10, 50]
Generated Node #0,4: 16:[37, 10, 50] Operation: 63-13=50
Moving to Node #0,0
Current State: 16:[13, 10, 26], Operations: ['63-37=26']
Exploring Operation: 13+10=23, Resulting Numbers: [26, 23]
Generated Node #0,0,0: 16:[26, 23] Operation: 13+10=23
Exploring Operation: 26-13=13, Resulting Numbers: [10, 13]
Generated Node #0,0,1: 16:[10, 13] Operation: 26-13=13
Exploring Operation: 26/13=2, Resulting Numbers: [10, 2]
Generated Node #0,0,2: 16:[10, 2] Operation: 26/13=2
Exploring Operation: 26-10=16, Resulting Numbers: [13, 16]
Generated Node #0,0,3: 16:[13, 16] Operation: 26-10=16
Exploring Operation: 13-10=3, Resulting Numbers: [26, 3]
Generated Node #0,0,4: 16:[26, 3] Operation: 13-10=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[10, 2], Operations: ['63-37=26', '26/13=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,16 unequal: No Solution
No 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: 16:[13, 16], Operations: ['63-37=26', '26-10=16']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,16 unequal: No Solution
No 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: 16:[10, 13], Operations: ['63-37=26', '26-13=13']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,16 unequal: No Solution
No 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: 16:[26, 3], Operations: ['63-37=26', '13-10=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,16 unequal: No Solution
No 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: 16:[26, 23], Operations: ['63-37=26', '13+10=23']
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,16 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: 16:[37, 10, 50], Operations: ['63-13=50']
Exploring Operation: 50/10=5, Resulting Numbers: [37, 5]
Generated Node #0,4,0: 16:[37, 5] Operation: 50/10=5
Exploring Operation: 50-10=40, Resulting Numbers: [37, 40]
Generated Node #0,4,1: 16:[37, 40] Operation: 50-10=40
Exploring Operation: 37-10=27, Resulting Numbers: [50, 27]
Generated Node #0,4,2: 16:[50, 27] Operation: 37-10=27
Exploring Operation: 37+10=47, Resulting Numbers: [50, 47]
Generated Node #0,4,3: 16:[50, 47] Operation: 37+10=47
Exploring Operation: 50-37=13, Resulting Numbers: [10, 13]
Generated Node #0,4,4: 16:[10, 13] Operation: 50-37=13
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 16:[10, 13], Operations: ['63-13=50', '50-37=13']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,16 unequal: No Solution
No 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: 16:[37, 5], Operations: ['63-13=50', '50/10=5']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,16 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,16 unequal: No Solution
No 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: 16:[37, 40], Operations: ['63-13=50', '50-10=40']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,16 unequal: No Solution
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,16 unequal: No Solution
No 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: 16:[50, 27], Operations: ['63-13=50', '37-10=27']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,16 unequal: No Solution
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,16 unequal: No Solution
No 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: 16:[50, 47], Operations: ['63-13=50', '37+10=47']
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 50+47=97, Resulting Numbers: [97]
97,16 unequal: No Solution
Exploring Operation: 50*47=2350, Resulting Numbers: [2350]
2350,16 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: 16:[63, 10, 24], Operations: ['37-13=24']
Exploring Operation: 10+24=34, Resulting Numbers: [63, 34]
Generated Node #0,2,0: 16:[63, 34] Operation: 10+24=34
Exploring Operation: 24-10=14, Resulting Numbers: [63, 14]
Generated Node #0,2,1: 16:[63, 14] Operation: 24-10=14
Exploring Operation: 63-24=39, Resulting Numbers: [10, 39]
Generated Node #0,2,2: 16:[10, 39] Operation: 63-24=39
Exploring Operation: 63+10=73, Resulting Numbers: [24, 73]
Generated Node #0,2,3: 16:[24, 73] Operation: 63+10=73
Exploring Operation: 63-10=53, Resulting Numbers: [24, 53]
Generated Node #0,2,4: 16:[24, 53] Operation: 63-10=53
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[10, 39], Operations: ['37-13=24', '63-24=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,16 unequal: No Solution
No 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: 16:[24, 53], Operations: ['37-13=24', '63-10=53']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 24*53=1272, Resulting Numbers: [1272]
1272,16 unequal: No Solution
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,16 unequal: No Solution
No 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: 16:[63, 14], Operations: ['37-13=24', '24-10=14']
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,16 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,16 unequal: No Solution
No 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: 16:[63, 34], Operations: ['37-13=24', '10+24=34']
Exploring Operation: 63*34=2142, Resulting Numbers: [2142]
2142,16 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 63+34=97, Resulting Numbers: [97]
97,16 unequal: No Solution
No 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: 16:[24, 73], Operations: ['37-13=24', '63+10=73']
Exploring Operation: 24*73=1752, Resulting Numbers: [1752]
1752,16 unequal: No Solution
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 24+73=97, Resulting Numbers: [97]
97,16 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: 16:[13, 37, 53], Operations: ['63-10=53']
Exploring Operation: 53-37=16, Resulting Numbers: [13, 16]
Generated Node #0,1,0: 16:[13, 16] Operation: 53-37=16
Exploring Operation: 37-13=24, Resulting Numbers: [53, 24]
Generated Node #0,1,1: 16:[53, 24] Operation: 37-13=24
Exploring Operation: 53-13=40, Resulting Numbers: [37, 40]
Generated Node #0,1,2: 16:[37, 40] Operation: 53-13=40
Exploring Operation: 13+37=50, Resulting Numbers: [53, 50]
Generated Node #0,1,3: 16:[53, 50] Operation: 13+37=50
Exploring Operation: 13+53=66, Resulting Numbers: [37, 66]
Generated Node #0,1,4: 16:[37, 66] Operation: 13+53=66
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[13, 16], Operations: ['63-10=53', '53-37=16']
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,16 unequal: No Solution
No 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: 16:[53, 24], Operations: ['63-10=53', '37-13=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,16 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,16 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,16 unequal: No Solution
No 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: 16:[37, 40], Operations: ['63-10=53', '53-13=40']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,16 unequal: No Solution
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,16 unequal: No Solution
No 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: 16:[53, 50], Operations: ['63-10=53', '13+37=50']
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,16 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,16 unequal: No Solution
No 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: 16:[37, 66], Operations: ['63-10=53', '13+53=66']
Exploring Operation: 37+66=103, Resulting Numbers: [103]
103,16 unequal: No Solution
Exploring Operation: 37*66=2442, Resulting Numbers: [2442]
2442,16 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,16 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: 16:[13, 63, 27], Operations: ['37-10=27']
Exploring Operation: 63-13=50, Resulting Numbers: [27, 50]
Generated Node #0,3,0: 16:[27, 50] Operation: 63-13=50
Exploring Operation: 13+63=76, Resulting Numbers: [27, 76]
Generated Node #0,3,1: 16:[27, 76] Operation: 13+63=76
Exploring Operation: 13+27=40, Resulting Numbers: [63, 40]
Generated Node #0,3,2: 16:[63, 40] Operation: 13+27=40
Exploring Operation: 63-27=36, Resulting Numbers: [13, 36]
Generated Node #0,3,3: 16:[13, 36] Operation: 63-27=36
Exploring Operation: 27-13=14, Resulting Numbers: [63, 14]
Generated Node #0,3,4: 16:[63, 14] Operation: 27-13=14
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[13, 36], Operations: ['37-10=27', '63-27=36']
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,16 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,16 unequal: No Solution
No 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: 16:[27, 50], Operations: ['37-10=27', '63-13=50']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 27*50=1350, Resulting Numbers: [1350]
1350,16 unequal: No Solution
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,16 unequal: No Solution
No 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: 16:[63, 14], Operations: ['37-10=27', '27-13=14']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,16 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,16 unequal: No Solution
No 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: 16:[27, 76], Operations: ['37-10=27', '13+63=76']
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 27*76=2052, Resulting Numbers: [2052]
2052,16 unequal: No Solution
Exploring Operation: 27+76=103, Resulting Numbers: [103]
103,16 unequal: No Solution
No 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: 16:[63, 40], Operations: ['37-10=27', '13+27=40']
Exploring Operation: 63+40=103, Resulting Numbers: [103]
103,16 unequal: No Solution
Exploring Operation: 63*40=2520, Resulting Numbers: [2520]
2520,16 unequal: No Solution
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
9,
7,
68,
26
] | 54 | [
"68-26=42",
"9*42=378",
"378/7=54"
] | Current State: 54:[9, 7, 68, 26], Operations: []
Exploring Operation: 68-26=42, Resulting Numbers: [9, 7, 42]
Generated Node #2: [9, 7, 42] from Operation: 68-26=42
Current State: 54:[9, 7, 42], Operations: ['68-26=42']
Exploring Operation: 9*42=378, Resulting Numbers: [7, 378]
Generated Node #3: [7, 378] from Operation: 9*42=378
Current State: 54:[7, 378], Operations: ['68-26=42', '9*42=378']
Exploring Operation: 378/7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[9, 7, 68, 26], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [68, 26, 2]
Generated Node #0,0: 54:[68, 26, 2] Operation: 9-7=2
Exploring Operation: 68-26=42, Resulting Numbers: [9, 7, 42]
Generated Node #0,1: 54:[9, 7, 42] Operation: 68-26=42
Exploring Operation: 68-7=61, Resulting Numbers: [9, 26, 61]
Generated Node #0,2: 54:[9, 26, 61] Operation: 68-7=61
Exploring Operation: 68-9=59, Resulting Numbers: [7, 26, 59]
Generated Node #0,3: 54:[7, 26, 59] Operation: 68-9=59
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[7, 26, 59], Operations: ['68-9=59']
Exploring Operation: 26-7=19, Resulting Numbers: [59, 19]
Generated Node #0,3,0: 54:[59, 19] Operation: 26-7=19
Exploring Operation: 59-7=52, Resulting Numbers: [26, 52]
Generated Node #0,3,1: 54:[26, 52] Operation: 59-7=52
Exploring Operation: 59-26=33, Resulting Numbers: [7, 33]
Generated Node #0,3,2: 54:[7, 33] Operation: 59-26=33
Exploring Operation: 7+26=33, Resulting Numbers: [59, 33]
Generated Node #0,3,3: 54:[59, 33] Operation: 7+26=33
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 54:[26, 52], Operations: ['68-9=59', '59-7=52']
Exploring Operation: 26+52=78, Resulting Numbers: [78]
78,54 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 26*52=1352, Resulting Numbers: [1352]
1352,54 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 54:[59, 19], Operations: ['68-9=59', '26-7=19']
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Exploring Operation: 59*19=1121, Resulting Numbers: [1121]
1121,54 unequal: No Solution
Exploring Operation: 59+19=78, Resulting Numbers: [78]
78,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 54:[7, 33], Operations: ['68-9=59', '59-26=33']
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,54 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 54:[59, 33], Operations: ['68-9=59', '7+26=33']
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 59+33=92, Resulting Numbers: [92]
92,54 unequal: No Solution
Exploring Operation: 59*33=1947, Resulting Numbers: [1947]
1947,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[9, 26, 61], Operations: ['68-7=61']
Exploring Operation: 61-9=52, Resulting Numbers: [26, 52]
Generated Node #0,2,0: 54:[26, 52] Operation: 61-9=52
Exploring Operation: 9+26=35, Resulting Numbers: [61, 35]
Generated Node #0,2,1: 54:[61, 35] Operation: 9+26=35
Exploring Operation: 61-26=35, Resulting Numbers: [9, 35]
Generated Node #0,2,2: 54:[9, 35] Operation: 61-26=35
Exploring Operation: 26-9=17, Resulting Numbers: [61, 17]
Generated Node #0,2,3: 54:[61, 17] Operation: 26-9=17
Moving to Node #0,2,0
Current State: 54:[26, 52], Operations: ['68-7=61', '61-9=52']
Exploring Operation: 26+52=78, Resulting Numbers: [78]
78,54 unequal: No Solution
Exploring Operation: 26*52=1352, Resulting Numbers: [1352]
1352,54 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[61, 17], Operations: ['68-7=61', '26-9=17']
Exploring Operation: 61*17=1037, Resulting Numbers: [1037]
1037,54 unequal: No Solution
Exploring Operation: 61+17=78, Resulting Numbers: [78]
78,54 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[9, 35], Operations: ['68-7=61', '61-26=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[61, 35], Operations: ['68-7=61', '9+26=35']
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,54 unequal: No Solution
Exploring Operation: 61*35=2135, Resulting Numbers: [2135]
2135,54 unequal: No Solution
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,54 unequal: No Solution
No 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: 54:[9, 7, 42], Operations: ['68-26=42']
Exploring Operation: 42/7=6, Resulting Numbers: [9, 6]
Generated Node #0,1,0: 54:[9, 6] Operation: 42/7=6
Exploring Operation: 9+42=51, Resulting Numbers: [7, 51]
Generated Node #0,1,1: 54:[7, 51] Operation: 9+42=51
Exploring Operation: 42-9=33, Resulting Numbers: [7, 33]
Generated Node #0,1,2: 54:[7, 33] Operation: 42-9=33
Exploring Operation: 7+42=49, Resulting Numbers: [9, 49]
Generated Node #0,1,3: 54:[9, 49] Operation: 7+42=49
Moving to Node #0,1,0
Current State: 54:[9, 6], Operations: ['68-26=42', '42/7=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[9, 7, 68, 26], Operations: []
Exploring Operation: 68-26=42, Resulting Numbers: [9, 7, 42]
Generated Node #0,1: 54:[9, 7, 42] Operation: 68-26=42
Moving to Node #0,1
Current State: 54:[9, 7, 42], Operations: ['68-26=42']
Exploring Operation: 42/7=6, Resulting Numbers: [9, 6]
Generated Node #0,1,0: 54:[9, 6] Operation: 42/7=6
Moving to Node #0,1,0
Current State: 54:[9, 6], Operations: ['68-26=42', '42/7=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_4 | sum_heuristic |
[
11,
14,
54,
66
] | 84 | [
"14-11=3",
"54/3=18",
"66+18=84"
] | Current State: 84:[11, 14, 54, 66], Operations: []
Exploring Operation: 14-11=3, Resulting Numbers: [54, 66, 3]
Generated Node #2: [54, 66, 3] from Operation: 14-11=3
Current State: 84:[54, 66, 3], Operations: ['14-11=3']
Exploring Operation: 54/3=18, Resulting Numbers: [66, 18]
Generated Node #3: [66, 18] from Operation: 54/3=18
Current State: 84:[66, 18], Operations: ['14-11=3', '54/3=18']
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[11, 14, 54, 66], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [11, 14, 12]
Generated Node #0,0: 84:[11, 14, 12] Operation: 66-54=12
Exploring Operation: 54-11=43, Resulting Numbers: [14, 66, 43]
Generated Node #0,1: 84:[14, 66, 43] Operation: 54-11=43
Exploring Operation: 11+66=77, Resulting Numbers: [14, 54, 77]
Generated Node #0,2: 84:[14, 54, 77] Operation: 11+66=77
Exploring Operation: 14+66=80, Resulting Numbers: [11, 54, 80]
Generated Node #0,3: 84:[11, 54, 80] Operation: 14+66=80
Exploring Operation: 66/11=6, Resulting Numbers: [14, 54, 6]
Generated Node #0,4: 84:[14, 54, 6] Operation: 66/11=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[11, 14, 12], Operations: ['66-54=12']
Exploring Operation: 11+14=25, Resulting Numbers: [12, 25]
Generated Node #0,0,0: 84:[12, 25] Operation: 11+14=25
Exploring Operation: 12-11=1, Resulting Numbers: [14, 1]
Generated Node #0,0,1: 84:[14, 1] Operation: 12-11=1
Exploring Operation: 11+12=23, Resulting Numbers: [14, 23]
Generated Node #0,0,2: 84:[14, 23] Operation: 11+12=23
Exploring Operation: 14-11=3, Resulting Numbers: [12, 3]
Generated Node #0,0,3: 84:[12, 3] Operation: 14-11=3
Exploring Operation: 14-12=2, Resulting Numbers: [11, 2]
Generated Node #0,0,4: 84:[11, 2] Operation: 14-12=2
Moving to Node #0,0,3
Current State: 84:[12, 3], Operations: ['66-54=12', '14-11=3']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Moving to Node #0,0,4
Current State: 84:[11, 2], Operations: ['66-54=12', '14-12=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[14, 1], Operations: ['66-54=12', '12-11=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[14, 23], Operations: ['66-54=12', '11+12=23']
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 14*23=322, Resulting Numbers: [322]
322,84 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[12, 25], Operations: ['66-54=12', '11+14=25']
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,84 unequal: No Solution
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 84:[14, 54, 6], Operations: ['66/11=6']
Exploring Operation: 14*6=84, Resulting Numbers: [54, 84]
Generated Node #0,4,0: 84:[54, 84] Operation: 14*6=84
Exploring Operation: 54-6=48, Resulting Numbers: [14, 48]
Generated Node #0,4,1: 84:[14, 48] Operation: 54-6=48
Exploring Operation: 14+6=20, Resulting Numbers: [54, 20]
Generated Node #0,4,2: 84:[54, 20] Operation: 14+6=20
Exploring Operation: 54/6=9, Resulting Numbers: [14, 9]
Generated Node #0,4,3: 84:[14, 9] Operation: 54/6=9
Exploring Operation: 54-14=40, Resulting Numbers: [6, 40]
Generated Node #0,4,4: 84:[6, 40] Operation: 54-14=40
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 84:[14, 9], Operations: ['66/11=6', '54/6=9']
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,84 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 84:[6, 40], Operations: ['66/11=6', '54-14=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,84 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 84:[14, 48], Operations: ['66/11=6', '54-6=48']
Exploring Operation: 14*48=672, Resulting Numbers: [672]
672,84 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 84:[54, 84], Operations: ['66/11=6', '14*6=84']
Exploring Operation: 54+84=138, Resulting Numbers: [138]
138,84 unequal: No Solution
Exploring Operation: 84-54=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 54*84=4536, Resulting Numbers: [4536]
4536,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 84:[54, 20], Operations: ['66/11=6', '14+6=20']
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,84 unequal: No Solution
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[11, 54, 80], Operations: ['14+66=80']
Exploring Operation: 11+80=91, Resulting Numbers: [54, 91]
Generated Node #0,3,0: 84:[54, 91] Operation: 11+80=91
Exploring Operation: 54-11=43, Resulting Numbers: [80, 43]
Generated Node #0,3,1: 84:[80, 43] Operation: 54-11=43
Exploring Operation: 11+54=65, Resulting Numbers: [80, 65]
Generated Node #0,3,2: 84:[80, 65] Operation: 11+54=65
Exploring Operation: 80-54=26, Resulting Numbers: [11, 26]
Generated Node #0,3,3: 84:[11, 26] Operation: 80-54=26
Exploring Operation: 80-11=69, Resulting Numbers: [54, 69]
Generated Node #0,3,4: 84:[54, 69] Operation: 80-11=69
Moving to Node #0,3,3
Current State: 84:[11, 26], Operations: ['14+66=80', '80-54=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,84 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[80, 43], Operations: ['14+66=80', '54-11=43']
Exploring Operation: 80+43=123, Resulting Numbers: [123]
123,84 unequal: No Solution
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 80*43=3440, Resulting Numbers: [3440]
3440,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[54, 91], Operations: ['14+66=80', '11+80=91']
Exploring Operation: 54*91=4914, Resulting Numbers: [4914]
4914,84 unequal: No Solution
Exploring Operation: 54+91=145, Resulting Numbers: [145]
145,84 unequal: No Solution
Exploring Operation: 91-54=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[80, 65], Operations: ['14+66=80', '11+54=65']
Exploring Operation: 80*65=5200, Resulting Numbers: [5200]
5200,84 unequal: No Solution
Exploring Operation: 80+65=145, Resulting Numbers: [145]
145,84 unequal: No Solution
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Moving to Node #0,3,4
Current State: 84:[54, 69], Operations: ['14+66=80', '80-11=69']
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 54+69=123, Resulting Numbers: [123]
123,84 unequal: No Solution
Exploring Operation: 54*69=3726, Resulting Numbers: [3726]
3726,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[14, 66, 43], Operations: ['54-11=43']
Exploring Operation: 66-43=23, Resulting Numbers: [14, 23]
Generated Node #0,1,0: 84:[14, 23] Operation: 66-43=23
Exploring Operation: 14+66=80, Resulting Numbers: [43, 80]
Generated Node #0,1,1: 84:[43, 80] Operation: 14+66=80
Exploring Operation: 43-14=29, Resulting Numbers: [66, 29]
Generated Node #0,1,2: 84:[66, 29] Operation: 43-14=29
Exploring Operation: 66+43=109, Resulting Numbers: [14, 109]
Generated Node #0,1,3: 84:[14, 109] Operation: 66+43=109
Exploring Operation: 66-14=52, Resulting Numbers: [43, 52]
Generated Node #0,1,4: 84:[43, 52] Operation: 66-14=52
Moving to Node #0,1,0
Current State: 84:[14, 23], Operations: ['54-11=43', '66-43=23']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 14*23=322, Resulting Numbers: [322]
322,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[43, 80], Operations: ['54-11=43', '14+66=80']
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 43*80=3440, Resulting Numbers: [3440]
3440,84 unequal: No Solution
Exploring Operation: 43+80=123, Resulting Numbers: [123]
123,84 unequal: No Solution
Moving to Node #0,1,4
Current State: 84:[43, 52], Operations: ['54-11=43', '66-14=52']
Exploring Operation: 43+52=95, Resulting Numbers: [95]
95,84 unequal: No Solution
Exploring Operation: 43*52=2236, Resulting Numbers: [2236]
2236,84 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[66, 29], Operations: ['54-11=43', '43-14=29']
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,84 unequal: No Solution
Exploring Operation: 66*29=1914, Resulting Numbers: [1914]
1914,84 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[14, 109], Operations: ['54-11=43', '66+43=109']
Exploring Operation: 14*109=1526, Resulting Numbers: [1526]
1526,84 unequal: No Solution
Exploring Operation: 14+109=123, Resulting Numbers: [123]
123,84 unequal: No Solution
Exploring Operation: 109-14=95, Resulting Numbers: [95]
95,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[14, 54, 77], Operations: ['11+66=77']
Exploring Operation: 14+77=91, Resulting Numbers: [54, 91]
Generated Node #0,2,0: 84:[54, 91] Operation: 14+77=91
Exploring Operation: 54-14=40, Resulting Numbers: [77, 40]
Generated Node #0,2,1: 84:[77, 40] Operation: 54-14=40
Exploring Operation: 77-14=63, Resulting Numbers: [54, 63]
Generated Node #0,2,2: 84:[54, 63] Operation: 77-14=63
Exploring Operation: 14+54=68, Resulting Numbers: [77, 68]
Generated Node #0,2,3: 84:[77, 68] Operation: 14+54=68
Exploring Operation: 77-54=23, Resulting Numbers: [14, 23]
Generated Node #0,2,4: 84:[14, 23] Operation: 77-54=23
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 84:[14, 23], Operations: ['11+66=77', '77-54=23']
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Exploring Operation: 14*23=322, Resulting Numbers: [322]
322,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 84:[77, 40], Operations: ['11+66=77', '54-14=40']
Exploring Operation: 77+40=117, Resulting Numbers: [117]
117,84 unequal: No Solution
Exploring Operation: 77*40=3080, Resulting Numbers: [3080]
3080,84 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 84:[54, 91], Operations: ['11+66=77', '14+77=91']
Exploring Operation: 91-54=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 54+91=145, Resulting Numbers: [145]
145,84 unequal: No Solution
Exploring Operation: 54*91=4914, Resulting Numbers: [4914]
4914,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 84:[77, 68], Operations: ['11+66=77', '14+54=68']
Exploring Operation: 77*68=5236, Resulting Numbers: [5236]
5236,84 unequal: No Solution
Exploring Operation: 77+68=145, Resulting Numbers: [145]
145,84 unequal: No Solution
Exploring Operation: 77-68=9, Resulting Numbers: [9]
9,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 84:[54, 63], Operations: ['11+66=77', '77-14=63']
Exploring Operation: 54+63=117, Resulting Numbers: [117]
117,84 unequal: No Solution
Exploring Operation: 54*63=3402, Resulting Numbers: [3402]
3402,84 unequal: No Solution
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
25,
95,
13,
36
] | 98 | [
"25-13=12",
"36/12=3",
"95+3=98"
] | Current State: 98:[25, 95, 13, 36], Operations: []
Exploring Operation: 25-13=12, Resulting Numbers: [95, 36, 12]
Generated Node #2: [95, 36, 12] from Operation: 25-13=12
Current State: 98:[95, 36, 12], Operations: ['25-13=12']
Exploring Operation: 36/12=3, Resulting Numbers: [95, 3]
Generated Node #3: [95, 3] from Operation: 36/12=3
Current State: 98:[95, 3], Operations: ['25-13=12', '36/12=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[25, 95, 13, 36], Operations: []
Exploring Operation: 25+36=61, Resulting Numbers: [95, 13, 61]
Generated Node #0,0: 98:[95, 13, 61] Operation: 25+36=61
Exploring Operation: 13+36=49, Resulting Numbers: [25, 95, 49]
Generated Node #0,1: 98:[25, 95, 49] Operation: 13+36=49
Exploring Operation: 36-25=11, Resulting Numbers: [95, 13, 11]
Generated Node #0,2: 98:[95, 13, 11] Operation: 36-25=11
Moving to Node #0,2
Current State: 98:[95, 13, 11], Operations: ['36-25=11']
Exploring Operation: 95+11=106, Resulting Numbers: [13, 106]
Generated Node #0,2,0: 98:[13, 106] Operation: 95+11=106
Exploring Operation: 95+13=108, Resulting Numbers: [11, 108]
Generated Node #0,2,1: 98:[11, 108] Operation: 95+13=108
Exploring Operation: 13-11=2, Resulting Numbers: [95, 2]
Generated Node #0,2,2: 98:[95, 2] Operation: 13-11=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[95, 2], Operations: ['36-25=11', '13-11=2']
Exploring Operation: 95*2=190, Resulting Numbers: [190]
190,98 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,98 unequal: No Solution
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,98 unequal: No Solution
No 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: 98:[13, 106], Operations: ['36-25=11', '95+11=106']
Exploring Operation: 13+106=119, Resulting Numbers: [119]
119,98 unequal: No Solution
Exploring Operation: 13*106=1378, Resulting Numbers: [1378]
1378,98 unequal: No Solution
Exploring Operation: 106-13=93, Resulting Numbers: [93]
93,98 unequal: No Solution
No 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: 98:[11, 108], Operations: ['36-25=11', '95+13=108']
Exploring Operation: 108-11=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 11+108=119, Resulting Numbers: [119]
119,98 unequal: No Solution
Exploring Operation: 11*108=1188, Resulting Numbers: [1188]
1188,98 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: 98:[25, 95, 49], Operations: ['13+36=49']
Exploring Operation: 95-25=70, Resulting Numbers: [49, 70]
Generated Node #0,1,0: 98:[49, 70] Operation: 95-25=70
Exploring Operation: 95-49=46, Resulting Numbers: [25, 46]
Generated Node #0,1,1: 98:[25, 46] Operation: 95-49=46
Exploring Operation: 49-25=24, Resulting Numbers: [95, 24]
Generated Node #0,1,2: 98:[95, 24] Operation: 49-25=24
Moving to Node #0,0
Current State: 98:[95, 13, 61], Operations: ['25+36=61']
Exploring Operation: 95-61=34, Resulting Numbers: [13, 34]
Generated Node #0,0,0: 98:[13, 34] Operation: 95-61=34
Exploring Operation: 61-13=48, Resulting Numbers: [95, 48]
Generated Node #0,0,1: 98:[95, 48] Operation: 61-13=48
Exploring Operation: 95+13=108, Resulting Numbers: [61, 108]
Generated Node #0,0,2: 98:[61, 108] Operation: 95+13=108
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[95, 48], Operations: ['25+36=61', '61-13=48']
Exploring Operation: 95*48=4560, Resulting Numbers: [4560]
4560,98 unequal: No Solution
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 95+48=143, Resulting Numbers: [143]
143,98 unequal: No Solution
No 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: 98:[13, 34], Operations: ['25+36=61', '95-61=34']
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 13*34=442, Resulting Numbers: [442]
442,98 unequal: No Solution
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,98 unequal: No Solution
No 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: 98:[61, 108], Operations: ['25+36=61', '95+13=108']
Exploring Operation: 108-61=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 61+108=169, Resulting Numbers: [169]
169,98 unequal: No Solution
Exploring Operation: 61*108=6588, Resulting Numbers: [6588]
6588,98 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: 98:[95, 24], Operations: ['13+36=49', '49-25=24']
Exploring Operation: 95+24=119, Resulting Numbers: [119]
119,98 unequal: No Solution
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,98 unequal: No Solution
Exploring Operation: 95*24=2280, Resulting Numbers: [2280]
2280,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[25, 46], Operations: ['13+36=49', '95-49=46']
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,98 unequal: No Solution
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,98 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[49, 70], Operations: ['13+36=49', '95-25=70']
Exploring Operation: 49+70=119, Resulting Numbers: [119]
119,98 unequal: No Solution
Exploring Operation: 49*70=3430, Resulting Numbers: [3430]
3430,98 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,98 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
17,
95,
42,
21
] | 99 | [
"95-17=78",
"42-21=21",
"78+21=99"
] | Current State: 99:[17, 95, 42, 21], Operations: []
Exploring Operation: 95-17=78, Resulting Numbers: [42, 21, 78]
Generated Node #2: [42, 21, 78] from Operation: 95-17=78
Current State: 99:[42, 21, 78], Operations: ['95-17=78']
Exploring Operation: 42-21=21, Resulting Numbers: [78, 21]
Generated Node #3: [78, 21] from Operation: 42-21=21
Current State: 99:[78, 21], Operations: ['95-17=78', '42-21=21']
Exploring Operation: 78+21=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[17, 95, 42, 21], Operations: []
Exploring Operation: 21-17=4, Resulting Numbers: [95, 42, 4]
Generated Node #0,0: 99:[95, 42, 4] Operation: 21-17=4
Exploring Operation: 42/21=2, Resulting Numbers: [17, 95, 2]
Generated Node #0,1: 99:[17, 95, 2] Operation: 42/21=2
Exploring Operation: 42-21=21, Resulting Numbers: [17, 95, 21]
Generated Node #0,2: 99:[17, 95, 21] Operation: 42-21=21
Exploring Operation: 17+21=38, Resulting Numbers: [95, 42, 38]
Generated Node #0,3: 99:[95, 42, 38] Operation: 17+21=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[17, 95, 2], Operations: ['42/21=2']
Exploring Operation: 17*2=34, Resulting Numbers: [95, 34]
Generated Node #0,1,0: 99:[95, 34] Operation: 17*2=34
Exploring Operation: 17+2=19, Resulting Numbers: [95, 19]
Generated Node #0,1,1: 99:[95, 19] Operation: 17+2=19
Exploring Operation: 95+2=97, Resulting Numbers: [17, 97]
Generated Node #0,1,2: 99:[17, 97] Operation: 95+2=97
Exploring Operation: 17-2=15, Resulting Numbers: [95, 15]
Generated Node #0,1,3: 99:[95, 15] Operation: 17-2=15
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[95, 34], Operations: ['42/21=2', '17*2=34']
Exploring Operation: 95+34=129, Resulting Numbers: [129]
129,99 unequal: No Solution
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 95*34=3230, Resulting Numbers: [3230]
3230,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[17, 97], Operations: ['42/21=2', '95+2=97']
Exploring Operation: 17+97=114, Resulting Numbers: [114]
114,99 unequal: No Solution
Exploring Operation: 17*97=1649, Resulting Numbers: [1649]
1649,99 unequal: No Solution
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 99:[95, 15], Operations: ['42/21=2', '17-2=15']
Exploring Operation: 95+15=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 95*15=1425, Resulting Numbers: [1425]
1425,99 unequal: No Solution
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[95, 19], Operations: ['42/21=2', '17+2=19']
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 95*19=1805, Resulting Numbers: [1805]
1805,99 unequal: No Solution
Exploring Operation: 95+19=114, Resulting Numbers: [114]
114,99 unequal: No Solution
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[95, 42, 4], Operations: ['21-17=4']
Exploring Operation: 42+4=46, Resulting Numbers: [95, 46]
Generated Node #0,0,0: 99:[95, 46] Operation: 42+4=46
Exploring Operation: 95-4=91, Resulting Numbers: [42, 91]
Generated Node #0,0,1: 99:[42, 91] Operation: 95-4=91
Exploring Operation: 42-4=38, Resulting Numbers: [95, 38]
Generated Node #0,0,2: 99:[95, 38] Operation: 42-4=38
Exploring Operation: 95+4=99, Resulting Numbers: [42, 99]
Generated Node #0,0,3: 99:[42, 99] Operation: 95+4=99
Moving to Node #0,0,2
Current State: 99:[95, 38], Operations: ['21-17=4', '42-4=38']
Exploring Operation: 95+38=133, Resulting Numbers: [133]
133,99 unequal: No Solution
Exploring Operation: 95-38=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 95*38=3610, Resulting Numbers: [3610]
3610,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[42, 99], Operations: ['21-17=4', '95+4=99']
Exploring Operation: 42+99=141, Resulting Numbers: [141]
141,99 unequal: No Solution
Exploring Operation: 42*99=4158, Resulting Numbers: [4158]
4158,99 unequal: No Solution
Exploring Operation: 99-42=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[42, 91], Operations: ['21-17=4', '95-4=91']
Exploring Operation: 91-42=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Exploring Operation: 42*91=3822, Resulting Numbers: [3822]
3822,99 unequal: No Solution
Exploring Operation: 42+91=133, Resulting Numbers: [133]
133,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[95, 46], Operations: ['21-17=4', '42+4=46']
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Exploring Operation: 95+46=141, Resulting Numbers: [141]
141,99 unequal: No Solution
Exploring Operation: 95*46=4370, Resulting Numbers: [4370]
4370,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[95, 42, 38], Operations: ['17+21=38']
Exploring Operation: 95-42=53, Resulting Numbers: [38, 53]
Generated Node #0,3,0: 99:[38, 53] Operation: 95-42=53
Exploring Operation: 42-38=4, Resulting Numbers: [95, 4]
Generated Node #0,3,1: 99:[95, 4] Operation: 42-38=4
Exploring Operation: 95-38=57, Resulting Numbers: [42, 57]
Generated Node #0,3,2: 99:[42, 57] Operation: 95-38=57
Exploring Operation: 42+38=80, Resulting Numbers: [95, 80]
Generated Node #0,3,3: 99:[95, 80] Operation: 42+38=80
Moving to Node #0,3,1
Current State: 99:[95, 4], Operations: ['17+21=38', '42-38=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[17, 95, 42, 21], Operations: []
Exploring Operation: 17+21=38, Resulting Numbers: [95, 42, 38]
Generated Node #0,3: 99:[95, 42, 38] Operation: 17+21=38
Moving to Node #0,3
Current State: 99:[95, 42, 38], Operations: ['17+21=38']
Exploring Operation: 42-38=4, Resulting Numbers: [95, 4]
Generated Node #0,3,1: 99:[95, 4] Operation: 42-38=4
Moving to Node #0,3,1
Current State: 99:[95, 4], Operations: ['17+21=38', '42-38=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_4 | sum_heuristic |
[
43,
44,
86,
56
] | 57 | [
"43+44=87",
"86-56=30",
"87-30=57"
] | Current State: 57:[43, 44, 86, 56], Operations: []
Exploring Operation: 43+44=87, Resulting Numbers: [86, 56, 87]
Generated Node #2: [86, 56, 87] from Operation: 43+44=87
Current State: 57:[86, 56, 87], Operations: ['43+44=87']
Exploring Operation: 86-56=30, Resulting Numbers: [87, 30]
Generated Node #3: [87, 30] from Operation: 86-56=30
Current State: 57:[87, 30], Operations: ['43+44=87', '86-56=30']
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[43, 44, 86, 56], Operations: []
Exploring Operation: 86-43=43, Resulting Numbers: [44, 56, 43]
Generated Node #0,0: 57:[44, 56, 43] Operation: 86-43=43
Exploring Operation: 86-44=42, Resulting Numbers: [43, 56, 42]
Generated Node #0,1: 57:[43, 56, 42] Operation: 86-44=42
Exploring Operation: 44-43=1, Resulting Numbers: [86, 56, 1]
Generated Node #0,2: 57:[86, 56, 1] Operation: 44-43=1
Exploring Operation: 86/43=2, Resulting Numbers: [44, 56, 2]
Generated Node #0,3: 57:[44, 56, 2] Operation: 86/43=2
Moving to Node #0,3
Current State: 57:[44, 56, 2], Operations: ['86/43=2']
Exploring Operation: 44/2=22, Resulting Numbers: [56, 22]
Generated Node #0,3,0: 57:[56, 22] Operation: 44/2=22
Exploring Operation: 56+2=58, Resulting Numbers: [44, 58]
Generated Node #0,3,1: 57:[44, 58] Operation: 56+2=58
Exploring Operation: 44+2=46, Resulting Numbers: [56, 46]
Generated Node #0,3,2: 57:[56, 46] Operation: 44+2=46
Exploring Operation: 56-44=12, Resulting Numbers: [2, 12]
Generated Node #0,3,3: 57:[2, 12] Operation: 56-44=12
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[56, 22], Operations: ['86/43=2', '44/2=22']
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 56*22=1232, Resulting Numbers: [1232]
1232,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 57:[2, 12], Operations: ['86/43=2', '56-44=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 57:[56, 46], Operations: ['86/43=2', '44+2=46']
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 57:[44, 58], Operations: ['86/43=2', '56+2=58']
Exploring Operation: 44+58=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Exploring Operation: 44*58=2552, Resulting Numbers: [2552]
2552,57 unequal: No Solution
Exploring Operation: 58-44=14, Resulting Numbers: [14]
14,57 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: 57:[44, 56, 43], Operations: ['86-43=43']
Exploring Operation: 44-43=1, Resulting Numbers: [56, 1]
Generated Node #0,0,0: 57:[56, 1] Operation: 44-43=1
Exploring Operation: 56-44=12, Resulting Numbers: [43, 12]
Generated Node #0,0,1: 57:[43, 12] Operation: 56-44=12
Exploring Operation: 56-43=13, Resulting Numbers: [44, 13]
Generated Node #0,0,2: 57:[44, 13] Operation: 56-43=13
Exploring Operation: 44+43=87, Resulting Numbers: [56, 87]
Generated Node #0,0,3: 57:[56, 87] Operation: 44+43=87
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[56, 1], Operations: ['86-43=43', '44-43=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[43, 44, 86, 56], Operations: []
Exploring Operation: 86-43=43, Resulting Numbers: [44, 56, 43]
Generated Node #0,0: 57:[44, 56, 43] Operation: 86-43=43
Moving to Node #0,0
Current State: 57:[44, 56, 43], Operations: ['86-43=43']
Exploring Operation: 44-43=1, Resulting Numbers: [56, 1]
Generated Node #0,0,0: 57:[56, 1] Operation: 44-43=1
Moving to Node #0,0,0
Current State: 57:[56, 1], Operations: ['86-43=43', '44-43=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
72,
48,
52,
66
] | 21 | [
"66-52=14",
"72*14=1008",
"1008/48=21"
] | Current State: 21:[72, 48, 52, 66], Operations: []
Exploring Operation: 66-52=14, Resulting Numbers: [72, 48, 14]
Generated Node #2: [72, 48, 14] from Operation: 66-52=14
Current State: 21:[72, 48, 14], Operations: ['66-52=14']
Exploring Operation: 72*14=1008, Resulting Numbers: [48, 1008]
Generated Node #3: [48, 1008] from Operation: 72*14=1008
Current State: 21:[48, 1008], Operations: ['66-52=14', '72*14=1008']
Exploring Operation: 1008/48=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[72, 48, 52, 66], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [52, 66, 24]
Generated Node #0,0: 21:[52, 66, 24] Operation: 72-48=24
Exploring Operation: 72-52=20, Resulting Numbers: [48, 66, 20]
Generated Node #0,1: 21:[48, 66, 20] Operation: 72-52=20
Exploring Operation: 66-48=18, Resulting Numbers: [72, 52, 18]
Generated Node #0,2: 21:[72, 52, 18] Operation: 66-48=18
Exploring Operation: 72-66=6, Resulting Numbers: [48, 52, 6]
Generated Node #0,3: 21:[48, 52, 6] Operation: 72-66=6
Moving to Node #0,3
Current State: 21:[48, 52, 6], Operations: ['72-66=6']
Exploring Operation: 52-6=46, Resulting Numbers: [48, 46]
Generated Node #0,3,0: 21:[48, 46] Operation: 52-6=46
Exploring Operation: 48-6=42, Resulting Numbers: [52, 42]
Generated Node #0,3,1: 21:[52, 42] Operation: 48-6=42
Exploring Operation: 48/6=8, Resulting Numbers: [52, 8]
Generated Node #0,3,2: 21:[52, 8] Operation: 48/6=8
Exploring Operation: 52-48=4, Resulting Numbers: [6, 4]
Generated Node #0,3,3: 21:[6, 4] Operation: 52-48=4
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 21:[6, 4], Operations: ['72-66=6', '52-48=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[52, 8], Operations: ['72-66=6', '48/6=8']
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,21 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[48, 46], Operations: ['72-66=6', '52-6=46']
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,21 unequal: No Solution
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[52, 42], Operations: ['72-66=6', '48-6=42']
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 52+42=94, Resulting Numbers: [94]
94,21 unequal: No Solution
Exploring Operation: 52*42=2184, Resulting Numbers: [2184]
2184,21 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: 21:[48, 66, 20], Operations: ['72-52=20']
Exploring Operation: 66-48=18, Resulting Numbers: [20, 18]
Generated Node #0,1,0: 21:[20, 18] Operation: 66-48=18
Exploring Operation: 66-20=46, Resulting Numbers: [48, 46]
Generated Node #0,1,1: 21:[48, 46] Operation: 66-20=46
Exploring Operation: 48-20=28, Resulting Numbers: [66, 28]
Generated Node #0,1,2: 21:[66, 28] Operation: 48-20=28
Exploring Operation: 48+20=68, Resulting Numbers: [66, 68]
Generated Node #0,1,3: 21:[66, 68] Operation: 48+20=68
Moving to Node #0,0
Current State: 21:[52, 66, 24], Operations: ['72-48=24']
Exploring Operation: 52-24=28, Resulting Numbers: [66, 28]
Generated Node #0,0,0: 21:[66, 28] Operation: 52-24=28
Exploring Operation: 66-24=42, Resulting Numbers: [52, 42]
Generated Node #0,0,1: 21:[52, 42] Operation: 66-24=42
Exploring Operation: 52+66=118, Resulting Numbers: [24, 118]
Generated Node #0,0,2: 21:[24, 118] Operation: 52+66=118
Exploring Operation: 66-52=14, Resulting Numbers: [24, 14]
Generated Node #0,0,3: 21:[24, 14] Operation: 66-52=14
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 21:[24, 14], Operations: ['72-48=24', '66-52=14']
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,21 unequal: No Solution
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,21 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[66, 28], Operations: ['72-48=24', '52-24=28']
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,21 unequal: No Solution
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,21 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[52, 42], Operations: ['72-48=24', '66-24=42']
Exploring Operation: 52+42=94, Resulting Numbers: [94]
94,21 unequal: No Solution
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 52*42=2184, Resulting Numbers: [2184]
2184,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 21:[24, 118], Operations: ['72-48=24', '52+66=118']
Exploring Operation: 24*118=2832, Resulting Numbers: [2832]
2832,21 unequal: No Solution
Exploring Operation: 24+118=142, Resulting Numbers: [142]
142,21 unequal: No Solution
Exploring Operation: 118-24=94, Resulting Numbers: [94]
94,21 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: 21:[72, 52, 18], Operations: ['66-48=18']
Exploring Operation: 72/18=4, Resulting Numbers: [52, 4]
Generated Node #0,2,0: 21:[52, 4] Operation: 72/18=4
Exploring Operation: 52-18=34, Resulting Numbers: [72, 34]
Generated Node #0,2,1: 21:[72, 34] Operation: 52-18=34
Exploring Operation: 72-18=54, Resulting Numbers: [52, 54]
Generated Node #0,2,2: 21:[52, 54] Operation: 72-18=54
Exploring Operation: 72-52=20, Resulting Numbers: [18, 20]
Generated Node #0,2,3: 21:[18, 20] Operation: 72-52=20
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 21:[18, 20], Operations: ['66-48=18', '72-52=20']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,21 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 21:[52, 4], Operations: ['66-48=18', '72/18=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,21 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,21 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[72, 34], Operations: ['66-48=18', '52-18=34']
Exploring Operation: 72+34=106, Resulting Numbers: [106]
106,21 unequal: No Solution
Exploring Operation: 72*34=2448, Resulting Numbers: [2448]
2448,21 unequal: No Solution
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[52, 54], Operations: ['66-48=18', '72-18=54']
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 52*54=2808, Resulting Numbers: [2808]
2808,21 unequal: No Solution
Exploring Operation: 52+54=106, Resulting Numbers: [106]
106,21 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: 21:[20, 18], Operations: ['72-52=20', '66-48=18']
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,21 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,21 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[66, 28], Operations: ['72-52=20', '48-20=28']
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,21 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,21 unequal: No Solution
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[48, 46], Operations: ['72-52=20', '66-20=46']
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,21 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[66, 68], Operations: ['72-52=20', '48+20=68']
Exploring Operation: 68-66=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 66+68=134, Resulting Numbers: [134]
134,21 unequal: No Solution
Exploring Operation: 66*68=4488, Resulting Numbers: [4488]
4488,21 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
32,
7,
38,
51
] | 51 | [
"32+7=39",
"39-38=1",
"51*1=51"
] | Current State: 51:[32, 7, 38, 51], Operations: []
Exploring Operation: 32+7=39, Resulting Numbers: [38, 51, 39]
Generated Node #2: [38, 51, 39] from Operation: 32+7=39
Current State: 51:[38, 51, 39], Operations: ['32+7=39']
Exploring Operation: 39-38=1, Resulting Numbers: [51, 1]
Generated Node #3: [51, 1] from Operation: 39-38=1
Current State: 51:[51, 1], Operations: ['32+7=39', '39-38=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[32, 7, 38, 51], Operations: []
Exploring Operation: 38-32=6, Resulting Numbers: [7, 51, 6]
Generated Node #0,0: 51:[7, 51, 6] Operation: 38-32=6
Moving to Node #0,0
Current State: 51:[7, 51, 6], Operations: ['38-32=6']
Exploring Operation: 7-6=1, Resulting Numbers: [51, 1]
Generated Node #0,0,0: 51:[51, 1] Operation: 7-6=1
Moving to Node #0,0,0
Current State: 51:[51, 1], Operations: ['38-32=6', '7-6=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[32, 7, 38, 51], Operations: []
Exploring Operation: 38-32=6, Resulting Numbers: [7, 51, 6]
Generated Node #0,0: 51:[7, 51, 6] Operation: 38-32=6
Moving to Node #0,0
Current State: 51:[7, 51, 6], Operations: ['38-32=6']
Exploring Operation: 7-6=1, Resulting Numbers: [51, 1]
Generated Node #0,0,0: 51:[51, 1] Operation: 7-6=1
Moving to Node #0,0,0
Current State: 51:[51, 1], Operations: ['38-32=6', '7-6=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
1,
36,
2,
13
] | 46 | [
"1*36=36",
"36-13=23",
"2*23=46"
] | Current State: 46:[1, 36, 2, 13], Operations: []
Exploring Operation: 1*36=36, Resulting Numbers: [2, 13, 36]
Generated Node #2: [2, 13, 36] from Operation: 1*36=36
Current State: 46:[2, 13, 36], Operations: ['1*36=36']
Exploring Operation: 36-13=23, Resulting Numbers: [2, 23]
Generated Node #3: [2, 23] from Operation: 36-13=23
Current State: 46:[2, 23], Operations: ['1*36=36', '36-13=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[1, 36, 2, 13], Operations: []
Exploring Operation: 36-13=23, Resulting Numbers: [1, 2, 23]
Generated Node #0,0: 46:[1, 2, 23] Operation: 36-13=23
Exploring Operation: 36+13=49, Resulting Numbers: [1, 2, 49]
Generated Node #0,1: 46:[1, 2, 49] Operation: 36+13=49
Exploring Operation: 36/2=18, Resulting Numbers: [1, 13, 18]
Generated Node #0,2: 46:[1, 13, 18] Operation: 36/2=18
Exploring Operation: 1+36=37, Resulting Numbers: [2, 13, 37]
Generated Node #0,3: 46:[2, 13, 37] Operation: 1+36=37
Exploring Operation: 2*13=26, Resulting Numbers: [1, 36, 26]
Generated Node #0,4: 46:[1, 36, 26] Operation: 2*13=26
Moving to Node #0,0
Current State: 46:[1, 2, 23], Operations: ['36-13=23']
Exploring Operation: 2/1=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 46:[23, 2] Operation: 2/1=2
Exploring Operation: 1*23=23, Resulting Numbers: [2, 23]
Generated Node #0,0,1: 46:[2, 23] Operation: 1*23=23
Exploring Operation: 23/1=23, Resulting Numbers: [2, 23]
Generated Node #0,0,2: 46:[2, 23] Operation: 23/1=23
Exploring Operation: 1+2=3, Resulting Numbers: [23, 3]
Generated Node #0,0,3: 46:[23, 3] Operation: 1+2=3
Exploring Operation: 1*2=2, Resulting Numbers: [23, 2]
Generated Node #0,0,4: 46:[23, 2] Operation: 1*2=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[23, 2], Operations: ['36-13=23', '2/1=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[1, 36, 2, 13], Operations: []
Exploring Operation: 36-13=23, Resulting Numbers: [1, 2, 23]
Generated Node #0,0: 46:[1, 2, 23] Operation: 36-13=23
Moving to Node #0,0
Current State: 46:[1, 2, 23], Operations: ['36-13=23']
Exploring Operation: 2/1=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 46:[23, 2] Operation: 2/1=2
Moving to Node #0,0,0
Current State: 46:[23, 2], Operations: ['36-13=23', '2/1=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
18,
22,
53,
20
] | 48 | [
"22-18=4",
"20/4=5",
"53-5=48"
] | Current State: 48:[18, 22, 53, 20], Operations: []
Exploring Operation: 22-18=4, Resulting Numbers: [53, 20, 4]
Generated Node #2: [53, 20, 4] from Operation: 22-18=4
Current State: 48:[53, 20, 4], Operations: ['22-18=4']
Exploring Operation: 20/4=5, Resulting Numbers: [53, 5]
Generated Node #3: [53, 5] from Operation: 20/4=5
Current State: 48:[53, 5], Operations: ['22-18=4', '20/4=5']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[18, 22, 53, 20], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [22, 53, 2]
Generated Node #0,0: 48:[22, 53, 2] Operation: 20-18=2
Exploring Operation: 22-20=2, Resulting Numbers: [18, 53, 2]
Generated Node #0,1: 48:[18, 53, 2] Operation: 22-20=2
Exploring Operation: 22-18=4, Resulting Numbers: [53, 20, 4]
Generated Node #0,2: 48:[53, 20, 4] Operation: 22-18=4
Exploring Operation: 53-22=31, Resulting Numbers: [18, 20, 31]
Generated Node #0,3: 48:[18, 20, 31] Operation: 53-22=31
Moving to Node #0,0
Current State: 48:[22, 53, 2], Operations: ['20-18=2']
Exploring Operation: 53-2=51, Resulting Numbers: [22, 51]
Generated Node #0,0,0: 48:[22, 51] Operation: 53-2=51
Exploring Operation: 22/2=11, Resulting Numbers: [53, 11]
Generated Node #0,0,1: 48:[53, 11] Operation: 22/2=11
Exploring Operation: 22+2=24, Resulting Numbers: [53, 24]
Generated Node #0,0,2: 48:[53, 24] Operation: 22+2=24
Exploring Operation: 53-22=31, Resulting Numbers: [2, 31]
Generated Node #0,0,3: 48:[2, 31] Operation: 53-22=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[22, 51], Operations: ['20-18=2', '53-2=51']
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,48 unequal: No Solution
Exploring Operation: 22*51=1122, Resulting Numbers: [1122]
1122,48 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[53, 24], Operations: ['20-18=2', '22+2=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,48 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[53, 11], Operations: ['20-18=2', '22/2=11']
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,48 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,48 unequal: No Solution
Exploring Operation: 53+11=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,0,3
Current State: 48:[2, 31], Operations: ['20-18=2', '53-22=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 48:[18, 53, 2], Operations: ['22-20=2']
Exploring Operation: 18/2=9, Resulting Numbers: [53, 9]
Generated Node #0,1,0: 48:[53, 9] Operation: 18/2=9
Exploring Operation: 53-2=51, Resulting Numbers: [18, 51]
Generated Node #0,1,1: 48:[18, 51] Operation: 53-2=51
Exploring Operation: 18+2=20, Resulting Numbers: [53, 20]
Generated Node #0,1,2: 48:[53, 20] Operation: 18+2=20
Exploring Operation: 18-2=16, Resulting Numbers: [53, 16]
Generated Node #0,1,3: 48:[53, 16] Operation: 18-2=16
Moving to Node #0,2
Current State: 48:[53, 20, 4], Operations: ['22-18=4']
Exploring Operation: 53-4=49, Resulting Numbers: [20, 49]
Generated Node #0,2,0: 48:[20, 49] Operation: 53-4=49
Exploring Operation: 20-4=16, Resulting Numbers: [53, 16]
Generated Node #0,2,1: 48:[53, 16] Operation: 20-4=16
Exploring Operation: 20+4=24, Resulting Numbers: [53, 24]
Generated Node #0,2,2: 48:[53, 24] Operation: 20+4=24
Exploring Operation: 20/4=5, Resulting Numbers: [53, 5]
Generated Node #0,2,3: 48:[53, 5] Operation: 20/4=5
Moving to Node #0,3
Current State: 48:[18, 20, 31], Operations: ['53-22=31']
Exploring Operation: 31-18=13, Resulting Numbers: [20, 13]
Generated Node #0,3,0: 48:[20, 13] Operation: 31-18=13
Exploring Operation: 20+31=51, Resulting Numbers: [18, 51]
Generated Node #0,3,1: 48:[18, 51] Operation: 20+31=51
Exploring Operation: 18+31=49, Resulting Numbers: [20, 49]
Generated Node #0,3,2: 48:[20, 49] Operation: 18+31=49
Exploring Operation: 31-20=11, Resulting Numbers: [18, 11]
Generated Node #0,3,3: 48:[18, 11] Operation: 31-20=11
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 48:[18, 11], Operations: ['53-22=31', '31-20=11']
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,48 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,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,3,0
Current State: 48:[20, 13], Operations: ['53-22=31', '31-18=13']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,48 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,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,3,1
Current State: 48:[18, 51], Operations: ['53-22=31', '20+31=51']
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,48 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,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,3,2
Current State: 48:[20, 49], Operations: ['53-22=31', '18+31=49']
Exploring Operation: 20*49=980, Resulting Numbers: [980]
980,48 unequal: No Solution
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 48:[18, 51], Operations: ['22-20=2', '53-2=51']
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[53, 16], Operations: ['22-18=4', '20-4=16']
Exploring Operation: 53*16=848, Resulting Numbers: [848]
848,48 unequal: No Solution
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 53+16=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[53, 24], Operations: ['22-18=4', '20+4=24']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,48 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,48 unequal: No Solution
Moving to Node #0,1,3
Current State: 48:[53, 16], Operations: ['22-20=2', '18-2=16']
Exploring Operation: 53*16=848, Resulting Numbers: [848]
848,48 unequal: No Solution
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 53+16=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[20, 49], Operations: ['22-18=4', '53-4=49']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Exploring Operation: 20*49=980, Resulting Numbers: [980]
980,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[53, 9], Operations: ['22-20=2', '18/2=9']
Exploring Operation: 53+9=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 53*9=477, Resulting Numbers: [477]
477,48 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,48 unequal: No Solution
Moving to Node #0,2,3
Current State: 48:[53, 5], Operations: ['22-18=4', '20/4=5']
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,48 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[18, 22, 53, 20], Operations: []
Exploring Operation: 22-18=4, Resulting Numbers: [53, 20, 4]
Generated Node #0,2: 48:[53, 20, 4] Operation: 22-18=4
Moving to Node #0,2
Current State: 48:[53, 20, 4], Operations: ['22-18=4']
Exploring Operation: 20/4=5, Resulting Numbers: [53, 5]
Generated Node #0,2,3: 48:[53, 5] Operation: 20/4=5
Moving to Node #0,2,3
Current State: 48:[53, 5], Operations: ['22-18=4', '20/4=5']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.940972 | hs_4 | sum_heuristic |
[
9,
93,
12,
62
] | 69 | [
"93-9=84",
"84/12=7",
"62+7=69"
] | Current State: 69:[9, 93, 12, 62], Operations: []
Exploring Operation: 93-9=84, Resulting Numbers: [12, 62, 84]
Generated Node #2: [12, 62, 84] from Operation: 93-9=84
Current State: 69:[12, 62, 84], Operations: ['93-9=84']
Exploring Operation: 84/12=7, Resulting Numbers: [62, 7]
Generated Node #3: [62, 7] from Operation: 84/12=7
Current State: 69:[62, 7], Operations: ['93-9=84', '84/12=7']
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[9, 93, 12, 62], Operations: []
Exploring Operation: 93-62=31, Resulting Numbers: [9, 12, 31]
Generated Node #0,0: 69:[9, 12, 31] Operation: 93-62=31
Exploring Operation: 93-12=81, Resulting Numbers: [9, 62, 81]
Generated Node #0,1: 69:[9, 62, 81] Operation: 93-12=81
Moving to Node #0,0
Current State: 69:[9, 12, 31], Operations: ['93-62=31']
Exploring Operation: 9+12=21, Resulting Numbers: [31, 21]
Generated Node #0,0,0: 69:[31, 21] Operation: 9+12=21
Exploring Operation: 12-9=3, Resulting Numbers: [31, 3]
Generated Node #0,0,1: 69:[31, 3] Operation: 12-9=3
Moving to Node #0,1
Current State: 69:[9, 62, 81], Operations: ['93-12=81']
Exploring Operation: 81-62=19, Resulting Numbers: [9, 19]
Generated Node #0,1,0: 69:[9, 19] Operation: 81-62=19
Exploring Operation: 81-9=72, Resulting Numbers: [62, 72]
Generated Node #0,1,1: 69:[62, 72] Operation: 81-9=72
Moving to Node #0,0,1
Current State: 69:[31, 3], Operations: ['93-62=31', '12-9=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,69 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[9, 19], Operations: ['93-12=81', '81-62=19']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[31, 21], Operations: ['93-62=31', '9+12=21']
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[62, 72], Operations: ['93-12=81', '81-9=72']
Exploring Operation: 62+72=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,69 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
14,
26,
74,
4
] | 10 | [
"14-4=10",
"26+74=100",
"100/10=10"
] | Current State: 10:[14, 26, 74, 4], Operations: []
Exploring Operation: 14-4=10, Resulting Numbers: [26, 74, 10]
Generated Node #2: [26, 74, 10] from Operation: 14-4=10
Current State: 10:[26, 74, 10], Operations: ['14-4=10']
Exploring Operation: 26+74=100, Resulting Numbers: [10, 100]
Generated Node #3: [10, 100] from Operation: 26+74=100
Current State: 10:[10, 100], Operations: ['14-4=10', '26+74=100']
Exploring Operation: 100/10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[14, 26, 74, 4], Operations: []
Exploring Operation: 14-4=10, Resulting Numbers: [26, 74, 10]
Generated Node #0,0: 10:[26, 74, 10] Operation: 14-4=10
Exploring Operation: 74-14=60, Resulting Numbers: [26, 4, 60]
Generated Node #0,1: 10:[26, 4, 60] Operation: 74-14=60
Exploring Operation: 26-14=12, Resulting Numbers: [74, 4, 12]
Generated Node #0,2: 10:[74, 4, 12] Operation: 26-14=12
Exploring Operation: 74-26=48, Resulting Numbers: [14, 4, 48]
Generated Node #0,3: 10:[14, 4, 48] Operation: 74-26=48
Moving to Node #0,3
Current State: 10:[14, 4, 48], Operations: ['74-26=48']
Exploring Operation: 48/4=12, Resulting Numbers: [14, 12]
Generated Node #0,3,0: 10:[14, 12] Operation: 48/4=12
Exploring Operation: 14-4=10, Resulting Numbers: [48, 10]
Generated Node #0,3,1: 10:[48, 10] Operation: 14-4=10
Exploring Operation: 48-4=44, Resulting Numbers: [14, 44]
Generated Node #0,3,2: 10:[14, 44] Operation: 48-4=44
Exploring Operation: 48-14=34, Resulting Numbers: [4, 34]
Generated Node #0,3,3: 10:[4, 34] Operation: 48-14=34
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[14, 12], Operations: ['74-26=48', '48/4=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,10 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[4, 34], Operations: ['74-26=48', '48-14=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,10 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[48, 10], Operations: ['74-26=48', '14-4=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,10 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[14, 44], Operations: ['74-26=48', '48-4=44']
Exploring Operation: 14*44=616, Resulting Numbers: [616]
616,10 unequal: No Solution
Exploring Operation: 14+44=58, Resulting Numbers: [58]
58,10 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 10:[74, 4, 12], Operations: ['26-14=12']
Exploring Operation: 12-4=8, Resulting Numbers: [74, 8]
Generated Node #0,2,0: 10:[74, 8] Operation: 12-4=8
Exploring Operation: 74-12=62, Resulting Numbers: [4, 62]
Generated Node #0,2,1: 10:[4, 62] Operation: 74-12=62
Exploring Operation: 12/4=3, Resulting Numbers: [74, 3]
Generated Node #0,2,2: 10:[74, 3] Operation: 12/4=3
Exploring Operation: 74-4=70, Resulting Numbers: [12, 70]
Generated Node #0,2,3: 10:[12, 70] Operation: 74-4=70
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[4, 62], Operations: ['26-14=12', '74-12=62']
Exploring Operation: 4*62=248, Resulting Numbers: [248]
248,10 unequal: No Solution
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,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,2,3
Current State: 10:[12, 70], Operations: ['26-14=12', '74-4=70']
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,10 unequal: No Solution
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,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,2,2
Current State: 10:[74, 3], Operations: ['26-14=12', '12/4=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,10 unequal: No Solution
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,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,2,0
Current State: 10:[74, 8], Operations: ['26-14=12', '12-4=8']
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,10 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 10:[26, 4, 60], Operations: ['74-14=60']
Exploring Operation: 26-4=22, Resulting Numbers: [60, 22]
Generated Node #0,1,0: 10:[60, 22] Operation: 26-4=22
Exploring Operation: 60-26=34, Resulting Numbers: [4, 34]
Generated Node #0,1,1: 10:[4, 34] Operation: 60-26=34
Exploring Operation: 60-4=56, Resulting Numbers: [26, 56]
Generated Node #0,1,2: 10:[26, 56] Operation: 60-4=56
Exploring Operation: 60/4=15, Resulting Numbers: [26, 15]
Generated Node #0,1,3: 10:[26, 15] Operation: 60/4=15
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[26, 15], Operations: ['74-14=60', '60/4=15']
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,10 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,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,1
Current State: 10:[4, 34], Operations: ['74-14=60', '60-26=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,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:[60, 22], Operations: ['74-14=60', '26-4=22']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 60*22=1320, Resulting Numbers: [1320]
1320,10 unequal: No Solution
Exploring Operation: 60+22=82, Resulting Numbers: [82]
82,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[26, 56], Operations: ['74-14=60', '60-4=56']
Exploring Operation: 26+56=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 26*56=1456, Resulting Numbers: [1456]
1456,10 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,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:[26, 74, 10], Operations: ['14-4=10']
Exploring Operation: 26+74=100, Resulting Numbers: [10, 100]
Generated Node #0,0,0: 10:[10, 100] Operation: 26+74=100
Exploring Operation: 74-26=48, Resulting Numbers: [10, 48]
Generated Node #0,0,1: 10:[10, 48] Operation: 74-26=48
Exploring Operation: 74-10=64, Resulting Numbers: [26, 64]
Generated Node #0,0,2: 10:[26, 64] Operation: 74-10=64
Exploring Operation: 26-10=16, Resulting Numbers: [74, 16]
Generated Node #0,0,3: 10:[74, 16] Operation: 26-10=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[10, 48], Operations: ['14-4=10', '74-26=48']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,10 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[26, 64], Operations: ['14-4=10', '74-10=64']
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 26*64=1664, Resulting Numbers: [1664]
1664,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 10:[74, 16], Operations: ['14-4=10', '26-10=16']
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,10 unequal: No Solution
Exploring Operation: 74+16=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Exploring Operation: 74*16=1184, Resulting Numbers: [1184]
1184,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[10, 100], Operations: ['14-4=10', '26+74=100']
Exploring Operation: 10*100=1000, Resulting Numbers: [1000]
1000,10 unequal: No Solution
Exploring Operation: 10+100=110, Resulting Numbers: [110]
110,10 unequal: No Solution
Exploring Operation: 100/10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[14, 26, 74, 4], Operations: []
Exploring Operation: 14-4=10, Resulting Numbers: [26, 74, 10]
Generated Node #0,0: 10:[26, 74, 10] Operation: 14-4=10
Moving to Node #0,0
Current State: 10:[26, 74, 10], Operations: ['14-4=10']
Exploring Operation: 26+74=100, Resulting Numbers: [10, 100]
Generated Node #0,0,0: 10:[10, 100] Operation: 26+74=100
Moving to Node #0,0,0
Current State: 10:[10, 100], Operations: ['14-4=10', '26+74=100']
Exploring Operation: 100/10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.9375 | hs_4 | sum_heuristic |
[
12,
9,
50,
18
] | 15 | [
"12+18=30",
"9*50=450",
"450/30=15"
] | Current State: 15:[12, 9, 50, 18], Operations: []
Exploring Operation: 12+18=30, Resulting Numbers: [9, 50, 30]
Generated Node #2: [9, 50, 30] from Operation: 12+18=30
Current State: 15:[9, 50, 30], Operations: ['12+18=30']
Exploring Operation: 9*50=450, Resulting Numbers: [30, 450]
Generated Node #3: [30, 450] from Operation: 9*50=450
Current State: 15:[30, 450], Operations: ['12+18=30', '9*50=450']
Exploring Operation: 450/30=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[12, 9, 50, 18], Operations: []
Exploring Operation: 50-18=32, Resulting Numbers: [12, 9, 32]
Generated Node #0,0: 15:[12, 9, 32] Operation: 50-18=32
Exploring Operation: 50-12=38, Resulting Numbers: [9, 18, 38]
Generated Node #0,1: 15:[9, 18, 38] Operation: 50-12=38
Exploring Operation: 50-9=41, Resulting Numbers: [12, 18, 41]
Generated Node #0,2: 15:[12, 18, 41] Operation: 50-9=41
Moving to Node #0,0
Current State: 15:[12, 9, 32], Operations: ['50-18=32']
Exploring Operation: 32-12=20, Resulting Numbers: [9, 20]
Generated Node #0,0,0: 15:[9, 20] Operation: 32-12=20
Exploring Operation: 12-9=3, Resulting Numbers: [32, 3]
Generated Node #0,0,1: 15:[32, 3] Operation: 12-9=3
Exploring Operation: 32-9=23, Resulting Numbers: [12, 23]
Generated Node #0,0,2: 15:[12, 23] Operation: 32-9=23
Moving to Node #0,1
Current State: 15:[9, 18, 38], Operations: ['50-12=38']
Exploring Operation: 38-18=20, Resulting Numbers: [9, 20]
Generated Node #0,1,0: 15:[9, 20] Operation: 38-18=20
Exploring Operation: 38-9=29, Resulting Numbers: [18, 29]
Generated Node #0,1,1: 15:[18, 29] Operation: 38-9=29
Exploring Operation: 18/9=2, Resulting Numbers: [38, 2]
Generated Node #0,1,2: 15:[38, 2] Operation: 18/9=2
Moving to Node #0,2
Current State: 15:[12, 18, 41], Operations: ['50-9=41']
Exploring Operation: 41-18=23, Resulting Numbers: [12, 23]
Generated Node #0,2,0: 15:[12, 23] Operation: 41-18=23
Exploring Operation: 18-12=6, Resulting Numbers: [41, 6]
Generated Node #0,2,1: 15:[41, 6] Operation: 18-12=6
Exploring Operation: 41-12=29, Resulting Numbers: [18, 29]
Generated Node #0,2,2: 15:[18, 29] Operation: 41-12=29
Moving to Node #0,0,0
Current State: 15:[9, 20], Operations: ['50-18=32', '32-12=20']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,15 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[9, 20], Operations: ['50-12=38', '38-18=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[12, 23], Operations: ['50-9=41', '41-18=23']
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,15 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,15 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[12, 23], Operations: ['50-18=32', '32-9=23']
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,15 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,15 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[32, 3], Operations: ['50-18=32', '12-9=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,15 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,15 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[18, 29], Operations: ['50-12=38', '38-9=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,15 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[18, 29], Operations: ['50-9=41', '41-12=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,15 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[38, 2], Operations: ['50-12=38', '18/9=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[41, 6], Operations: ['50-9=41', '18-12=6']
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,15 unequal: No Solution
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,15 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
94,
55,
40,
61
] | 61 | [
"94-55=39",
"40-39=1",
"61*1=61"
] | Current State: 61:[94, 55, 40, 61], Operations: []
Exploring Operation: 94-55=39, Resulting Numbers: [40, 61, 39]
Generated Node #2: [40, 61, 39] from Operation: 94-55=39
Current State: 61:[40, 61, 39], Operations: ['94-55=39']
Exploring Operation: 40-39=1, Resulting Numbers: [61, 1]
Generated Node #3: [61, 1] from Operation: 40-39=1
Current State: 61:[61, 1], Operations: ['94-55=39', '40-39=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[94, 55, 40, 61], Operations: []
Exploring Operation: 94-55=39, Resulting Numbers: [40, 61, 39]
Generated Node #0,0: 61:[40, 61, 39] Operation: 94-55=39
Exploring Operation: 94-40=54, Resulting Numbers: [55, 61, 54]
Generated Node #0,1: 61:[55, 61, 54] Operation: 94-40=54
Moving to Node #0,1
Current State: 61:[55, 61, 54], Operations: ['94-40=54']
Exploring Operation: 55+54=109, Resulting Numbers: [61, 109]
Generated Node #0,1,0: 61:[61, 109] Operation: 55+54=109
Exploring Operation: 55-54=1, Resulting Numbers: [61, 1]
Generated Node #0,1,1: 61:[61, 1] Operation: 55-54=1
Moving to Node #0,0
Current State: 61:[40, 61, 39], Operations: ['94-55=39']
Exploring Operation: 40-39=1, Resulting Numbers: [61, 1]
Generated Node #0,0,0: 61:[61, 1] Operation: 40-39=1
Exploring Operation: 40+39=79, Resulting Numbers: [61, 79]
Generated Node #0,0,1: 61:[61, 79] Operation: 40+39=79
Moving to Node #0,0,1
Current State: 61:[61, 79], Operations: ['94-55=39', '40+39=79']
Exploring Operation: 61+79=140, Resulting Numbers: [140]
140,61 unequal: No Solution
Exploring Operation: 79-61=18, Resulting Numbers: [18]
18,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[61, 109], Operations: ['94-40=54', '55+54=109']
Exploring Operation: 109-61=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 61+109=170, Resulting Numbers: [170]
170,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[61, 1], Operations: ['94-40=54', '55-54=1']
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[94, 55, 40, 61], Operations: []
Exploring Operation: 94-40=54, Resulting Numbers: [55, 61, 54]
Generated Node #0,1: 61:[55, 61, 54] Operation: 94-40=54
Moving to Node #0,1
Current State: 61:[55, 61, 54], Operations: ['94-40=54']
Exploring Operation: 55-54=1, Resulting Numbers: [61, 1]
Generated Node #0,1,1: 61:[61, 1] Operation: 55-54=1
Moving to Node #0,1,1
Current State: 61:[61, 1], Operations: ['94-40=54', '55-54=1']
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
4,
93,
53,
81
] | 45 | [
"93-4=89",
"53+81=134",
"134-89=45"
] | Current State: 45:[4, 93, 53, 81], Operations: []
Exploring Operation: 93-4=89, Resulting Numbers: [53, 81, 89]
Generated Node #2: [53, 81, 89] from Operation: 93-4=89
Current State: 45:[53, 81, 89], Operations: ['93-4=89']
Exploring Operation: 53+81=134, Resulting Numbers: [89, 134]
Generated Node #3: [89, 134] from Operation: 53+81=134
Current State: 45:[89, 134], Operations: ['93-4=89', '53+81=134']
Exploring Operation: 134-89=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[4, 93, 53, 81], Operations: []
Exploring Operation: 93-81=12, Resulting Numbers: [4, 53, 12]
Generated Node #0,0: 45:[4, 53, 12] Operation: 93-81=12
Moving to Node #0,0
Current State: 45:[4, 53, 12], Operations: ['93-81=12']
Exploring Operation: 53-12=41, Resulting Numbers: [4, 41]
Generated Node #0,0,0: 45:[4, 41] Operation: 53-12=41
Moving to Node #0,0,0
Current State: 45:[4, 41], Operations: ['93-81=12', '53-12=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[4, 93, 53, 81], Operations: []
Exploring Operation: 93-81=12, Resulting Numbers: [4, 53, 12]
Generated Node #0,0: 45:[4, 53, 12] Operation: 93-81=12
Moving to Node #0,0
Current State: 45:[4, 53, 12], Operations: ['93-81=12']
Exploring Operation: 53-12=41, Resulting Numbers: [4, 41]
Generated Node #0,0,0: 45:[4, 41] Operation: 53-12=41
Moving to Node #0,0,0
Current State: 45:[4, 41], Operations: ['93-81=12', '53-12=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
59,
25,
55,
57
] | 15 | [
"59-57=2",
"55-25=30",
"30/2=15"
] | Current State: 15:[59, 25, 55, 57], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [25, 55, 2]
Generated Node #2: [25, 55, 2] from Operation: 59-57=2
Current State: 15:[25, 55, 2], Operations: ['59-57=2']
Exploring Operation: 55-25=30, Resulting Numbers: [2, 30]
Generated Node #3: [2, 30] from Operation: 55-25=30
Current State: 15:[2, 30], Operations: ['59-57=2', '55-25=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[59, 25, 55, 57], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [25, 57, 4]
Generated Node #0,0: 15:[25, 57, 4] Operation: 59-55=4
Exploring Operation: 59-57=2, Resulting Numbers: [25, 55, 2]
Generated Node #0,1: 15:[25, 55, 2] Operation: 59-57=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[25, 55, 2], Operations: ['59-57=2']
Exploring Operation: 25-2=23, Resulting Numbers: [55, 23]
Generated Node #0,1,0: 15:[55, 23] Operation: 25-2=23
Exploring Operation: 55-25=30, Resulting Numbers: [2, 30]
Generated Node #0,1,1: 15:[2, 30] Operation: 55-25=30
Moving to Node #0,1,1
Current State: 15:[2, 30], Operations: ['59-57=2', '55-25=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[59, 25, 55, 57], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [25, 55, 2]
Generated Node #0,1: 15:[25, 55, 2] Operation: 59-57=2
Moving to Node #0,1
Current State: 15:[25, 55, 2], Operations: ['59-57=2']
Exploring Operation: 55-25=30, Resulting Numbers: [2, 30]
Generated Node #0,1,1: 15:[2, 30] Operation: 55-25=30
Moving to Node #0,1,1
Current State: 15:[2, 30], Operations: ['59-57=2', '55-25=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
66,
68,
14,
41
] | 64 | [
"68+14=82",
"82/41=2",
"66-2=64"
] | Current State: 64:[66, 68, 14, 41], Operations: []
Exploring Operation: 68+14=82, Resulting Numbers: [66, 41, 82]
Generated Node #2: [66, 41, 82] from Operation: 68+14=82
Current State: 64:[66, 41, 82], Operations: ['68+14=82']
Exploring Operation: 82/41=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 82/41=2
Current State: 64:[66, 2], Operations: ['68+14=82', '82/41=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[66, 68, 14, 41], Operations: []
Exploring Operation: 68-41=27, Resulting Numbers: [66, 14, 27]
Generated Node #0,0: 64:[66, 14, 27] Operation: 68-41=27
Moving to Node #0,0
Current State: 64:[66, 14, 27], Operations: ['68-41=27']
Exploring Operation: 27-14=13, Resulting Numbers: [66, 13]
Generated Node #0,0,0: 64:[66, 13] Operation: 27-14=13
Moving to Node #0,0,0
Current State: 64:[66, 13], Operations: ['68-41=27', '27-14=13']
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,64 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
41,
10,
86,
9
] | 64 | [
"41-10=31",
"86+9=95",
"95-31=64"
] | Current State: 64:[41, 10, 86, 9], Operations: []
Exploring Operation: 41-10=31, Resulting Numbers: [86, 9, 31]
Generated Node #2: [86, 9, 31] from Operation: 41-10=31
Current State: 64:[86, 9, 31], Operations: ['41-10=31']
Exploring Operation: 86+9=95, Resulting Numbers: [31, 95]
Generated Node #3: [31, 95] from Operation: 86+9=95
Current State: 64:[31, 95], Operations: ['41-10=31', '86+9=95']
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[41, 10, 86, 9], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [10, 9, 45]
Generated Node #0,0: 64:[10, 9, 45] Operation: 86-41=45
Moving to Node #0,0
Current State: 64:[10, 9, 45], Operations: ['86-41=45']
Exploring Operation: 45/9=5, Resulting Numbers: [10, 5]
Generated Node #0,0,0: 64:[10, 5] Operation: 45/9=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[10, 5], Operations: ['86-41=45', '45/9=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
66,
77,
63,
11
] | 84 | [
"66/11=6",
"77-63=14",
"6*14=84"
] | Current State: 84:[66, 77, 63, 11], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [77, 63, 6]
Generated Node #2: [77, 63, 6] from Operation: 66/11=6
Current State: 84:[77, 63, 6], Operations: ['66/11=6']
Exploring Operation: 77-63=14, Resulting Numbers: [6, 14]
Generated Node #3: [6, 14] from Operation: 77-63=14
Current State: 84:[6, 14], Operations: ['66/11=6', '77-63=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[66, 77, 63, 11], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [77, 11, 3]
Generated Node #0,0: 84:[77, 11, 3] Operation: 66-63=3
Exploring Operation: 77-63=14, Resulting Numbers: [66, 11, 14]
Generated Node #0,1: 84:[66, 11, 14] Operation: 77-63=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[77, 11, 3], Operations: ['66-63=3']
Exploring Operation: 77+11=88, Resulting Numbers: [3, 88]
Generated Node #0,0,0: 84:[3, 88] Operation: 77+11=88
Exploring Operation: 77/11=7, Resulting Numbers: [3, 7]
Generated Node #0,0,1: 84:[3, 7] Operation: 77/11=7
Moving to Node #0,0,1
Current State: 84:[3, 7], Operations: ['66-63=3', '77/11=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[3, 88], Operations: ['66-63=3', '77+11=88']
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,84 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[66, 11, 14], Operations: ['77-63=14']
Exploring Operation: 66/11=6, Resulting Numbers: [14, 6]
Generated Node #0,1,0: 84:[14, 6] Operation: 66/11=6
Exploring Operation: 66+14=80, Resulting Numbers: [11, 80]
Generated Node #0,1,1: 84:[11, 80] Operation: 66+14=80
Moving to Node #0,1,0
Current State: 84:[14, 6], Operations: ['77-63=14', '66/11=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[66, 77, 63, 11], Operations: []
Exploring Operation: 77-63=14, Resulting Numbers: [66, 11, 14]
Generated Node #0,1: 84:[66, 11, 14] Operation: 77-63=14
Moving to Node #0,1
Current State: 84:[66, 11, 14], Operations: ['77-63=14']
Exploring Operation: 66/11=6, Resulting Numbers: [14, 6]
Generated Node #0,1,0: 84:[14, 6] Operation: 66/11=6
Moving to Node #0,1,0
Current State: 84:[14, 6], Operations: ['77-63=14', '66/11=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.