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 |
|---|---|---|---|---|---|---|---|---|
[
7,
24,
4,
51
] | 89 | [
"24-4=20",
"7*20=140",
"140-51=89"
] | Current State: 89:[7, 24, 4, 51], Operations: []
Exploring Operation: 24-4=20, Resulting Numbers: [7, 51, 20]
Generated Node #2: [7, 51, 20] from Operation: 24-4=20
Current State: 89:[7, 51, 20], Operations: ['24-4=20']
Exploring Operation: 7*20=140, Resulting Numbers: [51, 140]
Generated Node #3: [51, 140] from Operation: 7*20=140
Current State: 89:[51, 140], Operations: ['24-4=20', '7*20=140']
Exploring Operation: 140-51=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[7, 24, 4, 51], Operations: []
Exploring Operation: 7*4=28, Resulting Numbers: [24, 51, 28]
Generated Node #0,0: 89:[24, 51, 28] Operation: 7*4=28
Exploring Operation: 24*4=96, Resulting Numbers: [7, 51, 96]
Generated Node #0,1: 89:[7, 51, 96] Operation: 24*4=96
Moving to Node #0,1
Current State: 89:[7, 51, 96], Operations: ['24*4=96']
Exploring Operation: 7+51=58, Resulting Numbers: [96, 58]
Generated Node #0,1,0: 89:[96, 58] Operation: 7+51=58
Exploring Operation: 96-7=89, Resulting Numbers: [51, 89]
Generated Node #0,1,1: 89:[51, 89] Operation: 96-7=89
Moving to Node #0,0
Current State: 89:[24, 51, 28], Operations: ['7*4=28']
Exploring Operation: 24+51=75, Resulting Numbers: [28, 75]
Generated Node #0,0,0: 89:[28, 75] Operation: 24+51=75
Exploring Operation: 24+28=52, Resulting Numbers: [51, 52]
Generated Node #0,0,1: 89:[51, 52] Operation: 24+28=52
Moving to Node #0,1,0
Current State: 89:[96, 58], Operations: ['24*4=96', '7+51=58']
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Exploring Operation: 96+58=154, Resulting Numbers: [154]
154,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[51, 89], Operations: ['24*4=96', '96-7=89']
Exploring Operation: 51+89=140, Resulting Numbers: [140]
140,89 unequal: No Solution
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[51, 52], Operations: ['7*4=28', '24+28=52']
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[28, 75], Operations: ['7*4=28', '24+51=75']
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,89 unequal: No Solution
Exploring Operation: 28+75=103, Resulting Numbers: [103]
103,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
20,
27,
32,
6
] | 50 | [
"32-27=5",
"6*5=30",
"20+30=50"
] | Current State: 50:[20, 27, 32, 6], Operations: []
Exploring Operation: 32-27=5, Resulting Numbers: [20, 6, 5]
Generated Node #2: [20, 6, 5] from Operation: 32-27=5
Current State: 50:[20, 6, 5], Operations: ['32-27=5']
Exploring Operation: 6*5=30, Resulting Numbers: [20, 30]
Generated Node #3: [20, 30] from Operation: 6*5=30
Current State: 50:[20, 30], Operations: ['32-27=5', '6*5=30']
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[20, 27, 32, 6], Operations: []
Exploring Operation: 32-20=12, Resulting Numbers: [27, 6, 12]
Generated Node #0,0: 50:[27, 6, 12] Operation: 32-20=12
Exploring Operation: 20+32=52, Resulting Numbers: [27, 6, 52]
Generated Node #0,1: 50:[27, 6, 52] Operation: 20+32=52
Exploring Operation: 32-27=5, Resulting Numbers: [20, 6, 5]
Generated Node #0,2: 50:[20, 6, 5] Operation: 32-27=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[27, 6, 12], Operations: ['32-20=12']
Exploring Operation: 12/6=2, Resulting Numbers: [27, 2]
Generated Node #0,0,0: 50:[27, 2] Operation: 12/6=2
Exploring Operation: 12-6=6, Resulting Numbers: [27, 6]
Generated Node #0,0,1: 50:[27, 6] Operation: 12-6=6
Exploring Operation: 27-6=21, Resulting Numbers: [12, 21]
Generated Node #0,0,2: 50:[12, 21] Operation: 27-6=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[27, 2], Operations: ['32-20=12', '12/6=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 50:[27, 6], Operations: ['32-20=12', '12-6=6']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,50 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 50:[12, 21], Operations: ['32-20=12', '27-6=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[27, 6, 52], Operations: ['20+32=52']
Exploring Operation: 52-27=25, Resulting Numbers: [6, 25]
Generated Node #0,1,0: 50:[6, 25] Operation: 52-27=25
Exploring Operation: 52-6=46, Resulting Numbers: [27, 46]
Generated Node #0,1,1: 50:[27, 46] Operation: 52-6=46
Exploring Operation: 27-6=21, Resulting Numbers: [52, 21]
Generated Node #0,1,2: 50:[52, 21] Operation: 27-6=21
Moving to Node #0,1,0
Current State: 50:[6, 25], Operations: ['20+32=52', '52-27=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,50 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[27, 46], Operations: ['20+32=52', '52-6=46']
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,50 unequal: No Solution
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,50 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[52, 21], Operations: ['20+32=52', '27-6=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,50 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[20, 6, 5], Operations: ['32-27=5']
Exploring Operation: 20+6=26, Resulting Numbers: [5, 26]
Generated Node #0,2,0: 50:[5, 26] Operation: 20+6=26
Exploring Operation: 20/5=4, Resulting Numbers: [6, 4]
Generated Node #0,2,1: 50:[6, 4] Operation: 20/5=4
Exploring Operation: 20+5=25, Resulting Numbers: [6, 25]
Generated Node #0,2,2: 50:[6, 25] Operation: 20+5=25
Moving to Node #0,2,0
Current State: 50:[5, 26], Operations: ['32-27=5', '20+6=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[6, 25], Operations: ['32-27=5', '20+5=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,50 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[6, 4], Operations: ['32-27=5', '20/5=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,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 |
[
19,
16,
85,
11
] | 52 | [
"19-16=3",
"11*3=33",
"85-33=52"
] | Current State: 52:[19, 16, 85, 11], Operations: []
Exploring Operation: 19-16=3, Resulting Numbers: [85, 11, 3]
Generated Node #2: [85, 11, 3] from Operation: 19-16=3
Current State: 52:[85, 11, 3], Operations: ['19-16=3']
Exploring Operation: 11*3=33, Resulting Numbers: [85, 33]
Generated Node #3: [85, 33] from Operation: 11*3=33
Current State: 52:[85, 33], Operations: ['19-16=3', '11*3=33']
Exploring Operation: 85-33=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[19, 16, 85, 11], Operations: []
Exploring Operation: 85-19=66, Resulting Numbers: [16, 11, 66]
Generated Node #0,0: 52:[16, 11, 66] Operation: 85-19=66
Exploring Operation: 85-11=74, Resulting Numbers: [19, 16, 74]
Generated Node #0,1: 52:[19, 16, 74] Operation: 85-11=74
Exploring Operation: 19+11=30, Resulting Numbers: [16, 85, 30]
Generated Node #0,2: 52:[16, 85, 30] Operation: 19+11=30
Exploring Operation: 85-16=69, Resulting Numbers: [19, 11, 69]
Generated Node #0,3: 52:[19, 11, 69] Operation: 85-16=69
Exploring Operation: 19-16=3, Resulting Numbers: [85, 11, 3]
Generated Node #0,4: 52:[85, 11, 3] Operation: 19-16=3
Moving to Node #0,0
Current State: 52:[16, 11, 66], Operations: ['85-19=66']
Exploring Operation: 66/11=6, Resulting Numbers: [16, 6]
Generated Node #0,0,0: 52:[16, 6] Operation: 66/11=6
Exploring Operation: 66-11=55, Resulting Numbers: [16, 55]
Generated Node #0,0,1: 52:[16, 55] Operation: 66-11=55
Exploring Operation: 66-16=50, Resulting Numbers: [11, 50]
Generated Node #0,0,2: 52:[11, 50] Operation: 66-16=50
Exploring Operation: 16-11=5, Resulting Numbers: [66, 5]
Generated Node #0,0,3: 52:[66, 5] Operation: 16-11=5
Exploring Operation: 16+11=27, Resulting Numbers: [66, 27]
Generated Node #0,0,4: 52:[66, 27] Operation: 16+11=27
Moving to Node #0,3
Current State: 52:[19, 11, 69], Operations: ['85-16=69']
Exploring Operation: 69-11=58, Resulting Numbers: [19, 58]
Generated Node #0,3,0: 52:[19, 58] Operation: 69-11=58
Exploring Operation: 11+69=80, Resulting Numbers: [19, 80]
Generated Node #0,3,1: 52:[19, 80] Operation: 11+69=80
Exploring Operation: 19-11=8, Resulting Numbers: [69, 8]
Generated Node #0,3,2: 52:[69, 8] Operation: 19-11=8
Exploring Operation: 69-19=50, Resulting Numbers: [11, 50]
Generated Node #0,3,3: 52:[11, 50] Operation: 69-19=50
Exploring Operation: 19+11=30, Resulting Numbers: [69, 30]
Generated Node #0,3,4: 52:[69, 30] Operation: 19+11=30
Moving to Node #0,1
Current State: 52:[19, 16, 74], Operations: ['85-11=74']
Exploring Operation: 19+74=93, Resulting Numbers: [16, 93]
Generated Node #0,1,0: 52:[16, 93] Operation: 19+74=93
Exploring Operation: 19+16=35, Resulting Numbers: [74, 35]
Generated Node #0,1,1: 52:[74, 35] Operation: 19+16=35
Exploring Operation: 74-19=55, Resulting Numbers: [16, 55]
Generated Node #0,1,2: 52:[16, 55] Operation: 74-19=55
Exploring Operation: 19-16=3, Resulting Numbers: [74, 3]
Generated Node #0,1,3: 52:[74, 3] Operation: 19-16=3
Exploring Operation: 74-16=58, Resulting Numbers: [19, 58]
Generated Node #0,1,4: 52:[19, 58] Operation: 74-16=58
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[16, 55], Operations: ['85-11=74', '74-19=55']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 52:[19, 58], Operations: ['85-11=74', '74-16=58']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[74, 3], Operations: ['85-11=74', '19-16=3']
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,52 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[74, 35], Operations: ['85-11=74', '19+16=35']
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,52 unequal: No Solution
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 74*35=2590, Resulting Numbers: [2590]
2590,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[16, 93], Operations: ['85-11=74', '19+74=93']
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 16+93=109, Resulting Numbers: [109]
109,52 unequal: No Solution
Exploring Operation: 16*93=1488, Resulting Numbers: [1488]
1488,52 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: 52:[85, 11, 3], Operations: ['19-16=3']
Exploring Operation: 85-3=82, Resulting Numbers: [11, 82]
Generated Node #0,4,0: 52:[11, 82] Operation: 85-3=82
Exploring Operation: 11-3=8, Resulting Numbers: [85, 8]
Generated Node #0,4,1: 52:[85, 8] Operation: 11-3=8
Exploring Operation: 85+3=88, Resulting Numbers: [11, 88]
Generated Node #0,4,2: 52:[11, 88] Operation: 85+3=88
Exploring Operation: 11+3=14, Resulting Numbers: [85, 14]
Generated Node #0,4,3: 52:[85, 14] Operation: 11+3=14
Exploring Operation: 85-11=74, Resulting Numbers: [3, 74]
Generated Node #0,4,4: 52:[3, 74] Operation: 85-11=74
Moving to Node #0,2
Current State: 52:[16, 85, 30], Operations: ['19+11=30']
Exploring Operation: 16+30=46, Resulting Numbers: [85, 46]
Generated Node #0,2,0: 52:[85, 46] Operation: 16+30=46
Exploring Operation: 30-16=14, Resulting Numbers: [85, 14]
Generated Node #0,2,1: 52:[85, 14] Operation: 30-16=14
Exploring Operation: 85-30=55, Resulting Numbers: [16, 55]
Generated Node #0,2,2: 52:[16, 55] Operation: 85-30=55
Exploring Operation: 16+85=101, Resulting Numbers: [30, 101]
Generated Node #0,2,3: 52:[30, 101] Operation: 16+85=101
Exploring Operation: 85-16=69, Resulting Numbers: [30, 69]
Generated Node #0,2,4: 52:[30, 69] Operation: 85-16=69
Moving to Node #0,0,2
Current State: 52:[11, 50], Operations: ['85-19=66', '66-16=50']
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[11, 50], Operations: ['85-16=69', '69-19=50']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[16, 6], Operations: ['85-19=66', '66/11=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,52 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[16, 55], Operations: ['85-19=66', '66-11=55']
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,52 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[16, 55], Operations: ['19+11=30', '85-30=55']
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,52 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[19, 58], Operations: ['85-16=69', '69-11=58']
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,52 unequal: No Solution
Moving to Node #0,0,4
Current State: 52:[66, 27], Operations: ['85-19=66', '16+11=27']
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 66*27=1782, Resulting Numbers: [1782]
1782,52 unequal: No Solution
Exploring Operation: 66+27=93, Resulting Numbers: [93]
93,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[66, 5], Operations: ['85-19=66', '16-11=5']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,52 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[69, 8], Operations: ['85-16=69', '19-11=8']
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,52 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Moving to Node #0,3,4
Current State: 52:[69, 30], Operations: ['85-16=69', '19+11=30']
Exploring Operation: 69+30=99, Resulting Numbers: [99]
99,52 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 69*30=2070, Resulting Numbers: [2070]
2070,52 unequal: No Solution
Moving to Node #0,2,4
Current State: 52:[30, 69], Operations: ['19+11=30', '85-16=69']
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,52 unequal: No Solution
Exploring Operation: 30*69=2070, Resulting Numbers: [2070]
2070,52 unequal: No Solution
Moving to Node #0,4,4
Current State: 52:[3, 74], Operations: ['19-16=3', '85-11=74']
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,52 unequal: No Solution
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Moving to Node #0,4,0
Current State: 52:[11, 82], Operations: ['19-16=3', '85-3=82']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Exploring Operation: 11+82=93, Resulting Numbers: [93]
93,52 unequal: No Solution
Exploring Operation: 11*82=902, Resulting Numbers: [902]
902,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[85, 14], Operations: ['19+11=30', '30-16=14']
Exploring Operation: 85+14=99, Resulting Numbers: [99]
99,52 unequal: No Solution
Exploring Operation: 85*14=1190, Resulting Numbers: [1190]
1190,52 unequal: No Solution
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Moving to Node #0,4,3
Current State: 52:[85, 14], Operations: ['19-16=3', '11+3=14']
Exploring Operation: 85*14=1190, Resulting Numbers: [1190]
1190,52 unequal: No Solution
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Exploring Operation: 85+14=99, Resulting Numbers: [99]
99,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[19, 80], Operations: ['85-16=69', '11+69=80']
Exploring Operation: 19*80=1520, Resulting Numbers: [1520]
1520,52 unequal: No Solution
Exploring Operation: 19+80=99, Resulting Numbers: [99]
99,52 unequal: No Solution
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Moving to Node #0,4,1
Current State: 52:[85, 8], Operations: ['19-16=3', '11-3=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,52 unequal: No Solution
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,52 unequal: No Solution
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Moving to Node #0,4,2
Current State: 52:[11, 88], Operations: ['19-16=3', '85+3=88']
Exploring Operation: 11+88=99, Resulting Numbers: [99]
99,52 unequal: No Solution
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 11*88=968, Resulting Numbers: [968]
968,52 unequal: No Solution
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[85, 46], Operations: ['19+11=30', '16+30=46']
Exploring Operation: 85*46=3910, Resulting Numbers: [3910]
3910,52 unequal: No Solution
Exploring Operation: 85-46=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 85+46=131, Resulting Numbers: [131]
131,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[30, 101], Operations: ['19+11=30', '16+85=101']
Exploring Operation: 30+101=131, Resulting Numbers: [131]
131,52 unequal: No Solution
Exploring Operation: 101-30=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Exploring Operation: 30*101=3030, Resulting Numbers: [3030]
3030,52 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
8,
49,
98,
49
] | 98 | [
"49-49=0",
"8*0=0",
"98+0=98"
] | Current State: 98:[8, 49, 98, 49], Operations: []
Exploring Operation: 49-49=0, Resulting Numbers: [8, 98, 0]
Generated Node #2: [8, 98, 0] from Operation: 49-49=0
Current State: 98:[8, 98, 0], Operations: ['49-49=0']
Exploring Operation: 8*0=0, Resulting Numbers: [98, 0]
Generated Node #3: [98, 0] from Operation: 8*0=0
Current State: 98:[98, 0], Operations: ['49-49=0', '8*0=0']
Exploring Operation: 98+0=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[8, 49, 98, 49], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [8, 49, 2]
Generated Node #0,0: 98:[8, 49, 2] Operation: 98/49=2
Exploring Operation: 98/49=2, Resulting Numbers: [8, 49, 2]
Generated Node #0,1: 98:[8, 49, 2] Operation: 98/49=2
Exploring Operation: 98-49=49, Resulting Numbers: [8, 49, 49]
Generated Node #0,2: 98:[8, 49, 49] Operation: 98-49=49
Exploring Operation: 98-49=49, Resulting Numbers: [8, 49, 49]
Generated Node #0,3: 98:[8, 49, 49] Operation: 98-49=49
Exploring Operation: 49+49=98, Resulting Numbers: [8, 98, 98]
Generated Node #0,4: 98:[8, 98, 98] Operation: 49+49=98
Moving to Node #0,0
Current State: 98:[8, 49, 2], Operations: ['98/49=2']
Exploring Operation: 8+2=10, Resulting Numbers: [49, 10]
Generated Node #0,0,0: 98:[49, 10] Operation: 8+2=10
Exploring Operation: 8-2=6, Resulting Numbers: [49, 6]
Generated Node #0,0,1: 98:[49, 6] Operation: 8-2=6
Exploring Operation: 8/2=4, Resulting Numbers: [49, 4]
Generated Node #0,0,2: 98:[49, 4] Operation: 8/2=4
Exploring Operation: 8*2=16, Resulting Numbers: [49, 16]
Generated Node #0,0,3: 98:[49, 16] Operation: 8*2=16
Exploring Operation: 49*2=98, Resulting Numbers: [8, 98]
Generated Node #0,0,4: 98:[8, 98] Operation: 49*2=98
Moving to Node #0,2
Current State: 98:[8, 49, 49], Operations: ['98-49=49']
Exploring Operation: 8+49=57, Resulting Numbers: [49, 57]
Generated Node #0,2,0: 98:[49, 57] Operation: 8+49=57
Exploring Operation: 49-8=41, Resulting Numbers: [49, 41]
Generated Node #0,2,1: 98:[49, 41] Operation: 49-8=41
Exploring Operation: 49+49=98, Resulting Numbers: [8, 98]
Generated Node #0,2,2: 98:[8, 98] Operation: 49+49=98
Exploring Operation: 49/49=1, Resulting Numbers: [8, 1]
Generated Node #0,2,3: 98:[8, 1] Operation: 49/49=1
Exploring Operation: 49-49=0, Resulting Numbers: [8, 0]
Generated Node #0,2,4: 98:[8, 0] Operation: 49-49=0
Moving to Node #0,4
Current State: 98:[8, 98, 98], Operations: ['49+49=98']
Exploring Operation: 98/98=1, Resulting Numbers: [8, 1]
Generated Node #0,4,0: 98:[8, 1] Operation: 98/98=1
Exploring Operation: 8+98=106, Resulting Numbers: [98, 106]
Generated Node #0,4,1: 98:[98, 106] Operation: 8+98=106
Exploring Operation: 8+98=106, Resulting Numbers: [98, 106]
Generated Node #0,4,2: 98:[98, 106] Operation: 8+98=106
Exploring Operation: 98-98=0, Resulting Numbers: [8, 0]
Generated Node #0,4,3: 98:[8, 0] Operation: 98-98=0
Exploring Operation: 98-8=90, Resulting Numbers: [98, 90]
Generated Node #0,4,4: 98:[98, 90] Operation: 98-8=90
Moving to Node #0,1
Current State: 98:[8, 49, 2], Operations: ['98/49=2']
Exploring Operation: 49*2=98, Resulting Numbers: [8, 98]
Generated Node #0,1,0: 98:[8, 98] Operation: 49*2=98
Exploring Operation: 8/2=4, Resulting Numbers: [49, 4]
Generated Node #0,1,1: 98:[49, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [49, 6]
Generated Node #0,1,2: 98:[49, 6] Operation: 8-2=6
Exploring Operation: 8*2=16, Resulting Numbers: [49, 16]
Generated Node #0,1,3: 98:[49, 16] Operation: 8*2=16
Exploring Operation: 8+2=10, Resulting Numbers: [49, 10]
Generated Node #0,1,4: 98:[49, 10] Operation: 8+2=10
Moving to Node #0,3
Current State: 98:[8, 49, 49], Operations: ['98-49=49']
Exploring Operation: 8+49=57, Resulting Numbers: [49, 57]
Generated Node #0,3,0: 98:[49, 57] Operation: 8+49=57
Exploring Operation: 49-8=41, Resulting Numbers: [49, 41]
Generated Node #0,3,1: 98:[49, 41] Operation: 49-8=41
Exploring Operation: 49-49=0, Resulting Numbers: [8, 0]
Generated Node #0,3,2: 98:[8, 0] Operation: 49-49=0
Exploring Operation: 49/49=1, Resulting Numbers: [8, 1]
Generated Node #0,3,3: 98:[8, 1] Operation: 49/49=1
Exploring Operation: 49+49=98, Resulting Numbers: [8, 98]
Generated Node #0,3,4: 98:[8, 98] Operation: 49+49=98
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 98:[8, 98], Operations: ['98-49=49', '49+49=98']
Exploring Operation: 8*98=784, Resulting Numbers: [784]
784,98 unequal: No Solution
Exploring Operation: 8+98=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 98:[8, 1], Operations: ['98-49=49', '49/49=1']
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[8, 0], Operations: ['98-49=49', '49-49=0']
Exploring Operation: 8-0=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 8+0=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 8*0=0, Resulting Numbers: [0]
0,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[49, 57], Operations: ['98-49=49', '8+49=57']
Exploring Operation: 49*57=2793, Resulting Numbers: [2793]
2793,98 unequal: No Solution
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 49+57=106, Resulting Numbers: [106]
106,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[49, 41], Operations: ['98-49=49', '49-8=41']
Exploring Operation: 49+41=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 49*41=2009, Resulting Numbers: [2009]
2009,98 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: 98:[49, 6], Operations: ['98/49=2', '8-2=6']
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,98 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[8, 98], Operations: ['98-49=49', '49+49=98']
Exploring Operation: 8+98=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 8*98=784, Resulting Numbers: [784]
784,98 unequal: No Solution
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[8, 98], Operations: ['98/49=2', '49*2=98']
Exploring Operation: 8*98=784, Resulting Numbers: [784]
784,98 unequal: No Solution
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 8+98=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[8, 98], Operations: ['98/49=2', '49*2=98']
Exploring Operation: 8+98=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 8*98=784, Resulting Numbers: [784]
784,98 unequal: No Solution
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[49, 6], Operations: ['98/49=2', '8-2=6']
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,98 unequal: No Solution
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[8, 1], Operations: ['98-49=49', '49/49=1']
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[49, 4], Operations: ['98/49=2', '8/2=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[8, 1], Operations: ['49+49=98', '98/98=1']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[49, 16], Operations: ['98/49=2', '8*2=16']
Exploring Operation: 49*16=784, Resulting Numbers: [784]
784,98 unequal: No Solution
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 49+16=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[49, 4], Operations: ['98/49=2', '8/2=4']
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,98 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[49, 16], Operations: ['98/49=2', '8*2=16']
Exploring Operation: 49*16=784, Resulting Numbers: [784]
784,98 unequal: No Solution
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 49+16=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[8, 0], Operations: ['49+49=98', '98-98=0']
Exploring Operation: 8*0=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 8+0=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 8-0=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,2,4
Current State: 98:[8, 0], Operations: ['98-49=49', '49-49=0']
Exploring Operation: 8*0=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 8+0=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 8-0=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[49, 10], Operations: ['98/49=2', '8+2=10']
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,98 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Moving to Node #0,1,4
Current State: 98:[49, 10], Operations: ['98/49=2', '8+2=10']
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[98, 90], Operations: ['49+49=98', '98-8=90']
Exploring Operation: 98*90=8820, Resulting Numbers: [8820]
8820,98 unequal: No Solution
Exploring Operation: 98+90=188, Resulting Numbers: [188]
188,98 unequal: No Solution
Exploring Operation: 98-90=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[98, 106], Operations: ['49+49=98', '8+98=106']
Exploring Operation: 98*106=10388, Resulting Numbers: [10388]
10388,98 unequal: No Solution
Exploring Operation: 98+106=204, Resulting Numbers: [204]
204,98 unequal: No Solution
Exploring Operation: 106-98=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[49, 41], Operations: ['98-49=49', '49-8=41']
Exploring Operation: 49+41=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 49*41=2009, Resulting Numbers: [2009]
2009,98 unequal: No Solution
Moving to Node #0,4,1
Current State: 98:[98, 106], Operations: ['49+49=98', '8+98=106']
Exploring Operation: 106-98=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 98*106=10388, Resulting Numbers: [10388]
10388,98 unequal: No Solution
Exploring Operation: 98+106=204, Resulting Numbers: [204]
204,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[49, 57], Operations: ['98-49=49', '8+49=57']
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 49+57=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 49*57=2793, Resulting Numbers: [2793]
2793,98 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
13,
72,
65,
25
] | 84 | [
"25-13=12",
"72-65=7",
"12*7=84"
] | Current State: 84:[13, 72, 65, 25], Operations: []
Exploring Operation: 25-13=12, Resulting Numbers: [72, 65, 12]
Generated Node #2: [72, 65, 12] from Operation: 25-13=12
Current State: 84:[72, 65, 12], Operations: ['25-13=12']
Exploring Operation: 72-65=7, Resulting Numbers: [12, 7]
Generated Node #3: [12, 7] from Operation: 72-65=7
Current State: 84:[12, 7], Operations: ['25-13=12', '72-65=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[13, 72, 65, 25], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [13, 25, 7]
Generated Node #0,0: 84:[13, 25, 7] Operation: 72-65=7
Exploring Operation: 65/13=5, Resulting Numbers: [72, 25, 5]
Generated Node #0,1: 84:[72, 25, 5] Operation: 65/13=5
Exploring Operation: 65-25=40, Resulting Numbers: [13, 72, 40]
Generated Node #0,2: 84:[13, 72, 40] Operation: 65-25=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[13, 25, 7], Operations: ['72-65=7']
Exploring Operation: 13+25=38, Resulting Numbers: [7, 38]
Generated Node #0,0,0: 84:[7, 38] Operation: 13+25=38
Exploring Operation: 25-13=12, Resulting Numbers: [7, 12]
Generated Node #0,0,1: 84:[7, 12] Operation: 25-13=12
Exploring Operation: 13-7=6, Resulting Numbers: [25, 6]
Generated Node #0,0,2: 84:[25, 6] Operation: 13-7=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[7, 12], Operations: ['72-65=7', '25-13=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[13, 72, 65, 25], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [13, 25, 7]
Generated Node #0,0: 84:[13, 25, 7] Operation: 72-65=7
Moving to Node #0,0
Current State: 84:[13, 25, 7], Operations: ['72-65=7']
Exploring Operation: 25-13=12, Resulting Numbers: [7, 12]
Generated Node #0,0,1: 84:[7, 12] Operation: 25-13=12
Moving to Node #0,0,1
Current State: 84:[7, 12], Operations: ['72-65=7', '25-13=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
87,
70,
24,
58
] | 99 | [
"87-70=17",
"24+58=82",
"17+82=99"
] | Current State: 99:[87, 70, 24, 58], Operations: []
Exploring Operation: 87-70=17, Resulting Numbers: [24, 58, 17]
Generated Node #2: [24, 58, 17] from Operation: 87-70=17
Current State: 99:[24, 58, 17], Operations: ['87-70=17']
Exploring Operation: 24+58=82, Resulting Numbers: [17, 82]
Generated Node #3: [17, 82] from Operation: 24+58=82
Current State: 99:[17, 82], Operations: ['87-70=17', '24+58=82']
Exploring Operation: 17+82=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[87, 70, 24, 58], Operations: []
Exploring Operation: 87-70=17, Resulting Numbers: [24, 58, 17]
Generated Node #0,0: 99:[24, 58, 17] Operation: 87-70=17
Exploring Operation: 70-58=12, Resulting Numbers: [87, 24, 12]
Generated Node #0,1: 99:[87, 24, 12] Operation: 70-58=12
Exploring Operation: 87-58=29, Resulting Numbers: [70, 24, 29]
Generated Node #0,2: 99:[70, 24, 29] Operation: 87-58=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[87, 24, 12], Operations: ['70-58=12']
Exploring Operation: 24-12=12, Resulting Numbers: [87, 12]
Generated Node #0,1,0: 99:[87, 12] Operation: 24-12=12
Exploring Operation: 87+12=99, Resulting Numbers: [24, 99]
Generated Node #0,1,1: 99:[24, 99] Operation: 87+12=99
Exploring Operation: 87+24=111, Resulting Numbers: [12, 111]
Generated Node #0,1,2: 99:[12, 111] Operation: 87+24=111
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[24, 99], Operations: ['70-58=12', '87+12=99']
Exploring Operation: 99-24=75, Resulting Numbers: [75]
75,99 unequal: No Solution
Exploring Operation: 24*99=2376, Resulting Numbers: [2376]
2376,99 unequal: No Solution
Exploring Operation: 24+99=123, Resulting Numbers: [123]
123,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[87, 12], Operations: ['70-58=12', '24-12=12']
Exploring Operation: 87+12=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[87, 70, 24, 58], Operations: []
Exploring Operation: 70-58=12, Resulting Numbers: [87, 24, 12]
Generated Node #0,1: 99:[87, 24, 12] Operation: 70-58=12
Moving to Node #0,1
Current State: 99:[87, 24, 12], Operations: ['70-58=12']
Exploring Operation: 24-12=12, Resulting Numbers: [87, 12]
Generated Node #0,1,0: 99:[87, 12] Operation: 24-12=12
Moving to Node #0,1,0
Current State: 99:[87, 12], Operations: ['70-58=12', '24-12=12']
Exploring Operation: 87+12=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
48,
76,
82,
44
] | 96 | [
"48*76=3648",
"82-44=38",
"3648/38=96"
] | Current State: 96:[48, 76, 82, 44], Operations: []
Exploring Operation: 48*76=3648, Resulting Numbers: [82, 44, 3648]
Generated Node #2: [82, 44, 3648] from Operation: 48*76=3648
Current State: 96:[82, 44, 3648], Operations: ['48*76=3648']
Exploring Operation: 82-44=38, Resulting Numbers: [3648, 38]
Generated Node #3: [3648, 38] from Operation: 82-44=38
Current State: 96:[3648, 38], Operations: ['48*76=3648', '82-44=38']
Exploring Operation: 3648/38=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[48, 76, 82, 44], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [82, 44, 28]
Generated Node #0,0: 96:[82, 44, 28] Operation: 76-48=28
Exploring Operation: 82-48=34, Resulting Numbers: [76, 44, 34]
Generated Node #0,1: 96:[76, 44, 34] Operation: 82-48=34
Exploring Operation: 82-44=38, Resulting Numbers: [48, 76, 38]
Generated Node #0,2: 96:[48, 76, 38] Operation: 82-44=38
Exploring Operation: 82-76=6, Resulting Numbers: [48, 44, 6]
Generated Node #0,3: 96:[48, 44, 6] Operation: 82-76=6
Exploring Operation: 76-44=32, Resulting Numbers: [48, 82, 32]
Generated Node #0,4: 96:[48, 82, 32] Operation: 76-44=32
Moving to Node #0,3
Current State: 96:[48, 44, 6], Operations: ['82-76=6']
Exploring Operation: 44-6=38, Resulting Numbers: [48, 38]
Generated Node #0,3,0: 96:[48, 38] Operation: 44-6=38
Exploring Operation: 48+44=92, Resulting Numbers: [6, 92]
Generated Node #0,3,1: 96:[6, 92] Operation: 48+44=92
Exploring Operation: 48/6=8, Resulting Numbers: [44, 8]
Generated Node #0,3,2: 96:[44, 8] Operation: 48/6=8
Exploring Operation: 44+6=50, Resulting Numbers: [48, 50]
Generated Node #0,3,3: 96:[48, 50] Operation: 44+6=50
Exploring Operation: 48-44=4, Resulting Numbers: [6, 4]
Generated Node #0,3,4: 96:[6, 4] Operation: 48-44=4
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 96:[6, 4], Operations: ['82-76=6', '48-44=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 96:[48, 50], Operations: ['82-76=6', '44+6=50']
Exploring Operation: 48+50=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 48*50=2400, Resulting Numbers: [2400]
2400,96 unequal: No Solution
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 96:[6, 92], Operations: ['82-76=6', '48+44=92']
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,96 unequal: No Solution
Exploring Operation: 6*92=552, Resulting Numbers: [552]
552,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 96:[44, 8], Operations: ['82-76=6', '48/6=8']
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,96 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 96:[48, 38], Operations: ['82-76=6', '44-6=38']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,96 unequal: No Solution
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,96 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: 96:[48, 82, 32], Operations: ['76-44=32']
Exploring Operation: 82-32=50, Resulting Numbers: [48, 50]
Generated Node #0,4,0: 96:[48, 50] Operation: 82-32=50
Exploring Operation: 48+32=80, Resulting Numbers: [82, 80]
Generated Node #0,4,1: 96:[82, 80] Operation: 48+32=80
Exploring Operation: 82-48=34, Resulting Numbers: [32, 34]
Generated Node #0,4,2: 96:[32, 34] Operation: 82-48=34
Exploring Operation: 82+32=114, Resulting Numbers: [48, 114]
Generated Node #0,4,3: 96:[48, 114] Operation: 82+32=114
Exploring Operation: 48-32=16, Resulting Numbers: [82, 16]
Generated Node #0,4,4: 96:[82, 16] Operation: 48-32=16
Moving to Node #0,0
Current State: 96:[82, 44, 28], Operations: ['76-48=28']
Exploring Operation: 82+44=126, Resulting Numbers: [28, 126]
Generated Node #0,0,0: 96:[28, 126] Operation: 82+44=126
Exploring Operation: 82-44=38, Resulting Numbers: [28, 38]
Generated Node #0,0,1: 96:[28, 38] Operation: 82-44=38
Exploring Operation: 82+28=110, Resulting Numbers: [44, 110]
Generated Node #0,0,2: 96:[44, 110] Operation: 82+28=110
Exploring Operation: 44-28=16, Resulting Numbers: [82, 16]
Generated Node #0,0,3: 96:[82, 16] Operation: 44-28=16
Exploring Operation: 82-28=54, Resulting Numbers: [44, 54]
Generated Node #0,0,4: 96:[44, 54] Operation: 82-28=54
Moving to Node #0,1
Current State: 96:[76, 44, 34], Operations: ['82-48=34']
Exploring Operation: 76-34=42, Resulting Numbers: [44, 42]
Generated Node #0,1,0: 96:[44, 42] Operation: 76-34=42
Exploring Operation: 76+34=110, Resulting Numbers: [44, 110]
Generated Node #0,1,1: 96:[44, 110] Operation: 76+34=110
Exploring Operation: 76+44=120, Resulting Numbers: [34, 120]
Generated Node #0,1,2: 96:[34, 120] Operation: 76+44=120
Exploring Operation: 44-34=10, Resulting Numbers: [76, 10]
Generated Node #0,1,3: 96:[76, 10] Operation: 44-34=10
Exploring Operation: 76-44=32, Resulting Numbers: [34, 32]
Generated Node #0,1,4: 96:[34, 32] Operation: 76-44=32
Moving to Node #0,2
Current State: 96:[48, 76, 38], Operations: ['82-44=38']
Exploring Operation: 48-38=10, Resulting Numbers: [76, 10]
Generated Node #0,2,0: 96:[76, 10] Operation: 48-38=10
Exploring Operation: 76-48=28, Resulting Numbers: [38, 28]
Generated Node #0,2,1: 96:[38, 28] Operation: 76-48=28
Exploring Operation: 76-38=38, Resulting Numbers: [48, 38]
Generated Node #0,2,2: 96:[48, 38] Operation: 76-38=38
Exploring Operation: 76+38=114, Resulting Numbers: [48, 114]
Generated Node #0,2,3: 96:[48, 114] Operation: 76+38=114
Exploring Operation: 76/38=2, Resulting Numbers: [48, 2]
Generated Node #0,2,4: 96:[48, 2] Operation: 76/38=2
Moving to Node #0,2,4
Current State: 96:[48, 2], Operations: ['82-44=38', '76/38=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[48, 76, 82, 44], Operations: []
Exploring Operation: 82-44=38, Resulting Numbers: [48, 76, 38]
Generated Node #0,2: 96:[48, 76, 38] Operation: 82-44=38
Moving to Node #0,2
Current State: 96:[48, 76, 38], Operations: ['82-44=38']
Exploring Operation: 76/38=2, Resulting Numbers: [48, 2]
Generated Node #0,2,4: 96:[48, 2] Operation: 76/38=2
Moving to Node #0,2,4
Current State: 96:[48, 2], Operations: ['82-44=38', '76/38=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.953993 | hs_5 | mult_heuristic |
[
81,
95,
70,
22
] | 97 | [
"81-70=11",
"22/11=2",
"95+2=97"
] | Current State: 97:[81, 95, 70, 22], Operations: []
Exploring Operation: 81-70=11, Resulting Numbers: [95, 22, 11]
Generated Node #2: [95, 22, 11] from Operation: 81-70=11
Current State: 97:[95, 22, 11], Operations: ['81-70=11']
Exploring Operation: 22/11=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 22/11=2
Current State: 97:[95, 2], Operations: ['81-70=11', '22/11=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[81, 95, 70, 22], Operations: []
Exploring Operation: 81+22=103, Resulting Numbers: [95, 70, 103]
Generated Node #0,0: 97:[95, 70, 103] Operation: 81+22=103
Exploring Operation: 70+22=92, Resulting Numbers: [81, 95, 92]
Generated Node #0,1: 97:[81, 95, 92] Operation: 70+22=92
Moving to Node #0,1
Current State: 97:[81, 95, 92], Operations: ['70+22=92']
Exploring Operation: 81+92=173, Resulting Numbers: [95, 173]
Generated Node #0,1,0: 97:[95, 173] Operation: 81+92=173
Exploring Operation: 81+95=176, Resulting Numbers: [92, 176]
Generated Node #0,1,1: 97:[92, 176] Operation: 81+95=176
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[95, 173], Operations: ['70+22=92', '81+92=173']
Exploring Operation: 95+173=268, Resulting Numbers: [268]
268,97 unequal: No Solution
Exploring Operation: 173-95=78, Resulting Numbers: [78]
78,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:[92, 176], Operations: ['70+22=92', '81+95=176']
Exploring Operation: 176-92=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 92+176=268, Resulting Numbers: [268]
268,97 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: 97:[95, 70, 103], Operations: ['81+22=103']
Exploring Operation: 95+70=165, Resulting Numbers: [103, 165]
Generated Node #0,0,0: 97:[103, 165] Operation: 95+70=165
Exploring Operation: 103-70=33, Resulting Numbers: [95, 33]
Generated Node #0,0,1: 97:[95, 33] Operation: 103-70=33
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[95, 33], Operations: ['81+22=103', '103-70=33']
Exploring Operation: 95-33=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 95+33=128, Resulting Numbers: [128]
128,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,0,0
Current State: 97:[103, 165], Operations: ['81+22=103', '95+70=165']
Exploring Operation: 103+165=268, Resulting Numbers: [268]
268,97 unequal: No Solution
Exploring Operation: 165-103=62, Resulting Numbers: [62]
62,97 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,
47,
76,
70
] | 37 | [
"76-70=6",
"60/6=10",
"47-10=37"
] | Current State: 37:[60, 47, 76, 70], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [60, 47, 6]
Generated Node #2: [60, 47, 6] from Operation: 76-70=6
Current State: 37:[60, 47, 6], Operations: ['76-70=6']
Exploring Operation: 60/6=10, Resulting Numbers: [47, 10]
Generated Node #3: [47, 10] from Operation: 60/6=10
Current State: 37:[47, 10], Operations: ['76-70=6', '60/6=10']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[60, 47, 76, 70], Operations: []
Exploring Operation: 76-60=16, Resulting Numbers: [47, 70, 16]
Generated Node #0,0: 37:[47, 70, 16] Operation: 76-60=16
Exploring Operation: 76-70=6, Resulting Numbers: [60, 47, 6]
Generated Node #0,1: 37:[60, 47, 6] Operation: 76-70=6
Exploring Operation: 76-47=29, Resulting Numbers: [60, 70, 29]
Generated Node #0,2: 37:[60, 70, 29] Operation: 76-47=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[47, 70, 16], Operations: ['76-60=16']
Exploring Operation: 47-16=31, Resulting Numbers: [70, 31]
Generated Node #0,0,0: 37:[70, 31] Operation: 47-16=31
Exploring Operation: 70-16=54, Resulting Numbers: [47, 54]
Generated Node #0,0,1: 37:[47, 54] Operation: 70-16=54
Exploring Operation: 70-47=23, Resulting Numbers: [16, 23]
Generated Node #0,0,2: 37:[16, 23] Operation: 70-47=23
Moving to Node #0,0,1
Current State: 37:[47, 54], Operations: ['76-60=16', '70-16=54']
Exploring Operation: 47*54=2538, Resulting Numbers: [2538]
2538,37 unequal: No Solution
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,37 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[16, 23], Operations: ['76-60=16', '70-47=23']
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,37 unequal: No Solution
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,37 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[70, 31], Operations: ['76-60=16', '47-16=31']
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,37 unequal: No Solution
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,37 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[60, 47, 6], Operations: ['76-70=6']
Exploring Operation: 60-6=54, Resulting Numbers: [47, 54]
Generated Node #0,1,0: 37:[47, 54] Operation: 60-6=54
Exploring Operation: 47-6=41, Resulting Numbers: [60, 41]
Generated Node #0,1,1: 37:[60, 41] Operation: 47-6=41
Exploring Operation: 60/6=10, Resulting Numbers: [47, 10]
Generated Node #0,1,2: 37:[47, 10] Operation: 60/6=10
Moving to Node #0,1,0
Current State: 37:[47, 54], Operations: ['76-70=6', '60-6=54']
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,37 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 47*54=2538, Resulting Numbers: [2538]
2538,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[60, 41], Operations: ['76-70=6', '47-6=41']
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,37 unequal: No Solution
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,37 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[47, 10], Operations: ['76-70=6', '60/6=10']
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,37 unequal: No Solution
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,37 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[60, 47, 76, 70], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [60, 47, 6]
Generated Node #0,1: 37:[60, 47, 6] Operation: 76-70=6
Moving to Node #0,1
Current State: 37:[60, 47, 6], Operations: ['76-70=6']
Exploring Operation: 60/6=10, Resulting Numbers: [47, 10]
Generated Node #0,1,2: 37:[47, 10] Operation: 60/6=10
Moving to Node #0,1,2
Current State: 37:[47, 10], Operations: ['76-70=6', '60/6=10']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
89,
41,
84,
50
] | 51 | [
"89-84=5",
"50/5=10",
"41+10=51"
] | Current State: 51:[89, 41, 84, 50], Operations: []
Exploring Operation: 89-84=5, Resulting Numbers: [41, 50, 5]
Generated Node #2: [41, 50, 5] from Operation: 89-84=5
Current State: 51:[41, 50, 5], Operations: ['89-84=5']
Exploring Operation: 50/5=10, Resulting Numbers: [41, 10]
Generated Node #3: [41, 10] from Operation: 50/5=10
Current State: 51:[41, 10], Operations: ['89-84=5', '50/5=10']
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[89, 41, 84, 50], Operations: []
Exploring Operation: 89-84=5, Resulting Numbers: [41, 50, 5]
Generated Node #0,0: 51:[41, 50, 5] Operation: 89-84=5
Exploring Operation: 84-50=34, Resulting Numbers: [89, 41, 34]
Generated Node #0,1: 51:[89, 41, 34] Operation: 84-50=34
Exploring Operation: 89-50=39, Resulting Numbers: [41, 84, 39]
Generated Node #0,2: 51:[41, 84, 39] Operation: 89-50=39
Exploring Operation: 84-41=43, Resulting Numbers: [89, 50, 43]
Generated Node #0,3: 51:[89, 50, 43] Operation: 84-41=43
Exploring Operation: 89-41=48, Resulting Numbers: [84, 50, 48]
Generated Node #0,4: 51:[84, 50, 48] Operation: 89-41=48
Moving to Node #0,0
Current State: 51:[41, 50, 5], Operations: ['89-84=5']
Exploring Operation: 50-5=45, Resulting Numbers: [41, 45]
Generated Node #0,0,0: 51:[41, 45] Operation: 50-5=45
Exploring Operation: 41-5=36, Resulting Numbers: [50, 36]
Generated Node #0,0,1: 51:[50, 36] Operation: 41-5=36
Exploring Operation: 50-41=9, Resulting Numbers: [5, 9]
Generated Node #0,0,2: 51:[5, 9] Operation: 50-41=9
Exploring Operation: 41+5=46, Resulting Numbers: [50, 46]
Generated Node #0,0,3: 51:[50, 46] Operation: 41+5=46
Exploring Operation: 50+5=55, Resulting Numbers: [41, 55]
Generated Node #0,0,4: 51:[41, 55] Operation: 50+5=55
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 51:[50, 46], Operations: ['89-84=5', '41+5=46']
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 50*46=2300, Resulting Numbers: [2300]
2300,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:[5, 9], Operations: ['89-84=5', '50-41=9']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,51 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,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,4
Current State: 51:[41, 55], Operations: ['89-84=5', '50+5=55']
Exploring Operation: 41*55=2255, Resulting Numbers: [2255]
2255,51 unequal: No Solution
Exploring Operation: 41+55=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,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:[41, 45], Operations: ['89-84=5', '50-5=45']
Exploring Operation: 41*45=1845, Resulting Numbers: [1845]
1845,51 unequal: No Solution
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,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:[50, 36], Operations: ['89-84=5', '41-5=36']
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 50*36=1800, Resulting Numbers: [1800]
1800,51 unequal: No Solution
Exploring Operation: 50-36=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,4
Current State: 51:[84, 50, 48], Operations: ['89-41=48']
Exploring Operation: 50+48=98, Resulting Numbers: [84, 98]
Generated Node #0,4,0: 51:[84, 98] Operation: 50+48=98
Exploring Operation: 84-50=34, Resulting Numbers: [48, 34]
Generated Node #0,4,1: 51:[48, 34] Operation: 84-50=34
Exploring Operation: 50-48=2, Resulting Numbers: [84, 2]
Generated Node #0,4,2: 51:[84, 2] Operation: 50-48=2
Exploring Operation: 84-48=36, Resulting Numbers: [50, 36]
Generated Node #0,4,3: 51:[50, 36] Operation: 84-48=36
Exploring Operation: 84+48=132, Resulting Numbers: [50, 132]
Generated Node #0,4,4: 51:[50, 132] Operation: 84+48=132
Moving to Node #0,3
Current State: 51:[89, 50, 43], Operations: ['84-41=43']
Exploring Operation: 50+43=93, Resulting Numbers: [89, 93]
Generated Node #0,3,0: 51:[89, 93] Operation: 50+43=93
Exploring Operation: 89-50=39, Resulting Numbers: [43, 39]
Generated Node #0,3,1: 51:[43, 39] Operation: 89-50=39
Exploring Operation: 89+43=132, Resulting Numbers: [50, 132]
Generated Node #0,3,2: 51:[50, 132] Operation: 89+43=132
Exploring Operation: 50-43=7, Resulting Numbers: [89, 7]
Generated Node #0,3,3: 51:[89, 7] Operation: 50-43=7
Exploring Operation: 89-43=46, Resulting Numbers: [50, 46]
Generated Node #0,3,4: 51:[50, 46] Operation: 89-43=46
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 51:[50, 46], Operations: ['84-41=43', '89-43=46']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 50*46=2300, Resulting Numbers: [2300]
2300,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 51:[43, 39], Operations: ['84-41=43', '89-50=39']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,51 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 51:[89, 7], Operations: ['84-41=43', '50-43=7']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 51:[89, 93], Operations: ['84-41=43', '50+43=93']
Exploring Operation: 89*93=8277, Resulting Numbers: [8277]
8277,51 unequal: No Solution
Exploring Operation: 93-89=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 89+93=182, Resulting Numbers: [182]
182,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 51:[50, 132], Operations: ['84-41=43', '89+43=132']
Exploring Operation: 132-50=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 50*132=6600, Resulting Numbers: [6600]
6600,51 unequal: No Solution
Exploring Operation: 50+132=182, Resulting Numbers: [182]
182,51 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: 51:[41, 84, 39], Operations: ['89-50=39']
Exploring Operation: 84-41=43, Resulting Numbers: [39, 43]
Generated Node #0,2,0: 51:[39, 43] Operation: 84-41=43
Exploring Operation: 84+39=123, Resulting Numbers: [41, 123]
Generated Node #0,2,1: 51:[41, 123] Operation: 84+39=123
Exploring Operation: 41-39=2, Resulting Numbers: [84, 2]
Generated Node #0,2,2: 51:[84, 2] Operation: 41-39=2
Exploring Operation: 84-39=45, Resulting Numbers: [41, 45]
Generated Node #0,2,3: 51:[41, 45] Operation: 84-39=45
Exploring Operation: 41+39=80, Resulting Numbers: [84, 80]
Generated Node #0,2,4: 51:[84, 80] Operation: 41+39=80
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 51:[41, 45], Operations: ['89-50=39', '84-39=45']
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 41*45=1845, Resulting Numbers: [1845]
1845,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:[39, 43], Operations: ['89-50=39', '84-41=43']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,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:[84, 2], Operations: ['89-50=39', '41-39=2']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,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,4
Current State: 51:[84, 80], Operations: ['89-50=39', '41+39=80']
Exploring Operation: 84-80=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 84*80=6720, Resulting Numbers: [6720]
6720,51 unequal: No Solution
Exploring Operation: 84+80=164, Resulting Numbers: [164]
164,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:[41, 123], Operations: ['89-50=39', '84+39=123']
Exploring Operation: 123-41=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 41+123=164, Resulting Numbers: [164]
164,51 unequal: No Solution
Exploring Operation: 123/41=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 41*123=5043, Resulting Numbers: [5043]
5043,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:[89, 41, 34], Operations: ['84-50=34']
Exploring Operation: 41-34=7, Resulting Numbers: [89, 7]
Generated Node #0,1,0: 51:[89, 7] Operation: 41-34=7
Exploring Operation: 89-41=48, Resulting Numbers: [34, 48]
Generated Node #0,1,1: 51:[34, 48] Operation: 89-41=48
Exploring Operation: 41+34=75, Resulting Numbers: [89, 75]
Generated Node #0,1,2: 51:[89, 75] Operation: 41+34=75
Exploring Operation: 89-34=55, Resulting Numbers: [41, 55]
Generated Node #0,1,3: 51:[41, 55] Operation: 89-34=55
Exploring Operation: 89+34=123, Resulting Numbers: [41, 123]
Generated Node #0,1,4: 51:[41, 123] Operation: 89+34=123
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 51:[41, 55], Operations: ['84-50=34', '89-34=55']
Exploring Operation: 41+55=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 41*55=2255, Resulting Numbers: [2255]
2255,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[34, 48], Operations: ['84-50=34', '89-41=48']
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,51 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[89, 7], Operations: ['84-50=34', '41-34=7']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[89, 75], Operations: ['84-50=34', '41+34=75']
Exploring Operation: 89-75=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 89*75=6675, Resulting Numbers: [6675]
6675,51 unequal: No Solution
Exploring Operation: 89+75=164, Resulting Numbers: [164]
164,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 51:[41, 123], Operations: ['84-50=34', '89+34=123']
Exploring Operation: 123-41=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 123/41=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 41*123=5043, Resulting Numbers: [5043]
5043,51 unequal: No Solution
Exploring Operation: 41+123=164, Resulting Numbers: [164]
164,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 51:[50, 36], Operations: ['89-41=48', '84-48=36']
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 50*36=1800, Resulting Numbers: [1800]
1800,51 unequal: No Solution
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Moving to Node #0,4,1
Current State: 51:[48, 34], Operations: ['89-41=48', '84-50=34']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,51 unequal: No Solution
Moving to Node #0,4,2
Current State: 51:[84, 2], Operations: ['89-41=48', '50-48=2']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,51 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Moving to Node #0,4,0
Current State: 51:[84, 98], Operations: ['89-41=48', '50+48=98']
Exploring Operation: 84+98=182, Resulting Numbers: [182]
182,51 unequal: No Solution
Exploring Operation: 84*98=8232, Resulting Numbers: [8232]
8232,51 unequal: No Solution
Exploring Operation: 98-84=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Moving to Node #0,4,4
Current State: 51:[50, 132], Operations: ['89-41=48', '84+48=132']
Exploring Operation: 50*132=6600, Resulting Numbers: [6600]
6600,51 unequal: No Solution
Exploring Operation: 132-50=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 50+132=182, Resulting Numbers: [182]
182,51 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
34,
51,
27,
29
] | 17 | [
"29-27=2",
"34*2=68",
"68-51=17"
] | Current State: 17:[34, 51, 27, 29], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [34, 51, 2]
Generated Node #2: [34, 51, 2] from Operation: 29-27=2
Current State: 17:[34, 51, 2], Operations: ['29-27=2']
Exploring Operation: 34*2=68, Resulting Numbers: [51, 68]
Generated Node #3: [51, 68] from Operation: 34*2=68
Current State: 17:[51, 68], Operations: ['29-27=2', '34*2=68']
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[34, 51, 27, 29], Operations: []
Exploring Operation: 51-29=22, Resulting Numbers: [34, 27, 22]
Generated Node #0,0: 17:[34, 27, 22] Operation: 51-29=22
Exploring Operation: 51-27=24, Resulting Numbers: [34, 29, 24]
Generated Node #0,1: 17:[34, 29, 24] Operation: 51-27=24
Exploring Operation: 51-34=17, Resulting Numbers: [27, 29, 17]
Generated Node #0,2: 17:[27, 29, 17] Operation: 51-34=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[27, 29, 17], Operations: ['51-34=17']
Exploring Operation: 29-17=12, Resulting Numbers: [27, 12]
Generated Node #0,2,0: 17:[27, 12] Operation: 29-17=12
Exploring Operation: 29-27=2, Resulting Numbers: [17, 2]
Generated Node #0,2,1: 17:[17, 2] Operation: 29-27=2
Exploring Operation: 27-17=10, Resulting Numbers: [29, 10]
Generated Node #0,2,2: 17:[29, 10] Operation: 27-17=10
Moving to Node #0,2,0
Current State: 17:[27, 12], Operations: ['51-34=17', '29-17=12']
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,17 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,17 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[17, 2], Operations: ['51-34=17', '29-27=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[29, 10], Operations: ['51-34=17', '27-17=10']
Exploring Operation: 29*10=290, Resulting Numbers: [290]
290,17 unequal: No Solution
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,17 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,17 unequal: No Solution
No 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: 17:[34, 27, 22], Operations: ['51-29=22']
Exploring Operation: 34-22=12, Resulting Numbers: [27, 12]
Generated Node #0,0,0: 17:[27, 12] Operation: 34-22=12
Exploring Operation: 34-27=7, Resulting Numbers: [22, 7]
Generated Node #0,0,1: 17:[22, 7] Operation: 34-27=7
Exploring Operation: 27-22=5, Resulting Numbers: [34, 5]
Generated Node #0,0,2: 17:[34, 5] Operation: 27-22=5
Moving to Node #0,0,0
Current State: 17:[27, 12], Operations: ['51-29=22', '34-22=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,17 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[22, 7], Operations: ['51-29=22', '34-27=7']
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,17 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[34, 5], Operations: ['51-29=22', '27-22=5']
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,17 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,17 unequal: No Solution
No 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: 17:[34, 29, 24], Operations: ['51-27=24']
Exploring Operation: 34-29=5, Resulting Numbers: [24, 5]
Generated Node #0,1,0: 17:[24, 5] Operation: 34-29=5
Exploring Operation: 34-24=10, Resulting Numbers: [29, 10]
Generated Node #0,1,1: 17:[29, 10] Operation: 34-24=10
Exploring Operation: 29-24=5, Resulting Numbers: [34, 5]
Generated Node #0,1,2: 17:[34, 5] Operation: 29-24=5
Moving to Node #0,1,0
Current State: 17:[24, 5], Operations: ['51-27=24', '34-29=5']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,17 unequal: No Solution
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[29, 10], Operations: ['51-27=24', '34-24=10']
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,17 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 29*10=290, Resulting Numbers: [290]
290,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[34, 5], Operations: ['51-27=24', '29-24=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,17 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,17 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 |
[
17,
71,
86,
93
] | 47 | [
"71-17=54",
"93-86=7",
"54-7=47"
] | Current State: 47:[17, 71, 86, 93], Operations: []
Exploring Operation: 71-17=54, Resulting Numbers: [86, 93, 54]
Generated Node #2: [86, 93, 54] from Operation: 71-17=54
Current State: 47:[86, 93, 54], Operations: ['71-17=54']
Exploring Operation: 93-86=7, Resulting Numbers: [54, 7]
Generated Node #3: [54, 7] from Operation: 93-86=7
Current State: 47:[54, 7], Operations: ['71-17=54', '93-86=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[17, 71, 86, 93], Operations: []
Exploring Operation: 86-17=69, Resulting Numbers: [71, 93, 69]
Generated Node #0,0: 47:[71, 93, 69] Operation: 86-17=69
Exploring Operation: 93-71=22, Resulting Numbers: [17, 86, 22]
Generated Node #0,1: 47:[17, 86, 22] Operation: 93-71=22
Exploring Operation: 71-17=54, Resulting Numbers: [86, 93, 54]
Generated Node #0,2: 47:[86, 93, 54] Operation: 71-17=54
Exploring Operation: 93-17=76, Resulting Numbers: [71, 86, 76]
Generated Node #0,3: 47:[71, 86, 76] Operation: 93-17=76
Moving to Node #0,0
Current State: 47:[71, 93, 69], Operations: ['86-17=69']
Exploring Operation: 71+93=164, Resulting Numbers: [69, 164]
Generated Node #0,0,0: 47:[69, 164] Operation: 71+93=164
Exploring Operation: 93-71=22, Resulting Numbers: [69, 22]
Generated Node #0,0,1: 47:[69, 22] Operation: 93-71=22
Exploring Operation: 71-69=2, Resulting Numbers: [93, 2]
Generated Node #0,0,2: 47:[93, 2] Operation: 71-69=2
Exploring Operation: 93-69=24, Resulting Numbers: [71, 24]
Generated Node #0,0,3: 47:[71, 24] Operation: 93-69=24
Moving to Node #0,3
Current State: 47:[71, 86, 76], Operations: ['93-17=76']
Exploring Operation: 76-71=5, Resulting Numbers: [86, 5]
Generated Node #0,3,0: 47:[86, 5] Operation: 76-71=5
Exploring Operation: 71+86=157, Resulting Numbers: [76, 157]
Generated Node #0,3,1: 47:[76, 157] Operation: 71+86=157
Exploring Operation: 86-76=10, Resulting Numbers: [71, 10]
Generated Node #0,3,2: 47:[71, 10] Operation: 86-76=10
Exploring Operation: 86-71=15, Resulting Numbers: [76, 15]
Generated Node #0,3,3: 47:[76, 15] Operation: 86-71=15
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 47:[71, 10], Operations: ['93-17=76', '86-76=10']
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,47 unequal: No Solution
Exploring Operation: 71*10=710, Resulting Numbers: [710]
710,47 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 47:[76, 15], Operations: ['93-17=76', '86-71=15']
Exploring Operation: 76*15=1140, Resulting Numbers: [1140]
1140,47 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 76+15=91, Resulting Numbers: [91]
91,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[86, 5], Operations: ['93-17=76', '76-71=5']
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,47 unequal: No Solution
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,47 unequal: No Solution
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[76, 157], Operations: ['93-17=76', '71+86=157']
Exploring Operation: 76+157=233, Resulting Numbers: [233]
233,47 unequal: No Solution
Exploring Operation: 157-76=81, Resulting Numbers: [81]
81,47 unequal: No Solution
Exploring Operation: 76*157=11932, Resulting Numbers: [11932]
11932,47 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: 47:[86, 93, 54], Operations: ['71-17=54']
Exploring Operation: 93-54=39, Resulting Numbers: [86, 39]
Generated Node #0,2,0: 47:[86, 39] Operation: 93-54=39
Exploring Operation: 93-86=7, Resulting Numbers: [54, 7]
Generated Node #0,2,1: 47:[54, 7] Operation: 93-86=7
Exploring Operation: 86-54=32, Resulting Numbers: [93, 32]
Generated Node #0,2,2: 47:[93, 32] Operation: 86-54=32
Exploring Operation: 86+93=179, Resulting Numbers: [54, 179]
Generated Node #0,2,3: 47:[54, 179] Operation: 86+93=179
Moving to Node #0,1
Current State: 47:[17, 86, 22], Operations: ['93-71=22']
Exploring Operation: 17+86=103, Resulting Numbers: [22, 103]
Generated Node #0,1,0: 47:[22, 103] Operation: 17+86=103
Exploring Operation: 86-17=69, Resulting Numbers: [22, 69]
Generated Node #0,1,1: 47:[22, 69] Operation: 86-17=69
Exploring Operation: 86-22=64, Resulting Numbers: [17, 64]
Generated Node #0,1,2: 47:[17, 64] Operation: 86-22=64
Exploring Operation: 17+22=39, Resulting Numbers: [86, 39]
Generated Node #0,1,3: 47:[86, 39] Operation: 17+22=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[22, 69], Operations: ['93-71=22', '86-17=69']
Exploring Operation: 22+69=91, Resulting Numbers: [91]
91,47 unequal: No Solution
Exploring Operation: 22*69=1518, Resulting Numbers: [1518]
1518,47 unequal: No Solution
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[17, 71, 86, 93], Operations: []
Exploring Operation: 93-71=22, Resulting Numbers: [17, 86, 22]
Generated Node #0,1: 47:[17, 86, 22] Operation: 93-71=22
Moving to Node #0,1
Current State: 47:[17, 86, 22], Operations: ['93-71=22']
Exploring Operation: 86-17=69, Resulting Numbers: [22, 69]
Generated Node #0,1,1: 47:[22, 69] Operation: 86-17=69
Moving to Node #0,1,1
Current State: 47:[22, 69], Operations: ['93-71=22', '86-17=69']
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | sum_heuristic |
[
99,
33,
53,
47
] | 99 | [
"53-47=6",
"33*6=198",
"198-99=99"
] | Current State: 99:[99, 33, 53, 47], Operations: []
Exploring Operation: 53-47=6, Resulting Numbers: [99, 33, 6]
Generated Node #2: [99, 33, 6] from Operation: 53-47=6
Current State: 99:[99, 33, 6], Operations: ['53-47=6']
Exploring Operation: 33*6=198, Resulting Numbers: [99, 198]
Generated Node #3: [99, 198] from Operation: 33*6=198
Current State: 99:[99, 198], Operations: ['53-47=6', '33*6=198']
Exploring Operation: 198-99=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[99, 33, 53, 47], Operations: []
Exploring Operation: 53+47=100, Resulting Numbers: [99, 33, 100]
Generated Node #0,0: 99:[99, 33, 100] Operation: 53+47=100
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[99, 33, 100], Operations: ['53+47=100']
Exploring Operation: 99/33=3, Resulting Numbers: [100, 3]
Generated Node #0,0,0: 99:[100, 3] Operation: 99/33=3
Moving to Node #0,0,0
Current State: 99:[100, 3], Operations: ['53+47=100', '99/33=3']
Exploring Operation: 100-3=97, Resulting Numbers: [97]
97,99 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 |
[
7,
14,
15,
10
] | 52 | [
"7*14=98",
"15*10=150",
"150-98=52"
] | Current State: 52:[7, 14, 15, 10], Operations: []
Exploring Operation: 7*14=98, Resulting Numbers: [15, 10, 98]
Generated Node #2: [15, 10, 98] from Operation: 7*14=98
Current State: 52:[15, 10, 98], Operations: ['7*14=98']
Exploring Operation: 15*10=150, Resulting Numbers: [98, 150]
Generated Node #3: [98, 150] from Operation: 15*10=150
Current State: 52:[98, 150], Operations: ['7*14=98', '15*10=150']
Exploring Operation: 150-98=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[7, 14, 15, 10], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [15, 10, 2]
Generated Node #0,0: 52:[15, 10, 2] Operation: 14/7=2
Exploring Operation: 15-10=5, Resulting Numbers: [7, 14, 5]
Generated Node #0,1: 52:[7, 14, 5] Operation: 15-10=5
Exploring Operation: 14-10=4, Resulting Numbers: [7, 15, 4]
Generated Node #0,2: 52:[7, 15, 4] Operation: 14-10=4
Exploring Operation: 10-7=3, Resulting Numbers: [14, 15, 3]
Generated Node #0,3: 52:[14, 15, 3] Operation: 10-7=3
Exploring Operation: 15+10=25, Resulting Numbers: [7, 14, 25]
Generated Node #0,4: 52:[7, 14, 25] Operation: 15+10=25
Moving to Node #0,3
Current State: 52:[14, 15, 3], Operations: ['10-7=3']
Exploring Operation: 15-14=1, Resulting Numbers: [3, 1]
Generated Node #0,3,0: 52:[3, 1] Operation: 15-14=1
Exploring Operation: 15-3=12, Resulting Numbers: [14, 12]
Generated Node #0,3,1: 52:[14, 12] Operation: 15-3=12
Exploring Operation: 14-3=11, Resulting Numbers: [15, 11]
Generated Node #0,3,2: 52:[15, 11] Operation: 14-3=11
Exploring Operation: 15/3=5, Resulting Numbers: [14, 5]
Generated Node #0,3,3: 52:[14, 5] Operation: 15/3=5
Exploring Operation: 14+15=29, Resulting Numbers: [3, 29]
Generated Node #0,3,4: 52:[3, 29] Operation: 14+15=29
Moving to Node #0,1
Current State: 52:[7, 14, 5], Operations: ['15-10=5']
Exploring Operation: 7+5=12, Resulting Numbers: [14, 12]
Generated Node #0,1,0: 52:[14, 12] Operation: 7+5=12
Exploring Operation: 7+14=21, Resulting Numbers: [5, 21]
Generated Node #0,1,1: 52:[5, 21] Operation: 7+14=21
Exploring Operation: 14-7=7, Resulting Numbers: [5, 7]
Generated Node #0,1,2: 52:[5, 7] Operation: 14-7=7
Exploring Operation: 7-5=2, Resulting Numbers: [14, 2]
Generated Node #0,1,3: 52:[14, 2] Operation: 7-5=2
Exploring Operation: 14/7=2, Resulting Numbers: [5, 2]
Generated Node #0,1,4: 52:[5, 2] Operation: 14/7=2
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[14, 2], Operations: ['15-10=5', '7-5=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 52:[5, 2], Operations: ['15-10=5', '14/7=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[14, 12], Operations: ['15-10=5', '7+5=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,52 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[5, 7], Operations: ['15-10=5', '14-7=7']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[5, 21], Operations: ['15-10=5', '7+14=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,52 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: 52:[7, 14, 25], Operations: ['15+10=25']
Exploring Operation: 25-7=18, Resulting Numbers: [14, 18]
Generated Node #0,4,0: 52:[14, 18] Operation: 25-7=18
Exploring Operation: 25-14=11, Resulting Numbers: [7, 11]
Generated Node #0,4,1: 52:[7, 11] Operation: 25-14=11
Exploring Operation: 14-7=7, Resulting Numbers: [25, 7]
Generated Node #0,4,2: 52:[25, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [25, 2]
Generated Node #0,4,3: 52:[25, 2] Operation: 14/7=2
Exploring Operation: 7+14=21, Resulting Numbers: [25, 21]
Generated Node #0,4,4: 52:[25, 21] Operation: 7+14=21
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 52:[25, 2], Operations: ['15+10=25', '14/7=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 52:[25, 7], Operations: ['15+10=25', '14-7=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 52:[7, 11], Operations: ['15+10=25', '25-14=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 52:[14, 18], Operations: ['15+10=25', '25-7=18']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,52 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 52:[25, 21], Operations: ['15+10=25', '7+14=21']
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,52 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 52:[15, 10, 2], Operations: ['14/7=2']
Exploring Operation: 15-10=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 52:[2, 5] Operation: 15-10=5
Exploring Operation: 15-2=13, Resulting Numbers: [10, 13]
Generated Node #0,0,1: 52:[10, 13] Operation: 15-2=13
Exploring Operation: 10+2=12, Resulting Numbers: [15, 12]
Generated Node #0,0,2: 52:[15, 12] Operation: 10+2=12
Exploring Operation: 10/2=5, Resulting Numbers: [15, 5]
Generated Node #0,0,3: 52:[15, 5] Operation: 10/2=5
Exploring Operation: 15+10=25, Resulting Numbers: [2, 25]
Generated Node #0,0,4: 52:[2, 25] Operation: 15+10=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[2, 5], Operations: ['14/7=2', '15-10=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 52:[2, 25], Operations: ['14/7=2', '15+10=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[10, 13], Operations: ['14/7=2', '15-2=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,52 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[15, 12], Operations: ['14/7=2', '10+2=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[15, 5], Operations: ['14/7=2', '10/2=5']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,52 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: 52:[7, 15, 4], Operations: ['14-10=4']
Exploring Operation: 15-7=8, Resulting Numbers: [4, 8]
Generated Node #0,2,0: 52:[4, 8] Operation: 15-7=8
Exploring Operation: 7+4=11, Resulting Numbers: [15, 11]
Generated Node #0,2,1: 52:[15, 11] Operation: 7+4=11
Exploring Operation: 7-4=3, Resulting Numbers: [15, 3]
Generated Node #0,2,2: 52:[15, 3] Operation: 7-4=3
Exploring Operation: 7+15=22, Resulting Numbers: [4, 22]
Generated Node #0,2,3: 52:[4, 22] Operation: 7+15=22
Exploring Operation: 7*4=28, Resulting Numbers: [15, 28]
Generated Node #0,2,4: 52:[15, 28] Operation: 7*4=28
Moving to Node #0,3,0
Current State: 52:[3, 1], Operations: ['10-7=3', '15-14=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[14, 5], Operations: ['10-7=3', '15/3=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[14, 12], Operations: ['10-7=3', '15-3=12']
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,52 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[15, 3], Operations: ['14-10=4', '7-4=3']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[4, 8], Operations: ['14-10=4', '15-7=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Moving to Node #0,2,4
Current State: 52:[15, 28], Operations: ['14-10=4', '7*4=28']
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,52 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[15, 11], Operations: ['14-10=4', '7+4=11']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[4, 22], Operations: ['14-10=4', '7+15=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,52 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Moving to Node #0,3,4
Current State: 52:[3, 29], Operations: ['10-7=3', '14+15=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,52 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[15, 11], Operations: ['10-7=3', '14-3=11']
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,52 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,52 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
88,
95,
46,
17
] | 36 | [
"95-88=7",
"46-17=29",
"7+29=36"
] | Current State: 36:[88, 95, 46, 17], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [46, 17, 7]
Generated Node #2: [46, 17, 7] from Operation: 95-88=7
Current State: 36:[46, 17, 7], Operations: ['95-88=7']
Exploring Operation: 46-17=29, Resulting Numbers: [7, 29]
Generated Node #3: [7, 29] from Operation: 46-17=29
Current State: 36:[7, 29], Operations: ['95-88=7', '46-17=29']
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[88, 95, 46, 17], Operations: []
Exploring Operation: 88-17=71, Resulting Numbers: [95, 46, 71]
Generated Node #0,0: 36:[95, 46, 71] Operation: 88-17=71
Exploring Operation: 95-88=7, Resulting Numbers: [46, 17, 7]
Generated Node #0,1: 36:[46, 17, 7] Operation: 95-88=7
Exploring Operation: 88-46=42, Resulting Numbers: [95, 17, 42]
Generated Node #0,2: 36:[95, 17, 42] Operation: 88-46=42
Exploring Operation: 95-46=49, Resulting Numbers: [88, 17, 49]
Generated Node #0,3: 36:[88, 17, 49] Operation: 95-46=49
Moving to Node #0,1
Current State: 36:[46, 17, 7], Operations: ['95-88=7']
Exploring Operation: 46-7=39, Resulting Numbers: [17, 39]
Generated Node #0,1,0: 36:[17, 39] Operation: 46-7=39
Exploring Operation: 46-17=29, Resulting Numbers: [7, 29]
Generated Node #0,1,1: 36:[7, 29] Operation: 46-17=29
Exploring Operation: 17-7=10, Resulting Numbers: [46, 10]
Generated Node #0,1,2: 36:[46, 10] Operation: 17-7=10
Exploring Operation: 17+7=24, Resulting Numbers: [46, 24]
Generated Node #0,1,3: 36:[46, 24] Operation: 17+7=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[17, 39], Operations: ['95-88=7', '46-7=39']
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,36 unequal: No Solution
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[7, 29], Operations: ['95-88=7', '46-17=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[88, 95, 46, 17], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [46, 17, 7]
Generated Node #0,1: 36:[46, 17, 7] Operation: 95-88=7
Moving to Node #0,1
Current State: 36:[46, 17, 7], Operations: ['95-88=7']
Exploring Operation: 46-17=29, Resulting Numbers: [7, 29]
Generated Node #0,1,1: 36:[7, 29] Operation: 46-17=29
Moving to Node #0,1,1
Current State: 36:[7, 29], Operations: ['95-88=7', '46-17=29']
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
73,
89,
79,
71
] | 24 | [
"89-73=16",
"79-71=8",
"16+8=24"
] | Current State: 24:[73, 89, 79, 71], Operations: []
Exploring Operation: 89-73=16, Resulting Numbers: [79, 71, 16]
Generated Node #2: [79, 71, 16] from Operation: 89-73=16
Current State: 24:[79, 71, 16], Operations: ['89-73=16']
Exploring Operation: 79-71=8, Resulting Numbers: [16, 8]
Generated Node #3: [16, 8] from Operation: 79-71=8
Current State: 24:[16, 8], Operations: ['89-73=16', '79-71=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[73, 89, 79, 71], Operations: []
Exploring Operation: 89-79=10, Resulting Numbers: [73, 71, 10]
Generated Node #0,0: 24:[73, 71, 10] Operation: 89-79=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[73, 71, 10], Operations: ['89-79=10']
Exploring Operation: 73-71=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 24:[10, 2] Operation: 73-71=2
Moving to Node #0,0,0
Current State: 24:[10, 2], Operations: ['89-79=10', '73-71=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
22,
72,
58
] | 77 | [
"72/24=3",
"22+58=80",
"80-3=77"
] | Current State: 77:[24, 22, 72, 58], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [22, 58, 3]
Generated Node #2: [22, 58, 3] from Operation: 72/24=3
Current State: 77:[22, 58, 3], Operations: ['72/24=3']
Exploring Operation: 22+58=80, Resulting Numbers: [3, 80]
Generated Node #3: [3, 80] from Operation: 22+58=80
Current State: 77:[3, 80], Operations: ['72/24=3', '22+58=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[24, 22, 72, 58], Operations: []
Exploring Operation: 24-22=2, Resulting Numbers: [72, 58, 2]
Generated Node #0,0: 77:[72, 58, 2] Operation: 24-22=2
Exploring Operation: 22+58=80, Resulting Numbers: [24, 72, 80]
Generated Node #0,1: 77:[24, 72, 80] Operation: 22+58=80
Exploring Operation: 72-58=14, Resulting Numbers: [24, 22, 14]
Generated Node #0,2: 77:[24, 22, 14] Operation: 72-58=14
Exploring Operation: 24+58=82, Resulting Numbers: [22, 72, 82]
Generated Node #0,3: 77:[22, 72, 82] Operation: 24+58=82
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[24, 72, 80], Operations: ['22+58=80']
Exploring Operation: 72/24=3, Resulting Numbers: [80, 3]
Generated Node #0,1,0: 77:[80, 3] Operation: 72/24=3
Exploring Operation: 80-72=8, Resulting Numbers: [24, 8]
Generated Node #0,1,1: 77:[24, 8] Operation: 80-72=8
Exploring Operation: 80-24=56, Resulting Numbers: [72, 56]
Generated Node #0,1,2: 77:[72, 56] Operation: 80-24=56
Exploring Operation: 24+72=96, Resulting Numbers: [80, 96]
Generated Node #0,1,3: 77:[80, 96] Operation: 24+72=96
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[80, 3], Operations: ['22+58=80', '72/24=3']
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,77 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[24, 22, 72, 58], Operations: []
Exploring Operation: 22+58=80, Resulting Numbers: [24, 72, 80]
Generated Node #0,1: 77:[24, 72, 80] Operation: 22+58=80
Moving to Node #0,1
Current State: 77:[24, 72, 80], Operations: ['22+58=80']
Exploring Operation: 72/24=3, Resulting Numbers: [80, 3]
Generated Node #0,1,0: 77:[80, 3] Operation: 72/24=3
Moving to Node #0,1,0
Current State: 77:[80, 3], Operations: ['22+58=80', '72/24=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
27,
18,
45,
69
] | 91 | [
"18*69=1242",
"1242/27=46",
"45+46=91"
] | Current State: 91:[27, 18, 45, 69], Operations: []
Exploring Operation: 18*69=1242, Resulting Numbers: [27, 45, 1242]
Generated Node #2: [27, 45, 1242] from Operation: 18*69=1242
Current State: 91:[27, 45, 1242], Operations: ['18*69=1242']
Exploring Operation: 1242/27=46, Resulting Numbers: [45, 46]
Generated Node #3: [45, 46] from Operation: 1242/27=46
Current State: 91:[45, 46], Operations: ['18*69=1242', '1242/27=46']
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[27, 18, 45, 69], Operations: []
Exploring Operation: 45-27=18, Resulting Numbers: [18, 69, 18]
Generated Node #0,0: 91:[18, 69, 18] Operation: 45-27=18
Exploring Operation: 69-45=24, Resulting Numbers: [27, 18, 24]
Generated Node #0,1: 91:[27, 18, 24] Operation: 69-45=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[27, 18, 24], Operations: ['69-45=24']
Exploring Operation: 27-24=3, Resulting Numbers: [18, 3]
Generated Node #0,1,0: 91:[18, 3] Operation: 27-24=3
Exploring Operation: 27-18=9, Resulting Numbers: [24, 9]
Generated Node #0,1,1: 91:[24, 9] Operation: 27-18=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[18, 3], Operations: ['69-45=24', '27-24=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,91 unequal: No Solution
No 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: 91:[24, 9], Operations: ['69-45=24', '27-18=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[18, 69, 18], Operations: ['45-27=18']
Exploring Operation: 69+18=87, Resulting Numbers: [18, 87]
Generated Node #0,0,0: 91:[18, 87] Operation: 69+18=87
Exploring Operation: 18+69=87, Resulting Numbers: [18, 87]
Generated Node #0,0,1: 91:[18, 87] Operation: 18+69=87
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[18, 87], Operations: ['45-27=18', '69+18=87']
Exploring Operation: 18+87=105, Resulting Numbers: [105]
105,91 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,91 unequal: No Solution
No 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: 91:[18, 87], Operations: ['45-27=18', '18+69=87']
Exploring Operation: 18+87=105, Resulting Numbers: [105]
105,91 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
6,
66,
24
] | 35 | [
"24/6=4",
"66+4=70",
"70/2=35"
] | Current State: 35:[2, 6, 66, 24], Operations: []
Exploring Operation: 24/6=4, Resulting Numbers: [2, 66, 4]
Generated Node #2: [2, 66, 4] from Operation: 24/6=4
Current State: 35:[2, 66, 4], Operations: ['24/6=4']
Exploring Operation: 66+4=70, Resulting Numbers: [2, 70]
Generated Node #3: [2, 70] from Operation: 66+4=70
Current State: 35:[2, 70], Operations: ['24/6=4', '66+4=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[2, 6, 66, 24], Operations: []
Exploring Operation: 66/2=33, Resulting Numbers: [6, 24, 33]
Generated Node #0,0: 35:[6, 24, 33] Operation: 66/2=33
Exploring Operation: 24/6=4, Resulting Numbers: [2, 66, 4]
Generated Node #0,1: 35:[2, 66, 4] Operation: 24/6=4
Exploring Operation: 24/2=12, Resulting Numbers: [6, 66, 12]
Generated Node #0,2: 35:[6, 66, 12] Operation: 24/2=12
Exploring Operation: 66-24=42, Resulting Numbers: [2, 6, 42]
Generated Node #0,3: 35:[2, 6, 42] Operation: 66-24=42
Exploring Operation: 66/6=11, Resulting Numbers: [2, 24, 11]
Generated Node #0,4: 35:[2, 24, 11] Operation: 66/6=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[2, 6, 42], Operations: ['66-24=42']
Exploring Operation: 6-2=4, Resulting Numbers: [42, 4]
Generated Node #0,3,0: 35:[42, 4] Operation: 6-2=4
Exploring Operation: 2+6=8, Resulting Numbers: [42, 8]
Generated Node #0,3,1: 35:[42, 8] Operation: 2+6=8
Exploring Operation: 42-2=40, Resulting Numbers: [6, 40]
Generated Node #0,3,2: 35:[6, 40] Operation: 42-2=40
Exploring Operation: 42/6=7, Resulting Numbers: [2, 7]
Generated Node #0,3,3: 35:[2, 7] Operation: 42/6=7
Exploring Operation: 42-6=36, Resulting Numbers: [2, 36]
Generated Node #0,3,4: 35:[2, 36] Operation: 42-6=36
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[2, 7], Operations: ['66-24=42', '42/6=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 35:[2, 36], Operations: ['66-24=42', '42-6=36']
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 35:[6, 40], Operations: ['66-24=42', '42-2=40']
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,35 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 35:[42, 4], Operations: ['66-24=42', '6-2=4']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,35 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 35:[42, 8], Operations: ['66-24=42', '2+6=8']
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,35 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[6, 24, 33], Operations: ['66/2=33']
Exploring Operation: 24/6=4, Resulting Numbers: [33, 4]
Generated Node #0,0,0: 35:[33, 4] Operation: 24/6=4
Exploring Operation: 6+33=39, Resulting Numbers: [24, 39]
Generated Node #0,0,1: 35:[24, 39] Operation: 6+33=39
Exploring Operation: 24-6=18, Resulting Numbers: [33, 18]
Generated Node #0,0,2: 35:[33, 18] Operation: 24-6=18
Exploring Operation: 6+24=30, Resulting Numbers: [33, 30]
Generated Node #0,0,3: 35:[33, 30] Operation: 6+24=30
Exploring Operation: 33-24=9, Resulting Numbers: [6, 9]
Generated Node #0,0,4: 35:[6, 9] Operation: 33-24=9
Moving to Node #0,0,0
Current State: 35:[33, 4], Operations: ['66/2=33', '24/6=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,35 unequal: No Solution
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Moving to Node #0,0,4
Current State: 35:[6, 9], Operations: ['66/2=33', '33-24=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[33, 30], Operations: ['66/2=33', '6+24=30']
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,35 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[33, 18], Operations: ['66/2=33', '24-6=18']
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 33*18=594, Resulting Numbers: [594]
594,35 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[24, 39], Operations: ['66/2=33', '6+33=39']
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,35 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,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,4
Current State: 35:[2, 24, 11], Operations: ['66/6=11']
Exploring Operation: 24+11=35, Resulting Numbers: [2, 35]
Generated Node #0,4,0: 35:[2, 35] Operation: 24+11=35
Exploring Operation: 24/2=12, Resulting Numbers: [11, 12]
Generated Node #0,4,1: 35:[11, 12] Operation: 24/2=12
Exploring Operation: 2+24=26, Resulting Numbers: [11, 26]
Generated Node #0,4,2: 35:[11, 26] Operation: 2+24=26
Exploring Operation: 24-11=13, Resulting Numbers: [2, 13]
Generated Node #0,4,3: 35:[2, 13] Operation: 24-11=13
Exploring Operation: 11-2=9, Resulting Numbers: [24, 9]
Generated Node #0,4,4: 35:[24, 9] Operation: 11-2=9
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 35:[2, 35], Operations: ['66/6=11', '24+11=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 35:[11, 12], Operations: ['66/6=11', '24/2=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,35 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 35:[2, 13], Operations: ['66/6=11', '24-11=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 35:[11, 26], Operations: ['66/6=11', '2+24=26']
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,35 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 35:[24, 9], Operations: ['66/6=11', '11-2=9']
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,35 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[2, 66, 4], Operations: ['24/6=4']
Exploring Operation: 2*4=8, Resulting Numbers: [66, 8]
Generated Node #0,1,0: 35:[66, 8] Operation: 2*4=8
Exploring Operation: 66-2=64, Resulting Numbers: [4, 64]
Generated Node #0,1,1: 35:[4, 64] Operation: 66-2=64
Exploring Operation: 66-4=62, Resulting Numbers: [2, 62]
Generated Node #0,1,2: 35:[2, 62] Operation: 66-4=62
Exploring Operation: 2+4=6, Resulting Numbers: [66, 6]
Generated Node #0,1,3: 35:[66, 6] Operation: 2+4=6
Exploring Operation: 66/2=33, Resulting Numbers: [4, 33]
Generated Node #0,1,4: 35:[4, 33] Operation: 66/2=33
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 35:[4, 33], Operations: ['24/6=4', '66/2=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[4, 64], Operations: ['24/6=4', '66-2=64']
Exploring Operation: 4*64=256, Resulting Numbers: [256]
256,35 unequal: No Solution
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 35:[2, 62], Operations: ['24/6=4', '66-4=62']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,35 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[66, 8], Operations: ['24/6=4', '2*4=8']
Exploring Operation: 66*8=528, Resulting Numbers: [528]
528,35 unequal: No Solution
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 35:[66, 6], Operations: ['24/6=4', '2+4=6']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 66*6=396, Resulting Numbers: [396]
396,35 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[6, 66, 12], Operations: ['24/2=12']
Exploring Operation: 66-12=54, Resulting Numbers: [6, 54]
Generated Node #0,2,0: 35:[6, 54] Operation: 66-12=54
Exploring Operation: 12-6=6, Resulting Numbers: [66, 6]
Generated Node #0,2,1: 35:[66, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [66, 2]
Generated Node #0,2,2: 35:[66, 2] Operation: 12/6=2
Exploring Operation: 66-6=60, Resulting Numbers: [12, 60]
Generated Node #0,2,3: 35:[12, 60] Operation: 66-6=60
Exploring Operation: 66/6=11, Resulting Numbers: [12, 11]
Generated Node #0,2,4: 35:[12, 11] Operation: 66/6=11
Moving to Node #0,2,4
Current State: 35:[12, 11], Operations: ['24/2=12', '66/6=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,35 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[6, 54], Operations: ['24/2=12', '66-12=54']
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 6*54=324, Resulting Numbers: [324]
324,35 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[12, 60], Operations: ['24/2=12', '66-6=60']
Exploring Operation: 12*60=720, Resulting Numbers: [720]
720,35 unequal: No Solution
Exploring Operation: 12+60=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[66, 6], Operations: ['24/2=12', '12-6=6']
Exploring Operation: 66*6=396, Resulting Numbers: [396]
396,35 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[66, 2], Operations: ['24/2=12', '12/6=2']
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,35 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
88,
2,
68,
71
] | 94 | [
"71-68=3",
"2*3=6",
"88+6=94"
] | Current State: 94:[88, 2, 68, 71], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [88, 2, 3]
Generated Node #2: [88, 2, 3] from Operation: 71-68=3
Current State: 94:[88, 2, 3], Operations: ['71-68=3']
Exploring Operation: 2*3=6, Resulting Numbers: [88, 6]
Generated Node #3: [88, 6] from Operation: 2*3=6
Current State: 94:[88, 6], Operations: ['71-68=3', '2*3=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[88, 2, 68, 71], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [88, 2, 3]
Generated Node #0,0: 94:[88, 2, 3] Operation: 71-68=3
Exploring Operation: 88-71=17, Resulting Numbers: [2, 68, 17]
Generated Node #0,1: 94:[2, 68, 17] Operation: 88-71=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[88, 2, 3], Operations: ['71-68=3']
Exploring Operation: 88/2=44, Resulting Numbers: [3, 44]
Generated Node #0,0,0: 94:[3, 44] Operation: 88/2=44
Exploring Operation: 88+3=91, Resulting Numbers: [2, 91]
Generated Node #0,0,1: 94:[2, 91] Operation: 88+3=91
Moving to Node #0,0,1
Current State: 94:[2, 91], Operations: ['71-68=3', '88+3=91']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[3, 44], Operations: ['71-68=3', '88/2=44']
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,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,1
Current State: 94:[2, 68, 17], Operations: ['88-71=17']
Exploring Operation: 68-17=51, Resulting Numbers: [2, 51]
Generated Node #0,1,0: 94:[2, 51] Operation: 68-17=51
Exploring Operation: 68/17=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 94:[2, 4] Operation: 68/17=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[2, 4], Operations: ['88-71=17', '68/17=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[2, 51], Operations: ['88-71=17', '68-17=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
17,
24,
18,
5
] | 43 | [
"17*5=85",
"24+18=42",
"85-42=43"
] | Current State: 43:[17, 24, 18, 5], Operations: []
Exploring Operation: 17*5=85, Resulting Numbers: [24, 18, 85]
Generated Node #2: [24, 18, 85] from Operation: 17*5=85
Current State: 43:[24, 18, 85], Operations: ['17*5=85']
Exploring Operation: 24+18=42, Resulting Numbers: [85, 42]
Generated Node #3: [85, 42] from Operation: 24+18=42
Current State: 43:[85, 42], Operations: ['17*5=85', '24+18=42']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[17, 24, 18, 5], Operations: []
Exploring Operation: 17+24=41, Resulting Numbers: [18, 5, 41]
Generated Node #0,0: 43:[18, 5, 41] Operation: 17+24=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[18, 5, 41], Operations: ['17+24=41']
Exploring Operation: 18+5=23, Resulting Numbers: [41, 23]
Generated Node #0,0,0: 43:[41, 23] Operation: 18+5=23
Moving to Node #0,0,0
Current State: 43:[41, 23], Operations: ['17+24=41', '18+5=23']
Exploring Operation: 41+23=64, Resulting Numbers: [64]
64,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
38,
75,
29,
4
] | 79 | [
"75-38=37",
"29*4=116",
"116-37=79"
] | Current State: 79:[38, 75, 29, 4], Operations: []
Exploring Operation: 75-38=37, Resulting Numbers: [29, 4, 37]
Generated Node #2: [29, 4, 37] from Operation: 75-38=37
Current State: 79:[29, 4, 37], Operations: ['75-38=37']
Exploring Operation: 29*4=116, Resulting Numbers: [37, 116]
Generated Node #3: [37, 116] from Operation: 29*4=116
Current State: 79:[37, 116], Operations: ['75-38=37', '29*4=116']
Exploring Operation: 116-37=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[38, 75, 29, 4], Operations: []
Exploring Operation: 38+4=42, Resulting Numbers: [75, 29, 42]
Generated Node #0,0: 79:[75, 29, 42] Operation: 38+4=42
Exploring Operation: 29+4=33, Resulting Numbers: [38, 75, 33]
Generated Node #0,1: 79:[38, 75, 33] Operation: 29+4=33
Exploring Operation: 38+29=67, Resulting Numbers: [75, 4, 67]
Generated Node #0,2: 79:[75, 4, 67] Operation: 38+29=67
Exploring Operation: 29*4=116, Resulting Numbers: [38, 75, 116]
Generated Node #0,3: 79:[38, 75, 116] Operation: 29*4=116
Exploring Operation: 75+4=79, Resulting Numbers: [38, 29, 79]
Generated Node #0,4: 79:[38, 29, 79] Operation: 75+4=79
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[38, 75, 116], Operations: ['29*4=116']
Exploring Operation: 38+75=113, Resulting Numbers: [116, 113]
Generated Node #0,3,0: 79:[116, 113] Operation: 38+75=113
Exploring Operation: 116-75=41, Resulting Numbers: [38, 41]
Generated Node #0,3,1: 79:[38, 41] Operation: 116-75=41
Exploring Operation: 38+116=154, Resulting Numbers: [75, 154]
Generated Node #0,3,2: 79:[75, 154] Operation: 38+116=154
Exploring Operation: 75-38=37, Resulting Numbers: [116, 37]
Generated Node #0,3,3: 79:[116, 37] Operation: 75-38=37
Exploring Operation: 116-38=78, Resulting Numbers: [75, 78]
Generated Node #0,3,4: 79:[75, 78] Operation: 116-38=78
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 79:[75, 78], Operations: ['29*4=116', '116-38=78']
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 75+78=153, Resulting Numbers: [153]
153,79 unequal: No Solution
Exploring Operation: 75*78=5850, Resulting Numbers: [5850]
5850,79 unequal: No Solution
No 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: 79:[116, 113], Operations: ['29*4=116', '38+75=113']
Exploring Operation: 116*113=13108, Resulting Numbers: [13108]
13108,79 unequal: No Solution
Exploring Operation: 116-113=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 116+113=229, Resulting Numbers: [229]
229,79 unequal: No Solution
No 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: 79:[38, 41], Operations: ['29*4=116', '116-75=41']
Exploring Operation: 38*41=1558, Resulting Numbers: [1558]
1558,79 unequal: No Solution
Exploring Operation: 38+41=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[38, 75, 29, 4], Operations: []
Exploring Operation: 29*4=116, Resulting Numbers: [38, 75, 116]
Generated Node #0,3: 79:[38, 75, 116] Operation: 29*4=116
Moving to Node #0,3
Current State: 79:[38, 75, 116], Operations: ['29*4=116']
Exploring Operation: 116-75=41, Resulting Numbers: [38, 41]
Generated Node #0,3,1: 79:[38, 41] Operation: 116-75=41
Moving to Node #0,3,1
Current State: 79:[38, 41], Operations: ['29*4=116', '116-75=41']
Exploring Operation: 38+41=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
89,
95,
64,
3
] | 61 | [
"95-89=6",
"64+3=67",
"67-6=61"
] | Current State: 61:[89, 95, 64, 3], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [64, 3, 6]
Generated Node #2: [64, 3, 6] from Operation: 95-89=6
Current State: 61:[64, 3, 6], Operations: ['95-89=6']
Exploring Operation: 64+3=67, Resulting Numbers: [6, 67]
Generated Node #3: [6, 67] from Operation: 64+3=67
Current State: 61:[6, 67], Operations: ['95-89=6', '64+3=67']
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[89, 95, 64, 3], Operations: []
Exploring Operation: 64-3=61, Resulting Numbers: [89, 95, 61]
Generated Node #0,0: 61:[89, 95, 61] Operation: 64-3=61
Exploring Operation: 89-3=86, Resulting Numbers: [95, 64, 86]
Generated Node #0,1: 61:[95, 64, 86] Operation: 89-3=86
Exploring Operation: 95-3=92, Resulting Numbers: [89, 64, 92]
Generated Node #0,2: 61:[89, 64, 92] Operation: 95-3=92
Exploring Operation: 89+3=92, Resulting Numbers: [95, 64, 92]
Generated Node #0,3: 61:[95, 64, 92] Operation: 89+3=92
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[89, 95, 61], Operations: ['64-3=61']
Exploring Operation: 95-89=6, Resulting Numbers: [61, 6]
Generated Node #0,0,0: 61:[61, 6] Operation: 95-89=6
Exploring Operation: 89-61=28, Resulting Numbers: [95, 28]
Generated Node #0,0,1: 61:[95, 28] Operation: 89-61=28
Exploring Operation: 95-61=34, Resulting Numbers: [89, 34]
Generated Node #0,0,2: 61:[89, 34] Operation: 95-61=34
Exploring Operation: 89+95=184, Resulting Numbers: [61, 184]
Generated Node #0,0,3: 61:[61, 184] Operation: 89+95=184
Moving to Node #0,0,0
Current State: 61:[61, 6], Operations: ['64-3=61', '95-89=6']
Exploring Operation: 61*6=366, Resulting Numbers: [366]
366,61 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[89, 34], Operations: ['64-3=61', '95-61=34']
Exploring Operation: 89+34=123, Resulting Numbers: [123]
123,61 unequal: No Solution
Exploring Operation: 89-34=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 89*34=3026, Resulting Numbers: [3026]
3026,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[95, 28], Operations: ['64-3=61', '89-61=28']
Exploring Operation: 95-28=67, Resulting Numbers: [67]
67,61 unequal: No Solution
Exploring Operation: 95+28=123, Resulting Numbers: [123]
123,61 unequal: No Solution
Exploring Operation: 95*28=2660, Resulting Numbers: [2660]
2660,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[61, 184], Operations: ['64-3=61', '89+95=184']
Exploring Operation: 184-61=123, Resulting Numbers: [123]
123,61 unequal: No Solution
Exploring Operation: 61*184=11224, Resulting Numbers: [11224]
11224,61 unequal: No Solution
Exploring Operation: 61+184=245, Resulting Numbers: [245]
245,61 unequal: No Solution
No 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: 61:[95, 64, 86], Operations: ['89-3=86']
Exploring Operation: 95-86=9, Resulting Numbers: [64, 9]
Generated Node #0,1,0: 61:[64, 9] Operation: 95-86=9
Exploring Operation: 95-64=31, Resulting Numbers: [86, 31]
Generated Node #0,1,1: 61:[86, 31] Operation: 95-64=31
Exploring Operation: 95+64=159, Resulting Numbers: [86, 159]
Generated Node #0,1,2: 61:[86, 159] Operation: 95+64=159
Exploring Operation: 86-64=22, Resulting Numbers: [95, 22]
Generated Node #0,1,3: 61:[95, 22] Operation: 86-64=22
Moving to Node #0,1,0
Current State: 61:[64, 9], Operations: ['89-3=86', '95-86=9']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,61 unequal: No Solution
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[86, 31], Operations: ['89-3=86', '95-64=31']
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 86+31=117, Resulting Numbers: [117]
117,61 unequal: No Solution
Exploring Operation: 86*31=2666, Resulting Numbers: [2666]
2666,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[95, 22], Operations: ['89-3=86', '86-64=22']
Exploring Operation: 95*22=2090, Resulting Numbers: [2090]
2090,61 unequal: No Solution
Exploring Operation: 95-22=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Exploring Operation: 95+22=117, Resulting Numbers: [117]
117,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[86, 159], Operations: ['89-3=86', '95+64=159']
Exploring Operation: 86*159=13674, Resulting Numbers: [13674]
13674,61 unequal: No Solution
Exploring Operation: 159-86=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Exploring Operation: 86+159=245, Resulting Numbers: [245]
245,61 unequal: No Solution
No 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: 61:[89, 64, 92], Operations: ['95-3=92']
Exploring Operation: 89+64=153, Resulting Numbers: [92, 153]
Generated Node #0,2,0: 61:[92, 153] Operation: 89+64=153
Exploring Operation: 89-64=25, Resulting Numbers: [92, 25]
Generated Node #0,2,1: 61:[92, 25] Operation: 89-64=25
Exploring Operation: 92-89=3, Resulting Numbers: [64, 3]
Generated Node #0,2,2: 61:[64, 3] Operation: 92-89=3
Exploring Operation: 92-64=28, Resulting Numbers: [89, 28]
Generated Node #0,2,3: 61:[89, 28] Operation: 92-64=28
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[64, 3], Operations: ['95-3=92', '92-89=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[89, 95, 64, 3], Operations: []
Exploring Operation: 95-3=92, Resulting Numbers: [89, 64, 92]
Generated Node #0,2: 61:[89, 64, 92] Operation: 95-3=92
Moving to Node #0,2
Current State: 61:[89, 64, 92], Operations: ['95-3=92']
Exploring Operation: 92-89=3, Resulting Numbers: [64, 3]
Generated Node #0,2,2: 61:[64, 3] Operation: 92-89=3
Moving to Node #0,2,2
Current State: 61:[64, 3], Operations: ['95-3=92', '92-89=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960938 | hs_4 | mult_heuristic |
[
47,
76,
62,
41
] | 50 | [
"76-47=29",
"62-41=21",
"29+21=50"
] | Current State: 50:[47, 76, 62, 41], Operations: []
Exploring Operation: 76-47=29, Resulting Numbers: [62, 41, 29]
Generated Node #2: [62, 41, 29] from Operation: 76-47=29
Current State: 50:[62, 41, 29], Operations: ['76-47=29']
Exploring Operation: 62-41=21, Resulting Numbers: [29, 21]
Generated Node #3: [29, 21] from Operation: 62-41=21
Current State: 50:[29, 21], Operations: ['76-47=29', '62-41=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[47, 76, 62, 41], Operations: []
Exploring Operation: 76-47=29, Resulting Numbers: [62, 41, 29]
Generated Node #0,0: 50:[62, 41, 29] Operation: 76-47=29
Exploring Operation: 76-62=14, Resulting Numbers: [47, 41, 14]
Generated Node #0,1: 50:[47, 41, 14] Operation: 76-62=14
Moving to Node #0,1
Current State: 50:[47, 41, 14], Operations: ['76-62=14']
Exploring Operation: 41-14=27, Resulting Numbers: [47, 27]
Generated Node #0,1,0: 50:[47, 27] Operation: 41-14=27
Exploring Operation: 47-41=6, Resulting Numbers: [14, 6]
Generated Node #0,1,1: 50:[14, 6] Operation: 47-41=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[47, 27], Operations: ['76-62=14', '41-14=27']
Exploring Operation: 47+27=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,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,1
Current State: 50:[14, 6], Operations: ['76-62=14', '47-41=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,50 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: 50:[62, 41, 29], Operations: ['76-47=29']
Exploring Operation: 62-41=21, Resulting Numbers: [29, 21]
Generated Node #0,0,0: 50:[29, 21] Operation: 62-41=21
Exploring Operation: 41-29=12, Resulting Numbers: [62, 12]
Generated Node #0,0,1: 50:[62, 12] Operation: 41-29=12
Moving to Node #0,0,0
Current State: 50:[29, 21], Operations: ['76-47=29', '62-41=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[47, 76, 62, 41], Operations: []
Exploring Operation: 76-47=29, Resulting Numbers: [62, 41, 29]
Generated Node #0,0: 50:[62, 41, 29] Operation: 76-47=29
Moving to Node #0,0
Current State: 50:[62, 41, 29], Operations: ['76-47=29']
Exploring Operation: 62-41=21, Resulting Numbers: [29, 21]
Generated Node #0,0,0: 50:[29, 21] Operation: 62-41=21
Moving to Node #0,0,0
Current State: 50:[29, 21], Operations: ['76-47=29', '62-41=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
27,
33,
65,
49
] | 44 | [
"27+33=60",
"65-49=16",
"60-16=44"
] | Current State: 44:[27, 33, 65, 49], Operations: []
Exploring Operation: 27+33=60, Resulting Numbers: [65, 49, 60]
Generated Node #2: [65, 49, 60] from Operation: 27+33=60
Current State: 44:[65, 49, 60], Operations: ['27+33=60']
Exploring Operation: 65-49=16, Resulting Numbers: [60, 16]
Generated Node #3: [60, 16] from Operation: 65-49=16
Current State: 44:[60, 16], Operations: ['27+33=60', '65-49=16']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[27, 33, 65, 49], Operations: []
Exploring Operation: 49-33=16, Resulting Numbers: [27, 65, 16]
Generated Node #0,0: 44:[27, 65, 16] Operation: 49-33=16
Exploring Operation: 65-33=32, Resulting Numbers: [27, 49, 32]
Generated Node #0,1: 44:[27, 49, 32] Operation: 65-33=32
Exploring Operation: 65-27=38, Resulting Numbers: [33, 49, 38]
Generated Node #0,2: 44:[33, 49, 38] Operation: 65-27=38
Exploring Operation: 33-27=6, Resulting Numbers: [65, 49, 6]
Generated Node #0,3: 44:[65, 49, 6] Operation: 33-27=6
Exploring Operation: 65-49=16, Resulting Numbers: [27, 33, 16]
Generated Node #0,4: 44:[27, 33, 16] Operation: 65-49=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[27, 49, 32], Operations: ['65-33=32']
Exploring Operation: 49-27=22, Resulting Numbers: [32, 22]
Generated Node #0,1,0: 44:[32, 22] Operation: 49-27=22
Exploring Operation: 32-27=5, Resulting Numbers: [49, 5]
Generated Node #0,1,1: 44:[49, 5] Operation: 32-27=5
Exploring Operation: 27+32=59, Resulting Numbers: [49, 59]
Generated Node #0,1,2: 44:[49, 59] Operation: 27+32=59
Exploring Operation: 27+49=76, Resulting Numbers: [32, 76]
Generated Node #0,1,3: 44:[32, 76] Operation: 27+49=76
Exploring Operation: 49-32=17, Resulting Numbers: [27, 17]
Generated Node #0,1,4: 44:[27, 17] Operation: 49-32=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[49, 5], Operations: ['65-33=32', '32-27=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[27, 33, 65, 49], Operations: []
Exploring Operation: 65-33=32, Resulting Numbers: [27, 49, 32]
Generated Node #0,1: 44:[27, 49, 32] Operation: 65-33=32
Moving to Node #0,1
Current State: 44:[27, 49, 32], Operations: ['65-33=32']
Exploring Operation: 32-27=5, Resulting Numbers: [49, 5]
Generated Node #0,1,1: 44:[49, 5] Operation: 32-27=5
Moving to Node #0,1,1
Current State: 44:[49, 5], Operations: ['65-33=32', '32-27=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
63,
10,
88,
13
] | 83 | [
"63-13=50",
"50/10=5",
"88-5=83"
] | Current State: 83:[63, 10, 88, 13], Operations: []
Exploring Operation: 63-13=50, Resulting Numbers: [10, 88, 50]
Generated Node #2: [10, 88, 50] from Operation: 63-13=50
Current State: 83:[10, 88, 50], Operations: ['63-13=50']
Exploring Operation: 50/10=5, Resulting Numbers: [88, 5]
Generated Node #3: [88, 5] from Operation: 50/10=5
Current State: 83:[88, 5], Operations: ['63-13=50', '50/10=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[63, 10, 88, 13], Operations: []
Exploring Operation: 10*13=130, Resulting Numbers: [63, 88, 130]
Generated Node #0,0: 83:[63, 88, 130] Operation: 10*13=130
Moving to Node #0,0
Current State: 83:[63, 88, 130], Operations: ['10*13=130']
Exploring Operation: 130-63=67, Resulting Numbers: [88, 67]
Generated Node #0,0,0: 83:[88, 67] Operation: 130-63=67
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[88, 67], Operations: ['10*13=130', '130-63=67']
Exploring Operation: 88-67=21, Resulting Numbers: [21]
21,83 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 |
[
21,
17,
64,
37
] | 84 | [
"21-17=4",
"37*4=148",
"148-64=84"
] | Current State: 84:[21, 17, 64, 37], Operations: []
Exploring Operation: 21-17=4, Resulting Numbers: [64, 37, 4]
Generated Node #2: [64, 37, 4] from Operation: 21-17=4
Current State: 84:[64, 37, 4], Operations: ['21-17=4']
Exploring Operation: 37*4=148, Resulting Numbers: [64, 148]
Generated Node #3: [64, 148] from Operation: 37*4=148
Current State: 84:[64, 148], Operations: ['21-17=4', '37*4=148']
Exploring Operation: 148-64=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[21, 17, 64, 37], Operations: []
Exploring Operation: 21+64=85, Resulting Numbers: [17, 37, 85]
Generated Node #0,0: 84:[17, 37, 85] Operation: 21+64=85
Exploring Operation: 64-37=27, Resulting Numbers: [21, 17, 27]
Generated Node #0,1: 84:[21, 17, 27] Operation: 64-37=27
Exploring Operation: 64-21=43, Resulting Numbers: [17, 37, 43]
Generated Node #0,2: 84:[17, 37, 43] Operation: 64-21=43
Exploring Operation: 17+64=81, Resulting Numbers: [21, 37, 81]
Generated Node #0,3: 84:[21, 37, 81] Operation: 17+64=81
Moving to Node #0,1
Current State: 84:[21, 17, 27], Operations: ['64-37=27']
Exploring Operation: 27-17=10, Resulting Numbers: [21, 10]
Generated Node #0,1,0: 84:[21, 10] Operation: 27-17=10
Exploring Operation: 17+27=44, Resulting Numbers: [21, 44]
Generated Node #0,1,1: 84:[21, 44] Operation: 17+27=44
Exploring Operation: 27-21=6, Resulting Numbers: [17, 6]
Generated Node #0,1,2: 84:[17, 6] Operation: 27-21=6
Exploring Operation: 21-17=4, Resulting Numbers: [27, 4]
Generated Node #0,1,3: 84:[27, 4] Operation: 21-17=4
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 84:[27, 4], Operations: ['64-37=27', '21-17=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[21, 10], Operations: ['64-37=27', '27-17=10']
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,84 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[21, 44], Operations: ['64-37=27', '17+27=44']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 21*44=924, Resulting Numbers: [924]
924,84 unequal: No Solution
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[17, 6], Operations: ['64-37=27', '27-21=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,84 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,84 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: 84:[21, 37, 81], Operations: ['17+64=81']
Exploring Operation: 21+37=58, Resulting Numbers: [81, 58]
Generated Node #0,3,0: 84:[81, 58] Operation: 21+37=58
Exploring Operation: 21+81=102, Resulting Numbers: [37, 102]
Generated Node #0,3,1: 84:[37, 102] Operation: 21+81=102
Exploring Operation: 81-37=44, Resulting Numbers: [21, 44]
Generated Node #0,3,2: 84:[21, 44] Operation: 81-37=44
Exploring Operation: 37-21=16, Resulting Numbers: [81, 16]
Generated Node #0,3,3: 84:[81, 16] Operation: 37-21=16
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 84:[21, 44], Operations: ['17+64=81', '81-37=44']
Exploring Operation: 21*44=924, Resulting Numbers: [924]
924,84 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,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:[81, 16], Operations: ['17+64=81', '37-21=16']
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,84 unequal: No Solution
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,84 unequal: No Solution
Exploring Operation: 81*16=1296, Resulting Numbers: [1296]
1296,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,0
Current State: 84:[81, 58], Operations: ['17+64=81', '21+37=58']
Exploring Operation: 81-58=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 81*58=4698, Resulting Numbers: [4698]
4698,84 unequal: No Solution
Exploring Operation: 81+58=139, Resulting Numbers: [139]
139,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:[37, 102], Operations: ['17+64=81', '21+81=102']
Exploring Operation: 37*102=3774, Resulting Numbers: [3774]
3774,84 unequal: No Solution
Exploring Operation: 102-37=65, Resulting Numbers: [65]
65,84 unequal: No Solution
Exploring Operation: 37+102=139, Resulting Numbers: [139]
139,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:[17, 37, 43], Operations: ['64-21=43']
Exploring Operation: 43-37=6, Resulting Numbers: [17, 6]
Generated Node #0,2,0: 84:[17, 6] Operation: 43-37=6
Exploring Operation: 37-17=20, Resulting Numbers: [43, 20]
Generated Node #0,2,1: 84:[43, 20] Operation: 37-17=20
Exploring Operation: 43-17=26, Resulting Numbers: [37, 26]
Generated Node #0,2,2: 84:[37, 26] Operation: 43-17=26
Exploring Operation: 37+43=80, Resulting Numbers: [17, 80]
Generated Node #0,2,3: 84:[17, 80] Operation: 37+43=80
Moving to Node #0,0
Current State: 84:[17, 37, 85], Operations: ['21+64=85']
Exploring Operation: 17+37=54, Resulting Numbers: [85, 54]
Generated Node #0,0,0: 84:[85, 54] Operation: 17+37=54
Exploring Operation: 85-37=48, Resulting Numbers: [17, 48]
Generated Node #0,0,1: 84:[17, 48] Operation: 85-37=48
Exploring Operation: 85/17=5, Resulting Numbers: [37, 5]
Generated Node #0,0,2: 84:[37, 5] Operation: 85/17=5
Exploring Operation: 37-17=20, Resulting Numbers: [85, 20]
Generated Node #0,0,3: 84:[85, 20] Operation: 37-17=20
Moving to Node #0,2,1
Current State: 84:[43, 20], Operations: ['64-21=43', '37-17=20']
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,84 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[85, 20], Operations: ['21+64=85', '37-17=20']
Exploring Operation: 85+20=105, Resulting Numbers: [105]
105,84 unequal: No Solution
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,84 unequal: No Solution
Exploring Operation: 85*20=1700, Resulting Numbers: [1700]
1700,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[17, 6], Operations: ['64-21=43', '43-37=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,84 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[37, 5], Operations: ['21+64=85', '85/17=5']
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,84 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[37, 26], Operations: ['64-21=43', '43-17=26']
Exploring Operation: 37*26=962, Resulting Numbers: [962]
962,84 unequal: No Solution
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,84 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Moving to Node #0,2,3
Current State: 84:[17, 80], Operations: ['64-21=43', '37+43=80']
Exploring Operation: 17+80=97, Resulting Numbers: [97]
97,84 unequal: No Solution
Exploring Operation: 17*80=1360, Resulting Numbers: [1360]
1360,84 unequal: No Solution
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[17, 48], Operations: ['21+64=85', '85-37=48']
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,84 unequal: No Solution
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,84 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[85, 54], Operations: ['21+64=85', '17+37=54']
Exploring Operation: 85+54=139, Resulting Numbers: [139]
139,84 unequal: No Solution
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 85*54=4590, Resulting Numbers: [4590]
4590,84 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
21,
96,
20,
71
] | 25 | [
"21-20=1",
"96-71=25",
"1*25=25"
] | Current State: 25:[21, 96, 20, 71], Operations: []
Exploring Operation: 21-20=1, Resulting Numbers: [96, 71, 1]
Generated Node #2: [96, 71, 1] from Operation: 21-20=1
Current State: 25:[96, 71, 1], Operations: ['21-20=1']
Exploring Operation: 96-71=25, Resulting Numbers: [1, 25]
Generated Node #3: [1, 25] from Operation: 96-71=25
Current State: 25:[1, 25], Operations: ['21-20=1', '96-71=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[21, 96, 20, 71], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [21, 20, 25]
Generated Node #0,0: 25:[21, 20, 25] Operation: 96-71=25
Exploring Operation: 96-21=75, Resulting Numbers: [20, 71, 75]
Generated Node #0,1: 25:[20, 71, 75] Operation: 96-21=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[21, 20, 25], Operations: ['96-71=25']
Exploring Operation: 21-20=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 25:[25, 1] Operation: 21-20=1
Exploring Operation: 25-20=5, Resulting Numbers: [21, 5]
Generated Node #0,0,1: 25:[21, 5] Operation: 25-20=5
Moving to Node #0,0,0
Current State: 25:[25, 1], Operations: ['96-71=25', '21-20=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[21, 96, 20, 71], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [21, 20, 25]
Generated Node #0,0: 25:[21, 20, 25] Operation: 96-71=25
Moving to Node #0,0
Current State: 25:[21, 20, 25], Operations: ['96-71=25']
Exploring Operation: 21-20=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 25:[25, 1] Operation: 21-20=1
Moving to Node #0,0,0
Current State: 25:[25, 1], Operations: ['96-71=25', '21-20=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
43,
31,
93,
69
] | 12 | [
"43-31=12",
"93-69=24",
"24-12=12"
] | Current State: 12:[43, 31, 93, 69], Operations: []
Exploring Operation: 43-31=12, Resulting Numbers: [93, 69, 12]
Generated Node #2: [93, 69, 12] from Operation: 43-31=12
Current State: 12:[93, 69, 12], Operations: ['43-31=12']
Exploring Operation: 93-69=24, Resulting Numbers: [12, 24]
Generated Node #3: [12, 24] from Operation: 93-69=24
Current State: 12:[12, 24], Operations: ['43-31=12', '93-69=24']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[43, 31, 93, 69], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [43, 31, 24]
Generated Node #0,0: 12:[43, 31, 24] Operation: 93-69=24
Exploring Operation: 69-43=26, Resulting Numbers: [31, 93, 26]
Generated Node #0,1: 12:[31, 93, 26] Operation: 69-43=26
Exploring Operation: 93-43=50, Resulting Numbers: [31, 69, 50]
Generated Node #0,2: 12:[31, 69, 50] Operation: 93-43=50
Exploring Operation: 93/31=3, Resulting Numbers: [43, 69, 3]
Generated Node #0,3: 12:[43, 69, 3] Operation: 93/31=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[43, 31, 24], Operations: ['93-69=24']
Exploring Operation: 43-24=19, Resulting Numbers: [31, 19]
Generated Node #0,0,0: 12:[31, 19] Operation: 43-24=19
Exploring Operation: 43+31=74, Resulting Numbers: [24, 74]
Generated Node #0,0,1: 12:[24, 74] Operation: 43+31=74
Exploring Operation: 31-24=7, Resulting Numbers: [43, 7]
Generated Node #0,0,2: 12:[43, 7] Operation: 31-24=7
Exploring Operation: 43-31=12, Resulting Numbers: [24, 12]
Generated Node #0,0,3: 12:[24, 12] Operation: 43-31=12
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 12:[24, 12], Operations: ['93-69=24', '43-31=12']
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[43, 31, 93, 69], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [43, 31, 24]
Generated Node #0,0: 12:[43, 31, 24] Operation: 93-69=24
Moving to Node #0,0
Current State: 12:[43, 31, 24], Operations: ['93-69=24']
Exploring Operation: 43-31=12, Resulting Numbers: [24, 12]
Generated Node #0,0,3: 12:[24, 12] Operation: 43-31=12
Moving to Node #0,0,3
Current State: 12:[24, 12], Operations: ['93-69=24', '43-31=12']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
74,
61,
66,
29
] | 98 | [
"74+61=135",
"66-29=37",
"135-37=98"
] | Current State: 98:[74, 61, 66, 29], Operations: []
Exploring Operation: 74+61=135, Resulting Numbers: [66, 29, 135]
Generated Node #2: [66, 29, 135] from Operation: 74+61=135
Current State: 98:[66, 29, 135], Operations: ['74+61=135']
Exploring Operation: 66-29=37, Resulting Numbers: [135, 37]
Generated Node #3: [135, 37] from Operation: 66-29=37
Current State: 98:[135, 37], Operations: ['74+61=135', '66-29=37']
Exploring Operation: 135-37=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[74, 61, 66, 29], Operations: []
Exploring Operation: 74+29=103, Resulting Numbers: [61, 66, 103]
Generated Node #0,0: 98:[61, 66, 103] Operation: 74+29=103
Exploring Operation: 74-61=13, Resulting Numbers: [66, 29, 13]
Generated Node #0,1: 98:[66, 29, 13] Operation: 74-61=13
Exploring Operation: 74-66=8, Resulting Numbers: [61, 29, 8]
Generated Node #0,2: 98:[61, 29, 8] Operation: 74-66=8
Exploring Operation: 66+29=95, Resulting Numbers: [74, 61, 95]
Generated Node #0,3: 98:[74, 61, 95] Operation: 66+29=95
Exploring Operation: 74-29=45, Resulting Numbers: [61, 66, 45]
Generated Node #0,4: 98:[61, 66, 45] Operation: 74-29=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[61, 29, 8], Operations: ['74-66=8']
Exploring Operation: 61+29=90, Resulting Numbers: [8, 90]
Generated Node #0,2,0: 98:[8, 90] Operation: 61+29=90
Exploring Operation: 61-29=32, Resulting Numbers: [8, 32]
Generated Node #0,2,1: 98:[8, 32] Operation: 61-29=32
Exploring Operation: 29-8=21, Resulting Numbers: [61, 21]
Generated Node #0,2,2: 98:[61, 21] Operation: 29-8=21
Exploring Operation: 29+8=37, Resulting Numbers: [61, 37]
Generated Node #0,2,3: 98:[61, 37] Operation: 29+8=37
Exploring Operation: 61-8=53, Resulting Numbers: [29, 53]
Generated Node #0,2,4: 98:[29, 53] Operation: 61-8=53
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[8, 90], Operations: ['74-66=8', '61+29=90']
Exploring Operation: 8+90=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[74, 61, 66, 29], Operations: []
Exploring Operation: 74-66=8, Resulting Numbers: [61, 29, 8]
Generated Node #0,2: 98:[61, 29, 8] Operation: 74-66=8
Moving to Node #0,2
Current State: 98:[61, 29, 8], Operations: ['74-66=8']
Exploring Operation: 61+29=90, Resulting Numbers: [8, 90]
Generated Node #0,2,0: 98:[8, 90] Operation: 61+29=90
Moving to Node #0,2,0
Current State: 98:[8, 90], Operations: ['74-66=8', '61+29=90']
Exploring Operation: 8+90=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
58,
31,
61,
66
] | 94 | [
"58+31=89",
"66-61=5",
"89+5=94"
] | Current State: 94:[58, 31, 61, 66], Operations: []
Exploring Operation: 58+31=89, Resulting Numbers: [61, 66, 89]
Generated Node #2: [61, 66, 89] from Operation: 58+31=89
Current State: 94:[61, 66, 89], Operations: ['58+31=89']
Exploring Operation: 66-61=5, Resulting Numbers: [89, 5]
Generated Node #3: [89, 5] from Operation: 66-61=5
Current State: 94:[89, 5], Operations: ['58+31=89', '66-61=5']
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[58, 31, 61, 66], Operations: []
Exploring Operation: 31+61=92, Resulting Numbers: [58, 66, 92]
Generated Node #0,0: 94:[58, 66, 92] Operation: 31+61=92
Exploring Operation: 66-61=5, Resulting Numbers: [58, 31, 5]
Generated Node #0,1: 94:[58, 31, 5] Operation: 66-61=5
Exploring Operation: 31+66=97, Resulting Numbers: [58, 61, 97]
Generated Node #0,2: 94:[58, 61, 97] Operation: 31+66=97
Moving to Node #0,2
Current State: 94:[58, 61, 97], Operations: ['31+66=97']
Exploring Operation: 61-58=3, Resulting Numbers: [97, 3]
Generated Node #0,2,0: 94:[97, 3] Operation: 61-58=3
Exploring Operation: 97-58=39, Resulting Numbers: [61, 39]
Generated Node #0,2,1: 94:[61, 39] Operation: 97-58=39
Exploring Operation: 97-61=36, Resulting Numbers: [58, 36]
Generated Node #0,2,2: 94:[58, 36] Operation: 97-61=36
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[97, 3], Operations: ['31+66=97', '61-58=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[58, 31, 61, 66], Operations: []
Exploring Operation: 31+66=97, Resulting Numbers: [58, 61, 97]
Generated Node #0,2: 94:[58, 61, 97] Operation: 31+66=97
Moving to Node #0,2
Current State: 94:[58, 61, 97], Operations: ['31+66=97']
Exploring Operation: 61-58=3, Resulting Numbers: [97, 3]
Generated Node #0,2,0: 94:[97, 3] Operation: 61-58=3
Moving to Node #0,2,0
Current State: 94:[97, 3], Operations: ['31+66=97', '61-58=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
10,
17,
86,
3
] | 95 | [
"10+17=27",
"27/3=9",
"86+9=95"
] | Current State: 95:[10, 17, 86, 3], Operations: []
Exploring Operation: 10+17=27, Resulting Numbers: [86, 3, 27]
Generated Node #2: [86, 3, 27] from Operation: 10+17=27
Current State: 95:[86, 3, 27], Operations: ['10+17=27']
Exploring Operation: 27/3=9, Resulting Numbers: [86, 9]
Generated Node #3: [86, 9] from Operation: 27/3=9
Current State: 95:[86, 9], Operations: ['10+17=27', '27/3=9']
Exploring Operation: 86+9=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[10, 17, 86, 3], Operations: []
Exploring Operation: 10+86=96, Resulting Numbers: [17, 3, 96]
Generated Node #0,0: 95:[17, 3, 96] Operation: 10+86=96
Exploring Operation: 17-10=7, Resulting Numbers: [86, 3, 7]
Generated Node #0,1: 95:[86, 3, 7] Operation: 17-10=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[17, 3, 96], Operations: ['10+86=96']
Exploring Operation: 96-3=93, Resulting Numbers: [17, 93]
Generated Node #0,0,0: 95:[17, 93] Operation: 96-3=93
Exploring Operation: 17+3=20, Resulting Numbers: [96, 20]
Generated Node #0,0,1: 95:[96, 20] Operation: 17+3=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[96, 20], Operations: ['10+86=96', '17+3=20']
Exploring Operation: 96+20=116, Resulting Numbers: [116]
116,95 unequal: No Solution
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[17, 93], Operations: ['10+86=96', '96-3=93']
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,95 unequal: No Solution
Exploring Operation: 17+93=110, Resulting Numbers: [110]
110,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[86, 3, 7], Operations: ['17-10=7']
Exploring Operation: 86+3=89, Resulting Numbers: [7, 89]
Generated Node #0,1,0: 95:[7, 89] Operation: 86+3=89
Exploring Operation: 86+7=93, Resulting Numbers: [3, 93]
Generated Node #0,1,1: 95:[3, 93] Operation: 86+7=93
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[3, 93], Operations: ['17-10=7', '86+7=93']
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[7, 89], Operations: ['17-10=7', '86+3=89']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 7+89=96, Resulting Numbers: [96]
96,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
46,
9,
21,
3
] | 36 | [
"9+21=30",
"30/3=10",
"46-10=36"
] | Current State: 36:[46, 9, 21, 3], Operations: []
Exploring Operation: 9+21=30, Resulting Numbers: [46, 3, 30]
Generated Node #2: [46, 3, 30] from Operation: 9+21=30
Current State: 36:[46, 3, 30], Operations: ['9+21=30']
Exploring Operation: 30/3=10, Resulting Numbers: [46, 10]
Generated Node #3: [46, 10] from Operation: 30/3=10
Current State: 36:[46, 10], Operations: ['9+21=30', '30/3=10']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[46, 9, 21, 3], Operations: []
Exploring Operation: 21-9=12, Resulting Numbers: [46, 3, 12]
Generated Node #0,0: 36:[46, 3, 12] Operation: 21-9=12
Exploring Operation: 46-21=25, Resulting Numbers: [9, 3, 25]
Generated Node #0,1: 36:[9, 3, 25] Operation: 46-21=25
Exploring Operation: 46-3=43, Resulting Numbers: [9, 21, 43]
Generated Node #0,2: 36:[9, 21, 43] Operation: 46-3=43
Exploring Operation: 46-9=37, Resulting Numbers: [21, 3, 37]
Generated Node #0,3: 36:[21, 3, 37] Operation: 46-9=37
Moving to Node #0,3
Current State: 36:[21, 3, 37], Operations: ['46-9=37']
Exploring Operation: 21/3=7, Resulting Numbers: [37, 7]
Generated Node #0,3,0: 36:[37, 7] Operation: 21/3=7
Exploring Operation: 37-21=16, Resulting Numbers: [3, 16]
Generated Node #0,3,1: 36:[3, 16] Operation: 37-21=16
Exploring Operation: 21-3=18, Resulting Numbers: [37, 18]
Generated Node #0,3,2: 36:[37, 18] Operation: 21-3=18
Exploring Operation: 37-3=34, Resulting Numbers: [21, 34]
Generated Node #0,3,3: 36:[21, 34] Operation: 37-3=34
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 36:[37, 18], Operations: ['46-9=37', '21-3=18']
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,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,0
Current State: 36:[37, 7], Operations: ['46-9=37', '21/3=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,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:[3, 16], Operations: ['46-9=37', '37-21=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,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:[21, 34], Operations: ['46-9=37', '37-3=34']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,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:[9, 3, 25], Operations: ['46-21=25']
Exploring Operation: 25-9=16, Resulting Numbers: [3, 16]
Generated Node #0,1,0: 36:[3, 16] Operation: 25-9=16
Exploring Operation: 9+25=34, Resulting Numbers: [3, 34]
Generated Node #0,1,1: 36:[3, 34] Operation: 9+25=34
Exploring Operation: 9+3=12, Resulting Numbers: [25, 12]
Generated Node #0,1,2: 36:[25, 12] Operation: 9+3=12
Exploring Operation: 25-3=22, Resulting Numbers: [9, 22]
Generated Node #0,1,3: 36:[9, 22] Operation: 25-3=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[3, 16], Operations: ['46-21=25', '25-9=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[3, 34], Operations: ['46-21=25', '9+25=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,36 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 36:[9, 22], Operations: ['46-21=25', '25-3=22']
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,36 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[25, 12], Operations: ['46-21=25', '9+3=12']
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,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:[9, 21, 43], Operations: ['46-3=43']
Exploring Operation: 43-9=34, Resulting Numbers: [21, 34]
Generated Node #0,2,0: 36:[21, 34] Operation: 43-9=34
Exploring Operation: 21-9=12, Resulting Numbers: [43, 12]
Generated Node #0,2,1: 36:[43, 12] Operation: 21-9=12
Exploring Operation: 9+21=30, Resulting Numbers: [43, 30]
Generated Node #0,2,2: 36:[43, 30] Operation: 9+21=30
Exploring Operation: 43-21=22, Resulting Numbers: [9, 22]
Generated Node #0,2,3: 36:[9, 22] Operation: 43-21=22
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 36:[9, 22], Operations: ['46-3=43', '43-21=22']
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,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:[21, 34], Operations: ['46-3=43', '43-9=34']
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,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:[43, 12], Operations: ['46-3=43', '21-9=12']
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Exploring Operation: 43*12=516, Resulting Numbers: [516]
516,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[43, 30], Operations: ['46-3=43', '9+21=30']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,36 unequal: No Solution
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,36 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: 36:[46, 3, 12], Operations: ['21-9=12']
Exploring Operation: 46-3=43, Resulting Numbers: [12, 43]
Generated Node #0,0,0: 36:[12, 43] Operation: 46-3=43
Exploring Operation: 12-3=9, Resulting Numbers: [46, 9]
Generated Node #0,0,1: 36:[46, 9] Operation: 12-3=9
Exploring Operation: 46-12=34, Resulting Numbers: [3, 34]
Generated Node #0,0,2: 36:[3, 34] Operation: 46-12=34
Exploring Operation: 3*12=36, Resulting Numbers: [46, 36]
Generated Node #0,0,3: 36:[46, 36] Operation: 3*12=36
Moving to Node #0,0,2
Current State: 36:[3, 34], Operations: ['21-9=12', '46-12=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[12, 43], Operations: ['21-9=12', '46-3=43']
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Exploring Operation: 12*43=516, Resulting Numbers: [516]
516,36 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[46, 36], Operations: ['21-9=12', '3*12=36']
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 46*36=1656, Resulting Numbers: [1656]
1656,36 unequal: No Solution
Exploring Operation: 46+36=82, Resulting Numbers: [82]
82,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[46, 9], Operations: ['21-9=12', '12-3=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,36 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,36 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
38,
85,
67,
33
] | 89 | [
"38+85=123",
"67-33=34",
"123-34=89"
] | Current State: 89:[38, 85, 67, 33], Operations: []
Exploring Operation: 38+85=123, Resulting Numbers: [67, 33, 123]
Generated Node #2: [67, 33, 123] from Operation: 38+85=123
Current State: 89:[67, 33, 123], Operations: ['38+85=123']
Exploring Operation: 67-33=34, Resulting Numbers: [123, 34]
Generated Node #3: [123, 34] from Operation: 67-33=34
Current State: 89:[123, 34], Operations: ['38+85=123', '67-33=34']
Exploring Operation: 123-34=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[38, 85, 67, 33], Operations: []
Exploring Operation: 38+33=71, Resulting Numbers: [85, 67, 71]
Generated Node #0,0: 89:[85, 67, 71] Operation: 38+33=71
Moving to Node #0,0
Current State: 89:[85, 67, 71], Operations: ['38+33=71']
Exploring Operation: 67+71=138, Resulting Numbers: [85, 138]
Generated Node #0,0,0: 89:[85, 138] Operation: 67+71=138
Moving to Node #0,0,0
Current State: 89:[85, 138], Operations: ['38+33=71', '67+71=138']
Exploring Operation: 138-85=53, Resulting Numbers: [53]
53,89 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
87,
31,
33
] | 66 | [
"87/3=29",
"31-29=2",
"33*2=66"
] | Current State: 66:[3, 87, 31, 33], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [31, 33, 29]
Generated Node #2: [31, 33, 29] from Operation: 87/3=29
Current State: 66:[31, 33, 29], Operations: ['87/3=29']
Exploring Operation: 31-29=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 31-29=2
Current State: 66:[33, 2], Operations: ['87/3=29', '31-29=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[3, 87, 31, 33], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [31, 33, 29]
Generated Node #0,0: 66:[31, 33, 29] Operation: 87/3=29
Moving to Node #0,0
Current State: 66:[31, 33, 29], Operations: ['87/3=29']
Exploring Operation: 31-29=2, Resulting Numbers: [33, 2]
Generated Node #0,0,0: 66:[33, 2] Operation: 31-29=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[33, 2], Operations: ['87/3=29', '31-29=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[3, 87, 31, 33], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [31, 33, 29]
Generated Node #0,0: 66:[31, 33, 29] Operation: 87/3=29
Moving to Node #0,0
Current State: 66:[31, 33, 29], Operations: ['87/3=29']
Exploring Operation: 31-29=2, Resulting Numbers: [33, 2]
Generated Node #0,0,0: 66:[33, 2] Operation: 31-29=2
Moving to Node #0,0,0
Current State: 66:[33, 2], Operations: ['87/3=29', '31-29=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
35,
25,
99,
2
] | 41 | [
"35+25=60",
"99+2=101",
"101-60=41"
] | Current State: 41:[35, 25, 99, 2], Operations: []
Exploring Operation: 35+25=60, Resulting Numbers: [99, 2, 60]
Generated Node #2: [99, 2, 60] from Operation: 35+25=60
Current State: 41:[99, 2, 60], Operations: ['35+25=60']
Exploring Operation: 99+2=101, Resulting Numbers: [60, 101]
Generated Node #3: [60, 101] from Operation: 99+2=101
Current State: 41:[60, 101], Operations: ['35+25=60', '99+2=101']
Exploring Operation: 101-60=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[35, 25, 99, 2], Operations: []
Exploring Operation: 25*2=50, Resulting Numbers: [35, 99, 50]
Generated Node #0,0: 41:[35, 99, 50] Operation: 25*2=50
Moving to Node #0,0
Current State: 41:[35, 99, 50], Operations: ['25*2=50']
Exploring Operation: 99-50=49, Resulting Numbers: [35, 49]
Generated Node #0,0,0: 41:[35, 49] Operation: 99-50=49
Moving to Node #0,0,0
Current State: 41:[35, 49], Operations: ['25*2=50', '99-50=49']
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,41 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
1,
6,
62
] | 64 | [
"3+1=4",
"6+62=68",
"68-4=64"
] | Current State: 64:[3, 1, 6, 62], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [6, 62, 4]
Generated Node #2: [6, 62, 4] from Operation: 3+1=4
Current State: 64:[6, 62, 4], Operations: ['3+1=4']
Exploring Operation: 6+62=68, Resulting Numbers: [4, 68]
Generated Node #3: [4, 68] from Operation: 6+62=68
Current State: 64:[4, 68], Operations: ['3+1=4', '6+62=68']
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[3, 1, 6, 62], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [6, 62, 4]
Generated Node #0,0: 64:[6, 62, 4] Operation: 3+1=4
Exploring Operation: 6/3=2, Resulting Numbers: [1, 62, 2]
Generated Node #0,1: 64:[1, 62, 2] Operation: 6/3=2
Moving to Node #0,1
Current State: 64:[1, 62, 2], Operations: ['6/3=2']
Exploring Operation: 1+62=63, Resulting Numbers: [2, 63]
Generated Node #0,1,0: 64:[2, 63] Operation: 1+62=63
Exploring Operation: 62+2=64, Resulting Numbers: [1, 64]
Generated Node #0,1,1: 64:[1, 64] Operation: 62+2=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[2, 63], Operations: ['6/3=2', '1+62=63']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,64 unequal: No Solution
No 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: 64:[1, 64], Operations: ['6/3=2', '62+2=64']
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[3, 1, 6, 62], Operations: []
Exploring Operation: 6/3=2, Resulting Numbers: [1, 62, 2]
Generated Node #0,1: 64:[1, 62, 2] Operation: 6/3=2
Moving to Node #0,1
Current State: 64:[1, 62, 2], Operations: ['6/3=2']
Exploring Operation: 62+2=64, Resulting Numbers: [1, 64]
Generated Node #0,1,1: 64:[1, 64] Operation: 62+2=64
Moving to Node #0,1,1
Current State: 64:[1, 64], Operations: ['6/3=2', '62+2=64']
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
8,
90,
54,
9
] | 76 | [
"90-8=82",
"54/9=6",
"82-6=76"
] | Current State: 76:[8, 90, 54, 9], Operations: []
Exploring Operation: 90-8=82, Resulting Numbers: [54, 9, 82]
Generated Node #2: [54, 9, 82] from Operation: 90-8=82
Current State: 76:[54, 9, 82], Operations: ['90-8=82']
Exploring Operation: 54/9=6, Resulting Numbers: [82, 6]
Generated Node #3: [82, 6] from Operation: 54/9=6
Current State: 76:[82, 6], Operations: ['90-8=82', '54/9=6']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[8, 90, 54, 9], Operations: []
Exploring Operation: 90-54=36, Resulting Numbers: [8, 9, 36]
Generated Node #0,0: 76:[8, 9, 36] Operation: 90-54=36
Moving to Node #0,0
Current State: 76:[8, 9, 36], Operations: ['90-54=36']
Exploring Operation: 9-8=1, Resulting Numbers: [36, 1]
Generated Node #0,0,0: 76:[36, 1] Operation: 9-8=1
Moving to Node #0,0,0
Current State: 76:[36, 1], Operations: ['90-54=36', '9-8=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,76 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
97,
18,
5,
26
] | 94 | [
"97+18=115",
"26-5=21",
"115-21=94"
] | Current State: 94:[97, 18, 5, 26], Operations: []
Exploring Operation: 97+18=115, Resulting Numbers: [5, 26, 115]
Generated Node #2: [5, 26, 115] from Operation: 97+18=115
Current State: 94:[5, 26, 115], Operations: ['97+18=115']
Exploring Operation: 26-5=21, Resulting Numbers: [115, 21]
Generated Node #3: [115, 21] from Operation: 26-5=21
Current State: 94:[115, 21], Operations: ['97+18=115', '26-5=21']
Exploring Operation: 115-21=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[97, 18, 5, 26], Operations: []
Exploring Operation: 18+26=44, Resulting Numbers: [97, 5, 44]
Generated Node #0,0: 94:[97, 5, 44] Operation: 18+26=44
Exploring Operation: 26-18=8, Resulting Numbers: [97, 5, 8]
Generated Node #0,1: 94:[97, 5, 8] Operation: 26-18=8
Moving to Node #0,0
Current State: 94:[97, 5, 44], Operations: ['18+26=44']
Exploring Operation: 97-5=92, Resulting Numbers: [44, 92]
Generated Node #0,0,0: 94:[44, 92] Operation: 97-5=92
Exploring Operation: 5+44=49, Resulting Numbers: [97, 49]
Generated Node #0,0,1: 94:[97, 49] Operation: 5+44=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[44, 92], Operations: ['18+26=44', '97-5=92']
Exploring Operation: 44+92=136, Resulting Numbers: [136]
136,94 unequal: No Solution
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,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:[97, 49], Operations: ['18+26=44', '5+44=49']
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 97+49=146, Resulting Numbers: [146]
146,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:[97, 5, 8], Operations: ['26-18=8']
Exploring Operation: 97-5=92, Resulting Numbers: [8, 92]
Generated Node #0,1,0: 94:[8, 92] Operation: 97-5=92
Exploring Operation: 8-5=3, Resulting Numbers: [97, 3]
Generated Node #0,1,1: 94:[97, 3] Operation: 8-5=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[97, 3], Operations: ['26-18=8', '8-5=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[97, 18, 5, 26], Operations: []
Exploring Operation: 26-18=8, Resulting Numbers: [97, 5, 8]
Generated Node #0,1: 94:[97, 5, 8] Operation: 26-18=8
Moving to Node #0,1
Current State: 94:[97, 5, 8], Operations: ['26-18=8']
Exploring Operation: 8-5=3, Resulting Numbers: [97, 3]
Generated Node #0,1,1: 94:[97, 3] Operation: 8-5=3
Moving to Node #0,1,1
Current State: 94:[97, 3], Operations: ['26-18=8', '8-5=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
6,
37,
14,
37
] | 20 | [
"6+37=43",
"37-14=23",
"43-23=20"
] | Current State: 20:[6, 37, 14, 37], Operations: []
Exploring Operation: 6+37=43, Resulting Numbers: [14, 43]
Generated Node #2: [14, 43] from Operation: 6+37=43
Current State: 20:[14, 43], Operations: ['6+37=43']
Exploring Operation: 37-14=23, Resulting Numbers: [43, 23]
Generated Node #3: [43, 23] from Operation: 37-14=23
Current State: 20:[43, 23], Operations: ['6+37=43', '37-14=23']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[6, 37, 14, 37], Operations: []
Exploring Operation: 37-14=23, Resulting Numbers: [6, 37, 23]
Generated Node #0,0: 20:[6, 37, 23] Operation: 37-14=23
Exploring Operation: 37-37=0, Resulting Numbers: [6, 14, 0]
Generated Node #0,1: 20:[6, 14, 0] Operation: 37-37=0
Exploring Operation: 37/37=1, Resulting Numbers: [6, 14, 1]
Generated Node #0,2: 20:[6, 14, 1] Operation: 37/37=1
Moving to Node #0,2
Current State: 20:[6, 14, 1], Operations: ['37/37=1']
Exploring Operation: 14-6=8, Resulting Numbers: [1, 8]
Generated Node #0,2,0: 20:[1, 8] Operation: 14-6=8
Exploring Operation: 6-1=5, Resulting Numbers: [14, 5]
Generated Node #0,2,1: 20:[14, 5] Operation: 6-1=5
Exploring Operation: 6+14=20, Resulting Numbers: [1, 20]
Generated Node #0,2,2: 20:[1, 20] Operation: 6+14=20
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[1, 20], Operations: ['37/37=1', '6+14=20']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[6, 37, 14, 37], Operations: []
Exploring Operation: 37/37=1, Resulting Numbers: [6, 14, 1]
Generated Node #0,2: 20:[6, 14, 1] Operation: 37/37=1
Moving to Node #0,2
Current State: 20:[6, 14, 1], Operations: ['37/37=1']
Exploring Operation: 6+14=20, Resulting Numbers: [1, 20]
Generated Node #0,2,2: 20:[1, 20] Operation: 6+14=20
Moving to Node #0,2,2
Current State: 20:[1, 20], Operations: ['37/37=1', '6+14=20']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
86,
88,
44,
18
] | 24 | [
"88-86=2",
"44-18=26",
"26-2=24"
] | Current State: 24:[86, 88, 44, 18], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [44, 18, 2]
Generated Node #2: [44, 18, 2] from Operation: 88-86=2
Current State: 24:[44, 18, 2], Operations: ['88-86=2']
Exploring Operation: 44-18=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 44-18=26
Current State: 24:[2, 26], Operations: ['88-86=2', '44-18=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[86, 88, 44, 18], Operations: []
Exploring Operation: 86-44=42, Resulting Numbers: [88, 18, 42]
Generated Node #0,0: 24:[88, 18, 42] Operation: 86-44=42
Exploring Operation: 88/44=2, Resulting Numbers: [86, 18, 2]
Generated Node #0,1: 24:[86, 18, 2] Operation: 88/44=2
Exploring Operation: 88-86=2, Resulting Numbers: [44, 18, 2]
Generated Node #0,2: 24:[44, 18, 2] Operation: 88-86=2
Moving to Node #0,2
Current State: 24:[44, 18, 2], Operations: ['88-86=2']
Exploring Operation: 44/2=22, Resulting Numbers: [18, 22]
Generated Node #0,2,0: 24:[18, 22] Operation: 44/2=22
Exploring Operation: 18/2=9, Resulting Numbers: [44, 9]
Generated Node #0,2,1: 24:[44, 9] Operation: 18/2=9
Exploring Operation: 44-18=26, Resulting Numbers: [2, 26]
Generated Node #0,2,2: 24:[2, 26] Operation: 44-18=26
Moving to Node #0,1
Current State: 24:[86, 18, 2], Operations: ['88/44=2']
Exploring Operation: 86/2=43, Resulting Numbers: [18, 43]
Generated Node #0,1,0: 24:[18, 43] Operation: 86/2=43
Exploring Operation: 18/2=9, Resulting Numbers: [86, 9]
Generated Node #0,1,1: 24:[86, 9] Operation: 18/2=9
Exploring Operation: 86-18=68, Resulting Numbers: [2, 68]
Generated Node #0,1,2: 24:[2, 68] Operation: 86-18=68
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[18, 43], Operations: ['88/44=2', '86/2=43']
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 18*43=774, Resulting Numbers: [774]
774,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[2, 68], Operations: ['88/44=2', '86-18=68']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[86, 9], Operations: ['88/44=2', '18/2=9']
Exploring Operation: 86*9=774, Resulting Numbers: [774]
774,24 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,24 unequal: No Solution
Exploring Operation: 86+9=95, Resulting Numbers: [95]
95,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 24:[88, 18, 42], Operations: ['86-44=42']
Exploring Operation: 88-42=46, Resulting Numbers: [18, 46]
Generated Node #0,0,0: 24:[18, 46] Operation: 88-42=46
Exploring Operation: 88-18=70, Resulting Numbers: [42, 70]
Generated Node #0,0,1: 24:[42, 70] Operation: 88-18=70
Exploring Operation: 42-18=24, Resulting Numbers: [88, 24]
Generated Node #0,0,2: 24:[88, 24] Operation: 42-18=24
Moving to Node #0,2,2
Current State: 24:[2, 26], Operations: ['88-86=2', '44-18=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[86, 88, 44, 18], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [44, 18, 2]
Generated Node #0,2: 24:[44, 18, 2] Operation: 88-86=2
Moving to Node #0,2
Current State: 24:[44, 18, 2], Operations: ['88-86=2']
Exploring Operation: 44-18=26, Resulting Numbers: [2, 26]
Generated Node #0,2,2: 24:[2, 26] Operation: 44-18=26
Moving to Node #0,2,2
Current State: 24:[2, 26], Operations: ['88-86=2', '44-18=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
97,
54,
77,
3
] | 38 | [
"97-77=20",
"54/3=18",
"20+18=38"
] | Current State: 38:[97, 54, 77, 3], Operations: []
Exploring Operation: 97-77=20, Resulting Numbers: [54, 3, 20]
Generated Node #2: [54, 3, 20] from Operation: 97-77=20
Current State: 38:[54, 3, 20], Operations: ['97-77=20']
Exploring Operation: 54/3=18, Resulting Numbers: [20, 18]
Generated Node #3: [20, 18] from Operation: 54/3=18
Current State: 38:[20, 18], Operations: ['97-77=20', '54/3=18']
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[97, 54, 77, 3], Operations: []
Exploring Operation: 97-77=20, Resulting Numbers: [54, 3, 20]
Generated Node #0,0: 38:[54, 3, 20] Operation: 97-77=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[54, 3, 20], Operations: ['97-77=20']
Exploring Operation: 54/3=18, Resulting Numbers: [20, 18]
Generated Node #0,0,0: 38:[20, 18] Operation: 54/3=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[20, 18], Operations: ['97-77=20', '54/3=18']
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[97, 54, 77, 3], Operations: []
Exploring Operation: 97-77=20, Resulting Numbers: [54, 3, 20]
Generated Node #0,0: 38:[54, 3, 20] Operation: 97-77=20
Moving to Node #0,0
Current State: 38:[54, 3, 20], Operations: ['97-77=20']
Exploring Operation: 54/3=18, Resulting Numbers: [20, 18]
Generated Node #0,0,0: 38:[20, 18] Operation: 54/3=18
Moving to Node #0,0,0
Current State: 38:[20, 18], Operations: ['97-77=20', '54/3=18']
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
46,
73,
12,
44
] | 79 | [
"46-44=2",
"12/2=6",
"73+6=79"
] | Current State: 79:[46, 73, 12, 44], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [73, 12, 2]
Generated Node #2: [73, 12, 2] from Operation: 46-44=2
Current State: 79:[73, 12, 2], Operations: ['46-44=2']
Exploring Operation: 12/2=6, Resulting Numbers: [73, 6]
Generated Node #3: [73, 6] from Operation: 12/2=6
Current State: 79:[73, 6], Operations: ['46-44=2', '12/2=6']
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[46, 73, 12, 44], Operations: []
Exploring Operation: 12+44=56, Resulting Numbers: [46, 73, 56]
Generated Node #0,0: 79:[46, 73, 56] Operation: 12+44=56
Exploring Operation: 46+12=58, Resulting Numbers: [73, 44, 58]
Generated Node #0,1: 79:[73, 44, 58] Operation: 46+12=58
Exploring Operation: 73+12=85, Resulting Numbers: [46, 44, 85]
Generated Node #0,2: 79:[46, 44, 85] Operation: 73+12=85
Moving to Node #0,0
Current State: 79:[46, 73, 56], Operations: ['12+44=56']
Exploring Operation: 46+56=102, Resulting Numbers: [73, 102]
Generated Node #0,0,0: 79:[73, 102] Operation: 46+56=102
Exploring Operation: 73-46=27, Resulting Numbers: [56, 27]
Generated Node #0,0,1: 79:[56, 27] Operation: 73-46=27
Exploring Operation: 46+73=119, Resulting Numbers: [56, 119]
Generated Node #0,0,2: 79:[56, 119] Operation: 46+73=119
Moving to Node #0,1
Current State: 79:[73, 44, 58], Operations: ['46+12=58']
Exploring Operation: 73+44=117, Resulting Numbers: [58, 117]
Generated Node #0,1,0: 79:[58, 117] Operation: 73+44=117
Exploring Operation: 44+58=102, Resulting Numbers: [73, 102]
Generated Node #0,1,1: 79:[73, 102] Operation: 44+58=102
Exploring Operation: 73-44=29, Resulting Numbers: [58, 29]
Generated Node #0,1,2: 79:[58, 29] Operation: 73-44=29
Moving to Node #0,2
Current State: 79:[46, 44, 85], Operations: ['73+12=85']
Exploring Operation: 85-44=41, Resulting Numbers: [46, 41]
Generated Node #0,2,0: 79:[46, 41] Operation: 85-44=41
Exploring Operation: 85-46=39, Resulting Numbers: [44, 39]
Generated Node #0,2,1: 79:[44, 39] Operation: 85-46=39
Exploring Operation: 46+44=90, Resulting Numbers: [85, 90]
Generated Node #0,2,2: 79:[85, 90] Operation: 46+44=90
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[85, 90], Operations: ['73+12=85', '46+44=90']
Exploring Operation: 90-85=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 85+90=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 85*90=7650, Resulting Numbers: [7650]
7650,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[46, 41], Operations: ['73+12=85', '85-44=41']
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,79 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 46*41=1886, Resulting Numbers: [1886]
1886,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[44, 39], Operations: ['73+12=85', '85-46=39']
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,79 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,79 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: 79:[73, 102], Operations: ['12+44=56', '46+56=102']
Exploring Operation: 73*102=7446, Resulting Numbers: [7446]
7446,79 unequal: No Solution
Exploring Operation: 102-73=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 73+102=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[73, 102], Operations: ['46+12=58', '44+58=102']
Exploring Operation: 73+102=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 102-73=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 73*102=7446, Resulting Numbers: [7446]
7446,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[58, 117], Operations: ['46+12=58', '73+44=117']
Exploring Operation: 58+117=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 58*117=6786, Resulting Numbers: [6786]
6786,79 unequal: No Solution
Exploring Operation: 117-58=59, Resulting Numbers: [59]
59,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[56, 119], Operations: ['12+44=56', '46+73=119']
Exploring Operation: 56+119=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 56*119=6664, Resulting Numbers: [6664]
6664,79 unequal: No Solution
Exploring Operation: 119-56=63, Resulting Numbers: [63]
63,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[58, 29], Operations: ['46+12=58', '73-44=29']
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 58+29=87, Resulting Numbers: [87]
87,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[56, 27], Operations: ['12+44=56', '73-46=27']
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,79 unequal: No Solution
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,79 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,79 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
8,
73,
1,
28
] | 53 | [
"8+73=81",
"1*28=28",
"81-28=53"
] | Current State: 53:[8, 73, 1, 28], Operations: []
Exploring Operation: 8+73=81, Resulting Numbers: [1, 28, 81]
Generated Node #2: [1, 28, 81] from Operation: 8+73=81
Current State: 53:[1, 28, 81], Operations: ['8+73=81']
Exploring Operation: 1*28=28, Resulting Numbers: [81, 28]
Generated Node #3: [81, 28] from Operation: 1*28=28
Current State: 53:[81, 28], Operations: ['8+73=81', '1*28=28']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[8, 73, 1, 28], Operations: []
Exploring Operation: 73-8=65, Resulting Numbers: [1, 28, 65]
Generated Node #0,0: 53:[1, 28, 65] Operation: 73-8=65
Moving to Node #0,0
Current State: 53:[1, 28, 65], Operations: ['73-8=65']
Exploring Operation: 1+28=29, Resulting Numbers: [65, 29]
Generated Node #0,0,0: 53:[65, 29] Operation: 1+28=29
Moving to Node #0,0,0
Current State: 53:[65, 29], Operations: ['73-8=65', '1+28=29']
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,53 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
75,
63,
22
] | 57 | [
"75-59=16",
"63-22=41",
"16+41=57"
] | Current State: 57:[59, 75, 63, 22], Operations: []
Exploring Operation: 75-59=16, Resulting Numbers: [63, 22, 16]
Generated Node #2: [63, 22, 16] from Operation: 75-59=16
Current State: 57:[63, 22, 16], Operations: ['75-59=16']
Exploring Operation: 63-22=41, Resulting Numbers: [16, 41]
Generated Node #3: [16, 41] from Operation: 63-22=41
Current State: 57:[16, 41], Operations: ['75-59=16', '63-22=41']
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[59, 75, 63, 22], Operations: []
Exploring Operation: 63-22=41, Resulting Numbers: [59, 75, 41]
Generated Node #0,0: 57:[59, 75, 41] Operation: 63-22=41
Exploring Operation: 75-63=12, Resulting Numbers: [59, 22, 12]
Generated Node #0,1: 57:[59, 22, 12] Operation: 75-63=12
Exploring Operation: 63-59=4, Resulting Numbers: [75, 22, 4]
Generated Node #0,2: 57:[75, 22, 4] Operation: 63-59=4
Exploring Operation: 75-59=16, Resulting Numbers: [63, 22, 16]
Generated Node #0,3: 57:[63, 22, 16] Operation: 75-59=16
Exploring Operation: 75-22=53, Resulting Numbers: [59, 63, 53]
Generated Node #0,4: 57:[59, 63, 53] Operation: 75-22=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[59, 22, 12], Operations: ['75-63=12']
Exploring Operation: 22+12=34, Resulting Numbers: [59, 34]
Generated Node #0,1,0: 57:[59, 34] Operation: 22+12=34
Exploring Operation: 59-22=37, Resulting Numbers: [12, 37]
Generated Node #0,1,1: 57:[12, 37] Operation: 59-22=37
Exploring Operation: 22-12=10, Resulting Numbers: [59, 10]
Generated Node #0,1,2: 57:[59, 10] Operation: 22-12=10
Exploring Operation: 59+12=71, Resulting Numbers: [22, 71]
Generated Node #0,1,3: 57:[22, 71] Operation: 59+12=71
Exploring Operation: 59-12=47, Resulting Numbers: [22, 47]
Generated Node #0,1,4: 57:[22, 47] Operation: 59-12=47
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[59, 10], Operations: ['75-63=12', '22-12=10']
Exploring Operation: 59*10=590, Resulting Numbers: [590]
590,57 unequal: No Solution
Exploring Operation: 59+10=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 57:[22, 47], Operations: ['75-63=12', '59-12=47']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 22+47=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 22*47=1034, Resulting Numbers: [1034]
1034,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[59, 34], Operations: ['75-63=12', '22+12=34']
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,57 unequal: No Solution
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,57 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[22, 71], Operations: ['75-63=12', '59+12=71']
Exploring Operation: 22*71=1562, Resulting Numbers: [1562]
1562,57 unequal: No Solution
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,57 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[12, 37], Operations: ['75-63=12', '59-22=37']
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[63, 22, 16], Operations: ['75-59=16']
Exploring Operation: 22-16=6, Resulting Numbers: [63, 6]
Generated Node #0,3,0: 57:[63, 6] Operation: 22-16=6
Exploring Operation: 63+16=79, Resulting Numbers: [22, 79]
Generated Node #0,3,1: 57:[22, 79] Operation: 63+16=79
Exploring Operation: 63-22=41, Resulting Numbers: [16, 41]
Generated Node #0,3,2: 57:[16, 41] Operation: 63-22=41
Exploring Operation: 63-16=47, Resulting Numbers: [22, 47]
Generated Node #0,3,3: 57:[22, 47] Operation: 63-16=47
Exploring Operation: 22+16=38, Resulting Numbers: [63, 38]
Generated Node #0,3,4: 57:[63, 38] Operation: 22+16=38
Moving to Node #0,3,0
Current State: 57:[63, 6], Operations: ['75-59=16', '22-16=6']
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,57 unequal: No Solution
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[59, 75, 63, 22], Operations: []
Exploring Operation: 75-59=16, Resulting Numbers: [63, 22, 16]
Generated Node #0,3: 57:[63, 22, 16] Operation: 75-59=16
Moving to Node #0,3
Current State: 57:[63, 22, 16], Operations: ['75-59=16']
Exploring Operation: 22-16=6, Resulting Numbers: [63, 6]
Generated Node #0,3,0: 57:[63, 6] Operation: 22-16=6
Moving to Node #0,3,0
Current State: 57:[63, 6], Operations: ['75-59=16', '22-16=6']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
6,
9,
12,
69
] | 25 | [
"6+69=75",
"12-9=3",
"75/3=25"
] | Current State: 25:[6, 9, 12, 69], Operations: []
Exploring Operation: 6+69=75, Resulting Numbers: [9, 12, 75]
Generated Node #2: [9, 12, 75] from Operation: 6+69=75
Current State: 25:[9, 12, 75], Operations: ['6+69=75']
Exploring Operation: 12-9=3, Resulting Numbers: [75, 3]
Generated Node #3: [75, 3] from Operation: 12-9=3
Current State: 25:[75, 3], Operations: ['6+69=75', '12-9=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[6, 9, 12, 69], Operations: []
Exploring Operation: 69-6=63, Resulting Numbers: [9, 12, 63]
Generated Node #0,0: 25:[9, 12, 63] Operation: 69-6=63
Exploring Operation: 69-9=60, Resulting Numbers: [6, 12, 60]
Generated Node #0,1: 25:[6, 12, 60] Operation: 69-9=60
Exploring Operation: 69-12=57, Resulting Numbers: [6, 9, 57]
Generated Node #0,2: 25:[6, 9, 57] Operation: 69-12=57
Exploring Operation: 12-9=3, Resulting Numbers: [6, 69, 3]
Generated Node #0,3: 25:[6, 69, 3] Operation: 12-9=3
Exploring Operation: 12-6=6, Resulting Numbers: [9, 69, 6]
Generated Node #0,4: 25:[9, 69, 6] Operation: 12-6=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[6, 9, 57], Operations: ['69-12=57']
Exploring Operation: 57-6=51, Resulting Numbers: [9, 51]
Generated Node #0,2,0: 25:[9, 51] Operation: 57-6=51
Exploring Operation: 6+57=63, Resulting Numbers: [9, 63]
Generated Node #0,2,1: 25:[9, 63] Operation: 6+57=63
Exploring Operation: 6+9=15, Resulting Numbers: [57, 15]
Generated Node #0,2,2: 25:[57, 15] Operation: 6+9=15
Exploring Operation: 9-6=3, Resulting Numbers: [57, 3]
Generated Node #0,2,3: 25:[57, 3] Operation: 9-6=3
Exploring Operation: 57-9=48, Resulting Numbers: [6, 48]
Generated Node #0,2,4: 25:[6, 48] Operation: 57-9=48
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 25:[6, 48], Operations: ['69-12=57', '57-9=48']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,25 unequal: No Solution
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 25:[9, 51], Operations: ['69-12=57', '57-6=51']
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 9*51=459, Resulting Numbers: [459]
459,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 25:[57, 3], Operations: ['69-12=57', '9-6=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 57*3=171, Resulting Numbers: [171]
171,25 unequal: No Solution
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 25:[9, 63], Operations: ['69-12=57', '6+57=63']
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 9*63=567, Resulting Numbers: [567]
567,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 25:[57, 15], Operations: ['69-12=57', '6+9=15']
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 57*15=855, Resulting Numbers: [855]
855,25 unequal: No Solution
Exploring Operation: 57+15=72, Resulting Numbers: [72]
72,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[6, 12, 60], Operations: ['69-9=60']
Exploring Operation: 60-12=48, Resulting Numbers: [6, 48]
Generated Node #0,1,0: 25:[6, 48] Operation: 60-12=48
Exploring Operation: 60/6=10, Resulting Numbers: [12, 10]
Generated Node #0,1,1: 25:[12, 10] Operation: 60/6=10
Exploring Operation: 60-6=54, Resulting Numbers: [12, 54]
Generated Node #0,1,2: 25:[12, 54] Operation: 60-6=54
Exploring Operation: 60/12=5, Resulting Numbers: [6, 5]
Generated Node #0,1,3: 25:[6, 5] Operation: 60/12=5
Exploring Operation: 12-6=6, Resulting Numbers: [60, 6]
Generated Node #0,1,4: 25:[60, 6] Operation: 12-6=6
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 25:[6, 5], Operations: ['69-9=60', '60/12=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[12, 10], Operations: ['69-9=60', '60/6=10']
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,25 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[6, 48], Operations: ['69-9=60', '60-12=48']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,25 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[12, 54], Operations: ['69-9=60', '60-6=54']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,25 unequal: No Solution
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 25:[60, 6], Operations: ['69-9=60', '12-6=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,25 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[6, 69, 3], Operations: ['12-9=3']
Exploring Operation: 6-3=3, Resulting Numbers: [69, 3]
Generated Node #0,3,0: 25:[69, 3] Operation: 6-3=3
Exploring Operation: 69-6=63, Resulting Numbers: [3, 63]
Generated Node #0,3,1: 25:[3, 63] Operation: 69-6=63
Exploring Operation: 6/3=2, Resulting Numbers: [69, 2]
Generated Node #0,3,2: 25:[69, 2] Operation: 6/3=2
Exploring Operation: 69/3=23, Resulting Numbers: [6, 23]
Generated Node #0,3,3: 25:[6, 23] Operation: 69/3=23
Exploring Operation: 69-3=66, Resulting Numbers: [6, 66]
Generated Node #0,3,4: 25:[6, 66] Operation: 69-3=66
Moving to Node #0,3,3
Current State: 25:[6, 23], Operations: ['12-9=3', '69/3=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,25 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[3, 63], Operations: ['12-9=3', '69-6=63']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,25 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[6, 66], Operations: ['12-9=3', '69-3=66']
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 6*66=396, Resulting Numbers: [396]
396,25 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[69, 3], Operations: ['12-9=3', '6-3=3']
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,25 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[69, 2], Operations: ['12-9=3', '6/3=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[9, 12, 63], Operations: ['69-6=63']
Exploring Operation: 12-9=3, Resulting Numbers: [63, 3]
Generated Node #0,0,0: 25:[63, 3] Operation: 12-9=3
Exploring Operation: 63-12=51, Resulting Numbers: [9, 51]
Generated Node #0,0,1: 25:[9, 51] Operation: 63-12=51
Exploring Operation: 9+12=21, Resulting Numbers: [63, 21]
Generated Node #0,0,2: 25:[63, 21] Operation: 9+12=21
Exploring Operation: 63-9=54, Resulting Numbers: [12, 54]
Generated Node #0,0,3: 25:[12, 54] Operation: 63-9=54
Exploring Operation: 63/9=7, Resulting Numbers: [12, 7]
Generated Node #0,0,4: 25:[12, 7] Operation: 63/9=7
Moving to Node #0,0,4
Current State: 25:[12, 7], Operations: ['69-6=63', '63/9=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[9, 51], Operations: ['69-6=63', '63-12=51']
Exploring Operation: 9*51=459, Resulting Numbers: [459]
459,25 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[12, 54], Operations: ['69-6=63', '63-9=54']
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[63, 3], Operations: ['69-6=63', '12-9=3']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,25 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[63, 21], Operations: ['69-6=63', '9+12=21']
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,25 unequal: No Solution
Exploring Operation: 63*21=1323, Resulting Numbers: [1323]
1323,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[9, 69, 6], Operations: ['12-6=6']
Exploring Operation: 9+6=15, Resulting Numbers: [69, 15]
Generated Node #0,4,0: 25:[69, 15] Operation: 9+6=15
Exploring Operation: 9-6=3, Resulting Numbers: [69, 3]
Generated Node #0,4,1: 25:[69, 3] Operation: 9-6=3
Exploring Operation: 69-6=63, Resulting Numbers: [9, 63]
Generated Node #0,4,2: 25:[9, 63] Operation: 69-6=63
Exploring Operation: 9+69=78, Resulting Numbers: [6, 78]
Generated Node #0,4,3: 25:[6, 78] Operation: 9+69=78
Exploring Operation: 69-9=60, Resulting Numbers: [6, 60]
Generated Node #0,4,4: 25:[6, 60] Operation: 69-9=60
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 25:[6, 60], Operations: ['12-6=6', '69-9=60']
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,25 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 25:[9, 63], Operations: ['12-6=6', '69-6=63']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 9*63=567, Resulting Numbers: [567]
567,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 25:[69, 3], Operations: ['12-6=6', '9-6=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,25 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 25:[69, 15], Operations: ['12-6=6', '9+6=15']
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 69*15=1035, Resulting Numbers: [1035]
1035,25 unequal: No Solution
Exploring Operation: 69+15=84, Resulting Numbers: [84]
84,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 25:[6, 78], Operations: ['12-6=6', '9+69=78']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,25 unequal: No Solution
Exploring Operation: 6*78=468, Resulting Numbers: [468]
468,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
45,
3,
39,
80
] | 66 | [
"80-45=35",
"3*35=105",
"105-39=66"
] | Current State: 66:[45, 3, 39, 80], Operations: []
Exploring Operation: 80-45=35, Resulting Numbers: [3, 39, 35]
Generated Node #2: [3, 39, 35] from Operation: 80-45=35
Current State: 66:[3, 39, 35], Operations: ['80-45=35']
Exploring Operation: 3*35=105, Resulting Numbers: [39, 105]
Generated Node #3: [39, 105] from Operation: 3*35=105
Current State: 66:[39, 105], Operations: ['80-45=35', '3*35=105']
Exploring Operation: 105-39=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[45, 3, 39, 80], Operations: []
Exploring Operation: 45-39=6, Resulting Numbers: [3, 80, 6]
Generated Node #0,0: 66:[3, 80, 6] Operation: 45-39=6
Exploring Operation: 80-39=41, Resulting Numbers: [45, 3, 41]
Generated Node #0,1: 66:[45, 3, 41] Operation: 80-39=41
Exploring Operation: 45/3=15, Resulting Numbers: [39, 80, 15]
Generated Node #0,2: 66:[39, 80, 15] Operation: 45/3=15
Exploring Operation: 80-45=35, Resulting Numbers: [3, 39, 35]
Generated Node #0,3: 66:[3, 39, 35] Operation: 80-45=35
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[3, 39, 35], Operations: ['80-45=35']
Exploring Operation: 39-3=36, Resulting Numbers: [35, 36]
Generated Node #0,3,0: 66:[35, 36] Operation: 39-3=36
Exploring Operation: 35-3=32, Resulting Numbers: [39, 32]
Generated Node #0,3,1: 66:[39, 32] Operation: 35-3=32
Exploring Operation: 39-35=4, Resulting Numbers: [3, 4]
Generated Node #0,3,2: 66:[3, 4] Operation: 39-35=4
Exploring Operation: 39/3=13, Resulting Numbers: [35, 13]
Generated Node #0,3,3: 66:[35, 13] Operation: 39/3=13
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 66:[3, 4], Operations: ['80-45=35', '39-35=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 3*4=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,3,3
Current State: 66:[35, 13], Operations: ['80-45=35', '39/3=13']
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,66 unequal: No Solution
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,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,3,0
Current State: 66:[35, 36], Operations: ['80-45=35', '39-3=36']
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,66 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,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,3,1
Current State: 66:[39, 32], Operations: ['80-45=35', '35-3=32']
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,66 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,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,0
Current State: 66:[3, 80, 6], Operations: ['45-39=6']
Exploring Operation: 6/3=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 66:[80, 2] Operation: 6/3=2
Exploring Operation: 80-6=74, Resulting Numbers: [3, 74]
Generated Node #0,0,1: 66:[3, 74] Operation: 80-6=74
Exploring Operation: 80-3=77, Resulting Numbers: [6, 77]
Generated Node #0,0,2: 66:[6, 77] Operation: 80-3=77
Exploring Operation: 6-3=3, Resulting Numbers: [80, 3]
Generated Node #0,0,3: 66:[80, 3] Operation: 6-3=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[3, 74], Operations: ['45-39=6', '80-6=74']
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,66 unequal: No Solution
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,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,2
Current State: 66:[6, 77], Operations: ['45-39=6', '80-3=77']
Exploring Operation: 6*77=462, Resulting Numbers: [462]
462,66 unequal: No Solution
Exploring Operation: 6+77=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,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:[80, 2], Operations: ['45-39=6', '6/3=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,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,3
Current State: 66:[80, 3], Operations: ['45-39=6', '6-3=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,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:[45, 3, 41], Operations: ['80-39=41']
Exploring Operation: 45/3=15, Resulting Numbers: [41, 15]
Generated Node #0,1,0: 66:[41, 15] Operation: 45/3=15
Exploring Operation: 41-3=38, Resulting Numbers: [45, 38]
Generated Node #0,1,1: 66:[45, 38] Operation: 41-3=38
Exploring Operation: 45-3=42, Resulting Numbers: [41, 42]
Generated Node #0,1,2: 66:[41, 42] Operation: 45-3=42
Exploring Operation: 45-41=4, Resulting Numbers: [3, 4]
Generated Node #0,1,3: 66:[3, 4] Operation: 45-41=4
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 66:[3, 4], Operations: ['80-39=41', '45-41=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[41, 15], Operations: ['80-39=41', '45/3=15']
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,66 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[45, 38], Operations: ['80-39=41', '41-3=38']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 66:[41, 42], Operations: ['80-39=41', '45-3=42']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 41*42=1722, Resulting Numbers: [1722]
1722,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,2
Current State: 66:[39, 80, 15], Operations: ['45/3=15']
Exploring Operation: 80-39=41, Resulting Numbers: [15, 41]
Generated Node #0,2,0: 66:[15, 41] Operation: 80-39=41
Exploring Operation: 39-15=24, Resulting Numbers: [80, 24]
Generated Node #0,2,1: 66:[80, 24] Operation: 39-15=24
Exploring Operation: 80-15=65, Resulting Numbers: [39, 65]
Generated Node #0,2,2: 66:[39, 65] Operation: 80-15=65
Exploring Operation: 39+15=54, Resulting Numbers: [80, 54]
Generated Node #0,2,3: 66:[80, 54] Operation: 39+15=54
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[39, 65], Operations: ['45/3=15', '80-15=65']
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,66 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,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,2,0
Current State: 66:[15, 41], Operations: ['45/3=15', '80-39=41']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,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,2,1
Current State: 66:[80, 24], Operations: ['45/3=15', '39-15=24']
Exploring Operation: 80+24=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 80*24=1920, Resulting Numbers: [1920]
1920,66 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,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,2,3
Current State: 66:[80, 54], Operations: ['45/3=15', '39+15=54']
Exploring Operation: 80-54=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 80+54=134, Resulting Numbers: [134]
134,66 unequal: No Solution
Exploring Operation: 80*54=4320, Resulting Numbers: [4320]
4320,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_4 | sum_heuristic |
[
59,
89,
52,
70
] | 92 | [
"89-59=30",
"52+70=122",
"122-30=92"
] | Current State: 92:[59, 89, 52, 70], Operations: []
Exploring Operation: 89-59=30, Resulting Numbers: [52, 70, 30]
Generated Node #2: [52, 70, 30] from Operation: 89-59=30
Current State: 92:[52, 70, 30], Operations: ['89-59=30']
Exploring Operation: 52+70=122, Resulting Numbers: [30, 122]
Generated Node #3: [30, 122] from Operation: 52+70=122
Current State: 92:[30, 122], Operations: ['89-59=30', '52+70=122']
Exploring Operation: 122-30=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[59, 89, 52, 70], Operations: []
Exploring Operation: 89-70=19, Resulting Numbers: [59, 52, 19]
Generated Node #0,0: 92:[59, 52, 19] Operation: 89-70=19
Exploring Operation: 70-52=18, Resulting Numbers: [59, 89, 18]
Generated Node #0,1: 92:[59, 89, 18] Operation: 70-52=18
Exploring Operation: 59-52=7, Resulting Numbers: [89, 70, 7]
Generated Node #0,2: 92:[89, 70, 7] Operation: 59-52=7
Exploring Operation: 70-59=11, Resulting Numbers: [89, 52, 11]
Generated Node #0,3: 92:[89, 52, 11] Operation: 70-59=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[89, 52, 11], Operations: ['70-59=11']
Exploring Operation: 89-52=37, Resulting Numbers: [11, 37]
Generated Node #0,3,0: 92:[11, 37] Operation: 89-52=37
Exploring Operation: 52-11=41, Resulting Numbers: [89, 41]
Generated Node #0,3,1: 92:[89, 41] Operation: 52-11=41
Exploring Operation: 89+11=100, Resulting Numbers: [52, 100]
Generated Node #0,3,2: 92:[52, 100] Operation: 89+11=100
Exploring Operation: 89-11=78, Resulting Numbers: [52, 78]
Generated Node #0,3,3: 92:[52, 78] Operation: 89-11=78
Moving to Node #0,3,1
Current State: 92:[89, 41], Operations: ['70-59=11', '52-11=41']
Exploring Operation: 89-41=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 89+41=130, Resulting Numbers: [130]
130,92 unequal: No Solution
Exploring Operation: 89*41=3649, Resulting Numbers: [3649]
3649,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[52, 100], Operations: ['70-59=11', '89+11=100']
Exploring Operation: 100-52=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 52*100=5200, Resulting Numbers: [5200]
5200,92 unequal: No Solution
Exploring Operation: 52+100=152, Resulting Numbers: [152]
152,92 unequal: No Solution
Moving to Node #0,3,0
Current State: 92:[11, 37], Operations: ['70-59=11', '89-52=37']
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,92 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[52, 78], Operations: ['70-59=11', '89-11=78']
Exploring Operation: 52*78=4056, Resulting Numbers: [4056]
4056,92 unequal: No Solution
Exploring Operation: 52+78=130, Resulting Numbers: [130]
130,92 unequal: No Solution
Exploring Operation: 78-52=26, Resulting Numbers: [26]
26,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
Current State: 92:[59, 89, 18], Operations: ['70-52=18']
Exploring Operation: 89-59=30, Resulting Numbers: [18, 30]
Generated Node #0,1,0: 92:[18, 30] Operation: 89-59=30
Exploring Operation: 89+18=107, Resulting Numbers: [59, 107]
Generated Node #0,1,1: 92:[59, 107] Operation: 89+18=107
Exploring Operation: 59-18=41, Resulting Numbers: [89, 41]
Generated Node #0,1,2: 92:[89, 41] Operation: 59-18=41
Exploring Operation: 59+18=77, Resulting Numbers: [89, 77]
Generated Node #0,1,3: 92:[89, 77] Operation: 59+18=77
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 92:[89, 41], Operations: ['70-52=18', '59-18=41']
Exploring Operation: 89-41=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 89*41=3649, Resulting Numbers: [3649]
3649,92 unequal: No Solution
Exploring Operation: 89+41=130, Resulting Numbers: [130]
130,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[18, 30], Operations: ['70-52=18', '89-59=30']
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,92 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 92:[89, 77], Operations: ['70-52=18', '59+18=77']
Exploring Operation: 89*77=6853, Resulting Numbers: [6853]
6853,92 unequal: No Solution
Exploring Operation: 89+77=166, Resulting Numbers: [166]
166,92 unequal: No Solution
Exploring Operation: 89-77=12, Resulting Numbers: [12]
12,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[59, 107], Operations: ['70-52=18', '89+18=107']
Exploring Operation: 59*107=6313, Resulting Numbers: [6313]
6313,92 unequal: No Solution
Exploring Operation: 107-59=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 59+107=166, Resulting Numbers: [166]
166,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[59, 52, 19], Operations: ['89-70=19']
Exploring Operation: 59-52=7, Resulting Numbers: [19, 7]
Generated Node #0,0,0: 92:[19, 7] Operation: 59-52=7
Exploring Operation: 59+19=78, Resulting Numbers: [52, 78]
Generated Node #0,0,1: 92:[52, 78] Operation: 59+19=78
Exploring Operation: 59+52=111, Resulting Numbers: [19, 111]
Generated Node #0,0,2: 92:[19, 111] Operation: 59+52=111
Exploring Operation: 59-19=40, Resulting Numbers: [52, 40]
Generated Node #0,0,3: 92:[52, 40] Operation: 59-19=40
Moving to Node #0,0,0
Current State: 92:[19, 7], Operations: ['89-70=19', '59-52=7']
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,92 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[52, 40], Operations: ['89-70=19', '59-19=40']
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[59, 89, 52, 70], Operations: []
Exploring Operation: 89-70=19, Resulting Numbers: [59, 52, 19]
Generated Node #0,0: 92:[59, 52, 19] Operation: 89-70=19
Moving to Node #0,0
Current State: 92:[59, 52, 19], Operations: ['89-70=19']
Exploring Operation: 59-19=40, Resulting Numbers: [52, 40]
Generated Node #0,0,3: 92:[52, 40] Operation: 59-19=40
Moving to Node #0,0,3
Current State: 92:[52, 40], Operations: ['89-70=19', '59-19=40']
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_4 | sum_heuristic |
[
22,
46,
81,
7
] | 50 | [
"46-22=24",
"81-7=74",
"74-24=50"
] | Current State: 50:[22, 46, 81, 7], Operations: []
Exploring Operation: 46-22=24, Resulting Numbers: [81, 7, 24]
Generated Node #2: [81, 7, 24] from Operation: 46-22=24
Current State: 50:[81, 7, 24], Operations: ['46-22=24']
Exploring Operation: 81-7=74, Resulting Numbers: [24, 74]
Generated Node #3: [24, 74] from Operation: 81-7=74
Current State: 50:[24, 74], Operations: ['46-22=24', '81-7=74']
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[22, 46, 81, 7], Operations: []
Exploring Operation: 81-7=74, Resulting Numbers: [22, 46, 74]
Generated Node #0,0: 50:[22, 46, 74] Operation: 81-7=74
Exploring Operation: 81-22=59, Resulting Numbers: [46, 7, 59]
Generated Node #0,1: 50:[46, 7, 59] Operation: 81-22=59
Exploring Operation: 81-46=35, Resulting Numbers: [22, 7, 35]
Generated Node #0,2: 50:[22, 7, 35] Operation: 81-46=35
Exploring Operation: 46+7=53, Resulting Numbers: [22, 81, 53]
Generated Node #0,3: 50:[22, 81, 53] Operation: 46+7=53
Exploring Operation: 46-22=24, Resulting Numbers: [81, 7, 24]
Generated Node #0,4: 50:[81, 7, 24] Operation: 46-22=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[46, 7, 59], Operations: ['81-22=59']
Exploring Operation: 59-46=13, Resulting Numbers: [7, 13]
Generated Node #0,1,0: 50:[7, 13] Operation: 59-46=13
Exploring Operation: 46+7=53, Resulting Numbers: [59, 53]
Generated Node #0,1,1: 50:[59, 53] Operation: 46+7=53
Exploring Operation: 46-7=39, Resulting Numbers: [59, 39]
Generated Node #0,1,2: 50:[59, 39] Operation: 46-7=39
Exploring Operation: 7+59=66, Resulting Numbers: [46, 66]
Generated Node #0,1,3: 50:[46, 66] Operation: 7+59=66
Exploring Operation: 59-7=52, Resulting Numbers: [46, 52]
Generated Node #0,1,4: 50:[46, 52] Operation: 59-7=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[7, 13], Operations: ['81-22=59', '59-46=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,50 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 50:[46, 52], Operations: ['81-22=59', '59-7=52']
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,50 unequal: No Solution
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 46*52=2392, Resulting Numbers: [2392]
2392,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[59, 53], Operations: ['81-22=59', '46+7=53']
Exploring Operation: 59*53=3127, Resulting Numbers: [3127]
3127,50 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[59, 39], Operations: ['81-22=59', '46-7=39']
Exploring Operation: 59+39=98, Resulting Numbers: [98]
98,50 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 59*39=2301, Resulting Numbers: [2301]
2301,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 50:[46, 66], Operations: ['81-22=59', '7+59=66']
Exploring Operation: 46+66=112, Resulting Numbers: [112]
112,50 unequal: No Solution
Exploring Operation: 46*66=3036, Resulting Numbers: [3036]
3036,50 unequal: No Solution
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[22, 7, 35], Operations: ['81-46=35']
Exploring Operation: 22+35=57, Resulting Numbers: [7, 57]
Generated Node #0,2,0: 50:[7, 57] Operation: 22+35=57
Exploring Operation: 35/7=5, Resulting Numbers: [22, 5]
Generated Node #0,2,1: 50:[22, 5] Operation: 35/7=5
Exploring Operation: 35-7=28, Resulting Numbers: [22, 28]
Generated Node #0,2,2: 50:[22, 28] Operation: 35-7=28
Exploring Operation: 7+35=42, Resulting Numbers: [22, 42]
Generated Node #0,2,3: 50:[22, 42] Operation: 7+35=42
Exploring Operation: 35-22=13, Resulting Numbers: [7, 13]
Generated Node #0,2,4: 50:[7, 13] Operation: 35-22=13
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 50:[22, 5], Operations: ['81-46=35', '35/7=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 50:[7, 13], Operations: ['81-46=35', '35-22=13']
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,50 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 50:[22, 28], Operations: ['81-46=35', '35-7=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[22, 46, 81, 7], Operations: []
Exploring Operation: 81-46=35, Resulting Numbers: [22, 7, 35]
Generated Node #0,2: 50:[22, 7, 35] Operation: 81-46=35
Moving to Node #0,2
Current State: 50:[22, 7, 35], Operations: ['81-46=35']
Exploring Operation: 35-7=28, Resulting Numbers: [22, 28]
Generated Node #0,2,2: 50:[22, 28] Operation: 35-7=28
Moving to Node #0,2,2
Current State: 50:[22, 28], Operations: ['81-46=35', '35-7=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
11,
24,
26,
13
] | 70 | [
"11+24=35",
"26/13=2",
"35*2=70"
] | Current State: 70:[11, 24, 26, 13], Operations: []
Exploring Operation: 11+24=35, Resulting Numbers: [26, 13, 35]
Generated Node #2: [26, 13, 35] from Operation: 11+24=35
Current State: 70:[26, 13, 35], Operations: ['11+24=35']
Exploring Operation: 26/13=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 26/13=2
Current State: 70:[35, 2], Operations: ['11+24=35', '26/13=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[11, 24, 26, 13], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [11, 13, 2]
Generated Node #0,0: 70:[11, 13, 2] Operation: 26-24=2
Exploring Operation: 11+24=35, Resulting Numbers: [26, 13, 35]
Generated Node #0,1: 70:[26, 13, 35] Operation: 11+24=35
Exploring Operation: 24-11=13, Resulting Numbers: [26, 13, 13]
Generated Node #0,2: 70:[26, 13, 13] Operation: 24-11=13
Moving to Node #0,0
Current State: 70:[11, 13, 2], Operations: ['26-24=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13, 13]
Generated Node #0,0,0: 70:[13, 13] Operation: 11+2=13
Exploring Operation: 13-11=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 70:[2, 2] Operation: 13-11=2
Exploring Operation: 11-2=9, Resulting Numbers: [13, 9]
Generated Node #0,0,2: 70:[13, 9] Operation: 11-2=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[2, 2], Operations: ['26-24=2', '13-11=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,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,0
Current State: 70:[13, 13], Operations: ['26-24=2', '11+2=13']
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,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,2
Current State: 70:[13, 9], Operations: ['26-24=2', '11-2=9']
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,70 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,70 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: 70:[26, 13, 35], Operations: ['11+24=35']
Exploring Operation: 35-26=9, Resulting Numbers: [13, 9]
Generated Node #0,1,0: 70:[13, 9] Operation: 35-26=9
Exploring Operation: 26-13=13, Resulting Numbers: [35, 13]
Generated Node #0,1,1: 70:[35, 13] Operation: 26-13=13
Exploring Operation: 26/13=2, Resulting Numbers: [35, 2]
Generated Node #0,1,2: 70:[35, 2] Operation: 26/13=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[35, 2], Operations: ['11+24=35', '26/13=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[11, 24, 26, 13], Operations: []
Exploring Operation: 11+24=35, Resulting Numbers: [26, 13, 35]
Generated Node #0,1: 70:[26, 13, 35] Operation: 11+24=35
Moving to Node #0,1
Current State: 70:[26, 13, 35], Operations: ['11+24=35']
Exploring Operation: 26/13=2, Resulting Numbers: [35, 2]
Generated Node #0,1,2: 70:[35, 2] Operation: 26/13=2
Moving to Node #0,1,2
Current State: 70:[35, 2], Operations: ['11+24=35', '26/13=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
26,
12,
43,
40
] | 62 | [
"43-40=3",
"12*3=36",
"26+36=62"
] | Current State: 62:[26, 12, 43, 40], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [26, 12, 3]
Generated Node #2: [26, 12, 3] from Operation: 43-40=3
Current State: 62:[26, 12, 3], Operations: ['43-40=3']
Exploring Operation: 12*3=36, Resulting Numbers: [26, 36]
Generated Node #3: [26, 36] from Operation: 12*3=36
Current State: 62:[26, 36], Operations: ['43-40=3', '12*3=36']
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[26, 12, 43, 40], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [26, 12, 3]
Generated Node #0,0: 62:[26, 12, 3] Operation: 43-40=3
Exploring Operation: 43-12=31, Resulting Numbers: [26, 40, 31]
Generated Node #0,1: 62:[26, 40, 31] Operation: 43-12=31
Moving to Node #0,1
Current State: 62:[26, 40, 31], Operations: ['43-12=31']
Exploring Operation: 26+40=66, Resulting Numbers: [31, 66]
Generated Node #0,1,0: 62:[31, 66] Operation: 26+40=66
Exploring Operation: 40-26=14, Resulting Numbers: [31, 14]
Generated Node #0,1,1: 62:[31, 14] Operation: 40-26=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[31, 66], Operations: ['43-12=31', '26+40=66']
Exploring Operation: 31+66=97, Resulting Numbers: [97]
97,62 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,62 unequal: No Solution
No 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: 62:[31, 14], Operations: ['43-12=31', '40-26=14']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,62 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: 62:[26, 12, 3], Operations: ['43-40=3']
Exploring Operation: 26+12=38, Resulting Numbers: [3, 38]
Generated Node #0,0,0: 62:[3, 38] Operation: 26+12=38
Exploring Operation: 12/3=4, Resulting Numbers: [26, 4]
Generated Node #0,0,1: 62:[26, 4] Operation: 12/3=4
Moving to Node #0,0,1
Current State: 62:[26, 4], Operations: ['43-40=3', '12/3=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[3, 38], Operations: ['43-40=3', '26+12=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,62 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
46,
87,
18,
71
] | 44 | [
"46+87=133",
"18+71=89",
"133-89=44"
] | Current State: 44:[46, 87, 18, 71], Operations: []
Exploring Operation: 46+87=133, Resulting Numbers: [18, 71, 133]
Generated Node #2: [18, 71, 133] from Operation: 46+87=133
Current State: 44:[18, 71, 133], Operations: ['46+87=133']
Exploring Operation: 18+71=89, Resulting Numbers: [133, 89]
Generated Node #3: [133, 89] from Operation: 18+71=89
Current State: 44:[133, 89], Operations: ['46+87=133', '18+71=89']
Exploring Operation: 133-89=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[46, 87, 18, 71], Operations: []
Exploring Operation: 71-18=53, Resulting Numbers: [46, 87, 53]
Generated Node #0,0: 44:[46, 87, 53] Operation: 71-18=53
Exploring Operation: 71-46=25, Resulting Numbers: [87, 18, 25]
Generated Node #0,1: 44:[87, 18, 25] Operation: 71-46=25
Exploring Operation: 87-71=16, Resulting Numbers: [46, 18, 16]
Generated Node #0,2: 44:[46, 18, 16] Operation: 87-71=16
Exploring Operation: 87-46=41, Resulting Numbers: [18, 71, 41]
Generated Node #0,3: 44:[18, 71, 41] Operation: 87-46=41
Exploring Operation: 87-18=69, Resulting Numbers: [46, 71, 69]
Generated Node #0,4: 44:[46, 71, 69] Operation: 87-18=69
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[46, 18, 16], Operations: ['87-71=16']
Exploring Operation: 18-16=2, Resulting Numbers: [46, 2]
Generated Node #0,2,0: 44:[46, 2] Operation: 18-16=2
Exploring Operation: 46-18=28, Resulting Numbers: [16, 28]
Generated Node #0,2,1: 44:[16, 28] Operation: 46-18=28
Exploring Operation: 46-16=30, Resulting Numbers: [18, 30]
Generated Node #0,2,2: 44:[18, 30] Operation: 46-16=30
Exploring Operation: 18+16=34, Resulting Numbers: [46, 34]
Generated Node #0,2,3: 44:[46, 34] Operation: 18+16=34
Exploring Operation: 46+16=62, Resulting Numbers: [18, 62]
Generated Node #0,2,4: 44:[18, 62] Operation: 46+16=62
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 44:[46, 2], Operations: ['87-71=16', '18-16=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[46, 87, 18, 71], Operations: []
Exploring Operation: 87-71=16, Resulting Numbers: [46, 18, 16]
Generated Node #0,2: 44:[46, 18, 16] Operation: 87-71=16
Moving to Node #0,2
Current State: 44:[46, 18, 16], Operations: ['87-71=16']
Exploring Operation: 18-16=2, Resulting Numbers: [46, 2]
Generated Node #0,2,0: 44:[46, 2] Operation: 18-16=2
Moving to Node #0,2,0
Current State: 44:[46, 2], Operations: ['87-71=16', '18-16=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
74,
50,
49,
96
] | 48 | [
"74-49=25",
"50/25=2",
"96/2=48"
] | Current State: 48:[74, 50, 49, 96], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [50, 96, 25]
Generated Node #2: [50, 96, 25] from Operation: 74-49=25
Current State: 48:[50, 96, 25], Operations: ['74-49=25']
Exploring Operation: 50/25=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 50/25=2
Current State: 48:[96, 2], Operations: ['74-49=25', '50/25=2']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[74, 50, 49, 96], Operations: []
Exploring Operation: 96-49=47, Resulting Numbers: [74, 50, 47]
Generated Node #0,0: 48:[74, 50, 47] Operation: 96-49=47
Exploring Operation: 96-74=22, Resulting Numbers: [50, 49, 22]
Generated Node #0,1: 48:[50, 49, 22] Operation: 96-74=22
Exploring Operation: 96-50=46, Resulting Numbers: [74, 49, 46]
Generated Node #0,2: 48:[74, 49, 46] Operation: 96-50=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[50, 49, 22], Operations: ['96-74=22']
Exploring Operation: 50-49=1, Resulting Numbers: [22, 1]
Generated Node #0,1,0: 48:[22, 1] Operation: 50-49=1
Exploring Operation: 50-22=28, Resulting Numbers: [49, 28]
Generated Node #0,1,1: 48:[49, 28] Operation: 50-22=28
Exploring Operation: 49-22=27, Resulting Numbers: [50, 27]
Generated Node #0,1,2: 48:[50, 27] Operation: 49-22=27
Moving to Node #0,1,0
Current State: 48:[22, 1], Operations: ['96-74=22', '50-49=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[49, 28], Operations: ['96-74=22', '50-22=28']
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,48 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[50, 27], Operations: ['96-74=22', '49-22=27']
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,48 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[74, 50, 47], Operations: ['96-49=47']
Exploring Operation: 74-47=27, Resulting Numbers: [50, 27]
Generated Node #0,0,0: 48:[50, 27] Operation: 74-47=27
Exploring Operation: 50-47=3, Resulting Numbers: [74, 3]
Generated Node #0,0,1: 48:[74, 3] Operation: 50-47=3
Exploring Operation: 74-50=24, Resulting Numbers: [47, 24]
Generated Node #0,0,2: 48:[47, 24] Operation: 74-50=24
Moving to Node #0,0,2
Current State: 48:[47, 24], Operations: ['96-49=47', '74-50=24']
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,48 unequal: No Solution
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,48 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[50, 27], Operations: ['96-49=47', '74-47=27']
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,48 unequal: No Solution
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,48 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[74, 3], Operations: ['96-49=47', '50-47=3']
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,48 unequal: No Solution
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,48 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[74, 49, 46], Operations: ['96-50=46']
Exploring Operation: 74-49=25, Resulting Numbers: [46, 25]
Generated Node #0,2,0: 48:[46, 25] Operation: 74-49=25
Exploring Operation: 74-46=28, Resulting Numbers: [49, 28]
Generated Node #0,2,1: 48:[49, 28] Operation: 74-46=28
Exploring Operation: 49-46=3, Resulting Numbers: [74, 3]
Generated Node #0,2,2: 48:[74, 3] Operation: 49-46=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 48:[46, 25], Operations: ['96-50=46', '74-49=25']
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,48 unequal: No Solution
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,48 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 48:[49, 28], Operations: ['96-50=46', '74-46=28']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,48 unequal: No Solution
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 48:[74, 3], Operations: ['96-50=46', '49-46=3']
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,48 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,48 unequal: No Solution
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
91,
70,
78,
58
] | 41 | [
"91-70=21",
"78-58=20",
"21+20=41"
] | Current State: 41:[91, 70, 78, 58], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [78, 58, 21]
Generated Node #2: [78, 58, 21] from Operation: 91-70=21
Current State: 41:[78, 58, 21], Operations: ['91-70=21']
Exploring Operation: 78-58=20, Resulting Numbers: [21, 20]
Generated Node #3: [21, 20] from Operation: 78-58=20
Current State: 41:[21, 20], Operations: ['91-70=21', '78-58=20']
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[91, 70, 78, 58], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [78, 58, 21]
Generated Node #0,0: 41:[78, 58, 21] Operation: 91-70=21
Exploring Operation: 91-78=13, Resulting Numbers: [70, 58, 13]
Generated Node #0,1: 41:[70, 58, 13] Operation: 91-78=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[78, 58, 21], Operations: ['91-70=21']
Exploring Operation: 78-58=20, Resulting Numbers: [21, 20]
Generated Node #0,0,0: 41:[21, 20] Operation: 78-58=20
Exploring Operation: 78-21=57, Resulting Numbers: [58, 57]
Generated Node #0,0,1: 41:[58, 57] Operation: 78-21=57
Moving to Node #0,0,1
Current State: 41:[58, 57], Operations: ['91-70=21', '78-21=57']
Exploring Operation: 58+57=115, Resulting Numbers: [115]
115,41 unequal: No Solution
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[21, 20], Operations: ['91-70=21', '78-58=20']
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[91, 70, 78, 58], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [78, 58, 21]
Generated Node #0,0: 41:[78, 58, 21] Operation: 91-70=21
Moving to Node #0,0
Current State: 41:[78, 58, 21], Operations: ['91-70=21']
Exploring Operation: 78-58=20, Resulting Numbers: [21, 20]
Generated Node #0,0,0: 41:[21, 20] Operation: 78-58=20
Moving to Node #0,0,0
Current State: 41:[21, 20], Operations: ['91-70=21', '78-58=20']
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
39,
2,
67,
70
] | 81 | [
"39*2=78",
"70-67=3",
"78+3=81"
] | Current State: 81:[39, 2, 67, 70], Operations: []
Exploring Operation: 39*2=78, Resulting Numbers: [67, 70, 78]
Generated Node #2: [67, 70, 78] from Operation: 39*2=78
Current State: 81:[67, 70, 78], Operations: ['39*2=78']
Exploring Operation: 70-67=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 70-67=3
Current State: 81:[78, 3], Operations: ['39*2=78', '70-67=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[39, 2, 67, 70], Operations: []
Exploring Operation: 67-39=28, Resulting Numbers: [2, 70, 28]
Generated Node #0,0: 81:[2, 70, 28] Operation: 67-39=28
Moving to Node #0,0
Current State: 81:[2, 70, 28], Operations: ['67-39=28']
Exploring Operation: 70/2=35, Resulting Numbers: [28, 35]
Generated Node #0,0,0: 81:[28, 35] Operation: 70/2=35
Moving to Node #0,0,0
Current State: 81:[28, 35], Operations: ['67-39=28', '70/2=35']
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,81 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
39,
52,
19,
79
] | 31 | [
"39+52=91",
"79-19=60",
"91-60=31"
] | Current State: 31:[39, 52, 19, 79], Operations: []
Exploring Operation: 39+52=91, Resulting Numbers: [19, 79, 91]
Generated Node #2: [19, 79, 91] from Operation: 39+52=91
Current State: 31:[19, 79, 91], Operations: ['39+52=91']
Exploring Operation: 79-19=60, Resulting Numbers: [91, 60]
Generated Node #3: [91, 60] from Operation: 79-19=60
Current State: 31:[91, 60], Operations: ['39+52=91', '79-19=60']
Exploring Operation: 91-60=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[39, 52, 19, 79], Operations: []
Exploring Operation: 79-52=27, Resulting Numbers: [39, 19, 27]
Generated Node #0,0: 31:[39, 19, 27] Operation: 79-52=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[39, 19, 27], Operations: ['79-52=27']
Exploring Operation: 39-19=20, Resulting Numbers: [27, 20]
Generated Node #0,0,0: 31:[27, 20] Operation: 39-19=20
Moving to Node #0,0,0
Current State: 31:[27, 20], Operations: ['79-52=27', '39-19=20']
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,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 | mult_heuristic |
[
86,
88,
34,
11
] | 12 | [
"88-86=2",
"11*2=22",
"34-22=12"
] | Current State: 12:[86, 88, 34, 11], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [34, 11, 2]
Generated Node #2: [34, 11, 2] from Operation: 88-86=2
Current State: 12:[34, 11, 2], Operations: ['88-86=2']
Exploring Operation: 11*2=22, Resulting Numbers: [34, 22]
Generated Node #3: [34, 22] from Operation: 11*2=22
Current State: 12:[34, 22], Operations: ['88-86=2', '11*2=22']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[86, 88, 34, 11], Operations: []
Exploring Operation: 88-34=54, Resulting Numbers: [86, 11, 54]
Generated Node #0,0: 12:[86, 11, 54] Operation: 88-34=54
Exploring Operation: 88-86=2, Resulting Numbers: [34, 11, 2]
Generated Node #0,1: 12:[34, 11, 2] Operation: 88-86=2
Exploring Operation: 86-34=52, Resulting Numbers: [88, 11, 52]
Generated Node #0,2: 12:[88, 11, 52] Operation: 86-34=52
Exploring Operation: 88/11=8, Resulting Numbers: [86, 34, 8]
Generated Node #0,3: 12:[86, 34, 8] Operation: 88/11=8
Moving to Node #0,1
Current State: 12:[34, 11, 2], Operations: ['88-86=2']
Exploring Operation: 11+2=13, Resulting Numbers: [34, 13]
Generated Node #0,1,0: 12:[34, 13] Operation: 11+2=13
Exploring Operation: 34-11=23, Resulting Numbers: [2, 23]
Generated Node #0,1,1: 12:[2, 23] Operation: 34-11=23
Exploring Operation: 34/2=17, Resulting Numbers: [11, 17]
Generated Node #0,1,2: 12:[11, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [11, 32]
Generated Node #0,1,3: 12:[11, 32] Operation: 34-2=32
Moving to Node #0,3
Current State: 12:[86, 34, 8], Operations: ['88/11=8']
Exploring Operation: 86-34=52, Resulting Numbers: [8, 52]
Generated Node #0,3,0: 12:[8, 52] Operation: 86-34=52
Exploring Operation: 34-8=26, Resulting Numbers: [86, 26]
Generated Node #0,3,1: 12:[86, 26] Operation: 34-8=26
Exploring Operation: 86-8=78, Resulting Numbers: [34, 78]
Generated Node #0,3,2: 12:[34, 78] Operation: 86-8=78
Exploring Operation: 86+8=94, Resulting Numbers: [34, 94]
Generated Node #0,3,3: 12:[34, 94] Operation: 86+8=94
Moving to Node #0,2
Current State: 12:[88, 11, 52], Operations: ['86-34=52']
Exploring Operation: 88/11=8, Resulting Numbers: [52, 8]
Generated Node #0,2,0: 12:[52, 8] Operation: 88/11=8
Exploring Operation: 88-52=36, Resulting Numbers: [11, 36]
Generated Node #0,2,1: 12:[11, 36] Operation: 88-52=36
Exploring Operation: 52-11=41, Resulting Numbers: [88, 41]
Generated Node #0,2,2: 12:[88, 41] Operation: 52-11=41
Exploring Operation: 88-11=77, Resulting Numbers: [52, 77]
Generated Node #0,2,3: 12:[52, 77] Operation: 88-11=77
Moving to Node #0,0
Current State: 12:[86, 11, 54], Operations: ['88-34=54']
Exploring Operation: 54-11=43, Resulting Numbers: [86, 43]
Generated Node #0,0,0: 12:[86, 43] Operation: 54-11=43
Exploring Operation: 86+11=97, Resulting Numbers: [54, 97]
Generated Node #0,0,1: 12:[54, 97] Operation: 86+11=97
Exploring Operation: 86-11=75, Resulting Numbers: [54, 75]
Generated Node #0,0,2: 12:[54, 75] Operation: 86-11=75
Exploring Operation: 86-54=32, Resulting Numbers: [11, 32]
Generated Node #0,0,3: 12:[11, 32] Operation: 86-54=32
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[11, 32], Operations: ['88-34=54', '86-54=32']
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,12 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[86, 43], Operations: ['88-34=54', '54-11=43']
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 86+43=129, Resulting Numbers: [129]
129,12 unequal: No Solution
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 86*43=3698, Resulting Numbers: [3698]
3698,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:[54, 75], Operations: ['88-34=54', '86-11=75']
Exploring Operation: 54+75=129, Resulting Numbers: [129]
129,12 unequal: No Solution
Exploring Operation: 54*75=4050, Resulting Numbers: [4050]
4050,12 unequal: No Solution
Exploring Operation: 75-54=21, Resulting Numbers: [21]
21,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:[54, 97], Operations: ['88-34=54', '86+11=97']
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 54+97=151, Resulting Numbers: [151]
151,12 unequal: No Solution
Exploring Operation: 54*97=5238, Resulting Numbers: [5238]
5238,12 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: 12:[11, 17], Operations: ['88-86=2', '34/2=17']
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,12 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[2, 23], Operations: ['88-86=2', '34-11=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[11, 32], Operations: ['88-86=2', '34-2=32']
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,12 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[34, 13], Operations: ['88-86=2', '11+2=13']
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 34*13=442, Resulting Numbers: [442]
442,12 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[11, 36], Operations: ['86-34=52', '88-52=36']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 11*36=396, Resulting Numbers: [396]
396,12 unequal: No Solution
Moving to Node #0,3,0
Current State: 12:[8, 52], Operations: ['88/11=8', '86-34=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,12 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[52, 8], Operations: ['86-34=52', '88/11=8']
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,12 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,12 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[34, 78], Operations: ['88/11=8', '86-8=78']
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,12 unequal: No Solution
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,12 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[86, 26], Operations: ['88/11=8', '34-8=26']
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,12 unequal: No Solution
Exploring Operation: 86*26=2236, Resulting Numbers: [2236]
2236,12 unequal: No Solution
Exploring Operation: 86+26=112, Resulting Numbers: [112]
112,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[34, 94], Operations: ['88/11=8', '86+8=94']
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,12 unequal: No Solution
Exploring Operation: 34*94=3196, Resulting Numbers: [3196]
3196,12 unequal: No Solution
Exploring Operation: 34+94=128, Resulting Numbers: [128]
128,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[88, 41], Operations: ['86-34=52', '52-11=41']
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 88*41=3608, Resulting Numbers: [3608]
3608,12 unequal: No Solution
Exploring Operation: 88+41=129, Resulting Numbers: [129]
129,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[52, 77], Operations: ['86-34=52', '88-11=77']
Exploring Operation: 52+77=129, Resulting Numbers: [129]
129,12 unequal: No Solution
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 52*77=4004, Resulting Numbers: [4004]
4004,12 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
7,
37,
36,
25
] | 35 | [
"25-7=18",
"36/18=2",
"37-2=35"
] | Current State: 35:[7, 37, 36, 25], Operations: []
Exploring Operation: 25-7=18, Resulting Numbers: [37, 36, 18]
Generated Node #2: [37, 36, 18] from Operation: 25-7=18
Current State: 35:[37, 36, 18], Operations: ['25-7=18']
Exploring Operation: 36/18=2, Resulting Numbers: [37, 2]
Generated Node #3: [37, 2] from Operation: 36/18=2
Current State: 35:[37, 2], Operations: ['25-7=18', '36/18=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[7, 37, 36, 25], Operations: []
Exploring Operation: 37-25=12, Resulting Numbers: [7, 36, 12]
Generated Node #0,0: 35:[7, 36, 12] Operation: 37-25=12
Exploring Operation: 36-25=11, Resulting Numbers: [7, 37, 11]
Generated Node #0,1: 35:[7, 37, 11] Operation: 36-25=11
Exploring Operation: 7+25=32, Resulting Numbers: [37, 36, 32]
Generated Node #0,2: 35:[37, 36, 32] Operation: 7+25=32
Moving to Node #0,0
Current State: 35:[7, 36, 12], Operations: ['37-25=12']
Exploring Operation: 36/12=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 35:[7, 3] Operation: 36/12=3
Exploring Operation: 36-7=29, Resulting Numbers: [12, 29]
Generated Node #0,0,1: 35:[12, 29] Operation: 36-7=29
Exploring Operation: 12-7=5, Resulting Numbers: [36, 5]
Generated Node #0,0,2: 35:[36, 5] Operation: 12-7=5
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[36, 5], Operations: ['37-25=12', '12-7=5']
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,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:[7, 3], Operations: ['37-25=12', '36/12=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,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,1
Current State: 35:[12, 29], Operations: ['37-25=12', '36-7=29']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,35 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: 35:[7, 37, 11], Operations: ['36-25=11']
Exploring Operation: 37-11=26, Resulting Numbers: [7, 26]
Generated Node #0,1,0: 35:[7, 26] Operation: 37-11=26
Exploring Operation: 11-7=4, Resulting Numbers: [37, 4]
Generated Node #0,1,1: 35:[37, 4] Operation: 11-7=4
Exploring Operation: 37-7=30, Resulting Numbers: [11, 30]
Generated Node #0,1,2: 35:[11, 30] Operation: 37-7=30
Moving to Node #0,2
Current State: 35:[37, 36, 32], Operations: ['7+25=32']
Exploring Operation: 37-32=5, Resulting Numbers: [36, 5]
Generated Node #0,2,0: 35:[36, 5] Operation: 37-32=5
Exploring Operation: 37-36=1, Resulting Numbers: [32, 1]
Generated Node #0,2,1: 35:[32, 1] Operation: 37-36=1
Exploring Operation: 36-32=4, Resulting Numbers: [37, 4]
Generated Node #0,2,2: 35:[37, 4] Operation: 36-32=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[36, 5], Operations: ['7+25=32', '37-32=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,35 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,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,2,2
Current State: 35:[37, 4], Operations: ['7+25=32', '36-32=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,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,2,1
Current State: 35:[32, 1], Operations: ['7+25=32', '37-36=1']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 35:[37, 4], Operations: ['36-25=11', '11-7=4']
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,35 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[7, 26], Operations: ['36-25=11', '37-11=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[11, 30], Operations: ['36-25=11', '37-7=30']
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,35 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
95,
68,
68,
61
] | 95 | [
"68-68=0",
"61*0=0",
"95+0=95"
] | Current State: 95:[95, 68, 68, 61], Operations: []
Exploring Operation: 68-68=0, Resulting Numbers: [95, 61, 0]
Generated Node #2: [95, 61, 0] from Operation: 68-68=0
Current State: 95:[95, 61, 0], Operations: ['68-68=0']
Exploring Operation: 61*0=0, Resulting Numbers: [95, 0]
Generated Node #3: [95, 0] from Operation: 61*0=0
Current State: 95:[95, 0], Operations: ['68-68=0', '61*0=0']
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[95, 68, 68, 61], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [95, 68, 7]
Generated Node #0,0: 95:[95, 68, 7] Operation: 68-61=7
Moving to Node #0,0
Current State: 95:[95, 68, 7], Operations: ['68-61=7']
Exploring Operation: 95-68=27, Resulting Numbers: [7, 27]
Generated Node #0,0,0: 95:[7, 27] Operation: 95-68=27
Moving to Node #0,0,0
Current State: 95:[7, 27], Operations: ['68-61=7', '95-68=27']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,95 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
80,
7,
18
] | 37 | [
"9+80=89",
"7*18=126",
"126-89=37"
] | Current State: 37:[9, 80, 7, 18], Operations: []
Exploring Operation: 9+80=89, Resulting Numbers: [7, 18, 89]
Generated Node #2: [7, 18, 89] from Operation: 9+80=89
Current State: 37:[7, 18, 89], Operations: ['9+80=89']
Exploring Operation: 7*18=126, Resulting Numbers: [89, 126]
Generated Node #3: [89, 126] from Operation: 7*18=126
Current State: 37:[89, 126], Operations: ['9+80=89', '7*18=126']
Exploring Operation: 126-89=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[9, 80, 7, 18], Operations: []
Exploring Operation: 80-9=71, Resulting Numbers: [7, 18, 71]
Generated Node #0,0: 37:[7, 18, 71] Operation: 80-9=71
Exploring Operation: 9+18=27, Resulting Numbers: [80, 7, 27]
Generated Node #0,1: 37:[80, 7, 27] Operation: 9+18=27
Exploring Operation: 9+7=16, Resulting Numbers: [80, 18, 16]
Generated Node #0,2: 37:[80, 18, 16] Operation: 9+7=16
Moving to Node #0,0
Current State: 37:[7, 18, 71], Operations: ['80-9=71']
Exploring Operation: 71-18=53, Resulting Numbers: [7, 53]
Generated Node #0,0,0: 37:[7, 53] Operation: 71-18=53
Exploring Operation: 71-7=64, Resulting Numbers: [18, 64]
Generated Node #0,0,1: 37:[18, 64] Operation: 71-7=64
Exploring Operation: 7+18=25, Resulting Numbers: [71, 25]
Generated Node #0,0,2: 37:[71, 25] Operation: 7+18=25
Moving to Node #0,1
Current State: 37:[80, 7, 27], Operations: ['9+18=27']
Exploring Operation: 80-7=73, Resulting Numbers: [27, 73]
Generated Node #0,1,0: 37:[27, 73] Operation: 80-7=73
Exploring Operation: 80-27=53, Resulting Numbers: [7, 53]
Generated Node #0,1,1: 37:[7, 53] Operation: 80-27=53
Exploring Operation: 7+27=34, Resulting Numbers: [80, 34]
Generated Node #0,1,2: 37:[80, 34] Operation: 7+27=34
Moving to Node #0,2
Current State: 37:[80, 18, 16], Operations: ['9+7=16']
Exploring Operation: 80-18=62, Resulting Numbers: [16, 62]
Generated Node #0,2,0: 37:[16, 62] Operation: 80-18=62
Exploring Operation: 80-16=64, Resulting Numbers: [18, 64]
Generated Node #0,2,1: 37:[18, 64] Operation: 80-16=64
Exploring Operation: 18+16=34, Resulting Numbers: [80, 34]
Generated Node #0,2,2: 37:[80, 34] Operation: 18+16=34
Moving to Node #0,0,0
Current State: 37:[7, 53], Operations: ['80-9=71', '71-18=53']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,37 unequal: No Solution
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[71, 25], Operations: ['80-9=71', '7+18=25']
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 71*25=1775, Resulting Numbers: [1775]
1775,37 unequal: No Solution
Exploring Operation: 71+25=96, Resulting Numbers: [96]
96,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[16, 62], Operations: ['9+7=16', '80-18=62']
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,37 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[80, 34], Operations: ['9+7=16', '18+16=34']
Exploring Operation: 80+34=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 80*34=2720, Resulting Numbers: [2720]
2720,37 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[80, 34], Operations: ['9+18=27', '7+27=34']
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 80+34=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 80*34=2720, Resulting Numbers: [2720]
2720,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[18, 64], Operations: ['9+7=16', '80-16=64']
Exploring Operation: 18*64=1152, Resulting Numbers: [1152]
1152,37 unequal: No Solution
Exploring Operation: 18+64=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[7, 53], Operations: ['9+18=27', '80-27=53']
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,37 unequal: No Solution
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,37 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[18, 64], Operations: ['80-9=71', '71-7=64']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 18*64=1152, Resulting Numbers: [1152]
1152,37 unequal: No Solution
Exploring Operation: 18+64=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[27, 73], Operations: ['9+18=27', '80-7=73']
Exploring Operation: 27+73=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 27*73=1971, Resulting Numbers: [1971]
1971,37 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
64,
83,
95,
48
] | 28 | [
"83-64=19",
"95-48=47",
"47-19=28"
] | Current State: 28:[64, 83, 95, 48], Operations: []
Exploring Operation: 83-64=19, Resulting Numbers: [95, 48, 19]
Generated Node #2: [95, 48, 19] from Operation: 83-64=19
Current State: 28:[95, 48, 19], Operations: ['83-64=19']
Exploring Operation: 95-48=47, Resulting Numbers: [19, 47]
Generated Node #3: [19, 47] from Operation: 95-48=47
Current State: 28:[19, 47], Operations: ['83-64=19', '95-48=47']
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[64, 83, 95, 48], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [64, 48, 12]
Generated Node #0,0: 28:[64, 48, 12] Operation: 95-83=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[64, 48, 12], Operations: ['95-83=12']
Exploring Operation: 64-48=16, Resulting Numbers: [12, 16]
Generated Node #0,0,0: 28:[12, 16] Operation: 64-48=16
Moving to Node #0,0,0
Current State: 28:[12, 16], Operations: ['95-83=12', '64-48=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[64, 83, 95, 48], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [64, 48, 12]
Generated Node #0,0: 28:[64, 48, 12] Operation: 95-83=12
Moving to Node #0,0
Current State: 28:[64, 48, 12], Operations: ['95-83=12']
Exploring Operation: 64-48=16, Resulting Numbers: [12, 16]
Generated Node #0,0,0: 28:[12, 16] Operation: 64-48=16
Moving to Node #0,0,0
Current State: 28:[12, 16], Operations: ['95-83=12', '64-48=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
33,
46,
17,
3
] | 90 | [
"46-33=13",
"17+13=30",
"3*30=90"
] | Current State: 90:[33, 46, 17, 3], Operations: []
Exploring Operation: 46-33=13, Resulting Numbers: [17, 3, 13]
Generated Node #2: [17, 3, 13] from Operation: 46-33=13
Current State: 90:[17, 3, 13], Operations: ['46-33=13']
Exploring Operation: 17+13=30, Resulting Numbers: [3, 30]
Generated Node #3: [3, 30] from Operation: 17+13=30
Current State: 90:[3, 30], Operations: ['46-33=13', '17+13=30']
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[33, 46, 17, 3], Operations: []
Exploring Operation: 33-17=16, Resulting Numbers: [46, 3, 16]
Generated Node #0,0: 90:[46, 3, 16] Operation: 33-17=16
Exploring Operation: 46-33=13, Resulting Numbers: [17, 3, 13]
Generated Node #0,1: 90:[17, 3, 13] Operation: 46-33=13
Exploring Operation: 33-3=30, Resulting Numbers: [46, 17, 30]
Generated Node #0,2: 90:[46, 17, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [46, 17, 11]
Generated Node #0,3: 90:[46, 17, 11] Operation: 33/3=11
Exploring Operation: 46-17=29, Resulting Numbers: [33, 3, 29]
Generated Node #0,4: 90:[33, 3, 29] Operation: 46-17=29
Moving to Node #0,0
Current State: 90:[46, 3, 16], Operations: ['33-17=16']
Exploring Operation: 46-16=30, Resulting Numbers: [3, 30]
Generated Node #0,0,0: 90:[3, 30] Operation: 46-16=30
Exploring Operation: 3*16=48, Resulting Numbers: [46, 48]
Generated Node #0,0,1: 90:[46, 48] Operation: 3*16=48
Exploring Operation: 16-3=13, Resulting Numbers: [46, 13]
Generated Node #0,0,2: 90:[46, 13] Operation: 16-3=13
Exploring Operation: 46-3=43, Resulting Numbers: [16, 43]
Generated Node #0,0,3: 90:[16, 43] Operation: 46-3=43
Exploring Operation: 3+16=19, Resulting Numbers: [46, 19]
Generated Node #0,0,4: 90:[46, 19] Operation: 3+16=19
Moving to Node #0,2
Current State: 90:[46, 17, 30], Operations: ['33-3=30']
Exploring Operation: 46-17=29, Resulting Numbers: [30, 29]
Generated Node #0,2,0: 90:[30, 29] Operation: 46-17=29
Exploring Operation: 46+30=76, Resulting Numbers: [17, 76]
Generated Node #0,2,1: 90:[17, 76] Operation: 46+30=76
Exploring Operation: 17+30=47, Resulting Numbers: [46, 47]
Generated Node #0,2,2: 90:[46, 47] Operation: 17+30=47
Exploring Operation: 30-17=13, Resulting Numbers: [46, 13]
Generated Node #0,2,3: 90:[46, 13] Operation: 30-17=13
Exploring Operation: 46-30=16, Resulting Numbers: [17, 16]
Generated Node #0,2,4: 90:[17, 16] Operation: 46-30=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[30, 29], Operations: ['33-3=30', '46-17=29']
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,90 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,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,2,4
Current State: 90:[17, 16], Operations: ['33-3=30', '46-30=16']
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,90 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,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,2,2
Current State: 90:[46, 47], Operations: ['33-3=30', '17+30=47']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,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,2,3
Current State: 90:[46, 13], Operations: ['33-3=30', '30-17=13']
Exploring Operation: 46+13=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 46*13=598, Resulting Numbers: [598]
598,90 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,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,2,1
Current State: 90:[17, 76], Operations: ['33-3=30', '46+30=76']
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 17+76=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Exploring Operation: 17*76=1292, Resulting Numbers: [1292]
1292,90 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: 90:[17, 3, 13], Operations: ['46-33=13']
Exploring Operation: 17+13=30, Resulting Numbers: [3, 30]
Generated Node #0,1,0: 90:[3, 30] Operation: 17+13=30
Exploring Operation: 13-3=10, Resulting Numbers: [17, 10]
Generated Node #0,1,1: 90:[17, 10] Operation: 13-3=10
Exploring Operation: 17-13=4, Resulting Numbers: [3, 4]
Generated Node #0,1,2: 90:[3, 4] Operation: 17-13=4
Exploring Operation: 17-3=14, Resulting Numbers: [13, 14]
Generated Node #0,1,3: 90:[13, 14] Operation: 17-3=14
Exploring Operation: 3+13=16, Resulting Numbers: [17, 16]
Generated Node #0,1,4: 90:[17, 16] Operation: 3+13=16
Moving to Node #0,3
Current State: 90:[46, 17, 11], Operations: ['33/3=11']
Exploring Operation: 46-11=35, Resulting Numbers: [17, 35]
Generated Node #0,3,0: 90:[17, 35] Operation: 46-11=35
Exploring Operation: 17-11=6, Resulting Numbers: [46, 6]
Generated Node #0,3,1: 90:[46, 6] Operation: 17-11=6
Exploring Operation: 46+11=57, Resulting Numbers: [17, 57]
Generated Node #0,3,2: 90:[17, 57] Operation: 46+11=57
Exploring Operation: 46-17=29, Resulting Numbers: [11, 29]
Generated Node #0,3,3: 90:[11, 29] Operation: 46-17=29
Exploring Operation: 17+11=28, Resulting Numbers: [46, 28]
Generated Node #0,3,4: 90:[46, 28] Operation: 17+11=28
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[46, 6], Operations: ['33/3=11', '17-11=6']
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,90 unequal: No Solution
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,90 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,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,3,3
Current State: 90:[11, 29], Operations: ['33/3=11', '46-17=29']
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,90 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,90 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,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,3,4
Current State: 90:[46, 28], Operations: ['33/3=11', '17+11=28']
Exploring Operation: 46*28=1288, Resulting Numbers: [1288]
1288,90 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,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,3,0
Current State: 90:[17, 35], Operations: ['33/3=11', '46-11=35']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 17*35=595, Resulting Numbers: [595]
595,90 unequal: No Solution
Exploring Operation: 17+35=52, Resulting Numbers: [52]
52,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,3,2
Current State: 90:[17, 57], Operations: ['33/3=11', '46+11=57']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,90 unequal: No Solution
Exploring Operation: 17+57=74, Resulting Numbers: [74]
74,90 unequal: No Solution
Exploring Operation: 17*57=969, Resulting Numbers: [969]
969,90 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: 90:[33, 3, 29], Operations: ['46-17=29']
Exploring Operation: 33-29=4, Resulting Numbers: [3, 4]
Generated Node #0,4,0: 90:[3, 4] Operation: 33-29=4
Exploring Operation: 3*29=87, Resulting Numbers: [33, 87]
Generated Node #0,4,1: 90:[33, 87] Operation: 3*29=87
Exploring Operation: 33-3=30, Resulting Numbers: [29, 30]
Generated Node #0,4,2: 90:[29, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [29, 11]
Generated Node #0,4,3: 90:[29, 11] Operation: 33/3=11
Exploring Operation: 3+29=32, Resulting Numbers: [33, 32]
Generated Node #0,4,4: 90:[33, 32] Operation: 3+29=32
Moving to Node #0,0,0
Current State: 90:[3, 30], Operations: ['33-17=16', '46-16=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[33, 46, 17, 3], Operations: []
Exploring Operation: 33-17=16, Resulting Numbers: [46, 3, 16]
Generated Node #0,0: 90:[46, 3, 16] Operation: 33-17=16
Moving to Node #0,0
Current State: 90:[46, 3, 16], Operations: ['33-17=16']
Exploring Operation: 46-16=30, Resulting Numbers: [3, 30]
Generated Node #0,0,0: 90:[3, 30] Operation: 46-16=30
Moving to Node #0,0,0
Current State: 90:[3, 30], Operations: ['33-17=16', '46-16=30']
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.940972 | hs_5 | mult_heuristic |
[
30,
46,
4,
50
] | 54 | [
"46-30=16",
"16/4=4",
"50+4=54"
] | Current State: 54:[30, 46, 4, 50], Operations: []
Exploring Operation: 46-30=16, Resulting Numbers: [4, 50, 16]
Generated Node #2: [4, 50, 16] from Operation: 46-30=16
Current State: 54:[4, 50, 16], Operations: ['46-30=16']
Exploring Operation: 16/4=4, Resulting Numbers: [50, 4]
Generated Node #3: [50, 4] from Operation: 16/4=4
Current State: 54:[50, 4], Operations: ['46-30=16', '16/4=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[30, 46, 4, 50], Operations: []
Exploring Operation: 46-30=16, Resulting Numbers: [4, 50, 16]
Generated Node #0,0: 54:[4, 50, 16] Operation: 46-30=16
Exploring Operation: 50-46=4, Resulting Numbers: [30, 4, 4]
Generated Node #0,1: 54:[30, 4, 4] Operation: 50-46=4
Moving to Node #0,1
Current State: 54:[30, 4, 4], Operations: ['50-46=4']
Exploring Operation: 30-4=26, Resulting Numbers: [4, 26]
Generated Node #0,1,0: 54:[4, 26] Operation: 30-4=26
Exploring Operation: 30-4=26, Resulting Numbers: [4, 26]
Generated Node #0,1,1: 54:[4, 26] Operation: 30-4=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[4, 26], Operations: ['50-46=4', '30-4=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[4, 26], Operations: ['50-46=4', '30-4=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,54 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: 54:[4, 50, 16], Operations: ['46-30=16']
Exploring Operation: 4+50=54, Resulting Numbers: [16, 54]
Generated Node #0,0,0: 54:[16, 54] Operation: 4+50=54
Exploring Operation: 16/4=4, Resulting Numbers: [50, 4]
Generated Node #0,0,1: 54:[50, 4] Operation: 16/4=4
Moving to Node #0,0,0
Current State: 54:[16, 54], Operations: ['46-30=16', '4+50=54']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[50, 4], Operations: ['46-30=16', '16/4=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[30, 46, 4, 50], Operations: []
Exploring Operation: 46-30=16, Resulting Numbers: [4, 50, 16]
Generated Node #0,0: 54:[4, 50, 16] Operation: 46-30=16
Moving to Node #0,0
Current State: 54:[4, 50, 16], Operations: ['46-30=16']
Exploring Operation: 16/4=4, Resulting Numbers: [50, 4]
Generated Node #0,0,1: 54:[50, 4] Operation: 16/4=4
Moving to Node #0,0,1
Current State: 54:[50, 4], Operations: ['46-30=16', '16/4=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
5,
15,
2,
29
] | 52 | [
"5*15=75",
"29+75=104",
"104/2=52"
] | Current State: 52:[5, 15, 2, 29], Operations: []
Exploring Operation: 5*15=75, Resulting Numbers: [2, 29, 75]
Generated Node #2: [2, 29, 75] from Operation: 5*15=75
Current State: 52:[2, 29, 75], Operations: ['5*15=75']
Exploring Operation: 29+75=104, Resulting Numbers: [2, 104]
Generated Node #3: [2, 104] from Operation: 29+75=104
Current State: 52:[2, 104], Operations: ['5*15=75', '29+75=104']
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[5, 15, 2, 29], Operations: []
Exploring Operation: 15-2=13, Resulting Numbers: [5, 29, 13]
Generated Node #0,0: 52:[5, 29, 13] Operation: 15-2=13
Exploring Operation: 29-5=24, Resulting Numbers: [15, 2, 24]
Generated Node #0,1: 52:[15, 2, 24] Operation: 29-5=24
Exploring Operation: 29-2=27, Resulting Numbers: [5, 15, 27]
Generated Node #0,2: 52:[5, 15, 27] Operation: 29-2=27
Exploring Operation: 15/5=3, Resulting Numbers: [2, 29, 3]
Generated Node #0,3: 52:[2, 29, 3] Operation: 15/5=3
Exploring Operation: 29-15=14, Resulting Numbers: [5, 2, 14]
Generated Node #0,4: 52:[5, 2, 14] Operation: 29-15=14
Moving to Node #0,4
Current State: 52:[5, 2, 14], Operations: ['29-15=14']
Exploring Operation: 5+2=7, Resulting Numbers: [14, 7]
Generated Node #0,4,0: 52:[14, 7] Operation: 5+2=7
Exploring Operation: 5*2=10, Resulting Numbers: [14, 10]
Generated Node #0,4,1: 52:[14, 10] Operation: 5*2=10
Exploring Operation: 14-2=12, Resulting Numbers: [5, 12]
Generated Node #0,4,2: 52:[5, 12] Operation: 14-2=12
Exploring Operation: 5-2=3, Resulting Numbers: [14, 3]
Generated Node #0,4,3: 52:[14, 3] Operation: 5-2=3
Exploring Operation: 2*14=28, Resulting Numbers: [5, 28]
Generated Node #0,4,4: 52:[5, 28] Operation: 2*14=28
Moving to Node #0,1
Current State: 52:[15, 2, 24], Operations: ['29-5=24']
Exploring Operation: 15+2=17, Resulting Numbers: [24, 17]
Generated Node #0,1,0: 52:[24, 17] Operation: 15+2=17
Exploring Operation: 2+24=26, Resulting Numbers: [15, 26]
Generated Node #0,1,1: 52:[15, 26] Operation: 2+24=26
Exploring Operation: 24-15=9, Resulting Numbers: [2, 9]
Generated Node #0,1,2: 52:[2, 9] Operation: 24-15=9
Exploring Operation: 24/2=12, Resulting Numbers: [15, 12]
Generated Node #0,1,3: 52:[15, 12] Operation: 24/2=12
Exploring Operation: 15-2=13, Resulting Numbers: [24, 13]
Generated Node #0,1,4: 52:[24, 13] Operation: 15-2=13
Moving to Node #0,3
Current State: 52:[2, 29, 3], Operations: ['15/5=3']
Exploring Operation: 3-2=1, Resulting Numbers: [29, 1]
Generated Node #0,3,0: 52:[29, 1] Operation: 3-2=1
Exploring Operation: 29-3=26, Resulting Numbers: [2, 26]
Generated Node #0,3,1: 52:[2, 26] Operation: 29-3=26
Exploring Operation: 29-2=27, Resulting Numbers: [3, 27]
Generated Node #0,3,2: 52:[3, 27] Operation: 29-2=27
Exploring Operation: 2*3=6, Resulting Numbers: [29, 6]
Generated Node #0,3,3: 52:[29, 6] Operation: 2*3=6
Exploring Operation: 2+3=5, Resulting Numbers: [29, 5]
Generated Node #0,3,4: 52:[29, 5] Operation: 2+3=5
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[2, 26], Operations: ['15/5=3', '29-3=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[5, 15, 2, 29], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [2, 29, 3]
Generated Node #0,3: 52:[2, 29, 3] Operation: 15/5=3
Moving to Node #0,3
Current State: 52:[2, 29, 3], Operations: ['15/5=3']
Exploring Operation: 29-3=26, Resulting Numbers: [2, 26]
Generated Node #0,3,1: 52:[2, 26] Operation: 29-3=26
Moving to Node #0,3,1
Current State: 52:[2, 26], Operations: ['15/5=3', '29-3=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
17,
92,
44,
33
] | 25 | [
"92+44=136",
"136/17=8",
"33-8=25"
] | Current State: 25:[17, 92, 44, 33], Operations: []
Exploring Operation: 92+44=136, Resulting Numbers: [17, 33, 136]
Generated Node #2: [17, 33, 136] from Operation: 92+44=136
Current State: 25:[17, 33, 136], Operations: ['92+44=136']
Exploring Operation: 136/17=8, Resulting Numbers: [33, 8]
Generated Node #3: [33, 8] from Operation: 136/17=8
Current State: 25:[33, 8], Operations: ['92+44=136', '136/17=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[17, 92, 44, 33], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [17, 33, 48]
Generated Node #0,0: 25:[17, 33, 48] Operation: 92-44=48
Exploring Operation: 92-33=59, Resulting Numbers: [17, 44, 59]
Generated Node #0,1: 25:[17, 44, 59] Operation: 92-33=59
Moving to Node #0,0
Current State: 25:[17, 33, 48], Operations: ['92-44=48']
Exploring Operation: 48-17=31, Resulting Numbers: [33, 31]
Generated Node #0,0,0: 25:[33, 31] Operation: 48-17=31
Exploring Operation: 48-33=15, Resulting Numbers: [17, 15]
Generated Node #0,0,1: 25:[17, 15] Operation: 48-33=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[33, 31], Operations: ['92-44=48', '48-17=31']
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[17, 15], Operations: ['92-44=48', '48-33=15']
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 25:[17, 44, 59], Operations: ['92-33=59']
Exploring Operation: 59-44=15, Resulting Numbers: [17, 15]
Generated Node #0,1,0: 25:[17, 15] Operation: 59-44=15
Exploring Operation: 44-17=27, Resulting Numbers: [59, 27]
Generated Node #0,1,1: 25:[59, 27] Operation: 44-17=27
Moving to Node #0,1,0
Current State: 25:[17, 15], Operations: ['92-33=59', '59-44=15']
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[59, 27], Operations: ['92-33=59', '44-17=27']
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 59+27=86, Resulting Numbers: [86]
86,25 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
64,
52,
83,
76
] | 81 | [
"52+76=128",
"128/64=2",
"83-2=81"
] | Current State: 81:[64, 52, 83, 76], Operations: []
Exploring Operation: 52+76=128, Resulting Numbers: [64, 83, 128]
Generated Node #2: [64, 83, 128] from Operation: 52+76=128
Current State: 81:[64, 83, 128], Operations: ['52+76=128']
Exploring Operation: 128/64=2, Resulting Numbers: [83, 2]
Generated Node #3: [83, 2] from Operation: 128/64=2
Current State: 81:[83, 2], Operations: ['52+76=128', '128/64=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[64, 52, 83, 76], Operations: []
Exploring Operation: 76-52=24, Resulting Numbers: [64, 83, 24]
Generated Node #0,0: 81:[64, 83, 24] Operation: 76-52=24
Exploring Operation: 64-52=12, Resulting Numbers: [83, 76, 12]
Generated Node #0,1: 81:[83, 76, 12] Operation: 64-52=12
Moving to Node #0,1
Current State: 81:[83, 76, 12], Operations: ['64-52=12']
Exploring Operation: 76+12=88, Resulting Numbers: [83, 88]
Generated Node #0,1,0: 81:[83, 88] Operation: 76+12=88
Exploring Operation: 83-76=7, Resulting Numbers: [12, 7]
Generated Node #0,1,1: 81:[12, 7] Operation: 83-76=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[12, 7], Operations: ['64-52=12', '83-76=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,81 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,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,0
Current State: 81:[83, 88], Operations: ['64-52=12', '76+12=88']
Exploring Operation: 83+88=171, Resulting Numbers: [171]
171,81 unequal: No Solution
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,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:[64, 83, 24], Operations: ['76-52=24']
Exploring Operation: 64+24=88, Resulting Numbers: [83, 88]
Generated Node #0,0,0: 81:[83, 88] Operation: 64+24=88
Exploring Operation: 83-64=19, Resulting Numbers: [24, 19]
Generated Node #0,0,1: 81:[24, 19] Operation: 83-64=19
Moving to Node #0,0,0
Current State: 81:[83, 88], Operations: ['76-52=24', '64+24=88']
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 83+88=171, Resulting Numbers: [171]
171,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[24, 19], Operations: ['76-52=24', '83-64=19']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,81 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
57,
45,
33,
60
] | 62 | [
"57+33=90",
"90/45=2",
"60+2=62"
] | Current State: 62:[57, 45, 33, 60], Operations: []
Exploring Operation: 57+33=90, Resulting Numbers: [45, 60, 90]
Generated Node #2: [45, 60, 90] from Operation: 57+33=90
Current State: 62:[45, 60, 90], Operations: ['57+33=90']
Exploring Operation: 90/45=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 90/45=2
Current State: 62:[60, 2], Operations: ['57+33=90', '90/45=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[57, 45, 33, 60], Operations: []
Exploring Operation: 60-45=15, Resulting Numbers: [57, 33, 15]
Generated Node #0,0: 62:[57, 33, 15] Operation: 60-45=15
Exploring Operation: 45-33=12, Resulting Numbers: [57, 60, 12]
Generated Node #0,1: 62:[57, 60, 12] Operation: 45-33=12
Exploring Operation: 60-57=3, Resulting Numbers: [45, 33, 3]
Generated Node #0,2: 62:[45, 33, 3] Operation: 60-57=3
Exploring Operation: 57-33=24, Resulting Numbers: [45, 60, 24]
Generated Node #0,3: 62:[45, 60, 24] Operation: 57-33=24
Exploring Operation: 57-45=12, Resulting Numbers: [33, 60, 12]
Generated Node #0,4: 62:[33, 60, 12] Operation: 57-45=12
Moving to Node #0,4
Current State: 62:[33, 60, 12], Operations: ['57-45=12']
Exploring Operation: 60/12=5, Resulting Numbers: [33, 5]
Generated Node #0,4,0: 62:[33, 5] Operation: 60/12=5
Exploring Operation: 33+12=45, Resulting Numbers: [60, 45]
Generated Node #0,4,1: 62:[60, 45] Operation: 33+12=45
Exploring Operation: 33-12=21, Resulting Numbers: [60, 21]
Generated Node #0,4,2: 62:[60, 21] Operation: 33-12=21
Exploring Operation: 60-33=27, Resulting Numbers: [12, 27]
Generated Node #0,4,3: 62:[12, 27] Operation: 60-33=27
Exploring Operation: 60+12=72, Resulting Numbers: [33, 72]
Generated Node #0,4,4: 62:[33, 72] Operation: 60+12=72
Moving to Node #0,2
Current State: 62:[45, 33, 3], Operations: ['60-57=3']
Exploring Operation: 33-3=30, Resulting Numbers: [45, 30]
Generated Node #0,2,0: 62:[45, 30] Operation: 33-3=30
Exploring Operation: 45-3=42, Resulting Numbers: [33, 42]
Generated Node #0,2,1: 62:[33, 42] Operation: 45-3=42
Exploring Operation: 45+3=48, Resulting Numbers: [33, 48]
Generated Node #0,2,2: 62:[33, 48] Operation: 45+3=48
Exploring Operation: 45/3=15, Resulting Numbers: [33, 15]
Generated Node #0,2,3: 62:[33, 15] Operation: 45/3=15
Exploring Operation: 45-33=12, Resulting Numbers: [3, 12]
Generated Node #0,2,4: 62:[3, 12] Operation: 45-33=12
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 62:[3, 12], Operations: ['60-57=3', '45-33=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,62 unequal: No Solution
No 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: 62:[33, 42], Operations: ['60-57=3', '45-3=42']
Exploring Operation: 33*42=1386, Resulting Numbers: [1386]
1386,62 unequal: No Solution
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 33+42=75, Resulting Numbers: [75]
75,62 unequal: No Solution
No 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: 62:[45, 30], Operations: ['60-57=3', '33-3=30']
Exploring Operation: 45+30=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 45*30=1350, Resulting Numbers: [1350]
1350,62 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,62 unequal: No Solution
No 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: 62:[33, 15], Operations: ['60-57=3', '45/3=15']
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,62 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,62 unequal: No Solution
No 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: 62:[33, 48], Operations: ['60-57=3', '45+3=48']
Exploring Operation: 33*48=1584, Resulting Numbers: [1584]
1584,62 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,62 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: 62:[57, 60, 12], Operations: ['45-33=12']
Exploring Operation: 60-57=3, Resulting Numbers: [12, 3]
Generated Node #0,1,0: 62:[12, 3] Operation: 60-57=3
Exploring Operation: 57-12=45, Resulting Numbers: [60, 45]
Generated Node #0,1,1: 62:[60, 45] Operation: 57-12=45
Exploring Operation: 60+12=72, Resulting Numbers: [57, 72]
Generated Node #0,1,2: 62:[57, 72] Operation: 60+12=72
Exploring Operation: 60/12=5, Resulting Numbers: [57, 5]
Generated Node #0,1,3: 62:[57, 5] Operation: 60/12=5
Exploring Operation: 57+12=69, Resulting Numbers: [60, 69]
Generated Node #0,1,4: 62:[60, 69] Operation: 57+12=69
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 62:[57, 5], Operations: ['45-33=12', '60/12=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[57, 45, 33, 60], Operations: []
Exploring Operation: 45-33=12, Resulting Numbers: [57, 60, 12]
Generated Node #0,1: 62:[57, 60, 12] Operation: 45-33=12
Moving to Node #0,1
Current State: 62:[57, 60, 12], Operations: ['45-33=12']
Exploring Operation: 60/12=5, Resulting Numbers: [57, 5]
Generated Node #0,1,3: 62:[57, 5] Operation: 60/12=5
Moving to Node #0,1,3
Current State: 62:[57, 5], Operations: ['45-33=12', '60/12=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
62,
50,
82,
18
] | 48 | [
"62+50=112",
"82-18=64",
"112-64=48"
] | Current State: 48:[62, 50, 82, 18], Operations: []
Exploring Operation: 62+50=112, Resulting Numbers: [82, 18, 112]
Generated Node #2: [82, 18, 112] from Operation: 62+50=112
Current State: 48:[82, 18, 112], Operations: ['62+50=112']
Exploring Operation: 82-18=64, Resulting Numbers: [112, 64]
Generated Node #3: [112, 64] from Operation: 82-18=64
Current State: 48:[112, 64], Operations: ['62+50=112', '82-18=64']
Exploring Operation: 112-64=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[62, 50, 82, 18], Operations: []
Exploring Operation: 82-50=32, Resulting Numbers: [62, 18, 32]
Generated Node #0,0: 48:[62, 18, 32] Operation: 82-50=32
Exploring Operation: 82-62=20, Resulting Numbers: [50, 18, 20]
Generated Node #0,1: 48:[50, 18, 20] Operation: 82-62=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[50, 18, 20], Operations: ['82-62=20']
Exploring Operation: 50-20=30, Resulting Numbers: [18, 30]
Generated Node #0,1,0: 48:[18, 30] Operation: 50-20=30
Exploring Operation: 20-18=2, Resulting Numbers: [50, 2]
Generated Node #0,1,1: 48:[50, 2] Operation: 20-18=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 48:[50, 2], Operations: ['82-62=20', '20-18=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[62, 50, 82, 18], Operations: []
Exploring Operation: 82-62=20, Resulting Numbers: [50, 18, 20]
Generated Node #0,1: 48:[50, 18, 20] Operation: 82-62=20
Moving to Node #0,1
Current State: 48:[50, 18, 20], Operations: ['82-62=20']
Exploring Operation: 20-18=2, Resulting Numbers: [50, 2]
Generated Node #0,1,1: 48:[50, 2] Operation: 20-18=2
Moving to Node #0,1,1
Current State: 48:[50, 2], Operations: ['82-62=20', '20-18=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
69,
25,
9,
81
] | 54 | [
"69+81=150",
"150/25=6",
"9*6=54"
] | Current State: 54:[69, 25, 9, 81], Operations: []
Exploring Operation: 69+81=150, Resulting Numbers: [25, 9, 150]
Generated Node #2: [25, 9, 150] from Operation: 69+81=150
Current State: 54:[25, 9, 150], Operations: ['69+81=150']
Exploring Operation: 150/25=6, Resulting Numbers: [9, 6]
Generated Node #3: [9, 6] from Operation: 150/25=6
Current State: 54:[9, 6], Operations: ['69+81=150', '150/25=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[69, 25, 9, 81], Operations: []
Exploring Operation: 81-25=56, Resulting Numbers: [69, 9, 56]
Generated Node #0,0: 54:[69, 9, 56] Operation: 81-25=56
Exploring Operation: 81/9=9, Resulting Numbers: [69, 25, 9]
Generated Node #0,1: 54:[69, 25, 9] Operation: 81/9=9
Exploring Operation: 81-69=12, Resulting Numbers: [25, 9, 12]
Generated Node #0,2: 54:[25, 9, 12] Operation: 81-69=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[25, 9, 12], Operations: ['81-69=12']
Exploring Operation: 25-9=16, Resulting Numbers: [12, 16]
Generated Node #0,2,0: 54:[12, 16] Operation: 25-9=16
Exploring Operation: 12-9=3, Resulting Numbers: [25, 3]
Generated Node #0,2,1: 54:[25, 3] Operation: 12-9=3
Exploring Operation: 25-12=13, Resulting Numbers: [9, 13]
Generated Node #0,2,2: 54:[9, 13] Operation: 25-12=13
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 54:[25, 3], Operations: ['81-69=12', '12-9=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[9, 13], Operations: ['81-69=12', '25-12=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,54 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 54:[12, 16], Operations: ['81-69=12', '25-9=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,54 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[69, 9, 56], Operations: ['81-25=56']
Exploring Operation: 56-9=47, Resulting Numbers: [69, 47]
Generated Node #0,0,0: 54:[69, 47] Operation: 56-9=47
Exploring Operation: 69-56=13, Resulting Numbers: [9, 13]
Generated Node #0,0,1: 54:[9, 13] Operation: 69-56=13
Exploring Operation: 69-9=60, Resulting Numbers: [56, 60]
Generated Node #0,0,2: 54:[56, 60] Operation: 69-9=60
Moving to Node #0,0,1
Current State: 54:[9, 13], Operations: ['81-25=56', '69-56=13']
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,54 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[56, 60], Operations: ['81-25=56', '69-9=60']
Exploring Operation: 56+60=116, Resulting Numbers: [116]
116,54 unequal: No Solution
Exploring Operation: 56*60=3360, Resulting Numbers: [3360]
3360,54 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[69, 47], Operations: ['81-25=56', '56-9=47']
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 69+47=116, Resulting Numbers: [116]
116,54 unequal: No Solution
Exploring Operation: 69*47=3243, Resulting Numbers: [3243]
3243,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[69, 25, 9], Operations: ['81/9=9']
Exploring Operation: 69-25=44, Resulting Numbers: [9, 44]
Generated Node #0,1,0: 54:[9, 44] Operation: 69-25=44
Exploring Operation: 25-9=16, Resulting Numbers: [69, 16]
Generated Node #0,1,1: 54:[69, 16] Operation: 25-9=16
Exploring Operation: 69-9=60, Resulting Numbers: [25, 60]
Generated Node #0,1,2: 54:[25, 60] Operation: 69-9=60
Moving to Node #0,1,2
Current State: 54:[25, 60], Operations: ['81/9=9', '69-9=60']
Exploring Operation: 25+60=85, Resulting Numbers: [85]
85,54 unequal: No Solution
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 25*60=1500, Resulting Numbers: [1500]
1500,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[9, 44], Operations: ['81/9=9', '69-25=44']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 9*44=396, Resulting Numbers: [396]
396,54 unequal: No Solution
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[69, 16], Operations: ['81/9=9', '25-9=16']
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 69*16=1104, Resulting Numbers: [1104]
1104,54 unequal: No Solution
Exploring Operation: 69+16=85, Resulting Numbers: [85]
85,54 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 |
[
39,
84,
15,
3
] | 13 | [
"39+3=42",
"84/42=2",
"15-2=13"
] | Current State: 13:[39, 84, 15, 3], Operations: []
Exploring Operation: 39+3=42, Resulting Numbers: [84, 15, 42]
Generated Node #2: [84, 15, 42] from Operation: 39+3=42
Current State: 13:[84, 15, 42], Operations: ['39+3=42']
Exploring Operation: 84/42=2, Resulting Numbers: [15, 2]
Generated Node #3: [15, 2] from Operation: 84/42=2
Current State: 13:[15, 2], Operations: ['39+3=42', '84/42=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[39, 84, 15, 3], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [15, 3, 45]
Generated Node #0,0: 13:[15, 3, 45] Operation: 84-39=45
Exploring Operation: 39-15=24, Resulting Numbers: [84, 3, 24]
Generated Node #0,1: 13:[84, 3, 24] Operation: 39-15=24
Exploring Operation: 84/3=28, Resulting Numbers: [39, 15, 28]
Generated Node #0,2: 13:[39, 15, 28] Operation: 84/3=28
Exploring Operation: 39/3=13, Resulting Numbers: [84, 15, 13]
Generated Node #0,3: 13:[84, 15, 13] Operation: 39/3=13
Moving to Node #0,2
Current State: 13:[39, 15, 28], Operations: ['84/3=28']
Exploring Operation: 39-28=11, Resulting Numbers: [15, 11]
Generated Node #0,2,0: 13:[15, 11] Operation: 39-28=11
Exploring Operation: 39-15=24, Resulting Numbers: [28, 24]
Generated Node #0,2,1: 13:[28, 24] Operation: 39-15=24
Exploring Operation: 39+15=54, Resulting Numbers: [28, 54]
Generated Node #0,2,2: 13:[28, 54] Operation: 39+15=54
Exploring Operation: 28-15=13, Resulting Numbers: [39, 13]
Generated Node #0,2,3: 13:[39, 13] Operation: 28-15=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[15, 11], Operations: ['84/3=28', '39-28=11']
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,13 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[28, 24], Operations: ['84/3=28', '39-15=24']
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,13 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[39, 13], Operations: ['84/3=28', '28-15=13']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[28, 54], Operations: ['84/3=28', '39+15=54']
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,13 unequal: No Solution
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,13 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: 13:[15, 3, 45], Operations: ['84-39=45']
Exploring Operation: 45/3=15, Resulting Numbers: [15, 15]
Generated Node #0,0,0: 13:[15, 15] Operation: 45/3=15
Exploring Operation: 45-15=30, Resulting Numbers: [3, 30]
Generated Node #0,0,1: 13:[3, 30] Operation: 45-15=30
Exploring Operation: 45-3=42, Resulting Numbers: [15, 42]
Generated Node #0,0,2: 13:[15, 42] Operation: 45-3=42
Exploring Operation: 45/15=3, Resulting Numbers: [3, 3]
Generated Node #0,0,3: 13:[3, 3] Operation: 45/15=3
Moving to Node #0,3
Current State: 13:[84, 15, 13], Operations: ['39/3=13']
Exploring Operation: 84+15=99, Resulting Numbers: [13, 99]
Generated Node #0,3,0: 13:[13, 99] Operation: 84+15=99
Exploring Operation: 84-13=71, Resulting Numbers: [15, 71]
Generated Node #0,3,1: 13:[15, 71] Operation: 84-13=71
Exploring Operation: 15-13=2, Resulting Numbers: [84, 2]
Generated Node #0,3,2: 13:[84, 2] Operation: 15-13=2
Exploring Operation: 84-15=69, Resulting Numbers: [13, 69]
Generated Node #0,3,3: 13:[13, 69] Operation: 84-15=69
Moving to Node #0,1
Current State: 13:[84, 3, 24], Operations: ['39-15=24']
Exploring Operation: 24/3=8, Resulting Numbers: [84, 8]
Generated Node #0,1,0: 13:[84, 8] Operation: 24/3=8
Exploring Operation: 84/3=28, Resulting Numbers: [24, 28]
Generated Node #0,1,1: 13:[24, 28] Operation: 84/3=28
Exploring Operation: 84-3=81, Resulting Numbers: [24, 81]
Generated Node #0,1,2: 13:[24, 81] Operation: 84-3=81
Exploring Operation: 84-24=60, Resulting Numbers: [3, 60]
Generated Node #0,1,3: 13:[3, 60] Operation: 84-24=60
Moving to Node #0,0,0
Current State: 13:[15, 15], Operations: ['84-39=45', '45/3=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 15*15=225, Resulting Numbers: [225]
225,13 unequal: No Solution
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[3, 3], Operations: ['84-39=45', '45/15=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[24, 28], Operations: ['39-15=24', '84/3=28']
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,13 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[3, 30], Operations: ['84-39=45', '45-15=30']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[15, 42], Operations: ['84-39=45', '45-3=42']
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,13 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 15*42=630, Resulting Numbers: [630]
630,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[13, 69], Operations: ['39/3=13', '84-15=69']
Exploring Operation: 13+69=82, Resulting Numbers: [82]
82,13 unequal: No Solution
Exploring Operation: 13*69=897, Resulting Numbers: [897]
897,13 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[3, 60], Operations: ['39-15=24', '84-24=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,13 unequal: No Solution
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,13 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[15, 71], Operations: ['39/3=13', '84-13=71']
Exploring Operation: 15+71=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 15*71=1065, Resulting Numbers: [1065]
1065,13 unequal: No Solution
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[84, 8], Operations: ['39-15=24', '24/3=8']
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,13 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,13 unequal: No Solution
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[24, 81], Operations: ['39-15=24', '84-3=81']
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,13 unequal: No Solution
Exploring Operation: 24*81=1944, Resulting Numbers: [1944]
1944,13 unequal: No Solution
Exploring Operation: 24+81=105, Resulting Numbers: [105]
105,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[84, 2], Operations: ['39/3=13', '15-13=2']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,13 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Moving to Node #0,3,0
Current State: 13:[13, 99], Operations: ['39/3=13', '84+15=99']
Exploring Operation: 13*99=1287, Resulting Numbers: [1287]
1287,13 unequal: No Solution
Exploring Operation: 13+99=112, Resulting Numbers: [112]
112,13 unequal: No Solution
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,13 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
45,
1,
2,
6
] | 58 | [
"45+1=46",
"2*6=12",
"46+12=58"
] | Current State: 58:[45, 1, 2, 6], Operations: []
Exploring Operation: 45+1=46, Resulting Numbers: [2, 6, 46]
Generated Node #2: [2, 6, 46] from Operation: 45+1=46
Current State: 58:[2, 6, 46], Operations: ['45+1=46']
Exploring Operation: 2*6=12, Resulting Numbers: [46, 12]
Generated Node #3: [46, 12] from Operation: 2*6=12
Current State: 58:[46, 12], Operations: ['45+1=46', '2*6=12']
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[45, 1, 2, 6], Operations: []
Exploring Operation: 45-6=39, Resulting Numbers: [1, 2, 39]
Generated Node #0,0: 58:[1, 2, 39] Operation: 45-6=39
Exploring Operation: 6/2=3, Resulting Numbers: [45, 1, 3]
Generated Node #0,1: 58:[45, 1, 3] Operation: 6/2=3
Exploring Operation: 45+6=51, Resulting Numbers: [1, 2, 51]
Generated Node #0,2: 58:[1, 2, 51] Operation: 45+6=51
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[1, 2, 51], Operations: ['45+6=51']
Exploring Operation: 1*2=2, Resulting Numbers: [51, 2]
Generated Node #0,2,0: 58:[51, 2] Operation: 1*2=2
Exploring Operation: 2+51=53, Resulting Numbers: [1, 53]
Generated Node #0,2,1: 58:[1, 53] Operation: 2+51=53
Exploring Operation: 1+51=52, Resulting Numbers: [2, 52]
Generated Node #0,2,2: 58:[2, 52] Operation: 1+51=52
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[1, 53], Operations: ['45+6=51', '2+51=53']
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,58 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,58 unequal: No Solution
No 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: 58:[2, 52], Operations: ['45+6=51', '1+51=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 58:[51, 2], Operations: ['45+6=51', '1*2=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,58 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,58 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,58 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: 58:[1, 2, 39], Operations: ['45-6=39']
Exploring Operation: 1*2=2, Resulting Numbers: [39, 2]
Generated Node #0,0,0: 58:[39, 2] Operation: 1*2=2
Exploring Operation: 39-2=37, Resulting Numbers: [1, 37]
Generated Node #0,0,1: 58:[1, 37] Operation: 39-2=37
Exploring Operation: 39-1=38, Resulting Numbers: [2, 38]
Generated Node #0,0,2: 58:[2, 38] Operation: 39-1=38
Moving to Node #0,0,1
Current State: 58:[1, 37], Operations: ['45-6=39', '39-2=37']
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[2, 38], Operations: ['45-6=39', '39-1=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[39, 2], Operations: ['45-6=39', '1*2=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,58 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[45, 1, 3], Operations: ['6/2=3']
Exploring Operation: 45+1=46, Resulting Numbers: [3, 46]
Generated Node #0,1,0: 58:[3, 46] Operation: 45+1=46
Exploring Operation: 45+3=48, Resulting Numbers: [1, 48]
Generated Node #0,1,1: 58:[1, 48] Operation: 45+3=48
Exploring Operation: 3-1=2, Resulting Numbers: [45, 2]
Generated Node #0,1,2: 58:[45, 2] Operation: 3-1=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[1, 48], Operations: ['6/2=3', '45+3=48']
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,58 unequal: No Solution
No 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: 58:[3, 46], Operations: ['6/2=3', '45+1=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,58 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,58 unequal: No Solution
No 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: 58:[45, 2], Operations: ['6/2=3', '3-1=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,58 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
26,
14,
58,
7
] | 55 | [
"14/7=2",
"58/2=29",
"26+29=55"
] | Current State: 55:[26, 14, 58, 7], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [26, 58, 2]
Generated Node #2: [26, 58, 2] from Operation: 14/7=2
Current State: 55:[26, 58, 2], Operations: ['14/7=2']
Exploring Operation: 58/2=29, Resulting Numbers: [26, 29]
Generated Node #3: [26, 29] from Operation: 58/2=29
Current State: 55:[26, 29], Operations: ['14/7=2', '58/2=29']
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[26, 14, 58, 7], Operations: []
Exploring Operation: 26-7=19, Resulting Numbers: [14, 58, 19]
Generated Node #0,0: 55:[14, 58, 19] Operation: 26-7=19
Exploring Operation: 26-14=12, Resulting Numbers: [58, 7, 12]
Generated Node #0,1: 55:[58, 7, 12] Operation: 26-14=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[58, 7, 12], Operations: ['26-14=12']
Exploring Operation: 58-7=51, Resulting Numbers: [12, 51]
Generated Node #0,1,0: 55:[12, 51] Operation: 58-7=51
Exploring Operation: 12-7=5, Resulting Numbers: [58, 5]
Generated Node #0,1,1: 55:[58, 5] Operation: 12-7=5
Moving to Node #0,1,1
Current State: 55:[58, 5], Operations: ['26-14=12', '12-7=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,55 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[12, 51], Operations: ['26-14=12', '58-7=51']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[14, 58, 19], Operations: ['26-7=19']
Exploring Operation: 19-14=5, Resulting Numbers: [58, 5]
Generated Node #0,0,0: 55:[58, 5] Operation: 19-14=5
Exploring Operation: 58-14=44, Resulting Numbers: [19, 44]
Generated Node #0,0,1: 55:[19, 44] Operation: 58-14=44
Moving to Node #0,0,0
Current State: 55:[58, 5], Operations: ['26-7=19', '19-14=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,55 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[19, 44], Operations: ['26-7=19', '58-14=44']
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,55 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 |
[
95,
87,
50,
58
] | 64 | [
"95-87=8",
"58-50=8",
"8*8=64"
] | Current State: 64:[95, 87, 50, 58], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [50, 58, 8]
Generated Node #2: [50, 58, 8] from Operation: 95-87=8
Current State: 64:[50, 58, 8], Operations: ['95-87=8']
Exploring Operation: 58-50=8, Resulting Numbers: [8, 8]
Generated Node #3: [8, 8] from Operation: 58-50=8
Current State: 64:[8, 8], Operations: ['95-87=8', '58-50=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[95, 87, 50, 58], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [50, 58, 8]
Generated Node #0,0: 64:[50, 58, 8] Operation: 95-87=8
Exploring Operation: 95-58=37, Resulting Numbers: [87, 50, 37]
Generated Node #0,1: 64:[87, 50, 37] Operation: 95-58=37
Exploring Operation: 87-58=29, Resulting Numbers: [95, 50, 29]
Generated Node #0,2: 64:[95, 50, 29] Operation: 87-58=29
Exploring Operation: 87-50=37, Resulting Numbers: [95, 58, 37]
Generated Node #0,3: 64:[95, 58, 37] Operation: 87-50=37
Exploring Operation: 95-50=45, Resulting Numbers: [87, 58, 45]
Generated Node #0,4: 64:[87, 58, 45] Operation: 95-50=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[50, 58, 8], Operations: ['95-87=8']
Exploring Operation: 50+8=58, Resulting Numbers: [58, 58]
Generated Node #0,0,0: 64:[58, 58] Operation: 50+8=58
Exploring Operation: 58-50=8, Resulting Numbers: [8, 8]
Generated Node #0,0,1: 64:[8, 8] Operation: 58-50=8
Exploring Operation: 50-8=42, Resulting Numbers: [58, 42]
Generated Node #0,0,2: 64:[58, 42] Operation: 50-8=42
Exploring Operation: 58-8=50, Resulting Numbers: [50, 50]
Generated Node #0,0,3: 64:[50, 50] Operation: 58-8=50
Exploring Operation: 58+8=66, Resulting Numbers: [50, 66]
Generated Node #0,0,4: 64:[50, 66] Operation: 58+8=66
Moving to Node #0,0,1
Current State: 64:[8, 8], Operations: ['95-87=8', '58-50=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[95, 87, 50, 58], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [50, 58, 8]
Generated Node #0,0: 64:[50, 58, 8] Operation: 95-87=8
Moving to Node #0,0
Current State: 64:[50, 58, 8], Operations: ['95-87=8']
Exploring Operation: 58-50=8, Resulting Numbers: [8, 8]
Generated Node #0,0,1: 64:[8, 8] Operation: 58-50=8
Moving to Node #0,0,1
Current State: 64:[8, 8], Operations: ['95-87=8', '58-50=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
15,
87,
35,
80
] | 70 | [
"87-80=7",
"15*7=105",
"105-35=70"
] | Current State: 70:[15, 87, 35, 80], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [15, 35, 7]
Generated Node #2: [15, 35, 7] from Operation: 87-80=7
Current State: 70:[15, 35, 7], Operations: ['87-80=7']
Exploring Operation: 15*7=105, Resulting Numbers: [35, 105]
Generated Node #3: [35, 105] from Operation: 15*7=105
Current State: 70:[35, 105], Operations: ['87-80=7', '15*7=105']
Exploring Operation: 105-35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[15, 87, 35, 80], Operations: []
Exploring Operation: 87-15=72, Resulting Numbers: [35, 80, 72]
Generated Node #0,0: 70:[35, 80, 72] Operation: 87-15=72
Exploring Operation: 87-80=7, Resulting Numbers: [15, 35, 7]
Generated Node #0,1: 70:[15, 35, 7] Operation: 87-80=7
Moving to Node #0,1
Current State: 70:[15, 35, 7], Operations: ['87-80=7']
Exploring Operation: 15-7=8, Resulting Numbers: [35, 8]
Generated Node #0,1,0: 70:[35, 8] Operation: 15-7=8
Exploring Operation: 35/7=5, Resulting Numbers: [15, 5]
Generated Node #0,1,1: 70:[15, 5] Operation: 35/7=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[35, 8], Operations: ['87-80=7', '15-7=8']
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[15, 5], Operations: ['87-80=7', '35/7=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,70 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: 70:[35, 80, 72], Operations: ['87-15=72']
Exploring Operation: 80-35=45, Resulting Numbers: [72, 45]
Generated Node #0,0,0: 70:[72, 45] Operation: 80-35=45
Exploring Operation: 80-72=8, Resulting Numbers: [35, 8]
Generated Node #0,0,1: 70:[35, 8] Operation: 80-72=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[35, 8], Operations: ['87-15=72', '80-72=8']
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,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,0
Current State: 70:[72, 45], Operations: ['87-15=72', '80-35=45']
Exploring Operation: 72+45=117, Resulting Numbers: [117]
117,70 unequal: No Solution
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,70 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 |
[
54,
6,
76,
81
] | 97 | [
"54+6=60",
"76+81=157",
"157-60=97"
] | Current State: 97:[54, 6, 76, 81], Operations: []
Exploring Operation: 54+6=60, Resulting Numbers: [76, 81, 60]
Generated Node #2: [76, 81, 60] from Operation: 54+6=60
Current State: 97:[76, 81, 60], Operations: ['54+6=60']
Exploring Operation: 76+81=157, Resulting Numbers: [60, 157]
Generated Node #3: [60, 157] from Operation: 76+81=157
Current State: 97:[60, 157], Operations: ['54+6=60', '76+81=157']
Exploring Operation: 157-60=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[54, 6, 76, 81], Operations: []
Exploring Operation: 6+81=87, Resulting Numbers: [54, 76, 87]
Generated Node #0,0: 97:[54, 76, 87] Operation: 6+81=87
Exploring Operation: 6+76=82, Resulting Numbers: [54, 81, 82]
Generated Node #0,1: 97:[54, 81, 82] Operation: 6+76=82
Exploring Operation: 54-6=48, Resulting Numbers: [76, 81, 48]
Generated Node #0,2: 97:[76, 81, 48] Operation: 54-6=48
Exploring Operation: 54+6=60, Resulting Numbers: [76, 81, 60]
Generated Node #0,3: 97:[76, 81, 60] Operation: 54+6=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[54, 76, 87], Operations: ['6+81=87']
Exploring Operation: 54+87=141, Resulting Numbers: [76, 141]
Generated Node #0,0,0: 97:[76, 141] Operation: 54+87=141
Exploring Operation: 76-54=22, Resulting Numbers: [87, 22]
Generated Node #0,0,1: 97:[87, 22] Operation: 76-54=22
Exploring Operation: 87-54=33, Resulting Numbers: [76, 33]
Generated Node #0,0,2: 97:[76, 33] Operation: 87-54=33
Exploring Operation: 54+76=130, Resulting Numbers: [87, 130]
Generated Node #0,0,3: 97:[87, 130] Operation: 54+76=130
Moving to Node #0,0,3
Current State: 97:[87, 130], Operations: ['6+81=87', '54+76=130']
Exploring Operation: 87+130=217, Resulting Numbers: [217]
217,97 unequal: No Solution
Exploring Operation: 130-87=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 87*130=11310, Resulting Numbers: [11310]
11310,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[76, 141], Operations: ['6+81=87', '54+87=141']
Exploring Operation: 141-76=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 76*141=10716, Resulting Numbers: [10716]
10716,97 unequal: No Solution
Exploring Operation: 76+141=217, Resulting Numbers: [217]
217,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[76, 33], Operations: ['6+81=87', '87-54=33']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 76*33=2508, Resulting Numbers: [2508]
2508,97 unequal: No Solution
Exploring Operation: 76+33=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[87, 22], Operations: ['6+81=87', '76-54=22']
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,97 unequal: No Solution
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[54, 81, 82], Operations: ['6+76=82']
Exploring Operation: 54+82=136, Resulting Numbers: [81, 136]
Generated Node #0,1,0: 97:[81, 136] Operation: 54+82=136
Exploring Operation: 82-54=28, Resulting Numbers: [81, 28]
Generated Node #0,1,1: 97:[81, 28] Operation: 82-54=28
Exploring Operation: 54+81=135, Resulting Numbers: [82, 135]
Generated Node #0,1,2: 97:[82, 135] Operation: 54+81=135
Exploring Operation: 81-54=27, Resulting Numbers: [82, 27]
Generated Node #0,1,3: 97:[82, 27] Operation: 81-54=27
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[82, 135], Operations: ['6+76=82', '54+81=135']
Exploring Operation: 82+135=217, Resulting Numbers: [217]
217,97 unequal: No Solution
Exploring Operation: 135-82=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 82*135=11070, Resulting Numbers: [11070]
11070,97 unequal: No Solution
No 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: 97:[81, 136], Operations: ['6+76=82', '54+82=136']
Exploring Operation: 136-81=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 81*136=11016, Resulting Numbers: [11016]
11016,97 unequal: No Solution
Exploring Operation: 81+136=217, Resulting Numbers: [217]
217,97 unequal: No Solution
No 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: 97:[81, 28], Operations: ['6+76=82', '82-54=28']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 81*28=2268, Resulting Numbers: [2268]
2268,97 unequal: No Solution
Exploring Operation: 81+28=109, Resulting Numbers: [109]
109,97 unequal: No Solution
No 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: 97:[82, 27], Operations: ['6+76=82', '81-54=27']
Exploring Operation: 82*27=2214, Resulting Numbers: [2214]
2214,97 unequal: No Solution
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 82+27=109, Resulting Numbers: [109]
109,97 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: 97:[76, 81, 60], Operations: ['54+6=60']
Exploring Operation: 76-60=16, Resulting Numbers: [81, 16]
Generated Node #0,3,0: 97:[81, 16] Operation: 76-60=16
Exploring Operation: 76+60=136, Resulting Numbers: [81, 136]
Generated Node #0,3,1: 97:[81, 136] Operation: 76+60=136
Exploring Operation: 76+81=157, Resulting Numbers: [60, 157]
Generated Node #0,3,2: 97:[60, 157] Operation: 76+81=157
Exploring Operation: 81+60=141, Resulting Numbers: [76, 141]
Generated Node #0,3,3: 97:[76, 141] Operation: 81+60=141
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 97:[81, 136], Operations: ['54+6=60', '76+60=136']
Exploring Operation: 81+136=217, Resulting Numbers: [217]
217,97 unequal: No Solution
Exploring Operation: 136-81=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 81*136=11016, Resulting Numbers: [11016]
11016,97 unequal: No Solution
No 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: 97:[76, 141], Operations: ['54+6=60', '81+60=141']
Exploring Operation: 76*141=10716, Resulting Numbers: [10716]
10716,97 unequal: No Solution
Exploring Operation: 141-76=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 76+141=217, Resulting Numbers: [217]
217,97 unequal: No Solution
No 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: 97:[81, 16], Operations: ['54+6=60', '76-60=16']
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[54, 6, 76, 81], Operations: []
Exploring Operation: 54+6=60, Resulting Numbers: [76, 81, 60]
Generated Node #0,3: 97:[76, 81, 60] Operation: 54+6=60
Moving to Node #0,3
Current State: 97:[76, 81, 60], Operations: ['54+6=60']
Exploring Operation: 76-60=16, Resulting Numbers: [81, 16]
Generated Node #0,3,0: 97:[81, 16] Operation: 76-60=16
Moving to Node #0,3,0
Current State: 97:[81, 16], Operations: ['54+6=60', '76-60=16']
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.955729 | hs_4 | sum_heuristic |
[
8,
98,
97,
98
] | 89 | [
"8+98=106",
"97+98=195",
"195-106=89"
] | Current State: 89:[8, 98, 97, 98], Operations: []
Exploring Operation: 8+98=106, Resulting Numbers: [97, 106]
Generated Node #2: [97, 106] from Operation: 8+98=106
Current State: 89:[97, 106], Operations: ['8+98=106']
Exploring Operation: 97+98=195, Resulting Numbers: [106, 195]
Generated Node #3: [106, 195] from Operation: 97+98=195
Current State: 89:[106, 195], Operations: ['8+98=106', '97+98=195']
Exploring Operation: 195-106=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[8, 98, 97, 98], Operations: []
Exploring Operation: 98-8=90, Resulting Numbers: [98, 97, 90]
Generated Node #0,0: 89:[98, 97, 90] Operation: 98-8=90
Exploring Operation: 98-8=90, Resulting Numbers: [97, 98, 90]
Generated Node #0,1: 89:[97, 98, 90] Operation: 98-8=90
Exploring Operation: 8+98=106, Resulting Numbers: [97, 98, 106]
Generated Node #0,2: 89:[97, 98, 106] Operation: 8+98=106
Exploring Operation: 97-8=89, Resulting Numbers: [98, 98, 89]
Generated Node #0,3: 89:[98, 98, 89] Operation: 97-8=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[98, 97, 90], Operations: ['98-8=90']
Exploring Operation: 97-90=7, Resulting Numbers: [98, 7]
Generated Node #0,0,0: 89:[98, 7] Operation: 97-90=7
Exploring Operation: 98+97=195, Resulting Numbers: [90, 195]
Generated Node #0,0,1: 89:[90, 195] Operation: 98+97=195
Exploring Operation: 98-90=8, Resulting Numbers: [97, 8]
Generated Node #0,0,2: 89:[97, 8] Operation: 98-90=8
Exploring Operation: 98-97=1, Resulting Numbers: [90, 1]
Generated Node #0,0,3: 89:[90, 1] Operation: 98-97=1
Moving to Node #0,0,2
Current State: 89:[97, 8], Operations: ['98-8=90', '98-90=8']
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[8, 98, 97, 98], Operations: []
Exploring Operation: 98-8=90, Resulting Numbers: [98, 97, 90]
Generated Node #0,0: 89:[98, 97, 90] Operation: 98-8=90
Moving to Node #0,0
Current State: 89:[98, 97, 90], Operations: ['98-8=90']
Exploring Operation: 98-90=8, Resulting Numbers: [97, 8]
Generated Node #0,0,2: 89:[97, 8] Operation: 98-90=8
Moving to Node #0,0,2
Current State: 89:[97, 8], Operations: ['98-8=90', '98-90=8']
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
9,
14,
44,
27
] | 94 | [
"9+14=23",
"44+27=71",
"23+71=94"
] | Current State: 94:[9, 14, 44, 27], Operations: []
Exploring Operation: 9+14=23, Resulting Numbers: [44, 27, 23]
Generated Node #2: [44, 27, 23] from Operation: 9+14=23
Current State: 94:[44, 27, 23], Operations: ['9+14=23']
Exploring Operation: 44+27=71, Resulting Numbers: [23, 71]
Generated Node #3: [23, 71] from Operation: 44+27=71
Current State: 94:[23, 71], Operations: ['9+14=23', '44+27=71']
Exploring Operation: 23+71=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[9, 14, 44, 27], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [14, 44, 3]
Generated Node #0,0: 94:[14, 44, 3] Operation: 27/9=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[14, 44, 3], Operations: ['27/9=3']
Exploring Operation: 14*3=42, Resulting Numbers: [44, 42]
Generated Node #0,0,0: 94:[44, 42] Operation: 14*3=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[44, 42], Operations: ['27/9=3', '14*3=42']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
80,
17,
32,
45
] | 35 | [
"32*45=1440",
"1440/80=18",
"17+18=35"
] | Current State: 35:[80, 17, 32, 45], Operations: []
Exploring Operation: 32*45=1440, Resulting Numbers: [80, 17, 1440]
Generated Node #2: [80, 17, 1440] from Operation: 32*45=1440
Current State: 35:[80, 17, 1440], Operations: ['32*45=1440']
Exploring Operation: 1440/80=18, Resulting Numbers: [17, 18]
Generated Node #3: [17, 18] from Operation: 1440/80=18
Current State: 35:[17, 18], Operations: ['32*45=1440', '1440/80=18']
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[80, 17, 32, 45], Operations: []
Exploring Operation: 80-32=48, Resulting Numbers: [17, 45, 48]
Generated Node #0,0: 35:[17, 45, 48] Operation: 80-32=48
Exploring Operation: 80-17=63, Resulting Numbers: [32, 45, 63]
Generated Node #0,1: 35:[32, 45, 63] Operation: 80-17=63
Exploring Operation: 80-45=35, Resulting Numbers: [17, 32, 35]
Generated Node #0,2: 35:[17, 32, 35] Operation: 80-45=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[17, 32, 35], Operations: ['80-45=35']
Exploring Operation: 17+32=49, Resulting Numbers: [35, 49]
Generated Node #0,2,0: 35:[35, 49] Operation: 17+32=49
Exploring Operation: 35-32=3, Resulting Numbers: [17, 3]
Generated Node #0,2,1: 35:[17, 3] Operation: 35-32=3
Exploring Operation: 32-17=15, Resulting Numbers: [35, 15]
Generated Node #0,2,2: 35:[35, 15] Operation: 32-17=15
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[35, 15], Operations: ['80-45=35', '32-17=15']
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 35*15=525, Resulting Numbers: [525]
525,35 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[17, 3], Operations: ['80-45=35', '35-32=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[35, 49], Operations: ['80-45=35', '17+32=49']
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 35+49=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 35*49=1715, Resulting Numbers: [1715]
1715,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[17, 45, 48], Operations: ['80-32=48']
Exploring Operation: 45-17=28, Resulting Numbers: [48, 28]
Generated Node #0,0,0: 35:[48, 28] Operation: 45-17=28
Exploring Operation: 48-45=3, Resulting Numbers: [17, 3]
Generated Node #0,0,1: 35:[17, 3] Operation: 48-45=3
Exploring Operation: 48-17=31, Resulting Numbers: [45, 31]
Generated Node #0,0,2: 35:[45, 31] Operation: 48-17=31
Moving to Node #0,0,1
Current State: 35:[17, 3], Operations: ['80-32=48', '48-45=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[45, 31], Operations: ['80-32=48', '48-17=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,35 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[48, 28], Operations: ['80-32=48', '45-17=28']
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,35 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,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
Current State: 35:[32, 45, 63], Operations: ['80-17=63']
Exploring Operation: 45-32=13, Resulting Numbers: [63, 13]
Generated Node #0,1,0: 35:[63, 13] Operation: 45-32=13
Exploring Operation: 63-32=31, Resulting Numbers: [45, 31]
Generated Node #0,1,1: 35:[45, 31] Operation: 63-32=31
Exploring Operation: 63-45=18, Resulting Numbers: [32, 18]
Generated Node #0,1,2: 35:[32, 18] Operation: 63-45=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[45, 31], Operations: ['80-17=63', '63-32=31']
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,35 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 35:[32, 18], Operations: ['80-17=63', '63-45=18']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[63, 13], Operations: ['80-17=63', '45-32=13']
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 63*13=819, Resulting Numbers: [819]
819,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
85,
15,
69,
64
] | 33 | [
"85+15=100",
"69+64=133",
"133-100=33"
] | Current State: 33:[85, 15, 69, 64], Operations: []
Exploring Operation: 85+15=100, Resulting Numbers: [69, 64, 100]
Generated Node #2: [69, 64, 100] from Operation: 85+15=100
Current State: 33:[69, 64, 100], Operations: ['85+15=100']
Exploring Operation: 69+64=133, Resulting Numbers: [100, 133]
Generated Node #3: [100, 133] from Operation: 69+64=133
Current State: 33:[100, 133], Operations: ['85+15=100', '69+64=133']
Exploring Operation: 133-100=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[85, 15, 69, 64], Operations: []
Exploring Operation: 85-69=16, Resulting Numbers: [15, 64, 16]
Generated Node #0,0: 33:[15, 64, 16] Operation: 85-69=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[15, 64, 16], Operations: ['85-69=16']
Exploring Operation: 64/16=4, Resulting Numbers: [15, 4]
Generated Node #0,0,0: 33:[15, 4] Operation: 64/16=4
Moving to Node #0,0,0
Current State: 33:[15, 4], Operations: ['85-69=16', '64/16=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,33 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 |
[
64,
81,
94,
31
] | 81 | [
"94-64=30",
"31-30=1",
"81*1=81"
] | Current State: 81:[64, 81, 94, 31], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [81, 31, 30]
Generated Node #2: [81, 31, 30] from Operation: 94-64=30
Current State: 81:[81, 31, 30], Operations: ['94-64=30']
Exploring Operation: 31-30=1, Resulting Numbers: [81, 1]
Generated Node #3: [81, 1] from Operation: 31-30=1
Current State: 81:[81, 1], Operations: ['94-64=30', '31-30=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[64, 81, 94, 31], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [81, 31, 30]
Generated Node #0,0: 81:[81, 31, 30] Operation: 94-64=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[81, 31, 30], Operations: ['94-64=30']
Exploring Operation: 31-30=1, Resulting Numbers: [81, 1]
Generated Node #0,0,0: 81:[81, 1] Operation: 31-30=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[81, 1], Operations: ['94-64=30', '31-30=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[64, 81, 94, 31], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [81, 31, 30]
Generated Node #0,0: 81:[81, 31, 30] Operation: 94-64=30
Moving to Node #0,0
Current State: 81:[81, 31, 30], Operations: ['94-64=30']
Exploring Operation: 31-30=1, Resulting Numbers: [81, 1]
Generated Node #0,0,0: 81:[81, 1] Operation: 31-30=1
Moving to Node #0,0,0
Current State: 81:[81, 1], Operations: ['94-64=30', '31-30=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
7,
10,
9,
57
] | 83 | [
"7+10=17",
"9+57=66",
"17+66=83"
] | Current State: 83:[7, 10, 9, 57], Operations: []
Exploring Operation: 7+10=17, Resulting Numbers: [9, 57, 17]
Generated Node #2: [9, 57, 17] from Operation: 7+10=17
Current State: 83:[9, 57, 17], Operations: ['7+10=17']
Exploring Operation: 9+57=66, Resulting Numbers: [17, 66]
Generated Node #3: [17, 66] from Operation: 9+57=66
Current State: 83:[17, 66], Operations: ['7+10=17', '9+57=66']
Exploring Operation: 17+66=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[7, 10, 9, 57], Operations: []
Exploring Operation: 10*9=90, Resulting Numbers: [7, 57, 90]
Generated Node #0,0: 83:[7, 57, 90] Operation: 10*9=90
Exploring Operation: 7+9=16, Resulting Numbers: [10, 57, 16]
Generated Node #0,1: 83:[10, 57, 16] Operation: 7+9=16
Exploring Operation: 7+10=17, Resulting Numbers: [9, 57, 17]
Generated Node #0,2: 83:[9, 57, 17] Operation: 7+10=17
Exploring Operation: 7*10=70, Resulting Numbers: [9, 57, 70]
Generated Node #0,3: 83:[9, 57, 70] Operation: 7*10=70
Exploring Operation: 7*9=63, Resulting Numbers: [10, 57, 63]
Generated Node #0,4: 83:[10, 57, 63] Operation: 7*9=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[7, 57, 90], Operations: ['10*9=90']
Exploring Operation: 57-7=50, Resulting Numbers: [90, 50]
Generated Node #0,0,0: 83:[90, 50] Operation: 57-7=50
Exploring Operation: 90-57=33, Resulting Numbers: [7, 33]
Generated Node #0,0,1: 83:[7, 33] Operation: 90-57=33
Exploring Operation: 7+90=97, Resulting Numbers: [57, 97]
Generated Node #0,0,2: 83:[57, 97] Operation: 7+90=97
Exploring Operation: 7+57=64, Resulting Numbers: [90, 64]
Generated Node #0,0,3: 83:[90, 64] Operation: 7+57=64
Exploring Operation: 90-7=83, Resulting Numbers: [57, 83]
Generated Node #0,0,4: 83:[57, 83] Operation: 90-7=83
Moving to Node #0,0,3
Current State: 83:[90, 64], Operations: ['10*9=90', '7+57=64']
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 90+64=154, Resulting Numbers: [154]
154,83 unequal: No Solution
Exploring Operation: 90*64=5760, Resulting Numbers: [5760]
5760,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[57, 83], Operations: ['10*9=90', '90-7=83']
Exploring Operation: 57+83=140, Resulting Numbers: [140]
140,83 unequal: No Solution
Exploring Operation: 57*83=4731, Resulting Numbers: [4731]
4731,83 unequal: No Solution
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[90, 50], Operations: ['10*9=90', '57-7=50']
Exploring Operation: 90*50=4500, Resulting Numbers: [4500]
4500,83 unequal: No Solution
Exploring Operation: 90+50=140, Resulting Numbers: [140]
140,83 unequal: No Solution
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[57, 97], Operations: ['10*9=90', '7+90=97']
Exploring Operation: 57+97=154, Resulting Numbers: [154]
154,83 unequal: No Solution
Exploring Operation: 57*97=5529, Resulting Numbers: [5529]
5529,83 unequal: No Solution
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[7, 33], Operations: ['10*9=90', '90-57=33']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[9, 57, 70], Operations: ['7*10=70']
Exploring Operation: 9+70=79, Resulting Numbers: [57, 79]
Generated Node #0,3,0: 83:[57, 79] Operation: 9+70=79
Exploring Operation: 70-9=61, Resulting Numbers: [57, 61]
Generated Node #0,3,1: 83:[57, 61] Operation: 70-9=61
Exploring Operation: 57-9=48, Resulting Numbers: [70, 48]
Generated Node #0,3,2: 83:[70, 48] Operation: 57-9=48
Exploring Operation: 9+57=66, Resulting Numbers: [70, 66]
Generated Node #0,3,3: 83:[70, 66] Operation: 9+57=66
Exploring Operation: 57+70=127, Resulting Numbers: [9, 127]
Generated Node #0,3,4: 83:[9, 127] Operation: 57+70=127
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 83:[57, 79], Operations: ['7*10=70', '9+70=79']
Exploring Operation: 57*79=4503, Resulting Numbers: [4503]
4503,83 unequal: No Solution
Exploring Operation: 57+79=136, Resulting Numbers: [136]
136,83 unequal: No Solution
Exploring Operation: 79-57=22, Resulting Numbers: [22]
22,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 83:[70, 66], Operations: ['7*10=70', '9+57=66']
Exploring Operation: 70+66=136, Resulting Numbers: [136]
136,83 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 70*66=4620, Resulting Numbers: [4620]
4620,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 83:[57, 61], Operations: ['7*10=70', '70-9=61']
Exploring Operation: 57*61=3477, Resulting Numbers: [3477]
3477,83 unequal: No Solution
Exploring Operation: 57+61=118, Resulting Numbers: [118]
118,83 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 83:[70, 48], Operations: ['7*10=70', '57-9=48']
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 70+48=118, Resulting Numbers: [118]
118,83 unequal: No Solution
Exploring Operation: 70*48=3360, Resulting Numbers: [3360]
3360,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 83:[9, 127], Operations: ['7*10=70', '57+70=127']
Exploring Operation: 9+127=136, Resulting Numbers: [136]
136,83 unequal: No Solution
Exploring Operation: 127-9=118, Resulting Numbers: [118]
118,83 unequal: No Solution
Exploring Operation: 9*127=1143, Resulting Numbers: [1143]
1143,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 83:[10, 57, 63], Operations: ['7*9=63']
Exploring Operation: 10+57=67, Resulting Numbers: [63, 67]
Generated Node #0,4,0: 83:[63, 67] Operation: 10+57=67
Exploring Operation: 10+63=73, Resulting Numbers: [57, 73]
Generated Node #0,4,1: 83:[57, 73] Operation: 10+63=73
Exploring Operation: 57+63=120, Resulting Numbers: [10, 120]
Generated Node #0,4,2: 83:[10, 120] Operation: 57+63=120
Exploring Operation: 63-10=53, Resulting Numbers: [57, 53]
Generated Node #0,4,3: 83:[57, 53] Operation: 63-10=53
Exploring Operation: 57-10=47, Resulting Numbers: [63, 47]
Generated Node #0,4,4: 83:[63, 47] Operation: 57-10=47
Moving to Node #0,4,0
Current State: 83:[63, 67], Operations: ['7*9=63', '10+57=67']
Exploring Operation: 63*67=4221, Resulting Numbers: [4221]
4221,83 unequal: No Solution
Exploring Operation: 63+67=130, Resulting Numbers: [130]
130,83 unequal: No Solution
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[57, 73], Operations: ['7*9=63', '10+63=73']
Exploring Operation: 57+73=130, Resulting Numbers: [130]
130,83 unequal: No Solution
Exploring Operation: 57*73=4161, Resulting Numbers: [4161]
4161,83 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Moving to Node #0,4,3
Current State: 83:[57, 53], Operations: ['7*9=63', '63-10=53']
Exploring Operation: 57+53=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 57*53=3021, Resulting Numbers: [3021]
3021,83 unequal: No Solution
Moving to Node #0,4,4
Current State: 83:[63, 47], Operations: ['7*9=63', '57-10=47']
Exploring Operation: 63+47=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 63*47=2961, Resulting Numbers: [2961]
2961,83 unequal: No Solution
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[10, 120], Operations: ['7*9=63', '57+63=120']
Exploring Operation: 120-10=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 120/10=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 10*120=1200, Resulting Numbers: [1200]
1200,83 unequal: No Solution
Exploring Operation: 10+120=130, Resulting Numbers: [130]
130,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[10, 57, 16], Operations: ['7+9=16']
Exploring Operation: 57-10=47, Resulting Numbers: [16, 47]
Generated Node #0,1,0: 83:[16, 47] Operation: 57-10=47
Exploring Operation: 10+57=67, Resulting Numbers: [16, 67]
Generated Node #0,1,1: 83:[16, 67] Operation: 10+57=67
Exploring Operation: 57+16=73, Resulting Numbers: [10, 73]
Generated Node #0,1,2: 83:[10, 73] Operation: 57+16=73
Exploring Operation: 10+16=26, Resulting Numbers: [57, 26]
Generated Node #0,1,3: 83:[57, 26] Operation: 10+16=26
Exploring Operation: 10*16=160, Resulting Numbers: [57, 160]
Generated Node #0,1,4: 83:[57, 160] Operation: 10*16=160
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[16, 67], Operations: ['7+9=16', '10+57=67']
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[7, 10, 9, 57], Operations: []
Exploring Operation: 7+9=16, Resulting Numbers: [10, 57, 16]
Generated Node #0,1: 83:[10, 57, 16] Operation: 7+9=16
Moving to Node #0,1
Current State: 83:[10, 57, 16], Operations: ['7+9=16']
Exploring Operation: 10+57=67, Resulting Numbers: [16, 67]
Generated Node #0,1,1: 83:[16, 67] Operation: 10+57=67
Moving to Node #0,1,1
Current State: 83:[16, 67], Operations: ['7+9=16', '10+57=67']
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.934028 | hs_5 | sum_heuristic |
[
64,
35,
37,
21
] | 31 | [
"37-21=16",
"64/16=4",
"35-4=31"
] | Current State: 31:[64, 35, 37, 21], Operations: []
Exploring Operation: 37-21=16, Resulting Numbers: [64, 35, 16]
Generated Node #2: [64, 35, 16] from Operation: 37-21=16
Current State: 31:[64, 35, 16], Operations: ['37-21=16']
Exploring Operation: 64/16=4, Resulting Numbers: [35, 4]
Generated Node #3: [35, 4] from Operation: 64/16=4
Current State: 31:[35, 4], Operations: ['37-21=16', '64/16=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[64, 35, 37, 21], Operations: []
Exploring Operation: 37-21=16, Resulting Numbers: [64, 35, 16]
Generated Node #0,0: 31:[64, 35, 16] Operation: 37-21=16
Exploring Operation: 35-21=14, Resulting Numbers: [64, 37, 14]
Generated Node #0,1: 31:[64, 37, 14] Operation: 35-21=14
Exploring Operation: 64-37=27, Resulting Numbers: [35, 21, 27]
Generated Node #0,2: 31:[35, 21, 27] Operation: 64-37=27
Exploring Operation: 64-35=29, Resulting Numbers: [37, 21, 29]
Generated Node #0,3: 31:[37, 21, 29] Operation: 64-35=29
Exploring Operation: 64-21=43, Resulting Numbers: [35, 37, 43]
Generated Node #0,4: 31:[35, 37, 43] Operation: 64-21=43
Moving to Node #0,2
Current State: 31:[35, 21, 27], Operations: ['64-37=27']
Exploring Operation: 35+21=56, Resulting Numbers: [27, 56]
Generated Node #0,2,0: 31:[27, 56] Operation: 35+21=56
Exploring Operation: 35-21=14, Resulting Numbers: [27, 14]
Generated Node #0,2,1: 31:[27, 14] Operation: 35-21=14
Exploring Operation: 27-21=6, Resulting Numbers: [35, 6]
Generated Node #0,2,2: 31:[35, 6] Operation: 27-21=6
Exploring Operation: 35-27=8, Resulting Numbers: [21, 8]
Generated Node #0,2,3: 31:[21, 8] Operation: 35-27=8
Exploring Operation: 21+27=48, Resulting Numbers: [35, 48]
Generated Node #0,2,4: 31:[35, 48] Operation: 21+27=48
Moving to Node #0,3
Current State: 31:[37, 21, 29], Operations: ['64-35=29']
Exploring Operation: 37-29=8, Resulting Numbers: [21, 8]
Generated Node #0,3,0: 31:[21, 8] Operation: 37-29=8
Exploring Operation: 37+21=58, Resulting Numbers: [29, 58]
Generated Node #0,3,1: 31:[29, 58] Operation: 37+21=58
Exploring Operation: 29-21=8, Resulting Numbers: [37, 8]
Generated Node #0,3,2: 31:[37, 8] Operation: 29-21=8
Exploring Operation: 21+29=50, Resulting Numbers: [37, 50]
Generated Node #0,3,3: 31:[37, 50] Operation: 21+29=50
Exploring Operation: 37-21=16, Resulting Numbers: [29, 16]
Generated Node #0,3,4: 31:[29, 16] Operation: 37-21=16
Moving to Node #0,4
Current State: 31:[35, 37, 43], Operations: ['64-21=43']
Exploring Operation: 35+43=78, Resulting Numbers: [37, 78]
Generated Node #0,4,0: 31:[37, 78] Operation: 35+43=78
Exploring Operation: 37-35=2, Resulting Numbers: [43, 2]
Generated Node #0,4,1: 31:[43, 2] Operation: 37-35=2
Exploring Operation: 43-35=8, Resulting Numbers: [37, 8]
Generated Node #0,4,2: 31:[37, 8] Operation: 43-35=8
Exploring Operation: 35+37=72, Resulting Numbers: [43, 72]
Generated Node #0,4,3: 31:[43, 72] Operation: 35+37=72
Exploring Operation: 43-37=6, Resulting Numbers: [35, 6]
Generated Node #0,4,4: 31:[35, 6] Operation: 43-37=6
Moving to Node #0,0
Current State: 31:[64, 35, 16], Operations: ['37-21=16']
Exploring Operation: 64+16=80, Resulting Numbers: [35, 80]
Generated Node #0,0,0: 31:[35, 80] Operation: 64+16=80
Exploring Operation: 64/16=4, Resulting Numbers: [35, 4]
Generated Node #0,0,1: 31:[35, 4] Operation: 64/16=4
Exploring Operation: 64-35=29, Resulting Numbers: [16, 29]
Generated Node #0,0,2: 31:[16, 29] Operation: 64-35=29
Exploring Operation: 35-16=19, Resulting Numbers: [64, 19]
Generated Node #0,0,3: 31:[64, 19] Operation: 35-16=19
Exploring Operation: 64-16=48, Resulting Numbers: [35, 48]
Generated Node #0,0,4: 31:[35, 48] Operation: 64-16=48
Moving to Node #0,1
Current State: 31:[64, 37, 14], Operations: ['35-21=14']
Exploring Operation: 37-14=23, Resulting Numbers: [64, 23]
Generated Node #0,1,0: 31:[64, 23] Operation: 37-14=23
Exploring Operation: 64-37=27, Resulting Numbers: [14, 27]
Generated Node #0,1,1: 31:[14, 27] Operation: 64-37=27
Exploring Operation: 37+14=51, Resulting Numbers: [64, 51]
Generated Node #0,1,2: 31:[64, 51] Operation: 37+14=51
Exploring Operation: 64-14=50, Resulting Numbers: [37, 50]
Generated Node #0,1,3: 31:[37, 50] Operation: 64-14=50
Exploring Operation: 64+14=78, Resulting Numbers: [37, 78]
Generated Node #0,1,4: 31:[37, 78] Operation: 64+14=78
Moving to Node #0,3,4
Current State: 31:[29, 16], Operations: ['64-35=29', '37-21=16']
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,31 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[16, 29], Operations: ['37-21=16', '64-35=29']
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,31 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[27, 14], Operations: ['64-37=27', '35-21=14']
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[14, 27], Operations: ['35-21=14', '64-37=27']
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,31 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[35, 48], Operations: ['64-37=27', '21+27=48']
Exploring Operation: 35*48=1680, Resulting Numbers: [1680]
1680,31 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Exploring Operation: 35+48=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[35, 48], Operations: ['37-21=16', '64-16=48']
Exploring Operation: 35*48=1680, Resulting Numbers: [1680]
1680,31 unequal: No Solution
Exploring Operation: 35+48=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[37, 50], Operations: ['64-35=29', '21+29=50']
Exploring Operation: 37+50=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Exploring Operation: 37*50=1850, Resulting Numbers: [1850]
1850,31 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[37, 50], Operations: ['35-21=14', '64-14=50']
Exploring Operation: 37*50=1850, Resulting Numbers: [1850]
1850,31 unequal: No Solution
Exploring Operation: 37+50=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[27, 56], Operations: ['64-37=27', '35+21=56']
Exploring Operation: 27+56=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Exploring Operation: 27*56=1512, Resulting Numbers: [1512]
1512,31 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[35, 6], Operations: ['64-21=43', '43-37=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,31 unequal: No Solution
Moving to Node #0,4,2
Current State: 31:[37, 8], Operations: ['64-21=43', '43-35=8']
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,31 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[37, 8], Operations: ['64-35=29', '29-21=8']
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,31 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[35, 6], Operations: ['64-37=27', '27-21=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,31 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[29, 58], Operations: ['64-35=29', '37+21=58']
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 29*58=1682, Resulting Numbers: [1682]
1682,31 unequal: No Solution
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 29+58=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[35, 4], Operations: ['37-21=16', '64/16=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,31 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[64, 35, 37, 21], Operations: []
Exploring Operation: 37-21=16, Resulting Numbers: [64, 35, 16]
Generated Node #0,0: 31:[64, 35, 16] Operation: 37-21=16
Moving to Node #0,0
Current State: 31:[64, 35, 16], Operations: ['37-21=16']
Exploring Operation: 64/16=4, Resulting Numbers: [35, 4]
Generated Node #0,0,1: 31:[35, 4] Operation: 64/16=4
Moving to Node #0,0,1
Current State: 31:[35, 4], Operations: ['37-21=16', '64/16=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.930556 | hs_5 | sum_heuristic |
[
15,
30,
71,
13
] | 94 | [
"15*13=195",
"30+71=101",
"195-101=94"
] | Current State: 94:[15, 30, 71, 13], Operations: []
Exploring Operation: 15*13=195, Resulting Numbers: [30, 71, 195]
Generated Node #2: [30, 71, 195] from Operation: 15*13=195
Current State: 94:[30, 71, 195], Operations: ['15*13=195']
Exploring Operation: 30+71=101, Resulting Numbers: [195, 101]
Generated Node #3: [195, 101] from Operation: 30+71=101
Current State: 94:[195, 101], Operations: ['15*13=195', '30+71=101']
Exploring Operation: 195-101=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[15, 30, 71, 13], Operations: []
Exploring Operation: 15+30=45, Resulting Numbers: [71, 13, 45]
Generated Node #0,0: 94:[71, 13, 45] Operation: 15+30=45
Exploring Operation: 30/15=2, Resulting Numbers: [71, 13, 2]
Generated Node #0,1: 94:[71, 13, 2] Operation: 30/15=2
Exploring Operation: 71-30=41, Resulting Numbers: [15, 13, 41]
Generated Node #0,2: 94:[15, 13, 41] Operation: 71-30=41
Exploring Operation: 30+71=101, Resulting Numbers: [15, 13, 101]
Generated Node #0,3: 94:[15, 13, 101] Operation: 30+71=101
Moving to Node #0,2
Current State: 94:[15, 13, 41], Operations: ['71-30=41']
Exploring Operation: 13+41=54, Resulting Numbers: [15, 54]
Generated Node #0,2,0: 94:[15, 54] Operation: 13+41=54
Exploring Operation: 15+41=56, Resulting Numbers: [13, 56]
Generated Node #0,2,1: 94:[13, 56] Operation: 15+41=56
Exploring Operation: 15+13=28, Resulting Numbers: [41, 28]
Generated Node #0,2,2: 94:[41, 28] Operation: 15+13=28
Exploring Operation: 15-13=2, Resulting Numbers: [41, 2]
Generated Node #0,2,3: 94:[41, 2] Operation: 15-13=2
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[41, 2], Operations: ['71-30=41', '15-13=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,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:[15, 54], Operations: ['71-30=41', '13+41=54']
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 15*54=810, Resulting Numbers: [810]
810,94 unequal: No Solution
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,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:[13, 56], Operations: ['71-30=41', '15+41=56']
Exploring Operation: 13+56=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 13*56=728, Resulting Numbers: [728]
728,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:[41, 28], Operations: ['71-30=41', '15+13=28']
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,94 unequal: No Solution
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,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:[15, 13, 101], Operations: ['30+71=101']
Exploring Operation: 15+13=28, Resulting Numbers: [101, 28]
Generated Node #0,3,0: 94:[101, 28] Operation: 15+13=28
Exploring Operation: 101-15=86, Resulting Numbers: [13, 86]
Generated Node #0,3,1: 94:[13, 86] Operation: 101-15=86
Exploring Operation: 101-13=88, Resulting Numbers: [15, 88]
Generated Node #0,3,2: 94:[15, 88] Operation: 101-13=88
Exploring Operation: 15-13=2, Resulting Numbers: [101, 2]
Generated Node #0,3,3: 94:[101, 2] Operation: 15-13=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 94:[101, 2], Operations: ['30+71=101', '15-13=2']
Exploring Operation: 101+2=103, Resulting Numbers: [103]
103,94 unequal: No Solution
Exploring Operation: 101*2=202, Resulting Numbers: [202]
202,94 unequal: No Solution
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,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,3,1
Current State: 94:[13, 86], Operations: ['30+71=101', '101-15=86']
Exploring Operation: 13*86=1118, Resulting Numbers: [1118]
1118,94 unequal: No Solution
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 13+86=99, Resulting Numbers: [99]
99,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,3,2
Current State: 94:[15, 88], Operations: ['30+71=101', '101-13=88']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 15+88=103, Resulting Numbers: [103]
103,94 unequal: No Solution
Exploring Operation: 15*88=1320, Resulting Numbers: [1320]
1320,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,3,0
Current State: 94:[101, 28], Operations: ['30+71=101', '15+13=28']
Exploring Operation: 101*28=2828, Resulting Numbers: [2828]
2828,94 unequal: No Solution
Exploring Operation: 101-28=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 101+28=129, Resulting Numbers: [129]
129,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:[71, 13, 2], Operations: ['30/15=2']
Exploring Operation: 13-2=11, Resulting Numbers: [71, 11]
Generated Node #0,1,0: 94:[71, 11] Operation: 13-2=11
Exploring Operation: 71+2=73, Resulting Numbers: [13, 73]
Generated Node #0,1,1: 94:[13, 73] Operation: 71+2=73
Exploring Operation: 71-13=58, Resulting Numbers: [2, 58]
Generated Node #0,1,2: 94:[2, 58] Operation: 71-13=58
Exploring Operation: 71+13=84, Resulting Numbers: [2, 84]
Generated Node #0,1,3: 94:[2, 84] Operation: 71+13=84
Moving to Node #0,0
Current State: 94:[71, 13, 45], Operations: ['15+30=45']
Exploring Operation: 71-13=58, Resulting Numbers: [45, 58]
Generated Node #0,0,0: 94:[45, 58] Operation: 71-13=58
Exploring Operation: 71-45=26, Resulting Numbers: [13, 26]
Generated Node #0,0,1: 94:[13, 26] Operation: 71-45=26
Exploring Operation: 71+45=116, Resulting Numbers: [13, 116]
Generated Node #0,0,2: 94:[13, 116] Operation: 71+45=116
Exploring Operation: 71+13=84, Resulting Numbers: [45, 84]
Generated Node #0,0,3: 94:[45, 84] Operation: 71+13=84
Moving to Node #0,1,3
Current State: 94:[2, 84], Operations: ['30/15=2', '71+13=84']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,94 unequal: No Solution
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 2*84=168, Resulting Numbers: [168]
168,94 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[2, 58], Operations: ['30/15=2', '71-13=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[45, 84], Operations: ['15+30=45', '71+13=84']
Exploring Operation: 45*84=3780, Resulting Numbers: [3780]
3780,94 unequal: No Solution
Exploring Operation: 45+84=129, Resulting Numbers: [129]
129,94 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[45, 58], Operations: ['15+30=45', '71-13=58']
Exploring Operation: 45*58=2610, Resulting Numbers: [2610]
2610,94 unequal: No Solution
Exploring Operation: 58-45=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 45+58=103, Resulting Numbers: [103]
103,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[71, 11], Operations: ['30/15=2', '13-2=11']
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,94 unequal: No Solution
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[13, 73], Operations: ['30/15=2', '71+2=73']
Exploring Operation: 13+73=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 13*73=949, Resulting Numbers: [949]
949,94 unequal: No Solution
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[13, 26], Operations: ['15+30=45', '71-45=26']
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 13*26=338, Resulting Numbers: [338]
338,94 unequal: No Solution
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[13, 116], Operations: ['15+30=45', '71+45=116']
Exploring Operation: 116-13=103, Resulting Numbers: [103]
103,94 unequal: No Solution
Exploring Operation: 13*116=1508, Resulting Numbers: [1508]
1508,94 unequal: No Solution
Exploring Operation: 13+116=129, Resulting Numbers: [129]
129,94 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
17,
78,
96,
58
] | 23 | [
"78-17=61",
"96-58=38",
"61-38=23"
] | Current State: 23:[17, 78, 96, 58], Operations: []
Exploring Operation: 78-17=61, Resulting Numbers: [96, 58, 61]
Generated Node #2: [96, 58, 61] from Operation: 78-17=61
Current State: 23:[96, 58, 61], Operations: ['78-17=61']
Exploring Operation: 96-58=38, Resulting Numbers: [61, 38]
Generated Node #3: [61, 38] from Operation: 96-58=38
Current State: 23:[61, 38], Operations: ['78-17=61', '96-58=38']
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[17, 78, 96, 58], Operations: []
Exploring Operation: 78-58=20, Resulting Numbers: [17, 96, 20]
Generated Node #0,0: 23:[17, 96, 20] Operation: 78-58=20
Exploring Operation: 96-78=18, Resulting Numbers: [17, 58, 18]
Generated Node #0,1: 23:[17, 58, 18] Operation: 96-78=18
Exploring Operation: 96-58=38, Resulting Numbers: [17, 78, 38]
Generated Node #0,2: 23:[17, 78, 38] Operation: 96-58=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[17, 58, 18], Operations: ['96-78=18']
Exploring Operation: 58-17=41, Resulting Numbers: [18, 41]
Generated Node #0,1,0: 23:[18, 41] Operation: 58-17=41
Exploring Operation: 17+18=35, Resulting Numbers: [58, 35]
Generated Node #0,1,1: 23:[58, 35] Operation: 17+18=35
Exploring Operation: 58-18=40, Resulting Numbers: [17, 40]
Generated Node #0,1,2: 23:[17, 40] Operation: 58-18=40
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[18, 41], Operations: ['96-78=18', '58-17=41']
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[17, 78, 96, 58], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [17, 58, 18]
Generated Node #0,1: 23:[17, 58, 18] Operation: 96-78=18
Moving to Node #0,1
Current State: 23:[17, 58, 18], Operations: ['96-78=18']
Exploring Operation: 58-17=41, Resulting Numbers: [18, 41]
Generated Node #0,1,0: 23:[18, 41] Operation: 58-17=41
Moving to Node #0,1,0
Current State: 23:[18, 41], Operations: ['96-78=18', '58-17=41']
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
5,
89,
39,
67
] | 56 | [
"89-5=84",
"67-39=28",
"84-28=56"
] | Current State: 56:[5, 89, 39, 67], Operations: []
Exploring Operation: 89-5=84, Resulting Numbers: [39, 67, 84]
Generated Node #2: [39, 67, 84] from Operation: 89-5=84
Current State: 56:[39, 67, 84], Operations: ['89-5=84']
Exploring Operation: 67-39=28, Resulting Numbers: [84, 28]
Generated Node #3: [84, 28] from Operation: 67-39=28
Current State: 56:[84, 28], Operations: ['89-5=84', '67-39=28']
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[5, 89, 39, 67], Operations: []
Exploring Operation: 89-67=22, Resulting Numbers: [5, 39, 22]
Generated Node #0,0: 56:[5, 39, 22] Operation: 89-67=22
Exploring Operation: 89-39=50, Resulting Numbers: [5, 67, 50]
Generated Node #0,1: 56:[5, 67, 50] Operation: 89-39=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[5, 39, 22], Operations: ['89-67=22']
Exploring Operation: 39-22=17, Resulting Numbers: [5, 17]
Generated Node #0,0,0: 56:[5, 17] Operation: 39-22=17
Exploring Operation: 39+22=61, Resulting Numbers: [5, 61]
Generated Node #0,0,1: 56:[5, 61] Operation: 39+22=61
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[5, 17], Operations: ['89-67=22', '39-22=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[5, 61], Operations: ['89-67=22', '39+22=61']
Exploring Operation: 5+61=66, Resulting Numbers: [66]
66,56 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[5, 89, 39, 67], Operations: []
Exploring Operation: 89-67=22, Resulting Numbers: [5, 39, 22]
Generated Node #0,0: 56:[5, 39, 22] Operation: 89-67=22
Moving to Node #0,0
Current State: 56:[5, 39, 22], Operations: ['89-67=22']
Exploring Operation: 39+22=61, Resulting Numbers: [5, 61]
Generated Node #0,0,1: 56:[5, 61] Operation: 39+22=61
Moving to Node #0,0,1
Current State: 56:[5, 61], Operations: ['89-67=22', '39+22=61']
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
2,
71,
11,
37
] | 84 | [
"37-11=26",
"26/2=13",
"71+13=84"
] | Current State: 84:[2, 71, 11, 37], Operations: []
Exploring Operation: 37-11=26, Resulting Numbers: [2, 71, 26]
Generated Node #2: [2, 71, 26] from Operation: 37-11=26
Current State: 84:[2, 71, 26], Operations: ['37-11=26']
Exploring Operation: 26/2=13, Resulting Numbers: [71, 13]
Generated Node #3: [71, 13] from Operation: 26/2=13
Current State: 84:[71, 13], Operations: ['37-11=26', '26/2=13']
Exploring Operation: 71+13=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[2, 71, 11, 37], Operations: []
Exploring Operation: 71+11=82, Resulting Numbers: [2, 37, 82]
Generated Node #0,0: 84:[2, 37, 82] Operation: 71+11=82
Exploring Operation: 37-11=26, Resulting Numbers: [2, 71, 26]
Generated Node #0,1: 84:[2, 71, 26] Operation: 37-11=26
Exploring Operation: 71-37=34, Resulting Numbers: [2, 11, 34]
Generated Node #0,2: 84:[2, 11, 34] Operation: 71-37=34
Moving to Node #0,0
Current State: 84:[2, 37, 82], Operations: ['71+11=82']
Exploring Operation: 82-37=45, Resulting Numbers: [2, 45]
Generated Node #0,0,0: 84:[2, 45] Operation: 82-37=45
Exploring Operation: 2+82=84, Resulting Numbers: [37, 84]
Generated Node #0,0,1: 84:[37, 84] Operation: 2+82=84
Exploring Operation: 2+37=39, Resulting Numbers: [82, 39]
Generated Node #0,0,2: 84:[82, 39] Operation: 2+37=39
Moving to Node #0,2
Current State: 84:[2, 11, 34], Operations: ['71-37=34']
Exploring Operation: 34/2=17, Resulting Numbers: [11, 17]
Generated Node #0,2,0: 84:[11, 17] Operation: 34/2=17
Exploring Operation: 34-11=23, Resulting Numbers: [2, 23]
Generated Node #0,2,1: 84:[2, 23] Operation: 34-11=23
Exploring Operation: 11+34=45, Resulting Numbers: [2, 45]
Generated Node #0,2,2: 84:[2, 45] Operation: 11+34=45
Moving to Node #0,1
Current State: 84:[2, 71, 26], Operations: ['37-11=26']
Exploring Operation: 71-26=45, Resulting Numbers: [2, 45]
Generated Node #0,1,0: 84:[2, 45] Operation: 71-26=45
Exploring Operation: 2+26=28, Resulting Numbers: [71, 28]
Generated Node #0,1,1: 84:[71, 28] Operation: 2+26=28
Exploring Operation: 2+71=73, Resulting Numbers: [26, 73]
Generated Node #0,1,2: 84:[26, 73] Operation: 2+71=73
Moving to Node #0,2,1
Current State: 84:[2, 23], Operations: ['71-37=34', '34-11=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[2, 45], Operations: ['37-11=26', '71-26=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[2, 45], Operations: ['71+11=82', '82-37=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[2, 45], Operations: ['71-37=34', '11+34=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[11, 17], Operations: ['71-37=34', '34/2=17']
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,84 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[82, 39], Operations: ['71+11=82', '2+37=39']
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
Exploring Operation: 82*39=3198, Resulting Numbers: [3198]
3198,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[37, 84], Operations: ['71+11=82', '2+82=84']
Exploring Operation: 37+84=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 37*84=3108, Resulting Numbers: [3108]
3108,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[26, 73], Operations: ['37-11=26', '2+71=73']
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 26+73=99, Resulting Numbers: [99]
99,84 unequal: No Solution
Exploring Operation: 26*73=1898, Resulting Numbers: [1898]
1898,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[71, 28], Operations: ['37-11=26', '2+26=28']
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 71+28=99, Resulting Numbers: [99]
99,84 unequal: No Solution
Exploring Operation: 71*28=1988, Resulting Numbers: [1988]
1988,84 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
8,
46,
18,
64
] | 34 | [
"8*18=144",
"46+64=110",
"144-110=34"
] | Current State: 34:[8, 46, 18, 64], Operations: []
Exploring Operation: 8*18=144, Resulting Numbers: [46, 64, 144]
Generated Node #2: [46, 64, 144] from Operation: 8*18=144
Current State: 34:[46, 64, 144], Operations: ['8*18=144']
Exploring Operation: 46+64=110, Resulting Numbers: [144, 110]
Generated Node #3: [144, 110] from Operation: 46+64=110
Current State: 34:[144, 110], Operations: ['8*18=144', '46+64=110']
Exploring Operation: 144-110=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[8, 46, 18, 64], Operations: []
Exploring Operation: 64-18=46, Resulting Numbers: [8, 46, 46]
Generated Node #0,0: 34:[8, 46, 46] Operation: 64-18=46
Exploring Operation: 64-46=18, Resulting Numbers: [8, 18, 18]
Generated Node #0,1: 34:[8, 18, 18] Operation: 64-46=18
Exploring Operation: 64/8=8, Resulting Numbers: [46, 18, 8]
Generated Node #0,2: 34:[46, 18, 8] Operation: 64/8=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[8, 18, 18], Operations: ['64-46=18']
Exploring Operation: 18-8=10, Resulting Numbers: [18, 10]
Generated Node #0,1,0: 34:[18, 10] Operation: 18-8=10
Exploring Operation: 18-8=10, Resulting Numbers: [18, 10]
Generated Node #0,1,1: 34:[18, 10] Operation: 18-8=10
Exploring Operation: 18/18=1, Resulting Numbers: [8, 1]
Generated Node #0,1,2: 34:[8, 1] Operation: 18/18=1
Moving to Node #0,1,2
Current State: 34:[8, 1], Operations: ['64-46=18', '18/18=1']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[18, 10], Operations: ['64-46=18', '18-8=10']
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,34 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[18, 10], Operations: ['64-46=18', '18-8=10']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,34 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[46, 18, 8], Operations: ['64/8=8']
Exploring Operation: 46-18=28, Resulting Numbers: [8, 28]
Generated Node #0,2,0: 34:[8, 28] Operation: 46-18=28
Exploring Operation: 46-8=38, Resulting Numbers: [18, 38]
Generated Node #0,2,1: 34:[18, 38] Operation: 46-8=38
Exploring Operation: 18-8=10, Resulting Numbers: [46, 10]
Generated Node #0,2,2: 34:[46, 10] Operation: 18-8=10
Moving to Node #0,2,1
Current State: 34:[18, 38], Operations: ['64/8=8', '46-8=38']
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[8, 28], Operations: ['64/8=8', '46-18=28']
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,34 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[46, 10], Operations: ['64/8=8', '18-8=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,34 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[8, 46, 46], Operations: ['64-18=46']
Exploring Operation: 46/46=1, Resulting Numbers: [8, 1]
Generated Node #0,0,0: 34:[8, 1] Operation: 46/46=1
Exploring Operation: 46-8=38, Resulting Numbers: [46, 38]
Generated Node #0,0,1: 34:[46, 38] Operation: 46-8=38
Exploring Operation: 46-46=0, Resulting Numbers: [8, 0]
Generated Node #0,0,2: 34:[8, 0] Operation: 46-46=0
Moving to Node #0,0,0
Current State: 34:[8, 1], Operations: ['64-18=46', '46/46=1']
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[8, 0], Operations: ['64-18=46', '46-46=0']
Exploring Operation: 8*0=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 8-0=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 8+0=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[46, 38], Operations: ['64-18=46', '46-8=38']
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,34 unequal: No Solution
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,34 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 |
[
5,
8,
18,
97
] | 43 | [
"8-5=3",
"18*3=54",
"97-54=43"
] | Current State: 43:[5, 8, 18, 97], Operations: []
Exploring Operation: 8-5=3, Resulting Numbers: [18, 97, 3]
Generated Node #2: [18, 97, 3] from Operation: 8-5=3
Current State: 43:[18, 97, 3], Operations: ['8-5=3']
Exploring Operation: 18*3=54, Resulting Numbers: [97, 54]
Generated Node #3: [97, 54] from Operation: 18*3=54
Current State: 43:[97, 54], Operations: ['8-5=3', '18*3=54']
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[5, 8, 18, 97], Operations: []
Exploring Operation: 5+8=13, Resulting Numbers: [18, 97, 13]
Generated Node #0,0: 43:[18, 97, 13] Operation: 5+8=13
Exploring Operation: 5+18=23, Resulting Numbers: [8, 97, 23]
Generated Node #0,1: 43:[8, 97, 23] Operation: 5+18=23
Exploring Operation: 5*8=40, Resulting Numbers: [18, 97, 40]
Generated Node #0,2: 43:[18, 97, 40] Operation: 5*8=40
Exploring Operation: 97-5=92, Resulting Numbers: [8, 18, 92]
Generated Node #0,3: 43:[8, 18, 92] Operation: 97-5=92
Moving to Node #0,2
Current State: 43:[18, 97, 40], Operations: ['5*8=40']
Exploring Operation: 97-18=79, Resulting Numbers: [40, 79]
Generated Node #0,2,0: 43:[40, 79] Operation: 97-18=79
Exploring Operation: 18+97=115, Resulting Numbers: [40, 115]
Generated Node #0,2,1: 43:[40, 115] Operation: 18+97=115
Exploring Operation: 97-40=57, Resulting Numbers: [18, 57]
Generated Node #0,2,2: 43:[18, 57] Operation: 97-40=57
Exploring Operation: 18+40=58, Resulting Numbers: [97, 58]
Generated Node #0,2,3: 43:[97, 58] Operation: 18+40=58
Moving to Node #0,1
Current State: 43:[8, 97, 23], Operations: ['5+18=23']
Exploring Operation: 8+23=31, Resulting Numbers: [97, 31]
Generated Node #0,1,0: 43:[97, 31] Operation: 8+23=31
Exploring Operation: 97-23=74, Resulting Numbers: [8, 74]
Generated Node #0,1,1: 43:[8, 74] Operation: 97-23=74
Exploring Operation: 97-8=89, Resulting Numbers: [23, 89]
Generated Node #0,1,2: 43:[23, 89] Operation: 97-8=89
Exploring Operation: 8+97=105, Resulting Numbers: [23, 105]
Generated Node #0,1,3: 43:[23, 105] Operation: 8+97=105
Moving to Node #0,0
Current State: 43:[18, 97, 13], Operations: ['5+8=13']
Exploring Operation: 97-13=84, Resulting Numbers: [18, 84]
Generated Node #0,0,0: 43:[18, 84] Operation: 97-13=84
Exploring Operation: 18+13=31, Resulting Numbers: [97, 31]
Generated Node #0,0,1: 43:[97, 31] Operation: 18+13=31
Exploring Operation: 97-18=79, Resulting Numbers: [13, 79]
Generated Node #0,0,2: 43:[13, 79] Operation: 97-18=79
Exploring Operation: 18-13=5, Resulting Numbers: [97, 5]
Generated Node #0,0,3: 43:[97, 5] Operation: 18-13=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[18, 84], Operations: ['5+8=13', '97-13=84']
Exploring Operation: 18*84=1512, Resulting Numbers: [1512]
1512,43 unequal: No Solution
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 18+84=102, Resulting Numbers: [102]
102,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[97, 31], Operations: ['5+8=13', '18+13=31']
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 97+31=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 97*31=3007, Resulting Numbers: [3007]
3007,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:[13, 79], Operations: ['5+8=13', '97-18=79']
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 13+79=92, Resulting Numbers: [92]
92,43 unequal: No Solution
Exploring Operation: 13*79=1027, Resulting Numbers: [1027]
1027,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 43:[97, 5], Operations: ['5+8=13', '18-13=5']
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,43 unequal: No Solution
Exploring Operation: 97*5=485, Resulting Numbers: [485]
485,43 unequal: No Solution
Exploring Operation: 97+5=102, Resulting Numbers: [102]
102,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 43:[8, 18, 92], Operations: ['97-5=92']
Exploring Operation: 92-18=74, Resulting Numbers: [8, 74]
Generated Node #0,3,0: 43:[8, 74] Operation: 92-18=74
Exploring Operation: 18-8=10, Resulting Numbers: [92, 10]
Generated Node #0,3,1: 43:[92, 10] Operation: 18-8=10
Exploring Operation: 92-8=84, Resulting Numbers: [18, 84]
Generated Node #0,3,2: 43:[18, 84] Operation: 92-8=84
Exploring Operation: 8+18=26, Resulting Numbers: [92, 26]
Generated Node #0,3,3: 43:[92, 26] Operation: 8+18=26
Moving to Node #0,2,0
Current State: 43:[40, 79], Operations: ['5*8=40', '97-18=79']
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,43 unequal: No Solution
Exploring Operation: 40*79=3160, Resulting Numbers: [3160]
3160,43 unequal: No Solution
Exploring Operation: 40+79=119, Resulting Numbers: [119]
119,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[18, 57], Operations: ['5*8=40', '97-40=57']
Exploring Operation: 18+57=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 18*57=1026, Resulting Numbers: [1026]
1026,43 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[8, 74], Operations: ['5+18=23', '97-23=74']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 8*74=592, Resulting Numbers: [592]
592,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[23, 89], Operations: ['5+18=23', '97-8=89']
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 23*89=2047, Resulting Numbers: [2047]
2047,43 unequal: No Solution
Exploring Operation: 23+89=112, Resulting Numbers: [112]
112,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[18, 84], Operations: ['97-5=92', '92-8=84']
Exploring Operation: 18+84=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 18*84=1512, Resulting Numbers: [1512]
1512,43 unequal: No Solution
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[97, 31], Operations: ['5+18=23', '8+23=31']
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 97*31=3007, Resulting Numbers: [3007]
3007,43 unequal: No Solution
Exploring Operation: 97+31=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[92, 26], Operations: ['97-5=92', '8+18=26']
Exploring Operation: 92*26=2392, Resulting Numbers: [2392]
2392,43 unequal: No Solution
Exploring Operation: 92+26=118, Resulting Numbers: [118]
118,43 unequal: No Solution
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[8, 74], Operations: ['97-5=92', '92-18=74']
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 8*74=592, Resulting Numbers: [592]
592,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[97, 58], Operations: ['5*8=40', '18+40=58']
Exploring Operation: 97*58=5626, Resulting Numbers: [5626]
5626,43 unequal: No Solution
Exploring Operation: 97-58=39, Resulting Numbers: [39]
39,43 unequal: No Solution
Exploring Operation: 97+58=155, Resulting Numbers: [155]
155,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[40, 115], Operations: ['5*8=40', '18+97=115']
Exploring Operation: 40+115=155, Resulting Numbers: [155]
155,43 unequal: No Solution
Exploring Operation: 115-40=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 40*115=4600, Resulting Numbers: [4600]
4600,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[92, 10], Operations: ['97-5=92', '18-8=10']
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[23, 105], Operations: ['5+18=23', '8+97=105']
Exploring Operation: 23*105=2415, Resulting Numbers: [2415]
2415,43 unequal: No Solution
Exploring Operation: 105-23=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 23+105=128, Resulting Numbers: [128]
128,43 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
95,
74,
53,
12
] | 62 | [
"95-74=21",
"53-12=41",
"21+41=62"
] | Current State: 62:[95, 74, 53, 12], Operations: []
Exploring Operation: 95-74=21, Resulting Numbers: [53, 12, 21]
Generated Node #2: [53, 12, 21] from Operation: 95-74=21
Current State: 62:[53, 12, 21], Operations: ['95-74=21']
Exploring Operation: 53-12=41, Resulting Numbers: [21, 41]
Generated Node #3: [21, 41] from Operation: 53-12=41
Current State: 62:[21, 41], Operations: ['95-74=21', '53-12=41']
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[95, 74, 53, 12], Operations: []
Exploring Operation: 95-53=42, Resulting Numbers: [74, 12, 42]
Generated Node #0,0: 62:[74, 12, 42] Operation: 95-53=42
Exploring Operation: 95-74=21, Resulting Numbers: [53, 12, 21]
Generated Node #0,1: 62:[53, 12, 21] Operation: 95-74=21
Moving to Node #0,1
Current State: 62:[53, 12, 21], Operations: ['95-74=21']
Exploring Operation: 12+21=33, Resulting Numbers: [53, 33]
Generated Node #0,1,0: 62:[53, 33] Operation: 12+21=33
Exploring Operation: 53-21=32, Resulting Numbers: [12, 32]
Generated Node #0,1,1: 62:[12, 32] Operation: 53-21=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[53, 33], Operations: ['95-74=21', '12+21=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,62 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,62 unequal: No Solution
No 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: 62:[12, 32], Operations: ['95-74=21', '53-21=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,62 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: 62:[74, 12, 42], Operations: ['95-53=42']
Exploring Operation: 74-12=62, Resulting Numbers: [42, 62]
Generated Node #0,0,0: 62:[42, 62] Operation: 74-12=62
Exploring Operation: 74-42=32, Resulting Numbers: [12, 32]
Generated Node #0,0,1: 62:[12, 32] Operation: 74-42=32
Moving to Node #0,0,0
Current State: 62:[42, 62], Operations: ['95-53=42', '74-12=62']
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,62 unequal: No Solution
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[12, 32], Operations: ['95-53=42', '74-42=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,62 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
15,
26,
91,
58
] | 22 | [
"26-15=11",
"91-58=33",
"33-11=22"
] | Current State: 22:[15, 26, 91, 58], Operations: []
Exploring Operation: 26-15=11, Resulting Numbers: [91, 58, 11]
Generated Node #2: [91, 58, 11] from Operation: 26-15=11
Current State: 22:[91, 58, 11], Operations: ['26-15=11']
Exploring Operation: 91-58=33, Resulting Numbers: [11, 33]
Generated Node #3: [11, 33] from Operation: 91-58=33
Current State: 22:[11, 33], Operations: ['26-15=11', '91-58=33']
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[15, 26, 91, 58], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [15, 26, 33]
Generated Node #0,0: 22:[15, 26, 33] Operation: 91-58=33
Moving to Node #0,0
Current State: 22:[15, 26, 33], Operations: ['91-58=33']
Exploring Operation: 33-15=18, Resulting Numbers: [26, 18]
Generated Node #0,0,0: 22:[26, 18] Operation: 33-15=18
Moving to Node #0,0,0
Current State: 22:[26, 18], Operations: ['91-58=33', '33-15=18']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,22 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
42,
76,
83,
79
] | 85 | [
"83-76=7",
"42/7=6",
"79+6=85"
] | Current State: 85:[42, 76, 83, 79], Operations: []
Exploring Operation: 83-76=7, Resulting Numbers: [42, 79, 7]
Generated Node #2: [42, 79, 7] from Operation: 83-76=7
Current State: 85:[42, 79, 7], Operations: ['83-76=7']
Exploring Operation: 42/7=6, Resulting Numbers: [79, 6]
Generated Node #3: [79, 6] from Operation: 42/7=6
Current State: 85:[79, 6], Operations: ['83-76=7', '42/7=6']
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[42, 76, 83, 79], Operations: []
Exploring Operation: 83-76=7, Resulting Numbers: [42, 79, 7]
Generated Node #0,0: 85:[42, 79, 7] Operation: 83-76=7
Exploring Operation: 83-79=4, Resulting Numbers: [42, 76, 4]
Generated Node #0,1: 85:[42, 76, 4] Operation: 83-79=4
Exploring Operation: 79-42=37, Resulting Numbers: [76, 83, 37]
Generated Node #0,2: 85:[76, 83, 37] Operation: 79-42=37
Exploring Operation: 76-42=34, Resulting Numbers: [83, 79, 34]
Generated Node #0,3: 85:[83, 79, 34] Operation: 76-42=34
Exploring Operation: 79-76=3, Resulting Numbers: [42, 83, 3]
Generated Node #0,4: 85:[42, 83, 3] Operation: 79-76=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[83, 79, 34], Operations: ['76-42=34']
Exploring Operation: 83-79=4, Resulting Numbers: [34, 4]
Generated Node #0,3,0: 85:[34, 4] Operation: 83-79=4
Exploring Operation: 79-34=45, Resulting Numbers: [83, 45]
Generated Node #0,3,1: 85:[83, 45] Operation: 79-34=45
Exploring Operation: 83-34=49, Resulting Numbers: [79, 49]
Generated Node #0,3,2: 85:[79, 49] Operation: 83-34=49
Exploring Operation: 79+34=113, Resulting Numbers: [83, 113]
Generated Node #0,3,3: 85:[83, 113] Operation: 79+34=113
Exploring Operation: 83+34=117, Resulting Numbers: [79, 117]
Generated Node #0,3,4: 85:[79, 117] Operation: 83+34=117
Moving to Node #0,3,0
Current State: 85:[34, 4], Operations: ['76-42=34', '83-79=4']
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,85 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[83, 113], Operations: ['76-42=34', '79+34=113']
Exploring Operation: 83*113=9379, Resulting Numbers: [9379]
9379,85 unequal: No Solution
Exploring Operation: 113-83=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 83+113=196, Resulting Numbers: [196]
196,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[83, 45], Operations: ['76-42=34', '79-34=45']
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 83+45=128, Resulting Numbers: [128]
128,85 unequal: No Solution
Exploring Operation: 83*45=3735, Resulting Numbers: [3735]
3735,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[79, 49], Operations: ['76-42=34', '83-34=49']
Exploring Operation: 79-49=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 79+49=128, Resulting Numbers: [128]
128,85 unequal: No Solution
Exploring Operation: 79*49=3871, Resulting Numbers: [3871]
3871,85 unequal: No Solution
Moving to Node #0,3,4
Current State: 85:[79, 117], Operations: ['76-42=34', '83+34=117']
Exploring Operation: 79+117=196, Resulting Numbers: [196]
196,85 unequal: No Solution
Exploring Operation: 117-79=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 79*117=9243, Resulting Numbers: [9243]
9243,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,4
Current State: 85:[42, 83, 3], Operations: ['79-76=3']
Exploring Operation: 42-3=39, Resulting Numbers: [83, 39]
Generated Node #0,4,0: 85:[83, 39] Operation: 42-3=39
Exploring Operation: 42+3=45, Resulting Numbers: [83, 45]
Generated Node #0,4,1: 85:[83, 45] Operation: 42+3=45
Exploring Operation: 83-42=41, Resulting Numbers: [3, 41]
Generated Node #0,4,2: 85:[3, 41] Operation: 83-42=41
Exploring Operation: 83+3=86, Resulting Numbers: [42, 86]
Generated Node #0,4,3: 85:[42, 86] Operation: 83+3=86
Exploring Operation: 42/3=14, Resulting Numbers: [83, 14]
Generated Node #0,4,4: 85:[83, 14] Operation: 42/3=14
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 85:[83, 14], Operations: ['79-76=3', '42/3=14']
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,85 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,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,4,0
Current State: 85:[83, 39], Operations: ['79-76=3', '42-3=39']
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,85 unequal: No Solution
Exploring Operation: 83+39=122, Resulting Numbers: [122]
122,85 unequal: No Solution
Exploring Operation: 83*39=3237, Resulting Numbers: [3237]
3237,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,4,2
Current State: 85:[3, 41], Operations: ['79-76=3', '83-42=41']
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,85 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,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,4,3
Current State: 85:[42, 86], Operations: ['79-76=3', '83+3=86']
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,85 unequal: No Solution
Exploring Operation: 42*86=3612, Resulting Numbers: [3612]
3612,85 unequal: No Solution
Exploring Operation: 42+86=128, Resulting Numbers: [128]
128,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,4,1
Current State: 85:[83, 45], Operations: ['79-76=3', '42+3=45']
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 83*45=3735, Resulting Numbers: [3735]
3735,85 unequal: No Solution
Exploring Operation: 83+45=128, Resulting Numbers: [128]
128,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:[76, 83, 37], Operations: ['79-42=37']
Exploring Operation: 83-37=46, Resulting Numbers: [76, 46]
Generated Node #0,2,0: 85:[76, 46] Operation: 83-37=46
Exploring Operation: 76-37=39, Resulting Numbers: [83, 39]
Generated Node #0,2,1: 85:[83, 39] Operation: 76-37=39
Exploring Operation: 76+37=113, Resulting Numbers: [83, 113]
Generated Node #0,2,2: 85:[83, 113] Operation: 76+37=113
Exploring Operation: 83-76=7, Resulting Numbers: [37, 7]
Generated Node #0,2,3: 85:[37, 7] Operation: 83-76=7
Exploring Operation: 83+37=120, Resulting Numbers: [76, 120]
Generated Node #0,2,4: 85:[76, 120] Operation: 83+37=120
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 85:[37, 7], Operations: ['79-42=37', '83-76=7']
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,85 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,85 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,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,1
Current State: 85:[83, 39], Operations: ['79-42=37', '76-37=39']
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,85 unequal: No Solution
Exploring Operation: 83+39=122, Resulting Numbers: [122]
122,85 unequal: No Solution
Exploring Operation: 83*39=3237, Resulting Numbers: [3237]
3237,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:[83, 113], Operations: ['79-42=37', '76+37=113']
Exploring Operation: 83+113=196, Resulting Numbers: [196]
196,85 unequal: No Solution
Exploring Operation: 83*113=9379, Resulting Numbers: [9379]
9379,85 unequal: No Solution
Exploring Operation: 113-83=30, Resulting Numbers: [30]
30,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,0
Current State: 85:[76, 46], Operations: ['79-42=37', '83-37=46']
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,85 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,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,4
Current State: 85:[76, 120], Operations: ['79-42=37', '83+37=120']
Exploring Operation: 76*120=9120, Resulting Numbers: [9120]
9120,85 unequal: No Solution
Exploring Operation: 76+120=196, Resulting Numbers: [196]
196,85 unequal: No Solution
Exploring Operation: 120-76=44, Resulting Numbers: [44]
44,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:[42, 79, 7], Operations: ['83-76=7']
Exploring Operation: 42-7=35, Resulting Numbers: [79, 35]
Generated Node #0,0,0: 85:[79, 35] Operation: 42-7=35
Exploring Operation: 42+79=121, Resulting Numbers: [7, 121]
Generated Node #0,0,1: 85:[7, 121] Operation: 42+79=121
Exploring Operation: 79+7=86, Resulting Numbers: [42, 86]
Generated Node #0,0,2: 85:[42, 86] Operation: 79+7=86
Exploring Operation: 42/7=6, Resulting Numbers: [79, 6]
Generated Node #0,0,3: 85:[79, 6] Operation: 42/7=6
Exploring Operation: 79-42=37, Resulting Numbers: [7, 37]
Generated Node #0,0,4: 85:[7, 37] Operation: 79-42=37
Moving to Node #0,0,3
Current State: 85:[79, 6], Operations: ['83-76=7', '42/7=6']
Exploring Operation: 79*6=474, Resulting Numbers: [474]
474,85 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[42, 76, 83, 79], Operations: []
Exploring Operation: 83-76=7, Resulting Numbers: [42, 79, 7]
Generated Node #0,0: 85:[42, 79, 7] Operation: 83-76=7
Moving to Node #0,0
Current State: 85:[42, 79, 7], Operations: ['83-76=7']
Exploring Operation: 42/7=6, Resulting Numbers: [79, 6]
Generated Node #0,0,3: 85:[79, 6] Operation: 42/7=6
Moving to Node #0,0,3
Current State: 85:[79, 6], Operations: ['83-76=7', '42/7=6']
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.93316 | hs_5 | mult_heuristic |
[
21,
51,
31,
82
] | 82 | [
"51-21=30",
"31-30=1",
"82*1=82"
] | Current State: 82:[21, 51, 31, 82], Operations: []
Exploring Operation: 51-21=30, Resulting Numbers: [31, 82, 30]
Generated Node #2: [31, 82, 30] from Operation: 51-21=30
Current State: 82:[31, 82, 30], Operations: ['51-21=30']
Exploring Operation: 31-30=1, Resulting Numbers: [82, 1]
Generated Node #3: [82, 1] from Operation: 31-30=1
Current State: 82:[82, 1], Operations: ['51-21=30', '31-30=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[21, 51, 31, 82], Operations: []
Exploring Operation: 21+51=72, Resulting Numbers: [31, 82, 72]
Generated Node #0,0: 82:[31, 82, 72] Operation: 21+51=72
Exploring Operation: 31-21=10, Resulting Numbers: [51, 82, 10]
Generated Node #0,1: 82:[51, 82, 10] Operation: 31-21=10
Exploring Operation: 51+31=82, Resulting Numbers: [21, 82, 82]
Generated Node #0,2: 82:[21, 82, 82] Operation: 51+31=82
Exploring Operation: 51-21=30, Resulting Numbers: [31, 82, 30]
Generated Node #0,3: 82:[31, 82, 30] Operation: 51-21=30
Exploring Operation: 21+31=52, Resulting Numbers: [51, 82, 52]
Generated Node #0,4: 82:[51, 82, 52] Operation: 21+31=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[51, 82, 10], Operations: ['31-21=10']
Exploring Operation: 51-10=41, Resulting Numbers: [82, 41]
Generated Node #0,1,0: 82:[82, 41] Operation: 51-10=41
Exploring Operation: 51+10=61, Resulting Numbers: [82, 61]
Generated Node #0,1,1: 82:[82, 61] Operation: 51+10=61
Exploring Operation: 82+10=92, Resulting Numbers: [51, 92]
Generated Node #0,1,2: 82:[51, 92] Operation: 82+10=92
Exploring Operation: 82-10=72, Resulting Numbers: [51, 72]
Generated Node #0,1,3: 82:[51, 72] Operation: 82-10=72
Exploring Operation: 82-51=31, Resulting Numbers: [10, 31]
Generated Node #0,1,4: 82:[10, 31] Operation: 82-51=31
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[82, 41], Operations: ['31-21=10', '51-10=41']
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 82+41=123, Resulting Numbers: [123]
123,82 unequal: No Solution
Exploring Operation: 82*41=3362, Resulting Numbers: [3362]
3362,82 unequal: No Solution
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 82:[10, 31], Operations: ['31-21=10', '82-51=31']
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,82 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[82, 61], Operations: ['31-21=10', '51+10=61']
Exploring Operation: 82*61=5002, Resulting Numbers: [5002]
5002,82 unequal: No Solution
Exploring Operation: 82+61=143, Resulting Numbers: [143]
143,82 unequal: No Solution
Exploring Operation: 82-61=21, Resulting Numbers: [21]
21,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[51, 92], Operations: ['31-21=10', '82+10=92']
Exploring Operation: 51*92=4692, Resulting Numbers: [4692]
4692,82 unequal: No Solution
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 51+92=143, Resulting Numbers: [143]
143,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 82:[51, 72], Operations: ['31-21=10', '82-10=72']
Exploring Operation: 72-51=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 51+72=123, Resulting Numbers: [123]
123,82 unequal: No Solution
Exploring Operation: 51*72=3672, Resulting Numbers: [3672]
3672,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[21, 82, 82], Operations: ['51+31=82']
Exploring Operation: 82/82=1, Resulting Numbers: [21, 1]
Generated Node #0,2,0: 82:[21, 1] Operation: 82/82=1
Exploring Operation: 21+82=103, Resulting Numbers: [82, 103]
Generated Node #0,2,1: 82:[82, 103] Operation: 21+82=103
Exploring Operation: 82-21=61, Resulting Numbers: [82, 61]
Generated Node #0,2,2: 82:[82, 61] Operation: 82-21=61
Exploring Operation: 21+82=103, Resulting Numbers: [82, 103]
Generated Node #0,2,3: 82:[82, 103] Operation: 21+82=103
Exploring Operation: 82-21=61, Resulting Numbers: [82, 61]
Generated Node #0,2,4: 82:[82, 61] Operation: 82-21=61
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[21, 1], Operations: ['51+31=82', '82/82=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,82 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,82 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[82, 61], Operations: ['51+31=82', '82-21=61']
Exploring Operation: 82-61=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 82+61=143, Resulting Numbers: [143]
143,82 unequal: No Solution
Exploring Operation: 82*61=5002, Resulting Numbers: [5002]
5002,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 82:[82, 61], Operations: ['51+31=82', '82-21=61']
Exploring Operation: 82*61=5002, Resulting Numbers: [5002]
5002,82 unequal: No Solution
Exploring Operation: 82+61=143, Resulting Numbers: [143]
143,82 unequal: No Solution
Exploring Operation: 82-61=21, Resulting Numbers: [21]
21,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[82, 103], Operations: ['51+31=82', '21+82=103']
Exploring Operation: 82*103=8446, Resulting Numbers: [8446]
8446,82 unequal: No Solution
Exploring Operation: 103-82=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 82+103=185, Resulting Numbers: [185]
185,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 82:[82, 103], Operations: ['51+31=82', '21+82=103']
Exploring Operation: 82+103=185, Resulting Numbers: [185]
185,82 unequal: No Solution
Exploring Operation: 82*103=8446, Resulting Numbers: [8446]
8446,82 unequal: No Solution
Exploring Operation: 103-82=21, Resulting Numbers: [21]
21,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[31, 82, 72], Operations: ['21+51=72']
Exploring Operation: 82-31=51, Resulting Numbers: [72, 51]
Generated Node #0,0,0: 82:[72, 51] Operation: 82-31=51
Exploring Operation: 72-31=41, Resulting Numbers: [82, 41]
Generated Node #0,0,1: 82:[82, 41] Operation: 72-31=41
Exploring Operation: 31+72=103, Resulting Numbers: [82, 103]
Generated Node #0,0,2: 82:[82, 103] Operation: 31+72=103
Exploring Operation: 82-72=10, Resulting Numbers: [31, 10]
Generated Node #0,0,3: 82:[31, 10] Operation: 82-72=10
Exploring Operation: 31+82=113, Resulting Numbers: [72, 113]
Generated Node #0,0,4: 82:[72, 113] Operation: 31+82=113
Moving to Node #0,0,1
Current State: 82:[82, 41], Operations: ['21+51=72', '72-31=41']
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 82*41=3362, Resulting Numbers: [3362]
3362,82 unequal: No Solution
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 82+41=123, Resulting Numbers: [123]
123,82 unequal: No Solution
Moving to Node #0,0,3
Current State: 82:[31, 10], Operations: ['21+51=72', '82-72=10']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,82 unequal: No Solution
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[72, 51], Operations: ['21+51=72', '82-31=51']
Exploring Operation: 72-51=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 72+51=123, Resulting Numbers: [123]
123,82 unequal: No Solution
Exploring Operation: 72*51=3672, Resulting Numbers: [3672]
3672,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[82, 103], Operations: ['21+51=72', '31+72=103']
Exploring Operation: 82*103=8446, Resulting Numbers: [8446]
8446,82 unequal: No Solution
Exploring Operation: 82+103=185, Resulting Numbers: [185]
185,82 unequal: No Solution
Exploring Operation: 103-82=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Moving to Node #0,0,4
Current State: 82:[72, 113], Operations: ['21+51=72', '31+82=113']
Exploring Operation: 72*113=8136, Resulting Numbers: [8136]
8136,82 unequal: No Solution
Exploring Operation: 113-72=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 72+113=185, Resulting Numbers: [185]
185,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[31, 82, 30], Operations: ['51-21=30']
Exploring Operation: 31-30=1, Resulting Numbers: [82, 1]
Generated Node #0,3,0: 82:[82, 1] Operation: 31-30=1
Exploring Operation: 82-30=52, Resulting Numbers: [31, 52]
Generated Node #0,3,1: 82:[31, 52] Operation: 82-30=52
Exploring Operation: 82+30=112, Resulting Numbers: [31, 112]
Generated Node #0,3,2: 82:[31, 112] Operation: 82+30=112
Exploring Operation: 82-31=51, Resulting Numbers: [30, 51]
Generated Node #0,3,3: 82:[30, 51] Operation: 82-31=51
Exploring Operation: 31+30=61, Resulting Numbers: [82, 61]
Generated Node #0,3,4: 82:[82, 61] Operation: 31+30=61
Moving to Node #0,3,0
Current State: 82:[82, 1], Operations: ['51-21=30', '31-30=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[21, 51, 31, 82], Operations: []
Exploring Operation: 51-21=30, Resulting Numbers: [31, 82, 30]
Generated Node #0,3: 82:[31, 82, 30] Operation: 51-21=30
Moving to Node #0,3
Current State: 82:[31, 82, 30], Operations: ['51-21=30']
Exploring Operation: 31-30=1, Resulting Numbers: [82, 1]
Generated Node #0,3,0: 82:[82, 1] Operation: 31-30=1
Moving to Node #0,3,0
Current State: 82:[82, 1], Operations: ['51-21=30', '31-30=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.931424 | hs_5 | mult_heuristic |
[
3,
60,
48,
61
] | 51 | [
"3+48=51",
"61-60=1",
"51*1=51"
] | Current State: 51:[3, 60, 48, 61], Operations: []
Exploring Operation: 3+48=51, Resulting Numbers: [60, 61, 51]
Generated Node #2: [60, 61, 51] from Operation: 3+48=51
Current State: 51:[60, 61, 51], Operations: ['3+48=51']
Exploring Operation: 61-60=1, Resulting Numbers: [51, 1]
Generated Node #3: [51, 1] from Operation: 61-60=1
Current State: 51:[51, 1], Operations: ['3+48=51', '61-60=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[3, 60, 48, 61], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [3, 48, 1]
Generated Node #0,0: 51:[3, 48, 1] Operation: 61-60=1
Moving to Node #0,0
Current State: 51:[3, 48, 1], Operations: ['61-60=1']
Exploring Operation: 3+48=51, Resulting Numbers: [1, 51]
Generated Node #0,0,0: 51:[1, 51] Operation: 3+48=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[1, 51], Operations: ['61-60=1', '3+48=51']
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[3, 60, 48, 61], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [3, 48, 1]
Generated Node #0,0: 51:[3, 48, 1] Operation: 61-60=1
Moving to Node #0,0
Current State: 51:[3, 48, 1], Operations: ['61-60=1']
Exploring Operation: 3+48=51, Resulting Numbers: [1, 51]
Generated Node #0,0,0: 51:[1, 51] Operation: 3+48=51
Moving to Node #0,0,0
Current State: 51:[1, 51], Operations: ['61-60=1', '3+48=51']
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
99,
23,
88,
30
] | 42 | [
"99-23=76",
"88+30=118",
"118-76=42"
] | Current State: 42:[99, 23, 88, 30], Operations: []
Exploring Operation: 99-23=76, Resulting Numbers: [88, 30, 76]
Generated Node #2: [88, 30, 76] from Operation: 99-23=76
Current State: 42:[88, 30, 76], Operations: ['99-23=76']
Exploring Operation: 88+30=118, Resulting Numbers: [76, 118]
Generated Node #3: [76, 118] from Operation: 88+30=118
Current State: 42:[76, 118], Operations: ['99-23=76', '88+30=118']
Exploring Operation: 118-76=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[99, 23, 88, 30], Operations: []
Exploring Operation: 99-23=76, Resulting Numbers: [88, 30, 76]
Generated Node #0,0: 42:[88, 30, 76] Operation: 99-23=76
Exploring Operation: 99-88=11, Resulting Numbers: [23, 30, 11]
Generated Node #0,1: 42:[23, 30, 11] Operation: 99-88=11
Exploring Operation: 99-30=69, Resulting Numbers: [23, 88, 69]
Generated Node #0,2: 42:[23, 88, 69] Operation: 99-30=69
Exploring Operation: 88-30=58, Resulting Numbers: [99, 23, 58]
Generated Node #0,3: 42:[99, 23, 58] Operation: 88-30=58
Moving to Node #0,1
Current State: 42:[23, 30, 11], Operations: ['99-88=11']
Exploring Operation: 30+11=41, Resulting Numbers: [23, 41]
Generated Node #0,1,0: 42:[23, 41] Operation: 30+11=41
Exploring Operation: 30-11=19, Resulting Numbers: [23, 19]
Generated Node #0,1,1: 42:[23, 19] Operation: 30-11=19
Exploring Operation: 23-11=12, Resulting Numbers: [30, 12]
Generated Node #0,1,2: 42:[30, 12] Operation: 23-11=12
Exploring Operation: 30-23=7, Resulting Numbers: [11, 7]
Generated Node #0,1,3: 42:[11, 7] Operation: 30-23=7
Moving to Node #0,3
Current State: 42:[99, 23, 58], Operations: ['88-30=58']
Exploring Operation: 99-58=41, Resulting Numbers: [23, 41]
Generated Node #0,3,0: 42:[23, 41] Operation: 99-58=41
Exploring Operation: 58-23=35, Resulting Numbers: [99, 35]
Generated Node #0,3,1: 42:[99, 35] Operation: 58-23=35
Exploring Operation: 99+23=122, Resulting Numbers: [58, 122]
Generated Node #0,3,2: 42:[58, 122] Operation: 99+23=122
Exploring Operation: 99-23=76, Resulting Numbers: [58, 76]
Generated Node #0,3,3: 42:[58, 76] Operation: 99-23=76
Moving to Node #0,2
Current State: 42:[23, 88, 69], Operations: ['99-30=69']
Exploring Operation: 69-23=46, Resulting Numbers: [88, 46]
Generated Node #0,2,0: 42:[88, 46] Operation: 69-23=46
Exploring Operation: 69/23=3, Resulting Numbers: [88, 3]
Generated Node #0,2,1: 42:[88, 3] Operation: 69/23=3
Exploring Operation: 88-23=65, Resulting Numbers: [69, 65]
Generated Node #0,2,2: 42:[69, 65] Operation: 88-23=65
Exploring Operation: 88-69=19, Resulting Numbers: [23, 19]
Generated Node #0,2,3: 42:[23, 19] Operation: 88-69=19
Moving to Node #0,0
Current State: 42:[88, 30, 76], Operations: ['99-23=76']
Exploring Operation: 76-30=46, Resulting Numbers: [88, 46]
Generated Node #0,0,0: 42:[88, 46] Operation: 76-30=46
Exploring Operation: 88+30=118, Resulting Numbers: [76, 118]
Generated Node #0,0,1: 42:[76, 118] Operation: 88+30=118
Exploring Operation: 88-76=12, Resulting Numbers: [30, 12]
Generated Node #0,0,2: 42:[30, 12] Operation: 88-76=12
Exploring Operation: 88-30=58, Resulting Numbers: [76, 58]
Generated Node #0,0,3: 42:[76, 58] Operation: 88-30=58
Moving to Node #0,1,0
Current State: 42:[23, 41], Operations: ['99-88=11', '30+11=41']
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,42 unequal: No Solution
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[11, 7], Operations: ['99-88=11', '30-23=7']
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[23, 41], Operations: ['88-30=58', '99-58=41']
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,42 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[23, 19], Operations: ['99-88=11', '30-11=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[99, 23, 88, 30], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [23, 30, 11]
Generated Node #0,1: 42:[23, 30, 11] Operation: 99-88=11
Moving to Node #0,1
Current State: 42:[23, 30, 11], Operations: ['99-88=11']
Exploring Operation: 30-11=19, Resulting Numbers: [23, 19]
Generated Node #0,1,1: 42:[23, 19] Operation: 30-11=19
Moving to Node #0,1,1
Current State: 42:[23, 19], Operations: ['99-88=11', '30-11=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.970486 | hs_4 | sum_heuristic |
[
53,
49,
50,
5
] | 14 | [
"53-49=4",
"50/5=10",
"4+10=14"
] | Current State: 14:[53, 49, 50, 5], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [50, 5, 4]
Generated Node #2: [50, 5, 4] from Operation: 53-49=4
Current State: 14:[50, 5, 4], Operations: ['53-49=4']
Exploring Operation: 50/5=10, Resulting Numbers: [4, 10]
Generated Node #3: [4, 10] from Operation: 50/5=10
Current State: 14:[4, 10], Operations: ['53-49=4', '50/5=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[53, 49, 50, 5], Operations: []
Exploring Operation: 53-50=3, Resulting Numbers: [49, 5, 3]
Generated Node #0,0: 14:[49, 5, 3] Operation: 53-50=3
Exploring Operation: 53-5=48, Resulting Numbers: [49, 50, 48]
Generated Node #0,1: 14:[49, 50, 48] Operation: 53-5=48
Exploring Operation: 50/5=10, Resulting Numbers: [53, 49, 10]
Generated Node #0,2: 14:[53, 49, 10] Operation: 50/5=10
Exploring Operation: 50-49=1, Resulting Numbers: [53, 5, 1]
Generated Node #0,3: 14:[53, 5, 1] Operation: 50-49=1
Exploring Operation: 53-49=4, Resulting Numbers: [50, 5, 4]
Generated Node #0,4: 14:[50, 5, 4] Operation: 53-49=4
Moving to Node #0,0
Current State: 14:[49, 5, 3], Operations: ['53-50=3']
Exploring Operation: 5+3=8, Resulting Numbers: [49, 8]
Generated Node #0,0,0: 14:[49, 8] Operation: 5+3=8
Exploring Operation: 5*3=15, Resulting Numbers: [49, 15]
Generated Node #0,0,1: 14:[49, 15] Operation: 5*3=15
Exploring Operation: 49-5=44, Resulting Numbers: [3, 44]
Generated Node #0,0,2: 14:[3, 44] Operation: 49-5=44
Exploring Operation: 49-3=46, Resulting Numbers: [5, 46]
Generated Node #0,0,3: 14:[5, 46] Operation: 49-3=46
Exploring Operation: 5-3=2, Resulting Numbers: [49, 2]
Generated Node #0,0,4: 14:[49, 2] Operation: 5-3=2
Moving to Node #0,4
Current State: 14:[50, 5, 4], Operations: ['53-49=4']
Exploring Operation: 5+4=9, Resulting Numbers: [50, 9]
Generated Node #0,4,0: 14:[50, 9] Operation: 5+4=9
Exploring Operation: 50-4=46, Resulting Numbers: [5, 46]
Generated Node #0,4,1: 14:[5, 46] Operation: 50-4=46
Exploring Operation: 50/5=10, Resulting Numbers: [4, 10]
Generated Node #0,4,2: 14:[4, 10] Operation: 50/5=10
Exploring Operation: 5-4=1, Resulting Numbers: [50, 1]
Generated Node #0,4,3: 14:[50, 1] Operation: 5-4=1
Exploring Operation: 50-5=45, Resulting Numbers: [4, 45]
Generated Node #0,4,4: 14:[4, 45] Operation: 50-5=45
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 14:[4, 10], Operations: ['53-49=4', '50/5=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[53, 49, 50, 5], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [50, 5, 4]
Generated Node #0,4: 14:[50, 5, 4] Operation: 53-49=4
Moving to Node #0,4
Current State: 14:[50, 5, 4], Operations: ['53-49=4']
Exploring Operation: 50/5=10, Resulting Numbers: [4, 10]
Generated Node #0,4,2: 14:[4, 10] Operation: 50/5=10
Moving to Node #0,4,2
Current State: 14:[4, 10], Operations: ['53-49=4', '50/5=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
6,
6,
81,
78
] | 78 | [
"6-6=0",
"81*0=0",
"78+0=78"
] | Current State: 78:[6, 6, 81, 78], Operations: []
Exploring Operation: 6-6=0, Resulting Numbers: [81, 78, 0]
Generated Node #2: [81, 78, 0] from Operation: 6-6=0
Current State: 78:[81, 78, 0], Operations: ['6-6=0']
Exploring Operation: 81*0=0, Resulting Numbers: [78, 0]
Generated Node #3: [78, 0] from Operation: 81*0=0
Current State: 78:[78, 0], Operations: ['6-6=0', '81*0=0']
Exploring Operation: 78+0=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[6, 6, 81, 78], Operations: []
Exploring Operation: 81-6=75, Resulting Numbers: [6, 78, 75]
Generated Node #0,0: 78:[6, 78, 75] Operation: 81-6=75
Exploring Operation: 81-78=3, Resulting Numbers: [6, 6, 3]
Generated Node #0,1: 78:[6, 6, 3] Operation: 81-78=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[6, 6, 3], Operations: ['81-78=3']
Exploring Operation: 6/3=2, Resulting Numbers: [6, 2]
Generated Node #0,1,0: 78:[6, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [6, 3]
Generated Node #0,1,1: 78:[6, 3] Operation: 6-3=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[6, 2], Operations: ['81-78=3', '6/3=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[6, 3], Operations: ['81-78=3', '6-3=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[6, 78, 75], Operations: ['81-6=75']
Exploring Operation: 78-75=3, Resulting Numbers: [6, 3]
Generated Node #0,0,0: 78:[6, 3] Operation: 78-75=3
Exploring Operation: 78/6=13, Resulting Numbers: [75, 13]
Generated Node #0,0,1: 78:[75, 13] Operation: 78/6=13
Moving to Node #0,0,0
Current State: 78:[6, 3], Operations: ['81-6=75', '78-75=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[75, 13], Operations: ['81-6=75', '78/6=13']
Exploring Operation: 75+13=88, Resulting Numbers: [88]
88,78 unequal: No Solution
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,78 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 |
[
51,
14,
11,
80
] | 28 | [
"51-11=40",
"14*80=1120",
"1120/40=28"
] | Current State: 28:[51, 14, 11, 80], Operations: []
Exploring Operation: 51-11=40, Resulting Numbers: [14, 80, 40]
Generated Node #2: [14, 80, 40] from Operation: 51-11=40
Current State: 28:[14, 80, 40], Operations: ['51-11=40']
Exploring Operation: 14*80=1120, Resulting Numbers: [40, 1120]
Generated Node #3: [40, 1120] from Operation: 14*80=1120
Current State: 28:[40, 1120], Operations: ['51-11=40', '14*80=1120']
Exploring Operation: 1120/40=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[51, 14, 11, 80], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [14, 11, 29]
Generated Node #0,0: 28:[14, 11, 29] Operation: 80-51=29
Moving to Node #0,0
Current State: 28:[14, 11, 29], Operations: ['80-51=29']
Exploring Operation: 14-11=3, Resulting Numbers: [29, 3]
Generated Node #0,0,0: 28:[29, 3] Operation: 14-11=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[29, 3], Operations: ['80-51=29', '14-11=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
29,
83,
19
] | 84 | [
"29-10=19",
"19/19=1",
"83+1=84"
] | Current State: 84:[10, 29, 83, 19], Operations: []
Exploring Operation: 29-10=19, Resulting Numbers: [83, 19, 19]
Generated Node #2: [83, 19, 19] from Operation: 29-10=19
Current State: 84:[83, 19, 19], Operations: ['29-10=19']
Exploring Operation: 19/19=1, Resulting Numbers: [83, 1]
Generated Node #3: [83, 1] from Operation: 19/19=1
Current State: 84:[83, 1], Operations: ['29-10=19', '19/19=1']
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[10, 29, 83, 19], Operations: []
Exploring Operation: 29-19=10, Resulting Numbers: [10, 83, 10]
Generated Node #0,0: 84:[10, 83, 10] Operation: 29-19=10
Exploring Operation: 29-10=19, Resulting Numbers: [83, 19, 19]
Generated Node #0,1: 84:[83, 19, 19] Operation: 29-10=19
Exploring Operation: 10+19=29, Resulting Numbers: [29, 83, 29]
Generated Node #0,2: 84:[29, 83, 29] Operation: 10+19=29
Exploring Operation: 19-10=9, Resulting Numbers: [29, 83, 9]
Generated Node #0,3: 84:[29, 83, 9] Operation: 19-10=9
Moving to Node #0,2
Current State: 84:[29, 83, 29], Operations: ['10+19=29']
Exploring Operation: 29/29=1, Resulting Numbers: [83, 1]
Generated Node #0,2,0: 84:[83, 1] Operation: 29/29=1
Exploring Operation: 29-29=0, Resulting Numbers: [83, 0]
Generated Node #0,2,1: 84:[83, 0] Operation: 29-29=0
Exploring Operation: 83-29=54, Resulting Numbers: [29, 54]
Generated Node #0,2,2: 84:[29, 54] Operation: 83-29=54
Exploring Operation: 83-29=54, Resulting Numbers: [29, 54]
Generated Node #0,2,3: 84:[29, 54] Operation: 83-29=54
Moving to Node #0,3
Current State: 84:[29, 83, 9], Operations: ['19-10=9']
Exploring Operation: 83-9=74, Resulting Numbers: [29, 74]
Generated Node #0,3,0: 84:[29, 74] Operation: 83-9=74
Exploring Operation: 29+9=38, Resulting Numbers: [83, 38]
Generated Node #0,3,1: 84:[83, 38] Operation: 29+9=38
Exploring Operation: 83+9=92, Resulting Numbers: [29, 92]
Generated Node #0,3,2: 84:[29, 92] Operation: 83+9=92
Exploring Operation: 29-9=20, Resulting Numbers: [83, 20]
Generated Node #0,3,3: 84:[83, 20] Operation: 29-9=20
Moving to Node #0,1
Current State: 84:[83, 19, 19], Operations: ['29-10=19']
Exploring Operation: 19-19=0, Resulting Numbers: [83, 0]
Generated Node #0,1,0: 84:[83, 0] Operation: 19-19=0
Exploring Operation: 19+19=38, Resulting Numbers: [83, 38]
Generated Node #0,1,1: 84:[83, 38] Operation: 19+19=38
Exploring Operation: 19/19=1, Resulting Numbers: [83, 1]
Generated Node #0,1,2: 84:[83, 1] Operation: 19/19=1
Exploring Operation: 83+19=102, Resulting Numbers: [19, 102]
Generated Node #0,1,3: 84:[19, 102] Operation: 83+19=102
Moving to Node #0,0
Current State: 84:[10, 83, 10], Operations: ['29-19=10']
Exploring Operation: 10/10=1, Resulting Numbers: [83, 1]
Generated Node #0,0,0: 84:[83, 1] Operation: 10/10=1
Exploring Operation: 10-10=0, Resulting Numbers: [83, 0]
Generated Node #0,0,1: 84:[83, 0] Operation: 10-10=0
Exploring Operation: 10+83=93, Resulting Numbers: [10, 93]
Generated Node #0,0,2: 84:[10, 93] Operation: 10+83=93
Exploring Operation: 10+10=20, Resulting Numbers: [83, 20]
Generated Node #0,0,3: 84:[83, 20] Operation: 10+10=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[83, 1], Operations: ['29-19=10', '10/10=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,84 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[10, 29, 83, 19], Operations: []
Exploring Operation: 29-19=10, Resulting Numbers: [10, 83, 10]
Generated Node #0,0: 84:[10, 83, 10] Operation: 29-19=10
Moving to Node #0,0
Current State: 84:[10, 83, 10], Operations: ['29-19=10']
Exploring Operation: 10/10=1, Resulting Numbers: [83, 1]
Generated Node #0,0,0: 84:[83, 1] Operation: 10/10=1
Moving to Node #0,0,0
Current State: 84:[83, 1], Operations: ['29-19=10', '10/10=1']
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_4 | sum_heuristic |
[
50,
69,
6,
31
] | 83 | [
"69-50=19",
"6*19=114",
"114-31=83"
] | Current State: 83:[50, 69, 6, 31], Operations: []
Exploring Operation: 69-50=19, Resulting Numbers: [6, 31, 19]
Generated Node #2: [6, 31, 19] from Operation: 69-50=19
Current State: 83:[6, 31, 19], Operations: ['69-50=19']
Exploring Operation: 6*19=114, Resulting Numbers: [31, 114]
Generated Node #3: [31, 114] from Operation: 6*19=114
Current State: 83:[31, 114], Operations: ['69-50=19', '6*19=114']
Exploring Operation: 114-31=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[50, 69, 6, 31], Operations: []
Exploring Operation: 69+6=75, Resulting Numbers: [50, 31, 75]
Generated Node #0,0: 83:[50, 31, 75] Operation: 69+6=75
Exploring Operation: 50-6=44, Resulting Numbers: [69, 31, 44]
Generated Node #0,1: 83:[69, 31, 44] Operation: 50-6=44
Exploring Operation: 50+31=81, Resulting Numbers: [69, 6, 81]
Generated Node #0,2: 83:[69, 6, 81] Operation: 50+31=81
Exploring Operation: 6+31=37, Resulting Numbers: [50, 69, 37]
Generated Node #0,3: 83:[50, 69, 37] Operation: 6+31=37
Exploring Operation: 50+6=56, Resulting Numbers: [69, 31, 56]
Generated Node #0,4: 83:[69, 31, 56] Operation: 50+6=56
Moving to Node #0,0
Current State: 83:[50, 31, 75], Operations: ['69+6=75']
Exploring Operation: 50+31=81, Resulting Numbers: [75, 81]
Generated Node #0,0,0: 83:[75, 81] Operation: 50+31=81
Exploring Operation: 75-31=44, Resulting Numbers: [50, 44]
Generated Node #0,0,1: 83:[50, 44] Operation: 75-31=44
Exploring Operation: 50+75=125, Resulting Numbers: [31, 125]
Generated Node #0,0,2: 83:[31, 125] Operation: 50+75=125
Exploring Operation: 50-31=19, Resulting Numbers: [75, 19]
Generated Node #0,0,3: 83:[75, 19] Operation: 50-31=19
Exploring Operation: 31+75=106, Resulting Numbers: [50, 106]
Generated Node #0,0,4: 83:[50, 106] Operation: 31+75=106
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[75, 81], Operations: ['69+6=75', '50+31=81']
Exploring Operation: 75+81=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 75*81=6075, Resulting Numbers: [6075]
6075,83 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 83:[50, 106], Operations: ['69+6=75', '31+75=106']
Exploring Operation: 106-50=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 50*106=5300, Resulting Numbers: [5300]
5300,83 unequal: No Solution
Exploring Operation: 50+106=156, Resulting Numbers: [156]
156,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[50, 44], Operations: ['69+6=75', '75-31=44']
Exploring Operation: 50+44=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 50*44=2200, Resulting Numbers: [2200]
2200,83 unequal: No Solution
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[75, 19], Operations: ['69+6=75', '50-31=19']
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 75*19=1425, Resulting Numbers: [1425]
1425,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[31, 125], Operations: ['69+6=75', '50+75=125']
Exploring Operation: 31+125=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 125-31=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 31*125=3875, Resulting Numbers: [3875]
3875,83 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: 83:[50, 69, 37], Operations: ['6+31=37']
Exploring Operation: 69+37=106, Resulting Numbers: [50, 106]
Generated Node #0,3,0: 83:[50, 106] Operation: 69+37=106
Exploring Operation: 50-37=13, Resulting Numbers: [69, 13]
Generated Node #0,3,1: 83:[69, 13] Operation: 50-37=13
Exploring Operation: 50+37=87, Resulting Numbers: [69, 87]
Generated Node #0,3,2: 83:[69, 87] Operation: 50+37=87
Exploring Operation: 69-37=32, Resulting Numbers: [50, 32]
Generated Node #0,3,3: 83:[50, 32] Operation: 69-37=32
Exploring Operation: 50+69=119, Resulting Numbers: [37, 119]
Generated Node #0,3,4: 83:[37, 119] Operation: 50+69=119
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 83:[69, 87], Operations: ['6+31=37', '50+37=87']
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 69*87=6003, Resulting Numbers: [6003]
6003,83 unequal: No Solution
Exploring Operation: 69+87=156, Resulting Numbers: [156]
156,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 83:[50, 106], Operations: ['6+31=37', '69+37=106']
Exploring Operation: 50*106=5300, Resulting Numbers: [5300]
5300,83 unequal: No Solution
Exploring Operation: 50+106=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 106-50=56, Resulting Numbers: [56]
56,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 83:[37, 119], Operations: ['6+31=37', '50+69=119']
Exploring Operation: 37+119=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 37*119=4403, Resulting Numbers: [4403]
4403,83 unequal: No Solution
Exploring Operation: 119-37=82, Resulting Numbers: [82]
82,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 83:[69, 13], Operations: ['6+31=37', '50-37=13']
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,83 unequal: No Solution
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[50, 32], Operations: ['6+31=37', '69-37=32']
Exploring Operation: 50+32=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 50*32=1600, Resulting Numbers: [1600]
1600,83 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 83:[69, 6, 81], Operations: ['50+31=81']
Exploring Operation: 81-6=75, Resulting Numbers: [69, 75]
Generated Node #0,2,0: 83:[69, 75] Operation: 81-6=75
Exploring Operation: 69+6=75, Resulting Numbers: [81, 75]
Generated Node #0,2,1: 83:[81, 75] Operation: 69+6=75
Exploring Operation: 69+81=150, Resulting Numbers: [6, 150]
Generated Node #0,2,2: 83:[6, 150] Operation: 69+81=150
Exploring Operation: 69-6=63, Resulting Numbers: [81, 63]
Generated Node #0,2,3: 83:[81, 63] Operation: 69-6=63
Exploring Operation: 6+81=87, Resulting Numbers: [69, 87]
Generated Node #0,2,4: 83:[69, 87] Operation: 6+81=87
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[81, 75], Operations: ['50+31=81', '69+6=75']
Exploring Operation: 81+75=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 81*75=6075, Resulting Numbers: [6075]
6075,83 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 83:[69, 87], Operations: ['50+31=81', '6+81=87']
Exploring Operation: 69*87=6003, Resulting Numbers: [6003]
6003,83 unequal: No Solution
Exploring Operation: 69+87=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[69, 75], Operations: ['50+31=81', '81-6=75']
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,83 unequal: No Solution
Exploring Operation: 69*75=5175, Resulting Numbers: [5175]
5175,83 unequal: No Solution
Exploring Operation: 69+75=144, Resulting Numbers: [144]
144,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[81, 63], Operations: ['50+31=81', '69-6=63']
Exploring Operation: 81+63=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Exploring Operation: 81*63=5103, Resulting Numbers: [5103]
5103,83 unequal: No Solution
Exploring Operation: 81-63=18, Resulting Numbers: [18]
18,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[6, 150], Operations: ['50+31=81', '69+81=150']
Exploring Operation: 150/6=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Exploring Operation: 150-6=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Exploring Operation: 6*150=900, Resulting Numbers: [900]
900,83 unequal: No Solution
Exploring Operation: 6+150=156, Resulting Numbers: [156]
156,83 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: 83:[69, 31, 56], Operations: ['50+6=56']
Exploring Operation: 56-31=25, Resulting Numbers: [69, 25]
Generated Node #0,4,0: 83:[69, 25] Operation: 56-31=25
Exploring Operation: 69+56=125, Resulting Numbers: [31, 125]
Generated Node #0,4,1: 83:[31, 125] Operation: 69+56=125
Exploring Operation: 69+31=100, Resulting Numbers: [56, 100]
Generated Node #0,4,2: 83:[56, 100] Operation: 69+31=100
Exploring Operation: 31+56=87, Resulting Numbers: [69, 87]
Generated Node #0,4,3: 83:[69, 87] Operation: 31+56=87
Exploring Operation: 69-31=38, Resulting Numbers: [56, 38]
Generated Node #0,4,4: 83:[56, 38] Operation: 69-31=38
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 83:[69, 87], Operations: ['50+6=56', '31+56=87']
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 69+87=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 69*87=6003, Resulting Numbers: [6003]
6003,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 83:[56, 100], Operations: ['50+6=56', '69+31=100']
Exploring Operation: 100-56=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 56*100=5600, Resulting Numbers: [5600]
5600,83 unequal: No Solution
Exploring Operation: 56+100=156, Resulting Numbers: [156]
156,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 83:[69, 25], Operations: ['50+6=56', '56-31=25']
Exploring Operation: 69+25=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 69*25=1725, Resulting Numbers: [1725]
1725,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 83:[56, 38], Operations: ['50+6=56', '69-31=38']
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 56+38=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 56*38=2128, Resulting Numbers: [2128]
2128,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 83:[31, 125], Operations: ['50+6=56', '69+56=125']
Exploring Operation: 31*125=3875, Resulting Numbers: [3875]
3875,83 unequal: No Solution
Exploring Operation: 125-31=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 31+125=156, Resulting Numbers: [156]
156,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 83:[69, 31, 44], Operations: ['50-6=44']
Exploring Operation: 69+44=113, Resulting Numbers: [31, 113]
Generated Node #0,1,0: 83:[31, 113] Operation: 69+44=113
Exploring Operation: 44-31=13, Resulting Numbers: [69, 13]
Generated Node #0,1,1: 83:[69, 13] Operation: 44-31=13
Exploring Operation: 69+31=100, Resulting Numbers: [44, 100]
Generated Node #0,1,2: 83:[44, 100] Operation: 69+31=100
Exploring Operation: 69-31=38, Resulting Numbers: [44, 38]
Generated Node #0,1,3: 83:[44, 38] Operation: 69-31=38
Exploring Operation: 31+44=75, Resulting Numbers: [69, 75]
Generated Node #0,1,4: 83:[69, 75] Operation: 31+44=75
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 83:[69, 75], Operations: ['50-6=44', '31+44=75']
Exploring Operation: 69*75=5175, Resulting Numbers: [5175]
5175,83 unequal: No Solution
Exploring Operation: 69+75=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[44, 100], Operations: ['50-6=44', '69+31=100']
Exploring Operation: 44+100=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Exploring Operation: 44*100=4400, Resulting Numbers: [4400]
4400,83 unequal: No Solution
Exploring Operation: 100-44=56, Resulting Numbers: [56]
56,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[31, 113], Operations: ['50-6=44', '69+44=113']
Exploring Operation: 31+113=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Exploring Operation: 113-31=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 31*113=3503, Resulting Numbers: [3503]
3503,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[69, 13], Operations: ['50-6=44', '44-31=13']
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,83 unequal: No Solution
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 83:[44, 38], Operations: ['50-6=44', '69-31=38']
Exploring Operation: 44*38=1672, Resulting Numbers: [1672]
1672,83 unequal: No Solution
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
79,
5,
36,
4
] | 87 | [
"36+4=40",
"40/5=8",
"79+8=87"
] | Current State: 87:[79, 5, 36, 4], Operations: []
Exploring Operation: 36+4=40, Resulting Numbers: [79, 5, 40]
Generated Node #2: [79, 5, 40] from Operation: 36+4=40
Current State: 87:[79, 5, 40], Operations: ['36+4=40']
Exploring Operation: 40/5=8, Resulting Numbers: [79, 8]
Generated Node #3: [79, 8] from Operation: 40/5=8
Current State: 87:[79, 8], Operations: ['36+4=40', '40/5=8']
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[79, 5, 36, 4], Operations: []
Exploring Operation: 79+4=83, Resulting Numbers: [5, 36, 83]
Generated Node #0,0: 87:[5, 36, 83] Operation: 79+4=83
Exploring Operation: 36-5=31, Resulting Numbers: [79, 4, 31]
Generated Node #0,1: 87:[79, 4, 31] Operation: 36-5=31
Exploring Operation: 79+5=84, Resulting Numbers: [36, 4, 84]
Generated Node #0,2: 87:[36, 4, 84] Operation: 79+5=84
Moving to Node #0,1
Current State: 87:[79, 4, 31], Operations: ['36-5=31']
Exploring Operation: 79+4=83, Resulting Numbers: [31, 83]
Generated Node #0,1,0: 87:[31, 83] Operation: 79+4=83
Exploring Operation: 31-4=27, Resulting Numbers: [79, 27]
Generated Node #0,1,1: 87:[79, 27] Operation: 31-4=27
Exploring Operation: 79-4=75, Resulting Numbers: [31, 75]
Generated Node #0,1,2: 87:[31, 75] Operation: 79-4=75
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[31, 83], Operations: ['36-5=31', '79+4=83']
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 31+83=114, Resulting Numbers: [114]
114,87 unequal: No Solution
Exploring Operation: 31*83=2573, Resulting Numbers: [2573]
2573,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,1
Current State: 87:[79, 27], Operations: ['36-5=31', '31-4=27']
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,87 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,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,2
Current State: 87:[31, 75], Operations: ['36-5=31', '79-4=75']
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 31*75=2325, Resulting Numbers: [2325]
2325,87 unequal: No Solution
Exploring Operation: 31+75=106, Resulting Numbers: [106]
106,87 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: 87:[36, 4, 84], Operations: ['79+5=84']
Exploring Operation: 36/4=9, Resulting Numbers: [84, 9]
Generated Node #0,2,0: 87:[84, 9] Operation: 36/4=9
Exploring Operation: 4+84=88, Resulting Numbers: [36, 88]
Generated Node #0,2,1: 87:[36, 88] Operation: 4+84=88
Exploring Operation: 36-4=32, Resulting Numbers: [84, 32]
Generated Node #0,2,2: 87:[84, 32] Operation: 36-4=32
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[84, 32], Operations: ['79+5=84', '36-4=32']
Exploring Operation: 84*32=2688, Resulting Numbers: [2688]
2688,87 unequal: No Solution
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 84+32=116, Resulting Numbers: [116]
116,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,2,1
Current State: 87:[36, 88], Operations: ['79+5=84', '4+84=88']
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,87 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,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,2,0
Current State: 87:[84, 9], Operations: ['79+5=84', '36/4=9']
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,87 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,87 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: 87:[5, 36, 83], Operations: ['79+4=83']
Exploring Operation: 5+36=41, Resulting Numbers: [83, 41]
Generated Node #0,0,0: 87:[83, 41] Operation: 5+36=41
Exploring Operation: 36-5=31, Resulting Numbers: [83, 31]
Generated Node #0,0,1: 87:[83, 31] Operation: 36-5=31
Exploring Operation: 5+83=88, Resulting Numbers: [36, 88]
Generated Node #0,0,2: 87:[36, 88] Operation: 5+83=88
Moving to Node #0,0,1
Current State: 87:[83, 31], Operations: ['79+4=83', '36-5=31']
Exploring Operation: 83+31=114, Resulting Numbers: [114]
114,87 unequal: No Solution
Exploring Operation: 83*31=2573, Resulting Numbers: [2573]
2573,87 unequal: No Solution
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[36, 88], Operations: ['79+4=83', '5+83=88']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,87 unequal: No Solution
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[83, 41], Operations: ['79+4=83', '5+36=41']
Exploring Operation: 83+41=124, Resulting Numbers: [124]
124,87 unequal: No Solution
Exploring Operation: 83*41=3403, Resulting Numbers: [3403]
3403,87 unequal: No Solution
Exploring Operation: 83-41=42, Resulting Numbers: [42]
42,87 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.