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 |
|---|---|---|---|---|---|---|---|---|
[
76,
2,
34,
52
] | 98 | [
"76+52=128",
"128/2=64",
"34+64=98"
] | Current State: 98:[76, 2, 34, 52], Operations: []
Exploring Operation: 76+52=128, Resulting Numbers: [2, 34, 128]
Generated Node #2: [2, 34, 128] from Operation: 76+52=128
Current State: 98:[2, 34, 128], Operations: ['76+52=128']
Exploring Operation: 128/2=64, Resulting Numbers: [34, 64]
Generated Node #3: [34, 64] from Operation: 128/2=64
Current State: 98:[34, 64], Operations: ['76+52=128', '128/2=64']
Exploring Operation: 34+64=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[76, 2, 34, 52], Operations: []
Exploring Operation: 76-34=42, Resulting Numbers: [2, 52, 42]
Generated Node #0,0: 98:[2, 52, 42] Operation: 76-34=42
Moving to Node #0,0
Current State: 98:[2, 52, 42], Operations: ['76-34=42']
Exploring Operation: 52-42=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 98:[2, 10] Operation: 52-42=10
Moving to Node #0,0,0
Current State: 98:[2, 10], Operations: ['76-34=42', '52-42=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,98 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
15,
90,
17,
56
] | 32 | [
"15+90=105",
"17+56=73",
"105-73=32"
] | Current State: 32:[15, 90, 17, 56], Operations: []
Exploring Operation: 15+90=105, Resulting Numbers: [17, 56, 105]
Generated Node #2: [17, 56, 105] from Operation: 15+90=105
Current State: 32:[17, 56, 105], Operations: ['15+90=105']
Exploring Operation: 17+56=73, Resulting Numbers: [105, 73]
Generated Node #3: [105, 73] from Operation: 17+56=73
Current State: 32:[105, 73], Operations: ['15+90=105', '17+56=73']
Exploring Operation: 105-73=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[15, 90, 17, 56], Operations: []
Exploring Operation: 90-15=75, Resulting Numbers: [17, 56, 75]
Generated Node #0,0: 32:[17, 56, 75] Operation: 90-15=75
Exploring Operation: 56-17=39, Resulting Numbers: [15, 90, 39]
Generated Node #0,1: 32:[15, 90, 39] Operation: 56-17=39
Exploring Operation: 90-17=73, Resulting Numbers: [15, 56, 73]
Generated Node #0,2: 32:[15, 56, 73] Operation: 90-17=73
Exploring Operation: 90-56=34, Resulting Numbers: [15, 17, 34]
Generated Node #0,3: 32:[15, 17, 34] Operation: 90-56=34
Exploring Operation: 90/15=6, Resulting Numbers: [17, 56, 6]
Generated Node #0,4: 32:[17, 56, 6] Operation: 90/15=6
Moving to Node #0,3
Current State: 32:[15, 17, 34], Operations: ['90-56=34']
Exploring Operation: 17-15=2, Resulting Numbers: [34, 2]
Generated Node #0,3,0: 32:[34, 2] Operation: 17-15=2
Exploring Operation: 34-15=19, Resulting Numbers: [17, 19]
Generated Node #0,3,1: 32:[17, 19] Operation: 34-15=19
Exploring Operation: 15+17=32, Resulting Numbers: [34, 32]
Generated Node #0,3,2: 32:[34, 32] Operation: 15+17=32
Exploring Operation: 34-17=17, Resulting Numbers: [15, 17]
Generated Node #0,3,3: 32:[15, 17] Operation: 34-17=17
Exploring Operation: 34/17=2, Resulting Numbers: [15, 2]
Generated Node #0,3,4: 32:[15, 2] Operation: 34/17=2
Moving to Node #0,4
Current State: 32:[17, 56, 6], Operations: ['90/15=6']
Exploring Operation: 17-6=11, Resulting Numbers: [56, 11]
Generated Node #0,4,0: 32:[56, 11] Operation: 17-6=11
Exploring Operation: 56+6=62, Resulting Numbers: [17, 62]
Generated Node #0,4,1: 32:[17, 62] Operation: 56+6=62
Exploring Operation: 17+6=23, Resulting Numbers: [56, 23]
Generated Node #0,4,2: 32:[56, 23] Operation: 17+6=23
Exploring Operation: 56-17=39, Resulting Numbers: [6, 39]
Generated Node #0,4,3: 32:[6, 39] Operation: 56-17=39
Exploring Operation: 56-6=50, Resulting Numbers: [17, 50]
Generated Node #0,4,4: 32:[17, 50] Operation: 56-6=50
Moving to Node #0,1
Current State: 32:[15, 90, 39], Operations: ['56-17=39']
Exploring Operation: 15+90=105, Resulting Numbers: [39, 105]
Generated Node #0,1,0: 32:[39, 105] Operation: 15+90=105
Exploring Operation: 39-15=24, Resulting Numbers: [90, 24]
Generated Node #0,1,1: 32:[90, 24] Operation: 39-15=24
Exploring Operation: 90/15=6, Resulting Numbers: [39, 6]
Generated Node #0,1,2: 32:[39, 6] Operation: 90/15=6
Exploring Operation: 90-15=75, Resulting Numbers: [39, 75]
Generated Node #0,1,3: 32:[39, 75] Operation: 90-15=75
Exploring Operation: 90-39=51, Resulting Numbers: [15, 51]
Generated Node #0,1,4: 32:[15, 51] Operation: 90-39=51
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 32:[39, 6], Operations: ['56-17=39', '90/15=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,32 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 32:[15, 51], Operations: ['56-17=39', '90-39=51']
Exploring Operation: 15*51=765, Resulting Numbers: [765]
765,32 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 32:[39, 75], Operations: ['56-17=39', '90-15=75']
Exploring Operation: 39*75=2925, Resulting Numbers: [2925]
2925,32 unequal: No Solution
Exploring Operation: 39+75=114, Resulting Numbers: [114]
114,32 unequal: No Solution
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[90, 24], Operations: ['56-17=39', '39-15=24']
Exploring Operation: 90*24=2160, Resulting Numbers: [2160]
2160,32 unequal: No Solution
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 90+24=114, Resulting Numbers: [114]
114,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[39, 105], Operations: ['56-17=39', '15+90=105']
Exploring Operation: 39*105=4095, Resulting Numbers: [4095]
4095,32 unequal: No Solution
Exploring Operation: 39+105=144, Resulting Numbers: [144]
144,32 unequal: No Solution
Exploring Operation: 105-39=66, Resulting Numbers: [66]
66,32 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: 32:[15, 56, 73], Operations: ['90-17=73']
Exploring Operation: 15+56=71, Resulting Numbers: [73, 71]
Generated Node #0,2,0: 32:[73, 71] Operation: 15+56=71
Exploring Operation: 56-15=41, Resulting Numbers: [73, 41]
Generated Node #0,2,1: 32:[73, 41] Operation: 56-15=41
Exploring Operation: 15+73=88, Resulting Numbers: [56, 88]
Generated Node #0,2,2: 32:[56, 88] Operation: 15+73=88
Exploring Operation: 73-15=58, Resulting Numbers: [56, 58]
Generated Node #0,2,3: 32:[56, 58] Operation: 73-15=58
Exploring Operation: 73-56=17, Resulting Numbers: [15, 17]
Generated Node #0,2,4: 32:[15, 17] Operation: 73-56=17
Moving to Node #0,0
Current State: 32:[17, 56, 75], Operations: ['90-15=75']
Exploring Operation: 56-17=39, Resulting Numbers: [75, 39]
Generated Node #0,0,0: 32:[75, 39] Operation: 56-17=39
Exploring Operation: 17+75=92, Resulting Numbers: [56, 92]
Generated Node #0,0,1: 32:[56, 92] Operation: 17+75=92
Exploring Operation: 17+56=73, Resulting Numbers: [75, 73]
Generated Node #0,0,2: 32:[75, 73] Operation: 17+56=73
Exploring Operation: 75-56=19, Resulting Numbers: [17, 19]
Generated Node #0,0,3: 32:[17, 19] Operation: 75-56=19
Exploring Operation: 75-17=58, Resulting Numbers: [56, 58]
Generated Node #0,0,4: 32:[56, 58] Operation: 75-17=58
Moving to Node #0,3,4
Current State: 32:[15, 2], Operations: ['90-56=34', '34/17=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[34, 32], Operations: ['90-56=34', '15+17=32']
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,32 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[34, 2], Operations: ['90-56=34', '17-15=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,32 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[15, 90, 17, 56], Operations: []
Exploring Operation: 90-56=34, Resulting Numbers: [15, 17, 34]
Generated Node #0,3: 32:[15, 17, 34] Operation: 90-56=34
Moving to Node #0,3
Current State: 32:[15, 17, 34], Operations: ['90-56=34']
Exploring Operation: 17-15=2, Resulting Numbers: [34, 2]
Generated Node #0,3,0: 32:[34, 2] Operation: 17-15=2
Moving to Node #0,3,0
Current State: 32:[34, 2], Operations: ['90-56=34', '17-15=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.948785 | hs_5 | mult_heuristic |
[
38,
20,
4,
49
] | 55 | [
"49-38=11",
"20/4=5",
"11*5=55"
] | Current State: 55:[38, 20, 4, 49], Operations: []
Exploring Operation: 49-38=11, Resulting Numbers: [20, 4, 11]
Generated Node #2: [20, 4, 11] from Operation: 49-38=11
Current State: 55:[20, 4, 11], Operations: ['49-38=11']
Exploring Operation: 20/4=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 20/4=5
Current State: 55:[11, 5], Operations: ['49-38=11', '20/4=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[38, 20, 4, 49], Operations: []
Exploring Operation: 38+4=42, Resulting Numbers: [20, 49, 42]
Generated Node #0,0: 55:[20, 49, 42] Operation: 38+4=42
Exploring Operation: 20/4=5, Resulting Numbers: [38, 49, 5]
Generated Node #0,1: 55:[38, 49, 5] Operation: 20/4=5
Exploring Operation: 49-38=11, Resulting Numbers: [20, 4, 11]
Generated Node #0,2: 55:[20, 4, 11] Operation: 49-38=11
Exploring Operation: 38-20=18, Resulting Numbers: [4, 49, 18]
Generated Node #0,3: 55:[4, 49, 18] Operation: 38-20=18
Exploring Operation: 38+20=58, Resulting Numbers: [4, 49, 58]
Generated Node #0,4: 55:[4, 49, 58] Operation: 38+20=58
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[20, 4, 11], Operations: ['49-38=11']
Exploring Operation: 20/4=5, Resulting Numbers: [11, 5]
Generated Node #0,2,0: 55:[11, 5] Operation: 20/4=5
Exploring Operation: 20-11=9, Resulting Numbers: [4, 9]
Generated Node #0,2,1: 55:[4, 9] Operation: 20-11=9
Exploring Operation: 20+4=24, Resulting Numbers: [11, 24]
Generated Node #0,2,2: 55:[11, 24] Operation: 20+4=24
Exploring Operation: 20-4=16, Resulting Numbers: [11, 16]
Generated Node #0,2,3: 55:[11, 16] Operation: 20-4=16
Exploring Operation: 11-4=7, Resulting Numbers: [20, 7]
Generated Node #0,2,4: 55:[20, 7] Operation: 11-4=7
Moving to Node #0,2,0
Current State: 55:[11, 5], Operations: ['49-38=11', '20/4=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[38, 20, 4, 49], Operations: []
Exploring Operation: 49-38=11, Resulting Numbers: [20, 4, 11]
Generated Node #0,2: 55:[20, 4, 11] Operation: 49-38=11
Moving to Node #0,2
Current State: 55:[20, 4, 11], Operations: ['49-38=11']
Exploring Operation: 20/4=5, Resulting Numbers: [11, 5]
Generated Node #0,2,0: 55:[11, 5] Operation: 20/4=5
Moving to Node #0,2,0
Current State: 55:[11, 5], Operations: ['49-38=11', '20/4=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
6,
76,
16,
73
] | 66 | [
"6+16=22",
"76-73=3",
"22*3=66"
] | Current State: 66:[6, 76, 16, 73], Operations: []
Exploring Operation: 6+16=22, Resulting Numbers: [76, 73, 22]
Generated Node #2: [76, 73, 22] from Operation: 6+16=22
Current State: 66:[76, 73, 22], Operations: ['6+16=22']
Exploring Operation: 76-73=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 76-73=3
Current State: 66:[22, 3], Operations: ['6+16=22', '76-73=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[6, 76, 16, 73], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [6, 16, 3]
Generated Node #0,0: 66:[6, 16, 3] Operation: 76-73=3
Exploring Operation: 76-16=60, Resulting Numbers: [6, 73, 60]
Generated Node #0,1: 66:[6, 73, 60] Operation: 76-16=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[6, 16, 3], Operations: ['76-73=3']
Exploring Operation: 6+16=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 66:[3, 22] Operation: 6+16=22
Exploring Operation: 16-6=10, Resulting Numbers: [3, 10]
Generated Node #0,0,1: 66:[3, 10] Operation: 16-6=10
Moving to Node #0,0,0
Current State: 66:[3, 22], Operations: ['76-73=3', '6+16=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[6, 76, 16, 73], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [6, 16, 3]
Generated Node #0,0: 66:[6, 16, 3] Operation: 76-73=3
Moving to Node #0,0
Current State: 66:[6, 16, 3], Operations: ['76-73=3']
Exploring Operation: 6+16=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 66:[3, 22] Operation: 6+16=22
Moving to Node #0,0,0
Current State: 66:[3, 22], Operations: ['76-73=3', '6+16=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
90,
99,
99,
25
] | 65 | [
"90+99=189",
"99+25=124",
"189-124=65"
] | Current State: 65:[90, 99, 99, 25], Operations: []
Exploring Operation: 90+99=189, Resulting Numbers: [25, 189]
Generated Node #2: [25, 189] from Operation: 90+99=189
Current State: 65:[25, 189], Operations: ['90+99=189']
Exploring Operation: 99+25=124, Resulting Numbers: [189, 124]
Generated Node #3: [189, 124] from Operation: 99+25=124
Current State: 65:[189, 124], Operations: ['90+99=189', '99+25=124']
Exploring Operation: 189-124=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[90, 99, 99, 25], Operations: []
Exploring Operation: 99-90=9, Resulting Numbers: [99, 25, 9]
Generated Node #0,0: 65:[99, 25, 9] Operation: 99-90=9
Exploring Operation: 99-90=9, Resulting Numbers: [99, 25, 9]
Generated Node #0,1: 65:[99, 25, 9] Operation: 99-90=9
Exploring Operation: 99-99=0, Resulting Numbers: [90, 25, 0]
Generated Node #0,2: 65:[90, 25, 0] Operation: 99-99=0
Exploring Operation: 99/99=1, Resulting Numbers: [90, 25, 1]
Generated Node #0,3: 65:[90, 25, 1] Operation: 99/99=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[90, 25, 1], Operations: ['99/99=1']
Exploring Operation: 90*1=90, Resulting Numbers: [25, 90]
Generated Node #0,3,0: 65:[25, 90] Operation: 90*1=90
Exploring Operation: 25-1=24, Resulting Numbers: [90, 24]
Generated Node #0,3,1: 65:[90, 24] Operation: 25-1=24
Exploring Operation: 90-25=65, Resulting Numbers: [1, 65]
Generated Node #0,3,2: 65:[1, 65] Operation: 90-25=65
Exploring Operation: 90-1=89, Resulting Numbers: [25, 89]
Generated Node #0,3,3: 65:[25, 89] Operation: 90-1=89
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 65:[1, 65], Operations: ['99/99=1', '90-25=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[90, 99, 99, 25], Operations: []
Exploring Operation: 99/99=1, Resulting Numbers: [90, 25, 1]
Generated Node #0,3: 65:[90, 25, 1] Operation: 99/99=1
Moving to Node #0,3
Current State: 65:[90, 25, 1], Operations: ['99/99=1']
Exploring Operation: 90-25=65, Resulting Numbers: [1, 65]
Generated Node #0,3,2: 65:[1, 65] Operation: 90-25=65
Moving to Node #0,3,2
Current State: 65:[1, 65], Operations: ['99/99=1', '90-25=65']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
26,
44,
49,
3
] | 73 | [
"26*3=78",
"49-44=5",
"78-5=73"
] | Current State: 73:[26, 44, 49, 3], Operations: []
Exploring Operation: 26*3=78, Resulting Numbers: [44, 49, 78]
Generated Node #2: [44, 49, 78] from Operation: 26*3=78
Current State: 73:[44, 49, 78], Operations: ['26*3=78']
Exploring Operation: 49-44=5, Resulting Numbers: [78, 5]
Generated Node #3: [78, 5] from Operation: 49-44=5
Current State: 73:[78, 5], Operations: ['26*3=78', '49-44=5']
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[26, 44, 49, 3], Operations: []
Exploring Operation: 26*3=78, Resulting Numbers: [44, 49, 78]
Generated Node #0,0: 73:[44, 49, 78] Operation: 26*3=78
Exploring Operation: 26+3=29, Resulting Numbers: [44, 49, 29]
Generated Node #0,1: 73:[44, 49, 29] Operation: 26+3=29
Exploring Operation: 26+44=70, Resulting Numbers: [49, 3, 70]
Generated Node #0,2: 73:[49, 3, 70] Operation: 26+44=70
Moving to Node #0,0
Current State: 73:[44, 49, 78], Operations: ['26*3=78']
Exploring Operation: 44+49=93, Resulting Numbers: [78, 93]
Generated Node #0,0,0: 73:[78, 93] Operation: 44+49=93
Exploring Operation: 78-44=34, Resulting Numbers: [49, 34]
Generated Node #0,0,1: 73:[49, 34] Operation: 78-44=34
Exploring Operation: 49-44=5, Resulting Numbers: [78, 5]
Generated Node #0,0,2: 73:[78, 5] Operation: 49-44=5
Moving to Node #0,1
Current State: 73:[44, 49, 29], Operations: ['26+3=29']
Exploring Operation: 49+29=78, Resulting Numbers: [44, 78]
Generated Node #0,1,0: 73:[44, 78] Operation: 49+29=78
Exploring Operation: 44+49=93, Resulting Numbers: [29, 93]
Generated Node #0,1,1: 73:[29, 93] Operation: 44+49=93
Exploring Operation: 44+29=73, Resulting Numbers: [49, 73]
Generated Node #0,1,2: 73:[49, 73] Operation: 44+29=73
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[49, 73], Operations: ['26+3=29', '44+29=73']
Exploring Operation: 49+73=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 49*73=3577, Resulting Numbers: [3577]
3577,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[44, 78], Operations: ['26+3=29', '49+29=78']
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 44*78=3432, Resulting Numbers: [3432]
3432,73 unequal: No Solution
Exploring Operation: 44+78=122, Resulting Numbers: [122]
122,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[29, 93], Operations: ['26+3=29', '44+49=93']
Exploring Operation: 93-29=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Exploring Operation: 29+93=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 29*93=2697, Resulting Numbers: [2697]
2697,73 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: 73:[49, 3, 70], Operations: ['26+44=70']
Exploring Operation: 49+3=52, Resulting Numbers: [70, 52]
Generated Node #0,2,0: 73:[70, 52] Operation: 49+3=52
Exploring Operation: 49-3=46, Resulting Numbers: [70, 46]
Generated Node #0,2,1: 73:[70, 46] Operation: 49-3=46
Exploring Operation: 3+70=73, Resulting Numbers: [49, 73]
Generated Node #0,2,2: 73:[49, 73] Operation: 3+70=73
Moving to Node #0,2,0
Current State: 73:[70, 52], Operations: ['26+44=70', '49+3=52']
Exploring Operation: 70+52=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 70*52=3640, Resulting Numbers: [3640]
3640,73 unequal: No Solution
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[49, 73], Operations: ['26+44=70', '3+70=73']
Exploring Operation: 49+73=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 49*73=3577, Resulting Numbers: [3577]
3577,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[78, 93], Operations: ['26*3=78', '44+49=93']
Exploring Operation: 93-78=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 78*93=7254, Resulting Numbers: [7254]
7254,73 unequal: No Solution
Exploring Operation: 78+93=171, Resulting Numbers: [171]
171,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[70, 46], Operations: ['26+44=70', '49-3=46']
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 70*46=3220, Resulting Numbers: [3220]
3220,73 unequal: No Solution
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[49, 34], Operations: ['26*3=78', '78-44=34']
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,73 unequal: No Solution
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[78, 5], Operations: ['26*3=78', '49-44=5']
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[26, 44, 49, 3], Operations: []
Exploring Operation: 26*3=78, Resulting Numbers: [44, 49, 78]
Generated Node #0,0: 73:[44, 49, 78] Operation: 26*3=78
Moving to Node #0,0
Current State: 73:[44, 49, 78], Operations: ['26*3=78']
Exploring Operation: 49-44=5, Resulting Numbers: [78, 5]
Generated Node #0,0,2: 73:[78, 5] Operation: 49-44=5
Moving to Node #0,0,2
Current State: 73:[78, 5], Operations: ['26*3=78', '49-44=5']
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 0.96441 | hs_3 | mult_heuristic |
[
42,
9,
82,
6
] | 84 | [
"42/6=7",
"9+82=91",
"91-7=84"
] | Current State: 84:[42, 9, 82, 6], Operations: []
Exploring Operation: 42/6=7, Resulting Numbers: [9, 82, 7]
Generated Node #2: [9, 82, 7] from Operation: 42/6=7
Current State: 84:[9, 82, 7], Operations: ['42/6=7']
Exploring Operation: 9+82=91, Resulting Numbers: [7, 91]
Generated Node #3: [7, 91] from Operation: 9+82=91
Current State: 84:[7, 91], Operations: ['42/6=7', '9+82=91']
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[42, 9, 82, 6], Operations: []
Exploring Operation: 9-6=3, Resulting Numbers: [42, 82, 3]
Generated Node #0,0: 84:[42, 82, 3] Operation: 9-6=3
Exploring Operation: 42/6=7, Resulting Numbers: [9, 82, 7]
Generated Node #0,1: 84:[9, 82, 7] Operation: 42/6=7
Exploring Operation: 9+6=15, Resulting Numbers: [42, 82, 15]
Generated Node #0,2: 84:[42, 82, 15] Operation: 9+6=15
Exploring Operation: 82-42=40, Resulting Numbers: [9, 6, 40]
Generated Node #0,3: 84:[9, 6, 40] Operation: 82-42=40
Exploring Operation: 82+6=88, Resulting Numbers: [42, 9, 88]
Generated Node #0,4: 84:[42, 9, 88] Operation: 82+6=88
Moving to Node #0,0
Current State: 84:[42, 82, 3], Operations: ['9-6=3']
Exploring Operation: 42/3=14, Resulting Numbers: [82, 14]
Generated Node #0,0,0: 84:[82, 14] Operation: 42/3=14
Exploring Operation: 82-42=40, Resulting Numbers: [3, 40]
Generated Node #0,0,1: 84:[3, 40] Operation: 82-42=40
Exploring Operation: 42+3=45, Resulting Numbers: [82, 45]
Generated Node #0,0,2: 84:[82, 45] Operation: 42+3=45
Exploring Operation: 82+3=85, Resulting Numbers: [42, 85]
Generated Node #0,0,3: 84:[42, 85] Operation: 82+3=85
Exploring Operation: 42-3=39, Resulting Numbers: [82, 39]
Generated Node #0,0,4: 84:[82, 39] Operation: 42-3=39
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 84:[42, 85], Operations: ['9-6=3', '82+3=85']
Exploring Operation: 42*85=3570, Resulting Numbers: [3570]
3570,84 unequal: No Solution
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,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,0,0
Current State: 84:[82, 14], Operations: ['9-6=3', '42/3=14']
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Exploring Operation: 82+14=96, Resulting Numbers: [96]
96,84 unequal: No Solution
Exploring Operation: 82*14=1148, Resulting Numbers: [1148]
1148,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,0,1
Current State: 84:[3, 40], Operations: ['9-6=3', '82-42=40']
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,84 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,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,0,2
Current State: 84:[82, 45], Operations: ['9-6=3', '42+3=45']
Exploring Operation: 82+45=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Exploring Operation: 82*45=3690, Resulting Numbers: [3690]
3690,84 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,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,0,4
Current State: 84:[82, 39], Operations: ['9-6=3', '42-3=39']
Exploring Operation: 82*39=3198, Resulting Numbers: [3198]
3198,84 unequal: No Solution
Exploring Operation: 82+39=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,84 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: 84:[42, 82, 15], Operations: ['9+6=15']
Exploring Operation: 82-42=40, Resulting Numbers: [15, 40]
Generated Node #0,2,0: 84:[15, 40] Operation: 82-42=40
Exploring Operation: 42+15=57, Resulting Numbers: [82, 57]
Generated Node #0,2,1: 84:[82, 57] Operation: 42+15=57
Exploring Operation: 82-15=67, Resulting Numbers: [42, 67]
Generated Node #0,2,2: 84:[42, 67] Operation: 82-15=67
Exploring Operation: 82+15=97, Resulting Numbers: [42, 97]
Generated Node #0,2,3: 84:[42, 97] Operation: 82+15=97
Exploring Operation: 42-15=27, Resulting Numbers: [82, 27]
Generated Node #0,2,4: 84:[82, 27] Operation: 42-15=27
Moving to Node #0,1
Current State: 84:[9, 82, 7], Operations: ['42/6=7']
Exploring Operation: 9-7=2, Resulting Numbers: [82, 2]
Generated Node #0,1,0: 84:[82, 2] Operation: 9-7=2
Exploring Operation: 9+82=91, Resulting Numbers: [7, 91]
Generated Node #0,1,1: 84:[7, 91] Operation: 9+82=91
Exploring Operation: 82+7=89, Resulting Numbers: [9, 89]
Generated Node #0,1,2: 84:[9, 89] Operation: 82+7=89
Exploring Operation: 9+7=16, Resulting Numbers: [82, 16]
Generated Node #0,1,3: 84:[82, 16] Operation: 9+7=16
Exploring Operation: 82-9=73, Resulting Numbers: [7, 73]
Generated Node #0,1,4: 84:[7, 73] Operation: 82-9=73
Moving to Node #0,3
Current State: 84:[9, 6, 40], Operations: ['82-42=40']
Exploring Operation: 9-6=3, Resulting Numbers: [40, 3]
Generated Node #0,3,0: 84:[40, 3] Operation: 9-6=3
Exploring Operation: 9+6=15, Resulting Numbers: [40, 15]
Generated Node #0,3,1: 84:[40, 15] Operation: 9+6=15
Exploring Operation: 40-9=31, Resulting Numbers: [6, 31]
Generated Node #0,3,2: 84:[6, 31] Operation: 40-9=31
Exploring Operation: 6+40=46, Resulting Numbers: [9, 46]
Generated Node #0,3,3: 84:[9, 46] Operation: 6+40=46
Exploring Operation: 9+40=49, Resulting Numbers: [6, 49]
Generated Node #0,3,4: 84:[6, 49] Operation: 9+40=49
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 84:[40, 3], Operations: ['82-42=40', '9-6=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,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,3,1
Current State: 84:[40, 15], Operations: ['82-42=40', '9+6=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,84 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,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,3,2
Current State: 84:[6, 31], Operations: ['82-42=40', '40-9=31']
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,84 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,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,3,3
Current State: 84:[9, 46], Operations: ['82-42=40', '6+40=46']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,84 unequal: No Solution
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,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,3,4
Current State: 84:[6, 49], Operations: ['82-42=40', '9+40=49']
Exploring Operation: 6*49=294, Resulting Numbers: [294]
294,84 unequal: No Solution
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,84 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,84 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: 84:[42, 9, 88], Operations: ['82+6=88']
Exploring Operation: 88-9=79, Resulting Numbers: [42, 79]
Generated Node #0,4,0: 84:[42, 79] Operation: 88-9=79
Exploring Operation: 42-9=33, Resulting Numbers: [88, 33]
Generated Node #0,4,1: 84:[88, 33] Operation: 42-9=33
Exploring Operation: 42+9=51, Resulting Numbers: [88, 51]
Generated Node #0,4,2: 84:[88, 51] Operation: 42+9=51
Exploring Operation: 9+88=97, Resulting Numbers: [42, 97]
Generated Node #0,4,3: 84:[42, 97] Operation: 9+88=97
Exploring Operation: 88-42=46, Resulting Numbers: [9, 46]
Generated Node #0,4,4: 84:[9, 46] Operation: 88-42=46
Moving to Node #0,1,0
Current State: 84:[82, 2], Operations: ['42/6=7', '9-7=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,84 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,84 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[42, 9, 82, 6], Operations: []
Exploring Operation: 42/6=7, Resulting Numbers: [9, 82, 7]
Generated Node #0,1: 84:[9, 82, 7] Operation: 42/6=7
Moving to Node #0,1
Current State: 84:[9, 82, 7], Operations: ['42/6=7']
Exploring Operation: 9-7=2, Resulting Numbers: [82, 2]
Generated Node #0,1,0: 84:[82, 2] Operation: 9-7=2
Moving to Node #0,1,0
Current State: 84:[82, 2], Operations: ['42/6=7', '9-7=2']
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.940972 | hs_5 | mult_heuristic |
[
37,
87,
25,
42
] | 67 | [
"87-37=50",
"42-25=17",
"50+17=67"
] | Current State: 67:[37, 87, 25, 42], Operations: []
Exploring Operation: 87-37=50, Resulting Numbers: [25, 42, 50]
Generated Node #2: [25, 42, 50] from Operation: 87-37=50
Current State: 67:[25, 42, 50], Operations: ['87-37=50']
Exploring Operation: 42-25=17, Resulting Numbers: [50, 17]
Generated Node #3: [50, 17] from Operation: 42-25=17
Current State: 67:[50, 17], Operations: ['87-37=50', '42-25=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[37, 87, 25, 42], Operations: []
Exploring Operation: 37+25=62, Resulting Numbers: [87, 42, 62]
Generated Node #0,0: 67:[87, 42, 62] Operation: 37+25=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[87, 42, 62], Operations: ['37+25=62']
Exploring Operation: 87-42=45, Resulting Numbers: [62, 45]
Generated Node #0,0,0: 67:[62, 45] Operation: 87-42=45
Moving to Node #0,0,0
Current State: 67:[62, 45], Operations: ['37+25=62', '87-42=45']
Exploring Operation: 62+45=107, Resulting Numbers: [107]
107,67 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 |
[
34,
78,
21,
28
] | 93 | [
"78-34=44",
"21+28=49",
"44+49=93"
] | Current State: 93:[34, 78, 21, 28], Operations: []
Exploring Operation: 78-34=44, Resulting Numbers: [21, 28, 44]
Generated Node #2: [21, 28, 44] from Operation: 78-34=44
Current State: 93:[21, 28, 44], Operations: ['78-34=44']
Exploring Operation: 21+28=49, Resulting Numbers: [44, 49]
Generated Node #3: [44, 49] from Operation: 21+28=49
Current State: 93:[44, 49], Operations: ['78-34=44', '21+28=49']
Exploring Operation: 44+49=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[34, 78, 21, 28], Operations: []
Exploring Operation: 78+21=99, Resulting Numbers: [34, 28, 99]
Generated Node #0,0: 93:[34, 28, 99] Operation: 78+21=99
Exploring Operation: 28-21=7, Resulting Numbers: [34, 78, 7]
Generated Node #0,1: 93:[34, 78, 7] Operation: 28-21=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[34, 28, 99], Operations: ['78+21=99']
Exploring Operation: 34-28=6, Resulting Numbers: [99, 6]
Generated Node #0,0,0: 93:[99, 6] Operation: 34-28=6
Exploring Operation: 99-28=71, Resulting Numbers: [34, 71]
Generated Node #0,0,1: 93:[34, 71] Operation: 99-28=71
Moving to Node #0,0,0
Current State: 93:[99, 6], Operations: ['78+21=99', '34-28=6']
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[34, 78, 21, 28], Operations: []
Exploring Operation: 78+21=99, Resulting Numbers: [34, 28, 99]
Generated Node #0,0: 93:[34, 28, 99] Operation: 78+21=99
Moving to Node #0,0
Current State: 93:[34, 28, 99], Operations: ['78+21=99']
Exploring Operation: 34-28=6, Resulting Numbers: [99, 6]
Generated Node #0,0,0: 93:[99, 6] Operation: 34-28=6
Moving to Node #0,0,0
Current State: 93:[99, 6], Operations: ['78+21=99', '34-28=6']
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
56,
6,
44,
4
] | 36 | [
"56-44=12",
"6*4=24",
"12+24=36"
] | Current State: 36:[56, 6, 44, 4], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [6, 4, 12]
Generated Node #2: [6, 4, 12] from Operation: 56-44=12
Current State: 36:[6, 4, 12], Operations: ['56-44=12']
Exploring Operation: 6*4=24, Resulting Numbers: [12, 24]
Generated Node #3: [12, 24] from Operation: 6*4=24
Current State: 36:[12, 24], Operations: ['56-44=12', '6*4=24']
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[56, 6, 44, 4], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [6, 4, 12]
Generated Node #0,0: 36:[6, 4, 12] Operation: 56-44=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[6, 4, 12], Operations: ['56-44=12']
Exploring Operation: 6-4=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 36:[12, 2] Operation: 6-4=2
Moving to Node #0,0,0
Current State: 36:[12, 2], Operations: ['56-44=12', '6-4=2']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,36 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 |
[
69,
19,
13,
33
] | 73 | [
"19+33=52",
"52/13=4",
"69+4=73"
] | Current State: 73:[69, 19, 13, 33], Operations: []
Exploring Operation: 19+33=52, Resulting Numbers: [69, 13, 52]
Generated Node #2: [69, 13, 52] from Operation: 19+33=52
Current State: 73:[69, 13, 52], Operations: ['19+33=52']
Exploring Operation: 52/13=4, Resulting Numbers: [69, 4]
Generated Node #3: [69, 4] from Operation: 52/13=4
Current State: 73:[69, 4], Operations: ['19+33=52', '52/13=4']
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[69, 19, 13, 33], Operations: []
Exploring Operation: 69+13=82, Resulting Numbers: [19, 33, 82]
Generated Node #0,0: 73:[19, 33, 82] Operation: 69+13=82
Exploring Operation: 13+33=46, Resulting Numbers: [69, 19, 46]
Generated Node #0,1: 73:[69, 19, 46] Operation: 13+33=46
Exploring Operation: 69-13=56, Resulting Numbers: [19, 33, 56]
Generated Node #0,2: 73:[19, 33, 56] Operation: 69-13=56
Exploring Operation: 19+13=32, Resulting Numbers: [69, 33, 32]
Generated Node #0,3: 73:[69, 33, 32] Operation: 19+13=32
Exploring Operation: 19+33=52, Resulting Numbers: [69, 13, 52]
Generated Node #0,4: 73:[69, 13, 52] Operation: 19+33=52
Moving to Node #0,1
Current State: 73:[69, 19, 46], Operations: ['13+33=46']
Exploring Operation: 69+46=115, Resulting Numbers: [19, 115]
Generated Node #0,1,0: 73:[19, 115] Operation: 69+46=115
Exploring Operation: 69-19=50, Resulting Numbers: [46, 50]
Generated Node #0,1,1: 73:[46, 50] Operation: 69-19=50
Exploring Operation: 69+19=88, Resulting Numbers: [46, 88]
Generated Node #0,1,2: 73:[46, 88] Operation: 69+19=88
Exploring Operation: 19+46=65, Resulting Numbers: [69, 65]
Generated Node #0,1,3: 73:[69, 65] Operation: 19+46=65
Exploring Operation: 46-19=27, Resulting Numbers: [69, 27]
Generated Node #0,1,4: 73:[69, 27] Operation: 46-19=27
Moving to Node #0,4
Current State: 73:[69, 13, 52], Operations: ['19+33=52']
Exploring Operation: 69-13=56, Resulting Numbers: [52, 56]
Generated Node #0,4,0: 73:[52, 56] Operation: 69-13=56
Exploring Operation: 52-13=39, Resulting Numbers: [69, 39]
Generated Node #0,4,1: 73:[69, 39] Operation: 52-13=39
Exploring Operation: 69+13=82, Resulting Numbers: [52, 82]
Generated Node #0,4,2: 73:[52, 82] Operation: 69+13=82
Exploring Operation: 13+52=65, Resulting Numbers: [69, 65]
Generated Node #0,4,3: 73:[69, 65] Operation: 13+52=65
Exploring Operation: 52/13=4, Resulting Numbers: [69, 4]
Generated Node #0,4,4: 73:[69, 4] Operation: 52/13=4
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 73:[69, 65], Operations: ['19+33=52', '13+52=65']
Exploring Operation: 69*65=4485, Resulting Numbers: [4485]
4485,73 unequal: No Solution
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 69+65=134, Resulting Numbers: [134]
134,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 73:[52, 82], Operations: ['19+33=52', '69+13=82']
Exploring Operation: 52+82=134, Resulting Numbers: [134]
134,73 unequal: No Solution
Exploring Operation: 52*82=4264, Resulting Numbers: [4264]
4264,73 unequal: No Solution
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 73:[52, 56], Operations: ['19+33=52', '69-13=56']
Exploring Operation: 52+56=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 52*56=2912, Resulting Numbers: [2912]
2912,73 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 73:[69, 39], Operations: ['19+33=52', '52-13=39']
Exploring Operation: 69*39=2691, Resulting Numbers: [2691]
2691,73 unequal: No Solution
Exploring Operation: 69+39=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 73:[69, 4], Operations: ['19+33=52', '52/13=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,73 unequal: No Solution
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[69, 19, 13, 33], Operations: []
Exploring Operation: 19+33=52, Resulting Numbers: [69, 13, 52]
Generated Node #0,4: 73:[69, 13, 52] Operation: 19+33=52
Moving to Node #0,4
Current State: 73:[69, 13, 52], Operations: ['19+33=52']
Exploring Operation: 52/13=4, Resulting Numbers: [69, 4]
Generated Node #0,4,4: 73:[69, 4] Operation: 52/13=4
Moving to Node #0,4,4
Current State: 73:[69, 4], Operations: ['19+33=52', '52/13=4']
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_5 | sum_heuristic |
[
73,
90,
3,
9
] | 94 | [
"73-9=64",
"90/3=30",
"64+30=94"
] | Current State: 94:[73, 90, 3, 9], Operations: []
Exploring Operation: 73-9=64, Resulting Numbers: [90, 3, 64]
Generated Node #2: [90, 3, 64] from Operation: 73-9=64
Current State: 94:[90, 3, 64], Operations: ['73-9=64']
Exploring Operation: 90/3=30, Resulting Numbers: [64, 30]
Generated Node #3: [64, 30] from Operation: 90/3=30
Current State: 94:[64, 30], Operations: ['73-9=64', '90/3=30']
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[73, 90, 3, 9], Operations: []
Exploring Operation: 73+9=82, Resulting Numbers: [90, 3, 82]
Generated Node #0,0: 94:[90, 3, 82] Operation: 73+9=82
Exploring Operation: 9/3=3, Resulting Numbers: [73, 90, 3]
Generated Node #0,1: 94:[73, 90, 3] Operation: 9/3=3
Exploring Operation: 90-73=17, Resulting Numbers: [3, 9, 17]
Generated Node #0,2: 94:[3, 9, 17] Operation: 90-73=17
Exploring Operation: 73-9=64, Resulting Numbers: [90, 3, 64]
Generated Node #0,3: 94:[90, 3, 64] Operation: 73-9=64
Exploring Operation: 90+9=99, Resulting Numbers: [73, 3, 99]
Generated Node #0,4: 94:[73, 3, 99] Operation: 90+9=99
Moving to Node #0,0
Current State: 94:[90, 3, 82], Operations: ['73+9=82']
Exploring Operation: 82-3=79, Resulting Numbers: [90, 79]
Generated Node #0,0,0: 94:[90, 79] Operation: 82-3=79
Exploring Operation: 90-3=87, Resulting Numbers: [82, 87]
Generated Node #0,0,1: 94:[82, 87] Operation: 90-3=87
Exploring Operation: 3+82=85, Resulting Numbers: [90, 85]
Generated Node #0,0,2: 94:[90, 85] Operation: 3+82=85
Exploring Operation: 90+3=93, Resulting Numbers: [82, 93]
Generated Node #0,0,3: 94:[82, 93] Operation: 90+3=93
Exploring Operation: 90-82=8, Resulting Numbers: [3, 8]
Generated Node #0,0,4: 94:[3, 8] Operation: 90-82=8
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 94:[3, 8], Operations: ['73+9=82', '90-82=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[90, 85], Operations: ['73+9=82', '3+82=85']
Exploring Operation: 90*85=7650, Resulting Numbers: [7650]
7650,94 unequal: No Solution
Exploring Operation: 90-85=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 90+85=175, Resulting Numbers: [175]
175,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[82, 93], Operations: ['73+9=82', '90+3=93']
Exploring Operation: 82*93=7626, Resulting Numbers: [7626]
7626,94 unequal: No Solution
Exploring Operation: 82+93=175, Resulting Numbers: [175]
175,94 unequal: No Solution
Exploring Operation: 93-82=11, Resulting Numbers: [11]
11,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[90, 79], Operations: ['73+9=82', '82-3=79']
Exploring Operation: 90-79=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 90+79=169, Resulting Numbers: [169]
169,94 unequal: No Solution
Exploring Operation: 90*79=7110, Resulting Numbers: [7110]
7110,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[82, 87], Operations: ['73+9=82', '90-3=87']
Exploring Operation: 82+87=169, Resulting Numbers: [169]
169,94 unequal: No Solution
Exploring Operation: 87-82=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 82*87=7134, Resulting Numbers: [7134]
7134,94 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: 94:[90, 3, 64], Operations: ['73-9=64']
Exploring Operation: 90-64=26, Resulting Numbers: [3, 26]
Generated Node #0,3,0: 94:[3, 26] Operation: 90-64=26
Exploring Operation: 90-3=87, Resulting Numbers: [64, 87]
Generated Node #0,3,1: 94:[64, 87] Operation: 90-3=87
Exploring Operation: 3+64=67, Resulting Numbers: [90, 67]
Generated Node #0,3,2: 94:[90, 67] Operation: 3+64=67
Exploring Operation: 90+3=93, Resulting Numbers: [64, 93]
Generated Node #0,3,3: 94:[64, 93] Operation: 90+3=93
Exploring Operation: 64-3=61, Resulting Numbers: [90, 61]
Generated Node #0,3,4: 94:[90, 61] Operation: 64-3=61
Moving to Node #0,2
Current State: 94:[3, 9, 17], Operations: ['90-73=17']
Exploring Operation: 9-3=6, Resulting Numbers: [17, 6]
Generated Node #0,2,0: 94:[17, 6] Operation: 9-3=6
Exploring Operation: 17-3=14, Resulting Numbers: [9, 14]
Generated Node #0,2,1: 94:[9, 14] Operation: 17-3=14
Exploring Operation: 9/3=3, Resulting Numbers: [17, 3]
Generated Node #0,2,2: 94:[17, 3] Operation: 9/3=3
Exploring Operation: 3*17=51, Resulting Numbers: [9, 51]
Generated Node #0,2,3: 94:[9, 51] Operation: 3*17=51
Exploring Operation: 17-9=8, Resulting Numbers: [3, 8]
Generated Node #0,2,4: 94:[3, 8] Operation: 17-9=8
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 94:[3, 8], Operations: ['90-73=17', '17-9=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,94 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[9, 51], Operations: ['90-73=17', '3*17=51']
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,94 unequal: No Solution
Exploring Operation: 9*51=459, Resulting Numbers: [459]
459,94 unequal: No Solution
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[17, 3], Operations: ['90-73=17', '9/3=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[17, 6], Operations: ['90-73=17', '9-3=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[9, 14], Operations: ['90-73=17', '17-3=14']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,94 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,94 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: 94:[73, 90, 3], Operations: ['9/3=3']
Exploring Operation: 73-3=70, Resulting Numbers: [90, 70]
Generated Node #0,1,0: 94:[90, 70] Operation: 73-3=70
Exploring Operation: 90-3=87, Resulting Numbers: [73, 87]
Generated Node #0,1,1: 94:[73, 87] Operation: 90-3=87
Exploring Operation: 90-73=17, Resulting Numbers: [3, 17]
Generated Node #0,1,2: 94:[3, 17] Operation: 90-73=17
Exploring Operation: 73+3=76, Resulting Numbers: [90, 76]
Generated Node #0,1,3: 94:[90, 76] Operation: 73+3=76
Exploring Operation: 90+3=93, Resulting Numbers: [73, 93]
Generated Node #0,1,4: 94:[73, 93] Operation: 90+3=93
Moving to Node #0,4
Current State: 94:[73, 3, 99], Operations: ['90+9=99']
Exploring Operation: 99-73=26, Resulting Numbers: [3, 26]
Generated Node #0,4,0: 94:[3, 26] Operation: 99-73=26
Exploring Operation: 73-3=70, Resulting Numbers: [99, 70]
Generated Node #0,4,1: 94:[99, 70] Operation: 73-3=70
Exploring Operation: 3+99=102, Resulting Numbers: [73, 102]
Generated Node #0,4,2: 94:[73, 102] Operation: 3+99=102
Exploring Operation: 73+3=76, Resulting Numbers: [99, 76]
Generated Node #0,4,3: 94:[99, 76] Operation: 73+3=76
Exploring Operation: 99-3=96, Resulting Numbers: [73, 96]
Generated Node #0,4,4: 94:[73, 96] Operation: 99-3=96
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 94:[3, 26], Operations: ['90+9=99', '99-73=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 94:[99, 76], Operations: ['90+9=99', '73+3=76']
Exploring Operation: 99+76=175, Resulting Numbers: [175]
175,94 unequal: No Solution
Exploring Operation: 99*76=7524, Resulting Numbers: [7524]
7524,94 unequal: No Solution
Exploring Operation: 99-76=23, Resulting Numbers: [23]
23,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 94:[73, 96], Operations: ['90+9=99', '99-3=96']
Exploring Operation: 96-73=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 73*96=7008, Resulting Numbers: [7008]
7008,94 unequal: No Solution
Exploring Operation: 73+96=169, Resulting Numbers: [169]
169,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 94:[99, 70], Operations: ['90+9=99', '73-3=70']
Exploring Operation: 99*70=6930, Resulting Numbers: [6930]
6930,94 unequal: No Solution
Exploring Operation: 99-70=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 99+70=169, Resulting Numbers: [169]
169,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 94:[73, 102], Operations: ['90+9=99', '3+99=102']
Exploring Operation: 102-73=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 73*102=7446, Resulting Numbers: [7446]
7446,94 unequal: No Solution
Exploring Operation: 73+102=175, Resulting Numbers: [175]
175,94 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: 94:[3, 17], Operations: ['9/3=3', '90-73=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[64, 93], Operations: ['73-9=64', '90+3=93']
Exploring Operation: 64+93=157, Resulting Numbers: [157]
157,94 unequal: No Solution
Exploring Operation: 64*93=5952, Resulting Numbers: [5952]
5952,94 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Moving to Node #0,3,4
Current State: 94:[90, 61], Operations: ['73-9=64', '64-3=61']
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 90*61=5490, Resulting Numbers: [5490]
5490,94 unequal: No Solution
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[90, 76], Operations: ['9/3=3', '73+3=76']
Exploring Operation: 90-76=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 90+76=166, Resulting Numbers: [166]
166,94 unequal: No Solution
Exploring Operation: 90*76=6840, Resulting Numbers: [6840]
6840,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[3, 26], Operations: ['73-9=64', '90-64=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,94 unequal: No Solution
Moving to Node #0,1,4
Current State: 94:[73, 93], Operations: ['9/3=3', '90+3=93']
Exploring Operation: 73+93=166, Resulting Numbers: [166]
166,94 unequal: No Solution
Exploring Operation: 73*93=6789, Resulting Numbers: [6789]
6789,94 unequal: No Solution
Exploring Operation: 93-73=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[90, 67], Operations: ['73-9=64', '3+64=67']
Exploring Operation: 90+67=157, Resulting Numbers: [157]
157,94 unequal: No Solution
Exploring Operation: 90*67=6030, Resulting Numbers: [6030]
6030,94 unequal: No Solution
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[64, 87], Operations: ['73-9=64', '90-3=87']
Exploring Operation: 64+87=151, Resulting Numbers: [151]
151,94 unequal: No Solution
Exploring Operation: 87-64=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 64*87=5568, Resulting Numbers: [5568]
5568,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[90, 70], Operations: ['9/3=3', '73-3=70']
Exploring Operation: 90-70=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 90+70=160, Resulting Numbers: [160]
160,94 unequal: No Solution
Exploring Operation: 90*70=6300, Resulting Numbers: [6300]
6300,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[73, 87], Operations: ['9/3=3', '90-3=87']
Exploring Operation: 73+87=160, Resulting Numbers: [160]
160,94 unequal: No Solution
Exploring Operation: 87-73=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 73*87=6351, Resulting Numbers: [6351]
6351,94 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
13,
45,
57,
29
] | 86 | [
"13+45=58",
"57-29=28",
"58+28=86"
] | Current State: 86:[13, 45, 57, 29], Operations: []
Exploring Operation: 13+45=58, Resulting Numbers: [57, 29, 58]
Generated Node #2: [57, 29, 58] from Operation: 13+45=58
Current State: 86:[57, 29, 58], Operations: ['13+45=58']
Exploring Operation: 57-29=28, Resulting Numbers: [58, 28]
Generated Node #3: [58, 28] from Operation: 57-29=28
Current State: 86:[58, 28], Operations: ['13+45=58', '57-29=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[13, 45, 57, 29], Operations: []
Exploring Operation: 57-13=44, Resulting Numbers: [45, 29, 44]
Generated Node #0,0: 86:[45, 29, 44] Operation: 57-13=44
Exploring Operation: 57+29=86, Resulting Numbers: [13, 45, 86]
Generated Node #0,1: 86:[13, 45, 86] Operation: 57+29=86
Moving to Node #0,1
Current State: 86:[13, 45, 86], Operations: ['57+29=86']
Exploring Operation: 45-13=32, Resulting Numbers: [86, 32]
Generated Node #0,1,0: 86:[86, 32] Operation: 45-13=32
Exploring Operation: 86-45=41, Resulting Numbers: [13, 41]
Generated Node #0,1,1: 86:[13, 41] Operation: 86-45=41
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[86, 32], Operations: ['57+29=86', '45-13=32']
Exploring Operation: 86+32=118, Resulting Numbers: [118]
118,86 unequal: No Solution
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[13, 41], Operations: ['57+29=86', '86-45=41']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 13+41=54, Resulting Numbers: [54]
54,86 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: 86:[45, 29, 44], Operations: ['57-13=44']
Exploring Operation: 45-29=16, Resulting Numbers: [44, 16]
Generated Node #0,0,0: 86:[44, 16] Operation: 45-29=16
Exploring Operation: 45+29=74, Resulting Numbers: [44, 74]
Generated Node #0,0,1: 86:[44, 74] Operation: 45+29=74
Moving to Node #0,0,1
Current State: 86:[44, 74], Operations: ['57-13=44', '45+29=74']
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 44+74=118, Resulting Numbers: [118]
118,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[44, 16], Operations: ['57-13=44', '45-29=16']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,86 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
53,
45,
1,
81
] | 90 | [
"53-45=8",
"1+81=82",
"8+82=90"
] | Current State: 90:[53, 45, 1, 81], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [1, 81, 8]
Generated Node #2: [1, 81, 8] from Operation: 53-45=8
Current State: 90:[1, 81, 8], Operations: ['53-45=8']
Exploring Operation: 1+81=82, Resulting Numbers: [8, 82]
Generated Node #3: [8, 82] from Operation: 1+81=82
Current State: 90:[8, 82], Operations: ['53-45=8', '1+81=82']
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[53, 45, 1, 81], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [1, 81, 8]
Generated Node #0,0: 90:[1, 81, 8] Operation: 53-45=8
Exploring Operation: 81-53=28, Resulting Numbers: [45, 1, 28]
Generated Node #0,1: 90:[45, 1, 28] Operation: 81-53=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[45, 1, 28], Operations: ['81-53=28']
Exploring Operation: 1+28=29, Resulting Numbers: [45, 29]
Generated Node #0,1,0: 90:[45, 29] Operation: 1+28=29
Exploring Operation: 45*1=45, Resulting Numbers: [28, 45]
Generated Node #0,1,1: 90:[28, 45] Operation: 45*1=45
Moving to Node #0,1,0
Current State: 90:[45, 29], Operations: ['81-53=28', '1+28=29']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[28, 45], Operations: ['81-53=28', '45*1=45']
Exploring Operation: 28+45=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[1, 81, 8], Operations: ['53-45=8']
Exploring Operation: 1+81=82, Resulting Numbers: [8, 82]
Generated Node #0,0,0: 90:[8, 82] Operation: 1+81=82
Exploring Operation: 81+8=89, Resulting Numbers: [1, 89]
Generated Node #0,0,1: 90:[1, 89] Operation: 81+8=89
Moving to Node #0,0,1
Current State: 90:[1, 89], Operations: ['53-45=8', '81+8=89']
Exploring Operation: 1+89=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[53, 45, 1, 81], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [1, 81, 8]
Generated Node #0,0: 90:[1, 81, 8] Operation: 53-45=8
Moving to Node #0,0
Current State: 90:[1, 81, 8], Operations: ['53-45=8']
Exploring Operation: 81+8=89, Resulting Numbers: [1, 89]
Generated Node #0,0,1: 90:[1, 89] Operation: 81+8=89
Moving to Node #0,0,1
Current State: 90:[1, 89], Operations: ['53-45=8', '81+8=89']
Exploring Operation: 1+89=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
17,
95,
84,
12
] | 85 | [
"95-17=78",
"84/12=7",
"78+7=85"
] | Current State: 85:[17, 95, 84, 12], Operations: []
Exploring Operation: 95-17=78, Resulting Numbers: [84, 12, 78]
Generated Node #2: [84, 12, 78] from Operation: 95-17=78
Current State: 85:[84, 12, 78], Operations: ['95-17=78']
Exploring Operation: 84/12=7, Resulting Numbers: [78, 7]
Generated Node #3: [78, 7] from Operation: 84/12=7
Current State: 85:[78, 7], Operations: ['95-17=78', '84/12=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[17, 95, 84, 12], Operations: []
Exploring Operation: 17-12=5, Resulting Numbers: [95, 84, 5]
Generated Node #0,0: 85:[95, 84, 5] Operation: 17-12=5
Exploring Operation: 95-12=83, Resulting Numbers: [17, 84, 83]
Generated Node #0,1: 85:[17, 84, 83] Operation: 95-12=83
Exploring Operation: 84/12=7, Resulting Numbers: [17, 95, 7]
Generated Node #0,2: 85:[17, 95, 7] Operation: 84/12=7
Exploring Operation: 95-84=11, Resulting Numbers: [17, 12, 11]
Generated Node #0,3: 85:[17, 12, 11] Operation: 95-84=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[17, 84, 83], Operations: ['95-12=83']
Exploring Operation: 17+83=100, Resulting Numbers: [84, 100]
Generated Node #0,1,0: 85:[84, 100] Operation: 17+83=100
Exploring Operation: 84-83=1, Resulting Numbers: [17, 1]
Generated Node #0,1,1: 85:[17, 1] Operation: 84-83=1
Exploring Operation: 84-17=67, Resulting Numbers: [83, 67]
Generated Node #0,1,2: 85:[83, 67] Operation: 84-17=67
Exploring Operation: 17+84=101, Resulting Numbers: [83, 101]
Generated Node #0,1,3: 85:[83, 101] Operation: 17+84=101
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[17, 1], Operations: ['95-12=83', '84-83=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[84, 100], Operations: ['95-12=83', '17+83=100']
Exploring Operation: 100-84=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 84*100=8400, Resulting Numbers: [8400]
8400,85 unequal: No Solution
Exploring Operation: 84+100=184, Resulting Numbers: [184]
184,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 85:[83, 101], Operations: ['95-12=83', '17+84=101']
Exploring Operation: 83+101=184, Resulting Numbers: [184]
184,85 unequal: No Solution
Exploring Operation: 101-83=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 83*101=8383, Resulting Numbers: [8383]
8383,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 85:[83, 67], Operations: ['95-12=83', '84-17=67']
Exploring Operation: 83-67=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 83*67=5561, Resulting Numbers: [5561]
5561,85 unequal: No Solution
Exploring Operation: 83+67=150, Resulting Numbers: [150]
150,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[95, 84, 5], Operations: ['17-12=5']
Exploring Operation: 95-84=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 85:[5, 11] Operation: 95-84=11
Exploring Operation: 95-5=90, Resulting Numbers: [84, 90]
Generated Node #0,0,1: 85:[84, 90] Operation: 95-5=90
Exploring Operation: 84+5=89, Resulting Numbers: [95, 89]
Generated Node #0,0,2: 85:[95, 89] Operation: 84+5=89
Exploring Operation: 95/5=19, Resulting Numbers: [84, 19]
Generated Node #0,0,3: 85:[84, 19] Operation: 95/5=19
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 85:[84, 19], Operations: ['17-12=5', '95/5=19']
Exploring Operation: 84+19=103, Resulting Numbers: [103]
103,85 unequal: No Solution
Exploring Operation: 84*19=1596, Resulting Numbers: [1596]
1596,85 unequal: No Solution
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[5, 11], Operations: ['17-12=5', '95-84=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[84, 90], Operations: ['17-12=5', '95-5=90']
Exploring Operation: 84*90=7560, Resulting Numbers: [7560]
7560,85 unequal: No Solution
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 84+90=174, Resulting Numbers: [174]
174,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 85:[95, 89], Operations: ['17-12=5', '84+5=89']
Exploring Operation: 95-89=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 95*89=8455, Resulting Numbers: [8455]
8455,85 unequal: No Solution
Exploring Operation: 95+89=184, Resulting Numbers: [184]
184,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[17, 12, 11], Operations: ['95-84=11']
Exploring Operation: 17-12=5, Resulting Numbers: [11, 5]
Generated Node #0,3,0: 85:[11, 5] Operation: 17-12=5
Exploring Operation: 12-11=1, Resulting Numbers: [17, 1]
Generated Node #0,3,1: 85:[17, 1] Operation: 12-11=1
Exploring Operation: 12+11=23, Resulting Numbers: [17, 23]
Generated Node #0,3,2: 85:[17, 23] Operation: 12+11=23
Exploring Operation: 17-11=6, Resulting Numbers: [12, 6]
Generated Node #0,3,3: 85:[12, 6] Operation: 17-11=6
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 85:[17, 1], Operations: ['95-84=11', '12-11=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 85:[11, 5], Operations: ['95-84=11', '17-12=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,85 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 85:[17, 23], Operations: ['95-84=11', '12+11=23']
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 17*23=391, Resulting Numbers: [391]
391,85 unequal: No Solution
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 85:[12, 6], Operations: ['95-84=11', '17-11=6']
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,85 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[17, 95, 7], Operations: ['84/12=7']
Exploring Operation: 17+7=24, Resulting Numbers: [95, 24]
Generated Node #0,2,0: 85:[95, 24] Operation: 17+7=24
Exploring Operation: 17-7=10, Resulting Numbers: [95, 10]
Generated Node #0,2,1: 85:[95, 10] Operation: 17-7=10
Exploring Operation: 95-17=78, Resulting Numbers: [7, 78]
Generated Node #0,2,2: 85:[7, 78] Operation: 95-17=78
Exploring Operation: 95-7=88, Resulting Numbers: [17, 88]
Generated Node #0,2,3: 85:[17, 88] Operation: 95-7=88
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 85:[17, 88], Operations: ['84/12=7', '95-7=88']
Exploring Operation: 17+88=105, Resulting Numbers: [105]
105,85 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 17*88=1496, Resulting Numbers: [1496]
1496,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[7, 78], Operations: ['84/12=7', '95-17=78']
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,85 unequal: No Solution
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[17, 95, 84, 12], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [17, 95, 7]
Generated Node #0,2: 85:[17, 95, 7] Operation: 84/12=7
Moving to Node #0,2
Current State: 85:[17, 95, 7], Operations: ['84/12=7']
Exploring Operation: 95-17=78, Resulting Numbers: [7, 78]
Generated Node #0,2,2: 85:[7, 78] Operation: 95-17=78
Moving to Node #0,2,2
Current State: 85:[7, 78], Operations: ['84/12=7', '95-17=78']
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.940972 | hs_4 | mult_heuristic |
[
78,
5,
98,
3
] | 77 | [
"78/3=26",
"5+98=103",
"103-26=77"
] | Current State: 77:[78, 5, 98, 3], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [5, 98, 26]
Generated Node #2: [5, 98, 26] from Operation: 78/3=26
Current State: 77:[5, 98, 26], Operations: ['78/3=26']
Exploring Operation: 5+98=103, Resulting Numbers: [26, 103]
Generated Node #3: [26, 103] from Operation: 5+98=103
Current State: 77:[26, 103], Operations: ['78/3=26', '5+98=103']
Exploring Operation: 103-26=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[78, 5, 98, 3], Operations: []
Exploring Operation: 98-5=93, Resulting Numbers: [78, 3, 93]
Generated Node #0,0: 77:[78, 3, 93] Operation: 98-5=93
Exploring Operation: 98-78=20, Resulting Numbers: [5, 3, 20]
Generated Node #0,1: 77:[5, 3, 20] Operation: 98-78=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[5, 3, 20], Operations: ['98-78=20']
Exploring Operation: 20-5=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 77:[3, 15] Operation: 20-5=15
Exploring Operation: 20/5=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 77:[3, 4] Operation: 20/5=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[3, 4], Operations: ['98-78=20', '20/5=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[3, 15], Operations: ['98-78=20', '20-5=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[78, 3, 93], Operations: ['98-5=93']
Exploring Operation: 93-3=90, Resulting Numbers: [78, 90]
Generated Node #0,0,0: 77:[78, 90] Operation: 93-3=90
Exploring Operation: 93-78=15, Resulting Numbers: [3, 15]
Generated Node #0,0,1: 77:[3, 15] Operation: 93-78=15
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[3, 15], Operations: ['98-5=93', '93-78=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[78, 90], Operations: ['98-5=93', '93-3=90']
Exploring Operation: 78+90=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
98,
96,
74,
99
] | 95 | [
"98-74=24",
"96/24=4",
"99-4=95"
] | Current State: 95:[98, 96, 74, 99], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [96, 99, 24]
Generated Node #2: [96, 99, 24] from Operation: 98-74=24
Current State: 95:[96, 99, 24], Operations: ['98-74=24']
Exploring Operation: 96/24=4, Resulting Numbers: [99, 4]
Generated Node #3: [99, 4] from Operation: 96/24=4
Current State: 95:[99, 4], Operations: ['98-74=24', '96/24=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[98, 96, 74, 99], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [96, 99, 24]
Generated Node #0,0: 95:[96, 99, 24] Operation: 98-74=24
Exploring Operation: 96-74=22, Resulting Numbers: [98, 99, 22]
Generated Node #0,1: 95:[98, 99, 22] Operation: 96-74=22
Moving to Node #0,0
Current State: 95:[96, 99, 24], Operations: ['98-74=24']
Exploring Operation: 96/24=4, Resulting Numbers: [99, 4]
Generated Node #0,0,0: 95:[99, 4] Operation: 96/24=4
Exploring Operation: 99-96=3, Resulting Numbers: [24, 3]
Generated Node #0,0,1: 95:[24, 3] Operation: 99-96=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[99, 4], Operations: ['98-74=24', '96/24=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[98, 96, 74, 99], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [96, 99, 24]
Generated Node #0,0: 95:[96, 99, 24] Operation: 98-74=24
Moving to Node #0,0
Current State: 95:[96, 99, 24], Operations: ['98-74=24']
Exploring Operation: 96/24=4, Resulting Numbers: [99, 4]
Generated Node #0,0,0: 95:[99, 4] Operation: 96/24=4
Moving to Node #0,0,0
Current State: 95:[99, 4], Operations: ['98-74=24', '96/24=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
1,
43,
47,
75
] | 70 | [
"43-1=42",
"75-47=28",
"42+28=70"
] | Current State: 70:[1, 43, 47, 75], Operations: []
Exploring Operation: 43-1=42, Resulting Numbers: [47, 75, 42]
Generated Node #2: [47, 75, 42] from Operation: 43-1=42
Current State: 70:[47, 75, 42], Operations: ['43-1=42']
Exploring Operation: 75-47=28, Resulting Numbers: [42, 28]
Generated Node #3: [42, 28] from Operation: 75-47=28
Current State: 70:[42, 28], Operations: ['43-1=42', '75-47=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[1, 43, 47, 75], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [1, 43, 28]
Generated Node #0,0: 70:[1, 43, 28] Operation: 75-47=28
Exploring Operation: 75-43=32, Resulting Numbers: [1, 47, 32]
Generated Node #0,1: 70:[1, 47, 32] Operation: 75-43=32
Exploring Operation: 47-43=4, Resulting Numbers: [1, 75, 4]
Generated Node #0,2: 70:[1, 75, 4] Operation: 47-43=4
Exploring Operation: 43-1=42, Resulting Numbers: [47, 75, 42]
Generated Node #0,3: 70:[47, 75, 42] Operation: 43-1=42
Exploring Operation: 47-1=46, Resulting Numbers: [43, 75, 46]
Generated Node #0,4: 70:[43, 75, 46] Operation: 47-1=46
Moving to Node #0,2
Current State: 70:[1, 75, 4], Operations: ['47-43=4']
Exploring Operation: 75-1=74, Resulting Numbers: [4, 74]
Generated Node #0,2,0: 70:[4, 74] Operation: 75-1=74
Exploring Operation: 1+4=5, Resulting Numbers: [75, 5]
Generated Node #0,2,1: 70:[75, 5] Operation: 1+4=5
Exploring Operation: 75-4=71, Resulting Numbers: [1, 71]
Generated Node #0,2,2: 70:[1, 71] Operation: 75-4=71
Exploring Operation: 75/1=75, Resulting Numbers: [4, 75]
Generated Node #0,2,3: 70:[4, 75] Operation: 75/1=75
Exploring Operation: 1*75=75, Resulting Numbers: [4, 75]
Generated Node #0,2,4: 70:[4, 75] Operation: 1*75=75
Moving to Node #0,1
Current State: 70:[1, 47, 32], Operations: ['75-43=32']
Exploring Operation: 1+32=33, Resulting Numbers: [47, 33]
Generated Node #0,1,0: 70:[47, 33] Operation: 1+32=33
Exploring Operation: 47+32=79, Resulting Numbers: [1, 79]
Generated Node #0,1,1: 70:[1, 79] Operation: 47+32=79
Exploring Operation: 47-1=46, Resulting Numbers: [32, 46]
Generated Node #0,1,2: 70:[32, 46] Operation: 47-1=46
Exploring Operation: 1*47=47, Resulting Numbers: [32, 47]
Generated Node #0,1,3: 70:[32, 47] Operation: 1*47=47
Exploring Operation: 47-32=15, Resulting Numbers: [1, 15]
Generated Node #0,1,4: 70:[1, 15] Operation: 47-32=15
Moving to Node #0,0
Current State: 70:[1, 43, 28], Operations: ['75-47=28']
Exploring Operation: 43-28=15, Resulting Numbers: [1, 15]
Generated Node #0,0,0: 70:[1, 15] Operation: 43-28=15
Exploring Operation: 43-1=42, Resulting Numbers: [28, 42]
Generated Node #0,0,1: 70:[28, 42] Operation: 43-1=42
Exploring Operation: 1+28=29, Resulting Numbers: [43, 29]
Generated Node #0,0,2: 70:[43, 29] Operation: 1+28=29
Exploring Operation: 1*43=43, Resulting Numbers: [28, 43]
Generated Node #0,0,3: 70:[28, 43] Operation: 1*43=43
Exploring Operation: 43+28=71, Resulting Numbers: [1, 71]
Generated Node #0,0,4: 70:[1, 71] Operation: 43+28=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[1, 15], Operations: ['75-47=28', '43-28=15']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 15/1=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,0,4
Current State: 70:[1, 71], Operations: ['75-47=28', '43+28=71']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[1, 43, 47, 75], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [1, 43, 28]
Generated Node #0,0: 70:[1, 43, 28] Operation: 75-47=28
Moving to Node #0,0
Current State: 70:[1, 43, 28], Operations: ['75-47=28']
Exploring Operation: 43+28=71, Resulting Numbers: [1, 71]
Generated Node #0,0,4: 70:[1, 71] Operation: 43+28=71
Moving to Node #0,0,4
Current State: 70:[1, 71], Operations: ['75-47=28', '43+28=71']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
[
29,
19,
48,
17
] | 75 | [
"29-19=10",
"48+17=65",
"10+65=75"
] | Current State: 75:[29, 19, 48, 17], Operations: []
Exploring Operation: 29-19=10, Resulting Numbers: [48, 17, 10]
Generated Node #2: [48, 17, 10] from Operation: 29-19=10
Current State: 75:[48, 17, 10], Operations: ['29-19=10']
Exploring Operation: 48+17=65, Resulting Numbers: [10, 65]
Generated Node #3: [10, 65] from Operation: 48+17=65
Current State: 75:[10, 65], Operations: ['29-19=10', '48+17=65']
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[29, 19, 48, 17], Operations: []
Exploring Operation: 48-19=29, Resulting Numbers: [29, 17, 29]
Generated Node #0,0: 75:[29, 17, 29] Operation: 48-19=29
Exploring Operation: 48-29=19, Resulting Numbers: [19, 17, 19]
Generated Node #0,1: 75:[19, 17, 19] Operation: 48-29=19
Exploring Operation: 19+48=67, Resulting Numbers: [29, 17, 67]
Generated Node #0,2: 75:[29, 17, 67] Operation: 19+48=67
Exploring Operation: 29+48=77, Resulting Numbers: [19, 17, 77]
Generated Node #0,3: 75:[19, 17, 77] Operation: 29+48=77
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[19, 17, 77], Operations: ['29+48=77']
Exploring Operation: 77-17=60, Resulting Numbers: [19, 60]
Generated Node #0,3,0: 75:[19, 60] Operation: 77-17=60
Exploring Operation: 77-19=58, Resulting Numbers: [17, 58]
Generated Node #0,3,1: 75:[17, 58] Operation: 77-19=58
Exploring Operation: 19+17=36, Resulting Numbers: [77, 36]
Generated Node #0,3,2: 75:[77, 36] Operation: 19+17=36
Exploring Operation: 19-17=2, Resulting Numbers: [77, 2]
Generated Node #0,3,3: 75:[77, 2] Operation: 19-17=2
Moving to Node #0,3,3
Current State: 75:[77, 2], Operations: ['29+48=77', '19-17=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[29, 19, 48, 17], Operations: []
Exploring Operation: 29+48=77, Resulting Numbers: [19, 17, 77]
Generated Node #0,3: 75:[19, 17, 77] Operation: 29+48=77
Moving to Node #0,3
Current State: 75:[19, 17, 77], Operations: ['29+48=77']
Exploring Operation: 19-17=2, Resulting Numbers: [77, 2]
Generated Node #0,3,3: 75:[77, 2] Operation: 19-17=2
Moving to Node #0,3,3
Current State: 75:[77, 2], Operations: ['29+48=77', '19-17=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
72,
34,
99,
89
] | 97 | [
"89-72=17",
"34/17=2",
"99-2=97"
] | Current State: 97:[72, 34, 99, 89], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [34, 99, 17]
Generated Node #2: [34, 99, 17] from Operation: 89-72=17
Current State: 97:[34, 99, 17], Operations: ['89-72=17']
Exploring Operation: 34/17=2, Resulting Numbers: [99, 2]
Generated Node #3: [99, 2] from Operation: 34/17=2
Current State: 97:[99, 2], Operations: ['89-72=17', '34/17=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[72, 34, 99, 89], Operations: []
Exploring Operation: 72+34=106, Resulting Numbers: [99, 89, 106]
Generated Node #0,0: 97:[99, 89, 106] Operation: 72+34=106
Exploring Operation: 72-34=38, Resulting Numbers: [99, 89, 38]
Generated Node #0,1: 97:[99, 89, 38] Operation: 72-34=38
Exploring Operation: 34+89=123, Resulting Numbers: [72, 99, 123]
Generated Node #0,2: 97:[72, 99, 123] Operation: 34+89=123
Exploring Operation: 34+99=133, Resulting Numbers: [72, 89, 133]
Generated Node #0,3: 97:[72, 89, 133] Operation: 34+99=133
Exploring Operation: 99-34=65, Resulting Numbers: [72, 89, 65]
Generated Node #0,4: 97:[72, 89, 65] Operation: 99-34=65
Moving to Node #0,0
Current State: 97:[99, 89, 106], Operations: ['72+34=106']
Exploring Operation: 99-89=10, Resulting Numbers: [106, 10]
Generated Node #0,0,0: 97:[106, 10] Operation: 99-89=10
Exploring Operation: 106-99=7, Resulting Numbers: [89, 7]
Generated Node #0,0,1: 97:[89, 7] Operation: 106-99=7
Exploring Operation: 89+106=195, Resulting Numbers: [99, 195]
Generated Node #0,0,2: 97:[99, 195] Operation: 89+106=195
Exploring Operation: 99+89=188, Resulting Numbers: [106, 188]
Generated Node #0,0,3: 97:[106, 188] Operation: 99+89=188
Exploring Operation: 106-89=17, Resulting Numbers: [99, 17]
Generated Node #0,0,4: 97:[99, 17] Operation: 106-89=17
Moving to Node #0,2
Current State: 97:[72, 99, 123], Operations: ['34+89=123']
Exploring Operation: 72+99=171, Resulting Numbers: [123, 171]
Generated Node #0,2,0: 97:[123, 171] Operation: 72+99=171
Exploring Operation: 72+123=195, Resulting Numbers: [99, 195]
Generated Node #0,2,1: 97:[99, 195] Operation: 72+123=195
Exploring Operation: 123-99=24, Resulting Numbers: [72, 24]
Generated Node #0,2,2: 97:[72, 24] Operation: 123-99=24
Exploring Operation: 99-72=27, Resulting Numbers: [123, 27]
Generated Node #0,2,3: 97:[123, 27] Operation: 99-72=27
Exploring Operation: 123-72=51, Resulting Numbers: [99, 51]
Generated Node #0,2,4: 97:[99, 51] Operation: 123-72=51
Moving to Node #0,4
Current State: 97:[72, 89, 65], Operations: ['99-34=65']
Exploring Operation: 72+65=137, Resulting Numbers: [89, 137]
Generated Node #0,4,0: 97:[89, 137] Operation: 72+65=137
Exploring Operation: 72+89=161, Resulting Numbers: [65, 161]
Generated Node #0,4,1: 97:[65, 161] Operation: 72+89=161
Exploring Operation: 89-65=24, Resulting Numbers: [72, 24]
Generated Node #0,4,2: 97:[72, 24] Operation: 89-65=24
Exploring Operation: 72-65=7, Resulting Numbers: [89, 7]
Generated Node #0,4,3: 97:[89, 7] Operation: 72-65=7
Exploring Operation: 89+65=154, Resulting Numbers: [72, 154]
Generated Node #0,4,4: 97:[72, 154] Operation: 89+65=154
Moving to Node #0,1
Current State: 97:[99, 89, 38], Operations: ['72-34=38']
Exploring Operation: 89+38=127, Resulting Numbers: [99, 127]
Generated Node #0,1,0: 97:[99, 127] Operation: 89+38=127
Exploring Operation: 99-38=61, Resulting Numbers: [89, 61]
Generated Node #0,1,1: 97:[89, 61] Operation: 99-38=61
Exploring Operation: 99-89=10, Resulting Numbers: [38, 10]
Generated Node #0,1,2: 97:[38, 10] Operation: 99-89=10
Exploring Operation: 99+38=137, Resulting Numbers: [89, 137]
Generated Node #0,1,3: 97:[89, 137] Operation: 99+38=137
Exploring Operation: 89-38=51, Resulting Numbers: [99, 51]
Generated Node #0,1,4: 97:[99, 51] Operation: 89-38=51
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[99, 127], Operations: ['72-34=38', '89+38=127']
Exploring Operation: 127-99=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 99*127=12573, Resulting Numbers: [12573]
12573,97 unequal: No Solution
Exploring Operation: 99+127=226, Resulting Numbers: [226]
226,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[89, 61], Operations: ['72-34=38', '99-38=61']
Exploring Operation: 89+61=150, Resulting Numbers: [150]
150,97 unequal: No Solution
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 89*61=5429, Resulting Numbers: [5429]
5429,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 97:[89, 137], Operations: ['72-34=38', '99+38=137']
Exploring Operation: 89*137=12193, Resulting Numbers: [12193]
12193,97 unequal: No Solution
Exploring Operation: 137-89=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 89+137=226, Resulting Numbers: [226]
226,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 97:[99, 51], Operations: ['72-34=38', '89-38=51']
Exploring Operation: 99-51=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 99*51=5049, Resulting Numbers: [5049]
5049,97 unequal: No Solution
Exploring Operation: 99+51=150, Resulting Numbers: [150]
150,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[38, 10], Operations: ['72-34=38', '99-89=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 97:[72, 89, 133], Operations: ['34+99=133']
Exploring Operation: 72+89=161, Resulting Numbers: [133, 161]
Generated Node #0,3,0: 97:[133, 161] Operation: 72+89=161
Exploring Operation: 133-89=44, Resulting Numbers: [72, 44]
Generated Node #0,3,1: 97:[72, 44] Operation: 133-89=44
Exploring Operation: 89-72=17, Resulting Numbers: [133, 17]
Generated Node #0,3,2: 97:[133, 17] Operation: 89-72=17
Exploring Operation: 72+133=205, Resulting Numbers: [89, 205]
Generated Node #0,3,3: 97:[89, 205] Operation: 72+133=205
Exploring Operation: 133-72=61, Resulting Numbers: [89, 61]
Generated Node #0,3,4: 97:[89, 61] Operation: 133-72=61
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 97:[89, 61], Operations: ['34+99=133', '133-72=61']
Exploring Operation: 89*61=5429, Resulting Numbers: [5429]
5429,97 unequal: No Solution
Exploring Operation: 89+61=150, Resulting Numbers: [150]
150,97 unequal: No Solution
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[72, 44], Operations: ['34+99=133', '133-89=44']
Exploring Operation: 72*44=3168, Resulting Numbers: [3168]
3168,97 unequal: No Solution
Exploring Operation: 72+44=116, Resulting Numbers: [116]
116,97 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[133, 161], Operations: ['34+99=133', '72+89=161']
Exploring Operation: 161-133=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 133*161=21413, Resulting Numbers: [21413]
21413,97 unequal: No Solution
Exploring Operation: 133+161=294, Resulting Numbers: [294]
294,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[133, 17], Operations: ['34+99=133', '89-72=17']
Exploring Operation: 133+17=150, Resulting Numbers: [150]
150,97 unequal: No Solution
Exploring Operation: 133*17=2261, Resulting Numbers: [2261]
2261,97 unequal: No Solution
Exploring Operation: 133-17=116, Resulting Numbers: [116]
116,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[89, 205], Operations: ['34+99=133', '72+133=205']
Exploring Operation: 89+205=294, Resulting Numbers: [294]
294,97 unequal: No Solution
Exploring Operation: 205-89=116, Resulting Numbers: [116]
116,97 unequal: No Solution
Exploring Operation: 89*205=18245, Resulting Numbers: [18245]
18245,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 97:[99, 51], Operations: ['34+89=123', '123-72=51']
Exploring Operation: 99+51=150, Resulting Numbers: [150]
150,97 unequal: No Solution
Exploring Operation: 99-51=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 99*51=5049, Resulting Numbers: [5049]
5049,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[89, 137], Operations: ['99-34=65', '72+65=137']
Exploring Operation: 89+137=226, Resulting Numbers: [226]
226,97 unequal: No Solution
Exploring Operation: 89*137=12193, Resulting Numbers: [12193]
12193,97 unequal: No Solution
Exploring Operation: 137-89=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Moving to Node #0,0,4
Current State: 97:[99, 17], Operations: ['72+34=106', '106-89=17']
Exploring Operation: 99+17=116, Resulting Numbers: [116]
116,97 unequal: No Solution
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,97 unequal: No Solution
Exploring Operation: 99*17=1683, Resulting Numbers: [1683]
1683,97 unequal: No Solution
Moving to Node #0,4,4
Current State: 97:[72, 154], Operations: ['99-34=65', '89+65=154']
Exploring Operation: 72+154=226, Resulting Numbers: [226]
226,97 unequal: No Solution
Exploring Operation: 154-72=82, Resulting Numbers: [82]
82,97 unequal: No Solution
Exploring Operation: 72*154=11088, Resulting Numbers: [11088]
11088,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[123, 27], Operations: ['34+89=123', '99-72=27']
Exploring Operation: 123+27=150, Resulting Numbers: [150]
150,97 unequal: No Solution
Exploring Operation: 123*27=3321, Resulting Numbers: [3321]
3321,97 unequal: No Solution
Exploring Operation: 123-27=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[65, 161], Operations: ['99-34=65', '72+89=161']
Exploring Operation: 161-65=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 65*161=10465, Resulting Numbers: [10465]
10465,97 unequal: No Solution
Exploring Operation: 65+161=226, Resulting Numbers: [226]
226,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[106, 10], Operations: ['72+34=106', '99-89=10']
Exploring Operation: 106*10=1060, Resulting Numbers: [1060]
1060,97 unequal: No Solution
Exploring Operation: 106-10=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 106+10=116, Resulting Numbers: [116]
116,97 unequal: No Solution
Moving to Node #0,4,2
Current State: 97:[72, 24], Operations: ['99-34=65', '89-65=24']
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 72*24=1728, Resulting Numbers: [1728]
1728,97 unequal: No Solution
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[89, 7], Operations: ['72+34=106', '106-99=7']
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,97 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,97 unequal: No Solution
Moving to Node #0,4,3
Current State: 97:[89, 7], Operations: ['99-34=65', '72-65=7']
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,97 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[72, 24], Operations: ['34+89=123', '123-99=24']
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 72*24=1728, Resulting Numbers: [1728]
1728,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[106, 188], Operations: ['72+34=106', '99+89=188']
Exploring Operation: 188-106=82, Resulting Numbers: [82]
82,97 unequal: No Solution
Exploring Operation: 106*188=19928, Resulting Numbers: [19928]
19928,97 unequal: No Solution
Exploring Operation: 106+188=294, Resulting Numbers: [294]
294,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[123, 171], Operations: ['34+89=123', '72+99=171']
Exploring Operation: 123+171=294, Resulting Numbers: [294]
294,97 unequal: No Solution
Exploring Operation: 123*171=21033, Resulting Numbers: [21033]
21033,97 unequal: No Solution
Exploring Operation: 171-123=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[99, 195], Operations: ['34+89=123', '72+123=195']
Exploring Operation: 99+195=294, Resulting Numbers: [294]
294,97 unequal: No Solution
Exploring Operation: 99*195=19305, Resulting Numbers: [19305]
19305,97 unequal: No Solution
Exploring Operation: 195-99=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[99, 195], Operations: ['72+34=106', '89+106=195']
Exploring Operation: 195-99=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 99+195=294, Resulting Numbers: [294]
294,97 unequal: No Solution
Exploring Operation: 99*195=19305, Resulting Numbers: [19305]
19305,97 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
40,
78,
30,
39
] | 49 | [
"40+78=118",
"30+39=69",
"118-69=49"
] | Current State: 49:[40, 78, 30, 39], Operations: []
Exploring Operation: 40+78=118, Resulting Numbers: [30, 39, 118]
Generated Node #2: [30, 39, 118] from Operation: 40+78=118
Current State: 49:[30, 39, 118], Operations: ['40+78=118']
Exploring Operation: 30+39=69, Resulting Numbers: [118, 69]
Generated Node #3: [118, 69] from Operation: 30+39=69
Current State: 49:[118, 69], Operations: ['40+78=118', '30+39=69']
Exploring Operation: 118-69=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[40, 78, 30, 39], Operations: []
Exploring Operation: 78-30=48, Resulting Numbers: [40, 39, 48]
Generated Node #0,0: 49:[40, 39, 48] Operation: 78-30=48
Moving to Node #0,0
Current State: 49:[40, 39, 48], Operations: ['78-30=48']
Exploring Operation: 40-39=1, Resulting Numbers: [48, 1]
Generated Node #0,0,0: 49:[48, 1] Operation: 40-39=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[48, 1], Operations: ['78-30=48', '40-39=1']
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[40, 78, 30, 39], Operations: []
Exploring Operation: 78-30=48, Resulting Numbers: [40, 39, 48]
Generated Node #0,0: 49:[40, 39, 48] Operation: 78-30=48
Moving to Node #0,0
Current State: 49:[40, 39, 48], Operations: ['78-30=48']
Exploring Operation: 40-39=1, Resulting Numbers: [48, 1]
Generated Node #0,0,0: 49:[48, 1] Operation: 40-39=1
Moving to Node #0,0,0
Current State: 49:[48, 1], Operations: ['78-30=48', '40-39=1']
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
88,
29,
45,
76
] | 86 | [
"88+29=117",
"76-45=31",
"117-31=86"
] | Current State: 86:[88, 29, 45, 76], Operations: []
Exploring Operation: 88+29=117, Resulting Numbers: [45, 76, 117]
Generated Node #2: [45, 76, 117] from Operation: 88+29=117
Current State: 86:[45, 76, 117], Operations: ['88+29=117']
Exploring Operation: 76-45=31, Resulting Numbers: [117, 31]
Generated Node #3: [117, 31] from Operation: 76-45=31
Current State: 86:[117, 31], Operations: ['88+29=117', '76-45=31']
Exploring Operation: 117-31=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[88, 29, 45, 76], Operations: []
Exploring Operation: 29+45=74, Resulting Numbers: [88, 76, 74]
Generated Node #0,0: 86:[88, 76, 74] Operation: 29+45=74
Exploring Operation: 29+76=105, Resulting Numbers: [88, 45, 105]
Generated Node #0,1: 86:[88, 45, 105] Operation: 29+76=105
Exploring Operation: 88-45=43, Resulting Numbers: [29, 76, 43]
Generated Node #0,2: 86:[29, 76, 43] Operation: 88-45=43
Exploring Operation: 76-29=47, Resulting Numbers: [88, 45, 47]
Generated Node #0,3: 86:[88, 45, 47] Operation: 76-29=47
Moving to Node #0,3
Current State: 86:[88, 45, 47], Operations: ['76-29=47']
Exploring Operation: 47-45=2, Resulting Numbers: [88, 2]
Generated Node #0,3,0: 86:[88, 2] Operation: 47-45=2
Exploring Operation: 45+47=92, Resulting Numbers: [88, 92]
Generated Node #0,3,1: 86:[88, 92] Operation: 45+47=92
Exploring Operation: 88-47=41, Resulting Numbers: [45, 41]
Generated Node #0,3,2: 86:[45, 41] Operation: 88-47=41
Exploring Operation: 88-45=43, Resulting Numbers: [47, 43]
Generated Node #0,3,3: 86:[47, 43] Operation: 88-45=43
Moving to Node #0,1
Current State: 86:[88, 45, 105], Operations: ['29+76=105']
Exploring Operation: 105-45=60, Resulting Numbers: [88, 60]
Generated Node #0,1,0: 86:[88, 60] Operation: 105-45=60
Exploring Operation: 88+45=133, Resulting Numbers: [105, 133]
Generated Node #0,1,1: 86:[105, 133] Operation: 88+45=133
Exploring Operation: 88-45=43, Resulting Numbers: [105, 43]
Generated Node #0,1,2: 86:[105, 43] Operation: 88-45=43
Exploring Operation: 105-88=17, Resulting Numbers: [45, 17]
Generated Node #0,1,3: 86:[45, 17] Operation: 105-88=17
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[45, 17], Operations: ['29+76=105', '105-88=17']
Exploring Operation: 45*17=765, Resulting Numbers: [765]
765,86 unequal: No Solution
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,86 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[88, 60], Operations: ['29+76=105', '105-45=60']
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 88+60=148, Resulting Numbers: [148]
148,86 unequal: No Solution
Exploring Operation: 88*60=5280, Resulting Numbers: [5280]
5280,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[105, 43], Operations: ['29+76=105', '88-45=43']
Exploring Operation: 105+43=148, Resulting Numbers: [148]
148,86 unequal: No Solution
Exploring Operation: 105*43=4515, Resulting Numbers: [4515]
4515,86 unequal: No Solution
Exploring Operation: 105-43=62, Resulting Numbers: [62]
62,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[105, 133], Operations: ['29+76=105', '88+45=133']
Exploring Operation: 105*133=13965, Resulting Numbers: [13965]
13965,86 unequal: No Solution
Exploring Operation: 105+133=238, Resulting Numbers: [238]
238,86 unequal: No Solution
Exploring Operation: 133-105=28, Resulting Numbers: [28]
28,86 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: 86:[29, 76, 43], Operations: ['88-45=43']
Exploring Operation: 29+43=72, Resulting Numbers: [76, 72]
Generated Node #0,2,0: 86:[76, 72] Operation: 29+43=72
Exploring Operation: 29+76=105, Resulting Numbers: [43, 105]
Generated Node #0,2,1: 86:[43, 105] Operation: 29+76=105
Exploring Operation: 43-29=14, Resulting Numbers: [76, 14]
Generated Node #0,2,2: 86:[76, 14] Operation: 43-29=14
Exploring Operation: 76-29=47, Resulting Numbers: [43, 47]
Generated Node #0,2,3: 86:[43, 47] Operation: 76-29=47
Moving to Node #0,0
Current State: 86:[88, 76, 74], Operations: ['29+45=74']
Exploring Operation: 76-74=2, Resulting Numbers: [88, 2]
Generated Node #0,0,0: 86:[88, 2] Operation: 76-74=2
Exploring Operation: 76+74=150, Resulting Numbers: [88, 150]
Generated Node #0,0,1: 86:[88, 150] Operation: 76+74=150
Exploring Operation: 88-76=12, Resulting Numbers: [74, 12]
Generated Node #0,0,2: 86:[74, 12] Operation: 88-76=12
Exploring Operation: 88-74=14, Resulting Numbers: [76, 14]
Generated Node #0,0,3: 86:[76, 14] Operation: 88-74=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[88, 2], Operations: ['29+45=74', '76-74=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[88, 29, 45, 76], Operations: []
Exploring Operation: 29+45=74, Resulting Numbers: [88, 76, 74]
Generated Node #0,0: 86:[88, 76, 74] Operation: 29+45=74
Moving to Node #0,0
Current State: 86:[88, 76, 74], Operations: ['29+45=74']
Exploring Operation: 76-74=2, Resulting Numbers: [88, 2]
Generated Node #0,0,0: 86:[88, 2] Operation: 76-74=2
Moving to Node #0,0,0
Current State: 86:[88, 2], Operations: ['29+45=74', '76-74=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
53,
47,
15,
7
] | 51 | [
"53+7=60",
"60/15=4",
"47+4=51"
] | Current State: 51:[53, 47, 15, 7], Operations: []
Exploring Operation: 53+7=60, Resulting Numbers: [47, 15, 60]
Generated Node #2: [47, 15, 60] from Operation: 53+7=60
Current State: 51:[47, 15, 60], Operations: ['53+7=60']
Exploring Operation: 60/15=4, Resulting Numbers: [47, 4]
Generated Node #3: [47, 4] from Operation: 60/15=4
Current State: 51:[47, 4], Operations: ['53+7=60', '60/15=4']
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[53, 47, 15, 7], Operations: []
Exploring Operation: 15+7=22, Resulting Numbers: [53, 47, 22]
Generated Node #0,0: 51:[53, 47, 22] Operation: 15+7=22
Exploring Operation: 53-47=6, Resulting Numbers: [15, 7, 6]
Generated Node #0,1: 51:[15, 7, 6] Operation: 53-47=6
Exploring Operation: 47+7=54, Resulting Numbers: [53, 15, 54]
Generated Node #0,2: 51:[53, 15, 54] Operation: 47+7=54
Exploring Operation: 53-7=46, Resulting Numbers: [47, 15, 46]
Generated Node #0,3: 51:[47, 15, 46] Operation: 53-7=46
Moving to Node #0,2
Current State: 51:[53, 15, 54], Operations: ['47+7=54']
Exploring Operation: 53+15=68, Resulting Numbers: [54, 68]
Generated Node #0,2,0: 51:[54, 68] Operation: 53+15=68
Exploring Operation: 54-53=1, Resulting Numbers: [15, 1]
Generated Node #0,2,1: 51:[15, 1] Operation: 54-53=1
Exploring Operation: 53-15=38, Resulting Numbers: [54, 38]
Generated Node #0,2,2: 51:[54, 38] Operation: 53-15=38
Exploring Operation: 54-15=39, Resulting Numbers: [53, 39]
Generated Node #0,2,3: 51:[53, 39] Operation: 54-15=39
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[15, 1], Operations: ['47+7=54', '54-53=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 51:[53, 39], Operations: ['47+7=54', '54-15=39']
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,51 unequal: No Solution
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[54, 38], Operations: ['47+7=54', '53-15=38']
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[54, 68], Operations: ['47+7=54', '53+15=68']
Exploring Operation: 54+68=122, Resulting Numbers: [122]
122,51 unequal: No Solution
Exploring Operation: 54*68=3672, Resulting Numbers: [3672]
3672,51 unequal: No Solution
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,51 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: 51:[15, 7, 6], Operations: ['53-47=6']
Exploring Operation: 15-7=8, Resulting Numbers: [6, 8]
Generated Node #0,1,0: 51:[6, 8] Operation: 15-7=8
Exploring Operation: 7+6=13, Resulting Numbers: [15, 13]
Generated Node #0,1,1: 51:[15, 13] Operation: 7+6=13
Exploring Operation: 15+7=22, Resulting Numbers: [6, 22]
Generated Node #0,1,2: 51:[6, 22] Operation: 15+7=22
Exploring Operation: 7-6=1, Resulting Numbers: [15, 1]
Generated Node #0,1,3: 51:[15, 1] Operation: 7-6=1
Moving to Node #0,3
Current State: 51:[47, 15, 46], Operations: ['53-7=46']
Exploring Operation: 15+46=61, Resulting Numbers: [47, 61]
Generated Node #0,3,0: 51:[47, 61] Operation: 15+46=61
Exploring Operation: 46-15=31, Resulting Numbers: [47, 31]
Generated Node #0,3,1: 51:[47, 31] Operation: 46-15=31
Exploring Operation: 47-46=1, Resulting Numbers: [15, 1]
Generated Node #0,3,2: 51:[15, 1] Operation: 47-46=1
Exploring Operation: 47+15=62, Resulting Numbers: [46, 62]
Generated Node #0,3,3: 51:[46, 62] Operation: 47+15=62
Moving to Node #0,0
Current State: 51:[53, 47, 22], Operations: ['15+7=22']
Exploring Operation: 53-47=6, Resulting Numbers: [22, 6]
Generated Node #0,0,0: 51:[22, 6] Operation: 53-47=6
Exploring Operation: 47+22=69, Resulting Numbers: [53, 69]
Generated Node #0,0,1: 51:[53, 69] Operation: 47+22=69
Exploring Operation: 47-22=25, Resulting Numbers: [53, 25]
Generated Node #0,0,2: 51:[53, 25] Operation: 47-22=25
Exploring Operation: 53-22=31, Resulting Numbers: [47, 31]
Generated Node #0,0,3: 51:[47, 31] Operation: 53-22=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[22, 6], Operations: ['15+7=22', '53-47=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,51 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[53, 25], Operations: ['15+7=22', '47-22=25']
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 51:[47, 31], Operations: ['15+7=22', '53-22=31']
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,51 unequal: No Solution
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[53, 69], Operations: ['15+7=22', '47+22=69']
Exploring Operation: 53*69=3657, Resulting Numbers: [3657]
3657,51 unequal: No Solution
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 53+69=122, Resulting Numbers: [122]
122,51 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: 51:[15, 1], Operations: ['53-47=6', '7-6=1']
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[15, 1], Operations: ['53-7=46', '47-46=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[15, 13], Operations: ['53-47=6', '7+6=13']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,51 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[6, 8], Operations: ['53-47=6', '15-7=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[6, 22], Operations: ['53-47=6', '15+7=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,51 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[47, 61], Operations: ['53-7=46', '15+46=61']
Exploring Operation: 61-47=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 47+61=108, Resulting Numbers: [108]
108,51 unequal: No Solution
Exploring Operation: 47*61=2867, Resulting Numbers: [2867]
2867,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[46, 62], Operations: ['53-7=46', '47+15=62']
Exploring Operation: 46*62=2852, Resulting Numbers: [2852]
2852,51 unequal: No Solution
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 46+62=108, Resulting Numbers: [108]
108,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[47, 31], Operations: ['53-7=46', '46-15=31']
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,51 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
99,
2,
14,
67
] | 16 | [
"99-2=97",
"14+67=81",
"97-81=16"
] | Current State: 16:[99, 2, 14, 67], Operations: []
Exploring Operation: 99-2=97, Resulting Numbers: [14, 67, 97]
Generated Node #2: [14, 67, 97] from Operation: 99-2=97
Current State: 16:[14, 67, 97], Operations: ['99-2=97']
Exploring Operation: 14+67=81, Resulting Numbers: [97, 81]
Generated Node #3: [97, 81] from Operation: 14+67=81
Current State: 16:[97, 81], Operations: ['99-2=97', '14+67=81']
Exploring Operation: 97-81=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[99, 2, 14, 67], Operations: []
Exploring Operation: 99-67=32, Resulting Numbers: [2, 14, 32]
Generated Node #0,0: 16:[2, 14, 32] Operation: 99-67=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[2, 14, 32], Operations: ['99-67=32']
Exploring Operation: 32/2=16, Resulting Numbers: [14, 16]
Generated Node #0,0,0: 16:[14, 16] Operation: 32/2=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[14, 16], Operations: ['99-67=32', '32/2=16']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
67,
38,
37,
25
] | 92 | [
"67+25=92",
"38-37=1",
"92*1=92"
] | Current State: 92:[67, 38, 37, 25], Operations: []
Exploring Operation: 67+25=92, Resulting Numbers: [38, 37, 92]
Generated Node #2: [38, 37, 92] from Operation: 67+25=92
Current State: 92:[38, 37, 92], Operations: ['67+25=92']
Exploring Operation: 38-37=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 38-37=1
Current State: 92:[92, 1], Operations: ['67+25=92', '38-37=1']
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[67, 38, 37, 25], Operations: []
Exploring Operation: 67-37=30, Resulting Numbers: [38, 25, 30]
Generated Node #0,0: 92:[38, 25, 30] Operation: 67-37=30
Exploring Operation: 67-38=29, Resulting Numbers: [37, 25, 29]
Generated Node #0,1: 92:[37, 25, 29] Operation: 67-38=29
Exploring Operation: 67+37=104, Resulting Numbers: [38, 25, 104]
Generated Node #0,2: 92:[38, 25, 104] Operation: 67+37=104
Exploring Operation: 67+25=92, Resulting Numbers: [38, 37, 92]
Generated Node #0,3: 92:[38, 37, 92] Operation: 67+25=92
Exploring Operation: 67-25=42, Resulting Numbers: [38, 37, 42]
Generated Node #0,4: 92:[38, 37, 42] Operation: 67-25=42
Moving to Node #0,0
Current State: 92:[38, 25, 30], Operations: ['67-37=30']
Exploring Operation: 38-25=13, Resulting Numbers: [30, 13]
Generated Node #0,0,0: 92:[30, 13] Operation: 38-25=13
Exploring Operation: 38-30=8, Resulting Numbers: [25, 8]
Generated Node #0,0,1: 92:[25, 8] Operation: 38-30=8
Exploring Operation: 30-25=5, Resulting Numbers: [38, 5]
Generated Node #0,0,2: 92:[38, 5] Operation: 30-25=5
Exploring Operation: 25+30=55, Resulting Numbers: [38, 55]
Generated Node #0,0,3: 92:[38, 55] Operation: 25+30=55
Exploring Operation: 38+25=63, Resulting Numbers: [30, 63]
Generated Node #0,0,4: 92:[30, 63] Operation: 38+25=63
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[25, 8], Operations: ['67-37=30', '38-30=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,92 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[38, 5], Operations: ['67-37=30', '30-25=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,92 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[30, 13], Operations: ['67-37=30', '38-25=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 92:[38, 55], Operations: ['67-37=30', '25+30=55']
Exploring Operation: 38*55=2090, Resulting Numbers: [2090]
2090,92 unequal: No Solution
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 38+55=93, Resulting Numbers: [93]
93,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 92:[30, 63], Operations: ['67-37=30', '38+25=63']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,92 unequal: No Solution
Exploring Operation: 30*63=1890, Resulting Numbers: [1890]
1890,92 unequal: No Solution
Exploring Operation: 30+63=93, Resulting Numbers: [93]
93,92 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: 92:[38, 37, 92], Operations: ['67+25=92']
Exploring Operation: 38-37=1, Resulting Numbers: [92, 1]
Generated Node #0,3,0: 92:[92, 1] Operation: 38-37=1
Exploring Operation: 92-38=54, Resulting Numbers: [37, 54]
Generated Node #0,3,1: 92:[37, 54] Operation: 92-38=54
Exploring Operation: 92-37=55, Resulting Numbers: [38, 55]
Generated Node #0,3,2: 92:[38, 55] Operation: 92-37=55
Exploring Operation: 38+37=75, Resulting Numbers: [92, 75]
Generated Node #0,3,3: 92:[92, 75] Operation: 38+37=75
Exploring Operation: 37+92=129, Resulting Numbers: [38, 129]
Generated Node #0,3,4: 92:[38, 129] Operation: 37+92=129
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 92:[92, 1], Operations: ['67+25=92', '38-37=1']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[67, 38, 37, 25], Operations: []
Exploring Operation: 67+25=92, Resulting Numbers: [38, 37, 92]
Generated Node #0,3: 92:[38, 37, 92] Operation: 67+25=92
Moving to Node #0,3
Current State: 92:[38, 37, 92], Operations: ['67+25=92']
Exploring Operation: 38-37=1, Resulting Numbers: [92, 1]
Generated Node #0,3,0: 92:[92, 1] Operation: 38-37=1
Moving to Node #0,3,0
Current State: 92:[92, 1], Operations: ['67+25=92', '38-37=1']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
30,
57,
5,
60
] | 11 | [
"60/30=2",
"57-2=55",
"55/5=11"
] | Current State: 11:[30, 57, 5, 60], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [57, 5, 2]
Generated Node #2: [57, 5, 2] from Operation: 60/30=2
Current State: 11:[57, 5, 2], Operations: ['60/30=2']
Exploring Operation: 57-2=55, Resulting Numbers: [5, 55]
Generated Node #3: [5, 55] from Operation: 57-2=55
Current State: 11:[5, 55], Operations: ['60/30=2', '57-2=55']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[30, 57, 5, 60], Operations: []
Exploring Operation: 60/5=12, Resulting Numbers: [30, 57, 12]
Generated Node #0,0: 11:[30, 57, 12] Operation: 60/5=12
Exploring Operation: 60-57=3, Resulting Numbers: [30, 5, 3]
Generated Node #0,1: 11:[30, 5, 3] Operation: 60-57=3
Exploring Operation: 60/30=2, Resulting Numbers: [57, 5, 2]
Generated Node #0,2: 11:[57, 5, 2] Operation: 60/30=2
Exploring Operation: 57-30=27, Resulting Numbers: [5, 60, 27]
Generated Node #0,3: 11:[5, 60, 27] Operation: 57-30=27
Moving to Node #0,1
Current State: 11:[30, 5, 3], Operations: ['60-57=3']
Exploring Operation: 30/5=6, Resulting Numbers: [3, 6]
Generated Node #0,1,0: 11:[3, 6] Operation: 30/5=6
Exploring Operation: 30-5=25, Resulting Numbers: [3, 25]
Generated Node #0,1,1: 11:[3, 25] Operation: 30-5=25
Exploring Operation: 30/3=10, Resulting Numbers: [5, 10]
Generated Node #0,1,2: 11:[5, 10] Operation: 30/3=10
Exploring Operation: 30-3=27, Resulting Numbers: [5, 27]
Generated Node #0,1,3: 11:[5, 27] Operation: 30-3=27
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[5, 10], Operations: ['60-57=3', '30/3=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 10-5=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,1,0
Current State: 11:[3, 6], Operations: ['60-57=3', '30/5=6']
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,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:[3, 25], Operations: ['60-57=3', '30-5=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,11 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,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:[5, 27], Operations: ['60-57=3', '30-3=27']
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,11 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,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:[57, 5, 2], Operations: ['60/30=2']
Exploring Operation: 57-2=55, Resulting Numbers: [5, 55]
Generated Node #0,2,0: 11:[5, 55] Operation: 57-2=55
Exploring Operation: 5*2=10, Resulting Numbers: [57, 10]
Generated Node #0,2,1: 11:[57, 10] Operation: 5*2=10
Exploring Operation: 5+2=7, Resulting Numbers: [57, 7]
Generated Node #0,2,2: 11:[57, 7] Operation: 5+2=7
Exploring Operation: 57-5=52, Resulting Numbers: [2, 52]
Generated Node #0,2,3: 11:[2, 52] Operation: 57-5=52
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 11:[57, 10], Operations: ['60/30=2', '5*2=10']
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,11 unequal: No Solution
Exploring Operation: 57*10=570, Resulting Numbers: [570]
570,11 unequal: No Solution
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,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,2,0
Current State: 11:[5, 55], Operations: ['60/30=2', '57-2=55']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[30, 57, 5, 60], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [57, 5, 2]
Generated Node #0,2: 11:[57, 5, 2] Operation: 60/30=2
Moving to Node #0,2
Current State: 11:[57, 5, 2], Operations: ['60/30=2']
Exploring Operation: 57-2=55, Resulting Numbers: [5, 55]
Generated Node #0,2,0: 11:[5, 55] Operation: 57-2=55
Moving to Node #0,2,0
Current State: 11:[5, 55], Operations: ['60/30=2', '57-2=55']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
9,
54,
70,
68
] | 90 | [
"54-9=45",
"70-68=2",
"45*2=90"
] | Current State: 90:[9, 54, 70, 68], Operations: []
Exploring Operation: 54-9=45, Resulting Numbers: [70, 68, 45]
Generated Node #2: [70, 68, 45] from Operation: 54-9=45
Current State: 90:[70, 68, 45], Operations: ['54-9=45']
Exploring Operation: 70-68=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 70-68=2
Current State: 90:[45, 2], Operations: ['54-9=45', '70-68=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[9, 54, 70, 68], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [9, 54, 2]
Generated Node #0,0: 90:[9, 54, 2] Operation: 70-68=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[9, 54, 2], Operations: ['70-68=2']
Exploring Operation: 54-9=45, Resulting Numbers: [2, 45]
Generated Node #0,0,0: 90:[2, 45] Operation: 54-9=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[2, 45], Operations: ['70-68=2', '54-9=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[9, 54, 70, 68], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [9, 54, 2]
Generated Node #0,0: 90:[9, 54, 2] Operation: 70-68=2
Moving to Node #0,0
Current State: 90:[9, 54, 2], Operations: ['70-68=2']
Exploring Operation: 54-9=45, Resulting Numbers: [2, 45]
Generated Node #0,0,0: 90:[2, 45] Operation: 54-9=45
Moving to Node #0,0,0
Current State: 90:[2, 45], Operations: ['70-68=2', '54-9=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
86,
85,
44,
55
] | 99 | [
"86-85=1",
"44+55=99",
"1*99=99"
] | Current State: 99:[86, 85, 44, 55], Operations: []
Exploring Operation: 86-85=1, Resulting Numbers: [44, 55, 1]
Generated Node #2: [44, 55, 1] from Operation: 86-85=1
Current State: 99:[44, 55, 1], Operations: ['86-85=1']
Exploring Operation: 44+55=99, Resulting Numbers: [1, 99]
Generated Node #3: [1, 99] from Operation: 44+55=99
Current State: 99:[1, 99], Operations: ['86-85=1', '44+55=99']
Exploring Operation: 1*99=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[86, 85, 44, 55], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [86, 44, 30]
Generated Node #0,0: 99:[86, 44, 30] Operation: 85-55=30
Exploring Operation: 86-55=31, Resulting Numbers: [85, 44, 31]
Generated Node #0,1: 99:[85, 44, 31] Operation: 86-55=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[86, 44, 30], Operations: ['85-55=30']
Exploring Operation: 86-44=42, Resulting Numbers: [30, 42]
Generated Node #0,0,0: 99:[30, 42] Operation: 86-44=42
Exploring Operation: 44-30=14, Resulting Numbers: [86, 14]
Generated Node #0,0,1: 99:[86, 14] Operation: 44-30=14
Moving to Node #0,0,0
Current State: 99:[30, 42], Operations: ['85-55=30', '86-44=42']
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,99 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[86, 14], Operations: ['85-55=30', '44-30=14']
Exploring Operation: 86+14=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[85, 44, 31], Operations: ['86-55=31']
Exploring Operation: 85-44=41, Resulting Numbers: [31, 41]
Generated Node #0,1,0: 99:[31, 41] Operation: 85-44=41
Exploring Operation: 44-31=13, Resulting Numbers: [85, 13]
Generated Node #0,1,1: 99:[85, 13] Operation: 44-31=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[31, 41], Operations: ['86-55=31', '85-44=41']
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,99 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,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:[85, 13], Operations: ['86-55=31', '44-31=13']
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
98,
51,
46,
19
] | 19 | [
"98-51=47",
"47-46=1",
"19*1=19"
] | Current State: 19:[98, 51, 46, 19], Operations: []
Exploring Operation: 98-51=47, Resulting Numbers: [46, 19, 47]
Generated Node #2: [46, 19, 47] from Operation: 98-51=47
Current State: 19:[46, 19, 47], Operations: ['98-51=47']
Exploring Operation: 47-46=1, Resulting Numbers: [19, 1]
Generated Node #3: [19, 1] from Operation: 47-46=1
Current State: 19:[19, 1], Operations: ['98-51=47', '47-46=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[98, 51, 46, 19], Operations: []
Exploring Operation: 98-46=52, Resulting Numbers: [51, 19, 52]
Generated Node #0,0: 19:[51, 19, 52] Operation: 98-46=52
Exploring Operation: 51-19=32, Resulting Numbers: [98, 46, 32]
Generated Node #0,1: 19:[98, 46, 32] Operation: 51-19=32
Exploring Operation: 51-46=5, Resulting Numbers: [98, 19, 5]
Generated Node #0,2: 19:[98, 19, 5] Operation: 51-46=5
Exploring Operation: 98-51=47, Resulting Numbers: [46, 19, 47]
Generated Node #0,3: 19:[46, 19, 47] Operation: 98-51=47
Exploring Operation: 98-19=79, Resulting Numbers: [51, 46, 79]
Generated Node #0,4: 19:[51, 46, 79] Operation: 98-19=79
Moving to Node #0,3
Current State: 19:[46, 19, 47], Operations: ['98-51=47']
Exploring Operation: 47-46=1, Resulting Numbers: [19, 1]
Generated Node #0,3,0: 19:[19, 1] Operation: 47-46=1
Exploring Operation: 46+47=93, Resulting Numbers: [19, 93]
Generated Node #0,3,1: 19:[19, 93] Operation: 46+47=93
Exploring Operation: 46-19=27, Resulting Numbers: [47, 27]
Generated Node #0,3,2: 19:[47, 27] Operation: 46-19=27
Exploring Operation: 47-19=28, Resulting Numbers: [46, 28]
Generated Node #0,3,3: 19:[46, 28] Operation: 47-19=28
Exploring Operation: 46+19=65, Resulting Numbers: [47, 65]
Generated Node #0,3,4: 19:[47, 65] Operation: 46+19=65
Moving to Node #0,0
Current State: 19:[51, 19, 52], Operations: ['98-46=52']
Exploring Operation: 52-19=33, Resulting Numbers: [51, 33]
Generated Node #0,0,0: 19:[51, 33] Operation: 52-19=33
Exploring Operation: 51+52=103, Resulting Numbers: [19, 103]
Generated Node #0,0,1: 19:[19, 103] Operation: 51+52=103
Exploring Operation: 52-51=1, Resulting Numbers: [19, 1]
Generated Node #0,0,2: 19:[19, 1] Operation: 52-51=1
Exploring Operation: 51+19=70, Resulting Numbers: [52, 70]
Generated Node #0,0,3: 19:[52, 70] Operation: 51+19=70
Exploring Operation: 51-19=32, Resulting Numbers: [52, 32]
Generated Node #0,0,4: 19:[52, 32] Operation: 51-19=32
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[19, 1], Operations: ['98-46=52', '52-51=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[98, 51, 46, 19], Operations: []
Exploring Operation: 98-46=52, Resulting Numbers: [51, 19, 52]
Generated Node #0,0: 19:[51, 19, 52] Operation: 98-46=52
Moving to Node #0,0
Current State: 19:[51, 19, 52], Operations: ['98-46=52']
Exploring Operation: 52-51=1, Resulting Numbers: [19, 1]
Generated Node #0,0,2: 19:[19, 1] Operation: 52-51=1
Moving to Node #0,0,2
Current State: 19:[19, 1], Operations: ['98-46=52', '52-51=1']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
80,
76,
66,
27
] | 97 | [
"80-76=4",
"66+27=93",
"4+93=97"
] | Current State: 97:[80, 76, 66, 27], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [66, 27, 4]
Generated Node #2: [66, 27, 4] from Operation: 80-76=4
Current State: 97:[66, 27, 4], Operations: ['80-76=4']
Exploring Operation: 66+27=93, Resulting Numbers: [4, 93]
Generated Node #3: [4, 93] from Operation: 66+27=93
Current State: 97:[4, 93], Operations: ['80-76=4', '66+27=93']
Exploring Operation: 4+93=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[80, 76, 66, 27], Operations: []
Exploring Operation: 76+27=103, Resulting Numbers: [80, 66, 103]
Generated Node #0,0: 97:[80, 66, 103] Operation: 76+27=103
Exploring Operation: 80+27=107, Resulting Numbers: [76, 66, 107]
Generated Node #0,1: 97:[76, 66, 107] Operation: 80+27=107
Exploring Operation: 66+27=93, Resulting Numbers: [80, 76, 93]
Generated Node #0,2: 97:[80, 76, 93] Operation: 66+27=93
Exploring Operation: 76-27=49, Resulting Numbers: [80, 66, 49]
Generated Node #0,3: 97:[80, 66, 49] Operation: 76-27=49
Exploring Operation: 80-27=53, Resulting Numbers: [76, 66, 53]
Generated Node #0,4: 97:[76, 66, 53] Operation: 80-27=53
Moving to Node #0,2
Current State: 97:[80, 76, 93], Operations: ['66+27=93']
Exploring Operation: 76+93=169, Resulting Numbers: [80, 169]
Generated Node #0,2,0: 97:[80, 169] Operation: 76+93=169
Exploring Operation: 80-76=4, Resulting Numbers: [93, 4]
Generated Node #0,2,1: 97:[93, 4] Operation: 80-76=4
Exploring Operation: 80+76=156, Resulting Numbers: [93, 156]
Generated Node #0,2,2: 97:[93, 156] Operation: 80+76=156
Exploring Operation: 93-76=17, Resulting Numbers: [80, 17]
Generated Node #0,2,3: 97:[80, 17] Operation: 93-76=17
Exploring Operation: 80+93=173, Resulting Numbers: [76, 173]
Generated Node #0,2,4: 97:[76, 173] Operation: 80+93=173
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[93, 156], Operations: ['66+27=93', '80+76=156']
Exploring Operation: 156-93=63, Resulting Numbers: [63]
63,97 unequal: No Solution
Exploring Operation: 93+156=249, Resulting Numbers: [249]
249,97 unequal: No Solution
Exploring Operation: 93*156=14508, Resulting Numbers: [14508]
14508,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[80, 169], Operations: ['66+27=93', '76+93=169']
Exploring Operation: 80*169=13520, Resulting Numbers: [13520]
13520,97 unequal: No Solution
Exploring Operation: 169-80=89, Resulting Numbers: [89]
89,97 unequal: No Solution
Exploring Operation: 80+169=249, Resulting Numbers: [249]
249,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[93, 4], Operations: ['66+27=93', '80-76=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[80, 76, 66, 27], Operations: []
Exploring Operation: 66+27=93, Resulting Numbers: [80, 76, 93]
Generated Node #0,2: 97:[80, 76, 93] Operation: 66+27=93
Moving to Node #0,2
Current State: 97:[80, 76, 93], Operations: ['66+27=93']
Exploring Operation: 80-76=4, Resulting Numbers: [93, 4]
Generated Node #0,2,1: 97:[93, 4] Operation: 80-76=4
Moving to Node #0,2,1
Current State: 97:[93, 4], Operations: ['66+27=93', '80-76=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
20,
35,
21,
14
] | 62 | [
"20+35=55",
"21-14=7",
"55+7=62"
] | Current State: 62:[20, 35, 21, 14], Operations: []
Exploring Operation: 20+35=55, Resulting Numbers: [21, 14, 55]
Generated Node #2: [21, 14, 55] from Operation: 20+35=55
Current State: 62:[21, 14, 55], Operations: ['20+35=55']
Exploring Operation: 21-14=7, Resulting Numbers: [55, 7]
Generated Node #3: [55, 7] from Operation: 21-14=7
Current State: 62:[55, 7], Operations: ['20+35=55', '21-14=7']
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[20, 35, 21, 14], Operations: []
Exploring Operation: 21-20=1, Resulting Numbers: [35, 14, 1]
Generated Node #0,0: 62:[35, 14, 1] Operation: 21-20=1
Moving to Node #0,0
Current State: 62:[35, 14, 1], Operations: ['21-20=1']
Exploring Operation: 35-14=21, Resulting Numbers: [1, 21]
Generated Node #0,0,0: 62:[1, 21] Operation: 35-14=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[1, 21], Operations: ['21-20=1', '35-14=21']
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
40,
5,
8,
80
] | 15 | [
"40*5=200",
"200-80=120",
"120/8=15"
] | Current State: 15:[40, 5, 8, 80], Operations: []
Exploring Operation: 40*5=200, Resulting Numbers: [8, 80, 200]
Generated Node #2: [8, 80, 200] from Operation: 40*5=200
Current State: 15:[8, 80, 200], Operations: ['40*5=200']
Exploring Operation: 200-80=120, Resulting Numbers: [8, 120]
Generated Node #3: [8, 120] from Operation: 200-80=120
Current State: 15:[8, 120], Operations: ['40*5=200', '200-80=120']
Exploring Operation: 120/8=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[40, 5, 8, 80], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [5, 8, 2]
Generated Node #0,0: 15:[5, 8, 2] Operation: 80/40=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[5, 8, 2], Operations: ['80/40=2']
Exploring Operation: 8-5=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 15:[2, 3] Operation: 8-5=3
Moving to Node #0,0,0
Current State: 15:[2, 3], Operations: ['80/40=2', '8-5=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,15 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 |
[
70,
88,
86,
8
] | 39 | [
"70+8=78",
"88-86=2",
"78/2=39"
] | Current State: 39:[70, 88, 86, 8], Operations: []
Exploring Operation: 70+8=78, Resulting Numbers: [88, 86, 78]
Generated Node #2: [88, 86, 78] from Operation: 70+8=78
Current State: 39:[88, 86, 78], Operations: ['70+8=78']
Exploring Operation: 88-86=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 88-86=2
Current State: 39:[78, 2], Operations: ['70+8=78', '88-86=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[70, 88, 86, 8], Operations: []
Exploring Operation: 70-8=62, Resulting Numbers: [88, 86, 62]
Generated Node #0,0: 39:[88, 86, 62] Operation: 70-8=62
Exploring Operation: 86-70=16, Resulting Numbers: [88, 8, 16]
Generated Node #0,1: 39:[88, 8, 16] Operation: 86-70=16
Exploring Operation: 88-70=18, Resulting Numbers: [86, 8, 18]
Generated Node #0,2: 39:[86, 8, 18] Operation: 88-70=18
Exploring Operation: 88/8=11, Resulting Numbers: [70, 86, 11]
Generated Node #0,3: 39:[70, 86, 11] Operation: 88/8=11
Exploring Operation: 88-86=2, Resulting Numbers: [70, 8, 2]
Generated Node #0,4: 39:[70, 8, 2] Operation: 88-86=2
Moving to Node #0,4
Current State: 39:[70, 8, 2], Operations: ['88-86=2']
Exploring Operation: 70/2=35, Resulting Numbers: [8, 35]
Generated Node #0,4,0: 39:[8, 35] Operation: 70/2=35
Exploring Operation: 8+2=10, Resulting Numbers: [70, 10]
Generated Node #0,4,1: 39:[70, 10] Operation: 8+2=10
Exploring Operation: 8/2=4, Resulting Numbers: [70, 4]
Generated Node #0,4,2: 39:[70, 4] Operation: 8/2=4
Exploring Operation: 70-8=62, Resulting Numbers: [2, 62]
Generated Node #0,4,3: 39:[2, 62] Operation: 70-8=62
Exploring Operation: 70-2=68, Resulting Numbers: [8, 68]
Generated Node #0,4,4: 39:[8, 68] Operation: 70-2=68
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 39:[8, 35], Operations: ['88-86=2', '70/2=35']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 8*35=280, Resulting Numbers: [280]
280,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,4,3
Current State: 39:[2, 62], Operations: ['88-86=2', '70-8=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,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,4,2
Current State: 39:[70, 4], Operations: ['88-86=2', '8/2=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,39 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,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,4,1
Current State: 39:[70, 10], Operations: ['88-86=2', '8+2=10']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,39 unequal: No Solution
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,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,4,4
Current State: 39:[8, 68], Operations: ['88-86=2', '70-2=68']
Exploring Operation: 8*68=544, Resulting Numbers: [544]
544,39 unequal: No Solution
Exploring Operation: 8+68=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,39 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: 39:[86, 8, 18], Operations: ['88-70=18']
Exploring Operation: 8+18=26, Resulting Numbers: [86, 26]
Generated Node #0,2,0: 39:[86, 26] Operation: 8+18=26
Exploring Operation: 86-18=68, Resulting Numbers: [8, 68]
Generated Node #0,2,1: 39:[8, 68] Operation: 86-18=68
Exploring Operation: 18-8=10, Resulting Numbers: [86, 10]
Generated Node #0,2,2: 39:[86, 10] Operation: 18-8=10
Exploring Operation: 86+8=94, Resulting Numbers: [18, 94]
Generated Node #0,2,3: 39:[18, 94] Operation: 86+8=94
Exploring Operation: 86-8=78, Resulting Numbers: [18, 78]
Generated Node #0,2,4: 39:[18, 78] Operation: 86-8=78
Moving to Node #0,1
Current State: 39:[88, 8, 16], Operations: ['86-70=16']
Exploring Operation: 88-8=80, Resulting Numbers: [16, 80]
Generated Node #0,1,0: 39:[16, 80] Operation: 88-8=80
Exploring Operation: 88/8=11, Resulting Numbers: [16, 11]
Generated Node #0,1,1: 39:[16, 11] Operation: 88/8=11
Exploring Operation: 16/8=2, Resulting Numbers: [88, 2]
Generated Node #0,1,2: 39:[88, 2] Operation: 16/8=2
Exploring Operation: 16-8=8, Resulting Numbers: [88, 8]
Generated Node #0,1,3: 39:[88, 8] Operation: 16-8=8
Exploring Operation: 88-16=72, Resulting Numbers: [8, 72]
Generated Node #0,1,4: 39:[8, 72] Operation: 88-16=72
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[16, 11], Operations: ['86-70=16', '88/8=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,39 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 39:[8, 72], Operations: ['86-70=16', '88-16=72']
Exploring Operation: 8*72=576, Resulting Numbers: [576]
576,39 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[16, 80], Operations: ['86-70=16', '88-8=80']
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 16*80=1280, Resulting Numbers: [1280]
1280,39 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 16+80=96, Resulting Numbers: [96]
96,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[88, 2], Operations: ['86-70=16', '16/8=2']
Exploring Operation: 88*2=176, Resulting Numbers: [176]
176,39 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[88, 8], Operations: ['86-70=16', '16-8=8']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,39 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,39 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: 39:[70, 86, 11], Operations: ['88/8=11']
Exploring Operation: 86+11=97, Resulting Numbers: [70, 97]
Generated Node #0,3,0: 39:[70, 97] Operation: 86+11=97
Exploring Operation: 70+11=81, Resulting Numbers: [86, 81]
Generated Node #0,3,1: 39:[86, 81] Operation: 70+11=81
Exploring Operation: 86-11=75, Resulting Numbers: [70, 75]
Generated Node #0,3,2: 39:[70, 75] Operation: 86-11=75
Exploring Operation: 70-11=59, Resulting Numbers: [86, 59]
Generated Node #0,3,3: 39:[86, 59] Operation: 70-11=59
Exploring Operation: 86-70=16, Resulting Numbers: [11, 16]
Generated Node #0,3,4: 39:[11, 16] Operation: 86-70=16
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 39:[11, 16], Operations: ['88/8=11', '86-70=16']
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,39 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,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,3,2
Current State: 39:[70, 75], Operations: ['88/8=11', '86-11=75']
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 70*75=5250, Resulting Numbers: [5250]
5250,39 unequal: No Solution
Exploring Operation: 70+75=145, Resulting Numbers: [145]
145,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,3,3
Current State: 39:[86, 59], Operations: ['88/8=11', '70-11=59']
Exploring Operation: 86+59=145, Resulting Numbers: [145]
145,39 unequal: No Solution
Exploring Operation: 86-59=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 86*59=5074, Resulting Numbers: [5074]
5074,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,3,0
Current State: 39:[70, 97], Operations: ['88/8=11', '86+11=97']
Exploring Operation: 97-70=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 70+97=167, Resulting Numbers: [167]
167,39 unequal: No Solution
Exploring Operation: 70*97=6790, Resulting Numbers: [6790]
6790,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,3,1
Current State: 39:[86, 81], Operations: ['88/8=11', '70+11=81']
Exploring Operation: 86-81=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 86+81=167, Resulting Numbers: [167]
167,39 unequal: No Solution
Exploring Operation: 86*81=6966, Resulting Numbers: [6966]
6966,39 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: 39:[88, 86, 62], Operations: ['70-8=62']
Exploring Operation: 88-86=2, Resulting Numbers: [62, 2]
Generated Node #0,0,0: 39:[62, 2] Operation: 88-86=2
Exploring Operation: 88+62=150, Resulting Numbers: [86, 150]
Generated Node #0,0,1: 39:[86, 150] Operation: 88+62=150
Exploring Operation: 88-62=26, Resulting Numbers: [86, 26]
Generated Node #0,0,2: 39:[86, 26] Operation: 88-62=26
Exploring Operation: 88+86=174, Resulting Numbers: [62, 174]
Generated Node #0,0,3: 39:[62, 174] Operation: 88+86=174
Exploring Operation: 86-62=24, Resulting Numbers: [88, 24]
Generated Node #0,0,4: 39:[88, 24] Operation: 86-62=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[62, 2], Operations: ['70-8=62', '88-86=2']
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,39 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,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,2
Current State: 39:[86, 26], Operations: ['70-8=62', '88-62=26']
Exploring Operation: 86*26=2236, Resulting Numbers: [2236]
2236,39 unequal: No Solution
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 86+26=112, Resulting Numbers: [112]
112,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,4
Current State: 39:[88, 24], Operations: ['70-8=62', '86-62=24']
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 88+24=112, Resulting Numbers: [112]
112,39 unequal: No Solution
Exploring Operation: 88*24=2112, Resulting Numbers: [2112]
2112,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,1
Current State: 39:[86, 150], Operations: ['70-8=62', '88+62=150']
Exploring Operation: 86*150=12900, Resulting Numbers: [12900]
12900,39 unequal: No Solution
Exploring Operation: 150-86=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 86+150=236, Resulting Numbers: [236]
236,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,3
Current State: 39:[62, 174], Operations: ['70-8=62', '88+86=174']
Exploring Operation: 62+174=236, Resulting Numbers: [236]
236,39 unequal: No Solution
Exploring Operation: 174-62=112, Resulting Numbers: [112]
112,39 unequal: No Solution
Exploring Operation: 62*174=10788, Resulting Numbers: [10788]
10788,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 39:[8, 68], Operations: ['88-70=18', '86-18=68']
Exploring Operation: 8*68=544, Resulting Numbers: [544]
544,39 unequal: No Solution
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 8+68=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Moving to Node #0,2,4
Current State: 39:[18, 78], Operations: ['88-70=18', '86-8=78']
Exploring Operation: 18+78=96, Resulting Numbers: [96]
96,39 unequal: No Solution
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 18*78=1404, Resulting Numbers: [1404]
1404,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[86, 10], Operations: ['88-70=18', '18-8=10']
Exploring Operation: 86*10=860, Resulting Numbers: [860]
860,39 unequal: No Solution
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,39 unequal: No Solution
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[86, 26], Operations: ['88-70=18', '8+18=26']
Exploring Operation: 86+26=112, Resulting Numbers: [112]
112,39 unequal: No Solution
Exploring Operation: 86*26=2236, Resulting Numbers: [2236]
2236,39 unequal: No Solution
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[18, 94], Operations: ['88-70=18', '86+8=94']
Exploring Operation: 18+94=112, Resulting Numbers: [112]
112,39 unequal: No Solution
Exploring Operation: 18*94=1692, Resulting Numbers: [1692]
1692,39 unequal: No Solution
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,39 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
28,
38,
38,
25
] | 23 | [
"38-28=10",
"38-25=13",
"10+13=23"
] | Current State: 23:[28, 38, 38, 25], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [25, 10]
Generated Node #2: [25, 10] from Operation: 38-28=10
Current State: 23:[25, 10], Operations: ['38-28=10']
Exploring Operation: 38-25=13, Resulting Numbers: [10, 13]
Generated Node #3: [10, 13] from Operation: 38-25=13
Current State: 23:[10, 13], Operations: ['38-28=10', '38-25=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[28, 38, 38, 25], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [38, 25, 10]
Generated Node #0,0: 23:[38, 25, 10] Operation: 38-28=10
Exploring Operation: 38-28=10, Resulting Numbers: [38, 25, 10]
Generated Node #0,1: 23:[38, 25, 10] Operation: 38-28=10
Exploring Operation: 38/38=1, Resulting Numbers: [28, 25, 1]
Generated Node #0,2: 23:[28, 25, 1] Operation: 38/38=1
Exploring Operation: 38-38=0, Resulting Numbers: [28, 25, 0]
Generated Node #0,3: 23:[28, 25, 0] Operation: 38-38=0
Moving to Node #0,2
Current State: 23:[28, 25, 1], Operations: ['38/38=1']
Exploring Operation: 28/1=28, Resulting Numbers: [25, 28]
Generated Node #0,2,0: 23:[25, 28] Operation: 28/1=28
Exploring Operation: 25-1=24, Resulting Numbers: [28, 24]
Generated Node #0,2,1: 23:[28, 24] Operation: 25-1=24
Exploring Operation: 28*1=28, Resulting Numbers: [25, 28]
Generated Node #0,2,2: 23:[25, 28] Operation: 28*1=28
Exploring Operation: 28-1=27, Resulting Numbers: [25, 27]
Generated Node #0,2,3: 23:[25, 27] Operation: 28-1=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[28, 24], Operations: ['38/38=1', '25-1=24']
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[25, 27], Operations: ['38/38=1', '28-1=27']
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[25, 28], Operations: ['38/38=1', '28/1=28']
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,23 unequal: No Solution
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[25, 28], Operations: ['38/38=1', '28*1=28']
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,23 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: 23:[38, 25, 10], Operations: ['38-28=10']
Exploring Operation: 38+10=48, Resulting Numbers: [25, 48]
Generated Node #0,1,0: 23:[25, 48] Operation: 38+10=48
Exploring Operation: 25-10=15, Resulting Numbers: [38, 15]
Generated Node #0,1,1: 23:[38, 15] Operation: 25-10=15
Exploring Operation: 38-10=28, Resulting Numbers: [25, 28]
Generated Node #0,1,2: 23:[25, 28] Operation: 38-10=28
Exploring Operation: 38-25=13, Resulting Numbers: [10, 13]
Generated Node #0,1,3: 23:[10, 13] Operation: 38-25=13
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[25, 28], Operations: ['38-28=10', '38-10=28']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[38, 15], Operations: ['38-28=10', '25-10=15']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[28, 38, 38, 25], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [38, 25, 10]
Generated Node #0,1: 23:[38, 25, 10] Operation: 38-28=10
Moving to Node #0,1
Current State: 23:[38, 25, 10], Operations: ['38-28=10']
Exploring Operation: 25-10=15, Resulting Numbers: [38, 15]
Generated Node #0,1,1: 23:[38, 15] Operation: 25-10=15
Moving to Node #0,1,1
Current State: 23:[38, 15], Operations: ['38-28=10', '25-10=15']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
50,
52,
27,
33
] | 66 | [
"50*33=1650",
"52-27=25",
"1650/25=66"
] | Current State: 66:[50, 52, 27, 33], Operations: []
Exploring Operation: 50*33=1650, Resulting Numbers: [52, 27, 1650]
Generated Node #2: [52, 27, 1650] from Operation: 50*33=1650
Current State: 66:[52, 27, 1650], Operations: ['50*33=1650']
Exploring Operation: 52-27=25, Resulting Numbers: [1650, 25]
Generated Node #3: [1650, 25] from Operation: 52-27=25
Current State: 66:[1650, 25], Operations: ['50*33=1650', '52-27=25']
Exploring Operation: 1650/25=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[50, 52, 27, 33], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [27, 33, 2]
Generated Node #0,0: 66:[27, 33, 2] Operation: 52-50=2
Exploring Operation: 50-27=23, Resulting Numbers: [52, 33, 23]
Generated Node #0,1: 66:[52, 33, 23] Operation: 50-27=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[27, 33, 2], Operations: ['52-50=2']
Exploring Operation: 27-2=25, Resulting Numbers: [33, 25]
Generated Node #0,0,0: 66:[33, 25] Operation: 27-2=25
Exploring Operation: 33-27=6, Resulting Numbers: [2, 6]
Generated Node #0,0,1: 66:[2, 6] Operation: 33-27=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[2, 6], Operations: ['52-50=2', '33-27=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[33, 25], Operations: ['52-50=2', '27-2=25']
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[52, 33, 23], Operations: ['50-27=23']
Exploring Operation: 52-33=19, Resulting Numbers: [23, 19]
Generated Node #0,1,0: 66:[23, 19] Operation: 52-33=19
Exploring Operation: 52-23=29, Resulting Numbers: [33, 29]
Generated Node #0,1,1: 66:[33, 29] Operation: 52-23=29
Moving to Node #0,1,0
Current State: 66:[23, 19], Operations: ['50-27=23', '52-33=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[33, 29], Operations: ['50-27=23', '52-23=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
60,
21,
34,
58
] | 63 | [
"60-21=39",
"58-34=24",
"39+24=63"
] | Current State: 63:[60, 21, 34, 58], Operations: []
Exploring Operation: 60-21=39, Resulting Numbers: [34, 58, 39]
Generated Node #2: [34, 58, 39] from Operation: 60-21=39
Current State: 63:[34, 58, 39], Operations: ['60-21=39']
Exploring Operation: 58-34=24, Resulting Numbers: [39, 24]
Generated Node #3: [39, 24] from Operation: 58-34=24
Current State: 63:[39, 24], Operations: ['60-21=39', '58-34=24']
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[60, 21, 34, 58], Operations: []
Exploring Operation: 60-34=26, Resulting Numbers: [21, 58, 26]
Generated Node #0,0: 63:[21, 58, 26] Operation: 60-34=26
Exploring Operation: 58-34=24, Resulting Numbers: [60, 21, 24]
Generated Node #0,1: 63:[60, 21, 24] Operation: 58-34=24
Moving to Node #0,1
Current State: 63:[60, 21, 24], Operations: ['58-34=24']
Exploring Operation: 60-24=36, Resulting Numbers: [21, 36]
Generated Node #0,1,0: 63:[21, 36] Operation: 60-24=36
Exploring Operation: 24-21=3, Resulting Numbers: [60, 3]
Generated Node #0,1,1: 63:[60, 3] Operation: 24-21=3
Moving to Node #0,0
Current State: 63:[21, 58, 26], Operations: ['60-34=26']
Exploring Operation: 58-26=32, Resulting Numbers: [21, 32]
Generated Node #0,0,0: 63:[21, 32] Operation: 58-26=32
Exploring Operation: 26-21=5, Resulting Numbers: [58, 5]
Generated Node #0,0,1: 63:[58, 5] Operation: 26-21=5
Moving to Node #0,1,1
Current State: 63:[60, 3], Operations: ['58-34=24', '24-21=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[60, 21, 34, 58], Operations: []
Exploring Operation: 58-34=24, Resulting Numbers: [60, 21, 24]
Generated Node #0,1: 63:[60, 21, 24] Operation: 58-34=24
Moving to Node #0,1
Current State: 63:[60, 21, 24], Operations: ['58-34=24']
Exploring Operation: 24-21=3, Resulting Numbers: [60, 3]
Generated Node #0,1,1: 63:[60, 3] Operation: 24-21=3
Moving to Node #0,1,1
Current State: 63:[60, 3], Operations: ['58-34=24', '24-21=3']
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
37,
15,
59,
77
] | 84 | [
"37+15=52",
"59+77=136",
"136-52=84"
] | Current State: 84:[37, 15, 59, 77], Operations: []
Exploring Operation: 37+15=52, Resulting Numbers: [59, 77, 52]
Generated Node #2: [59, 77, 52] from Operation: 37+15=52
Current State: 84:[59, 77, 52], Operations: ['37+15=52']
Exploring Operation: 59+77=136, Resulting Numbers: [52, 136]
Generated Node #3: [52, 136] from Operation: 59+77=136
Current State: 84:[52, 136], Operations: ['37+15=52', '59+77=136']
Exploring Operation: 136-52=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[37, 15, 59, 77], Operations: []
Exploring Operation: 77-59=18, Resulting Numbers: [37, 15, 18]
Generated Node #0,0: 84:[37, 15, 18] Operation: 77-59=18
Exploring Operation: 77-37=40, Resulting Numbers: [15, 59, 40]
Generated Node #0,1: 84:[15, 59, 40] Operation: 77-37=40
Exploring Operation: 59-15=44, Resulting Numbers: [37, 77, 44]
Generated Node #0,2: 84:[37, 77, 44] Operation: 59-15=44
Exploring Operation: 37+59=96, Resulting Numbers: [15, 77, 96]
Generated Node #0,3: 84:[15, 77, 96] Operation: 37+59=96
Exploring Operation: 59-37=22, Resulting Numbers: [15, 77, 22]
Generated Node #0,4: 84:[15, 77, 22] Operation: 59-37=22
Moving to Node #0,0
Current State: 84:[37, 15, 18], Operations: ['77-59=18']
Exploring Operation: 15+18=33, Resulting Numbers: [37, 33]
Generated Node #0,0,0: 84:[37, 33] Operation: 15+18=33
Exploring Operation: 37-18=19, Resulting Numbers: [15, 19]
Generated Node #0,0,1: 84:[15, 19] Operation: 37-18=19
Exploring Operation: 37-15=22, Resulting Numbers: [18, 22]
Generated Node #0,0,2: 84:[18, 22] Operation: 37-15=22
Exploring Operation: 18-15=3, Resulting Numbers: [37, 3]
Generated Node #0,0,3: 84:[37, 3] Operation: 18-15=3
Exploring Operation: 37+15=52, Resulting Numbers: [18, 52]
Generated Node #0,0,4: 84:[18, 52] Operation: 37+15=52
Moving to Node #0,4
Current State: 84:[15, 77, 22], Operations: ['59-37=22']
Exploring Operation: 22-15=7, Resulting Numbers: [77, 7]
Generated Node #0,4,0: 84:[77, 7] Operation: 22-15=7
Exploring Operation: 77+22=99, Resulting Numbers: [15, 99]
Generated Node #0,4,1: 84:[15, 99] Operation: 77+22=99
Exploring Operation: 15+77=92, Resulting Numbers: [22, 92]
Generated Node #0,4,2: 84:[22, 92] Operation: 15+77=92
Exploring Operation: 77-22=55, Resulting Numbers: [15, 55]
Generated Node #0,4,3: 84:[15, 55] Operation: 77-22=55
Exploring Operation: 15+22=37, Resulting Numbers: [77, 37]
Generated Node #0,4,4: 84:[77, 37] Operation: 15+22=37
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 84:[77, 7], Operations: ['59-37=22', '22-15=7']
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[37, 15, 59, 77], Operations: []
Exploring Operation: 59-37=22, Resulting Numbers: [15, 77, 22]
Generated Node #0,4: 84:[15, 77, 22] Operation: 59-37=22
Moving to Node #0,4
Current State: 84:[15, 77, 22], Operations: ['59-37=22']
Exploring Operation: 22-15=7, Resulting Numbers: [77, 7]
Generated Node #0,4,0: 84:[77, 7] Operation: 22-15=7
Moving to Node #0,4,0
Current State: 84:[77, 7], Operations: ['59-37=22', '22-15=7']
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
39,
74,
4,
70
] | 37 | [
"39-4=35",
"74*35=2590",
"2590/70=37"
] | Current State: 37:[39, 74, 4, 70], Operations: []
Exploring Operation: 39-4=35, Resulting Numbers: [74, 70, 35]
Generated Node #2: [74, 70, 35] from Operation: 39-4=35
Current State: 37:[74, 70, 35], Operations: ['39-4=35']
Exploring Operation: 74*35=2590, Resulting Numbers: [70, 2590]
Generated Node #3: [70, 2590] from Operation: 74*35=2590
Current State: 37:[70, 2590], Operations: ['39-4=35', '74*35=2590']
Exploring Operation: 2590/70=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[39, 74, 4, 70], Operations: []
Exploring Operation: 74-39=35, Resulting Numbers: [4, 70, 35]
Generated Node #0,0: 37:[4, 70, 35] Operation: 74-39=35
Moving to Node #0,0
Current State: 37:[4, 70, 35], Operations: ['74-39=35']
Exploring Operation: 70-4=66, Resulting Numbers: [35, 66]
Generated Node #0,0,0: 37:[35, 66] Operation: 70-4=66
Moving to Node #0,0,0
Current State: 37:[35, 66], Operations: ['74-39=35', '70-4=66']
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,37 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
85,
14,
30,
23
] | 83 | [
"30-23=7",
"14/7=2",
"85-2=83"
] | Current State: 83:[85, 14, 30, 23], Operations: []
Exploring Operation: 30-23=7, Resulting Numbers: [85, 14, 7]
Generated Node #2: [85, 14, 7] from Operation: 30-23=7
Current State: 83:[85, 14, 7], Operations: ['30-23=7']
Exploring Operation: 14/7=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 14/7=2
Current State: 83:[85, 2], Operations: ['30-23=7', '14/7=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[85, 14, 30, 23], Operations: []
Exploring Operation: 14+30=44, Resulting Numbers: [85, 23, 44]
Generated Node #0,0: 83:[85, 23, 44] Operation: 14+30=44
Moving to Node #0,0
Current State: 83:[85, 23, 44], Operations: ['14+30=44']
Exploring Operation: 23+44=67, Resulting Numbers: [85, 67]
Generated Node #0,0,0: 83:[85, 67] Operation: 23+44=67
Moving to Node #0,0,0
Current State: 83:[85, 67], Operations: ['14+30=44', '23+44=67']
Exploring Operation: 85-67=18, Resulting Numbers: [18]
18,83 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
27,
24,
3
] | 84 | [
"27-7=20",
"3*20=60",
"24+60=84"
] | Current State: 84:[7, 27, 24, 3], Operations: []
Exploring Operation: 27-7=20, Resulting Numbers: [24, 3, 20]
Generated Node #2: [24, 3, 20] from Operation: 27-7=20
Current State: 84:[24, 3, 20], Operations: ['27-7=20']
Exploring Operation: 3*20=60, Resulting Numbers: [24, 60]
Generated Node #3: [24, 60] from Operation: 3*20=60
Current State: 84:[24, 60], Operations: ['27-7=20', '3*20=60']
Exploring Operation: 24+60=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[7, 27, 24, 3], Operations: []
Exploring Operation: 27-24=3, Resulting Numbers: [7, 3, 3]
Generated Node #0,0: 84:[7, 3, 3] Operation: 27-24=3
Moving to Node #0,0
Current State: 84:[7, 3, 3], Operations: ['27-24=3']
Exploring Operation: 7*3=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 84:[3, 21] Operation: 7*3=21
Moving to Node #0,0,0
Current State: 84:[3, 21], Operations: ['27-24=3', '7*3=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
32,
48,
19,
16
] | 35 | [
"32*19=608",
"608-48=560",
"560/16=35"
] | Current State: 35:[32, 48, 19, 16], Operations: []
Exploring Operation: 32*19=608, Resulting Numbers: [48, 16, 608]
Generated Node #2: [48, 16, 608] from Operation: 32*19=608
Current State: 35:[48, 16, 608], Operations: ['32*19=608']
Exploring Operation: 608-48=560, Resulting Numbers: [16, 560]
Generated Node #3: [16, 560] from Operation: 608-48=560
Current State: 35:[16, 560], Operations: ['32*19=608', '608-48=560']
Exploring Operation: 560/16=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[32, 48, 19, 16], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [32, 19, 3]
Generated Node #0,0: 35:[32, 19, 3] Operation: 48/16=3
Exploring Operation: 19+16=35, Resulting Numbers: [32, 48, 35]
Generated Node #0,1: 35:[32, 48, 35] Operation: 19+16=35
Moving to Node #0,1
Current State: 35:[32, 48, 35], Operations: ['19+16=35']
Exploring Operation: 48-35=13, Resulting Numbers: [32, 13]
Generated Node #0,1,0: 35:[32, 13] Operation: 48-35=13
Exploring Operation: 48-32=16, Resulting Numbers: [35, 16]
Generated Node #0,1,1: 35:[35, 16] Operation: 48-32=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[32, 13], Operations: ['19+16=35', '48-35=13']
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,35 unequal: No Solution
No 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: 35:[35, 16], Operations: ['19+16=35', '48-32=16']
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,35 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: 35:[32, 19, 3], Operations: ['48/16=3']
Exploring Operation: 32+3=35, Resulting Numbers: [19, 35]
Generated Node #0,0,0: 35:[19, 35] Operation: 32+3=35
Exploring Operation: 32-19=13, Resulting Numbers: [3, 13]
Generated Node #0,0,1: 35:[3, 13] Operation: 32-19=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[3, 13], Operations: ['48/16=3', '32-19=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,35 unequal: No Solution
No 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: 35:[19, 35], Operations: ['48/16=3', '32+3=35']
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,35 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 |
[
57,
39,
27,
40
] | 52 | [
"57-27=30",
"39*40=1560",
"1560/30=52"
] | Current State: 52:[57, 39, 27, 40], Operations: []
Exploring Operation: 57-27=30, Resulting Numbers: [39, 40, 30]
Generated Node #2: [39, 40, 30] from Operation: 57-27=30
Current State: 52:[39, 40, 30], Operations: ['57-27=30']
Exploring Operation: 39*40=1560, Resulting Numbers: [30, 1560]
Generated Node #3: [30, 1560] from Operation: 39*40=1560
Current State: 52:[30, 1560], Operations: ['57-27=30', '39*40=1560']
Exploring Operation: 1560/30=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[57, 39, 27, 40], Operations: []
Exploring Operation: 40-39=1, Resulting Numbers: [57, 27, 1]
Generated Node #0,0: 52:[57, 27, 1] Operation: 40-39=1
Moving to Node #0,0
Current State: 52:[57, 27, 1], Operations: ['40-39=1']
Exploring Operation: 57-27=30, Resulting Numbers: [1, 30]
Generated Node #0,0,0: 52:[1, 30] Operation: 57-27=30
Moving to Node #0,0,0
Current State: 52:[1, 30], Operations: ['40-39=1', '57-27=30']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,52 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
41,
72,
60,
4
] | 57 | [
"41+72=113",
"60-4=56",
"113-56=57"
] | Current State: 57:[41, 72, 60, 4], Operations: []
Exploring Operation: 41+72=113, Resulting Numbers: [60, 4, 113]
Generated Node #2: [60, 4, 113] from Operation: 41+72=113
Current State: 57:[60, 4, 113], Operations: ['41+72=113']
Exploring Operation: 60-4=56, Resulting Numbers: [113, 56]
Generated Node #3: [113, 56] from Operation: 60-4=56
Current State: 57:[113, 56], Operations: ['41+72=113', '60-4=56']
Exploring Operation: 113-56=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[41, 72, 60, 4], Operations: []
Exploring Operation: 72-41=31, Resulting Numbers: [60, 4, 31]
Generated Node #0,0: 57:[60, 4, 31] Operation: 72-41=31
Moving to Node #0,0
Current State: 57:[60, 4, 31], Operations: ['72-41=31']
Exploring Operation: 60-31=29, Resulting Numbers: [4, 29]
Generated Node #0,0,0: 57:[4, 29] Operation: 60-31=29
Moving to Node #0,0,0
Current State: 57:[4, 29], Operations: ['72-41=31', '60-31=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,57 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
83,
16,
34,
70
] | 63 | [
"83+16=99",
"70-34=36",
"99-36=63"
] | Current State: 63:[83, 16, 34, 70], Operations: []
Exploring Operation: 83+16=99, Resulting Numbers: [34, 70, 99]
Generated Node #2: [34, 70, 99] from Operation: 83+16=99
Current State: 63:[34, 70, 99], Operations: ['83+16=99']
Exploring Operation: 70-34=36, Resulting Numbers: [99, 36]
Generated Node #3: [99, 36] from Operation: 70-34=36
Current State: 63:[99, 36], Operations: ['83+16=99', '70-34=36']
Exploring Operation: 99-36=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[83, 16, 34, 70], Operations: []
Exploring Operation: 83-70=13, Resulting Numbers: [16, 34, 13]
Generated Node #0,0: 63:[16, 34, 13] Operation: 83-70=13
Exploring Operation: 16+34=50, Resulting Numbers: [83, 70, 50]
Generated Node #0,1: 63:[83, 70, 50] Operation: 16+34=50
Exploring Operation: 83-34=49, Resulting Numbers: [16, 70, 49]
Generated Node #0,2: 63:[16, 70, 49] Operation: 83-34=49
Exploring Operation: 34-16=18, Resulting Numbers: [83, 70, 18]
Generated Node #0,3: 63:[83, 70, 18] Operation: 34-16=18
Exploring Operation: 83-16=67, Resulting Numbers: [34, 70, 67]
Generated Node #0,4: 63:[34, 70, 67] Operation: 83-16=67
Moving to Node #0,0
Current State: 63:[16, 34, 13], Operations: ['83-70=13']
Exploring Operation: 16+13=29, Resulting Numbers: [34, 29]
Generated Node #0,0,0: 63:[34, 29] Operation: 16+13=29
Exploring Operation: 16+34=50, Resulting Numbers: [13, 50]
Generated Node #0,0,1: 63:[13, 50] Operation: 16+34=50
Exploring Operation: 34-13=21, Resulting Numbers: [16, 21]
Generated Node #0,0,2: 63:[16, 21] Operation: 34-13=21
Exploring Operation: 16-13=3, Resulting Numbers: [34, 3]
Generated Node #0,0,3: 63:[34, 3] Operation: 16-13=3
Exploring Operation: 34-16=18, Resulting Numbers: [13, 18]
Generated Node #0,0,4: 63:[13, 18] Operation: 34-16=18
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[16, 21], Operations: ['83-70=13', '34-13=21']
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,63 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 63:[13, 18], Operations: ['83-70=13', '34-16=18']
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,63 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 63:[34, 3], Operations: ['83-70=13', '16-13=3']
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,63 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[13, 50], Operations: ['83-70=13', '16+34=50']
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,63 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[83, 16, 34, 70], Operations: []
Exploring Operation: 83-70=13, Resulting Numbers: [16, 34, 13]
Generated Node #0,0: 63:[16, 34, 13] Operation: 83-70=13
Moving to Node #0,0
Current State: 63:[16, 34, 13], Operations: ['83-70=13']
Exploring Operation: 16+34=50, Resulting Numbers: [13, 50]
Generated Node #0,0,1: 63:[13, 50] Operation: 16+34=50
Moving to Node #0,0,1
Current State: 63:[13, 50], Operations: ['83-70=13', '16+34=50']
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
19,
26,
78,
8
] | 14 | [
"19-8=11",
"78/26=3",
"11+3=14"
] | Current State: 14:[19, 26, 78, 8], Operations: []
Exploring Operation: 19-8=11, Resulting Numbers: [26, 78, 11]
Generated Node #2: [26, 78, 11] from Operation: 19-8=11
Current State: 14:[26, 78, 11], Operations: ['19-8=11']
Exploring Operation: 78/26=3, Resulting Numbers: [11, 3]
Generated Node #3: [11, 3] from Operation: 78/26=3
Current State: 14:[11, 3], Operations: ['19-8=11', '78/26=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[19, 26, 78, 8], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [19, 8, 3]
Generated Node #0,0: 14:[19, 8, 3] Operation: 78/26=3
Exploring Operation: 78-26=52, Resulting Numbers: [19, 8, 52]
Generated Node #0,1: 14:[19, 8, 52] Operation: 78-26=52
Exploring Operation: 78-19=59, Resulting Numbers: [26, 8, 59]
Generated Node #0,2: 14:[26, 8, 59] Operation: 78-19=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[19, 8, 3], Operations: ['78/26=3']
Exploring Operation: 8-3=5, Resulting Numbers: [19, 5]
Generated Node #0,0,0: 14:[19, 5] Operation: 8-3=5
Exploring Operation: 19-3=16, Resulting Numbers: [8, 16]
Generated Node #0,0,1: 14:[8, 16] Operation: 19-3=16
Exploring Operation: 19-8=11, Resulting Numbers: [3, 11]
Generated Node #0,0,2: 14:[3, 11] Operation: 19-8=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[8, 16], Operations: ['78/26=3', '19-3=16']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 14:[3, 11], Operations: ['78/26=3', '19-8=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[19, 26, 78, 8], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [19, 8, 3]
Generated Node #0,0: 14:[19, 8, 3] Operation: 78/26=3
Moving to Node #0,0
Current State: 14:[19, 8, 3], Operations: ['78/26=3']
Exploring Operation: 19-8=11, Resulting Numbers: [3, 11]
Generated Node #0,0,2: 14:[3, 11] Operation: 19-8=11
Moving to Node #0,0,2
Current State: 14:[3, 11], Operations: ['78/26=3', '19-8=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
7,
17,
45,
89
] | 85 | [
"45-17=28",
"28/7=4",
"89-4=85"
] | Current State: 85:[7, 17, 45, 89], Operations: []
Exploring Operation: 45-17=28, Resulting Numbers: [7, 89, 28]
Generated Node #2: [7, 89, 28] from Operation: 45-17=28
Current State: 85:[7, 89, 28], Operations: ['45-17=28']
Exploring Operation: 28/7=4, Resulting Numbers: [89, 4]
Generated Node #3: [89, 4] from Operation: 28/7=4
Current State: 85:[89, 4], Operations: ['45-17=28', '28/7=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[7, 17, 45, 89], Operations: []
Exploring Operation: 45-17=28, Resulting Numbers: [7, 89, 28]
Generated Node #0,0: 85:[7, 89, 28] Operation: 45-17=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[7, 89, 28], Operations: ['45-17=28']
Exploring Operation: 28/7=4, Resulting Numbers: [89, 4]
Generated Node #0,0,0: 85:[89, 4] Operation: 28/7=4
Moving to Node #0,0,0
Current State: 85:[89, 4], Operations: ['45-17=28', '28/7=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[7, 17, 45, 89], Operations: []
Exploring Operation: 45-17=28, Resulting Numbers: [7, 89, 28]
Generated Node #0,0: 85:[7, 89, 28] Operation: 45-17=28
Moving to Node #0,0
Current State: 85:[7, 89, 28], Operations: ['45-17=28']
Exploring Operation: 28/7=4, Resulting Numbers: [89, 4]
Generated Node #0,0,0: 85:[89, 4] Operation: 28/7=4
Moving to Node #0,0,0
Current State: 85:[89, 4], Operations: ['45-17=28', '28/7=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
92,
45,
20,
43
] | 24 | [
"92-45=47",
"43-20=23",
"47-23=24"
] | Current State: 24:[92, 45, 20, 43], Operations: []
Exploring Operation: 92-45=47, Resulting Numbers: [20, 43, 47]
Generated Node #2: [20, 43, 47] from Operation: 92-45=47
Current State: 24:[20, 43, 47], Operations: ['92-45=47']
Exploring Operation: 43-20=23, Resulting Numbers: [47, 23]
Generated Node #3: [47, 23] from Operation: 43-20=23
Current State: 24:[47, 23], Operations: ['92-45=47', '43-20=23']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[92, 45, 20, 43], Operations: []
Exploring Operation: 92-45=47, Resulting Numbers: [20, 43, 47]
Generated Node #0,0: 24:[20, 43, 47] Operation: 92-45=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[20, 43, 47], Operations: ['92-45=47']
Exploring Operation: 47-43=4, Resulting Numbers: [20, 4]
Generated Node #0,0,0: 24:[20, 4] Operation: 47-43=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[20, 4], Operations: ['92-45=47', '47-43=4']
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[92, 45, 20, 43], Operations: []
Exploring Operation: 92-45=47, Resulting Numbers: [20, 43, 47]
Generated Node #0,0: 24:[20, 43, 47] Operation: 92-45=47
Moving to Node #0,0
Current State: 24:[20, 43, 47], Operations: ['92-45=47']
Exploring Operation: 47-43=4, Resulting Numbers: [20, 4]
Generated Node #0,0,0: 24:[20, 4] Operation: 47-43=4
Moving to Node #0,0,0
Current State: 24:[20, 4], Operations: ['92-45=47', '47-43=4']
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
45,
44,
12,
5
] | 16 | [
"45-44=1",
"12+5=17",
"17-1=16"
] | Current State: 16:[45, 44, 12, 5], Operations: []
Exploring Operation: 45-44=1, Resulting Numbers: [12, 5, 1]
Generated Node #2: [12, 5, 1] from Operation: 45-44=1
Current State: 16:[12, 5, 1], Operations: ['45-44=1']
Exploring Operation: 12+5=17, Resulting Numbers: [1, 17]
Generated Node #3: [1, 17] from Operation: 12+5=17
Current State: 16:[1, 17], Operations: ['45-44=1', '12+5=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[45, 44, 12, 5], Operations: []
Exploring Operation: 45-44=1, Resulting Numbers: [12, 5, 1]
Generated Node #0,0: 16:[12, 5, 1] Operation: 45-44=1
Moving to Node #0,0
Current State: 16:[12, 5, 1], Operations: ['45-44=1']
Exploring Operation: 12+5=17, Resulting Numbers: [1, 17]
Generated Node #0,0,0: 16:[1, 17] Operation: 12+5=17
Moving to Node #0,0,0
Current State: 16:[1, 17], Operations: ['45-44=1', '12+5=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[45, 44, 12, 5], Operations: []
Exploring Operation: 45-44=1, Resulting Numbers: [12, 5, 1]
Generated Node #0,0: 16:[12, 5, 1] Operation: 45-44=1
Moving to Node #0,0
Current State: 16:[12, 5, 1], Operations: ['45-44=1']
Exploring Operation: 12+5=17, Resulting Numbers: [1, 17]
Generated Node #0,0,0: 16:[1, 17] Operation: 12+5=17
Moving to Node #0,0,0
Current State: 16:[1, 17], Operations: ['45-44=1', '12+5=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
38,
21,
53,
92
] | 56 | [
"38-21=17",
"92-53=39",
"17+39=56"
] | Current State: 56:[38, 21, 53, 92], Operations: []
Exploring Operation: 38-21=17, Resulting Numbers: [53, 92, 17]
Generated Node #2: [53, 92, 17] from Operation: 38-21=17
Current State: 56:[53, 92, 17], Operations: ['38-21=17']
Exploring Operation: 92-53=39, Resulting Numbers: [17, 39]
Generated Node #3: [17, 39] from Operation: 92-53=39
Current State: 56:[17, 39], Operations: ['38-21=17', '92-53=39']
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[38, 21, 53, 92], Operations: []
Exploring Operation: 92-38=54, Resulting Numbers: [21, 53, 54]
Generated Node #0,0: 56:[21, 53, 54] Operation: 92-38=54
Exploring Operation: 92-21=71, Resulting Numbers: [38, 53, 71]
Generated Node #0,1: 56:[38, 53, 71] Operation: 92-21=71
Moving to Node #0,0
Current State: 56:[21, 53, 54], Operations: ['92-38=54']
Exploring Operation: 54-21=33, Resulting Numbers: [53, 33]
Generated Node #0,0,0: 56:[53, 33] Operation: 54-21=33
Exploring Operation: 53-21=32, Resulting Numbers: [54, 32]
Generated Node #0,0,1: 56:[54, 32] Operation: 53-21=32
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[54, 32], Operations: ['92-38=54', '53-21=32']
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,56 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[53, 33], Operations: ['92-38=54', '54-21=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,56 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,56 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: 56:[38, 53, 71], Operations: ['92-21=71']
Exploring Operation: 71-38=33, Resulting Numbers: [53, 33]
Generated Node #0,1,0: 56:[53, 33] Operation: 71-38=33
Exploring Operation: 71-53=18, Resulting Numbers: [38, 18]
Generated Node #0,1,1: 56:[38, 18] Operation: 71-53=18
Moving to Node #0,1,0
Current State: 56:[53, 33], Operations: ['92-21=71', '71-38=33']
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[38, 18], Operations: ['92-21=71', '71-53=18']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[38, 21, 53, 92], Operations: []
Exploring Operation: 92-21=71, Resulting Numbers: [38, 53, 71]
Generated Node #0,1: 56:[38, 53, 71] Operation: 92-21=71
Moving to Node #0,1
Current State: 56:[38, 53, 71], Operations: ['92-21=71']
Exploring Operation: 71-53=18, Resulting Numbers: [38, 18]
Generated Node #0,1,1: 56:[38, 18] Operation: 71-53=18
Moving to Node #0,1,1
Current State: 56:[38, 18], Operations: ['92-21=71', '71-53=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.984375 | hs_2 | sum_heuristic |
[
95,
85,
40,
22
] | 18 | [
"95-85=10",
"40/10=4",
"22-4=18"
] | Current State: 18:[95, 85, 40, 22], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [40, 22, 10]
Generated Node #2: [40, 22, 10] from Operation: 95-85=10
Current State: 18:[40, 22, 10], Operations: ['95-85=10']
Exploring Operation: 40/10=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 40/10=4
Current State: 18:[22, 4], Operations: ['95-85=10', '40/10=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[95, 85, 40, 22], Operations: []
Exploring Operation: 85-40=45, Resulting Numbers: [95, 22, 45]
Generated Node #0,0: 18:[95, 22, 45] Operation: 85-40=45
Exploring Operation: 95-85=10, Resulting Numbers: [40, 22, 10]
Generated Node #0,1: 18:[40, 22, 10] Operation: 95-85=10
Exploring Operation: 95-22=73, Resulting Numbers: [85, 40, 73]
Generated Node #0,2: 18:[85, 40, 73] Operation: 95-22=73
Exploring Operation: 95-40=55, Resulting Numbers: [85, 22, 55]
Generated Node #0,3: 18:[85, 22, 55] Operation: 95-40=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[40, 22, 10], Operations: ['95-85=10']
Exploring Operation: 40-10=30, Resulting Numbers: [22, 30]
Generated Node #0,1,0: 18:[22, 30] Operation: 40-10=30
Exploring Operation: 22-10=12, Resulting Numbers: [40, 12]
Generated Node #0,1,1: 18:[40, 12] Operation: 22-10=12
Exploring Operation: 40-22=18, Resulting Numbers: [10, 18]
Generated Node #0,1,2: 18:[10, 18] Operation: 40-22=18
Exploring Operation: 40/10=4, Resulting Numbers: [22, 4]
Generated Node #0,1,3: 18:[22, 4] Operation: 40/10=4
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 18:[10, 18], Operations: ['95-85=10', '40-22=18']
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,18 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 18:[22, 4], Operations: ['95-85=10', '40/10=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[95, 85, 40, 22], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [40, 22, 10]
Generated Node #0,1: 18:[40, 22, 10] Operation: 95-85=10
Moving to Node #0,1
Current State: 18:[40, 22, 10], Operations: ['95-85=10']
Exploring Operation: 40/10=4, Resulting Numbers: [22, 4]
Generated Node #0,1,3: 18:[22, 4] Operation: 40/10=4
Moving to Node #0,1,3
Current State: 18:[22, 4], Operations: ['95-85=10', '40/10=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
38,
9,
84,
57
] | 99 | [
"84-38=46",
"57-46=11",
"9*11=99"
] | Current State: 99:[38, 9, 84, 57], Operations: []
Exploring Operation: 84-38=46, Resulting Numbers: [9, 57, 46]
Generated Node #2: [9, 57, 46] from Operation: 84-38=46
Current State: 99:[9, 57, 46], Operations: ['84-38=46']
Exploring Operation: 57-46=11, Resulting Numbers: [9, 11]
Generated Node #3: [9, 11] from Operation: 57-46=11
Current State: 99:[9, 11], Operations: ['84-38=46', '57-46=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[38, 9, 84, 57], Operations: []
Exploring Operation: 38+57=95, Resulting Numbers: [9, 84, 95]
Generated Node #0,0: 99:[9, 84, 95] Operation: 38+57=95
Exploring Operation: 84-57=27, Resulting Numbers: [38, 9, 27]
Generated Node #0,1: 99:[38, 9, 27] Operation: 84-57=27
Moving to Node #0,1
Current State: 99:[38, 9, 27], Operations: ['84-57=27']
Exploring Operation: 27/9=3, Resulting Numbers: [38, 3]
Generated Node #0,1,0: 99:[38, 3] Operation: 27/9=3
Exploring Operation: 38-27=11, Resulting Numbers: [9, 11]
Generated Node #0,1,1: 99:[9, 11] Operation: 38-27=11
Moving to Node #0,0
Current State: 99:[9, 84, 95], Operations: ['38+57=95']
Exploring Operation: 9+84=93, Resulting Numbers: [95, 93]
Generated Node #0,0,0: 99:[95, 93] Operation: 9+84=93
Exploring Operation: 95-84=11, Resulting Numbers: [9, 11]
Generated Node #0,0,1: 99:[9, 11] Operation: 95-84=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[9, 11], Operations: ['38+57=95', '95-84=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[38, 9, 84, 57], Operations: []
Exploring Operation: 38+57=95, Resulting Numbers: [9, 84, 95]
Generated Node #0,0: 99:[9, 84, 95] Operation: 38+57=95
Moving to Node #0,0
Current State: 99:[9, 84, 95], Operations: ['38+57=95']
Exploring Operation: 95-84=11, Resulting Numbers: [9, 11]
Generated Node #0,0,1: 99:[9, 11] Operation: 95-84=11
Moving to Node #0,0,1
Current State: 99:[9, 11], Operations: ['38+57=95', '95-84=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
2,
53,
75,
91
] | 71 | [
"2+53=55",
"91-75=16",
"55+16=71"
] | Current State: 71:[2, 53, 75, 91], Operations: []
Exploring Operation: 2+53=55, Resulting Numbers: [75, 91, 55]
Generated Node #2: [75, 91, 55] from Operation: 2+53=55
Current State: 71:[75, 91, 55], Operations: ['2+53=55']
Exploring Operation: 91-75=16, Resulting Numbers: [55, 16]
Generated Node #3: [55, 16] from Operation: 91-75=16
Current State: 71:[55, 16], Operations: ['2+53=55', '91-75=16']
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[2, 53, 75, 91], Operations: []
Exploring Operation: 2+53=55, Resulting Numbers: [75, 91, 55]
Generated Node #0,0: 71:[75, 91, 55] Operation: 2+53=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[75, 91, 55], Operations: ['2+53=55']
Exploring Operation: 91-55=36, Resulting Numbers: [75, 36]
Generated Node #0,0,0: 71:[75, 36] Operation: 91-55=36
Moving to Node #0,0,0
Current State: 71:[75, 36], Operations: ['2+53=55', '91-55=36']
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,71 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 |
[
67,
69,
18,
18
] | 27 | [
"69-67=2",
"18/2=9",
"18+9=27"
] | Current State: 27:[67, 69, 18, 18], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [18, 18, 2]
Generated Node #2: [18, 18, 2] from Operation: 69-67=2
Current State: 27:[18, 18, 2], Operations: ['69-67=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,27 equal: Goal Reached
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[67, 69, 18, 18], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [18, 18, 2]
Generated Node #0,0: 27:[18, 18, 2] Operation: 69-67=2
Moving to Node #0,0
Current State: 27:[18, 18, 2], Operations: ['69-67=2']
Exploring Operation: 18/18=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 27:[2, 1] Operation: 18/18=1
Moving to Node #0,0,0
Current State: 27:[2, 1], Operations: ['69-67=2', '18/18=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,27 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
88,
44,
75,
67
] | 55 | [
"75-67=8",
"88/8=11",
"44+11=55"
] | Current State: 55:[88, 44, 75, 67], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [88, 44, 8]
Generated Node #2: [88, 44, 8] from Operation: 75-67=8
Current State: 55:[88, 44, 8], Operations: ['75-67=8']
Exploring Operation: 88/8=11, Resulting Numbers: [44, 11]
Generated Node #3: [44, 11] from Operation: 88/8=11
Current State: 55:[44, 11], Operations: ['75-67=8', '88/8=11']
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[88, 44, 75, 67], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [44, 67, 13]
Generated Node #0,0: 55:[44, 67, 13] Operation: 88-75=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[44, 67, 13], Operations: ['88-75=13']
Exploring Operation: 67-13=54, Resulting Numbers: [44, 54]
Generated Node #0,0,0: 55:[44, 54] Operation: 67-13=54
Moving to Node #0,0,0
Current State: 55:[44, 54], Operations: ['88-75=13', '67-13=54']
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,55 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 |
[
72,
43,
15,
88
] | 69 | [
"88-43=45",
"45/15=3",
"72-3=69"
] | Current State: 69:[72, 43, 15, 88], Operations: []
Exploring Operation: 88-43=45, Resulting Numbers: [72, 15, 45]
Generated Node #2: [72, 15, 45] from Operation: 88-43=45
Current State: 69:[72, 15, 45], Operations: ['88-43=45']
Exploring Operation: 45/15=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 45/15=3
Current State: 69:[72, 3], Operations: ['88-43=45', '45/15=3']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[72, 43, 15, 88], Operations: []
Exploring Operation: 43-15=28, Resulting Numbers: [72, 88, 28]
Generated Node #0,0: 69:[72, 88, 28] Operation: 43-15=28
Exploring Operation: 88-15=73, Resulting Numbers: [72, 43, 73]
Generated Node #0,1: 69:[72, 43, 73] Operation: 88-15=73
Exploring Operation: 72-43=29, Resulting Numbers: [15, 88, 29]
Generated Node #0,2: 69:[15, 88, 29] Operation: 72-43=29
Moving to Node #0,0
Current State: 69:[72, 88, 28], Operations: ['43-15=28']
Exploring Operation: 72-28=44, Resulting Numbers: [88, 44]
Generated Node #0,0,0: 69:[88, 44] Operation: 72-28=44
Exploring Operation: 88-28=60, Resulting Numbers: [72, 60]
Generated Node #0,0,1: 69:[72, 60] Operation: 88-28=60
Exploring Operation: 88-72=16, Resulting Numbers: [28, 16]
Generated Node #0,0,2: 69:[28, 16] Operation: 88-72=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[72, 60], Operations: ['43-15=28', '88-28=60']
Exploring Operation: 72*60=4320, Resulting Numbers: [4320]
4320,69 unequal: No Solution
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 72+60=132, Resulting Numbers: [132]
132,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[28, 16], Operations: ['43-15=28', '88-72=16']
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,69 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[88, 44], Operations: ['43-15=28', '72-28=44']
Exploring Operation: 88+44=132, Resulting Numbers: [132]
132,69 unequal: No Solution
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,69 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: 69:[72, 43, 73], Operations: ['88-15=73']
Exploring Operation: 72-43=29, Resulting Numbers: [73, 29]
Generated Node #0,1,0: 69:[73, 29] Operation: 72-43=29
Exploring Operation: 73-43=30, Resulting Numbers: [72, 30]
Generated Node #0,1,1: 69:[72, 30] Operation: 73-43=30
Exploring Operation: 73-72=1, Resulting Numbers: [43, 1]
Generated Node #0,1,2: 69:[43, 1] Operation: 73-72=1
Moving to Node #0,2
Current State: 69:[15, 88, 29], Operations: ['72-43=29']
Exploring Operation: 88-29=59, Resulting Numbers: [15, 59]
Generated Node #0,2,0: 69:[15, 59] Operation: 88-29=59
Exploring Operation: 88-15=73, Resulting Numbers: [29, 73]
Generated Node #0,2,1: 69:[29, 73] Operation: 88-15=73
Exploring Operation: 29-15=14, Resulting Numbers: [88, 14]
Generated Node #0,2,2: 69:[88, 14] Operation: 29-15=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[29, 73], Operations: ['72-43=29', '88-15=73']
Exploring Operation: 29*73=2117, Resulting Numbers: [2117]
2117,69 unequal: No Solution
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 29+73=102, Resulting Numbers: [102]
102,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[15, 59], Operations: ['72-43=29', '88-29=59']
Exploring Operation: 15*59=885, Resulting Numbers: [885]
885,69 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[88, 14], Operations: ['72-43=29', '29-15=14']
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,69 unequal: No Solution
Exploring Operation: 88+14=102, Resulting Numbers: [102]
102,69 unequal: No Solution
Exploring Operation: 88*14=1232, Resulting Numbers: [1232]
1232,69 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: 69:[73, 29], Operations: ['88-15=73', '72-43=29']
Exploring Operation: 73*29=2117, Resulting Numbers: [2117]
2117,69 unequal: No Solution
Exploring Operation: 73+29=102, Resulting Numbers: [102]
102,69 unequal: No Solution
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[72, 30], Operations: ['88-15=73', '73-43=30']
Exploring Operation: 72+30=102, Resulting Numbers: [102]
102,69 unequal: No Solution
Exploring Operation: 72-30=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Exploring Operation: 72*30=2160, Resulting Numbers: [2160]
2160,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[43, 1], Operations: ['88-15=73', '73-72=1']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,69 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
21,
48,
57,
3
] | 59 | [
"21+3=24",
"48/24=2",
"57+2=59"
] | Current State: 59:[21, 48, 57, 3], Operations: []
Exploring Operation: 21+3=24, Resulting Numbers: [48, 57, 24]
Generated Node #2: [48, 57, 24] from Operation: 21+3=24
Current State: 59:[48, 57, 24], Operations: ['21+3=24']
Exploring Operation: 48/24=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 48/24=2
Current State: 59:[57, 2], Operations: ['21+3=24', '48/24=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[21, 48, 57, 3], Operations: []
Exploring Operation: 21*3=63, Resulting Numbers: [48, 57, 63]
Generated Node #0,0: 59:[48, 57, 63] Operation: 21*3=63
Moving to Node #0,0
Current State: 59:[48, 57, 63], Operations: ['21*3=63']
Exploring Operation: 63-48=15, Resulting Numbers: [57, 15]
Generated Node #0,0,0: 59:[57, 15] Operation: 63-48=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[57, 15], Operations: ['21*3=63', '63-48=15']
Exploring Operation: 57+15=72, Resulting Numbers: [72]
72,59 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 |
[
69,
35,
44,
2
] | 96 | [
"69+35=104",
"104/2=52",
"44+52=96"
] | Current State: 96:[69, 35, 44, 2], Operations: []
Exploring Operation: 69+35=104, Resulting Numbers: [44, 2, 104]
Generated Node #2: [44, 2, 104] from Operation: 69+35=104
Current State: 96:[44, 2, 104], Operations: ['69+35=104']
Exploring Operation: 104/2=52, Resulting Numbers: [44, 52]
Generated Node #3: [44, 52] from Operation: 104/2=52
Current State: 96:[44, 52], Operations: ['69+35=104', '104/2=52']
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[69, 35, 44, 2], Operations: []
Exploring Operation: 69+35=104, Resulting Numbers: [44, 2, 104]
Generated Node #0,0: 96:[44, 2, 104] Operation: 69+35=104
Exploring Operation: 69-44=25, Resulting Numbers: [35, 2, 25]
Generated Node #0,1: 96:[35, 2, 25] Operation: 69-44=25
Exploring Operation: 69+44=113, Resulting Numbers: [35, 2, 113]
Generated Node #0,2: 96:[35, 2, 113] Operation: 69+44=113
Exploring Operation: 69-35=34, Resulting Numbers: [44, 2, 34]
Generated Node #0,3: 96:[44, 2, 34] Operation: 69-35=34
Moving to Node #0,1
Current State: 96:[35, 2, 25], Operations: ['69-44=25']
Exploring Operation: 25-2=23, Resulting Numbers: [35, 23]
Generated Node #0,1,0: 96:[35, 23] Operation: 25-2=23
Exploring Operation: 35-2=33, Resulting Numbers: [25, 33]
Generated Node #0,1,1: 96:[25, 33] Operation: 35-2=33
Exploring Operation: 2*25=50, Resulting Numbers: [35, 50]
Generated Node #0,1,2: 96:[35, 50] Operation: 2*25=50
Exploring Operation: 35-25=10, Resulting Numbers: [2, 10]
Generated Node #0,1,3: 96:[2, 10] Operation: 35-25=10
Moving to Node #0,3
Current State: 96:[44, 2, 34], Operations: ['69-35=34']
Exploring Operation: 44-34=10, Resulting Numbers: [2, 10]
Generated Node #0,3,0: 96:[2, 10] Operation: 44-34=10
Exploring Operation: 44/2=22, Resulting Numbers: [34, 22]
Generated Node #0,3,1: 96:[34, 22] Operation: 44/2=22
Exploring Operation: 44+2=46, Resulting Numbers: [34, 46]
Generated Node #0,3,2: 96:[34, 46] Operation: 44+2=46
Exploring Operation: 34-2=32, Resulting Numbers: [44, 32]
Generated Node #0,3,3: 96:[44, 32] Operation: 34-2=32
Moving to Node #0,0
Current State: 96:[44, 2, 104], Operations: ['69+35=104']
Exploring Operation: 44+2=46, Resulting Numbers: [104, 46]
Generated Node #0,0,0: 96:[104, 46] Operation: 44+2=46
Exploring Operation: 44/2=22, Resulting Numbers: [104, 22]
Generated Node #0,0,1: 96:[104, 22] Operation: 44/2=22
Exploring Operation: 104/2=52, Resulting Numbers: [44, 52]
Generated Node #0,0,2: 96:[44, 52] Operation: 104/2=52
Exploring Operation: 104-2=102, Resulting Numbers: [44, 102]
Generated Node #0,0,3: 96:[44, 102] Operation: 104-2=102
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[44, 52], Operations: ['69+35=104', '104/2=52']
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[69, 35, 44, 2], Operations: []
Exploring Operation: 69+35=104, Resulting Numbers: [44, 2, 104]
Generated Node #0,0: 96:[44, 2, 104] Operation: 69+35=104
Moving to Node #0,0
Current State: 96:[44, 2, 104], Operations: ['69+35=104']
Exploring Operation: 104/2=52, Resulting Numbers: [44, 52]
Generated Node #0,0,2: 96:[44, 52] Operation: 104/2=52
Moving to Node #0,0,2
Current State: 96:[44, 52], Operations: ['69+35=104', '104/2=52']
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
63,
42,
16,
3
] | 99 | [
"63-16=47",
"3*47=141",
"141-42=99"
] | Current State: 99:[63, 42, 16, 3], Operations: []
Exploring Operation: 63-16=47, Resulting Numbers: [42, 3, 47]
Generated Node #2: [42, 3, 47] from Operation: 63-16=47
Current State: 99:[42, 3, 47], Operations: ['63-16=47']
Exploring Operation: 3*47=141, Resulting Numbers: [42, 141]
Generated Node #3: [42, 141] from Operation: 3*47=141
Current State: 99:[42, 141], Operations: ['63-16=47', '3*47=141']
Exploring Operation: 141-42=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[63, 42, 16, 3], Operations: []
Exploring Operation: 63-42=21, Resulting Numbers: [16, 3, 21]
Generated Node #0,0: 99:[16, 3, 21] Operation: 63-42=21
Exploring Operation: 63+42=105, Resulting Numbers: [16, 3, 105]
Generated Node #0,1: 99:[16, 3, 105] Operation: 63+42=105
Exploring Operation: 63-16=47, Resulting Numbers: [42, 3, 47]
Generated Node #0,2: 99:[42, 3, 47] Operation: 63-16=47
Moving to Node #0,1
Current State: 99:[16, 3, 105], Operations: ['63+42=105']
Exploring Operation: 105/3=35, Resulting Numbers: [16, 35]
Generated Node #0,1,0: 99:[16, 35] Operation: 105/3=35
Exploring Operation: 16-3=13, Resulting Numbers: [105, 13]
Generated Node #0,1,1: 99:[105, 13] Operation: 16-3=13
Exploring Operation: 105-3=102, Resulting Numbers: [16, 102]
Generated Node #0,1,2: 99:[16, 102] Operation: 105-3=102
Moving to Node #0,0
Current State: 99:[16, 3, 21], Operations: ['63-42=21']
Exploring Operation: 21-16=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 99:[3, 5] Operation: 21-16=5
Exploring Operation: 21/3=7, Resulting Numbers: [16, 7]
Generated Node #0,0,1: 99:[16, 7] Operation: 21/3=7
Exploring Operation: 16+21=37, Resulting Numbers: [3, 37]
Generated Node #0,0,2: 99:[3, 37] Operation: 16+21=37
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[3, 5], Operations: ['63-42=21', '21-16=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,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,0,2
Current State: 99:[3, 37], Operations: ['63-42=21', '16+21=37']
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,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,0,1
Current State: 99:[16, 7], Operations: ['63-42=21', '21/3=7']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,99 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,99 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: 99:[42, 3, 47], Operations: ['63-16=47']
Exploring Operation: 42/3=14, Resulting Numbers: [47, 14]
Generated Node #0,2,0: 99:[47, 14] Operation: 42/3=14
Exploring Operation: 42+47=89, Resulting Numbers: [3, 89]
Generated Node #0,2,1: 99:[3, 89] Operation: 42+47=89
Exploring Operation: 47-42=5, Resulting Numbers: [3, 5]
Generated Node #0,2,2: 99:[3, 5] Operation: 47-42=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 99:[3, 5], Operations: ['63-16=47', '47-42=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 99:[3, 89], Operations: ['63-16=47', '42+47=89']
Exploring Operation: 3*89=267, Resulting Numbers: [267]
267,99 unequal: No Solution
Exploring Operation: 3+89=92, Resulting Numbers: [92]
92,99 unequal: No Solution
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 99:[47, 14], Operations: ['63-16=47', '42/3=14']
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 47*14=658, Resulting Numbers: [658]
658,99 unequal: No Solution
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,99 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: 99:[16, 35], Operations: ['63+42=105', '105/3=35']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Exploring Operation: 16*35=560, Resulting Numbers: [560]
560,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[105, 13], Operations: ['63+42=105', '16-3=13']
Exploring Operation: 105-13=92, Resulting Numbers: [92]
92,99 unequal: No Solution
Exploring Operation: 105+13=118, Resulting Numbers: [118]
118,99 unequal: No Solution
Exploring Operation: 105*13=1365, Resulting Numbers: [1365]
1365,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[16, 102], Operations: ['63+42=105', '105-3=102']
Exploring Operation: 16+102=118, Resulting Numbers: [118]
118,99 unequal: No Solution
Exploring Operation: 16*102=1632, Resulting Numbers: [1632]
1632,99 unequal: No Solution
Exploring Operation: 102-16=86, Resulting Numbers: [86]
86,99 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
68,
42,
47,
31
] | 87 | [
"47-42=5",
"31*5=155",
"155-68=87"
] | Current State: 87:[68, 42, 47, 31], Operations: []
Exploring Operation: 47-42=5, Resulting Numbers: [68, 31, 5]
Generated Node #2: [68, 31, 5] from Operation: 47-42=5
Current State: 87:[68, 31, 5], Operations: ['47-42=5']
Exploring Operation: 31*5=155, Resulting Numbers: [68, 155]
Generated Node #3: [68, 155] from Operation: 31*5=155
Current State: 87:[68, 155], Operations: ['47-42=5', '31*5=155']
Exploring Operation: 155-68=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[68, 42, 47, 31], Operations: []
Exploring Operation: 68-42=26, Resulting Numbers: [47, 31, 26]
Generated Node #0,0: 87:[47, 31, 26] Operation: 68-42=26
Exploring Operation: 42+47=89, Resulting Numbers: [68, 31, 89]
Generated Node #0,1: 87:[68, 31, 89] Operation: 42+47=89
Exploring Operation: 68-31=37, Resulting Numbers: [42, 47, 37]
Generated Node #0,2: 87:[42, 47, 37] Operation: 68-31=37
Exploring Operation: 68-47=21, Resulting Numbers: [42, 31, 21]
Generated Node #0,3: 87:[42, 31, 21] Operation: 68-47=21
Exploring Operation: 47-42=5, Resulting Numbers: [68, 31, 5]
Generated Node #0,4: 87:[68, 31, 5] Operation: 47-42=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[47, 31, 26], Operations: ['68-42=26']
Exploring Operation: 47+31=78, Resulting Numbers: [26, 78]
Generated Node #0,0,0: 87:[26, 78] Operation: 47+31=78
Exploring Operation: 47+26=73, Resulting Numbers: [31, 73]
Generated Node #0,0,1: 87:[31, 73] Operation: 47+26=73
Exploring Operation: 47-31=16, Resulting Numbers: [26, 16]
Generated Node #0,0,2: 87:[26, 16] Operation: 47-31=16
Exploring Operation: 47-26=21, Resulting Numbers: [31, 21]
Generated Node #0,0,3: 87:[31, 21] Operation: 47-26=21
Exploring Operation: 31-26=5, Resulting Numbers: [47, 5]
Generated Node #0,0,4: 87:[47, 5] Operation: 31-26=5
Moving to Node #0,0,3
Current State: 87:[31, 21], Operations: ['68-42=26', '47-26=21']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,87 unequal: No Solution
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[26, 78], Operations: ['68-42=26', '47+31=78']
Exploring Operation: 26*78=2028, Resulting Numbers: [2028]
2028,87 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 26+78=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[31, 73], Operations: ['68-42=26', '47+26=73']
Exploring Operation: 31*73=2263, Resulting Numbers: [2263]
2263,87 unequal: No Solution
Exploring Operation: 31+73=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[26, 16], Operations: ['68-42=26', '47-31=16']
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,87 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Moving to Node #0,0,4
Current State: 87:[47, 5], Operations: ['68-42=26', '31-26=5']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[68, 31, 89], Operations: ['42+47=89']
Exploring Operation: 68-31=37, Resulting Numbers: [89, 37]
Generated Node #0,1,0: 87:[89, 37] Operation: 68-31=37
Exploring Operation: 31+89=120, Resulting Numbers: [68, 120]
Generated Node #0,1,1: 87:[68, 120] Operation: 31+89=120
Exploring Operation: 68+31=99, Resulting Numbers: [89, 99]
Generated Node #0,1,2: 87:[89, 99] Operation: 68+31=99
Exploring Operation: 89-31=58, Resulting Numbers: [68, 58]
Generated Node #0,1,3: 87:[68, 58] Operation: 89-31=58
Exploring Operation: 89-68=21, Resulting Numbers: [31, 21]
Generated Node #0,1,4: 87:[31, 21] Operation: 89-68=21
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[89, 37], Operations: ['42+47=89', '68-31=37']
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 89+37=126, Resulting Numbers: [126]
126,87 unequal: No Solution
Exploring Operation: 89*37=3293, Resulting Numbers: [3293]
3293,87 unequal: No Solution
No 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: 87:[31, 21], Operations: ['42+47=89', '89-68=21']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,87 unequal: No Solution
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,87 unequal: No Solution
No 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: 87:[89, 99], Operations: ['42+47=89', '68+31=99']
Exploring Operation: 89*99=8811, Resulting Numbers: [8811]
8811,87 unequal: No Solution
Exploring Operation: 89+99=188, Resulting Numbers: [188]
188,87 unequal: No Solution
Exploring Operation: 99-89=10, Resulting Numbers: [10]
10,87 unequal: No Solution
No 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: 87:[68, 58], Operations: ['42+47=89', '89-31=58']
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 68*58=3944, Resulting Numbers: [3944]
3944,87 unequal: No Solution
Exploring Operation: 68+58=126, Resulting Numbers: [126]
126,87 unequal: No Solution
No 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: 87:[68, 120], Operations: ['42+47=89', '31+89=120']
Exploring Operation: 68+120=188, Resulting Numbers: [188]
188,87 unequal: No Solution
Exploring Operation: 120-68=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 68*120=8160, Resulting Numbers: [8160]
8160,87 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: 87:[42, 31, 21], Operations: ['68-47=21']
Exploring Operation: 42+31=73, Resulting Numbers: [21, 73]
Generated Node #0,3,0: 87:[21, 73] Operation: 42+31=73
Exploring Operation: 42/21=2, Resulting Numbers: [31, 2]
Generated Node #0,3,1: 87:[31, 2] Operation: 42/21=2
Exploring Operation: 42-31=11, Resulting Numbers: [21, 11]
Generated Node #0,3,2: 87:[21, 11] Operation: 42-31=11
Exploring Operation: 31-21=10, Resulting Numbers: [42, 10]
Generated Node #0,3,3: 87:[42, 10] Operation: 31-21=10
Exploring Operation: 42-21=21, Resulting Numbers: [31, 21]
Generated Node #0,3,4: 87:[31, 21] Operation: 42-21=21
Moving to Node #0,3,1
Current State: 87:[31, 2], Operations: ['68-47=21', '42/21=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,87 unequal: No Solution
Moving to Node #0,3,4
Current State: 87:[31, 21], Operations: ['68-47=21', '42-21=21']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[21, 11], Operations: ['68-47=21', '42-31=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[42, 10], Operations: ['68-47=21', '31-21=10']
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,87 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[21, 73], Operations: ['68-47=21', '42+31=73']
Exploring Operation: 21*73=1533, Resulting Numbers: [1533]
1533,87 unequal: No Solution
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 21+73=94, Resulting Numbers: [94]
94,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 87:[68, 31, 5], Operations: ['47-42=5']
Exploring Operation: 31-5=26, Resulting Numbers: [68, 26]
Generated Node #0,4,0: 87:[68, 26] Operation: 31-5=26
Exploring Operation: 68+5=73, Resulting Numbers: [31, 73]
Generated Node #0,4,1: 87:[31, 73] Operation: 68+5=73
Exploring Operation: 68-5=63, Resulting Numbers: [31, 63]
Generated Node #0,4,2: 87:[31, 63] Operation: 68-5=63
Exploring Operation: 68+31=99, Resulting Numbers: [5, 99]
Generated Node #0,4,3: 87:[5, 99] Operation: 68+31=99
Exploring Operation: 68-31=37, Resulting Numbers: [5, 37]
Generated Node #0,4,4: 87:[5, 37] Operation: 68-31=37
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 87:[5, 37], Operations: ['47-42=5', '68-31=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,87 unequal: No Solution
No 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: 87:[5, 99], Operations: ['47-42=5', '68+31=99']
Exploring Operation: 5+99=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 5*99=495, Resulting Numbers: [495]
495,87 unequal: No Solution
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,87 unequal: No Solution
No 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: 87:[31, 73], Operations: ['47-42=5', '68+5=73']
Exploring Operation: 31+73=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 31*73=2263, Resulting Numbers: [2263]
2263,87 unequal: No Solution
No 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: 87:[68, 26], Operations: ['47-42=5', '31-5=26']
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,87 unequal: No Solution
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,87 unequal: No Solution
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,87 unequal: No Solution
No 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: 87:[31, 63], Operations: ['47-42=5', '68-5=63']
Exploring Operation: 63-31=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 31+63=94, Resulting Numbers: [94]
94,87 unequal: No Solution
Exploring Operation: 31*63=1953, Resulting Numbers: [1953]
1953,87 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: 87:[42, 47, 37], Operations: ['68-31=37']
Exploring Operation: 42-37=5, Resulting Numbers: [47, 5]
Generated Node #0,2,0: 87:[47, 5] Operation: 42-37=5
Exploring Operation: 42+47=89, Resulting Numbers: [37, 89]
Generated Node #0,2,1: 87:[37, 89] Operation: 42+47=89
Exploring Operation: 47+37=84, Resulting Numbers: [42, 84]
Generated Node #0,2,2: 87:[42, 84] Operation: 47+37=84
Exploring Operation: 47-37=10, Resulting Numbers: [42, 10]
Generated Node #0,2,3: 87:[42, 10] Operation: 47-37=10
Exploring Operation: 47-42=5, Resulting Numbers: [37, 5]
Generated Node #0,2,4: 87:[37, 5] Operation: 47-42=5
Moving to Node #0,2,1
Current State: 87:[37, 89], Operations: ['68-31=37', '42+47=89']
Exploring Operation: 37*89=3293, Resulting Numbers: [3293]
3293,87 unequal: No Solution
Exploring Operation: 37+89=126, Resulting Numbers: [126]
126,87 unequal: No Solution
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Moving to Node #0,2,4
Current State: 87:[37, 5], Operations: ['68-31=37', '47-42=5']
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,87 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[42, 84], Operations: ['68-31=37', '47+37=84']
Exploring Operation: 42+84=126, Resulting Numbers: [126]
126,87 unequal: No Solution
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 42*84=3528, Resulting Numbers: [3528]
3528,87 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[47, 5], Operations: ['68-31=37', '42-37=5']
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,87 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[42, 10], Operations: ['68-31=37', '47-37=10']
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,87 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,87 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 |
[
67,
68,
82,
70
] | 50 | [
"70-67=3",
"68+82=150",
"150/3=50"
] | Current State: 50:[67, 68, 82, 70], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [68, 82, 3]
Generated Node #2: [68, 82, 3] from Operation: 70-67=3
Current State: 50:[68, 82, 3], Operations: ['70-67=3']
Exploring Operation: 68+82=150, Resulting Numbers: [3, 150]
Generated Node #3: [3, 150] from Operation: 68+82=150
Current State: 50:[3, 150], Operations: ['70-67=3', '68+82=150']
Exploring Operation: 150/3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[67, 68, 82, 70], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [68, 70, 15]
Generated Node #0,0: 50:[68, 70, 15] Operation: 82-67=15
Exploring Operation: 82-68=14, Resulting Numbers: [67, 70, 14]
Generated Node #0,1: 50:[67, 70, 14] Operation: 82-68=14
Exploring Operation: 82-70=12, Resulting Numbers: [67, 68, 12]
Generated Node #0,2: 50:[67, 68, 12] Operation: 82-70=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[67, 68, 12], Operations: ['82-70=12']
Exploring Operation: 68-12=56, Resulting Numbers: [67, 56]
Generated Node #0,2,0: 50:[67, 56] Operation: 68-12=56
Exploring Operation: 68-67=1, Resulting Numbers: [12, 1]
Generated Node #0,2,1: 50:[12, 1] Operation: 68-67=1
Exploring Operation: 67-12=55, Resulting Numbers: [68, 55]
Generated Node #0,2,2: 50:[68, 55] Operation: 67-12=55
Moving to Node #0,2,1
Current State: 50:[12, 1], Operations: ['82-70=12', '68-67=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[67, 56], Operations: ['82-70=12', '68-12=56']
Exploring Operation: 67-56=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 67*56=3752, Resulting Numbers: [3752]
3752,50 unequal: No Solution
Exploring Operation: 67+56=123, Resulting Numbers: [123]
123,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[68, 55], Operations: ['82-70=12', '67-12=55']
Exploring Operation: 68+55=123, Resulting Numbers: [123]
123,50 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 68*55=3740, Resulting Numbers: [3740]
3740,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:[67, 70, 14], Operations: ['82-68=14']
Exploring Operation: 70/14=5, Resulting Numbers: [67, 5]
Generated Node #0,1,0: 50:[67, 5] Operation: 70/14=5
Exploring Operation: 70-67=3, Resulting Numbers: [14, 3]
Generated Node #0,1,1: 50:[14, 3] Operation: 70-67=3
Exploring Operation: 67-14=53, Resulting Numbers: [70, 53]
Generated Node #0,1,2: 50:[70, 53] Operation: 67-14=53
Moving to Node #0,1,1
Current State: 50:[14, 3], Operations: ['82-68=14', '70-67=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[67, 5], Operations: ['82-68=14', '70/14=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,50 unequal: No Solution
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[70, 53], Operations: ['82-68=14', '67-14=53']
Exploring Operation: 70*53=3710, Resulting Numbers: [3710]
3710,50 unequal: No Solution
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 70+53=123, Resulting Numbers: [123]
123,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[68, 70, 15], Operations: ['82-67=15']
Exploring Operation: 68-15=53, Resulting Numbers: [70, 53]
Generated Node #0,0,0: 50:[70, 53] Operation: 68-15=53
Exploring Operation: 70-15=55, Resulting Numbers: [68, 55]
Generated Node #0,0,1: 50:[68, 55] Operation: 70-15=55
Exploring Operation: 70-68=2, Resulting Numbers: [15, 2]
Generated Node #0,0,2: 50:[15, 2] Operation: 70-68=2
Moving to Node #0,0,2
Current State: 50:[15, 2], Operations: ['82-67=15', '70-68=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[70, 53], Operations: ['82-67=15', '68-15=53']
Exploring Operation: 70*53=3710, Resulting Numbers: [3710]
3710,50 unequal: No Solution
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 70+53=123, Resulting Numbers: [123]
123,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[68, 55], Operations: ['82-67=15', '70-15=55']
Exploring Operation: 68+55=123, Resulting Numbers: [123]
123,50 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 68*55=3740, Resulting Numbers: [3740]
3740,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
37,
91,
30,
4
] | 80 | [
"91-37=54",
"30-4=26",
"54+26=80"
] | Current State: 80:[37, 91, 30, 4], Operations: []
Exploring Operation: 91-37=54, Resulting Numbers: [30, 4, 54]
Generated Node #2: [30, 4, 54] from Operation: 91-37=54
Current State: 80:[30, 4, 54], Operations: ['91-37=54']
Exploring Operation: 30-4=26, Resulting Numbers: [54, 26]
Generated Node #3: [54, 26] from Operation: 30-4=26
Current State: 80:[54, 26], Operations: ['91-37=54', '30-4=26']
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[37, 91, 30, 4], Operations: []
Exploring Operation: 30-4=26, Resulting Numbers: [37, 91, 26]
Generated Node #0,0: 80:[37, 91, 26] Operation: 30-4=26
Exploring Operation: 37-30=7, Resulting Numbers: [91, 4, 7]
Generated Node #0,1: 80:[91, 4, 7] Operation: 37-30=7
Exploring Operation: 30+4=34, Resulting Numbers: [37, 91, 34]
Generated Node #0,2: 80:[37, 91, 34] Operation: 30+4=34
Exploring Operation: 91-4=87, Resulting Numbers: [37, 30, 87]
Generated Node #0,3: 80:[37, 30, 87] Operation: 91-4=87
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[91, 4, 7], Operations: ['37-30=7']
Exploring Operation: 91/7=13, Resulting Numbers: [4, 13]
Generated Node #0,1,0: 80:[4, 13] Operation: 91/7=13
Exploring Operation: 91-7=84, Resulting Numbers: [4, 84]
Generated Node #0,1,1: 80:[4, 84] Operation: 91-7=84
Exploring Operation: 91-4=87, Resulting Numbers: [7, 87]
Generated Node #0,1,2: 80:[7, 87] Operation: 91-4=87
Exploring Operation: 4+7=11, Resulting Numbers: [91, 11]
Generated Node #0,1,3: 80:[91, 11] Operation: 4+7=11
Moving to Node #0,1,0
Current State: 80:[4, 13], Operations: ['37-30=7', '91/7=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[4, 84], Operations: ['37-30=7', '91-7=84']
Exploring Operation: 4*84=336, Resulting Numbers: [336]
336,80 unequal: No Solution
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[37, 91, 30, 4], Operations: []
Exploring Operation: 37-30=7, Resulting Numbers: [91, 4, 7]
Generated Node #0,1: 80:[91, 4, 7] Operation: 37-30=7
Moving to Node #0,1
Current State: 80:[91, 4, 7], Operations: ['37-30=7']
Exploring Operation: 91-7=84, Resulting Numbers: [4, 84]
Generated Node #0,1,1: 80:[4, 84] Operation: 91-7=84
Moving to Node #0,1,1
Current State: 80:[4, 84], Operations: ['37-30=7', '91-7=84']
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
46,
62,
97,
31
] | 53 | [
"97-46=51",
"62/31=2",
"51+2=53"
] | Current State: 53:[46, 62, 97, 31], Operations: []
Exploring Operation: 97-46=51, Resulting Numbers: [62, 31, 51]
Generated Node #2: [62, 31, 51] from Operation: 97-46=51
Current State: 53:[62, 31, 51], Operations: ['97-46=51']
Exploring Operation: 62/31=2, Resulting Numbers: [51, 2]
Generated Node #3: [51, 2] from Operation: 62/31=2
Current State: 53:[51, 2], Operations: ['97-46=51', '62/31=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[46, 62, 97, 31], Operations: []
Exploring Operation: 97-46=51, Resulting Numbers: [62, 31, 51]
Generated Node #0,0: 53:[62, 31, 51] Operation: 97-46=51
Exploring Operation: 62-31=31, Resulting Numbers: [46, 97, 31]
Generated Node #0,1: 53:[46, 97, 31] Operation: 62-31=31
Exploring Operation: 97-62=35, Resulting Numbers: [46, 31, 35]
Generated Node #0,2: 53:[46, 31, 35] Operation: 97-62=35
Exploring Operation: 46+31=77, Resulting Numbers: [62, 97, 77]
Generated Node #0,3: 53:[62, 97, 77] Operation: 46+31=77
Exploring Operation: 97-31=66, Resulting Numbers: [46, 62, 66]
Generated Node #0,4: 53:[46, 62, 66] Operation: 97-31=66
Moving to Node #0,4
Current State: 53:[46, 62, 66], Operations: ['97-31=66']
Exploring Operation: 66-46=20, Resulting Numbers: [62, 20]
Generated Node #0,4,0: 53:[62, 20] Operation: 66-46=20
Exploring Operation: 62-46=16, Resulting Numbers: [66, 16]
Generated Node #0,4,1: 53:[66, 16] Operation: 62-46=16
Exploring Operation: 46+66=112, Resulting Numbers: [62, 112]
Generated Node #0,4,2: 53:[62, 112] Operation: 46+66=112
Exploring Operation: 66-62=4, Resulting Numbers: [46, 4]
Generated Node #0,4,3: 53:[46, 4] Operation: 66-62=4
Exploring Operation: 46+62=108, Resulting Numbers: [66, 108]
Generated Node #0,4,4: 53:[66, 108] Operation: 46+62=108
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 53:[62, 20], Operations: ['97-31=66', '66-46=20']
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,53 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 53:[66, 16], Operations: ['97-31=66', '62-46=16']
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,53 unequal: No Solution
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 53:[46, 4], Operations: ['97-31=66', '66-62=4']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,53 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 53:[62, 112], Operations: ['97-31=66', '46+66=112']
Exploring Operation: 62+112=174, Resulting Numbers: [174]
174,53 unequal: No Solution
Exploring Operation: 112-62=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 62*112=6944, Resulting Numbers: [6944]
6944,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 53:[66, 108], Operations: ['97-31=66', '46+62=108']
Exploring Operation: 66+108=174, Resulting Numbers: [174]
174,53 unequal: No Solution
Exploring Operation: 108-66=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 66*108=7128, Resulting Numbers: [7128]
7128,53 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: 53:[62, 31, 51], Operations: ['97-46=51']
Exploring Operation: 62-31=31, Resulting Numbers: [51, 31]
Generated Node #0,0,0: 53:[51, 31] Operation: 62-31=31
Exploring Operation: 62/31=2, Resulting Numbers: [51, 2]
Generated Node #0,0,1: 53:[51, 2] Operation: 62/31=2
Exploring Operation: 31+51=82, Resulting Numbers: [62, 82]
Generated Node #0,0,2: 53:[62, 82] Operation: 31+51=82
Exploring Operation: 62+31=93, Resulting Numbers: [51, 93]
Generated Node #0,0,3: 53:[51, 93] Operation: 62+31=93
Exploring Operation: 51-31=20, Resulting Numbers: [62, 20]
Generated Node #0,0,4: 53:[62, 20] Operation: 51-31=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[51, 31], Operations: ['97-46=51', '62-31=31']
Exploring Operation: 51*31=1581, Resulting Numbers: [1581]
1581,53 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 51+31=82, Resulting Numbers: [82]
82,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[62, 82], Operations: ['97-46=51', '31+51=82']
Exploring Operation: 62*82=5084, Resulting Numbers: [5084]
5084,53 unequal: No Solution
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 62+82=144, Resulting Numbers: [144]
144,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[51, 93], Operations: ['97-46=51', '62+31=93']
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 51+93=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Exploring Operation: 51*93=4743, Resulting Numbers: [4743]
4743,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 53:[62, 20], Operations: ['97-46=51', '51-31=20']
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,53 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,53 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[51, 2], Operations: ['97-46=51', '62/31=2']
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[46, 62, 97, 31], Operations: []
Exploring Operation: 97-46=51, Resulting Numbers: [62, 31, 51]
Generated Node #0,0: 53:[62, 31, 51] Operation: 97-46=51
Moving to Node #0,0
Current State: 53:[62, 31, 51], Operations: ['97-46=51']
Exploring Operation: 62/31=2, Resulting Numbers: [51, 2]
Generated Node #0,0,1: 53:[51, 2] Operation: 62/31=2
Moving to Node #0,0,1
Current State: 53:[51, 2], Operations: ['97-46=51', '62/31=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_5 | mult_heuristic |
[
87,
2,
8,
10
] | 51 | [
"8+10=18",
"2*18=36",
"87-36=51"
] | Current State: 51:[87, 2, 8, 10], Operations: []
Exploring Operation: 8+10=18, Resulting Numbers: [87, 2, 18]
Generated Node #2: [87, 2, 18] from Operation: 8+10=18
Current State: 51:[87, 2, 18], Operations: ['8+10=18']
Exploring Operation: 2*18=36, Resulting Numbers: [87, 36]
Generated Node #3: [87, 36] from Operation: 2*18=36
Current State: 51:[87, 36], Operations: ['8+10=18', '2*18=36']
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[87, 2, 8, 10], Operations: []
Exploring Operation: 87-8=79, Resulting Numbers: [2, 10, 79]
Generated Node #0,0: 51:[2, 10, 79] Operation: 87-8=79
Exploring Operation: 8+10=18, Resulting Numbers: [87, 2, 18]
Generated Node #0,1: 51:[87, 2, 18] Operation: 8+10=18
Exploring Operation: 87-10=77, Resulting Numbers: [2, 8, 77]
Generated Node #0,2: 51:[2, 8, 77] Operation: 87-10=77
Moving to Node #0,2
Current State: 51:[2, 8, 77], Operations: ['87-10=77']
Exploring Operation: 77-8=69, Resulting Numbers: [2, 69]
Generated Node #0,2,0: 51:[2, 69] Operation: 77-8=69
Exploring Operation: 8/2=4, Resulting Numbers: [77, 4]
Generated Node #0,2,1: 51:[77, 4] Operation: 8/2=4
Exploring Operation: 2*8=16, Resulting Numbers: [77, 16]
Generated Node #0,2,2: 51:[77, 16] Operation: 2*8=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[2, 69], Operations: ['87-10=77', '77-8=69']
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,51 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[77, 4], Operations: ['87-10=77', '8/2=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,51 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[77, 16], Operations: ['87-10=77', '2*8=16']
Exploring Operation: 77*16=1232, Resulting Numbers: [1232]
1232,51 unequal: No Solution
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,51 unequal: No Solution
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,51 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: 51:[2, 10, 79], Operations: ['87-8=79']
Exploring Operation: 10/2=5, Resulting Numbers: [79, 5]
Generated Node #0,0,0: 51:[79, 5] Operation: 10/2=5
Exploring Operation: 2*10=20, Resulting Numbers: [79, 20]
Generated Node #0,0,1: 51:[79, 20] Operation: 2*10=20
Exploring Operation: 79-10=69, Resulting Numbers: [2, 69]
Generated Node #0,0,2: 51:[2, 69] Operation: 79-10=69
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[2, 69], Operations: ['87-8=79', '79-10=69']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,51 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[79, 5], Operations: ['87-8=79', '10/2=5']
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,51 unequal: No Solution
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 79*5=395, Resulting Numbers: [395]
395,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[79, 20], Operations: ['87-8=79', '2*10=20']
Exploring Operation: 79*20=1580, Resulting Numbers: [1580]
1580,51 unequal: No Solution
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,51 unequal: No Solution
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,51 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: 51:[87, 2, 18], Operations: ['8+10=18']
Exploring Operation: 87-18=69, Resulting Numbers: [2, 69]
Generated Node #0,1,0: 51:[2, 69] Operation: 87-18=69
Exploring Operation: 87-2=85, Resulting Numbers: [18, 85]
Generated Node #0,1,1: 51:[18, 85] Operation: 87-2=85
Exploring Operation: 18-2=16, Resulting Numbers: [87, 16]
Generated Node #0,1,2: 51:[87, 16] Operation: 18-2=16
Moving to Node #0,1,0
Current State: 51:[2, 69], Operations: ['8+10=18', '87-18=69']
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,51 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[18, 85], Operations: ['8+10=18', '87-2=85']
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Exploring Operation: 18+85=103, Resulting Numbers: [103]
103,51 unequal: No Solution
Exploring Operation: 18*85=1530, Resulting Numbers: [1530]
1530,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[87, 16], Operations: ['8+10=18', '18-2=16']
Exploring Operation: 87+16=103, Resulting Numbers: [103]
103,51 unequal: No Solution
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 87*16=1392, Resulting Numbers: [1392]
1392,51 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
40,
30,
86,
10
] | 86 | [
"40-30=10",
"86+10=96",
"96-10=86"
] | Current State: 86:[40, 30, 86, 10], Operations: []
Exploring Operation: 40-30=10, Resulting Numbers: [86, 10, 10]
Generated Node #2: [86, 10, 10] from Operation: 40-30=10
Current State: 86:[86, 10, 10], Operations: ['40-30=10']
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,86 equal: Goal Reached
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[40, 30, 86, 10], Operations: []
Exploring Operation: 30+10=40, Resulting Numbers: [40, 86, 40]
Generated Node #0,0: 86:[40, 86, 40] Operation: 30+10=40
Exploring Operation: 40-30=10, Resulting Numbers: [86, 10, 10]
Generated Node #0,1: 86:[86, 10, 10] Operation: 40-30=10
Exploring Operation: 40/10=4, Resulting Numbers: [30, 86, 4]
Generated Node #0,2: 86:[30, 86, 4] Operation: 40/10=4
Exploring Operation: 30/10=3, Resulting Numbers: [40, 86, 3]
Generated Node #0,3: 86:[40, 86, 3] Operation: 30/10=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[40, 86, 3], Operations: ['30/10=3']
Exploring Operation: 40-3=37, Resulting Numbers: [86, 37]
Generated Node #0,3,0: 86:[86, 37] Operation: 40-3=37
Exploring Operation: 86+3=89, Resulting Numbers: [40, 89]
Generated Node #0,3,1: 86:[40, 89] Operation: 86+3=89
Exploring Operation: 40+3=43, Resulting Numbers: [86, 43]
Generated Node #0,3,2: 86:[86, 43] Operation: 40+3=43
Exploring Operation: 86-40=46, Resulting Numbers: [3, 46]
Generated Node #0,3,3: 86:[3, 46] Operation: 86-40=46
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 86:[86, 43], Operations: ['30/10=3', '40+3=43']
Exploring Operation: 86*43=3698, Resulting Numbers: [3698]
3698,86 unequal: No Solution
Exploring Operation: 86+43=129, Resulting Numbers: [129]
129,86 unequal: No Solution
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 86:[3, 46], Operations: ['30/10=3', '86-40=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 86:[86, 37], Operations: ['30/10=3', '40-3=37']
Exploring Operation: 86+37=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 86*37=3182, Resulting Numbers: [3182]
3182,86 unequal: No Solution
Exploring Operation: 86-37=49, Resulting Numbers: [49]
49,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 86:[40, 89], Operations: ['30/10=3', '86+3=89']
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Exploring Operation: 40*89=3560, Resulting Numbers: [3560]
3560,86 unequal: No Solution
Exploring Operation: 40+89=129, Resulting Numbers: [129]
129,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[40, 86, 40], Operations: ['30+10=40']
Exploring Operation: 40+40=80, Resulting Numbers: [86, 80]
Generated Node #0,0,0: 86:[86, 80] Operation: 40+40=80
Exploring Operation: 40/40=1, Resulting Numbers: [86, 1]
Generated Node #0,0,1: 86:[86, 1] Operation: 40/40=1
Exploring Operation: 40-40=0, Resulting Numbers: [86, 0]
Generated Node #0,0,2: 86:[86, 0] Operation: 40-40=0
Exploring Operation: 86-40=46, Resulting Numbers: [40, 46]
Generated Node #0,0,3: 86:[40, 46] Operation: 86-40=46
Moving to Node #0,0,1
Current State: 86:[86, 1], Operations: ['30+10=40', '40/40=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[40, 30, 86, 10], Operations: []
Exploring Operation: 30+10=40, Resulting Numbers: [40, 86, 40]
Generated Node #0,0: 86:[40, 86, 40] Operation: 30+10=40
Moving to Node #0,0
Current State: 86:[40, 86, 40], Operations: ['30+10=40']
Exploring Operation: 40/40=1, Resulting Numbers: [86, 1]
Generated Node #0,0,1: 86:[86, 1] Operation: 40/40=1
Moving to Node #0,0,1
Current State: 86:[86, 1], Operations: ['30+10=40', '40/40=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
43,
1,
77,
43
] | 77 | [
"43+1=44",
"44-43=1",
"77*1=77"
] | Current State: 77:[43, 1, 77, 43], Operations: []
Exploring Operation: 43+1=44, Resulting Numbers: [77, 44]
Generated Node #2: [77, 44] from Operation: 43+1=44
Current State: 77:[77, 44], Operations: ['43+1=44']
Exploring Operation: 44-43=1, Resulting Numbers: [77, 1]
Generated Node #3: [77, 1] from Operation: 44-43=1
Current State: 77:[77, 1], Operations: ['43+1=44', '44-43=1']
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[43, 1, 77, 43], Operations: []
Exploring Operation: 77-43=34, Resulting Numbers: [1, 43, 34]
Generated Node #0,0: 77:[1, 43, 34] Operation: 77-43=34
Exploring Operation: 43-43=0, Resulting Numbers: [1, 77, 0]
Generated Node #0,1: 77:[1, 77, 0] Operation: 43-43=0
Exploring Operation: 43+43=86, Resulting Numbers: [1, 77, 86]
Generated Node #0,2: 77:[1, 77, 86] Operation: 43+43=86
Exploring Operation: 77-43=34, Resulting Numbers: [43, 1, 34]
Generated Node #0,3: 77:[43, 1, 34] Operation: 77-43=34
Exploring Operation: 43/43=1, Resulting Numbers: [1, 77, 1]
Generated Node #0,4: 77:[1, 77, 1] Operation: 43/43=1
Moving to Node #0,4
Current State: 77:[1, 77, 1], Operations: ['43/43=1']
Exploring Operation: 77/1=77, Resulting Numbers: [1, 77]
Generated Node #0,4,0: 77:[1, 77] Operation: 77/1=77
Exploring Operation: 1+1=2, Resulting Numbers: [77, 2]
Generated Node #0,4,1: 77:[77, 2] Operation: 1+1=2
Exploring Operation: 1*1=1, Resulting Numbers: [77, 1]
Generated Node #0,4,2: 77:[77, 1] Operation: 1*1=1
Exploring Operation: 1*77=77, Resulting Numbers: [1, 77]
Generated Node #0,4,3: 77:[1, 77] Operation: 1*77=77
Exploring Operation: 1/1=1, Resulting Numbers: [77, 1]
Generated Node #0,4,4: 77:[77, 1] Operation: 1/1=1
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 77:[77, 2], Operations: ['43/43=1', '1+1=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,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,4,0
Current State: 77:[1, 77], Operations: ['43/43=1', '77/1=77']
Exploring Operation: 1+77=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[43, 1, 77, 43], Operations: []
Exploring Operation: 43/43=1, Resulting Numbers: [1, 77, 1]
Generated Node #0,4: 77:[1, 77, 1] Operation: 43/43=1
Moving to Node #0,4
Current State: 77:[1, 77, 1], Operations: ['43/43=1']
Exploring Operation: 77/1=77, Resulting Numbers: [1, 77]
Generated Node #0,4,0: 77:[1, 77] Operation: 77/1=77
Moving to Node #0,4,0
Current State: 77:[1, 77], Operations: ['43/43=1', '77/1=77']
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
64,
19,
77,
75
] | 85 | [
"64+19=83",
"77-75=2",
"83+2=85"
] | Current State: 85:[64, 19, 77, 75], Operations: []
Exploring Operation: 64+19=83, Resulting Numbers: [77, 75, 83]
Generated Node #2: [77, 75, 83] from Operation: 64+19=83
Current State: 85:[77, 75, 83], Operations: ['64+19=83']
Exploring Operation: 77-75=2, Resulting Numbers: [83, 2]
Generated Node #3: [83, 2] from Operation: 77-75=2
Current State: 85:[83, 2], Operations: ['64+19=83', '77-75=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[64, 19, 77, 75], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [19, 77, 11]
Generated Node #0,0: 85:[19, 77, 11] Operation: 75-64=11
Exploring Operation: 77-64=13, Resulting Numbers: [19, 75, 13]
Generated Node #0,1: 85:[19, 75, 13] Operation: 77-64=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[19, 77, 11], Operations: ['75-64=11']
Exploring Operation: 77/11=7, Resulting Numbers: [19, 7]
Generated Node #0,0,0: 85:[19, 7] Operation: 77/11=7
Exploring Operation: 77+11=88, Resulting Numbers: [19, 88]
Generated Node #0,0,1: 85:[19, 88] Operation: 77+11=88
Moving to Node #0,0,0
Current State: 85:[19, 7], Operations: ['75-64=11', '77/11=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[19, 88], Operations: ['75-64=11', '77+11=88']
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 19+88=107, Resulting Numbers: [107]
107,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[19, 75, 13], Operations: ['77-64=13']
Exploring Operation: 19-13=6, Resulting Numbers: [75, 6]
Generated Node #0,1,0: 85:[75, 6] Operation: 19-13=6
Exploring Operation: 75+13=88, Resulting Numbers: [19, 88]
Generated Node #0,1,1: 85:[19, 88] Operation: 75+13=88
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[19, 88], Operations: ['77-64=13', '75+13=88']
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 19+88=107, Resulting Numbers: [107]
107,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[75, 6], Operations: ['77-64=13', '19-13=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
30,
25,
83,
62
] | 26 | [
"30-25=5",
"83-62=21",
"5+21=26"
] | Current State: 26:[30, 25, 83, 62], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [83, 62, 5]
Generated Node #2: [83, 62, 5] from Operation: 30-25=5
Current State: 26:[83, 62, 5], Operations: ['30-25=5']
Exploring Operation: 83-62=21, Resulting Numbers: [5, 21]
Generated Node #3: [5, 21] from Operation: 83-62=21
Current State: 26:[5, 21], Operations: ['30-25=5', '83-62=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[30, 25, 83, 62], Operations: []
Exploring Operation: 83-30=53, Resulting Numbers: [25, 62, 53]
Generated Node #0,0: 26:[25, 62, 53] Operation: 83-30=53
Exploring Operation: 83-62=21, Resulting Numbers: [30, 25, 21]
Generated Node #0,1: 26:[30, 25, 21] Operation: 83-62=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[30, 25, 21], Operations: ['83-62=21']
Exploring Operation: 25-21=4, Resulting Numbers: [30, 4]
Generated Node #0,1,0: 26:[30, 4] Operation: 25-21=4
Exploring Operation: 30-21=9, Resulting Numbers: [25, 9]
Generated Node #0,1,1: 26:[25, 9] Operation: 30-21=9
Moving to Node #0,1,1
Current State: 26:[25, 9], Operations: ['83-62=21', '30-21=9']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[30, 4], Operations: ['83-62=21', '25-21=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[30, 25, 83, 62], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [30, 25, 21]
Generated Node #0,1: 26:[30, 25, 21] Operation: 83-62=21
Moving to Node #0,1
Current State: 26:[30, 25, 21], Operations: ['83-62=21']
Exploring Operation: 25-21=4, Resulting Numbers: [30, 4]
Generated Node #0,1,0: 26:[30, 4] Operation: 25-21=4
Moving to Node #0,1,0
Current State: 26:[30, 4], Operations: ['83-62=21', '25-21=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
82,
4,
33,
53
] | 87 | [
"53-33=20",
"20/4=5",
"82+5=87"
] | Current State: 87:[82, 4, 33, 53], Operations: []
Exploring Operation: 53-33=20, Resulting Numbers: [82, 4, 20]
Generated Node #2: [82, 4, 20] from Operation: 53-33=20
Current State: 87:[82, 4, 20], Operations: ['53-33=20']
Exploring Operation: 20/4=5, Resulting Numbers: [82, 5]
Generated Node #3: [82, 5] from Operation: 20/4=5
Current State: 87:[82, 5], Operations: ['53-33=20', '20/4=5']
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[82, 4, 33, 53], Operations: []
Exploring Operation: 82-53=29, Resulting Numbers: [4, 33, 29]
Generated Node #0,0: 87:[4, 33, 29] Operation: 82-53=29
Exploring Operation: 33+53=86, Resulting Numbers: [82, 4, 86]
Generated Node #0,1: 87:[82, 4, 86] Operation: 33+53=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[4, 33, 29], Operations: ['82-53=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 87:[4, 4] Operation: 33-29=4
Exploring Operation: 33-4=29, Resulting Numbers: [29, 29]
Generated Node #0,0,1: 87:[29, 29] Operation: 33-4=29
Moving to Node #0,0,1
Current State: 87:[29, 29], Operations: ['82-53=29', '33-4=29']
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[4, 4], Operations: ['82-53=29', '33-29=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[82, 4, 86], Operations: ['33+53=86']
Exploring Operation: 82+4=86, Resulting Numbers: [86, 86]
Generated Node #0,1,0: 87:[86, 86] Operation: 82+4=86
Exploring Operation: 86-82=4, Resulting Numbers: [4, 4]
Generated Node #0,1,1: 87:[4, 4] Operation: 86-82=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[86, 86], Operations: ['33+53=86', '82+4=86']
Exploring Operation: 86-86=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 86/86=1, Resulting Numbers: [1]
1,87 unequal: No Solution
No 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: 87:[4, 4], Operations: ['33+53=86', '86-82=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,87 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 |
[
34,
35,
92,
36
] | 81 | [
"36-34=2",
"92/2=46",
"35+46=81"
] | Current State: 81:[34, 35, 92, 36], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [35, 92, 2]
Generated Node #2: [35, 92, 2] from Operation: 36-34=2
Current State: 81:[35, 92, 2], Operations: ['36-34=2']
Exploring Operation: 92/2=46, Resulting Numbers: [35, 46]
Generated Node #3: [35, 46] from Operation: 92/2=46
Current State: 81:[35, 46], Operations: ['36-34=2', '92/2=46']
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[34, 35, 92, 36], Operations: []
Exploring Operation: 35-34=1, Resulting Numbers: [92, 36, 1]
Generated Node #0,0: 81:[92, 36, 1] Operation: 35-34=1
Exploring Operation: 36-35=1, Resulting Numbers: [34, 92, 1]
Generated Node #0,1: 81:[34, 92, 1] Operation: 36-35=1
Exploring Operation: 36-34=2, Resulting Numbers: [35, 92, 2]
Generated Node #0,2: 81:[35, 92, 2] Operation: 36-34=2
Moving to Node #0,1
Current State: 81:[34, 92, 1], Operations: ['36-35=1']
Exploring Operation: 92-1=91, Resulting Numbers: [34, 91]
Generated Node #0,1,0: 81:[34, 91] Operation: 92-1=91
Exploring Operation: 34-1=33, Resulting Numbers: [92, 33]
Generated Node #0,1,1: 81:[92, 33] Operation: 34-1=33
Exploring Operation: 34*1=34, Resulting Numbers: [92, 34]
Generated Node #0,1,2: 81:[92, 34] Operation: 34*1=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[34, 91], Operations: ['36-35=1', '92-1=91']
Exploring Operation: 34+91=125, Resulting Numbers: [125]
125,81 unequal: No Solution
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 34*91=3094, Resulting Numbers: [3094]
3094,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[92, 33], Operations: ['36-35=1', '34-1=33']
Exploring Operation: 92*33=3036, Resulting Numbers: [3036]
3036,81 unequal: No Solution
Exploring Operation: 92+33=125, Resulting Numbers: [125]
125,81 unequal: No Solution
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[92, 34], Operations: ['36-35=1', '34*1=34']
Exploring Operation: 92*34=3128, Resulting Numbers: [3128]
3128,81 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,81 unequal: No Solution
Exploring Operation: 92+34=126, Resulting Numbers: [126]
126,81 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: 81:[35, 92, 2], Operations: ['36-34=2']
Exploring Operation: 92-2=90, Resulting Numbers: [35, 90]
Generated Node #0,2,0: 81:[35, 90] Operation: 92-2=90
Exploring Operation: 35+2=37, Resulting Numbers: [92, 37]
Generated Node #0,2,1: 81:[92, 37] Operation: 35+2=37
Exploring Operation: 35-2=33, Resulting Numbers: [92, 33]
Generated Node #0,2,2: 81:[92, 33] Operation: 35-2=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[35, 90], Operations: ['36-34=2', '92-2=90']
Exploring Operation: 35*90=3150, Resulting Numbers: [3150]
3150,81 unequal: No Solution
Exploring Operation: 35+90=125, Resulting Numbers: [125]
125,81 unequal: No Solution
Exploring Operation: 90-35=55, Resulting Numbers: [55]
55,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,2
Current State: 81:[92, 33], Operations: ['36-34=2', '35-2=33']
Exploring Operation: 92*33=3036, Resulting Numbers: [3036]
3036,81 unequal: No Solution
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 92+33=125, Resulting Numbers: [125]
125,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:[92, 37], Operations: ['36-34=2', '35+2=37']
Exploring Operation: 92*37=3404, Resulting Numbers: [3404]
3404,81 unequal: No Solution
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,81 unequal: No Solution
Exploring Operation: 92+37=129, Resulting Numbers: [129]
129,81 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: 81:[92, 36, 1], Operations: ['35-34=1']
Exploring Operation: 92-1=91, Resulting Numbers: [36, 91]
Generated Node #0,0,0: 81:[36, 91] Operation: 92-1=91
Exploring Operation: 36-1=35, Resulting Numbers: [92, 35]
Generated Node #0,0,1: 81:[92, 35] Operation: 36-1=35
Exploring Operation: 92*1=92, Resulting Numbers: [36, 92]
Generated Node #0,0,2: 81:[36, 92] Operation: 92*1=92
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[36, 91], Operations: ['35-34=1', '92-1=91']
Exploring Operation: 36*91=3276, Resulting Numbers: [3276]
3276,81 unequal: No Solution
Exploring Operation: 36+91=127, Resulting Numbers: [127]
127,81 unequal: No Solution
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,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:[92, 35], Operations: ['35-34=1', '36-1=35']
Exploring Operation: 92-35=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 92*35=3220, Resulting Numbers: [3220]
3220,81 unequal: No Solution
Exploring Operation: 92+35=127, Resulting Numbers: [127]
127,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,2
Current State: 81:[36, 92], Operations: ['35-34=1', '92*1=92']
Exploring Operation: 36*92=3312, Resulting Numbers: [3312]
3312,81 unequal: No Solution
Exploring Operation: 36+92=128, Resulting Numbers: [128]
128,81 unequal: No Solution
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
32,
3,
7,
42
] | 27 | [
"32+7=39",
"42+39=81",
"81/3=27"
] | Current State: 27:[32, 3, 7, 42], Operations: []
Exploring Operation: 32+7=39, Resulting Numbers: [3, 42, 39]
Generated Node #2: [3, 42, 39] from Operation: 32+7=39
Current State: 27:[3, 42, 39], Operations: ['32+7=39']
Exploring Operation: 42+39=81, Resulting Numbers: [3, 81]
Generated Node #3: [3, 81] from Operation: 42+39=81
Current State: 27:[3, 81], Operations: ['32+7=39', '42+39=81']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[32, 3, 7, 42], Operations: []
Exploring Operation: 42-32=10, Resulting Numbers: [3, 7, 10]
Generated Node #0,0: 27:[3, 7, 10] Operation: 42-32=10
Exploring Operation: 42/7=6, Resulting Numbers: [32, 3, 6]
Generated Node #0,1: 27:[32, 3, 6] Operation: 42/7=6
Moving to Node #0,0
Current State: 27:[3, 7, 10], Operations: ['42-32=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 27:[3, 3] Operation: 10-7=3
Exploring Operation: 3+7=10, Resulting Numbers: [10, 10]
Generated Node #0,0,1: 27:[10, 10] Operation: 3+7=10
Moving to Node #0,1
Current State: 27:[32, 3, 6], Operations: ['42/7=6']
Exploring Operation: 32-6=26, Resulting Numbers: [3, 26]
Generated Node #0,1,0: 27:[3, 26] Operation: 32-6=26
Exploring Operation: 32-3=29, Resulting Numbers: [6, 29]
Generated Node #0,1,1: 27:[6, 29] Operation: 32-3=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[3, 26], Operations: ['42/7=6', '32-6=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[6, 29], Operations: ['42/7=6', '32-3=29']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,27 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: 27:[3, 3], Operations: ['42-32=10', '10-7=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[10, 10], Operations: ['42-32=10', '3+7=10']
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,27 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,27 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
65,
56,
54,
79
] | 58 | [
"79-65=14",
"56/14=4",
"54+4=58"
] | Current State: 58:[65, 56, 54, 79], Operations: []
Exploring Operation: 79-65=14, Resulting Numbers: [56, 54, 14]
Generated Node #2: [56, 54, 14] from Operation: 79-65=14
Current State: 58:[56, 54, 14], Operations: ['79-65=14']
Exploring Operation: 56/14=4, Resulting Numbers: [54, 4]
Generated Node #3: [54, 4] from Operation: 56/14=4
Current State: 58:[54, 4], Operations: ['79-65=14', '56/14=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[65, 56, 54, 79], Operations: []
Exploring Operation: 79-54=25, Resulting Numbers: [65, 56, 25]
Generated Node #0,0: 58:[65, 56, 25] Operation: 79-54=25
Moving to Node #0,0
Current State: 58:[65, 56, 25], Operations: ['79-54=25']
Exploring Operation: 56-25=31, Resulting Numbers: [65, 31]
Generated Node #0,0,0: 58:[65, 31] Operation: 56-25=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[65, 31], Operations: ['79-54=25', '56-25=31']
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
92,
25,
44,
5
] | 77 | [
"92-44=48",
"25*5=125",
"125-48=77"
] | Current State: 77:[92, 25, 44, 5], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [25, 5, 48]
Generated Node #2: [25, 5, 48] from Operation: 92-44=48
Current State: 77:[25, 5, 48], Operations: ['92-44=48']
Exploring Operation: 25*5=125, Resulting Numbers: [48, 125]
Generated Node #3: [48, 125] from Operation: 25*5=125
Current State: 77:[48, 125], Operations: ['92-44=48', '25*5=125']
Exploring Operation: 125-48=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[92, 25, 44, 5], Operations: []
Exploring Operation: 25+44=69, Resulting Numbers: [92, 5, 69]
Generated Node #0,0: 77:[92, 5, 69] Operation: 25+44=69
Exploring Operation: 25/5=5, Resulting Numbers: [92, 44, 5]
Generated Node #0,1: 77:[92, 44, 5] Operation: 25/5=5
Exploring Operation: 44-25=19, Resulting Numbers: [92, 5, 19]
Generated Node #0,2: 77:[92, 5, 19] Operation: 44-25=19
Exploring Operation: 92-25=67, Resulting Numbers: [44, 5, 67]
Generated Node #0,3: 77:[44, 5, 67] Operation: 92-25=67
Exploring Operation: 92-44=48, Resulting Numbers: [25, 5, 48]
Generated Node #0,4: 77:[25, 5, 48] Operation: 92-44=48
Moving to Node #0,0
Current State: 77:[92, 5, 69], Operations: ['25+44=69']
Exploring Operation: 69-5=64, Resulting Numbers: [92, 64]
Generated Node #0,0,0: 77:[92, 64] Operation: 69-5=64
Exploring Operation: 92-69=23, Resulting Numbers: [5, 23]
Generated Node #0,0,1: 77:[5, 23] Operation: 92-69=23
Exploring Operation: 92-5=87, Resulting Numbers: [69, 87]
Generated Node #0,0,2: 77:[69, 87] Operation: 92-5=87
Exploring Operation: 92+5=97, Resulting Numbers: [69, 97]
Generated Node #0,0,3: 77:[69, 97] Operation: 92+5=97
Exploring Operation: 5+69=74, Resulting Numbers: [92, 74]
Generated Node #0,0,4: 77:[92, 74] Operation: 5+69=74
Moving to Node #0,2
Current State: 77:[92, 5, 19], Operations: ['44-25=19']
Exploring Operation: 92-5=87, Resulting Numbers: [19, 87]
Generated Node #0,2,0: 77:[19, 87] Operation: 92-5=87
Exploring Operation: 92-19=73, Resulting Numbers: [5, 73]
Generated Node #0,2,1: 77:[5, 73] Operation: 92-19=73
Exploring Operation: 19-5=14, Resulting Numbers: [92, 14]
Generated Node #0,2,2: 77:[92, 14] Operation: 19-5=14
Exploring Operation: 5+19=24, Resulting Numbers: [92, 24]
Generated Node #0,2,3: 77:[92, 24] Operation: 5+19=24
Exploring Operation: 92+5=97, Resulting Numbers: [19, 97]
Generated Node #0,2,4: 77:[19, 97] Operation: 92+5=97
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[5, 73], Operations: ['44-25=19', '92-19=73']
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,77 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,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,2,0
Current State: 77:[19, 87], Operations: ['44-25=19', '92-5=87']
Exploring Operation: 19+87=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 19*87=1653, Resulting Numbers: [1653]
1653,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,2,2
Current State: 77:[92, 14], Operations: ['44-25=19', '19-5=14']
Exploring Operation: 92+14=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 92*14=1288, Resulting Numbers: [1288]
1288,77 unequal: No Solution
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,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,2,3
Current State: 77:[92, 24], Operations: ['44-25=19', '5+19=24']
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 92+24=116, Resulting Numbers: [116]
116,77 unequal: No Solution
Exploring Operation: 92*24=2208, Resulting Numbers: [2208]
2208,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,2,4
Current State: 77:[19, 97], Operations: ['44-25=19', '92+5=97']
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 19*97=1843, Resulting Numbers: [1843]
1843,77 unequal: No Solution
Exploring Operation: 19+97=116, Resulting Numbers: [116]
116,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:[44, 5, 67], Operations: ['92-25=67']
Exploring Operation: 67-44=23, Resulting Numbers: [5, 23]
Generated Node #0,3,0: 77:[5, 23] Operation: 67-44=23
Exploring Operation: 44-5=39, Resulting Numbers: [67, 39]
Generated Node #0,3,1: 77:[67, 39] Operation: 44-5=39
Exploring Operation: 44+5=49, Resulting Numbers: [67, 49]
Generated Node #0,3,2: 77:[67, 49] Operation: 44+5=49
Exploring Operation: 5+67=72, Resulting Numbers: [44, 72]
Generated Node #0,3,3: 77:[44, 72] Operation: 5+67=72
Exploring Operation: 44+67=111, Resulting Numbers: [5, 111]
Generated Node #0,3,4: 77:[5, 111] Operation: 44+67=111
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[5, 23], Operations: ['92-25=67', '67-44=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,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,4
Current State: 77:[5, 111], Operations: ['92-25=67', '44+67=111']
Exploring Operation: 5*111=555, Resulting Numbers: [555]
555,77 unequal: No Solution
Exploring Operation: 111-5=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 5+111=116, Resulting Numbers: [116]
116,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,1
Current State: 77:[67, 39], Operations: ['92-25=67', '44-5=39']
Exploring Operation: 67+39=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 67-39=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 67*39=2613, Resulting Numbers: [2613]
2613,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:[67, 49], Operations: ['92-25=67', '44+5=49']
Exploring Operation: 67*49=3283, Resulting Numbers: [3283]
3283,77 unequal: No Solution
Exploring Operation: 67-49=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 67+49=116, Resulting Numbers: [116]
116,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:[44, 72], Operations: ['92-25=67', '5+67=72']
Exploring Operation: 44*72=3168, Resulting Numbers: [3168]
3168,77 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 44+72=116, Resulting Numbers: [116]
116,77 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: 77:[25, 5, 48], Operations: ['92-44=48']
Exploring Operation: 25-5=20, Resulting Numbers: [48, 20]
Generated Node #0,4,0: 77:[48, 20] Operation: 25-5=20
Exploring Operation: 25/5=5, Resulting Numbers: [48, 5]
Generated Node #0,4,1: 77:[48, 5] Operation: 25/5=5
Exploring Operation: 48-25=23, Resulting Numbers: [5, 23]
Generated Node #0,4,2: 77:[5, 23] Operation: 48-25=23
Exploring Operation: 5+48=53, Resulting Numbers: [25, 53]
Generated Node #0,4,3: 77:[25, 53] Operation: 5+48=53
Exploring Operation: 25+48=73, Resulting Numbers: [5, 73]
Generated Node #0,4,4: 77:[5, 73] Operation: 25+48=73
Moving to Node #0,1
Current State: 77:[92, 44, 5], Operations: ['25/5=5']
Exploring Operation: 44-5=39, Resulting Numbers: [92, 39]
Generated Node #0,1,0: 77:[92, 39] Operation: 44-5=39
Exploring Operation: 92-5=87, Resulting Numbers: [44, 87]
Generated Node #0,1,1: 77:[44, 87] Operation: 92-5=87
Exploring Operation: 92-44=48, Resulting Numbers: [5, 48]
Generated Node #0,1,2: 77:[5, 48] Operation: 92-44=48
Exploring Operation: 44+5=49, Resulting Numbers: [92, 49]
Generated Node #0,1,3: 77:[92, 49] Operation: 44+5=49
Exploring Operation: 92+5=97, Resulting Numbers: [44, 97]
Generated Node #0,1,4: 77:[44, 97] Operation: 92+5=97
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[5, 48], Operations: ['25/5=5', '92-44=48']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,77 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[92, 39], Operations: ['25/5=5', '44-5=39']
Exploring Operation: 92-39=53, Resulting Numbers: [53]
53,77 unequal: No Solution
Exploring Operation: 92+39=131, Resulting Numbers: [131]
131,77 unequal: No Solution
Exploring Operation: 92*39=3588, Resulting Numbers: [3588]
3588,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:[44, 87], Operations: ['25/5=5', '92-5=87']
Exploring Operation: 44+87=131, Resulting Numbers: [131]
131,77 unequal: No Solution
Exploring Operation: 44*87=3828, Resulting Numbers: [3828]
3828,77 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,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:[92, 49], Operations: ['25/5=5', '44+5=49']
Exploring Operation: 92*49=4508, Resulting Numbers: [4508]
4508,77 unequal: No Solution
Exploring Operation: 92-49=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 92+49=141, Resulting Numbers: [141]
141,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,4
Current State: 77:[44, 97], Operations: ['25/5=5', '92+5=97']
Exploring Operation: 44+97=141, Resulting Numbers: [141]
141,77 unequal: No Solution
Exploring Operation: 44*97=4268, Resulting Numbers: [4268]
4268,77 unequal: No Solution
Exploring Operation: 97-44=53, Resulting Numbers: [53]
53,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 77:[5, 73], Operations: ['92-44=48', '25+48=73']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[5, 23], Operations: ['25+44=69', '92-69=23']
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Moving to Node #0,4,2
Current State: 77:[5, 23], Operations: ['92-44=48', '48-25=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Moving to Node #0,0,4
Current State: 77:[92, 74], Operations: ['25+44=69', '5+69=74']
Exploring Operation: 92*74=6808, Resulting Numbers: [6808]
6808,77 unequal: No Solution
Exploring Operation: 92+74=166, Resulting Numbers: [166]
166,77 unequal: No Solution
Exploring Operation: 92-74=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[69, 87], Operations: ['25+44=69', '92-5=87']
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 69+87=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 69*87=6003, Resulting Numbers: [6003]
6003,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[69, 97], Operations: ['25+44=69', '92+5=97']
Exploring Operation: 69+97=166, Resulting Numbers: [166]
166,77 unequal: No Solution
Exploring Operation: 69*97=6693, Resulting Numbers: [6693]
6693,77 unequal: No Solution
Exploring Operation: 97-69=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[92, 64], Operations: ['25+44=69', '69-5=64']
Exploring Operation: 92+64=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 92*64=5888, Resulting Numbers: [5888]
5888,77 unequal: No Solution
Moving to Node #0,4,1
Current State: 77:[48, 5], Operations: ['92-44=48', '25/5=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,77 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,77 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Moving to Node #0,4,0
Current State: 77:[48, 20], Operations: ['92-44=48', '25-5=20']
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,77 unequal: No Solution
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Moving to Node #0,4,3
Current State: 77:[25, 53], Operations: ['92-44=48', '5+48=53']
Exploring Operation: 25+53=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 25*53=1325, Resulting Numbers: [1325]
1325,77 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,77 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
39,
9,
41,
5
] | 29 | [
"9+41=50",
"50/5=10",
"39-10=29"
] | Current State: 29:[39, 9, 41, 5], Operations: []
Exploring Operation: 9+41=50, Resulting Numbers: [39, 5, 50]
Generated Node #2: [39, 5, 50] from Operation: 9+41=50
Current State: 29:[39, 5, 50], Operations: ['9+41=50']
Exploring Operation: 50/5=10, Resulting Numbers: [39, 10]
Generated Node #3: [39, 10] from Operation: 50/5=10
Current State: 29:[39, 10], Operations: ['9+41=50', '50/5=10']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[39, 9, 41, 5], Operations: []
Exploring Operation: 41-9=32, Resulting Numbers: [39, 5, 32]
Generated Node #0,0: 29:[39, 5, 32] Operation: 41-9=32
Exploring Operation: 39-5=34, Resulting Numbers: [9, 41, 34]
Generated Node #0,1: 29:[9, 41, 34] Operation: 39-5=34
Exploring Operation: 39-9=30, Resulting Numbers: [41, 5, 30]
Generated Node #0,2: 29:[41, 5, 30] Operation: 39-9=30
Moving to Node #0,0
Current State: 29:[39, 5, 32], Operations: ['41-9=32']
Exploring Operation: 39-5=34, Resulting Numbers: [32, 34]
Generated Node #0,0,0: 29:[32, 34] Operation: 39-5=34
Exploring Operation: 32-5=27, Resulting Numbers: [39, 27]
Generated Node #0,0,1: 29:[39, 27] Operation: 32-5=27
Exploring Operation: 39+5=44, Resulting Numbers: [32, 44]
Generated Node #0,0,2: 29:[32, 44] Operation: 39+5=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[32, 34], Operations: ['41-9=32', '39-5=34']
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,29 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,29 unequal: No Solution
No 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: 29:[39, 27], Operations: ['41-9=32', '32-5=27']
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,29 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,29 unequal: No Solution
No 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: 29:[32, 44], Operations: ['41-9=32', '39+5=44']
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,29 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: 29:[9, 41, 34], Operations: ['39-5=34']
Exploring Operation: 9+41=50, Resulting Numbers: [34, 50]
Generated Node #0,1,0: 29:[34, 50] Operation: 9+41=50
Exploring Operation: 34-9=25, Resulting Numbers: [41, 25]
Generated Node #0,1,1: 29:[41, 25] Operation: 34-9=25
Exploring Operation: 41-9=32, Resulting Numbers: [34, 32]
Generated Node #0,1,2: 29:[34, 32] Operation: 41-9=32
Moving to Node #0,2
Current State: 29:[41, 5, 30], Operations: ['39-9=30']
Exploring Operation: 41+5=46, Resulting Numbers: [30, 46]
Generated Node #0,2,0: 29:[30, 46] Operation: 41+5=46
Exploring Operation: 41-5=36, Resulting Numbers: [30, 36]
Generated Node #0,2,1: 29:[30, 36] Operation: 41-5=36
Exploring Operation: 30-5=25, Resulting Numbers: [41, 25]
Generated Node #0,2,2: 29:[41, 25] Operation: 30-5=25
Moving to Node #0,1,2
Current State: 29:[34, 32], Operations: ['39-5=34', '41-9=32']
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,29 unequal: No Solution
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[30, 36], Operations: ['39-9=30', '41-5=36']
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[41, 25], Operations: ['39-9=30', '30-5=25']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[41, 25], Operations: ['39-5=34', '34-9=25']
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,29 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[30, 46], Operations: ['39-9=30', '41+5=46']
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,29 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[34, 50], Operations: ['39-5=34', '9+41=50']
Exploring Operation: 34+50=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 34*50=1700, Resulting Numbers: [1700]
1700,29 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
75,
87,
27,
27
] | 33 | [
"75+87=162",
"162/27=6",
"27+6=33"
] | Current State: 33:[75, 87, 27, 27], Operations: []
Exploring Operation: 75+87=162, Resulting Numbers: [27, 27, 162]
Generated Node #2: [27, 27, 162] from Operation: 75+87=162
Current State: 33:[27, 27, 162], Operations: ['75+87=162']
Exploring Operation: 162/27=6, Resulting Numbers: [6]
6,33 equal: Goal Reached
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[75, 87, 27, 27], Operations: []
Exploring Operation: 75-27=48, Resulting Numbers: [87, 27, 48]
Generated Node #0,0: 33:[87, 27, 48] Operation: 75-27=48
Exploring Operation: 75-27=48, Resulting Numbers: [87, 27, 48]
Generated Node #0,1: 33:[87, 27, 48] Operation: 75-27=48
Exploring Operation: 87-27=60, Resulting Numbers: [75, 27, 60]
Generated Node #0,2: 33:[75, 27, 60] Operation: 87-27=60
Exploring Operation: 87-27=60, Resulting Numbers: [75, 27, 60]
Generated Node #0,3: 33:[75, 27, 60] Operation: 87-27=60
Exploring Operation: 87-75=12, Resulting Numbers: [27, 27, 12]
Generated Node #0,4: 33:[27, 27, 12] Operation: 87-75=12
Start Sub Search at level 1: Moving to Node #0,4
Current State: 33:[27, 27, 12], Operations: ['87-75=12']
Exploring Operation: 27-27=0, Resulting Numbers: [12, 0]
Generated Node #0,4,0: 33:[12, 0] Operation: 27-27=0
Exploring Operation: 27-12=15, Resulting Numbers: [27, 15]
Generated Node #0,4,1: 33:[27, 15] Operation: 27-12=15
Exploring Operation: 27-12=15, Resulting Numbers: [27, 15]
Generated Node #0,4,2: 33:[27, 15] Operation: 27-12=15
Exploring Operation: 27+12=39, Resulting Numbers: [27, 39]
Generated Node #0,4,3: 33:[27, 39] Operation: 27+12=39
Exploring Operation: 27/27=1, Resulting Numbers: [12, 1]
Generated Node #0,4,4: 33:[12, 1] Operation: 27/27=1
Moving to Node #0,4,4
Current State: 33:[12, 1], Operations: ['87-75=12', '27/27=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Moving to Node #0,4,0
Current State: 33:[12, 0], Operations: ['87-75=12', '27-27=0']
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Moving to Node #0,4,1
Current State: 33:[27, 15], Operations: ['87-75=12', '27-12=15']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,33 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Moving to Node #0,4,2
Current State: 33:[27, 15], Operations: ['87-75=12', '27-12=15']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,33 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Moving to Node #0,4,3
Current State: 33:[27, 39], Operations: ['87-75=12', '27+12=39']
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,33 unequal: No Solution
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[87, 27, 48], Operations: ['75-27=48']
Exploring Operation: 87-48=39, Resulting Numbers: [27, 39]
Generated Node #0,0,0: 33:[27, 39] Operation: 87-48=39
Exploring Operation: 48-27=21, Resulting Numbers: [87, 21]
Generated Node #0,0,1: 33:[87, 21] Operation: 48-27=21
Exploring Operation: 87+27=114, Resulting Numbers: [48, 114]
Generated Node #0,0,2: 33:[48, 114] Operation: 87+27=114
Exploring Operation: 27+48=75, Resulting Numbers: [87, 75]
Generated Node #0,0,3: 33:[87, 75] Operation: 27+48=75
Exploring Operation: 87-27=60, Resulting Numbers: [48, 60]
Generated Node #0,0,4: 33:[48, 60] Operation: 87-27=60
Moving to Node #0,0,0
Current State: 33:[27, 39], Operations: ['75-27=48', '87-48=39']
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,33 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Moving to Node #0,0,4
Current State: 33:[48, 60], Operations: ['75-27=48', '87-27=60']
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 48+60=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 48*60=2880, Resulting Numbers: [2880]
2880,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[87, 21], Operations: ['75-27=48', '48-27=21']
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Exploring Operation: 87*21=1827, Resulting Numbers: [1827]
1827,33 unequal: No Solution
Exploring Operation: 87+21=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[48, 114], Operations: ['75-27=48', '87+27=114']
Exploring Operation: 114-48=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Exploring Operation: 48*114=5472, Resulting Numbers: [5472]
5472,33 unequal: No Solution
Exploring Operation: 48+114=162, Resulting Numbers: [162]
162,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[87, 75], Operations: ['75-27=48', '27+48=75']
Exploring Operation: 87*75=6525, Resulting Numbers: [6525]
6525,33 unequal: No Solution
Exploring Operation: 87-75=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 87+75=162, Resulting Numbers: [162]
162,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[87, 27, 48], Operations: ['75-27=48']
Exploring Operation: 87-27=60, Resulting Numbers: [48, 60]
Generated Node #0,1,0: 33:[48, 60] Operation: 87-27=60
Exploring Operation: 87+27=114, Resulting Numbers: [48, 114]
Generated Node #0,1,1: 33:[48, 114] Operation: 87+27=114
Exploring Operation: 27+48=75, Resulting Numbers: [87, 75]
Generated Node #0,1,2: 33:[87, 75] Operation: 27+48=75
Exploring Operation: 87-48=39, Resulting Numbers: [27, 39]
Generated Node #0,1,3: 33:[27, 39] Operation: 87-48=39
Exploring Operation: 48-27=21, Resulting Numbers: [87, 21]
Generated Node #0,1,4: 33:[87, 21] Operation: 48-27=21
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 33:[27, 39], Operations: ['75-27=48', '87-48=39']
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[48, 60], Operations: ['75-27=48', '87-27=60']
Exploring Operation: 48*60=2880, Resulting Numbers: [2880]
2880,33 unequal: No Solution
Exploring Operation: 48+60=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 33:[87, 21], Operations: ['75-27=48', '48-27=21']
Exploring Operation: 87*21=1827, Resulting Numbers: [1827]
1827,33 unequal: No Solution
Exploring Operation: 87+21=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[48, 114], Operations: ['75-27=48', '87+27=114']
Exploring Operation: 114-48=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Exploring Operation: 48+114=162, Resulting Numbers: [162]
162,33 unequal: No Solution
Exploring Operation: 48*114=5472, Resulting Numbers: [5472]
5472,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[87, 75], Operations: ['75-27=48', '27+48=75']
Exploring Operation: 87+75=162, Resulting Numbers: [162]
162,33 unequal: No Solution
Exploring Operation: 87*75=6525, Resulting Numbers: [6525]
6525,33 unequal: No Solution
Exploring Operation: 87-75=12, Resulting Numbers: [12]
12,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[75, 27, 60], Operations: ['87-27=60']
Exploring Operation: 27+60=87, Resulting Numbers: [75, 87]
Generated Node #0,2,0: 33:[75, 87] Operation: 27+60=87
Exploring Operation: 60-27=33, Resulting Numbers: [75, 33]
Generated Node #0,2,1: 33:[75, 33] Operation: 60-27=33
Exploring Operation: 75+27=102, Resulting Numbers: [60, 102]
Generated Node #0,2,2: 33:[60, 102] Operation: 75+27=102
Exploring Operation: 75-60=15, Resulting Numbers: [27, 15]
Generated Node #0,2,3: 33:[27, 15] Operation: 75-60=15
Exploring Operation: 75-27=48, Resulting Numbers: [60, 48]
Generated Node #0,2,4: 33:[60, 48] Operation: 75-27=48
Moving to Node #0,2,3
Current State: 33:[27, 15], Operations: ['87-27=60', '75-60=15']
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,33 unequal: No Solution
Moving to Node #0,2,4
Current State: 33:[60, 48], Operations: ['87-27=60', '75-27=48']
Exploring Operation: 60*48=2880, Resulting Numbers: [2880]
2880,33 unequal: No Solution
Exploring Operation: 60+48=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[75, 33], Operations: ['87-27=60', '60-27=33']
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 75*33=2475, Resulting Numbers: [2475]
2475,33 unequal: No Solution
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[75, 87], Operations: ['87-27=60', '27+60=87']
Exploring Operation: 75*87=6525, Resulting Numbers: [6525]
6525,33 unequal: No Solution
Exploring Operation: 87-75=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 75+87=162, Resulting Numbers: [162]
162,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[60, 102], Operations: ['87-27=60', '75+27=102']
Exploring Operation: 60*102=6120, Resulting Numbers: [6120]
6120,33 unequal: No Solution
Exploring Operation: 102-60=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 60+102=162, Resulting Numbers: [162]
162,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[75, 27, 60], Operations: ['87-27=60']
Exploring Operation: 75-60=15, Resulting Numbers: [27, 15]
Generated Node #0,3,0: 33:[27, 15] Operation: 75-60=15
Exploring Operation: 27+60=87, Resulting Numbers: [75, 87]
Generated Node #0,3,1: 33:[75, 87] Operation: 27+60=87
Exploring Operation: 75-27=48, Resulting Numbers: [60, 48]
Generated Node #0,3,2: 33:[60, 48] Operation: 75-27=48
Exploring Operation: 60-27=33, Resulting Numbers: [75, 33]
Generated Node #0,3,3: 33:[75, 33] Operation: 60-27=33
Exploring Operation: 75+27=102, Resulting Numbers: [60, 102]
Generated Node #0,3,4: 33:[60, 102] Operation: 75+27=102
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 33:[27, 15], Operations: ['87-27=60', '75-60=15']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 33:[60, 48], Operations: ['87-27=60', '75-27=48']
Exploring Operation: 60+48=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 60*48=2880, Resulting Numbers: [2880]
2880,33 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 33:[75, 33], Operations: ['87-27=60', '60-27=33']
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 75*33=2475, Resulting Numbers: [2475]
2475,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[75, 87], Operations: ['87-27=60', '27+60=87']
Exploring Operation: 75*87=6525, Resulting Numbers: [6525]
6525,33 unequal: No Solution
Exploring Operation: 87-75=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 75+87=162, Resulting Numbers: [162]
162,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 33:[60, 102], Operations: ['87-27=60', '75+27=102']
Exploring Operation: 60+102=162, Resulting Numbers: [162]
162,33 unequal: No Solution
Exploring Operation: 102-60=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 60*102=6120, Resulting Numbers: [6120]
6120,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
91,
32,
69,
46
] | 43 | [
"32*69=2208",
"2208/46=48",
"91-48=43"
] | Current State: 43:[91, 32, 69, 46], Operations: []
Exploring Operation: 32*69=2208, Resulting Numbers: [91, 46, 2208]
Generated Node #2: [91, 46, 2208] from Operation: 32*69=2208
Current State: 43:[91, 46, 2208], Operations: ['32*69=2208']
Exploring Operation: 2208/46=48, Resulting Numbers: [91, 48]
Generated Node #3: [91, 48] from Operation: 2208/46=48
Current State: 43:[91, 48], Operations: ['32*69=2208', '2208/46=48']
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[91, 32, 69, 46], Operations: []
Exploring Operation: 91-46=45, Resulting Numbers: [32, 69, 45]
Generated Node #0,0: 43:[32, 69, 45] Operation: 91-46=45
Exploring Operation: 91-69=22, Resulting Numbers: [32, 46, 22]
Generated Node #0,1: 43:[32, 46, 22] Operation: 91-69=22
Exploring Operation: 91-32=59, Resulting Numbers: [69, 46, 59]
Generated Node #0,2: 43:[69, 46, 59] Operation: 91-32=59
Moving to Node #0,1
Current State: 43:[32, 46, 22], Operations: ['91-69=22']
Exploring Operation: 46-22=24, Resulting Numbers: [32, 24]
Generated Node #0,1,0: 43:[32, 24] Operation: 46-22=24
Exploring Operation: 32+22=54, Resulting Numbers: [46, 54]
Generated Node #0,1,1: 43:[46, 54] Operation: 32+22=54
Exploring Operation: 32-22=10, Resulting Numbers: [46, 10]
Generated Node #0,1,2: 43:[46, 10] Operation: 32-22=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[46, 54], Operations: ['91-69=22', '32+22=54']
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 46*54=2484, Resulting Numbers: [2484]
2484,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:[32, 24], Operations: ['91-69=22', '46-22=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,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:[46, 10], Operations: ['91-69=22', '32-22=10']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 43:[32, 69, 45], Operations: ['91-46=45']
Exploring Operation: 45-32=13, Resulting Numbers: [69, 13]
Generated Node #0,0,0: 43:[69, 13] Operation: 45-32=13
Exploring Operation: 69-32=37, Resulting Numbers: [45, 37]
Generated Node #0,0,1: 43:[45, 37] Operation: 69-32=37
Exploring Operation: 69-45=24, Resulting Numbers: [32, 24]
Generated Node #0,0,2: 43:[32, 24] Operation: 69-45=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[45, 37], Operations: ['91-46=45', '69-32=37']
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,43 unequal: No Solution
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,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:[32, 24], Operations: ['91-46=45', '69-45=24']
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,43 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,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:[69, 13], Operations: ['91-46=45', '45-32=13']
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,43 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,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:[69, 46, 59], Operations: ['91-32=59']
Exploring Operation: 59-46=13, Resulting Numbers: [69, 13]
Generated Node #0,2,0: 43:[69, 13] Operation: 59-46=13
Exploring Operation: 69-46=23, Resulting Numbers: [59, 23]
Generated Node #0,2,1: 43:[59, 23] Operation: 69-46=23
Exploring Operation: 69-59=10, Resulting Numbers: [46, 10]
Generated Node #0,2,2: 43:[46, 10] Operation: 69-59=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[59, 23], Operations: ['91-32=59', '69-46=23']
Exploring Operation: 59*23=1357, Resulting Numbers: [1357]
1357,43 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 59+23=82, Resulting Numbers: [82]
82,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[46, 10], Operations: ['91-32=59', '69-59=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[69, 13], Operations: ['91-32=59', '59-46=13']
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,43 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
55,
10,
87,
70
] | 63 | [
"70-55=15",
"10*15=150",
"150-87=63"
] | Current State: 63:[55, 10, 87, 70], Operations: []
Exploring Operation: 70-55=15, Resulting Numbers: [10, 87, 15]
Generated Node #2: [10, 87, 15] from Operation: 70-55=15
Current State: 63:[10, 87, 15], Operations: ['70-55=15']
Exploring Operation: 10*15=150, Resulting Numbers: [87, 150]
Generated Node #3: [87, 150] from Operation: 10*15=150
Current State: 63:[87, 150], Operations: ['70-55=15', '10*15=150']
Exploring Operation: 150-87=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[55, 10, 87, 70], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [55, 87, 7]
Generated Node #0,0: 63:[55, 87, 7] Operation: 70/10=7
Exploring Operation: 87-70=17, Resulting Numbers: [55, 10, 17]
Generated Node #0,1: 63:[55, 10, 17] Operation: 87-70=17
Exploring Operation: 87-55=32, Resulting Numbers: [10, 70, 32]
Generated Node #0,2: 63:[10, 70, 32] Operation: 87-55=32
Exploring Operation: 70-55=15, Resulting Numbers: [10, 87, 15]
Generated Node #0,3: 63:[10, 87, 15] Operation: 70-55=15
Exploring Operation: 87-10=77, Resulting Numbers: [55, 70, 77]
Generated Node #0,4: 63:[55, 70, 77] Operation: 87-10=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[55, 10, 17], Operations: ['87-70=17']
Exploring Operation: 10+17=27, Resulting Numbers: [55, 27]
Generated Node #0,1,0: 63:[55, 27] Operation: 10+17=27
Exploring Operation: 55+10=65, Resulting Numbers: [17, 65]
Generated Node #0,1,1: 63:[17, 65] Operation: 55+10=65
Exploring Operation: 17-10=7, Resulting Numbers: [55, 7]
Generated Node #0,1,2: 63:[55, 7] Operation: 17-10=7
Exploring Operation: 55-17=38, Resulting Numbers: [10, 38]
Generated Node #0,1,3: 63:[10, 38] Operation: 55-17=38
Exploring Operation: 55+17=72, Resulting Numbers: [10, 72]
Generated Node #0,1,4: 63:[10, 72] Operation: 55+17=72
Moving to Node #0,1,1
Current State: 63:[17, 65], Operations: ['87-70=17', '55+10=65']
Exploring Operation: 17+65=82, Resulting Numbers: [82]
82,63 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 17*65=1105, Resulting Numbers: [1105]
1105,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[55, 7], Operations: ['87-70=17', '17-10=7']
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 55*7=385, Resulting Numbers: [385]
385,63 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Moving to Node #0,1,4
Current State: 63:[10, 72], Operations: ['87-70=17', '55+17=72']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,63 unequal: No Solution
Exploring Operation: 10*72=720, Resulting Numbers: [720]
720,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[55, 27], Operations: ['87-70=17', '10+17=27']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,63 unequal: No Solution
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[10, 38], Operations: ['87-70=17', '55-17=38']
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,63 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[10, 70, 32], Operations: ['87-55=32']
Exploring Operation: 70-32=38, Resulting Numbers: [10, 38]
Generated Node #0,2,0: 63:[10, 38] Operation: 70-32=38
Exploring Operation: 70-10=60, Resulting Numbers: [32, 60]
Generated Node #0,2,1: 63:[32, 60] Operation: 70-10=60
Exploring Operation: 10+70=80, Resulting Numbers: [32, 80]
Generated Node #0,2,2: 63:[32, 80] Operation: 10+70=80
Exploring Operation: 32-10=22, Resulting Numbers: [70, 22]
Generated Node #0,2,3: 63:[70, 22] Operation: 32-10=22
Exploring Operation: 70/10=7, Resulting Numbers: [32, 7]
Generated Node #0,2,4: 63:[32, 7] Operation: 70/10=7
Moving to Node #0,2,3
Current State: 63:[70, 22], Operations: ['87-55=32', '32-10=22']
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,63 unequal: No Solution
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 70*22=1540, Resulting Numbers: [1540]
1540,63 unequal: No Solution
Moving to Node #0,2,4
Current State: 63:[32, 7], Operations: ['87-55=32', '70/10=7']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,63 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[32, 60], Operations: ['87-55=32', '70-10=60']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 32*60=1920, Resulting Numbers: [1920]
1920,63 unequal: No Solution
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[10, 38], Operations: ['87-55=32', '70-32=38']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[32, 80], Operations: ['87-55=32', '10+70=80']
Exploring Operation: 80-32=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 32+80=112, Resulting Numbers: [112]
112,63 unequal: No Solution
Exploring Operation: 32*80=2560, Resulting Numbers: [2560]
2560,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 63:[55, 70, 77], Operations: ['87-10=77']
Exploring Operation: 77-55=22, Resulting Numbers: [70, 22]
Generated Node #0,4,0: 63:[70, 22] Operation: 77-55=22
Exploring Operation: 55+70=125, Resulting Numbers: [77, 125]
Generated Node #0,4,1: 63:[77, 125] Operation: 55+70=125
Exploring Operation: 77-70=7, Resulting Numbers: [55, 7]
Generated Node #0,4,2: 63:[55, 7] Operation: 77-70=7
Exploring Operation: 70-55=15, Resulting Numbers: [77, 15]
Generated Node #0,4,3: 63:[77, 15] Operation: 70-55=15
Exploring Operation: 55+77=132, Resulting Numbers: [70, 132]
Generated Node #0,4,4: 63:[70, 132] Operation: 55+77=132
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 63:[70, 22], Operations: ['87-10=77', '77-55=22']
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,63 unequal: No Solution
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 70*22=1540, Resulting Numbers: [1540]
1540,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 63:[55, 7], Operations: ['87-10=77', '77-70=7']
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 55*7=385, Resulting Numbers: [385]
385,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 63:[77, 15], Operations: ['87-10=77', '70-55=15']
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 77*15=1155, Resulting Numbers: [1155]
1155,63 unequal: No Solution
Exploring Operation: 77+15=92, Resulting Numbers: [92]
92,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 63:[77, 125], Operations: ['87-10=77', '55+70=125']
Exploring Operation: 125-77=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 77+125=202, Resulting Numbers: [202]
202,63 unequal: No Solution
Exploring Operation: 77*125=9625, Resulting Numbers: [9625]
9625,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 63:[70, 132], Operations: ['87-10=77', '55+77=132']
Exploring Operation: 132-70=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 70+132=202, Resulting Numbers: [202]
202,63 unequal: No Solution
Exploring Operation: 70*132=9240, Resulting Numbers: [9240]
9240,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[10, 87, 15], Operations: ['70-55=15']
Exploring Operation: 10+15=25, Resulting Numbers: [87, 25]
Generated Node #0,3,0: 63:[87, 25] Operation: 10+15=25
Exploring Operation: 87-15=72, Resulting Numbers: [10, 72]
Generated Node #0,3,1: 63:[10, 72] Operation: 87-15=72
Exploring Operation: 10+87=97, Resulting Numbers: [15, 97]
Generated Node #0,3,2: 63:[15, 97] Operation: 10+87=97
Exploring Operation: 87-10=77, Resulting Numbers: [15, 77]
Generated Node #0,3,3: 63:[15, 77] Operation: 87-10=77
Exploring Operation: 15-10=5, Resulting Numbers: [87, 5]
Generated Node #0,3,4: 63:[87, 5] Operation: 15-10=5
Moving to Node #0,3,1
Current State: 63:[10, 72], Operations: ['70-55=15', '87-15=72']
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,63 unequal: No Solution
Exploring Operation: 10*72=720, Resulting Numbers: [720]
720,63 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Moving to Node #0,3,3
Current State: 63:[15, 77], Operations: ['70-55=15', '87-10=77']
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 15*77=1155, Resulting Numbers: [1155]
1155,63 unequal: No Solution
Exploring Operation: 15+77=92, Resulting Numbers: [92]
92,63 unequal: No Solution
Moving to Node #0,3,4
Current State: 63:[87, 5], Operations: ['70-55=15', '15-10=5']
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,63 unequal: No Solution
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,63 unequal: No Solution
Exploring Operation: 87*5=435, Resulting Numbers: [435]
435,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[87, 25], Operations: ['70-55=15', '10+15=25']
Exploring Operation: 87*25=2175, Resulting Numbers: [2175]
2175,63 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 87+25=112, Resulting Numbers: [112]
112,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[15, 97], Operations: ['70-55=15', '10+87=97']
Exploring Operation: 15*97=1455, Resulting Numbers: [1455]
1455,63 unequal: No Solution
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,63 unequal: No Solution
Exploring Operation: 15+97=112, Resulting Numbers: [112]
112,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[55, 87, 7], Operations: ['70/10=7']
Exploring Operation: 87-55=32, Resulting Numbers: [7, 32]
Generated Node #0,0,0: 63:[7, 32] Operation: 87-55=32
Exploring Operation: 55+7=62, Resulting Numbers: [87, 62]
Generated Node #0,0,1: 63:[87, 62] Operation: 55+7=62
Exploring Operation: 87-7=80, Resulting Numbers: [55, 80]
Generated Node #0,0,2: 63:[55, 80] Operation: 87-7=80
Exploring Operation: 87+7=94, Resulting Numbers: [55, 94]
Generated Node #0,0,3: 63:[55, 94] Operation: 87+7=94
Exploring Operation: 55-7=48, Resulting Numbers: [87, 48]
Generated Node #0,0,4: 63:[87, 48] Operation: 55-7=48
Moving to Node #0,0,0
Current State: 63:[7, 32], Operations: ['70/10=7', '87-55=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,63 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[55, 80], Operations: ['70/10=7', '87-7=80']
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 55+80=135, Resulting Numbers: [135]
135,63 unequal: No Solution
Exploring Operation: 55*80=4400, Resulting Numbers: [4400]
4400,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[87, 62], Operations: ['70/10=7', '55+7=62']
Exploring Operation: 87*62=5394, Resulting Numbers: [5394]
5394,63 unequal: No Solution
Exploring Operation: 87-62=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 87+62=149, Resulting Numbers: [149]
149,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[55, 94], Operations: ['70/10=7', '87+7=94']
Exploring Operation: 55*94=5170, Resulting Numbers: [5170]
5170,63 unequal: No Solution
Exploring Operation: 94-55=39, Resulting Numbers: [39]
39,63 unequal: No Solution
Exploring Operation: 55+94=149, Resulting Numbers: [149]
149,63 unequal: No Solution
Moving to Node #0,0,4
Current State: 63:[87, 48], Operations: ['70/10=7', '55-7=48']
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,63 unequal: No Solution
Exploring Operation: 87+48=135, Resulting Numbers: [135]
135,63 unequal: No Solution
Exploring Operation: 87*48=4176, Resulting Numbers: [4176]
4176,63 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 |
[
32,
13,
29,
69
] | 36 | [
"32-29=3",
"69/3=23",
"13+23=36"
] | Current State: 36:[32, 13, 29, 69], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [13, 69, 3]
Generated Node #2: [13, 69, 3] from Operation: 32-29=3
Current State: 36:[13, 69, 3], Operations: ['32-29=3']
Exploring Operation: 69/3=23, Resulting Numbers: [13, 23]
Generated Node #3: [13, 23] from Operation: 69/3=23
Current State: 36:[13, 23], Operations: ['32-29=3', '69/3=23']
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[32, 13, 29, 69], Operations: []
Exploring Operation: 69-32=37, Resulting Numbers: [13, 29, 37]
Generated Node #0,0: 36:[13, 29, 37] Operation: 69-32=37
Exploring Operation: 32-29=3, Resulting Numbers: [13, 69, 3]
Generated Node #0,1: 36:[13, 69, 3] Operation: 32-29=3
Exploring Operation: 69-29=40, Resulting Numbers: [32, 13, 40]
Generated Node #0,2: 36:[32, 13, 40] Operation: 69-29=40
Exploring Operation: 69-13=56, Resulting Numbers: [32, 29, 56]
Generated Node #0,3: 36:[32, 29, 56] Operation: 69-13=56
Moving to Node #0,0
Current State: 36:[13, 29, 37], Operations: ['69-32=37']
Exploring Operation: 29-13=16, Resulting Numbers: [37, 16]
Generated Node #0,0,0: 36:[37, 16] Operation: 29-13=16
Exploring Operation: 37-13=24, Resulting Numbers: [29, 24]
Generated Node #0,0,1: 36:[29, 24] Operation: 37-13=24
Exploring Operation: 37-29=8, Resulting Numbers: [13, 8]
Generated Node #0,0,2: 36:[13, 8] Operation: 37-29=8
Exploring Operation: 13+29=42, Resulting Numbers: [37, 42]
Generated Node #0,0,3: 36:[37, 42] Operation: 13+29=42
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[13, 8], Operations: ['69-32=37', '37-29=8']
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,36 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[37, 16], Operations: ['69-32=37', '29-13=16']
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 36:[37, 42], Operations: ['69-32=37', '13+29=42']
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,36 unequal: No Solution
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[29, 24], Operations: ['69-32=37', '37-13=24']
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,36 unequal: No Solution
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 36:[32, 13, 40], Operations: ['69-29=40']
Exploring Operation: 40-13=27, Resulting Numbers: [32, 27]
Generated Node #0,2,0: 36:[32, 27] Operation: 40-13=27
Exploring Operation: 32+13=45, Resulting Numbers: [40, 45]
Generated Node #0,2,1: 36:[40, 45] Operation: 32+13=45
Exploring Operation: 40-32=8, Resulting Numbers: [13, 8]
Generated Node #0,2,2: 36:[13, 8] Operation: 40-32=8
Exploring Operation: 32-13=19, Resulting Numbers: [40, 19]
Generated Node #0,2,3: 36:[40, 19] Operation: 32-13=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[13, 8], Operations: ['69-29=40', '40-32=8']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,36 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 36:[40, 19], Operations: ['69-29=40', '32-13=19']
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 40*19=760, Resulting Numbers: [760]
760,36 unequal: No Solution
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[32, 27], Operations: ['69-29=40', '40-13=27']
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,36 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[40, 45], Operations: ['69-29=40', '32+13=45']
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 40*45=1800, Resulting Numbers: [1800]
1800,36 unequal: No Solution
Exploring Operation: 40+45=85, Resulting Numbers: [85]
85,36 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: 36:[32, 29, 56], Operations: ['69-13=56']
Exploring Operation: 56-29=27, Resulting Numbers: [32, 27]
Generated Node #0,3,0: 36:[32, 27] Operation: 56-29=27
Exploring Operation: 32-29=3, Resulting Numbers: [56, 3]
Generated Node #0,3,1: 36:[56, 3] Operation: 32-29=3
Exploring Operation: 56-32=24, Resulting Numbers: [29, 24]
Generated Node #0,3,2: 36:[29, 24] Operation: 56-32=24
Exploring Operation: 32+29=61, Resulting Numbers: [56, 61]
Generated Node #0,3,3: 36:[56, 61] Operation: 32+29=61
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 36:[32, 27], Operations: ['69-13=56', '56-29=27']
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,36 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,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,3,2
Current State: 36:[29, 24], Operations: ['69-13=56', '56-32=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,36 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,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,3,1
Current State: 36:[56, 3], Operations: ['69-13=56', '32-29=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,36 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,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,3,3
Current State: 36:[56, 61], Operations: ['69-13=56', '32+29=61']
Exploring Operation: 56+61=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 56*61=3416, Resulting Numbers: [3416]
3416,36 unequal: No Solution
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 36:[13, 69, 3], Operations: ['32-29=3']
Exploring Operation: 13-3=10, Resulting Numbers: [69, 10]
Generated Node #0,1,0: 36:[69, 10] Operation: 13-3=10
Exploring Operation: 69-3=66, Resulting Numbers: [13, 66]
Generated Node #0,1,1: 36:[13, 66] Operation: 69-3=66
Exploring Operation: 69-13=56, Resulting Numbers: [3, 56]
Generated Node #0,1,2: 36:[3, 56] Operation: 69-13=56
Exploring Operation: 69/3=23, Resulting Numbers: [13, 23]
Generated Node #0,1,3: 36:[13, 23] Operation: 69/3=23
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 36:[13, 23], Operations: ['32-29=3', '69/3=23']
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[32, 13, 29, 69], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [13, 69, 3]
Generated Node #0,1: 36:[13, 69, 3] Operation: 32-29=3
Moving to Node #0,1
Current State: 36:[13, 69, 3], Operations: ['32-29=3']
Exploring Operation: 69/3=23, Resulting Numbers: [13, 23]
Generated Node #0,1,3: 36:[13, 23] Operation: 69/3=23
Moving to Node #0,1,3
Current State: 36:[13, 23], Operations: ['32-29=3', '69/3=23']
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_4 | mult_heuristic |
[
44,
77,
44,
55
] | 47 | [
"77+55=132",
"132/44=3",
"44+3=47"
] | Current State: 47:[44, 77, 44, 55], Operations: []
Exploring Operation: 77+55=132, Resulting Numbers: [44, 44, 132]
Generated Node #2: [44, 44, 132] from Operation: 77+55=132
Current State: 47:[44, 44, 132], Operations: ['77+55=132']
Exploring Operation: 132/44=3, Resulting Numbers: [3]
3,47 equal: Goal Reached
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[44, 77, 44, 55], Operations: []
Exploring Operation: 77-44=33, Resulting Numbers: [44, 55, 33]
Generated Node #0,0: 47:[44, 55, 33] Operation: 77-44=33
Moving to Node #0,0
Current State: 47:[44, 55, 33], Operations: ['77-44=33']
Exploring Operation: 55-33=22, Resulting Numbers: [44, 22]
Generated Node #0,0,0: 47:[44, 22] Operation: 55-33=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[44, 22], Operations: ['77-44=33', '55-33=22']
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
26,
17,
69,
97
] | 99 | [
"69-17=52",
"52/26=2",
"97+2=99"
] | Current State: 99:[26, 17, 69, 97], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [26, 97, 52]
Generated Node #2: [26, 97, 52] from Operation: 69-17=52
Current State: 99:[26, 97, 52], Operations: ['69-17=52']
Exploring Operation: 52/26=2, Resulting Numbers: [97, 2]
Generated Node #3: [97, 2] from Operation: 52/26=2
Current State: 99:[97, 2], Operations: ['69-17=52', '52/26=2']
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[26, 17, 69, 97], Operations: []
Exploring Operation: 69-26=43, Resulting Numbers: [17, 97, 43]
Generated Node #0,0: 99:[17, 97, 43] Operation: 69-26=43
Exploring Operation: 97-69=28, Resulting Numbers: [26, 17, 28]
Generated Node #0,1: 99:[26, 17, 28] Operation: 97-69=28
Exploring Operation: 26+69=95, Resulting Numbers: [17, 97, 95]
Generated Node #0,2: 99:[17, 97, 95] Operation: 26+69=95
Moving to Node #0,2
Current State: 99:[17, 97, 95], Operations: ['26+69=95']
Exploring Operation: 17+95=112, Resulting Numbers: [97, 112]
Generated Node #0,2,0: 99:[97, 112] Operation: 17+95=112
Exploring Operation: 17+97=114, Resulting Numbers: [95, 114]
Generated Node #0,2,1: 99:[95, 114] Operation: 17+97=114
Exploring Operation: 97-95=2, Resulting Numbers: [17, 2]
Generated Node #0,2,2: 99:[17, 2] Operation: 97-95=2
Moving to Node #0,0
Current State: 99:[17, 97, 43], Operations: ['69-26=43']
Exploring Operation: 17+97=114, Resulting Numbers: [43, 114]
Generated Node #0,0,0: 99:[43, 114] Operation: 17+97=114
Exploring Operation: 43-17=26, Resulting Numbers: [97, 26]
Generated Node #0,0,1: 99:[97, 26] Operation: 43-17=26
Exploring Operation: 97-43=54, Resulting Numbers: [17, 54]
Generated Node #0,0,2: 99:[17, 54] Operation: 97-43=54
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[97, 26], Operations: ['69-26=43', '43-17=26']
Exploring Operation: 97-26=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 97+26=123, Resulting Numbers: [123]
123,99 unequal: No Solution
Exploring Operation: 97*26=2522, Resulting Numbers: [2522]
2522,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,0,0
Current State: 99:[43, 114], Operations: ['69-26=43', '17+97=114']
Exploring Operation: 43+114=157, Resulting Numbers: [157]
157,99 unequal: No Solution
Exploring Operation: 43*114=4902, Resulting Numbers: [4902]
4902,99 unequal: No Solution
Exploring Operation: 114-43=71, Resulting Numbers: [71]
71,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,0,2
Current State: 99:[17, 54], Operations: ['69-26=43', '97-43=54']
Exploring Operation: 17*54=918, Resulting Numbers: [918]
918,99 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 17+54=71, Resulting Numbers: [71]
71,99 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: 99:[26, 17, 28], Operations: ['97-69=28']
Exploring Operation: 26-17=9, Resulting Numbers: [28, 9]
Generated Node #0,1,0: 99:[28, 9] Operation: 26-17=9
Exploring Operation: 28-17=11, Resulting Numbers: [26, 11]
Generated Node #0,1,1: 99:[26, 11] Operation: 28-17=11
Exploring Operation: 28-26=2, Resulting Numbers: [17, 2]
Generated Node #0,1,2: 99:[17, 2] Operation: 28-26=2
Moving to Node #0,1,0
Current State: 99:[28, 9], Operations: ['97-69=28', '26-17=9']
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[17, 2], Operations: ['97-69=28', '28-26=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[17, 2], Operations: ['26+69=95', '97-95=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[26, 11], Operations: ['97-69=28', '28-17=11']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[97, 112], Operations: ['26+69=95', '17+95=112']
Exploring Operation: 97*112=10864, Resulting Numbers: [10864]
10864,99 unequal: No Solution
Exploring Operation: 112-97=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 97+112=209, Resulting Numbers: [209]
209,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[95, 114], Operations: ['26+69=95', '17+97=114']
Exploring Operation: 114-95=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 95*114=10830, Resulting Numbers: [10830]
10830,99 unequal: No Solution
Exploring Operation: 95+114=209, Resulting Numbers: [209]
209,99 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
69,
63,
98,
76
] | 23 | [
"76-69=7",
"63+98=161",
"161/7=23"
] | Current State: 23:[69, 63, 98, 76], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [63, 98, 7]
Generated Node #2: [63, 98, 7] from Operation: 76-69=7
Current State: 23:[63, 98, 7], Operations: ['76-69=7']
Exploring Operation: 63+98=161, Resulting Numbers: [7, 161]
Generated Node #3: [7, 161] from Operation: 63+98=161
Current State: 23:[7, 161], Operations: ['76-69=7', '63+98=161']
Exploring Operation: 161/7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[69, 63, 98, 76], Operations: []
Exploring Operation: 98-76=22, Resulting Numbers: [69, 63, 22]
Generated Node #0,0: 23:[69, 63, 22] Operation: 98-76=22
Exploring Operation: 98-69=29, Resulting Numbers: [63, 76, 29]
Generated Node #0,1: 23:[63, 76, 29] Operation: 98-69=29
Moving to Node #0,0
Current State: 23:[69, 63, 22], Operations: ['98-76=22']
Exploring Operation: 69-22=47, Resulting Numbers: [63, 47]
Generated Node #0,0,0: 23:[63, 47] Operation: 69-22=47
Exploring Operation: 69-63=6, Resulting Numbers: [22, 6]
Generated Node #0,0,1: 23:[22, 6] Operation: 69-63=6
Moving to Node #0,1
Current State: 23:[63, 76, 29], Operations: ['98-69=29']
Exploring Operation: 76-63=13, Resulting Numbers: [29, 13]
Generated Node #0,1,0: 23:[29, 13] Operation: 76-63=13
Exploring Operation: 63-29=34, Resulting Numbers: [76, 34]
Generated Node #0,1,1: 23:[76, 34] Operation: 63-29=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[29, 13], Operations: ['98-69=29', '76-63=13']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[76, 34], Operations: ['98-69=29', '63-29=34']
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 76+34=110, Resulting Numbers: [110]
110,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 23:[22, 6], Operations: ['98-76=22', '69-63=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[63, 47], Operations: ['98-76=22', '69-22=47']
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 63+47=110, Resulting Numbers: [110]
110,23 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
44,
47,
27,
98
] | 89 | [
"47-44=3",
"27/3=9",
"98-9=89"
] | Current State: 89:[44, 47, 27, 98], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [27, 98, 3]
Generated Node #2: [27, 98, 3] from Operation: 47-44=3
Current State: 89:[27, 98, 3], Operations: ['47-44=3']
Exploring Operation: 27/3=9, Resulting Numbers: [98, 9]
Generated Node #3: [98, 9] from Operation: 27/3=9
Current State: 89:[98, 9], Operations: ['47-44=3', '27/3=9']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[44, 47, 27, 98], Operations: []
Exploring Operation: 44+27=71, Resulting Numbers: [47, 98, 71]
Generated Node #0,0: 89:[47, 98, 71] Operation: 44+27=71
Moving to Node #0,0
Current State: 89:[47, 98, 71], Operations: ['44+27=71']
Exploring Operation: 47+71=118, Resulting Numbers: [98, 118]
Generated Node #0,0,0: 89:[98, 118] Operation: 47+71=118
Moving to Node #0,0,0
Current State: 89:[98, 118], Operations: ['44+27=71', '47+71=118']
Exploring Operation: 118-98=20, Resulting Numbers: [20]
20,89 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
67,
33,
33,
53
] | 52 | [
"67-33=34",
"33+53=86",
"86-34=52"
] | Current State: 52:[67, 33, 33, 53], Operations: []
Exploring Operation: 67-33=34, Resulting Numbers: [53, 34]
Generated Node #2: [53, 34] from Operation: 67-33=34
Current State: 52:[53, 34], Operations: ['67-33=34']
Exploring Operation: 33+53=86, Resulting Numbers: [34, 86]
Generated Node #3: [34, 86] from Operation: 33+53=86
Current State: 52:[34, 86], Operations: ['67-33=34', '33+53=86']
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[67, 33, 33, 53], Operations: []
Exploring Operation: 67-53=14, Resulting Numbers: [33, 33, 14]
Generated Node #0,0: 52:[33, 33, 14] Operation: 67-53=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[33, 33, 14], Operations: ['67-53=14']
Exploring Operation: 33/33=1, Resulting Numbers: [14, 1]
Generated Node #0,0,0: 52:[14, 1] Operation: 33/33=1
Moving to Node #0,0,0
Current State: 52:[14, 1], Operations: ['67-53=14', '33/33=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,52 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 |
[
74,
92,
91,
75
] | 62 | [
"74*75=5550",
"92+5550=5642",
"5642/91=62"
] | Current State: 62:[74, 92, 91, 75], Operations: []
Exploring Operation: 74*75=5550, Resulting Numbers: [92, 91, 5550]
Generated Node #2: [92, 91, 5550] from Operation: 74*75=5550
Current State: 62:[92, 91, 5550], Operations: ['74*75=5550']
Exploring Operation: 92+5550=5642, Resulting Numbers: [91, 5642]
Generated Node #3: [91, 5642] from Operation: 92+5550=5642
Current State: 62:[91, 5642], Operations: ['74*75=5550', '92+5550=5642']
Exploring Operation: 5642/91=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[74, 92, 91, 75], Operations: []
Exploring Operation: 92-91=1, Resulting Numbers: [74, 75, 1]
Generated Node #0,0: 62:[74, 75, 1] Operation: 92-91=1
Exploring Operation: 92-74=18, Resulting Numbers: [91, 75, 18]
Generated Node #0,1: 62:[91, 75, 18] Operation: 92-74=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[74, 75, 1], Operations: ['92-91=1']
Exploring Operation: 75-74=1, Resulting Numbers: [1, 1]
Generated Node #0,0,0: 62:[1, 1] Operation: 75-74=1
Exploring Operation: 74-1=73, Resulting Numbers: [75, 73]
Generated Node #0,0,1: 62:[75, 73] Operation: 74-1=73
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[1, 1], Operations: ['92-91=1', '75-74=1']
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,62 unequal: No Solution
No 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: 62:[75, 73], Operations: ['92-91=1', '74-1=73']
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 75+73=148, Resulting Numbers: [148]
148,62 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: 62:[91, 75, 18], Operations: ['92-74=18']
Exploring Operation: 91-18=73, Resulting Numbers: [75, 73]
Generated Node #0,1,0: 62:[75, 73] Operation: 91-18=73
Exploring Operation: 91-75=16, Resulting Numbers: [18, 16]
Generated Node #0,1,1: 62:[18, 16] Operation: 91-75=16
Moving to Node #0,1,0
Current State: 62:[75, 73], Operations: ['92-74=18', '91-18=73']
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 75+73=148, Resulting Numbers: [148]
148,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[18, 16], Operations: ['92-74=18', '91-75=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
8,
13,
20
] | 19 | [
"13+20=33",
"33/3=11",
"8+11=19"
] | Current State: 19:[3, 8, 13, 20], Operations: []
Exploring Operation: 13+20=33, Resulting Numbers: [3, 8, 33]
Generated Node #2: [3, 8, 33] from Operation: 13+20=33
Current State: 19:[3, 8, 33], Operations: ['13+20=33']
Exploring Operation: 33/3=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 33/3=11
Current State: 19:[8, 11], Operations: ['13+20=33', '33/3=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[3, 8, 13, 20], Operations: []
Exploring Operation: 3+13=16, Resulting Numbers: [8, 20, 16]
Generated Node #0,0: 19:[8, 20, 16] Operation: 3+13=16
Exploring Operation: 20-3=17, Resulting Numbers: [8, 13, 17]
Generated Node #0,1: 19:[8, 13, 17] Operation: 20-3=17
Exploring Operation: 3+8=11, Resulting Numbers: [13, 20, 11]
Generated Node #0,2: 19:[13, 20, 11] Operation: 3+8=11
Exploring Operation: 3*8=24, Resulting Numbers: [13, 20, 24]
Generated Node #0,3: 19:[13, 20, 24] Operation: 3*8=24
Moving to Node #0,3
Current State: 19:[13, 20, 24], Operations: ['3*8=24']
Exploring Operation: 24-13=11, Resulting Numbers: [20, 11]
Generated Node #0,3,0: 19:[20, 11] Operation: 24-13=11
Exploring Operation: 20-13=7, Resulting Numbers: [24, 7]
Generated Node #0,3,1: 19:[24, 7] Operation: 20-13=7
Exploring Operation: 13+20=33, Resulting Numbers: [24, 33]
Generated Node #0,3,2: 19:[24, 33] Operation: 13+20=33
Exploring Operation: 13+24=37, Resulting Numbers: [20, 37]
Generated Node #0,3,3: 19:[20, 37] Operation: 13+24=37
Moving to Node #0,2
Current State: 19:[13, 20, 11], Operations: ['3+8=11']
Exploring Operation: 20+11=31, Resulting Numbers: [13, 31]
Generated Node #0,2,0: 19:[13, 31] Operation: 20+11=31
Exploring Operation: 20-11=9, Resulting Numbers: [13, 9]
Generated Node #0,2,1: 19:[13, 9] Operation: 20-11=9
Exploring Operation: 13-11=2, Resulting Numbers: [20, 2]
Generated Node #0,2,2: 19:[20, 2] Operation: 13-11=2
Exploring Operation: 13+11=24, Resulting Numbers: [20, 24]
Generated Node #0,2,3: 19:[20, 24] Operation: 13+11=24
Moving to Node #0,0
Current State: 19:[8, 20, 16], Operations: ['3+13=16']
Exploring Operation: 8+20=28, Resulting Numbers: [16, 28]
Generated Node #0,0,0: 19:[16, 28] Operation: 8+20=28
Exploring Operation: 20-8=12, Resulting Numbers: [16, 12]
Generated Node #0,0,1: 19:[16, 12] Operation: 20-8=12
Exploring Operation: 16-8=8, Resulting Numbers: [20, 8]
Generated Node #0,0,2: 19:[20, 8] Operation: 16-8=8
Exploring Operation: 8+16=24, Resulting Numbers: [20, 24]
Generated Node #0,0,3: 19:[20, 24] Operation: 8+16=24
Moving to Node #0,1
Current State: 19:[8, 13, 17], Operations: ['20-3=17']
Exploring Operation: 17-8=9, Resulting Numbers: [13, 9]
Generated Node #0,1,0: 19:[13, 9] Operation: 17-8=9
Exploring Operation: 8+13=21, Resulting Numbers: [17, 21]
Generated Node #0,1,1: 19:[17, 21] Operation: 8+13=21
Exploring Operation: 8+17=25, Resulting Numbers: [13, 25]
Generated Node #0,1,2: 19:[13, 25] Operation: 8+17=25
Exploring Operation: 13-8=5, Resulting Numbers: [17, 5]
Generated Node #0,1,3: 19:[17, 5] Operation: 13-8=5
Moving to Node #0,1,1
Current State: 19:[17, 21], Operations: ['20-3=17', '8+13=21']
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,19 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[20, 24], Operations: ['3+8=11', '13+11=24']
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[20, 24], Operations: ['3+13=16', '8+16=24']
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,19 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[20, 11], Operations: ['3*8=24', '24-13=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[16, 12], Operations: ['3+13=16', '20-8=12']
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,19 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[13, 25], Operations: ['20-3=17', '8+17=25']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,19 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[20, 8], Operations: ['3+13=16', '16-8=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,19 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[16, 28], Operations: ['3+13=16', '8+20=28']
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,19 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[13, 9], Operations: ['20-3=17', '17-8=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[13, 9], Operations: ['3+8=11', '20-11=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[17, 5], Operations: ['20-3=17', '13-8=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[24, 7], Operations: ['3*8=24', '20-13=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[13, 31], Operations: ['3+8=11', '20+11=31']
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,19 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[20, 2], Operations: ['3+8=11', '13-11=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[20, 37], Operations: ['3*8=24', '13+24=37']
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,19 unequal: No Solution
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,19 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[24, 33], Operations: ['3*8=24', '13+20=33']
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,19 unequal: No Solution
Exploring Operation: 24*33=792, Resulting Numbers: [792]
792,19 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,19 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
89,
78,
24,
75
] | 66 | [
"78*75=5850",
"24+5850=5874",
"5874/89=66"
] | Current State: 66:[89, 78, 24, 75], Operations: []
Exploring Operation: 78*75=5850, Resulting Numbers: [89, 24, 5850]
Generated Node #2: [89, 24, 5850] from Operation: 78*75=5850
Current State: 66:[89, 24, 5850], Operations: ['78*75=5850']
Exploring Operation: 24+5850=5874, Resulting Numbers: [89, 5874]
Generated Node #3: [89, 5874] from Operation: 24+5850=5874
Current State: 66:[89, 5874], Operations: ['78*75=5850', '24+5850=5874']
Exploring Operation: 5874/89=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[89, 78, 24, 75], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [24, 75, 11]
Generated Node #0,0: 66:[24, 75, 11] Operation: 89-78=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[24, 75, 11], Operations: ['89-78=11']
Exploring Operation: 75-11=64, Resulting Numbers: [24, 64]
Generated Node #0,0,0: 66:[24, 64] Operation: 75-11=64
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[24, 64], Operations: ['89-78=11', '75-11=64']
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
92,
67,
69,
4
] | 86 | [
"92+67=159",
"69+4=73",
"159-73=86"
] | Current State: 86:[92, 67, 69, 4], Operations: []
Exploring Operation: 92+67=159, Resulting Numbers: [69, 4, 159]
Generated Node #2: [69, 4, 159] from Operation: 92+67=159
Current State: 86:[69, 4, 159], Operations: ['92+67=159']
Exploring Operation: 69+4=73, Resulting Numbers: [159, 73]
Generated Node #3: [159, 73] from Operation: 69+4=73
Current State: 86:[159, 73], Operations: ['92+67=159', '69+4=73']
Exploring Operation: 159-73=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[92, 67, 69, 4], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [92, 4, 2]
Generated Node #0,0: 86:[92, 4, 2] Operation: 69-67=2
Moving to Node #0,0
Current State: 86:[92, 4, 2], Operations: ['69-67=2']
Exploring Operation: 92-4=88, Resulting Numbers: [2, 88]
Generated Node #0,0,0: 86:[2, 88] Operation: 92-4=88
Moving to Node #0,0,0
Current State: 86:[2, 88], Operations: ['69-67=2', '92-4=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[92, 67, 69, 4], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [92, 4, 2]
Generated Node #0,0: 86:[92, 4, 2] Operation: 69-67=2
Moving to Node #0,0
Current State: 86:[92, 4, 2], Operations: ['69-67=2']
Exploring Operation: 92-4=88, Resulting Numbers: [2, 88]
Generated Node #0,0,0: 86:[2, 88] Operation: 92-4=88
Moving to Node #0,0,0
Current State: 86:[2, 88], Operations: ['69-67=2', '92-4=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
21,
51,
38,
6
] | 92 | [
"51*38=1938",
"1938-6=1932",
"1932/21=92"
] | Current State: 92:[21, 51, 38, 6], Operations: []
Exploring Operation: 51*38=1938, Resulting Numbers: [21, 6, 1938]
Generated Node #2: [21, 6, 1938] from Operation: 51*38=1938
Current State: 92:[21, 6, 1938], Operations: ['51*38=1938']
Exploring Operation: 1938-6=1932, Resulting Numbers: [21, 1932]
Generated Node #3: [21, 1932] from Operation: 1938-6=1932
Current State: 92:[21, 1932], Operations: ['51*38=1938', '1938-6=1932']
Exploring Operation: 1932/21=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[21, 51, 38, 6], Operations: []
Exploring Operation: 51-6=45, Resulting Numbers: [21, 38, 45]
Generated Node #0,0: 92:[21, 38, 45] Operation: 51-6=45
Exploring Operation: 38-21=17, Resulting Numbers: [51, 6, 17]
Generated Node #0,1: 92:[51, 6, 17] Operation: 38-21=17
Exploring Operation: 38+6=44, Resulting Numbers: [21, 51, 44]
Generated Node #0,2: 92:[21, 51, 44] Operation: 38+6=44
Exploring Operation: 51+38=89, Resulting Numbers: [21, 6, 89]
Generated Node #0,3: 92:[21, 6, 89] Operation: 51+38=89
Moving to Node #0,3
Current State: 92:[21, 6, 89], Operations: ['51+38=89']
Exploring Operation: 6+89=95, Resulting Numbers: [21, 95]
Generated Node #0,3,0: 92:[21, 95] Operation: 6+89=95
Exploring Operation: 21-6=15, Resulting Numbers: [89, 15]
Generated Node #0,3,1: 92:[89, 15] Operation: 21-6=15
Exploring Operation: 21+6=27, Resulting Numbers: [89, 27]
Generated Node #0,3,2: 92:[89, 27] Operation: 21+6=27
Exploring Operation: 89-6=83, Resulting Numbers: [21, 83]
Generated Node #0,3,3: 92:[21, 83] Operation: 89-6=83
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 92:[21, 95], Operations: ['51+38=89', '6+89=95']
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 21+95=116, Resulting Numbers: [116]
116,92 unequal: No Solution
Exploring Operation: 21*95=1995, Resulting Numbers: [1995]
1995,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[89, 27], Operations: ['51+38=89', '21+6=27']
Exploring Operation: 89*27=2403, Resulting Numbers: [2403]
2403,92 unequal: No Solution
Exploring Operation: 89+27=116, Resulting Numbers: [116]
116,92 unequal: No Solution
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 92:[89, 15], Operations: ['51+38=89', '21-6=15']
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 89+15=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 89*15=1335, Resulting Numbers: [1335]
1335,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[21, 83], Operations: ['51+38=89', '89-6=83']
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 21*83=1743, Resulting Numbers: [1743]
1743,92 unequal: No Solution
Exploring Operation: 21+83=104, Resulting Numbers: [104]
104,92 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: 92:[21, 51, 44], Operations: ['38+6=44']
Exploring Operation: 51-21=30, Resulting Numbers: [44, 30]
Generated Node #0,2,0: 92:[44, 30] Operation: 51-21=30
Exploring Operation: 44-21=23, Resulting Numbers: [51, 23]
Generated Node #0,2,1: 92:[51, 23] Operation: 44-21=23
Exploring Operation: 51-44=7, Resulting Numbers: [21, 7]
Generated Node #0,2,2: 92:[21, 7] Operation: 51-44=7
Exploring Operation: 51+44=95, Resulting Numbers: [21, 95]
Generated Node #0,2,3: 92:[21, 95] Operation: 51+44=95
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[51, 23], Operations: ['38+6=44', '44-21=23']
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 51*23=1173, Resulting Numbers: [1173]
1173,92 unequal: No Solution
Exploring Operation: 51+23=74, Resulting Numbers: [74]
74,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[21, 7], Operations: ['38+6=44', '51-44=7']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,92 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[21, 95], Operations: ['38+6=44', '51+44=95']
Exploring Operation: 21+95=116, Resulting Numbers: [116]
116,92 unequal: No Solution
Exploring Operation: 21*95=1995, Resulting Numbers: [1995]
1995,92 unequal: No Solution
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[44, 30], Operations: ['38+6=44', '51-21=30']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,92 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: 92:[21, 38, 45], Operations: ['51-6=45']
Exploring Operation: 38+45=83, Resulting Numbers: [21, 83]
Generated Node #0,0,0: 92:[21, 83] Operation: 38+45=83
Exploring Operation: 45-21=24, Resulting Numbers: [38, 24]
Generated Node #0,0,1: 92:[38, 24] Operation: 45-21=24
Exploring Operation: 45-38=7, Resulting Numbers: [21, 7]
Generated Node #0,0,2: 92:[21, 7] Operation: 45-38=7
Exploring Operation: 38-21=17, Resulting Numbers: [45, 17]
Generated Node #0,0,3: 92:[45, 17] Operation: 38-21=17
Moving to Node #0,1
Current State: 92:[51, 6, 17], Operations: ['38-21=17']
Exploring Operation: 17-6=11, Resulting Numbers: [51, 11]
Generated Node #0,1,0: 92:[51, 11] Operation: 17-6=11
Exploring Operation: 51/17=3, Resulting Numbers: [6, 3]
Generated Node #0,1,1: 92:[6, 3] Operation: 51/17=3
Exploring Operation: 51-6=45, Resulting Numbers: [17, 45]
Generated Node #0,1,2: 92:[17, 45] Operation: 51-6=45
Exploring Operation: 6+17=23, Resulting Numbers: [51, 23]
Generated Node #0,1,3: 92:[51, 23] Operation: 6+17=23
Moving to Node #0,1,1
Current State: 92:[6, 3], Operations: ['38-21=17', '51/17=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[51, 23], Operations: ['38-21=17', '6+17=23']
Exploring Operation: 51+23=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 51*23=1173, Resulting Numbers: [1173]
1173,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[21, 7], Operations: ['51-6=45', '45-38=7']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[17, 45], Operations: ['38-21=17', '51-6=45']
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 17*45=765, Resulting Numbers: [765]
765,92 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[45, 17], Operations: ['51-6=45', '38-21=17']
Exploring Operation: 45*17=765, Resulting Numbers: [765]
765,92 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[38, 24], Operations: ['51-6=45', '45-21=24']
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,92 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[21, 83], Operations: ['51-6=45', '38+45=83']
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 21*83=1743, Resulting Numbers: [1743]
1743,92 unequal: No Solution
Exploring Operation: 21+83=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[51, 11], Operations: ['38-21=17', '17-6=11']
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,92 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,92 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
94,
3,
50,
98
] | 78 | [
"98-50=48",
"48/3=16",
"94-16=78"
] | Current State: 78:[94, 3, 50, 98], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [94, 3, 48]
Generated Node #2: [94, 3, 48] from Operation: 98-50=48
Current State: 78:[94, 3, 48], Operations: ['98-50=48']
Exploring Operation: 48/3=16, Resulting Numbers: [94, 16]
Generated Node #3: [94, 16] from Operation: 48/3=16
Current State: 78:[94, 16], Operations: ['98-50=48', '48/3=16']
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[94, 3, 50, 98], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [94, 3, 48]
Generated Node #0,0: 78:[94, 3, 48] Operation: 98-50=48
Exploring Operation: 98-94=4, Resulting Numbers: [3, 50, 4]
Generated Node #0,1: 78:[3, 50, 4] Operation: 98-94=4
Exploring Operation: 94-50=44, Resulting Numbers: [3, 98, 44]
Generated Node #0,2: 78:[3, 98, 44] Operation: 94-50=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[3, 50, 4], Operations: ['98-94=4']
Exploring Operation: 50-3=47, Resulting Numbers: [4, 47]
Generated Node #0,1,0: 78:[4, 47] Operation: 50-3=47
Exploring Operation: 50-4=46, Resulting Numbers: [3, 46]
Generated Node #0,1,1: 78:[3, 46] Operation: 50-4=46
Exploring Operation: 3+4=7, Resulting Numbers: [50, 7]
Generated Node #0,1,2: 78:[50, 7] Operation: 3+4=7
Moving to Node #0,1,1
Current State: 78:[3, 46], Operations: ['98-94=4', '50-4=46']
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,78 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[4, 47], Operations: ['98-94=4', '50-3=47']
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,78 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,78 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[50, 7], Operations: ['98-94=4', '3+4=7']
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,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,0
Current State: 78:[94, 3, 48], Operations: ['98-50=48']
Exploring Operation: 94-48=46, Resulting Numbers: [3, 46]
Generated Node #0,0,0: 78:[3, 46] Operation: 94-48=46
Exploring Operation: 48/3=16, Resulting Numbers: [94, 16]
Generated Node #0,0,1: 78:[94, 16] Operation: 48/3=16
Exploring Operation: 94-3=91, Resulting Numbers: [48, 91]
Generated Node #0,0,2: 78:[48, 91] Operation: 94-3=91
Moving to Node #0,0,0
Current State: 78:[3, 46], Operations: ['98-50=48', '94-48=46']
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,78 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[94, 16], Operations: ['98-50=48', '48/3=16']
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[94, 3, 50, 98], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [94, 3, 48]
Generated Node #0,0: 78:[94, 3, 48] Operation: 98-50=48
Moving to Node #0,0
Current State: 78:[94, 3, 48], Operations: ['98-50=48']
Exploring Operation: 48/3=16, Resulting Numbers: [94, 16]
Generated Node #0,0,1: 78:[94, 16] Operation: 48/3=16
Moving to Node #0,0,1
Current State: 78:[94, 16], Operations: ['98-50=48', '48/3=16']
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
8,
24,
9,
34
] | 86 | [
"24-9=15",
"8*15=120",
"120-34=86"
] | Current State: 86:[8, 24, 9, 34], Operations: []
Exploring Operation: 24-9=15, Resulting Numbers: [8, 34, 15]
Generated Node #2: [8, 34, 15] from Operation: 24-9=15
Current State: 86:[8, 34, 15], Operations: ['24-9=15']
Exploring Operation: 8*15=120, Resulting Numbers: [34, 120]
Generated Node #3: [34, 120] from Operation: 8*15=120
Current State: 86:[34, 120], Operations: ['24-9=15', '8*15=120']
Exploring Operation: 120-34=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[8, 24, 9, 34], Operations: []
Exploring Operation: 24/8=3, Resulting Numbers: [9, 34, 3]
Generated Node #0,0: 86:[9, 34, 3] Operation: 24/8=3
Moving to Node #0,0
Current State: 86:[9, 34, 3], Operations: ['24/8=3']
Exploring Operation: 9+34=43, Resulting Numbers: [3, 43]
Generated Node #0,0,0: 86:[3, 43] Operation: 9+34=43
Moving to Node #0,0,0
Current State: 86:[3, 43], Operations: ['24/8=3', '9+34=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,86 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
16,
73,
99,
2
] | 31 | [
"16+99=115",
"73*2=146",
"146-115=31"
] | Current State: 31:[16, 73, 99, 2], Operations: []
Exploring Operation: 16+99=115, Resulting Numbers: [73, 2, 115]
Generated Node #2: [73, 2, 115] from Operation: 16+99=115
Current State: 31:[73, 2, 115], Operations: ['16+99=115']
Exploring Operation: 73*2=146, Resulting Numbers: [115, 146]
Generated Node #3: [115, 146] from Operation: 73*2=146
Current State: 31:[115, 146], Operations: ['16+99=115', '73*2=146']
Exploring Operation: 146-115=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[16, 73, 99, 2], Operations: []
Exploring Operation: 99-73=26, Resulting Numbers: [16, 2, 26]
Generated Node #0,0: 31:[16, 2, 26] Operation: 99-73=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[16, 2, 26], Operations: ['99-73=26']
Exploring Operation: 16*2=32, Resulting Numbers: [26, 32]
Generated Node #0,0,0: 31:[26, 32] Operation: 16*2=32
Moving to Node #0,0,0
Current State: 31:[26, 32], Operations: ['99-73=26', '16*2=32']
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,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 |
[
43,
3,
74,
78
] | 10 | [
"43-3=40",
"78-74=4",
"40/4=10"
] | Current State: 10:[43, 3, 74, 78], Operations: []
Exploring Operation: 43-3=40, Resulting Numbers: [74, 78, 40]
Generated Node #2: [74, 78, 40] from Operation: 43-3=40
Current State: 10:[74, 78, 40], Operations: ['43-3=40']
Exploring Operation: 78-74=4, Resulting Numbers: [40, 4]
Generated Node #3: [40, 4] from Operation: 78-74=4
Current State: 10:[40, 4], Operations: ['43-3=40', '78-74=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[43, 3, 74, 78], Operations: []
Exploring Operation: 74-43=31, Resulting Numbers: [3, 78, 31]
Generated Node #0,0: 10:[3, 78, 31] Operation: 74-43=31
Exploring Operation: 78-74=4, Resulting Numbers: [43, 3, 4]
Generated Node #0,1: 10:[43, 3, 4] Operation: 78-74=4
Moving to Node #0,1
Current State: 10:[43, 3, 4], Operations: ['78-74=4']
Exploring Operation: 43-4=39, Resulting Numbers: [3, 39]
Generated Node #0,1,0: 10:[3, 39] Operation: 43-4=39
Exploring Operation: 43-3=40, Resulting Numbers: [4, 40]
Generated Node #0,1,1: 10:[4, 40] Operation: 43-3=40
Moving to Node #0,0
Current State: 10:[3, 78, 31], Operations: ['74-43=31']
Exploring Operation: 78/3=26, Resulting Numbers: [31, 26]
Generated Node #0,0,0: 10:[31, 26] Operation: 78/3=26
Exploring Operation: 78-31=47, Resulting Numbers: [3, 47]
Generated Node #0,0,1: 10:[3, 47] Operation: 78-31=47
Moving to Node #0,1,0
Current State: 10:[3, 39], Operations: ['78-74=4', '43-4=39']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[4, 40], Operations: ['78-74=4', '43-3=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[43, 3, 74, 78], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [43, 3, 4]
Generated Node #0,1: 10:[43, 3, 4] Operation: 78-74=4
Moving to Node #0,1
Current State: 10:[43, 3, 4], Operations: ['78-74=4']
Exploring Operation: 43-3=40, Resulting Numbers: [4, 40]
Generated Node #0,1,1: 10:[4, 40] Operation: 43-3=40
Moving to Node #0,1,1
Current State: 10:[4, 40], Operations: ['78-74=4', '43-3=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.987847 | hs_2 | mult_heuristic |
[
98,
59,
50,
26
] | 37 | [
"98-59=39",
"50+26=76",
"76-39=37"
] | Current State: 37:[98, 59, 50, 26], Operations: []
Exploring Operation: 98-59=39, Resulting Numbers: [50, 26, 39]
Generated Node #2: [50, 26, 39] from Operation: 98-59=39
Current State: 37:[50, 26, 39], Operations: ['98-59=39']
Exploring Operation: 50+26=76, Resulting Numbers: [39, 76]
Generated Node #3: [39, 76] from Operation: 50+26=76
Current State: 37:[39, 76], Operations: ['98-59=39', '50+26=76']
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[98, 59, 50, 26], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [59, 26, 48]
Generated Node #0,0: 37:[59, 26, 48] Operation: 98-50=48
Exploring Operation: 98-59=39, Resulting Numbers: [50, 26, 39]
Generated Node #0,1: 37:[50, 26, 39] Operation: 98-59=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[50, 26, 39], Operations: ['98-59=39']
Exploring Operation: 50-26=24, Resulting Numbers: [39, 24]
Generated Node #0,1,0: 37:[39, 24] Operation: 50-26=24
Exploring Operation: 50-39=11, Resulting Numbers: [26, 11]
Generated Node #0,1,1: 37:[26, 11] Operation: 50-39=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[39, 24], Operations: ['98-59=39', '50-26=24']
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[26, 11], Operations: ['98-59=39', '50-39=11']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[98, 59, 50, 26], Operations: []
Exploring Operation: 98-59=39, Resulting Numbers: [50, 26, 39]
Generated Node #0,1: 37:[50, 26, 39] Operation: 98-59=39
Moving to Node #0,1
Current State: 37:[50, 26, 39], Operations: ['98-59=39']
Exploring Operation: 50-39=11, Resulting Numbers: [26, 11]
Generated Node #0,1,1: 37:[26, 11] Operation: 50-39=11
Moving to Node #0,1,1
Current State: 37:[26, 11], Operations: ['98-59=39', '50-39=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
48,
99,
45,
9
] | 12 | [
"99+45=144",
"144/48=3",
"9+3=12"
] | Current State: 12:[48, 99, 45, 9], Operations: []
Exploring Operation: 99+45=144, Resulting Numbers: [48, 9, 144]
Generated Node #2: [48, 9, 144] from Operation: 99+45=144
Current State: 12:[48, 9, 144], Operations: ['99+45=144']
Exploring Operation: 144/48=3, Resulting Numbers: [9, 3]
Generated Node #3: [9, 3] from Operation: 144/48=3
Current State: 12:[9, 3], Operations: ['99+45=144', '144/48=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[48, 99, 45, 9], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [48, 45, 11]
Generated Node #0,0: 12:[48, 45, 11] Operation: 99/9=11
Exploring Operation: 45/9=5, Resulting Numbers: [48, 99, 5]
Generated Node #0,1: 12:[48, 99, 5] Operation: 45/9=5
Exploring Operation: 48-45=3, Resulting Numbers: [99, 9, 3]
Generated Node #0,2: 12:[99, 9, 3] Operation: 48-45=3
Exploring Operation: 99-48=51, Resulting Numbers: [45, 9, 51]
Generated Node #0,3: 12:[45, 9, 51] Operation: 99-48=51
Exploring Operation: 99-45=54, Resulting Numbers: [48, 9, 54]
Generated Node #0,4: 12:[48, 9, 54] Operation: 99-45=54
Moving to Node #0,0
Current State: 12:[48, 45, 11], Operations: ['99/9=11']
Exploring Operation: 48-45=3, Resulting Numbers: [11, 3]
Generated Node #0,0,0: 12:[11, 3] Operation: 48-45=3
Exploring Operation: 45+11=56, Resulting Numbers: [48, 56]
Generated Node #0,0,1: 12:[48, 56] Operation: 45+11=56
Exploring Operation: 48-11=37, Resulting Numbers: [45, 37]
Generated Node #0,0,2: 12:[45, 37] Operation: 48-11=37
Exploring Operation: 48+11=59, Resulting Numbers: [45, 59]
Generated Node #0,0,3: 12:[45, 59] Operation: 48+11=59
Exploring Operation: 45-11=34, Resulting Numbers: [48, 34]
Generated Node #0,0,4: 12:[48, 34] Operation: 45-11=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[11, 3], Operations: ['99/9=11', '48-45=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,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:[45, 37], Operations: ['99/9=11', '48-11=37']
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,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:[48, 34], Operations: ['99/9=11', '45-11=34']
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,12 unequal: No Solution
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,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,1
Current State: 12:[48, 56], Operations: ['99/9=11', '45+11=56']
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,12 unequal: No Solution
Exploring Operation: 48*56=2688, Resulting Numbers: [2688]
2688,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:[45, 59], Operations: ['99/9=11', '48+11=59']
Exploring Operation: 45+59=104, Resulting Numbers: [104]
104,12 unequal: No Solution
Exploring Operation: 45*59=2655, Resulting Numbers: [2655]
2655,12 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 12:[45, 9, 51], Operations: ['99-48=51']
Exploring Operation: 45/9=5, Resulting Numbers: [51, 5]
Generated Node #0,3,0: 12:[51, 5] Operation: 45/9=5
Exploring Operation: 51-9=42, Resulting Numbers: [45, 42]
Generated Node #0,3,1: 12:[45, 42] Operation: 51-9=42
Exploring Operation: 45-9=36, Resulting Numbers: [51, 36]
Generated Node #0,3,2: 12:[51, 36] Operation: 45-9=36
Exploring Operation: 45+9=54, Resulting Numbers: [51, 54]
Generated Node #0,3,3: 12:[51, 54] Operation: 45+9=54
Exploring Operation: 51-45=6, Resulting Numbers: [9, 6]
Generated Node #0,3,4: 12:[9, 6] Operation: 51-45=6
Moving to Node #0,4
Current State: 12:[48, 9, 54], Operations: ['99-45=54']
Exploring Operation: 54-48=6, Resulting Numbers: [9, 6]
Generated Node #0,4,0: 12:[9, 6] Operation: 54-48=6
Exploring Operation: 48-9=39, Resulting Numbers: [54, 39]
Generated Node #0,4,1: 12:[54, 39] Operation: 48-9=39
Exploring Operation: 48+9=57, Resulting Numbers: [54, 57]
Generated Node #0,4,2: 12:[54, 57] Operation: 48+9=57
Exploring Operation: 54-9=45, Resulting Numbers: [48, 45]
Generated Node #0,4,3: 12:[48, 45] Operation: 54-9=45
Exploring Operation: 54/9=6, Resulting Numbers: [48, 6]
Generated Node #0,4,4: 12:[48, 6] Operation: 54/9=6
Moving to Node #0,2
Current State: 12:[99, 9, 3], Operations: ['48-45=3']
Exploring Operation: 99-9=90, Resulting Numbers: [3, 90]
Generated Node #0,2,0: 12:[3, 90] Operation: 99-9=90
Exploring Operation: 9+3=12, Resulting Numbers: [99, 12]
Generated Node #0,2,1: 12:[99, 12] Operation: 9+3=12
Exploring Operation: 99/9=11, Resulting Numbers: [3, 11]
Generated Node #0,2,2: 12:[3, 11] Operation: 99/9=11
Exploring Operation: 99/3=33, Resulting Numbers: [9, 33]
Generated Node #0,2,3: 12:[9, 33] Operation: 99/3=33
Exploring Operation: 99-3=96, Resulting Numbers: [9, 96]
Generated Node #0,2,4: 12:[9, 96] Operation: 99-3=96
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[3, 11], Operations: ['48-45=3', '99/9=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[9, 33], Operations: ['48-45=3', '99/3=33']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,12 unequal: No Solution
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[3, 90], Operations: ['48-45=3', '99-9=90']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,12 unequal: No Solution
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 3*90=270, Resulting Numbers: [270]
270,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[99, 12], Operations: ['48-45=3', '9+3=12']
Exploring Operation: 99-12=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 99+12=111, Resulting Numbers: [111]
111,12 unequal: No Solution
Exploring Operation: 99*12=1188, Resulting Numbers: [1188]
1188,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 12:[9, 96], Operations: ['48-45=3', '99-3=96']
Exploring Operation: 9*96=864, Resulting Numbers: [864]
864,12 unequal: No Solution
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 9+96=105, Resulting Numbers: [105]
105,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 12:[48, 99, 5], Operations: ['45/9=5']
Exploring Operation: 48+5=53, Resulting Numbers: [99, 53]
Generated Node #0,1,0: 12:[99, 53] Operation: 48+5=53
Exploring Operation: 99-48=51, Resulting Numbers: [5, 51]
Generated Node #0,1,1: 12:[5, 51] Operation: 99-48=51
Exploring Operation: 99-5=94, Resulting Numbers: [48, 94]
Generated Node #0,1,2: 12:[48, 94] Operation: 99-5=94
Exploring Operation: 48-5=43, Resulting Numbers: [99, 43]
Generated Node #0,1,3: 12:[99, 43] Operation: 48-5=43
Exploring Operation: 99+5=104, Resulting Numbers: [48, 104]
Generated Node #0,1,4: 12:[48, 104] Operation: 99+5=104
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[5, 51], Operations: ['45/9=5', '99-48=51']
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[48, 94], Operations: ['45/9=5', '99-5=94']
Exploring Operation: 94-48=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Exploring Operation: 48*94=4512, Resulting Numbers: [4512]
4512,12 unequal: No Solution
Exploring Operation: 48+94=142, Resulting Numbers: [142]
142,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[99, 43], Operations: ['45/9=5', '48-5=43']
Exploring Operation: 99+43=142, Resulting Numbers: [142]
142,12 unequal: No Solution
Exploring Operation: 99*43=4257, Resulting Numbers: [4257]
4257,12 unequal: No Solution
Exploring Operation: 99-43=56, Resulting Numbers: [56]
56,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[99, 53], Operations: ['45/9=5', '48+5=53']
Exploring Operation: 99+53=152, Resulting Numbers: [152]
152,12 unequal: No Solution
Exploring Operation: 99-53=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Exploring Operation: 99*53=5247, Resulting Numbers: [5247]
5247,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 12:[48, 104], Operations: ['45/9=5', '99+5=104']
Exploring Operation: 104-48=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 48*104=4992, Resulting Numbers: [4992]
4992,12 unequal: No Solution
Exploring Operation: 48+104=152, Resulting Numbers: [152]
152,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 12:[9, 6], Operations: ['99-48=51', '51-45=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Moving to Node #0,4,0
Current State: 12:[9, 6], Operations: ['99-45=54', '54-48=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Moving to Node #0,4,4
Current State: 12:[48, 6], Operations: ['99-45=54', '54/9=6']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Exploring Operation: 48*6=288, Resulting Numbers: [288]
288,12 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Moving to Node #0,3,0
Current State: 12:[51, 5], Operations: ['99-48=51', '45/9=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,12 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[45, 42], Operations: ['99-48=51', '51-9=42']
Exploring Operation: 45*42=1890, Resulting Numbers: [1890]
1890,12 unequal: No Solution
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[51, 36], Operations: ['99-48=51', '45-9=36']
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,12 unequal: No Solution
Moving to Node #0,4,3
Current State: 12:[48, 45], Operations: ['99-45=54', '54-9=45']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,12 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,12 unequal: No Solution
Moving to Node #0,4,1
Current State: 12:[54, 39], Operations: ['99-45=54', '48-9=39']
Exploring Operation: 54+39=93, Resulting Numbers: [93]
93,12 unequal: No Solution
Exploring Operation: 54*39=2106, Resulting Numbers: [2106]
2106,12 unequal: No Solution
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[51, 54], Operations: ['99-48=51', '45+9=54']
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 51*54=2754, Resulting Numbers: [2754]
2754,12 unequal: No Solution
Exploring Operation: 51+54=105, Resulting Numbers: [105]
105,12 unequal: No Solution
Moving to Node #0,4,2
Current State: 12:[54, 57], Operations: ['99-45=54', '48+9=57']
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 54*57=3078, Resulting Numbers: [3078]
3078,12 unequal: No Solution
Exploring Operation: 54+57=111, Resulting Numbers: [111]
111,12 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
62,
15,
79,
73
] | 75 | [
"62+15=77",
"79+73=152",
"152-77=75"
] | Current State: 75:[62, 15, 79, 73], Operations: []
Exploring Operation: 62+15=77, Resulting Numbers: [79, 73, 77]
Generated Node #2: [79, 73, 77] from Operation: 62+15=77
Current State: 75:[79, 73, 77], Operations: ['62+15=77']
Exploring Operation: 79+73=152, Resulting Numbers: [77, 152]
Generated Node #3: [77, 152] from Operation: 79+73=152
Current State: 75:[77, 152], Operations: ['62+15=77', '79+73=152']
Exploring Operation: 152-77=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[62, 15, 79, 73], Operations: []
Exploring Operation: 79-62=17, Resulting Numbers: [15, 73, 17]
Generated Node #0,0: 75:[15, 73, 17] Operation: 79-62=17
Exploring Operation: 79-73=6, Resulting Numbers: [62, 15, 6]
Generated Node #0,1: 75:[62, 15, 6] Operation: 79-73=6
Exploring Operation: 73-62=11, Resulting Numbers: [15, 79, 11]
Generated Node #0,2: 75:[15, 79, 11] Operation: 73-62=11
Exploring Operation: 62+15=77, Resulting Numbers: [79, 73, 77]
Generated Node #0,3: 75:[79, 73, 77] Operation: 62+15=77
Moving to Node #0,0
Current State: 75:[15, 73, 17], Operations: ['79-62=17']
Exploring Operation: 15+73=88, Resulting Numbers: [17, 88]
Generated Node #0,0,0: 75:[17, 88] Operation: 15+73=88
Exploring Operation: 17-15=2, Resulting Numbers: [73, 2]
Generated Node #0,0,1: 75:[73, 2] Operation: 17-15=2
Exploring Operation: 73+17=90, Resulting Numbers: [15, 90]
Generated Node #0,0,2: 75:[15, 90] Operation: 73+17=90
Exploring Operation: 15+17=32, Resulting Numbers: [73, 32]
Generated Node #0,0,3: 75:[73, 32] Operation: 15+17=32
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[73, 2], Operations: ['79-62=17', '17-15=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[62, 15, 79, 73], Operations: []
Exploring Operation: 79-62=17, Resulting Numbers: [15, 73, 17]
Generated Node #0,0: 75:[15, 73, 17] Operation: 79-62=17
Moving to Node #0,0
Current State: 75:[15, 73, 17], Operations: ['79-62=17']
Exploring Operation: 17-15=2, Resulting Numbers: [73, 2]
Generated Node #0,0,1: 75:[73, 2] Operation: 17-15=2
Moving to Node #0,0,1
Current State: 75:[73, 2], Operations: ['79-62=17', '17-15=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
51,
35,
25,
83
] | 92 | [
"51-35=16",
"25+83=108",
"108-16=92"
] | Current State: 92:[51, 35, 25, 83], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [25, 83, 16]
Generated Node #2: [25, 83, 16] from Operation: 51-35=16
Current State: 92:[25, 83, 16], Operations: ['51-35=16']
Exploring Operation: 25+83=108, Resulting Numbers: [16, 108]
Generated Node #3: [16, 108] from Operation: 25+83=108
Current State: 92:[16, 108], Operations: ['51-35=16', '25+83=108']
Exploring Operation: 108-16=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[51, 35, 25, 83], Operations: []
Exploring Operation: 83-35=48, Resulting Numbers: [51, 25, 48]
Generated Node #0,0: 92:[51, 25, 48] Operation: 83-35=48
Exploring Operation: 51+35=86, Resulting Numbers: [25, 83, 86]
Generated Node #0,1: 92:[25, 83, 86] Operation: 51+35=86
Exploring Operation: 51-35=16, Resulting Numbers: [25, 83, 16]
Generated Node #0,2: 92:[25, 83, 16] Operation: 51-35=16
Exploring Operation: 35-25=10, Resulting Numbers: [51, 83, 10]
Generated Node #0,3: 92:[51, 83, 10] Operation: 35-25=10
Moving to Node #0,0
Current State: 92:[51, 25, 48], Operations: ['83-35=48']
Exploring Operation: 51-48=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 92:[25, 3] Operation: 51-48=3
Exploring Operation: 51+48=99, Resulting Numbers: [25, 99]
Generated Node #0,0,1: 92:[25, 99] Operation: 51+48=99
Exploring Operation: 51-25=26, Resulting Numbers: [48, 26]
Generated Node #0,0,2: 92:[48, 26] Operation: 51-25=26
Exploring Operation: 48-25=23, Resulting Numbers: [51, 23]
Generated Node #0,0,3: 92:[51, 23] Operation: 48-25=23
Moving to Node #0,1
Current State: 92:[25, 83, 86], Operations: ['51+35=86']
Exploring Operation: 83-25=58, Resulting Numbers: [86, 58]
Generated Node #0,1,0: 92:[86, 58] Operation: 83-25=58
Exploring Operation: 86-83=3, Resulting Numbers: [25, 3]
Generated Node #0,1,1: 92:[25, 3] Operation: 86-83=3
Exploring Operation: 25+83=108, Resulting Numbers: [86, 108]
Generated Node #0,1,2: 92:[86, 108] Operation: 25+83=108
Exploring Operation: 86-25=61, Resulting Numbers: [83, 61]
Generated Node #0,1,3: 92:[83, 61] Operation: 86-25=61
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[25, 3], Operations: ['51+35=86', '86-83=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[86, 58], Operations: ['51+35=86', '83-25=58']
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 86+58=144, Resulting Numbers: [144]
144,92 unequal: No Solution
Exploring Operation: 86*58=4988, Resulting Numbers: [4988]
4988,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[86, 108], Operations: ['51+35=86', '25+83=108']
Exploring Operation: 86+108=194, Resulting Numbers: [194]
194,92 unequal: No Solution
Exploring Operation: 86*108=9288, Resulting Numbers: [9288]
9288,92 unequal: No Solution
Exploring Operation: 108-86=22, Resulting Numbers: [22]
22,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 92:[83, 61], Operations: ['51+35=86', '86-25=61']
Exploring Operation: 83*61=5063, Resulting Numbers: [5063]
5063,92 unequal: No Solution
Exploring Operation: 83-61=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 83+61=144, Resulting Numbers: [144]
144,92 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: 92:[25, 83, 16], Operations: ['51-35=16']
Exploring Operation: 25-16=9, Resulting Numbers: [83, 9]
Generated Node #0,2,0: 92:[83, 9] Operation: 25-16=9
Exploring Operation: 25+16=41, Resulting Numbers: [83, 41]
Generated Node #0,2,1: 92:[83, 41] Operation: 25+16=41
Exploring Operation: 83+16=99, Resulting Numbers: [25, 99]
Generated Node #0,2,2: 92:[25, 99] Operation: 83+16=99
Exploring Operation: 83-25=58, Resulting Numbers: [16, 58]
Generated Node #0,2,3: 92:[16, 58] Operation: 83-25=58
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[25, 99], Operations: ['51-35=16', '83+16=99']
Exploring Operation: 25*99=2475, Resulting Numbers: [2475]
2475,92 unequal: No Solution
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 25+99=124, Resulting Numbers: [124]
124,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[83, 9], Operations: ['51-35=16', '25-16=9']
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[51, 35, 25, 83], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [25, 83, 16]
Generated Node #0,2: 92:[25, 83, 16] Operation: 51-35=16
Moving to Node #0,2
Current State: 92:[25, 83, 16], Operations: ['51-35=16']
Exploring Operation: 25-16=9, Resulting Numbers: [83, 9]
Generated Node #0,2,0: 92:[83, 9] Operation: 25-16=9
Moving to Node #0,2,0
Current State: 92:[83, 9], Operations: ['51-35=16', '25-16=9']
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | mult_heuristic |
[
52,
92,
13,
91
] | 66 | [
"52+92=144",
"91-13=78",
"144-78=66"
] | Current State: 66:[52, 92, 13, 91], Operations: []
Exploring Operation: 52+92=144, Resulting Numbers: [13, 91, 144]
Generated Node #2: [13, 91, 144] from Operation: 52+92=144
Current State: 66:[13, 91, 144], Operations: ['52+92=144']
Exploring Operation: 91-13=78, Resulting Numbers: [144, 78]
Generated Node #3: [144, 78] from Operation: 91-13=78
Current State: 66:[144, 78], Operations: ['52+92=144', '91-13=78']
Exploring Operation: 144-78=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[52, 92, 13, 91], Operations: []
Exploring Operation: 92-52=40, Resulting Numbers: [13, 91, 40]
Generated Node #0,0: 66:[13, 91, 40] Operation: 92-52=40
Exploring Operation: 52+13=65, Resulting Numbers: [92, 91, 65]
Generated Node #0,1: 66:[92, 91, 65] Operation: 52+13=65
Exploring Operation: 91-52=39, Resulting Numbers: [92, 13, 39]
Generated Node #0,2: 66:[92, 13, 39] Operation: 91-52=39
Exploring Operation: 92-91=1, Resulting Numbers: [52, 13, 1]
Generated Node #0,3: 66:[52, 13, 1] Operation: 92-91=1
Exploring Operation: 91/13=7, Resulting Numbers: [52, 92, 7]
Generated Node #0,4: 66:[52, 92, 7] Operation: 91/13=7
Moving to Node #0,3
Current State: 66:[52, 13, 1], Operations: ['92-91=1']
Exploring Operation: 52+1=53, Resulting Numbers: [13, 53]
Generated Node #0,3,0: 66:[13, 53] Operation: 52+1=53
Exploring Operation: 52-13=39, Resulting Numbers: [1, 39]
Generated Node #0,3,1: 66:[1, 39] Operation: 52-13=39
Exploring Operation: 52/13=4, Resulting Numbers: [1, 4]
Generated Node #0,3,2: 66:[1, 4] Operation: 52/13=4
Exploring Operation: 13-1=12, Resulting Numbers: [52, 12]
Generated Node #0,3,3: 66:[52, 12] Operation: 13-1=12
Exploring Operation: 52+13=65, Resulting Numbers: [1, 65]
Generated Node #0,3,4: 66:[1, 65] Operation: 52+13=65
Moving to Node #0,2
Current State: 66:[92, 13, 39], Operations: ['91-52=39']
Exploring Operation: 92-39=53, Resulting Numbers: [13, 53]
Generated Node #0,2,0: 66:[13, 53] Operation: 92-39=53
Exploring Operation: 92-13=79, Resulting Numbers: [39, 79]
Generated Node #0,2,1: 66:[39, 79] Operation: 92-13=79
Exploring Operation: 39-13=26, Resulting Numbers: [92, 26]
Generated Node #0,2,2: 66:[92, 26] Operation: 39-13=26
Exploring Operation: 39/13=3, Resulting Numbers: [92, 3]
Generated Node #0,2,3: 66:[92, 3] Operation: 39/13=3
Exploring Operation: 13+39=52, Resulting Numbers: [92, 52]
Generated Node #0,2,4: 66:[92, 52] Operation: 13+39=52
Moving to Node #0,0
Current State: 66:[13, 91, 40], Operations: ['92-52=40']
Exploring Operation: 91/13=7, Resulting Numbers: [40, 7]
Generated Node #0,0,0: 66:[40, 7] Operation: 91/13=7
Exploring Operation: 91-13=78, Resulting Numbers: [40, 78]
Generated Node #0,0,1: 66:[40, 78] Operation: 91-13=78
Exploring Operation: 91-40=51, Resulting Numbers: [13, 51]
Generated Node #0,0,2: 66:[13, 51] Operation: 91-40=51
Exploring Operation: 40-13=27, Resulting Numbers: [91, 27]
Generated Node #0,0,3: 66:[91, 27] Operation: 40-13=27
Exploring Operation: 13+40=53, Resulting Numbers: [91, 53]
Generated Node #0,0,4: 66:[91, 53] Operation: 13+40=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[40, 7], Operations: ['92-52=40', '91/13=7']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,66 unequal: No Solution
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[13, 51], Operations: ['92-52=40', '91-40=51']
Exploring Operation: 13+51=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 13*51=663, Resulting Numbers: [663]
663,66 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[40, 78], Operations: ['92-52=40', '91-13=78']
Exploring Operation: 40+78=118, Resulting Numbers: [118]
118,66 unequal: No Solution
Exploring Operation: 40*78=3120, Resulting Numbers: [3120]
3120,66 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[91, 27], Operations: ['92-52=40', '40-13=27']
Exploring Operation: 91*27=2457, Resulting Numbers: [2457]
2457,66 unequal: No Solution
Exploring Operation: 91-27=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 91+27=118, Resulting Numbers: [118]
118,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 66:[91, 53], Operations: ['92-52=40', '13+40=53']
Exploring Operation: 91+53=144, Resulting Numbers: [144]
144,66 unequal: No Solution
Exploring Operation: 91*53=4823, Resulting Numbers: [4823]
4823,66 unequal: No Solution
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,66 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: 66:[52, 92, 7], Operations: ['91/13=7']
Exploring Operation: 52+7=59, Resulting Numbers: [92, 59]
Generated Node #0,4,0: 66:[92, 59] Operation: 52+7=59
Exploring Operation: 92+7=99, Resulting Numbers: [52, 99]
Generated Node #0,4,1: 66:[52, 99] Operation: 92+7=99
Exploring Operation: 92-52=40, Resulting Numbers: [7, 40]
Generated Node #0,4,2: 66:[7, 40] Operation: 92-52=40
Exploring Operation: 52-7=45, Resulting Numbers: [92, 45]
Generated Node #0,4,3: 66:[92, 45] Operation: 52-7=45
Exploring Operation: 92-7=85, Resulting Numbers: [52, 85]
Generated Node #0,4,4: 66:[52, 85] Operation: 92-7=85
Moving to Node #0,1
Current State: 66:[92, 91, 65], Operations: ['52+13=65']
Exploring Operation: 91-65=26, Resulting Numbers: [92, 26]
Generated Node #0,1,0: 66:[92, 26] Operation: 91-65=26
Exploring Operation: 91+65=156, Resulting Numbers: [92, 156]
Generated Node #0,1,1: 66:[92, 156] Operation: 91+65=156
Exploring Operation: 92-91=1, Resulting Numbers: [65, 1]
Generated Node #0,1,2: 66:[65, 1] Operation: 92-91=1
Exploring Operation: 92-65=27, Resulting Numbers: [91, 27]
Generated Node #0,1,3: 66:[91, 27] Operation: 92-65=27
Exploring Operation: 92+65=157, Resulting Numbers: [91, 157]
Generated Node #0,1,4: 66:[91, 157] Operation: 92+65=157
Moving to Node #0,3,2
Current State: 66:[1, 4], Operations: ['92-91=1', '52/13=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Moving to Node #0,3,4
Current State: 66:[1, 65], Operations: ['92-91=1', '52+13=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[52, 92, 13, 91], Operations: []
Exploring Operation: 92-91=1, Resulting Numbers: [52, 13, 1]
Generated Node #0,3: 66:[52, 13, 1] Operation: 92-91=1
Moving to Node #0,3
Current State: 66:[52, 13, 1], Operations: ['92-91=1']
Exploring Operation: 52+13=65, Resulting Numbers: [1, 65]
Generated Node #0,3,4: 66:[1, 65] Operation: 52+13=65
Moving to Node #0,3,4
Current State: 66:[1, 65], Operations: ['92-91=1', '52+13=65']
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.950521 | hs_5 | sum_heuristic |
[
38,
45,
88,
85
] | 80 | [
"38+45=83",
"88-85=3",
"83-3=80"
] | Current State: 80:[38, 45, 88, 85], Operations: []
Exploring Operation: 38+45=83, Resulting Numbers: [88, 85, 83]
Generated Node #2: [88, 85, 83] from Operation: 38+45=83
Current State: 80:[88, 85, 83], Operations: ['38+45=83']
Exploring Operation: 88-85=3, Resulting Numbers: [83, 3]
Generated Node #3: [83, 3] from Operation: 88-85=3
Current State: 80:[83, 3], Operations: ['38+45=83', '88-85=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[38, 45, 88, 85], Operations: []
Exploring Operation: 88-45=43, Resulting Numbers: [38, 85, 43]
Generated Node #0,0: 80:[38, 85, 43] Operation: 88-45=43
Exploring Operation: 88-85=3, Resulting Numbers: [38, 45, 3]
Generated Node #0,1: 80:[38, 45, 3] Operation: 88-85=3
Exploring Operation: 85-45=40, Resulting Numbers: [38, 88, 40]
Generated Node #0,2: 80:[38, 88, 40] Operation: 85-45=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[38, 45, 3], Operations: ['88-85=3']
Exploring Operation: 38+45=83, Resulting Numbers: [3, 83]
Generated Node #0,1,0: 80:[3, 83] Operation: 38+45=83
Exploring Operation: 45-38=7, Resulting Numbers: [3, 7]
Generated Node #0,1,1: 80:[3, 7] Operation: 45-38=7
Exploring Operation: 45/3=15, Resulting Numbers: [38, 15]
Generated Node #0,1,2: 80:[38, 15] Operation: 45/3=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[3, 7], Operations: ['88-85=3', '45-38=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,80 unequal: No Solution
No 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: 80:[38, 15], Operations: ['88-85=3', '45/3=15']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 38*15=570, Resulting Numbers: [570]
570,80 unequal: No Solution
Exploring Operation: 38+15=53, Resulting Numbers: [53]
53,80 unequal: No Solution
No 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: 80:[3, 83], Operations: ['88-85=3', '38+45=83']
Exploring Operation: 3*83=249, Resulting Numbers: [249]
249,80 unequal: No Solution
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[38, 45, 88, 85], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [38, 45, 3]
Generated Node #0,1: 80:[38, 45, 3] Operation: 88-85=3
Moving to Node #0,1
Current State: 80:[38, 45, 3], Operations: ['88-85=3']
Exploring Operation: 38+45=83, Resulting Numbers: [3, 83]
Generated Node #0,1,0: 80:[3, 83] Operation: 38+45=83
Moving to Node #0,1,0
Current State: 80:[3, 83], Operations: ['88-85=3', '38+45=83']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
58,
8,
80,
58
] | 87 | [
"58/58=1",
"8+80=88",
"88-1=87"
] | Current State: 87:[58, 8, 80, 58], Operations: []
Exploring Operation: 58/58=1, Resulting Numbers: [8, 80, 1]
Generated Node #2: [8, 80, 1] from Operation: 58/58=1
Current State: 87:[8, 80, 1], Operations: ['58/58=1']
Exploring Operation: 8+80=88, Resulting Numbers: [1, 88]
Generated Node #3: [1, 88] from Operation: 8+80=88
Current State: 87:[1, 88], Operations: ['58/58=1', '8+80=88']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[58, 8, 80, 58], Operations: []
Exploring Operation: 80-58=22, Resulting Numbers: [58, 8, 22]
Generated Node #0,0: 87:[58, 8, 22] Operation: 80-58=22
Exploring Operation: 80-58=22, Resulting Numbers: [8, 58, 22]
Generated Node #0,1: 87:[8, 58, 22] Operation: 80-58=22
Exploring Operation: 58-58=0, Resulting Numbers: [8, 80, 0]
Generated Node #0,2: 87:[8, 80, 0] Operation: 58-58=0
Exploring Operation: 58+58=116, Resulting Numbers: [8, 80, 116]
Generated Node #0,3: 87:[8, 80, 116] Operation: 58+58=116
Exploring Operation: 58/58=1, Resulting Numbers: [8, 80, 1]
Generated Node #0,4: 87:[8, 80, 1] Operation: 58/58=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 87:[8, 80, 1], Operations: ['58/58=1']
Exploring Operation: 8-1=7, Resulting Numbers: [80, 7]
Generated Node #0,4,0: 87:[80, 7] Operation: 8-1=7
Exploring Operation: 80+1=81, Resulting Numbers: [8, 81]
Generated Node #0,4,1: 87:[8, 81] Operation: 80+1=81
Exploring Operation: 8+80=88, Resulting Numbers: [1, 88]
Generated Node #0,4,2: 87:[1, 88] Operation: 8+80=88
Exploring Operation: 80/8=10, Resulting Numbers: [1, 10]
Generated Node #0,4,3: 87:[1, 10] Operation: 80/8=10
Exploring Operation: 8*1=8, Resulting Numbers: [80, 8]
Generated Node #0,4,4: 87:[80, 8] Operation: 8*1=8
Moving to Node #0,4,2
Current State: 87:[1, 88], Operations: ['58/58=1', '8+80=88']
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[58, 8, 80, 58], Operations: []
Exploring Operation: 58/58=1, Resulting Numbers: [8, 80, 1]
Generated Node #0,4: 87:[8, 80, 1] Operation: 58/58=1
Moving to Node #0,4
Current State: 87:[8, 80, 1], Operations: ['58/58=1']
Exploring Operation: 8+80=88, Resulting Numbers: [1, 88]
Generated Node #0,4,2: 87:[1, 88] Operation: 8+80=88
Moving to Node #0,4,2
Current State: 87:[1, 88], Operations: ['58/58=1', '8+80=88']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
81,
83,
66,
66
] | 81 | [
"66-66=0",
"83*0=0",
"81+0=81"
] | Current State: 81:[81, 83, 66, 66], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [81, 83, 0]
Generated Node #2: [81, 83, 0] from Operation: 66-66=0
Current State: 81:[81, 83, 0], Operations: ['66-66=0']
Exploring Operation: 83*0=0, Resulting Numbers: [81, 0]
Generated Node #3: [81, 0] from Operation: 83*0=0
Current State: 81:[81, 0], Operations: ['66-66=0', '83*0=0']
Exploring Operation: 81+0=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[81, 83, 66, 66], Operations: []
Exploring Operation: 66/66=1, Resulting Numbers: [81, 83, 1]
Generated Node #0,0: 81:[81, 83, 1] Operation: 66/66=1
Exploring Operation: 81-66=15, Resulting Numbers: [83, 66, 15]
Generated Node #0,1: 81:[83, 66, 15] Operation: 81-66=15
Exploring Operation: 81-66=15, Resulting Numbers: [83, 66, 15]
Generated Node #0,2: 81:[83, 66, 15] Operation: 81-66=15
Exploring Operation: 66-66=0, Resulting Numbers: [81, 83, 0]
Generated Node #0,3: 81:[81, 83, 0] Operation: 66-66=0
Moving to Node #0,0
Current State: 81:[81, 83, 1], Operations: ['66/66=1']
Exploring Operation: 81*1=81, Resulting Numbers: [83, 81]
Generated Node #0,0,0: 81:[83, 81] Operation: 81*1=81
Exploring Operation: 81/1=81, Resulting Numbers: [83, 81]
Generated Node #0,0,1: 81:[83, 81] Operation: 81/1=81
Exploring Operation: 83-1=82, Resulting Numbers: [81, 82]
Generated Node #0,0,2: 81:[81, 82] Operation: 83-1=82
Exploring Operation: 83*1=83, Resulting Numbers: [81, 83]
Generated Node #0,0,3: 81:[81, 83] Operation: 83*1=83
Moving to Node #0,3
Current State: 81:[81, 83, 0], Operations: ['66-66=0']
Exploring Operation: 81+0=81, Resulting Numbers: [83, 81]
Generated Node #0,3,0: 81:[83, 81] Operation: 81+0=81
Exploring Operation: 83+0=83, Resulting Numbers: [81, 83]
Generated Node #0,3,1: 81:[81, 83] Operation: 83+0=83
Exploring Operation: 83-0=83, Resulting Numbers: [81, 83]
Generated Node #0,3,2: 81:[81, 83] Operation: 83-0=83
Exploring Operation: 81-0=81, Resulting Numbers: [83, 81]
Generated Node #0,3,3: 81:[83, 81] Operation: 81-0=81
Moving to Node #0,2
Current State: 81:[83, 66, 15], Operations: ['81-66=15']
Exploring Operation: 66+15=81, Resulting Numbers: [83, 81]
Generated Node #0,2,0: 81:[83, 81] Operation: 66+15=81
Exploring Operation: 66-15=51, Resulting Numbers: [83, 51]
Generated Node #0,2,1: 81:[83, 51] Operation: 66-15=51
Exploring Operation: 83-66=17, Resulting Numbers: [15, 17]
Generated Node #0,2,2: 81:[15, 17] Operation: 83-66=17
Exploring Operation: 83-15=68, Resulting Numbers: [66, 68]
Generated Node #0,2,3: 81:[66, 68] Operation: 83-15=68
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[83, 81], Operations: ['81-66=15', '66+15=81']
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 83*81=6723, Resulting Numbers: [6723]
6723,81 unequal: No Solution
Exploring Operation: 83+81=164, Resulting Numbers: [164]
164,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,2
Current State: 81:[15, 17], Operations: ['81-66=15', '83-66=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,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:[83, 51], Operations: ['81-66=15', '66-15=51']
Exploring Operation: 83+51=134, Resulting Numbers: [134]
134,81 unequal: No Solution
Exploring Operation: 83*51=4233, Resulting Numbers: [4233]
4233,81 unequal: No Solution
Exploring Operation: 83-51=32, Resulting Numbers: [32]
32,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:[66, 68], Operations: ['81-66=15', '83-15=68']
Exploring Operation: 66*68=4488, Resulting Numbers: [4488]
4488,81 unequal: No Solution
Exploring Operation: 66+68=134, Resulting Numbers: [134]
134,81 unequal: No Solution
Exploring Operation: 68-66=2, Resulting Numbers: [2]
2,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:[83, 66, 15], Operations: ['81-66=15']
Exploring Operation: 66-15=51, Resulting Numbers: [83, 51]
Generated Node #0,1,0: 81:[83, 51] Operation: 66-15=51
Exploring Operation: 66+15=81, Resulting Numbers: [83, 81]
Generated Node #0,1,1: 81:[83, 81] Operation: 66+15=81
Exploring Operation: 83-66=17, Resulting Numbers: [15, 17]
Generated Node #0,1,2: 81:[15, 17] Operation: 83-66=17
Exploring Operation: 83-15=68, Resulting Numbers: [66, 68]
Generated Node #0,1,3: 81:[66, 68] Operation: 83-15=68
Moving to Node #0,0,2
Current State: 81:[81, 82], Operations: ['66/66=1', '83-1=82']
Exploring Operation: 81+82=163, Resulting Numbers: [163]
163,81 unequal: No Solution
Exploring Operation: 81*82=6642, Resulting Numbers: [6642]
6642,81 unequal: No Solution
Exploring Operation: 82-81=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[83, 81], Operations: ['66/66=1', '81/1=81']
Exploring Operation: 83*81=6723, Resulting Numbers: [6723]
6723,81 unequal: No Solution
Exploring Operation: 83+81=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[81, 83], Operations: ['66-66=0', '83-0=83']
Exploring Operation: 81*83=6723, Resulting Numbers: [6723]
6723,81 unequal: No Solution
Exploring Operation: 81+83=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[81, 83], Operations: ['66-66=0', '83+0=83']
Exploring Operation: 81+83=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 81*83=6723, Resulting Numbers: [6723]
6723,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[83, 81], Operations: ['66/66=1', '81*1=81']
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 83*81=6723, Resulting Numbers: [6723]
6723,81 unequal: No Solution
Exploring Operation: 83+81=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[83, 81], Operations: ['66-66=0', '81+0=81']
Exploring Operation: 83*81=6723, Resulting Numbers: [6723]
6723,81 unequal: No Solution
Exploring Operation: 83+81=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[83, 81], Operations: ['81-66=15', '66+15=81']
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 83+81=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 83*81=6723, Resulting Numbers: [6723]
6723,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[83, 81], Operations: ['66-66=0', '81-0=81']
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 83+81=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 83*81=6723, Resulting Numbers: [6723]
6723,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[81, 83], Operations: ['66/66=1', '83*1=83']
Exploring Operation: 81*83=6723, Resulting Numbers: [6723]
6723,81 unequal: No Solution
Exploring Operation: 81+83=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[15, 17], Operations: ['81-66=15', '83-66=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,81 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[83, 51], Operations: ['81-66=15', '66-15=51']
Exploring Operation: 83+51=134, Resulting Numbers: [134]
134,81 unequal: No Solution
Exploring Operation: 83-51=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 83*51=4233, Resulting Numbers: [4233]
4233,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[66, 68], Operations: ['81-66=15', '83-15=68']
Exploring Operation: 66+68=134, Resulting Numbers: [134]
134,81 unequal: No Solution
Exploring Operation: 66*68=4488, Resulting Numbers: [4488]
4488,81 unequal: No Solution
Exploring Operation: 68-66=2, Resulting Numbers: [2]
2,81 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
5,
41,
33,
76
] | 89 | [
"5+41=46",
"76-33=43",
"46+43=89"
] | Current State: 89:[5, 41, 33, 76], Operations: []
Exploring Operation: 5+41=46, Resulting Numbers: [33, 76, 46]
Generated Node #2: [33, 76, 46] from Operation: 5+41=46
Current State: 89:[33, 76, 46], Operations: ['5+41=46']
Exploring Operation: 76-33=43, Resulting Numbers: [46, 43]
Generated Node #3: [46, 43] from Operation: 76-33=43
Current State: 89:[46, 43], Operations: ['5+41=46', '76-33=43']
Exploring Operation: 46+43=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[5, 41, 33, 76], Operations: []
Exploring Operation: 5+33=38, Resulting Numbers: [41, 76, 38]
Generated Node #0,0: 89:[41, 76, 38] Operation: 5+33=38
Exploring Operation: 5+41=46, Resulting Numbers: [33, 76, 46]
Generated Node #0,1: 89:[33, 76, 46] Operation: 5+41=46
Moving to Node #0,0
Current State: 89:[41, 76, 38], Operations: ['5+33=38']
Exploring Operation: 41+38=79, Resulting Numbers: [76, 79]
Generated Node #0,0,0: 89:[76, 79] Operation: 41+38=79
Exploring Operation: 76+38=114, Resulting Numbers: [41, 114]
Generated Node #0,0,1: 89:[41, 114] Operation: 76+38=114
Moving to Node #0,1
Current State: 89:[33, 76, 46], Operations: ['5+41=46']
Exploring Operation: 33+76=109, Resulting Numbers: [46, 109]
Generated Node #0,1,0: 89:[46, 109] Operation: 33+76=109
Exploring Operation: 33+46=79, Resulting Numbers: [76, 79]
Generated Node #0,1,1: 89:[76, 79] Operation: 33+46=79
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[76, 79], Operations: ['5+41=46', '33+46=79']
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 76+79=155, Resulting Numbers: [155]
155,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[46, 109], Operations: ['5+41=46', '33+76=109']
Exploring Operation: 109-46=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Exploring Operation: 46+109=155, Resulting Numbers: [155]
155,89 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: 89:[76, 79], Operations: ['5+33=38', '41+38=79']
Exploring Operation: 76+79=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[41, 114], Operations: ['5+33=38', '76+38=114']
Exploring Operation: 41+114=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Exploring Operation: 114-41=73, Resulting Numbers: [73]
73,89 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.