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 |
|---|---|---|---|---|---|---|---|---|
[
3,
8,
18,
16
] | 12 | [
"3*8=24",
"18*16=288",
"288/24=12"
] | Current State: 12:[3, 8, 18, 16], Operations: []
Exploring Operation: 3*8=24, Resulting Numbers: [18, 16, 24]
Generated Node #2: [18, 16, 24] from Operation: 3*8=24
Current State: 12:[18, 16, 24], Operations: ['3*8=24']
Exploring Operation: 18*16=288, Resulting Numbers: [24, 288]
Generated Node #3: [24, 288] from Operation: 18*16=288
Current State: 12:[24, 288], Operations: ['3*8=24', '18*16=288']
Exploring Operation: 288/24=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[3, 8, 18, 16], Operations: []
Exploring Operation: 18/3=6, Resulting Numbers: [8, 16, 6]
Generated Node #0,0: 12:[8, 16, 6] Operation: 18/3=6
Exploring Operation: 18-16=2, Resulting Numbers: [3, 8, 2]
Generated Node #0,1: 12:[3, 8, 2] Operation: 18-16=2
Exploring Operation: 16/8=2, Resulting Numbers: [3, 18, 2]
Generated Node #0,2: 12:[3, 18, 2] Operation: 16/8=2
Exploring Operation: 16-8=8, Resulting Numbers: [3, 18, 8]
Generated Node #0,3: 12:[3, 18, 8] Operation: 16-8=8
Exploring Operation: 18-8=10, Resulting Numbers: [3, 16, 10]
Generated Node #0,4: 12:[3, 16, 10] Operation: 18-8=10
Moving to Node #0,1
Current State: 12:[3, 8, 2], Operations: ['18-16=2']
Exploring Operation: 8-3=5, Resulting Numbers: [2, 5]
Generated Node #0,1,0: 12:[2, 5] Operation: 8-3=5
Exploring Operation: 8/2=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 12:[3, 4] Operation: 8/2=4
Exploring Operation: 3*2=6, Resulting Numbers: [8, 6]
Generated Node #0,1,2: 12:[8, 6] Operation: 3*2=6
Exploring Operation: 8-2=6, Resulting Numbers: [3, 6]
Generated Node #0,1,3: 12:[3, 6] Operation: 8-2=6
Exploring Operation: 3+8=11, Resulting Numbers: [2, 11]
Generated Node #0,1,4: 12:[2, 11] Operation: 3+8=11
Moving to Node #0,2
Current State: 12:[3, 18, 2], Operations: ['16/8=2']
Exploring Operation: 18-2=16, Resulting Numbers: [3, 16]
Generated Node #0,2,0: 12:[3, 16] Operation: 18-2=16
Exploring Operation: 18/2=9, Resulting Numbers: [3, 9]
Generated Node #0,2,1: 12:[3, 9] Operation: 18/2=9
Exploring Operation: 3*2=6, Resulting Numbers: [18, 6]
Generated Node #0,2,2: 12:[18, 6] Operation: 3*2=6
Exploring Operation: 18-3=15, Resulting Numbers: [2, 15]
Generated Node #0,2,3: 12:[2, 15] Operation: 18-3=15
Exploring Operation: 18/3=6, Resulting Numbers: [2, 6]
Generated Node #0,2,4: 12:[2, 6] Operation: 18/3=6
Moving to Node #0,0
Current State: 12:[8, 16, 6], Operations: ['18/3=6']
Exploring Operation: 8+6=14, Resulting Numbers: [16, 14]
Generated Node #0,0,0: 12:[16, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [16, 2]
Generated Node #0,0,1: 12:[16, 2] Operation: 8-6=2
Exploring Operation: 16-6=10, Resulting Numbers: [8, 10]
Generated Node #0,0,2: 12:[8, 10] Operation: 16-6=10
Exploring Operation: 16/8=2, Resulting Numbers: [6, 2]
Generated Node #0,0,3: 12:[6, 2] Operation: 16/8=2
Exploring Operation: 16-8=8, Resulting Numbers: [6, 8]
Generated Node #0,0,4: 12:[6, 8] Operation: 16-8=8
Moving to Node #0,4
Current State: 12:[3, 16, 10], Operations: ['18-8=10']
Exploring Operation: 10-3=7, Resulting Numbers: [16, 7]
Generated Node #0,4,0: 12:[16, 7] Operation: 10-3=7
Exploring Operation: 16-3=13, Resulting Numbers: [10, 13]
Generated Node #0,4,1: 12:[10, 13] Operation: 16-3=13
Exploring Operation: 3+10=13, Resulting Numbers: [16, 13]
Generated Node #0,4,2: 12:[16, 13] Operation: 3+10=13
Exploring Operation: 3+16=19, Resulting Numbers: [10, 19]
Generated Node #0,4,3: 12:[10, 19] Operation: 3+16=19
Exploring Operation: 16-10=6, Resulting Numbers: [3, 6]
Generated Node #0,4,4: 12:[3, 6] Operation: 16-10=6
Moving to Node #0,3
Current State: 12:[3, 18, 8], Operations: ['16-8=8']
Exploring Operation: 8-3=5, Resulting Numbers: [18, 5]
Generated Node #0,3,0: 12:[18, 5] Operation: 8-3=5
Exploring Operation: 3+8=11, Resulting Numbers: [18, 11]
Generated Node #0,3,1: 12:[18, 11] Operation: 3+8=11
Exploring Operation: 18-3=15, Resulting Numbers: [8, 15]
Generated Node #0,3,2: 12:[8, 15] Operation: 18-3=15
Exploring Operation: 18/3=6, Resulting Numbers: [8, 6]
Generated Node #0,3,3: 12:[8, 6] Operation: 18/3=6
Exploring Operation: 18-8=10, Resulting Numbers: [3, 10]
Generated Node #0,3,4: 12:[3, 10] Operation: 18-8=10
Moving to Node #0,1,1
Current State: 12:[3, 4], Operations: ['18-16=2', '8/2=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[3, 8, 18, 16], Operations: []
Exploring Operation: 18-16=2, Resulting Numbers: [3, 8, 2]
Generated Node #0,1: 12:[3, 8, 2] Operation: 18-16=2
Moving to Node #0,1
Current State: 12:[3, 8, 2], Operations: ['18-16=2']
Exploring Operation: 8/2=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 12:[3, 4] Operation: 8/2=4
Moving to Node #0,1,1
Current State: 12:[3, 4], Operations: ['18-16=2', '8/2=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.96875 | hs_5 | sum_heuristic |
[
46,
40,
37,
38
] | 100 | [
"40-37=3",
"46*3=138",
"138-38=100"
] | Current State: 100:[46, 40, 37, 38], Operations: []
Exploring Operation: 40-37=3, Resulting Numbers: [46, 38, 3]
Generated Node #2: [46, 38, 3] from Operation: 40-37=3
Current State: 100:[46, 38, 3], Operations: ['40-37=3']
Exploring Operation: 46*3=138, Resulting Numbers: [38, 138]
Generated Node #3: [38, 138] from Operation: 46*3=138
Current State: 100:[38, 138], Operations: ['40-37=3', '46*3=138']
Exploring Operation: 138-38=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[46, 40, 37, 38], Operations: []
Exploring Operation: 38-37=1, Resulting Numbers: [46, 40, 1]
Generated Node #0,0: 100:[46, 40, 1] Operation: 38-37=1
Exploring Operation: 40-38=2, Resulting Numbers: [46, 37, 2]
Generated Node #0,1: 100:[46, 37, 2] Operation: 40-38=2
Moving to Node #0,0
Current State: 100:[46, 40, 1], Operations: ['38-37=1']
Exploring Operation: 46-40=6, Resulting Numbers: [1, 6]
Generated Node #0,0,0: 100:[1, 6] Operation: 46-40=6
Exploring Operation: 46+1=47, Resulting Numbers: [40, 47]
Generated Node #0,0,1: 100:[40, 47] Operation: 46+1=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[1, 6], Operations: ['38-37=1', '46-40=6']
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[40, 47], Operations: ['38-37=1', '46+1=47']
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,100 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: 100:[46, 37, 2], Operations: ['40-38=2']
Exploring Operation: 46+2=48, Resulting Numbers: [37, 48]
Generated Node #0,1,0: 100:[37, 48] Operation: 46+2=48
Exploring Operation: 46-37=9, Resulting Numbers: [2, 9]
Generated Node #0,1,1: 100:[2, 9] Operation: 46-37=9
Moving to Node #0,1,1
Current State: 100:[2, 9], Operations: ['40-38=2', '46-37=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[37, 48], Operations: ['40-38=2', '46+2=48']
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,100 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
89,
32,
86,
52
] | 81 | [
"89-32=57",
"86+52=138",
"138-57=81"
] | Current State: 81:[89, 32, 86, 52], Operations: []
Exploring Operation: 89-32=57, Resulting Numbers: [86, 52, 57]
Generated Node #2: [86, 52, 57] from Operation: 89-32=57
Current State: 81:[86, 52, 57], Operations: ['89-32=57']
Exploring Operation: 86+52=138, Resulting Numbers: [57, 138]
Generated Node #3: [57, 138] from Operation: 86+52=138
Current State: 81:[57, 138], Operations: ['89-32=57', '86+52=138']
Exploring Operation: 138-57=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[89, 32, 86, 52], Operations: []
Exploring Operation: 32+52=84, Resulting Numbers: [89, 86, 84]
Generated Node #0,0: 81:[89, 86, 84] Operation: 32+52=84
Exploring Operation: 89-52=37, Resulting Numbers: [32, 86, 37]
Generated Node #0,1: 81:[32, 86, 37] Operation: 89-52=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[89, 86, 84], Operations: ['32+52=84']
Exploring Operation: 89-84=5, Resulting Numbers: [86, 5]
Generated Node #0,0,0: 81:[86, 5] Operation: 89-84=5
Exploring Operation: 89-86=3, Resulting Numbers: [84, 3]
Generated Node #0,0,1: 81:[84, 3] Operation: 89-86=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[84, 3], Operations: ['32+52=84', '89-86=3']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[89, 32, 86, 52], Operations: []
Exploring Operation: 32+52=84, Resulting Numbers: [89, 86, 84]
Generated Node #0,0: 81:[89, 86, 84] Operation: 32+52=84
Moving to Node #0,0
Current State: 81:[89, 86, 84], Operations: ['32+52=84']
Exploring Operation: 89-86=3, Resulting Numbers: [84, 3]
Generated Node #0,0,1: 81:[84, 3] Operation: 89-86=3
Moving to Node #0,0,1
Current State: 81:[84, 3], Operations: ['32+52=84', '89-86=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
88,
85,
74,
2
] | 66 | [
"85-74=11",
"2*11=22",
"88-22=66"
] | Current State: 66:[88, 85, 74, 2], Operations: []
Exploring Operation: 85-74=11, Resulting Numbers: [88, 2, 11]
Generated Node #2: [88, 2, 11] from Operation: 85-74=11
Current State: 66:[88, 2, 11], Operations: ['85-74=11']
Exploring Operation: 2*11=22, Resulting Numbers: [88, 22]
Generated Node #3: [88, 22] from Operation: 2*11=22
Current State: 66:[88, 22], Operations: ['85-74=11', '2*11=22']
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[88, 85, 74, 2], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [85, 2, 14]
Generated Node #0,0: 66:[85, 2, 14] Operation: 88-74=14
Exploring Operation: 85-74=11, Resulting Numbers: [88, 2, 11]
Generated Node #0,1: 66:[88, 2, 11] Operation: 85-74=11
Exploring Operation: 88/2=44, Resulting Numbers: [85, 74, 44]
Generated Node #0,2: 66:[85, 74, 44] Operation: 88/2=44
Exploring Operation: 88-85=3, Resulting Numbers: [74, 2, 3]
Generated Node #0,3: 66:[74, 2, 3] Operation: 88-85=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[74, 2, 3], Operations: ['88-85=3']
Exploring Operation: 2*3=6, Resulting Numbers: [74, 6]
Generated Node #0,3,0: 66:[74, 6] Operation: 2*3=6
Exploring Operation: 74/2=37, Resulting Numbers: [3, 37]
Generated Node #0,3,1: 66:[3, 37] Operation: 74/2=37
Exploring Operation: 74-3=71, Resulting Numbers: [2, 71]
Generated Node #0,3,2: 66:[2, 71] Operation: 74-3=71
Exploring Operation: 74-2=72, Resulting Numbers: [3, 72]
Generated Node #0,3,3: 66:[3, 72] Operation: 74-2=72
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 66:[3, 37], Operations: ['88-85=3', '74/2=37']
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,66 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,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,2
Current State: 66:[2, 71], Operations: ['88-85=3', '74-3=71']
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,66 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,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:[3, 72], Operations: ['88-85=3', '74-2=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 3*72=216, Resulting Numbers: [216]
216,66 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,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:[74, 6], Operations: ['88-85=3', '2*3=6']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,66 unequal: No Solution
Exploring Operation: 74*6=444, Resulting Numbers: [444]
444,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:[85, 2, 14], Operations: ['88-74=14']
Exploring Operation: 85-2=83, Resulting Numbers: [14, 83]
Generated Node #0,0,0: 66:[14, 83] Operation: 85-2=83
Exploring Operation: 14-2=12, Resulting Numbers: [85, 12]
Generated Node #0,0,1: 66:[85, 12] Operation: 14-2=12
Exploring Operation: 85-14=71, Resulting Numbers: [2, 71]
Generated Node #0,0,2: 66:[2, 71] Operation: 85-14=71
Exploring Operation: 14/2=7, Resulting Numbers: [85, 7]
Generated Node #0,0,3: 66:[85, 7] Operation: 14/2=7
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[2, 71], Operations: ['88-74=14', '85-14=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,66 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,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:[14, 83], Operations: ['88-74=14', '85-2=83']
Exploring Operation: 14+83=97, Resulting Numbers: [97]
97,66 unequal: No Solution
Exploring Operation: 14*83=1162, Resulting Numbers: [1162]
1162,66 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,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,1
Current State: 66:[85, 12], Operations: ['88-74=14', '14-2=12']
Exploring Operation: 85+12=97, Resulting Numbers: [97]
97,66 unequal: No Solution
Exploring Operation: 85*12=1020, Resulting Numbers: [1020]
1020,66 unequal: No Solution
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,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:[85, 7], Operations: ['88-74=14', '14/2=7']
Exploring Operation: 85*7=595, Resulting Numbers: [595]
595,66 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,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:[88, 2, 11], Operations: ['85-74=11']
Exploring Operation: 88/2=44, Resulting Numbers: [11, 44]
Generated Node #0,1,0: 66:[11, 44] Operation: 88/2=44
Exploring Operation: 88/11=8, Resulting Numbers: [2, 8]
Generated Node #0,1,1: 66:[2, 8] Operation: 88/11=8
Exploring Operation: 88-11=77, Resulting Numbers: [2, 77]
Generated Node #0,1,2: 66:[2, 77] Operation: 88-11=77
Exploring Operation: 88-2=86, Resulting Numbers: [11, 86]
Generated Node #0,1,3: 66:[11, 86] Operation: 88-2=86
Moving to Node #0,1,1
Current State: 66:[2, 8], Operations: ['85-74=11', '88/11=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[2, 77], Operations: ['85-74=11', '88-11=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[11, 44], Operations: ['85-74=11', '88/2=44']
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 11*44=484, Resulting Numbers: [484]
484,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[11, 86], Operations: ['85-74=11', '88-2=86']
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 11*86=946, Resulting Numbers: [946]
946,66 unequal: No Solution
Exploring Operation: 11+86=97, Resulting Numbers: [97]
97,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[85, 74, 44], Operations: ['88/2=44']
Exploring Operation: 74-44=30, Resulting Numbers: [85, 30]
Generated Node #0,2,0: 66:[85, 30] Operation: 74-44=30
Exploring Operation: 85-44=41, Resulting Numbers: [74, 41]
Generated Node #0,2,1: 66:[74, 41] Operation: 85-44=41
Exploring Operation: 85-74=11, Resulting Numbers: [44, 11]
Generated Node #0,2,2: 66:[44, 11] Operation: 85-74=11
Exploring Operation: 85+44=129, Resulting Numbers: [74, 129]
Generated Node #0,2,3: 66:[74, 129] Operation: 85+44=129
Moving to Node #0,2,2
Current State: 66:[44, 11], Operations: ['88/2=44', '85-74=11']
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 44*11=484, Resulting Numbers: [484]
484,66 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[74, 41], Operations: ['88/2=44', '85-44=41']
Exploring Operation: 74*41=3034, Resulting Numbers: [3034]
3034,66 unequal: No Solution
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 74+41=115, Resulting Numbers: [115]
115,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[85, 30], Operations: ['88/2=44', '74-44=30']
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 85+30=115, Resulting Numbers: [115]
115,66 unequal: No Solution
Exploring Operation: 85*30=2550, Resulting Numbers: [2550]
2550,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[74, 129], Operations: ['88/2=44', '85+44=129']
Exploring Operation: 129-74=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 74+129=203, Resulting Numbers: [203]
203,66 unequal: No Solution
Exploring Operation: 74*129=9546, Resulting Numbers: [9546]
9546,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
36,
64,
4,
74
] | 22 | [
"36+64=100",
"4+74=78",
"100-78=22"
] | Current State: 22:[36, 64, 4, 74], Operations: []
Exploring Operation: 36+64=100, Resulting Numbers: [4, 74, 100]
Generated Node #2: [4, 74, 100] from Operation: 36+64=100
Current State: 22:[4, 74, 100], Operations: ['36+64=100']
Exploring Operation: 4+74=78, Resulting Numbers: [100, 78]
Generated Node #3: [100, 78] from Operation: 4+74=78
Current State: 22:[100, 78], Operations: ['36+64=100', '4+74=78']
Exploring Operation: 100-78=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[36, 64, 4, 74], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [36, 4, 10]
Generated Node #0,0: 22:[36, 4, 10] Operation: 74-64=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[36, 4, 10], Operations: ['74-64=10']
Exploring Operation: 36/4=9, Resulting Numbers: [10, 9]
Generated Node #0,0,0: 22:[10, 9] Operation: 36/4=9
Moving to Node #0,0,0
Current State: 22:[10, 9], Operations: ['74-64=10', '36/4=9']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
8,
17,
42
] | 97 | [
"9*8=72",
"42-17=25",
"72+25=97"
] | Current State: 97:[9, 8, 17, 42], Operations: []
Exploring Operation: 9*8=72, Resulting Numbers: [17, 42, 72]
Generated Node #2: [17, 42, 72] from Operation: 9*8=72
Current State: 97:[17, 42, 72], Operations: ['9*8=72']
Exploring Operation: 42-17=25, Resulting Numbers: [72, 25]
Generated Node #3: [72, 25] from Operation: 42-17=25
Current State: 97:[72, 25], Operations: ['9*8=72', '42-17=25']
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[9, 8, 17, 42], Operations: []
Exploring Operation: 8*17=136, Resulting Numbers: [9, 42, 136]
Generated Node #0,0: 97:[9, 42, 136] Operation: 8*17=136
Exploring Operation: 9*8=72, Resulting Numbers: [17, 42, 72]
Generated Node #0,1: 97:[17, 42, 72] Operation: 9*8=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[17, 42, 72], Operations: ['9*8=72']
Exploring Operation: 17+72=89, Resulting Numbers: [42, 89]
Generated Node #0,1,0: 97:[42, 89] Operation: 17+72=89
Exploring Operation: 17+42=59, Resulting Numbers: [72, 59]
Generated Node #0,1,1: 97:[72, 59] Operation: 17+42=59
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[42, 89], Operations: ['9*8=72', '17+72=89']
Exploring Operation: 42+89=131, Resulting Numbers: [131]
131,97 unequal: No Solution
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,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:[72, 59], Operations: ['9*8=72', '17+42=59']
Exploring Operation: 72+59=131, Resulting Numbers: [131]
131,97 unequal: No Solution
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,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,0
Current State: 97:[9, 42, 136], Operations: ['8*17=136']
Exploring Operation: 136-9=127, Resulting Numbers: [42, 127]
Generated Node #0,0,0: 97:[42, 127] Operation: 136-9=127
Exploring Operation: 9+42=51, Resulting Numbers: [136, 51]
Generated Node #0,0,1: 97:[136, 51] Operation: 9+42=51
Moving to Node #0,0,0
Current State: 97:[42, 127], Operations: ['8*17=136', '136-9=127']
Exploring Operation: 127-42=85, Resulting Numbers: [85]
85,97 unequal: No Solution
Exploring Operation: 42+127=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[136, 51], Operations: ['8*17=136', '9+42=51']
Exploring Operation: 136-51=85, Resulting Numbers: [85]
85,97 unequal: No Solution
Exploring Operation: 136+51=187, Resulting Numbers: [187]
187,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 |
[
90,
10,
48,
88
] | 31 | [
"90/10=9",
"88-48=40",
"40-9=31"
] | Current State: 31:[90, 10, 48, 88], Operations: []
Exploring Operation: 90/10=9, Resulting Numbers: [48, 88, 9]
Generated Node #2: [48, 88, 9] from Operation: 90/10=9
Current State: 31:[48, 88, 9], Operations: ['90/10=9']
Exploring Operation: 88-48=40, Resulting Numbers: [9, 40]
Generated Node #3: [9, 40] from Operation: 88-48=40
Current State: 31:[9, 40], Operations: ['90/10=9', '88-48=40']
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[90, 10, 48, 88], Operations: []
Exploring Operation: 90-48=42, Resulting Numbers: [10, 88, 42]
Generated Node #0,0: 31:[10, 88, 42] Operation: 90-48=42
Exploring Operation: 90/10=9, Resulting Numbers: [48, 88, 9]
Generated Node #0,1: 31:[48, 88, 9] Operation: 90/10=9
Exploring Operation: 90-88=2, Resulting Numbers: [10, 48, 2]
Generated Node #0,2: 31:[10, 48, 2] Operation: 90-88=2
Exploring Operation: 90-10=80, Resulting Numbers: [48, 88, 80]
Generated Node #0,3: 31:[48, 88, 80] Operation: 90-10=80
Exploring Operation: 88-48=40, Resulting Numbers: [90, 10, 40]
Generated Node #0,4: 31:[90, 10, 40] Operation: 88-48=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[10, 48, 2], Operations: ['90-88=2']
Exploring Operation: 48-2=46, Resulting Numbers: [10, 46]
Generated Node #0,2,0: 31:[10, 46] Operation: 48-2=46
Exploring Operation: 48/2=24, Resulting Numbers: [10, 24]
Generated Node #0,2,1: 31:[10, 24] Operation: 48/2=24
Exploring Operation: 10*2=20, Resulting Numbers: [48, 20]
Generated Node #0,2,2: 31:[48, 20] Operation: 10*2=20
Exploring Operation: 48-10=38, Resulting Numbers: [2, 38]
Generated Node #0,2,3: 31:[2, 38] Operation: 48-10=38
Exploring Operation: 10+2=12, Resulting Numbers: [48, 12]
Generated Node #0,2,4: 31:[48, 12] Operation: 10+2=12
Moving to Node #0,2,1
Current State: 31:[10, 24], Operations: ['90-88=2', '48/2=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,31 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[48, 20], Operations: ['90-88=2', '10*2=20']
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[10, 46], Operations: ['90-88=2', '48-2=46']
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,31 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[2, 38], Operations: ['90-88=2', '48-10=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[48, 12], Operations: ['90-88=2', '10+2=12']
Exploring Operation: 48*12=576, Resulting Numbers: [576]
576,31 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[10, 88, 42], Operations: ['90-48=42']
Exploring Operation: 88-10=78, Resulting Numbers: [42, 78]
Generated Node #0,0,0: 31:[42, 78] Operation: 88-10=78
Exploring Operation: 10+42=52, Resulting Numbers: [88, 52]
Generated Node #0,0,1: 31:[88, 52] Operation: 10+42=52
Exploring Operation: 10+88=98, Resulting Numbers: [42, 98]
Generated Node #0,0,2: 31:[42, 98] Operation: 10+88=98
Exploring Operation: 42-10=32, Resulting Numbers: [88, 32]
Generated Node #0,0,3: 31:[88, 32] Operation: 42-10=32
Exploring Operation: 88-42=46, Resulting Numbers: [10, 46]
Generated Node #0,0,4: 31:[10, 46] Operation: 88-42=46
Moving to Node #0,0,4
Current State: 31:[10, 46], Operations: ['90-48=42', '88-42=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,31 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[88, 32], Operations: ['90-48=42', '42-10=32']
Exploring Operation: 88*32=2816, Resulting Numbers: [2816]
2816,31 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 88+32=120, Resulting Numbers: [120]
120,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[42, 78], Operations: ['90-48=42', '88-10=78']
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 42+78=120, Resulting Numbers: [120]
120,31 unequal: No Solution
Exploring Operation: 42*78=3276, Resulting Numbers: [3276]
3276,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[88, 52], Operations: ['90-48=42', '10+42=52']
Exploring Operation: 88+52=140, Resulting Numbers: [140]
140,31 unequal: No Solution
Exploring Operation: 88-52=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 88*52=4576, Resulting Numbers: [4576]
4576,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[42, 98], Operations: ['90-48=42', '10+88=98']
Exploring Operation: 42*98=4116, Resulting Numbers: [4116]
4116,31 unequal: No Solution
Exploring Operation: 98-42=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 42+98=140, Resulting Numbers: [140]
140,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[90, 10, 40], Operations: ['88-48=40']
Exploring Operation: 90-10=80, Resulting Numbers: [40, 80]
Generated Node #0,4,0: 31:[40, 80] Operation: 90-10=80
Exploring Operation: 90-40=50, Resulting Numbers: [10, 50]
Generated Node #0,4,1: 31:[10, 50] Operation: 90-40=50
Exploring Operation: 90/10=9, Resulting Numbers: [40, 9]
Generated Node #0,4,2: 31:[40, 9] Operation: 90/10=9
Exploring Operation: 40-10=30, Resulting Numbers: [90, 30]
Generated Node #0,4,3: 31:[90, 30] Operation: 40-10=30
Exploring Operation: 90+10=100, Resulting Numbers: [40, 100]
Generated Node #0,4,4: 31:[40, 100] Operation: 90+10=100
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 31:[40, 9], Operations: ['88-48=40', '90/10=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[90, 10, 48, 88], Operations: []
Exploring Operation: 88-48=40, Resulting Numbers: [90, 10, 40]
Generated Node #0,4: 31:[90, 10, 40] Operation: 88-48=40
Moving to Node #0,4
Current State: 31:[90, 10, 40], Operations: ['88-48=40']
Exploring Operation: 90/10=9, Resulting Numbers: [40, 9]
Generated Node #0,4,2: 31:[40, 9] Operation: 90/10=9
Moving to Node #0,4,2
Current State: 31:[40, 9], Operations: ['88-48=40', '90/10=9']
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_5 | sum_heuristic |
[
4,
57,
58,
71
] | 48 | [
"4+57=61",
"71-58=13",
"61-13=48"
] | Current State: 48:[4, 57, 58, 71], Operations: []
Exploring Operation: 4+57=61, Resulting Numbers: [58, 71, 61]
Generated Node #2: [58, 71, 61] from Operation: 4+57=61
Current State: 48:[58, 71, 61], Operations: ['4+57=61']
Exploring Operation: 71-58=13, Resulting Numbers: [61, 13]
Generated Node #3: [61, 13] from Operation: 71-58=13
Current State: 48:[61, 13], Operations: ['4+57=61', '71-58=13']
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[4, 57, 58, 71], Operations: []
Exploring Operation: 57-4=53, Resulting Numbers: [58, 71, 53]
Generated Node #0,0: 48:[58, 71, 53] Operation: 57-4=53
Exploring Operation: 58-57=1, Resulting Numbers: [4, 71, 1]
Generated Node #0,1: 48:[4, 71, 1] Operation: 58-57=1
Exploring Operation: 71-58=13, Resulting Numbers: [4, 57, 13]
Generated Node #0,2: 48:[4, 57, 13] Operation: 71-58=13
Exploring Operation: 71-57=14, Resulting Numbers: [4, 58, 14]
Generated Node #0,3: 48:[4, 58, 14] Operation: 71-57=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[4, 57, 13], Operations: ['71-58=13']
Exploring Operation: 4+13=17, Resulting Numbers: [57, 17]
Generated Node #0,2,0: 48:[57, 17] Operation: 4+13=17
Exploring Operation: 57-13=44, Resulting Numbers: [4, 44]
Generated Node #0,2,1: 48:[4, 44] Operation: 57-13=44
Exploring Operation: 13-4=9, Resulting Numbers: [57, 9]
Generated Node #0,2,2: 48:[57, 9] Operation: 13-4=9
Exploring Operation: 57-4=53, Resulting Numbers: [13, 53]
Generated Node #0,2,3: 48:[13, 53] Operation: 57-4=53
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 48:[4, 44], Operations: ['71-58=13', '57-13=44']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[4, 57, 58, 71], Operations: []
Exploring Operation: 71-58=13, Resulting Numbers: [4, 57, 13]
Generated Node #0,2: 48:[4, 57, 13] Operation: 71-58=13
Moving to Node #0,2
Current State: 48:[4, 57, 13], Operations: ['71-58=13']
Exploring Operation: 57-13=44, Resulting Numbers: [4, 44]
Generated Node #0,2,1: 48:[4, 44] Operation: 57-13=44
Moving to Node #0,2,1
Current State: 48:[4, 44], Operations: ['71-58=13', '57-13=44']
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
40,
6,
57,
55
] | 10 | [
"40+55=95",
"6*95=570",
"570/57=10"
] | Current State: 10:[40, 6, 57, 55], Operations: []
Exploring Operation: 40+55=95, Resulting Numbers: [6, 57, 95]
Generated Node #2: [6, 57, 95] from Operation: 40+55=95
Current State: 10:[6, 57, 95], Operations: ['40+55=95']
Exploring Operation: 6*95=570, Resulting Numbers: [57, 570]
Generated Node #3: [57, 570] from Operation: 6*95=570
Current State: 10:[57, 570], Operations: ['40+55=95', '6*95=570']
Exploring Operation: 570/57=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[40, 6, 57, 55], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [40, 6, 2]
Generated Node #0,0: 10:[40, 6, 2] Operation: 57-55=2
Exploring Operation: 57-6=51, Resulting Numbers: [40, 55, 51]
Generated Node #0,1: 10:[40, 55, 51] Operation: 57-6=51
Exploring Operation: 55-40=15, Resulting Numbers: [6, 57, 15]
Generated Node #0,2: 10:[6, 57, 15] Operation: 55-40=15
Exploring Operation: 40-6=34, Resulting Numbers: [57, 55, 34]
Generated Node #0,3: 10:[57, 55, 34] Operation: 40-6=34
Exploring Operation: 57-40=17, Resulting Numbers: [6, 55, 17]
Generated Node #0,4: 10:[6, 55, 17] Operation: 57-40=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[40, 6, 2], Operations: ['57-55=2']
Exploring Operation: 6-2=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 10:[40, 4] Operation: 6-2=4
Exploring Operation: 6/2=3, Resulting Numbers: [40, 3]
Generated Node #0,0,1: 10:[40, 3] Operation: 6/2=3
Exploring Operation: 40/2=20, Resulting Numbers: [6, 20]
Generated Node #0,0,2: 10:[6, 20] Operation: 40/2=20
Exploring Operation: 40-2=38, Resulting Numbers: [6, 38]
Generated Node #0,0,3: 10:[6, 38] Operation: 40-2=38
Exploring Operation: 40-6=34, Resulting Numbers: [2, 34]
Generated Node #0,0,4: 10:[2, 34] Operation: 40-6=34
Moving to Node #0,0,2
Current State: 10:[6, 20], Operations: ['57-55=2', '40/2=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Moving to Node #0,0,4
Current State: 10:[2, 34], Operations: ['57-55=2', '40-6=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,10 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[6, 38], Operations: ['57-55=2', '40-2=38']
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,10 unequal: No Solution
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[40, 4], Operations: ['57-55=2', '6-2=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,10 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[40, 6, 57, 55], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [40, 6, 2]
Generated Node #0,0: 10:[40, 6, 2] Operation: 57-55=2
Moving to Node #0,0
Current State: 10:[40, 6, 2], Operations: ['57-55=2']
Exploring Operation: 6-2=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 10:[40, 4] Operation: 6-2=4
Moving to Node #0,0,0
Current State: 10:[40, 4], Operations: ['57-55=2', '6-2=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
57,
36,
73,
79
] | 87 | [
"57+36=93",
"79-73=6",
"93-6=87"
] | Current State: 87:[57, 36, 73, 79], Operations: []
Exploring Operation: 57+36=93, Resulting Numbers: [73, 79, 93]
Generated Node #2: [73, 79, 93] from Operation: 57+36=93
Current State: 87:[73, 79, 93], Operations: ['57+36=93']
Exploring Operation: 79-73=6, Resulting Numbers: [93, 6]
Generated Node #3: [93, 6] from Operation: 79-73=6
Current State: 87:[93, 6], Operations: ['57+36=93', '79-73=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[57, 36, 73, 79], Operations: []
Exploring Operation: 57+36=93, Resulting Numbers: [73, 79, 93]
Generated Node #0,0: 87:[73, 79, 93] Operation: 57+36=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[73, 79, 93], Operations: ['57+36=93']
Exploring Operation: 79-73=6, Resulting Numbers: [93, 6]
Generated Node #0,0,0: 87:[93, 6] Operation: 79-73=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[93, 6], Operations: ['57+36=93', '79-73=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[57, 36, 73, 79], Operations: []
Exploring Operation: 57+36=93, Resulting Numbers: [73, 79, 93]
Generated Node #0,0: 87:[73, 79, 93] Operation: 57+36=93
Moving to Node #0,0
Current State: 87:[73, 79, 93], Operations: ['57+36=93']
Exploring Operation: 79-73=6, Resulting Numbers: [93, 6]
Generated Node #0,0,0: 87:[93, 6] Operation: 79-73=6
Moving to Node #0,0,0
Current State: 87:[93, 6], Operations: ['57+36=93', '79-73=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
79,
26,
92,
21
] | 23 | [
"92-79=13",
"26/13=2",
"21+2=23"
] | Current State: 23:[79, 26, 92, 21], Operations: []
Exploring Operation: 92-79=13, Resulting Numbers: [26, 21, 13]
Generated Node #2: [26, 21, 13] from Operation: 92-79=13
Current State: 23:[26, 21, 13], Operations: ['92-79=13']
Exploring Operation: 26/13=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 26/13=2
Current State: 23:[21, 2], Operations: ['92-79=13', '26/13=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[79, 26, 92, 21], Operations: []
Exploring Operation: 92-26=66, Resulting Numbers: [79, 21, 66]
Generated Node #0,0: 23:[79, 21, 66] Operation: 92-26=66
Exploring Operation: 79-26=53, Resulting Numbers: [92, 21, 53]
Generated Node #0,1: 23:[92, 21, 53] Operation: 79-26=53
Exploring Operation: 92-79=13, Resulting Numbers: [26, 21, 13]
Generated Node #0,2: 23:[26, 21, 13] Operation: 92-79=13
Exploring Operation: 79-21=58, Resulting Numbers: [26, 92, 58]
Generated Node #0,3: 23:[26, 92, 58] Operation: 79-21=58
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[26, 21, 13], Operations: ['92-79=13']
Exploring Operation: 26+13=39, Resulting Numbers: [21, 39]
Generated Node #0,2,0: 23:[21, 39] Operation: 26+13=39
Exploring Operation: 21-13=8, Resulting Numbers: [26, 8]
Generated Node #0,2,1: 23:[26, 8] Operation: 21-13=8
Exploring Operation: 26-13=13, Resulting Numbers: [21, 13]
Generated Node #0,2,2: 23:[21, 13] Operation: 26-13=13
Exploring Operation: 21+13=34, Resulting Numbers: [26, 34]
Generated Node #0,2,3: 23:[26, 34] Operation: 21+13=34
Moving to Node #0,2,2
Current State: 23:[21, 13], Operations: ['92-79=13', '26-13=13']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,23 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[26, 34], Operations: ['92-79=13', '21+13=34']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,23 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[26, 8], Operations: ['92-79=13', '21-13=8']
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,23 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[21, 39], Operations: ['92-79=13', '26+13=39']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[79, 21, 66], Operations: ['92-26=66']
Exploring Operation: 79+21=100, Resulting Numbers: [66, 100]
Generated Node #0,0,0: 23:[66, 100] Operation: 79+21=100
Exploring Operation: 66-21=45, Resulting Numbers: [79, 45]
Generated Node #0,0,1: 23:[79, 45] Operation: 66-21=45
Exploring Operation: 79-66=13, Resulting Numbers: [21, 13]
Generated Node #0,0,2: 23:[21, 13] Operation: 79-66=13
Exploring Operation: 79-21=58, Resulting Numbers: [66, 58]
Generated Node #0,0,3: 23:[66, 58] Operation: 79-21=58
Moving to Node #0,0,2
Current State: 23:[21, 13], Operations: ['92-26=66', '79-66=13']
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,23 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[66, 58], Operations: ['92-26=66', '79-21=58']
Exploring Operation: 66+58=124, Resulting Numbers: [124]
124,23 unequal: No Solution
Exploring Operation: 66*58=3828, Resulting Numbers: [3828]
3828,23 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[79, 45], Operations: ['92-26=66', '66-21=45']
Exploring Operation: 79*45=3555, Resulting Numbers: [3555]
3555,23 unequal: No Solution
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 79+45=124, Resulting Numbers: [124]
124,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[66, 100], Operations: ['92-26=66', '79+21=100']
Exploring Operation: 66*100=6600, Resulting Numbers: [6600]
6600,23 unequal: No Solution
Exploring Operation: 100-66=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 66+100=166, Resulting Numbers: [166]
166,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[92, 21, 53], Operations: ['79-26=53']
Exploring Operation: 92-21=71, Resulting Numbers: [53, 71]
Generated Node #0,1,0: 23:[53, 71] Operation: 92-21=71
Exploring Operation: 53-21=32, Resulting Numbers: [92, 32]
Generated Node #0,1,1: 23:[92, 32] Operation: 53-21=32
Exploring Operation: 92-53=39, Resulting Numbers: [21, 39]
Generated Node #0,1,2: 23:[21, 39] Operation: 92-53=39
Exploring Operation: 92+21=113, Resulting Numbers: [53, 113]
Generated Node #0,1,3: 23:[53, 113] Operation: 92+21=113
Moving to Node #0,1,2
Current State: 23:[21, 39], Operations: ['79-26=53', '92-53=39']
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,23 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[92, 32], Operations: ['79-26=53', '53-21=32']
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Exploring Operation: 92*32=2944, Resulting Numbers: [2944]
2944,23 unequal: No Solution
Exploring Operation: 92+32=124, Resulting Numbers: [124]
124,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[53, 71], Operations: ['79-26=53', '92-21=71']
Exploring Operation: 53+71=124, Resulting Numbers: [124]
124,23 unequal: No Solution
Exploring Operation: 53*71=3763, Resulting Numbers: [3763]
3763,23 unequal: No Solution
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[53, 113], Operations: ['79-26=53', '92+21=113']
Exploring Operation: 113-53=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Exploring Operation: 53+113=166, Resulting Numbers: [166]
166,23 unequal: No Solution
Exploring Operation: 53*113=5989, Resulting Numbers: [5989]
5989,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[26, 92, 58], Operations: ['79-21=58']
Exploring Operation: 92-26=66, Resulting Numbers: [58, 66]
Generated Node #0,3,0: 23:[58, 66] Operation: 92-26=66
Exploring Operation: 58-26=32, Resulting Numbers: [92, 32]
Generated Node #0,3,1: 23:[92, 32] Operation: 58-26=32
Exploring Operation: 26+92=118, Resulting Numbers: [58, 118]
Generated Node #0,3,2: 23:[58, 118] Operation: 26+92=118
Exploring Operation: 92-58=34, Resulting Numbers: [26, 34]
Generated Node #0,3,3: 23:[26, 34] Operation: 92-58=34
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 23:[26, 34], Operations: ['79-21=58', '92-58=34']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,23 unequal: No Solution
No 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: 23:[58, 66], Operations: ['79-21=58', '92-26=66']
Exploring Operation: 58*66=3828, Resulting Numbers: [3828]
3828,23 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 58+66=124, Resulting Numbers: [124]
124,23 unequal: No Solution
No 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: 23:[92, 32], Operations: ['79-21=58', '58-26=32']
Exploring Operation: 92+32=124, Resulting Numbers: [124]
124,23 unequal: No Solution
Exploring Operation: 92*32=2944, Resulting Numbers: [2944]
2944,23 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,23 unequal: No Solution
No 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: 23:[58, 118], Operations: ['79-21=58', '26+92=118']
Exploring Operation: 58*118=6844, Resulting Numbers: [6844]
6844,23 unequal: No Solution
Exploring Operation: 58+118=176, Resulting Numbers: [176]
176,23 unequal: No Solution
Exploring Operation: 118-58=60, Resulting Numbers: [60]
60,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
45,
60,
2,
87
] | 78 | [
"87-45=42",
"60*2=120",
"120-42=78"
] | Current State: 78:[45, 60, 2, 87], Operations: []
Exploring Operation: 87-45=42, Resulting Numbers: [60, 2, 42]
Generated Node #2: [60, 2, 42] from Operation: 87-45=42
Current State: 78:[60, 2, 42], Operations: ['87-45=42']
Exploring Operation: 60*2=120, Resulting Numbers: [42, 120]
Generated Node #3: [42, 120] from Operation: 60*2=120
Current State: 78:[42, 120], Operations: ['87-45=42', '60*2=120']
Exploring Operation: 120-42=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[45, 60, 2, 87], Operations: []
Exploring Operation: 87-60=27, Resulting Numbers: [45, 2, 27]
Generated Node #0,0: 78:[45, 2, 27] Operation: 87-60=27
Moving to Node #0,0
Current State: 78:[45, 2, 27], Operations: ['87-60=27']
Exploring Operation: 45-2=43, Resulting Numbers: [27, 43]
Generated Node #0,0,0: 78:[27, 43] Operation: 45-2=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[27, 43], Operations: ['87-60=27', '45-2=43']
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,78 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 |
[
80,
76,
37,
3
] | 53 | [
"80-37=43",
"3*43=129",
"129-76=53"
] | Current State: 53:[80, 76, 37, 3], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [76, 3, 43]
Generated Node #2: [76, 3, 43] from Operation: 80-37=43
Current State: 53:[76, 3, 43], Operations: ['80-37=43']
Exploring Operation: 3*43=129, Resulting Numbers: [76, 129]
Generated Node #3: [76, 129] from Operation: 3*43=129
Current State: 53:[76, 129], Operations: ['80-37=43', '3*43=129']
Exploring Operation: 129-76=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[80, 76, 37, 3], Operations: []
Exploring Operation: 37+3=40, Resulting Numbers: [80, 76, 40]
Generated Node #0,0: 53:[80, 76, 40] Operation: 37+3=40
Exploring Operation: 76+3=79, Resulting Numbers: [80, 37, 79]
Generated Node #0,1: 53:[80, 37, 79] Operation: 76+3=79
Exploring Operation: 76-3=73, Resulting Numbers: [80, 37, 73]
Generated Node #0,2: 53:[80, 37, 73] Operation: 76-3=73
Exploring Operation: 80-3=77, Resulting Numbers: [76, 37, 77]
Generated Node #0,3: 53:[76, 37, 77] Operation: 80-3=77
Exploring Operation: 80+3=83, Resulting Numbers: [76, 37, 83]
Generated Node #0,4: 53:[76, 37, 83] Operation: 80+3=83
Moving to Node #0,0
Current State: 53:[80, 76, 40], Operations: ['37+3=40']
Exploring Operation: 76-40=36, Resulting Numbers: [80, 36]
Generated Node #0,0,0: 53:[80, 36] Operation: 76-40=36
Exploring Operation: 80-40=40, Resulting Numbers: [76, 40]
Generated Node #0,0,1: 53:[76, 40] Operation: 80-40=40
Exploring Operation: 80-76=4, Resulting Numbers: [40, 4]
Generated Node #0,0,2: 53:[40, 4] Operation: 80-76=4
Exploring Operation: 80/40=2, Resulting Numbers: [76, 2]
Generated Node #0,0,3: 53:[76, 2] Operation: 80/40=2
Exploring Operation: 80+40=120, Resulting Numbers: [76, 120]
Generated Node #0,0,4: 53:[76, 120] Operation: 80+40=120
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[76, 40], Operations: ['37+3=40', '80-40=40']
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 76*40=3040, Resulting Numbers: [3040]
3040,53 unequal: No Solution
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[80, 36], Operations: ['37+3=40', '76-40=36']
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,53 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[40, 4], Operations: ['37+3=40', '80-76=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,53 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[76, 2], Operations: ['37+3=40', '80/40=2']
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,53 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 53:[76, 120], Operations: ['37+3=40', '80+40=120']
Exploring Operation: 120-76=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 76*120=9120, Resulting Numbers: [9120]
9120,53 unequal: No Solution
Exploring Operation: 76+120=196, Resulting Numbers: [196]
196,53 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: 53:[76, 37, 77], Operations: ['80-3=77']
Exploring Operation: 77-37=40, Resulting Numbers: [76, 40]
Generated Node #0,3,0: 53:[76, 40] Operation: 77-37=40
Exploring Operation: 77-76=1, Resulting Numbers: [37, 1]
Generated Node #0,3,1: 53:[37, 1] Operation: 77-76=1
Exploring Operation: 37+77=114, Resulting Numbers: [76, 114]
Generated Node #0,3,2: 53:[76, 114] Operation: 37+77=114
Exploring Operation: 76+37=113, Resulting Numbers: [77, 113]
Generated Node #0,3,3: 53:[77, 113] Operation: 76+37=113
Exploring Operation: 76-37=39, Resulting Numbers: [77, 39]
Generated Node #0,3,4: 53:[77, 39] Operation: 76-37=39
Moving to Node #0,2
Current State: 53:[80, 37, 73], Operations: ['76-3=73']
Exploring Operation: 80+37=117, Resulting Numbers: [73, 117]
Generated Node #0,2,0: 53:[73, 117] Operation: 80+37=117
Exploring Operation: 80-73=7, Resulting Numbers: [37, 7]
Generated Node #0,2,1: 53:[37, 7] Operation: 80-73=7
Exploring Operation: 37+73=110, Resulting Numbers: [80, 110]
Generated Node #0,2,2: 53:[80, 110] Operation: 37+73=110
Exploring Operation: 80-37=43, Resulting Numbers: [73, 43]
Generated Node #0,2,3: 53:[73, 43] Operation: 80-37=43
Exploring Operation: 73-37=36, Resulting Numbers: [80, 36]
Generated Node #0,2,4: 53:[80, 36] Operation: 73-37=36
Moving to Node #0,1
Current State: 53:[80, 37, 79], Operations: ['76+3=79']
Exploring Operation: 37+79=116, Resulting Numbers: [80, 116]
Generated Node #0,1,0: 53:[80, 116] Operation: 37+79=116
Exploring Operation: 80-79=1, Resulting Numbers: [37, 1]
Generated Node #0,1,1: 53:[37, 1] Operation: 80-79=1
Exploring Operation: 80-37=43, Resulting Numbers: [79, 43]
Generated Node #0,1,2: 53:[79, 43] Operation: 80-37=43
Exploring Operation: 79-37=42, Resulting Numbers: [80, 42]
Generated Node #0,1,3: 53:[80, 42] Operation: 79-37=42
Exploring Operation: 80+37=117, Resulting Numbers: [79, 117]
Generated Node #0,1,4: 53:[79, 117] Operation: 80+37=117
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[79, 43], Operations: ['76+3=79', '80-37=43']
Exploring Operation: 79+43=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 79*43=3397, Resulting Numbers: [3397]
3397,53 unequal: No Solution
Exploring Operation: 79-43=36, Resulting Numbers: [36]
36,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 53:[80, 42], Operations: ['76+3=79', '79-37=42']
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 80+42=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 80*42=3360, Resulting Numbers: [3360]
3360,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[37, 1], Operations: ['76+3=79', '80-79=1']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[80, 116], Operations: ['76+3=79', '37+79=116']
Exploring Operation: 116-80=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 80+116=196, Resulting Numbers: [196]
196,53 unequal: No Solution
Exploring Operation: 80*116=9280, Resulting Numbers: [9280]
9280,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 53:[79, 117], Operations: ['76+3=79', '80+37=117']
Exploring Operation: 117-79=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 79*117=9243, Resulting Numbers: [9243]
9243,53 unequal: No Solution
Exploring Operation: 79+117=196, Resulting Numbers: [196]
196,53 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: 53:[76, 37, 83], Operations: ['80+3=83']
Exploring Operation: 83-37=46, Resulting Numbers: [76, 46]
Generated Node #0,4,0: 53:[76, 46] Operation: 83-37=46
Exploring Operation: 83-76=7, Resulting Numbers: [37, 7]
Generated Node #0,4,1: 53:[37, 7] Operation: 83-76=7
Exploring Operation: 76+37=113, Resulting Numbers: [83, 113]
Generated Node #0,4,2: 53:[83, 113] Operation: 76+37=113
Exploring Operation: 37+83=120, Resulting Numbers: [76, 120]
Generated Node #0,4,3: 53:[76, 120] Operation: 37+83=120
Exploring Operation: 76-37=39, Resulting Numbers: [83, 39]
Generated Node #0,4,4: 53:[83, 39] Operation: 76-37=39
Moving to Node #0,2,3
Current State: 53:[73, 43], Operations: ['76-3=73', '80-37=43']
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 73+43=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Exploring Operation: 73*43=3139, Resulting Numbers: [3139]
3139,53 unequal: No Solution
Moving to Node #0,4,0
Current State: 53:[76, 46], Operations: ['80+3=83', '83-37=46']
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[76, 40], Operations: ['80-3=77', '77-37=40']
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Exploring Operation: 76*40=3040, Resulting Numbers: [3040]
3040,53 unequal: No Solution
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Moving to Node #0,3,4
Current State: 53:[77, 39], Operations: ['80-3=77', '76-37=39']
Exploring Operation: 77*39=3003, Resulting Numbers: [3003]
3003,53 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 77+39=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[80, 36], Operations: ['76-3=73', '73-37=36']
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,53 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Moving to Node #0,4,4
Current State: 53:[83, 39], Operations: ['80+3=83', '76-37=39']
Exploring Operation: 83+39=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 83*39=3237, Resulting Numbers: [3237]
3237,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[37, 7], Operations: ['76-3=73', '80-73=7']
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,53 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Moving to Node #0,4,1
Current State: 53:[37, 7], Operations: ['80+3=83', '83-76=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[37, 1], Operations: ['80-3=77', '77-76=1']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[76, 114], Operations: ['80-3=77', '37+77=114']
Exploring Operation: 114-76=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 76*114=8664, Resulting Numbers: [8664]
8664,53 unequal: No Solution
Exploring Operation: 76+114=190, Resulting Numbers: [190]
190,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[77, 113], Operations: ['80-3=77', '76+37=113']
Exploring Operation: 113-77=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 77+113=190, Resulting Numbers: [190]
190,53 unequal: No Solution
Exploring Operation: 77*113=8701, Resulting Numbers: [8701]
8701,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[80, 110], Operations: ['76-3=73', '37+73=110']
Exploring Operation: 80+110=190, Resulting Numbers: [190]
190,53 unequal: No Solution
Exploring Operation: 80*110=8800, Resulting Numbers: [8800]
8800,53 unequal: No Solution
Exploring Operation: 110-80=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[73, 117], Operations: ['76-3=73', '80+37=117']
Exploring Operation: 117-73=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 73*117=8541, Resulting Numbers: [8541]
8541,53 unequal: No Solution
Exploring Operation: 73+117=190, Resulting Numbers: [190]
190,53 unequal: No Solution
Moving to Node #0,4,2
Current State: 53:[83, 113], Operations: ['80+3=83', '76+37=113']
Exploring Operation: 113-83=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 83+113=196, Resulting Numbers: [196]
196,53 unequal: No Solution
Exploring Operation: 83*113=9379, Resulting Numbers: [9379]
9379,53 unequal: No Solution
Moving to Node #0,4,3
Current State: 53:[76, 120], Operations: ['80+3=83', '37+83=120']
Exploring Operation: 76*120=9120, Resulting Numbers: [9120]
9120,53 unequal: No Solution
Exploring Operation: 120-76=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 76+120=196, Resulting Numbers: [196]
196,53 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
26,
56,
45,
54
] | 39 | [
"56-26=30",
"54-45=9",
"30+9=39"
] | Current State: 39:[26, 56, 45, 54], Operations: []
Exploring Operation: 56-26=30, Resulting Numbers: [45, 54, 30]
Generated Node #2: [45, 54, 30] from Operation: 56-26=30
Current State: 39:[45, 54, 30], Operations: ['56-26=30']
Exploring Operation: 54-45=9, Resulting Numbers: [30, 9]
Generated Node #3: [30, 9] from Operation: 54-45=9
Current State: 39:[30, 9], Operations: ['56-26=30', '54-45=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[26, 56, 45, 54], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [26, 45, 2]
Generated Node #0,0: 39:[26, 45, 2] Operation: 56-54=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[26, 45, 2], Operations: ['56-54=2']
Exploring Operation: 26/2=13, Resulting Numbers: [45, 13]
Generated Node #0,0,0: 39:[45, 13] Operation: 26/2=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[45, 13], Operations: ['56-54=2', '26/2=13']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
61,
40,
29,
97
] | 33 | [
"61+40=101",
"97-29=68",
"101-68=33"
] | Current State: 33:[61, 40, 29, 97], Operations: []
Exploring Operation: 61+40=101, Resulting Numbers: [29, 97, 101]
Generated Node #2: [29, 97, 101] from Operation: 61+40=101
Current State: 33:[29, 97, 101], Operations: ['61+40=101']
Exploring Operation: 97-29=68, Resulting Numbers: [101, 68]
Generated Node #3: [101, 68] from Operation: 97-29=68
Current State: 33:[101, 68], Operations: ['61+40=101', '97-29=68']
Exploring Operation: 101-68=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[61, 40, 29, 97], Operations: []
Exploring Operation: 97-40=57, Resulting Numbers: [61, 29, 57]
Generated Node #0,0: 33:[61, 29, 57] Operation: 97-40=57
Exploring Operation: 97-61=36, Resulting Numbers: [40, 29, 36]
Generated Node #0,1: 33:[40, 29, 36] Operation: 97-61=36
Exploring Operation: 61-29=32, Resulting Numbers: [40, 97, 32]
Generated Node #0,2: 33:[40, 97, 32] Operation: 61-29=32
Exploring Operation: 97-29=68, Resulting Numbers: [61, 40, 68]
Generated Node #0,3: 33:[61, 40, 68] Operation: 97-29=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[40, 29, 36], Operations: ['97-61=36']
Exploring Operation: 36-29=7, Resulting Numbers: [40, 7]
Generated Node #0,1,0: 33:[40, 7] Operation: 36-29=7
Exploring Operation: 40-36=4, Resulting Numbers: [29, 4]
Generated Node #0,1,1: 33:[29, 4] Operation: 40-36=4
Exploring Operation: 40+29=69, Resulting Numbers: [36, 69]
Generated Node #0,1,2: 33:[36, 69] Operation: 40+29=69
Exploring Operation: 40-29=11, Resulting Numbers: [36, 11]
Generated Node #0,1,3: 33:[36, 11] Operation: 40-29=11
Moving to Node #0,1,3
Current State: 33:[36, 11], Operations: ['97-61=36', '40-29=11']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,33 unequal: No Solution
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[29, 4], Operations: ['97-61=36', '40-36=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,33 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[61, 40, 29, 97], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [40, 29, 36]
Generated Node #0,1: 33:[40, 29, 36] Operation: 97-61=36
Moving to Node #0,1
Current State: 33:[40, 29, 36], Operations: ['97-61=36']
Exploring Operation: 40-36=4, Resulting Numbers: [29, 4]
Generated Node #0,1,1: 33:[29, 4] Operation: 40-36=4
Moving to Node #0,1,1
Current State: 33:[29, 4], Operations: ['97-61=36', '40-36=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
68,
43,
43,
5
] | 68 | [
"43-43=0",
"5*0=0",
"68+0=68"
] | Current State: 68:[68, 43, 43, 5], Operations: []
Exploring Operation: 43-43=0, Resulting Numbers: [68, 5, 0]
Generated Node #2: [68, 5, 0] from Operation: 43-43=0
Current State: 68:[68, 5, 0], Operations: ['43-43=0']
Exploring Operation: 5*0=0, Resulting Numbers: [68, 0]
Generated Node #3: [68, 0] from Operation: 5*0=0
Current State: 68:[68, 0], Operations: ['43-43=0', '5*0=0']
Exploring Operation: 68+0=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[68, 43, 43, 5], Operations: []
Exploring Operation: 43-5=38, Resulting Numbers: [68, 43, 38]
Generated Node #0,0: 68:[68, 43, 38] Operation: 43-5=38
Exploring Operation: 43-43=0, Resulting Numbers: [68, 5, 0]
Generated Node #0,1: 68:[68, 5, 0] Operation: 43-43=0
Exploring Operation: 43/43=1, Resulting Numbers: [68, 5, 1]
Generated Node #0,2: 68:[68, 5, 1] Operation: 43/43=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[68, 5, 1], Operations: ['43/43=1']
Exploring Operation: 68/1=68, Resulting Numbers: [5, 68]
Generated Node #0,2,0: 68:[5, 68] Operation: 68/1=68
Exploring Operation: 68*1=68, Resulting Numbers: [5, 68]
Generated Node #0,2,1: 68:[5, 68] Operation: 68*1=68
Exploring Operation: 5-1=4, Resulting Numbers: [68, 4]
Generated Node #0,2,2: 68:[68, 4] Operation: 5-1=4
Moving to Node #0,2,2
Current State: 68:[68, 4], Operations: ['43/43=1', '5-1=4']
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 68+4=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[5, 68], Operations: ['43/43=1', '68/1=68']
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,68 unequal: No Solution
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[5, 68], Operations: ['43/43=1', '68*1=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,68 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[68, 5, 0], Operations: ['43-43=0']
Exploring Operation: 5+0=5, Resulting Numbers: [68, 5]
Generated Node #0,1,0: 68:[68, 5] Operation: 5+0=5
Exploring Operation: 68+0=68, Resulting Numbers: [5, 68]
Generated Node #0,1,1: 68:[5, 68] Operation: 68+0=68
Exploring Operation: 68-0=68, Resulting Numbers: [5, 68]
Generated Node #0,1,2: 68:[5, 68] Operation: 68-0=68
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[68, 5], Operations: ['43-43=0', '5+0=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Exploring Operation: 68*5=340, Resulting Numbers: [340]
340,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[5, 68], Operations: ['43-43=0', '68+0=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 68:[5, 68], Operations: ['43-43=0', '68-0=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[68, 43, 38], Operations: ['43-5=38']
Exploring Operation: 68-38=30, Resulting Numbers: [43, 30]
Generated Node #0,0,0: 68:[43, 30] Operation: 68-38=30
Exploring Operation: 68-43=25, Resulting Numbers: [38, 25]
Generated Node #0,0,1: 68:[38, 25] Operation: 68-43=25
Exploring Operation: 43-38=5, Resulting Numbers: [68, 5]
Generated Node #0,0,2: 68:[68, 5] Operation: 43-38=5
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[68, 5], Operations: ['43-5=38', '43-38=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 68*5=340, Resulting Numbers: [340]
340,68 unequal: No Solution
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[38, 25], Operations: ['43-5=38', '68-43=25']
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 38*25=950, Resulting Numbers: [950]
950,68 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[43, 30], Operations: ['43-5=38', '68-38=30']
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,68 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
60,
7,
76,
70
] | 60 | [
"76-7=69",
"70-69=1",
"60*1=60"
] | Current State: 60:[60, 7, 76, 70], Operations: []
Exploring Operation: 76-7=69, Resulting Numbers: [60, 70, 69]
Generated Node #2: [60, 70, 69] from Operation: 76-7=69
Current State: 60:[60, 70, 69], Operations: ['76-7=69']
Exploring Operation: 70-69=1, Resulting Numbers: [60, 1]
Generated Node #3: [60, 1] from Operation: 70-69=1
Current State: 60:[60, 1], Operations: ['76-7=69', '70-69=1']
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[60, 7, 76, 70], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [60, 7, 6]
Generated Node #0,0: 60:[60, 7, 6] Operation: 76-70=6
Exploring Operation: 70-60=10, Resulting Numbers: [7, 76, 10]
Generated Node #0,1: 60:[7, 76, 10] Operation: 70-60=10
Exploring Operation: 76-60=16, Resulting Numbers: [7, 70, 16]
Generated Node #0,2: 60:[7, 70, 16] Operation: 76-60=16
Exploring Operation: 70/7=10, Resulting Numbers: [60, 76, 10]
Generated Node #0,3: 60:[60, 76, 10] Operation: 70/7=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[60, 7, 6], Operations: ['76-70=6']
Exploring Operation: 60/6=10, Resulting Numbers: [7, 10]
Generated Node #0,0,0: 60:[7, 10] Operation: 60/6=10
Exploring Operation: 7-6=1, Resulting Numbers: [60, 1]
Generated Node #0,0,1: 60:[60, 1] Operation: 7-6=1
Exploring Operation: 7+6=13, Resulting Numbers: [60, 13]
Generated Node #0,0,2: 60:[60, 13] Operation: 7+6=13
Exploring Operation: 60+7=67, Resulting Numbers: [6, 67]
Generated Node #0,0,3: 60:[6, 67] Operation: 60+7=67
Moving to Node #0,0,0
Current State: 60:[7, 10], Operations: ['76-70=6', '60/6=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[60, 13], Operations: ['76-70=6', '7+6=13']
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,60 unequal: No Solution
Exploring Operation: 60*13=780, Resulting Numbers: [780]
780,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[60, 1], Operations: ['76-70=6', '7-6=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[60, 7, 76, 70], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [60, 7, 6]
Generated Node #0,0: 60:[60, 7, 6] Operation: 76-70=6
Moving to Node #0,0
Current State: 60:[60, 7, 6], Operations: ['76-70=6']
Exploring Operation: 7-6=1, Resulting Numbers: [60, 1]
Generated Node #0,0,1: 60:[60, 1] Operation: 7-6=1
Moving to Node #0,0,1
Current State: 60:[60, 1], Operations: ['76-70=6', '7-6=1']
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
29,
36,
60,
58
] | 43 | [
"60-58=2",
"36*2=72",
"72-29=43"
] | Current State: 43:[29, 36, 60, 58], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [29, 36, 2]
Generated Node #2: [29, 36, 2] from Operation: 60-58=2
Current State: 43:[29, 36, 2], Operations: ['60-58=2']
Exploring Operation: 36*2=72, Resulting Numbers: [29, 72]
Generated Node #3: [29, 72] from Operation: 36*2=72
Current State: 43:[29, 72], Operations: ['60-58=2', '36*2=72']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[29, 36, 60, 58], Operations: []
Exploring Operation: 58-29=29, Resulting Numbers: [36, 60, 29]
Generated Node #0,0: 43:[36, 60, 29] Operation: 58-29=29
Exploring Operation: 60-36=24, Resulting Numbers: [29, 58, 24]
Generated Node #0,1: 43:[29, 58, 24] Operation: 60-36=24
Exploring Operation: 58-36=22, Resulting Numbers: [29, 60, 22]
Generated Node #0,2: 43:[29, 60, 22] Operation: 58-36=22
Exploring Operation: 60-29=31, Resulting Numbers: [36, 58, 31]
Generated Node #0,3: 43:[36, 58, 31] Operation: 60-29=31
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[36, 58, 31], Operations: ['60-29=31']
Exploring Operation: 36+31=67, Resulting Numbers: [58, 67]
Generated Node #0,3,0: 43:[58, 67] Operation: 36+31=67
Exploring Operation: 58-36=22, Resulting Numbers: [31, 22]
Generated Node #0,3,1: 43:[31, 22] Operation: 58-36=22
Exploring Operation: 58-31=27, Resulting Numbers: [36, 27]
Generated Node #0,3,2: 43:[36, 27] Operation: 58-31=27
Exploring Operation: 36-31=5, Resulting Numbers: [58, 5]
Generated Node #0,3,3: 43:[58, 5] Operation: 36-31=5
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 43:[36, 27], Operations: ['60-29=31', '58-31=27']
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,43 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[31, 22], Operations: ['60-29=31', '58-36=22']
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,43 unequal: No Solution
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,43 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[58, 67], Operations: ['60-29=31', '36+31=67']
Exploring Operation: 58+67=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Exploring Operation: 58*67=3886, Resulting Numbers: [3886]
3886,43 unequal: No Solution
Exploring Operation: 67-58=9, Resulting Numbers: [9]
9,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 43:[58, 5], Operations: ['60-29=31', '36-31=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,43 unequal: No Solution
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[36, 60, 29], Operations: ['58-29=29']
Exploring Operation: 36-29=7, Resulting Numbers: [60, 7]
Generated Node #0,0,0: 43:[60, 7] Operation: 36-29=7
Exploring Operation: 60-36=24, Resulting Numbers: [29, 24]
Generated Node #0,0,1: 43:[29, 24] Operation: 60-36=24
Exploring Operation: 60-29=31, Resulting Numbers: [36, 31]
Generated Node #0,0,2: 43:[36, 31] Operation: 60-29=31
Exploring Operation: 36+29=65, Resulting Numbers: [60, 65]
Generated Node #0,0,3: 43:[60, 65] Operation: 36+29=65
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[36, 31], Operations: ['58-29=29', '60-29=31']
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[29, 24], Operations: ['58-29=29', '60-36=24']
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,43 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 43:[60, 65], Operations: ['58-29=29', '36+29=65']
Exploring Operation: 60+65=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Exploring Operation: 60*65=3900, Resulting Numbers: [3900]
3900,43 unequal: No Solution
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[60, 7], Operations: ['58-29=29', '36-29=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,43 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[29, 58, 24], Operations: ['60-36=24']
Exploring Operation: 58-24=34, Resulting Numbers: [29, 34]
Generated Node #0,1,0: 43:[29, 34] Operation: 58-24=34
Exploring Operation: 29-24=5, Resulting Numbers: [58, 5]
Generated Node #0,1,1: 43:[58, 5] Operation: 29-24=5
Exploring Operation: 29+24=53, Resulting Numbers: [58, 53]
Generated Node #0,1,2: 43:[58, 53] Operation: 29+24=53
Exploring Operation: 58-29=29, Resulting Numbers: [24, 29]
Generated Node #0,1,3: 43:[24, 29] Operation: 58-29=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[29, 34], Operations: ['60-36=24', '58-24=34']
Exploring Operation: 29*34=986, Resulting Numbers: [986]
986,43 unequal: No Solution
Exploring Operation: 29+34=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[58, 53], Operations: ['60-36=24', '29+24=53']
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 58*53=3074, Resulting Numbers: [3074]
3074,43 unequal: No Solution
Exploring Operation: 58+53=111, Resulting Numbers: [111]
111,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 43:[24, 29], Operations: ['60-36=24', '58-29=29']
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,43 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[58, 5], Operations: ['60-36=24', '29-24=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,43 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[29, 60, 22], Operations: ['58-36=22']
Exploring Operation: 60-22=38, Resulting Numbers: [29, 38]
Generated Node #0,2,0: 43:[29, 38] Operation: 60-22=38
Exploring Operation: 29+22=51, Resulting Numbers: [60, 51]
Generated Node #0,2,1: 43:[60, 51] Operation: 29+22=51
Exploring Operation: 60-29=31, Resulting Numbers: [22, 31]
Generated Node #0,2,2: 43:[22, 31] Operation: 60-29=31
Exploring Operation: 29-22=7, Resulting Numbers: [60, 7]
Generated Node #0,2,3: 43:[60, 7] Operation: 29-22=7
Moving to Node #0,2,0
Current State: 43:[29, 38], Operations: ['58-36=22', '60-22=38']
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,43 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[60, 51], Operations: ['58-36=22', '29+22=51']
Exploring Operation: 60*51=3060, Resulting Numbers: [3060]
3060,43 unequal: No Solution
Exploring Operation: 60+51=111, Resulting Numbers: [111]
111,43 unequal: No Solution
Exploring Operation: 60-51=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[22, 31], Operations: ['58-36=22', '60-29=31']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,43 unequal: No Solution
Exploring Operation: 22*31=682, Resulting Numbers: [682]
682,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[60, 7], Operations: ['58-36=22', '29-22=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,43 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
12,
58,
2,
2
] | 94 | [
"58-12=46",
"2*46=92",
"2+92=94"
] | Current State: 94:[12, 58, 2, 2], Operations: []
Exploring Operation: 58-12=46, Resulting Numbers: [2, 2, 46]
Generated Node #2: [2, 2, 46] from Operation: 58-12=46
Current State: 94:[2, 2, 46], Operations: ['58-12=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,94 equal: Goal Reached
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[12, 58, 2, 2], Operations: []
Exploring Operation: 58-12=46, Resulting Numbers: [2, 2, 46]
Generated Node #0,0: 94:[2, 2, 46] Operation: 58-12=46
Exploring Operation: 12/2=6, Resulting Numbers: [58, 2, 6]
Generated Node #0,1: 94:[58, 2, 6] Operation: 12/2=6
Moving to Node #0,0
Current State: 94:[2, 2, 46], Operations: ['58-12=46']
Exploring Operation: 2+46=48, Resulting Numbers: [2, 48]
Generated Node #0,0,0: 94:[2, 48] Operation: 2+46=48
Exploring Operation: 2+46=48, Resulting Numbers: [2, 48]
Generated Node #0,0,1: 94:[2, 48] Operation: 2+46=48
Moving to Node #0,1
Current State: 94:[58, 2, 6], Operations: ['12/2=6']
Exploring Operation: 6/2=3, Resulting Numbers: [58, 3]
Generated Node #0,1,0: 94:[58, 3] Operation: 6/2=3
Exploring Operation: 58-6=52, Resulting Numbers: [2, 52]
Generated Node #0,1,1: 94:[2, 52] Operation: 58-6=52
Moving to Node #0,0,0
Current State: 94:[2, 48], Operations: ['58-12=46', '2+46=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[2, 48], Operations: ['58-12=46', '2+46=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[2, 52], Operations: ['12/2=6', '58-6=52']
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[58, 3], Operations: ['12/2=6', '6/2=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,94 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
95,
17,
9,
18
] | 87 | [
"95-17=78",
"18-9=9",
"78+9=87"
] | Current State: 87:[95, 17, 9, 18], Operations: []
Exploring Operation: 95-17=78, Resulting Numbers: [9, 18, 78]
Generated Node #2: [9, 18, 78] from Operation: 95-17=78
Current State: 87:[9, 18, 78], Operations: ['95-17=78']
Exploring Operation: 18-9=9, Resulting Numbers: [78, 9]
Generated Node #3: [78, 9] from Operation: 18-9=9
Current State: 87:[78, 9], Operations: ['95-17=78', '18-9=9']
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[95, 17, 9, 18], Operations: []
Exploring Operation: 17+9=26, Resulting Numbers: [95, 18, 26]
Generated Node #0,0: 87:[95, 18, 26] Operation: 17+9=26
Exploring Operation: 17+18=35, Resulting Numbers: [95, 9, 35]
Generated Node #0,1: 87:[95, 9, 35] Operation: 17+18=35
Exploring Operation: 9+18=27, Resulting Numbers: [95, 17, 27]
Generated Node #0,2: 87:[95, 17, 27] Operation: 9+18=27
Exploring Operation: 18-17=1, Resulting Numbers: [95, 9, 1]
Generated Node #0,3: 87:[95, 9, 1] Operation: 18-17=1
Exploring Operation: 18/9=2, Resulting Numbers: [95, 17, 2]
Generated Node #0,4: 87:[95, 17, 2] Operation: 18/9=2
Moving to Node #0,3
Current State: 87:[95, 9, 1], Operations: ['18-17=1']
Exploring Operation: 95/1=95, Resulting Numbers: [9, 95]
Generated Node #0,3,0: 87:[9, 95] Operation: 95/1=95
Exploring Operation: 95-9=86, Resulting Numbers: [1, 86]
Generated Node #0,3,1: 87:[1, 86] Operation: 95-9=86
Exploring Operation: 95-1=94, Resulting Numbers: [9, 94]
Generated Node #0,3,2: 87:[9, 94] Operation: 95-1=94
Exploring Operation: 95*1=95, Resulting Numbers: [9, 95]
Generated Node #0,3,3: 87:[9, 95] Operation: 95*1=95
Exploring Operation: 9-1=8, Resulting Numbers: [95, 8]
Generated Node #0,3,4: 87:[95, 8] Operation: 9-1=8
Moving to Node #0,1
Current State: 87:[95, 9, 35], Operations: ['17+18=35']
Exploring Operation: 95-35=60, Resulting Numbers: [9, 60]
Generated Node #0,1,0: 87:[9, 60] Operation: 95-35=60
Exploring Operation: 95-9=86, Resulting Numbers: [35, 86]
Generated Node #0,1,1: 87:[35, 86] Operation: 95-9=86
Exploring Operation: 9+35=44, Resulting Numbers: [95, 44]
Generated Node #0,1,2: 87:[95, 44] Operation: 9+35=44
Exploring Operation: 95+9=104, Resulting Numbers: [35, 104]
Generated Node #0,1,3: 87:[35, 104] Operation: 95+9=104
Exploring Operation: 35-9=26, Resulting Numbers: [95, 26]
Generated Node #0,1,4: 87:[95, 26] Operation: 35-9=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[35, 86], Operations: ['17+18=35', '95-9=86']
Exploring Operation: 35*86=3010, Resulting Numbers: [3010]
3010,87 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,87 unequal: No Solution
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,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,4
Current State: 87:[95, 26], Operations: ['17+18=35', '35-9=26']
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,87 unequal: No Solution
Exploring Operation: 95+26=121, Resulting Numbers: [121]
121,87 unequal: No Solution
Exploring Operation: 95*26=2470, Resulting Numbers: [2470]
2470,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:[95, 44], Operations: ['17+18=35', '9+35=44']
Exploring Operation: 95*44=4180, Resulting Numbers: [4180]
4180,87 unequal: No Solution
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,87 unequal: No Solution
Exploring Operation: 95+44=139, Resulting Numbers: [139]
139,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,3
Current State: 87:[35, 104], Operations: ['17+18=35', '95+9=104']
Exploring Operation: 104-35=69, Resulting Numbers: [69]
69,87 unequal: No Solution
Exploring Operation: 35+104=139, Resulting Numbers: [139]
139,87 unequal: No Solution
Exploring Operation: 35*104=3640, Resulting Numbers: [3640]
3640,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,0
Current State: 87:[9, 60], Operations: ['17+18=35', '95-35=60']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,87 unequal: No Solution
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,87 unequal: No Solution
Exploring Operation: 9*60=540, Resulting Numbers: [540]
540,87 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: 87:[95, 17, 2], Operations: ['18/9=2']
Exploring Operation: 95-17=78, Resulting Numbers: [2, 78]
Generated Node #0,4,0: 87:[2, 78] Operation: 95-17=78
Exploring Operation: 17*2=34, Resulting Numbers: [95, 34]
Generated Node #0,4,1: 87:[95, 34] Operation: 17*2=34
Exploring Operation: 95-2=93, Resulting Numbers: [17, 93]
Generated Node #0,4,2: 87:[17, 93] Operation: 95-2=93
Exploring Operation: 17+2=19, Resulting Numbers: [95, 19]
Generated Node #0,4,3: 87:[95, 19] Operation: 17+2=19
Exploring Operation: 17-2=15, Resulting Numbers: [95, 15]
Generated Node #0,4,4: 87:[95, 15] Operation: 17-2=15
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 87:[2, 78], Operations: ['18/9=2', '95-17=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 2*78=156, Resulting Numbers: [156]
156,87 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,87 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 87:[95, 34], Operations: ['18/9=2', '17*2=34']
Exploring Operation: 95+34=129, Resulting Numbers: [129]
129,87 unequal: No Solution
Exploring Operation: 95*34=3230, Resulting Numbers: [3230]
3230,87 unequal: No Solution
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 87:[17, 93], Operations: ['18/9=2', '95-2=93']
Exploring Operation: 17*93=1581, Resulting Numbers: [1581]
1581,87 unequal: No Solution
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 17+93=110, Resulting Numbers: [110]
110,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 87:[95, 19], Operations: ['18/9=2', '17+2=19']
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 95+19=114, Resulting Numbers: [114]
114,87 unequal: No Solution
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 95*19=1805, Resulting Numbers: [1805]
1805,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 87:[95, 15], Operations: ['18/9=2', '17-2=15']
Exploring Operation: 95+15=110, Resulting Numbers: [110]
110,87 unequal: No Solution
Exploring Operation: 95*15=1425, Resulting Numbers: [1425]
1425,87 unequal: No Solution
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,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:[95, 18, 26], Operations: ['17+9=26']
Exploring Operation: 95-26=69, Resulting Numbers: [18, 69]
Generated Node #0,0,0: 87:[18, 69] Operation: 95-26=69
Exploring Operation: 26-18=8, Resulting Numbers: [95, 8]
Generated Node #0,0,1: 87:[95, 8] Operation: 26-18=8
Exploring Operation: 95-18=77, Resulting Numbers: [26, 77]
Generated Node #0,0,2: 87:[26, 77] Operation: 95-18=77
Exploring Operation: 18+26=44, Resulting Numbers: [95, 44]
Generated Node #0,0,3: 87:[95, 44] Operation: 18+26=44
Exploring Operation: 95+18=113, Resulting Numbers: [26, 113]
Generated Node #0,0,4: 87:[26, 113] Operation: 95+18=113
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[95, 8], Operations: ['17+9=26', '26-18=8']
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,87 unequal: No Solution
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[95, 17, 9, 18], Operations: []
Exploring Operation: 17+9=26, Resulting Numbers: [95, 18, 26]
Generated Node #0,0: 87:[95, 18, 26] Operation: 17+9=26
Moving to Node #0,0
Current State: 87:[95, 18, 26], Operations: ['17+9=26']
Exploring Operation: 26-18=8, Resulting Numbers: [95, 8]
Generated Node #0,0,1: 87:[95, 8] Operation: 26-18=8
Moving to Node #0,0,1
Current State: 87:[95, 8], Operations: ['17+9=26', '26-18=8']
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | mult_heuristic |
[
94,
42,
99,
92
] | 78 | [
"94-92=2",
"42/2=21",
"99-21=78"
] | Current State: 78:[94, 42, 99, 92], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [42, 99, 2]
Generated Node #2: [42, 99, 2] from Operation: 94-92=2
Current State: 78:[42, 99, 2], Operations: ['94-92=2']
Exploring Operation: 42/2=21, Resulting Numbers: [99, 21]
Generated Node #3: [99, 21] from Operation: 42/2=21
Current State: 78:[99, 21], Operations: ['94-92=2', '42/2=21']
Exploring Operation: 99-21=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[94, 42, 99, 92], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [42, 99, 2]
Generated Node #0,0: 78:[42, 99, 2] Operation: 94-92=2
Exploring Operation: 99-94=5, Resulting Numbers: [42, 92, 5]
Generated Node #0,1: 78:[42, 92, 5] Operation: 99-94=5
Exploring Operation: 99-92=7, Resulting Numbers: [94, 42, 7]
Generated Node #0,2: 78:[94, 42, 7] Operation: 99-92=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[42, 92, 5], Operations: ['99-94=5']
Exploring Operation: 92-42=50, Resulting Numbers: [5, 50]
Generated Node #0,1,0: 78:[5, 50] Operation: 92-42=50
Exploring Operation: 92-5=87, Resulting Numbers: [42, 87]
Generated Node #0,1,1: 78:[42, 87] Operation: 92-5=87
Exploring Operation: 42-5=37, Resulting Numbers: [92, 37]
Generated Node #0,1,2: 78:[92, 37] Operation: 42-5=37
Moving to Node #0,1,0
Current State: 78:[5, 50], Operations: ['99-94=5', '92-42=50']
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[42, 87], Operations: ['99-94=5', '92-5=87']
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,78 unequal: No Solution
Exploring Operation: 42*87=3654, Resulting Numbers: [3654]
3654,78 unequal: No Solution
Exploring Operation: 42+87=129, Resulting Numbers: [129]
129,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[92, 37], Operations: ['99-94=5', '42-5=37']
Exploring Operation: 92+37=129, Resulting Numbers: [129]
129,78 unequal: No Solution
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Exploring Operation: 92*37=3404, Resulting Numbers: [3404]
3404,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[94, 42, 7], Operations: ['99-92=7']
Exploring Operation: 42/7=6, Resulting Numbers: [94, 6]
Generated Node #0,2,0: 78:[94, 6] Operation: 42/7=6
Exploring Operation: 94-7=87, Resulting Numbers: [42, 87]
Generated Node #0,2,1: 78:[42, 87] Operation: 94-7=87
Exploring Operation: 94-42=52, Resulting Numbers: [7, 52]
Generated Node #0,2,2: 78:[7, 52] Operation: 94-42=52
Moving to Node #0,2,1
Current State: 78:[42, 87], Operations: ['99-92=7', '94-7=87']
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,78 unequal: No Solution
Exploring Operation: 42*87=3654, Resulting Numbers: [3654]
3654,78 unequal: No Solution
Exploring Operation: 42+87=129, Resulting Numbers: [129]
129,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[7, 52], Operations: ['99-92=7', '94-42=52']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,78 unequal: No Solution
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,78 unequal: No Solution
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,78 unequal: No Solution
Moving to Node #0,2,0
Current State: 78:[94, 6], Operations: ['99-92=7', '42/7=6']
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,78 unequal: No Solution
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,78 unequal: No Solution
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[42, 99, 2], Operations: ['94-92=2']
Exploring Operation: 99-2=97, Resulting Numbers: [42, 97]
Generated Node #0,0,0: 78:[42, 97] Operation: 99-2=97
Exploring Operation: 42-2=40, Resulting Numbers: [99, 40]
Generated Node #0,0,1: 78:[99, 40] Operation: 42-2=40
Exploring Operation: 99-42=57, Resulting Numbers: [2, 57]
Generated Node #0,0,2: 78:[2, 57] Operation: 99-42=57
Moving to Node #0,0,2
Current State: 78:[2, 57], Operations: ['94-92=2', '99-42=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,78 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,78 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[42, 97], Operations: ['94-92=2', '99-2=97']
Exploring Operation: 42+97=139, Resulting Numbers: [139]
139,78 unequal: No Solution
Exploring Operation: 97-42=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Exploring Operation: 42*97=4074, Resulting Numbers: [4074]
4074,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[99, 40], Operations: ['94-92=2', '42-2=40']
Exploring Operation: 99+40=139, Resulting Numbers: [139]
139,78 unequal: No Solution
Exploring Operation: 99*40=3960, Resulting Numbers: [3960]
3960,78 unequal: No Solution
Exploring Operation: 99-40=59, Resulting Numbers: [59]
59,78 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 |
[
6,
80,
25,
30
] | 21 | [
"30/6=5",
"80+25=105",
"105/5=21"
] | Current State: 21:[6, 80, 25, 30], Operations: []
Exploring Operation: 30/6=5, Resulting Numbers: [80, 25, 5]
Generated Node #2: [80, 25, 5] from Operation: 30/6=5
Current State: 21:[80, 25, 5], Operations: ['30/6=5']
Exploring Operation: 80+25=105, Resulting Numbers: [5, 105]
Generated Node #3: [5, 105] from Operation: 80+25=105
Current State: 21:[5, 105], Operations: ['30/6=5', '80+25=105']
Exploring Operation: 105/5=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[6, 80, 25, 30], Operations: []
Exploring Operation: 80-25=55, Resulting Numbers: [6, 30, 55]
Generated Node #0,0: 21:[6, 30, 55] Operation: 80-25=55
Exploring Operation: 80-30=50, Resulting Numbers: [6, 25, 50]
Generated Node #0,1: 21:[6, 25, 50] Operation: 80-30=50
Exploring Operation: 30-25=5, Resulting Numbers: [6, 80, 5]
Generated Node #0,2: 21:[6, 80, 5] Operation: 30-25=5
Moving to Node #0,1
Current State: 21:[6, 25, 50], Operations: ['80-30=50']
Exploring Operation: 50/25=2, Resulting Numbers: [6, 2]
Generated Node #0,1,0: 21:[6, 2] Operation: 50/25=2
Exploring Operation: 50-6=44, Resulting Numbers: [25, 44]
Generated Node #0,1,1: 21:[25, 44] Operation: 50-6=44
Exploring Operation: 50-25=25, Resulting Numbers: [6, 25]
Generated Node #0,1,2: 21:[6, 25] Operation: 50-25=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[6, 2], Operations: ['80-30=50', '50/25=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 21:[6, 25], Operations: ['80-30=50', '50-25=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,21 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[25, 44], Operations: ['80-30=50', '50-6=44']
Exploring Operation: 25+44=69, Resulting Numbers: [69]
69,21 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 25*44=1100, Resulting Numbers: [1100]
1100,21 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: 21:[6, 30, 55], Operations: ['80-25=55']
Exploring Operation: 30-6=24, Resulting Numbers: [55, 24]
Generated Node #0,0,0: 21:[55, 24] Operation: 30-6=24
Exploring Operation: 30/6=5, Resulting Numbers: [55, 5]
Generated Node #0,0,1: 21:[55, 5] Operation: 30/6=5
Exploring Operation: 55-30=25, Resulting Numbers: [6, 25]
Generated Node #0,0,2: 21:[6, 25] Operation: 55-30=25
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 21:[6, 25], Operations: ['80-25=55', '55-30=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,21 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[55, 5], Operations: ['80-25=55', '30/6=5']
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[55, 24], Operations: ['80-25=55', '30-6=24']
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 55+24=79, Resulting Numbers: [79]
79,21 unequal: No Solution
Exploring Operation: 55*24=1320, Resulting Numbers: [1320]
1320,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 21:[6, 80, 5], Operations: ['30-25=5']
Exploring Operation: 80-6=74, Resulting Numbers: [5, 74]
Generated Node #0,2,0: 21:[5, 74] Operation: 80-6=74
Exploring Operation: 80/5=16, Resulting Numbers: [6, 16]
Generated Node #0,2,1: 21:[6, 16] Operation: 80/5=16
Exploring Operation: 80-5=75, Resulting Numbers: [6, 75]
Generated Node #0,2,2: 21:[6, 75] Operation: 80-5=75
Moving to Node #0,2,1
Current State: 21:[6, 16], Operations: ['30-25=5', '80/5=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,21 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[5, 74], Operations: ['30-25=5', '80-6=74']
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,21 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,21 unequal: No Solution
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[6, 75], Operations: ['30-25=5', '80-5=75']
Exploring Operation: 6+75=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,21 unequal: No Solution
Exploring Operation: 6*75=450, Resulting Numbers: [450]
450,21 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
95,
28,
38
] | 87 | [
"2+95=97",
"38-28=10",
"97-10=87"
] | Current State: 87:[2, 95, 28, 38], Operations: []
Exploring Operation: 2+95=97, Resulting Numbers: [28, 38, 97]
Generated Node #2: [28, 38, 97] from Operation: 2+95=97
Current State: 87:[28, 38, 97], Operations: ['2+95=97']
Exploring Operation: 38-28=10, Resulting Numbers: [97, 10]
Generated Node #3: [97, 10] from Operation: 38-28=10
Current State: 87:[97, 10], Operations: ['2+95=97', '38-28=10']
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[2, 95, 28, 38], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [2, 95, 10]
Generated Node #0,0: 87:[2, 95, 10] Operation: 38-28=10
Exploring Operation: 38-2=36, Resulting Numbers: [95, 28, 36]
Generated Node #0,1: 87:[95, 28, 36] Operation: 38-2=36
Exploring Operation: 2+28=30, Resulting Numbers: [95, 38, 30]
Generated Node #0,2: 87:[95, 38, 30] Operation: 2+28=30
Exploring Operation: 95-2=93, Resulting Numbers: [28, 38, 93]
Generated Node #0,3: 87:[28, 38, 93] Operation: 95-2=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[2, 95, 10], Operations: ['38-28=10']
Exploring Operation: 95-10=85, Resulting Numbers: [2, 85]
Generated Node #0,0,0: 87:[2, 85] Operation: 95-10=85
Exploring Operation: 10/2=5, Resulting Numbers: [95, 5]
Generated Node #0,0,1: 87:[95, 5] Operation: 10/2=5
Exploring Operation: 95-2=93, Resulting Numbers: [10, 93]
Generated Node #0,0,2: 87:[10, 93] Operation: 95-2=93
Exploring Operation: 10-2=8, Resulting Numbers: [95, 8]
Generated Node #0,0,3: 87:[95, 8] Operation: 10-2=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[2, 85], Operations: ['38-28=10', '95-10=85']
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[2, 95, 28, 38], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [2, 95, 10]
Generated Node #0,0: 87:[2, 95, 10] Operation: 38-28=10
Moving to Node #0,0
Current State: 87:[2, 95, 10], Operations: ['38-28=10']
Exploring Operation: 95-10=85, Resulting Numbers: [2, 85]
Generated Node #0,0,0: 87:[2, 85] Operation: 95-10=85
Moving to Node #0,0,0
Current State: 87:[2, 85], Operations: ['38-28=10', '95-10=85']
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
72,
24,
47,
25
] | 69 | [
"72/24=3",
"47+25=72",
"72-3=69"
] | Current State: 69:[72, 24, 47, 25], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [47, 25, 3]
Generated Node #2: [47, 25, 3] from Operation: 72/24=3
Current State: 69:[47, 25, 3], Operations: ['72/24=3']
Exploring Operation: 47+25=72, Resulting Numbers: [3, 72]
Generated Node #3: [3, 72] from Operation: 47+25=72
Current State: 69:[3, 72], Operations: ['72/24=3', '47+25=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[72, 24, 47, 25], Operations: []
Exploring Operation: 72-47=25, Resulting Numbers: [24, 25, 25]
Generated Node #0,0: 69:[24, 25, 25] Operation: 72-47=25
Exploring Operation: 47-25=22, Resulting Numbers: [72, 24, 22]
Generated Node #0,1: 69:[72, 24, 22] Operation: 47-25=22
Exploring Operation: 47-24=23, Resulting Numbers: [72, 25, 23]
Generated Node #0,2: 69:[72, 25, 23] Operation: 47-24=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[24, 25, 25], Operations: ['72-47=25']
Exploring Operation: 25-24=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 69:[25, 1] Operation: 25-24=1
Exploring Operation: 25/25=1, Resulting Numbers: [24, 1]
Generated Node #0,0,1: 69:[24, 1] Operation: 25/25=1
Exploring Operation: 25-24=1, Resulting Numbers: [25, 1]
Generated Node #0,0,2: 69:[25, 1] Operation: 25-24=1
Moving to Node #0,0,1
Current State: 69:[24, 1], Operations: ['72-47=25', '25/25=1']
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[25, 1], Operations: ['72-47=25', '25-24=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[25, 1], Operations: ['72-47=25', '25-24=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[72, 24, 22], Operations: ['47-25=22']
Exploring Operation: 72/24=3, Resulting Numbers: [22, 3]
Generated Node #0,1,0: 69:[22, 3] Operation: 72/24=3
Exploring Operation: 72-22=50, Resulting Numbers: [24, 50]
Generated Node #0,1,1: 69:[24, 50] Operation: 72-22=50
Exploring Operation: 24-22=2, Resulting Numbers: [72, 2]
Generated Node #0,1,2: 69:[72, 2] Operation: 24-22=2
Moving to Node #0,1,0
Current State: 69:[22, 3], Operations: ['47-25=22', '72/24=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[72, 2], Operations: ['47-25=22', '24-22=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,69 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[24, 50], Operations: ['47-25=22', '72-22=50']
Exploring Operation: 24*50=1200, Resulting Numbers: [1200]
1200,69 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[72, 25, 23], Operations: ['47-24=23']
Exploring Operation: 25-23=2, Resulting Numbers: [72, 2]
Generated Node #0,2,0: 69:[72, 2] Operation: 25-23=2
Exploring Operation: 72-25=47, Resulting Numbers: [23, 47]
Generated Node #0,2,1: 69:[23, 47] Operation: 72-25=47
Exploring Operation: 72-23=49, Resulting Numbers: [25, 49]
Generated Node #0,2,2: 69:[25, 49] Operation: 72-23=49
Moving to Node #0,2,0
Current State: 69:[72, 2], Operations: ['47-24=23', '25-23=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,69 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[23, 47], Operations: ['47-24=23', '72-25=47']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,69 unequal: No Solution
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[25, 49], Operations: ['47-24=23', '72-23=49']
Exploring Operation: 25+49=74, Resulting Numbers: [74]
74,69 unequal: No Solution
Exploring Operation: 25*49=1225, Resulting Numbers: [1225]
1225,69 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
5,
8,
4,
35
] | 37 | [
"5+4=9",
"8*9=72",
"72-35=37"
] | Current State: 37:[5, 8, 4, 35], Operations: []
Exploring Operation: 5+4=9, Resulting Numbers: [8, 35, 9]
Generated Node #2: [8, 35, 9] from Operation: 5+4=9
Current State: 37:[8, 35, 9], Operations: ['5+4=9']
Exploring Operation: 8*9=72, Resulting Numbers: [35, 72]
Generated Node #3: [35, 72] from Operation: 8*9=72
Current State: 37:[35, 72], Operations: ['5+4=9', '8*9=72']
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[5, 8, 4, 35], Operations: []
Exploring Operation: 5*8=40, Resulting Numbers: [4, 35, 40]
Generated Node #0,0: 37:[4, 35, 40] Operation: 5*8=40
Exploring Operation: 5*4=20, Resulting Numbers: [8, 35, 20]
Generated Node #0,1: 37:[8, 35, 20] Operation: 5*4=20
Exploring Operation: 8*4=32, Resulting Numbers: [5, 35, 32]
Generated Node #0,2: 37:[5, 35, 32] Operation: 8*4=32
Moving to Node #0,0
Current State: 37:[4, 35, 40], Operations: ['5*8=40']
Exploring Operation: 4+35=39, Resulting Numbers: [40, 39]
Generated Node #0,0,0: 37:[40, 39] Operation: 4+35=39
Exploring Operation: 35-4=31, Resulting Numbers: [40, 31]
Generated Node #0,0,1: 37:[40, 31] Operation: 35-4=31
Exploring Operation: 40-4=36, Resulting Numbers: [35, 36]
Generated Node #0,0,2: 37:[35, 36] Operation: 40-4=36
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 37:[35, 36], Operations: ['5*8=40', '40-4=36']
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,37 unequal: No Solution
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,37 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,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,0,0
Current State: 37:[40, 39], Operations: ['5*8=40', '4+35=39']
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,37 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,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,0,1
Current State: 37:[40, 31], Operations: ['5*8=40', '35-4=31']
Exploring Operation: 40*31=1240, Resulting Numbers: [1240]
1240,37 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,37 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,37 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: 37:[5, 35, 32], Operations: ['8*4=32']
Exploring Operation: 5+32=37, Resulting Numbers: [35, 37]
Generated Node #0,2,0: 37:[35, 37] Operation: 5+32=37
Exploring Operation: 35-5=30, Resulting Numbers: [32, 30]
Generated Node #0,2,1: 37:[32, 30] Operation: 35-5=30
Exploring Operation: 5+35=40, Resulting Numbers: [32, 40]
Generated Node #0,2,2: 37:[32, 40] Operation: 5+35=40
Moving to Node #0,1
Current State: 37:[8, 35, 20], Operations: ['5*4=20']
Exploring Operation: 8+20=28, Resulting Numbers: [35, 28]
Generated Node #0,1,0: 37:[35, 28] Operation: 8+20=28
Exploring Operation: 35-8=27, Resulting Numbers: [20, 27]
Generated Node #0,1,1: 37:[20, 27] Operation: 35-8=27
Exploring Operation: 8+35=43, Resulting Numbers: [20, 43]
Generated Node #0,1,2: 37:[20, 43] Operation: 8+35=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[35, 28], Operations: ['5*4=20', '8+20=28']
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,37 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 37:[20, 43], Operations: ['5*4=20', '8+35=43']
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,37 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,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,1
Current State: 37:[20, 27], Operations: ['5*4=20', '35-8=27']
Exploring Operation: 20*27=540, Resulting Numbers: [540]
540,37 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 37:[35, 37], Operations: ['8*4=32', '5+32=37']
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,37 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[32, 40], Operations: ['8*4=32', '5+35=40']
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 32*40=1280, Resulting Numbers: [1280]
1280,37 unequal: No Solution
Exploring Operation: 32+40=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[32, 30], Operations: ['8*4=32', '35-5=30']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,37 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,37 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
38,
21,
36,
27
] | 15 | [
"38-36=2",
"21*2=42",
"42-27=15"
] | Current State: 15:[38, 21, 36, 27], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [21, 27, 2]
Generated Node #2: [21, 27, 2] from Operation: 38-36=2
Current State: 15:[21, 27, 2], Operations: ['38-36=2']
Exploring Operation: 21*2=42, Resulting Numbers: [27, 42]
Generated Node #3: [27, 42] from Operation: 21*2=42
Current State: 15:[27, 42], Operations: ['38-36=2', '21*2=42']
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[38, 21, 36, 27], Operations: []
Exploring Operation: 38-27=11, Resulting Numbers: [21, 36, 11]
Generated Node #0,0: 15:[21, 36, 11] Operation: 38-27=11
Exploring Operation: 36-27=9, Resulting Numbers: [38, 21, 9]
Generated Node #0,1: 15:[38, 21, 9] Operation: 36-27=9
Exploring Operation: 38-36=2, Resulting Numbers: [21, 27, 2]
Generated Node #0,2: 15:[21, 27, 2] Operation: 38-36=2
Moving to Node #0,2
Current State: 15:[21, 27, 2], Operations: ['38-36=2']
Exploring Operation: 27-21=6, Resulting Numbers: [2, 6]
Generated Node #0,2,0: 15:[2, 6] Operation: 27-21=6
Exploring Operation: 27-2=25, Resulting Numbers: [21, 25]
Generated Node #0,2,1: 15:[21, 25] Operation: 27-2=25
Exploring Operation: 21-2=19, Resulting Numbers: [27, 19]
Generated Node #0,2,2: 15:[27, 19] Operation: 21-2=19
Moving to Node #0,0
Current State: 15:[21, 36, 11], Operations: ['38-27=11']
Exploring Operation: 36-11=25, Resulting Numbers: [21, 25]
Generated Node #0,0,0: 15:[21, 25] Operation: 36-11=25
Exploring Operation: 21-11=10, Resulting Numbers: [36, 10]
Generated Node #0,0,1: 15:[36, 10] Operation: 21-11=10
Exploring Operation: 36-21=15, Resulting Numbers: [11, 15]
Generated Node #0,0,2: 15:[11, 15] Operation: 36-21=15
Moving to Node #0,1
Current State: 15:[38, 21, 9], Operations: ['36-27=9']
Exploring Operation: 38-9=29, Resulting Numbers: [21, 29]
Generated Node #0,1,0: 15:[21, 29] Operation: 38-9=29
Exploring Operation: 38-21=17, Resulting Numbers: [9, 17]
Generated Node #0,1,1: 15:[9, 17] Operation: 38-21=17
Exploring Operation: 21-9=12, Resulting Numbers: [38, 12]
Generated Node #0,1,2: 15:[38, 12] Operation: 21-9=12
Moving to Node #0,2,0
Current State: 15:[2, 6], Operations: ['38-36=2', '27-21=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[11, 15], Operations: ['38-27=11', '36-21=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,15 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[9, 17], Operations: ['36-27=9', '38-21=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[27, 19], Operations: ['38-36=2', '21-2=19']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[21, 25], Operations: ['38-27=11', '36-11=25']
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,15 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[21, 25], Operations: ['38-36=2', '27-2=25']
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,15 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[21, 29], Operations: ['36-27=9', '38-9=29']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,15 unequal: No Solution
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[36, 10], Operations: ['38-27=11', '21-11=10']
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,15 unequal: No Solution
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[38, 12], Operations: ['36-27=9', '21-9=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,15 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,15 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
15,
15,
3,
78
] | 26 | [
"15-15=0",
"78/3=26",
"0+26=26"
] | Current State: 26:[15, 15, 3, 78], Operations: []
Exploring Operation: 15-15=0, Resulting Numbers: [3, 78, 0]
Generated Node #2: [3, 78, 0] from Operation: 15-15=0
Current State: 26:[3, 78, 0], Operations: ['15-15=0']
Exploring Operation: 78/3=26, Resulting Numbers: [0, 26]
Generated Node #3: [0, 26] from Operation: 78/3=26
Current State: 26:[0, 26], Operations: ['15-15=0', '78/3=26']
Exploring Operation: 0+26=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[15, 15, 3, 78], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [15, 15, 26]
Generated Node #0,0: 26:[15, 15, 26] Operation: 78/3=26
Exploring Operation: 78-15=63, Resulting Numbers: [15, 3, 63]
Generated Node #0,1: 26:[15, 3, 63] Operation: 78-15=63
Exploring Operation: 78-15=63, Resulting Numbers: [15, 3, 63]
Generated Node #0,2: 26:[15, 3, 63] Operation: 78-15=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[15, 15, 26], Operations: ['78/3=26']
Exploring Operation: 15+15=30, Resulting Numbers: [26, 30]
Generated Node #0,0,0: 26:[26, 30] Operation: 15+15=30
Exploring Operation: 15/15=1, Resulting Numbers: [26, 1]
Generated Node #0,0,1: 26:[26, 1] Operation: 15/15=1
Exploring Operation: 15-15=0, Resulting Numbers: [26, 0]
Generated Node #0,0,2: 26:[26, 0] Operation: 15-15=0
Moving to Node #0,0,1
Current State: 26:[26, 1], Operations: ['78/3=26', '15/15=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[15, 15, 3, 78], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [15, 15, 26]
Generated Node #0,0: 26:[15, 15, 26] Operation: 78/3=26
Moving to Node #0,0
Current State: 26:[15, 15, 26], Operations: ['78/3=26']
Exploring Operation: 15/15=1, Resulting Numbers: [26, 1]
Generated Node #0,0,1: 26:[26, 1] Operation: 15/15=1
Moving to Node #0,0,1
Current State: 26:[26, 1], Operations: ['78/3=26', '15/15=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
30,
39,
39,
10
] | 81 | [
"30/10=3",
"39+39=78",
"3+78=81"
] | Current State: 81:[30, 39, 39, 10], Operations: []
Exploring Operation: 30/10=3, Resulting Numbers: [39, 39, 3]
Generated Node #2: [39, 39, 3] from Operation: 30/10=3
Current State: 81:[39, 39, 3], Operations: ['30/10=3']
Exploring Operation: 39+39=78, Resulting Numbers: [3, 78]
Generated Node #3: [3, 78] from Operation: 39+39=78
Current State: 81:[3, 78], Operations: ['30/10=3', '39+39=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[30, 39, 39, 10], Operations: []
Exploring Operation: 39+39=78, Resulting Numbers: [30, 10, 78]
Generated Node #0,0: 81:[30, 10, 78] Operation: 39+39=78
Exploring Operation: 39/39=1, Resulting Numbers: [30, 10, 1]
Generated Node #0,1: 81:[30, 10, 1] Operation: 39/39=1
Moving to Node #0,1
Current State: 81:[30, 10, 1], Operations: ['39/39=1']
Exploring Operation: 30-1=29, Resulting Numbers: [10, 29]
Generated Node #0,1,0: 81:[10, 29] Operation: 30-1=29
Exploring Operation: 30/10=3, Resulting Numbers: [1, 3]
Generated Node #0,1,1: 81:[1, 3] Operation: 30/10=3
Moving to Node #0,0
Current State: 81:[30, 10, 78], Operations: ['39+39=78']
Exploring Operation: 30/10=3, Resulting Numbers: [78, 3]
Generated Node #0,0,0: 81:[78, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [78, 20]
Generated Node #0,0,1: 81:[78, 20] Operation: 30-10=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[78, 3], Operations: ['39+39=78', '30/10=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[30, 39, 39, 10], Operations: []
Exploring Operation: 39+39=78, Resulting Numbers: [30, 10, 78]
Generated Node #0,0: 81:[30, 10, 78] Operation: 39+39=78
Moving to Node #0,0
Current State: 81:[30, 10, 78], Operations: ['39+39=78']
Exploring Operation: 30/10=3, Resulting Numbers: [78, 3]
Generated Node #0,0,0: 81:[78, 3] Operation: 30/10=3
Moving to Node #0,0,0
Current State: 81:[78, 3], Operations: ['39+39=78', '30/10=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
3,
28,
1,
65
] | 41 | [
"28-3=25",
"1+65=66",
"66-25=41"
] | Current State: 41:[3, 28, 1, 65], Operations: []
Exploring Operation: 28-3=25, Resulting Numbers: [1, 65, 25]
Generated Node #2: [1, 65, 25] from Operation: 28-3=25
Current State: 41:[1, 65, 25], Operations: ['28-3=25']
Exploring Operation: 1+65=66, Resulting Numbers: [25, 66]
Generated Node #3: [25, 66] from Operation: 1+65=66
Current State: 41:[25, 66], Operations: ['28-3=25', '1+65=66']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[3, 28, 1, 65], Operations: []
Exploring Operation: 28+1=29, Resulting Numbers: [3, 65, 29]
Generated Node #0,0: 41:[3, 65, 29] Operation: 28+1=29
Exploring Operation: 65-3=62, Resulting Numbers: [28, 1, 62]
Generated Node #0,1: 41:[28, 1, 62] Operation: 65-3=62
Exploring Operation: 65-1=64, Resulting Numbers: [3, 28, 64]
Generated Node #0,2: 41:[3, 28, 64] Operation: 65-1=64
Exploring Operation: 3+28=31, Resulting Numbers: [1, 65, 31]
Generated Node #0,3: 41:[1, 65, 31] Operation: 3+28=31
Exploring Operation: 3+1=4, Resulting Numbers: [28, 65, 4]
Generated Node #0,4: 41:[28, 65, 4] Operation: 3+1=4
Moving to Node #0,0
Current State: 41:[3, 65, 29], Operations: ['28+1=29']
Exploring Operation: 65-3=62, Resulting Numbers: [29, 62]
Generated Node #0,0,0: 41:[29, 62] Operation: 65-3=62
Exploring Operation: 65-29=36, Resulting Numbers: [3, 36]
Generated Node #0,0,1: 41:[3, 36] Operation: 65-29=36
Exploring Operation: 3+65=68, Resulting Numbers: [29, 68]
Generated Node #0,0,2: 41:[29, 68] Operation: 3+65=68
Exploring Operation: 29-3=26, Resulting Numbers: [65, 26]
Generated Node #0,0,3: 41:[65, 26] Operation: 29-3=26
Exploring Operation: 3+29=32, Resulting Numbers: [65, 32]
Generated Node #0,0,4: 41:[65, 32] Operation: 3+29=32
Moving to Node #0,2
Current State: 41:[3, 28, 64], Operations: ['65-1=64']
Exploring Operation: 3+64=67, Resulting Numbers: [28, 67]
Generated Node #0,2,0: 41:[28, 67] Operation: 3+64=67
Exploring Operation: 64-3=61, Resulting Numbers: [28, 61]
Generated Node #0,2,1: 41:[28, 61] Operation: 64-3=61
Exploring Operation: 3+28=31, Resulting Numbers: [64, 31]
Generated Node #0,2,2: 41:[64, 31] Operation: 3+28=31
Exploring Operation: 28-3=25, Resulting Numbers: [64, 25]
Generated Node #0,2,3: 41:[64, 25] Operation: 28-3=25
Exploring Operation: 64-28=36, Resulting Numbers: [3, 36]
Generated Node #0,2,4: 41:[3, 36] Operation: 64-28=36
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[28, 61], Operations: ['65-1=64', '64-3=61']
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,41 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[64, 31], Operations: ['65-1=64', '3+28=31']
Exploring Operation: 64*31=1984, Resulting Numbers: [1984]
1984,41 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 64+31=95, Resulting Numbers: [95]
95,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[28, 67], Operations: ['65-1=64', '3+64=67']
Exploring Operation: 28*67=1876, Resulting Numbers: [1876]
1876,41 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 28+67=95, Resulting Numbers: [95]
95,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 41:[64, 25], Operations: ['65-1=64', '28-3=25']
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 64+25=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Exploring Operation: 64*25=1600, Resulting Numbers: [1600]
1600,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 41:[3, 36], Operations: ['65-1=64', '64-28=36']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,41 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: 41:[28, 65, 4], Operations: ['3+1=4']
Exploring Operation: 65+4=69, Resulting Numbers: [28, 69]
Generated Node #0,4,0: 41:[28, 69] Operation: 65+4=69
Exploring Operation: 28+4=32, Resulting Numbers: [65, 32]
Generated Node #0,4,1: 41:[65, 32] Operation: 28+4=32
Exploring Operation: 65-4=61, Resulting Numbers: [28, 61]
Generated Node #0,4,2: 41:[28, 61] Operation: 65-4=61
Exploring Operation: 65-28=37, Resulting Numbers: [4, 37]
Generated Node #0,4,3: 41:[4, 37] Operation: 65-28=37
Exploring Operation: 28-4=24, Resulting Numbers: [65, 24]
Generated Node #0,4,4: 41:[65, 24] Operation: 28-4=24
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[65, 32], Operations: ['3+1=4', '28+4=32']
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 65*32=2080, Resulting Numbers: [2080]
2080,41 unequal: No Solution
Exploring Operation: 65+32=97, Resulting Numbers: [97]
97,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 41:[28, 61], Operations: ['3+1=4', '65-4=61']
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 41:[28, 69], Operations: ['3+1=4', '65+4=69']
Exploring Operation: 28+69=97, Resulting Numbers: [97]
97,41 unequal: No Solution
Exploring Operation: 28*69=1932, Resulting Numbers: [1932]
1932,41 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[3, 28, 1, 65], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [28, 65, 4]
Generated Node #0,4: 41:[28, 65, 4] Operation: 3+1=4
Moving to Node #0,4
Current State: 41:[28, 65, 4], Operations: ['3+1=4']
Exploring Operation: 65+4=69, Resulting Numbers: [28, 69]
Generated Node #0,4,0: 41:[28, 69] Operation: 65+4=69
Moving to Node #0,4,0
Current State: 41:[28, 69], Operations: ['3+1=4', '65+4=69']
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_5 | sum_heuristic |
[
46,
17,
3,
91
] | 10 | [
"17+91=108",
"108/3=36",
"46-36=10"
] | Current State: 10:[46, 17, 3, 91], Operations: []
Exploring Operation: 17+91=108, Resulting Numbers: [46, 3, 108]
Generated Node #2: [46, 3, 108] from Operation: 17+91=108
Current State: 10:[46, 3, 108], Operations: ['17+91=108']
Exploring Operation: 108/3=36, Resulting Numbers: [46, 36]
Generated Node #3: [46, 36] from Operation: 108/3=36
Current State: 10:[46, 36], Operations: ['17+91=108', '108/3=36']
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[46, 17, 3, 91], Operations: []
Exploring Operation: 91-17=74, Resulting Numbers: [46, 3, 74]
Generated Node #0,0: 10:[46, 3, 74] Operation: 91-17=74
Exploring Operation: 46-17=29, Resulting Numbers: [3, 91, 29]
Generated Node #0,1: 10:[3, 91, 29] Operation: 46-17=29
Exploring Operation: 91-46=45, Resulting Numbers: [17, 3, 45]
Generated Node #0,2: 10:[17, 3, 45] Operation: 91-46=45
Exploring Operation: 46-3=43, Resulting Numbers: [17, 91, 43]
Generated Node #0,3: 10:[17, 91, 43] Operation: 46-3=43
Moving to Node #0,2
Current State: 10:[17, 3, 45], Operations: ['91-46=45']
Exploring Operation: 45-17=28, Resulting Numbers: [3, 28]
Generated Node #0,2,0: 10:[3, 28] Operation: 45-17=28
Exploring Operation: 45-3=42, Resulting Numbers: [17, 42]
Generated Node #0,2,1: 10:[17, 42] Operation: 45-3=42
Exploring Operation: 17-3=14, Resulting Numbers: [45, 14]
Generated Node #0,2,2: 10:[45, 14] Operation: 17-3=14
Exploring Operation: 45/3=15, Resulting Numbers: [17, 15]
Generated Node #0,2,3: 10:[17, 15] Operation: 45/3=15
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[17, 15], Operations: ['91-46=45', '45/3=15']
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,10 unequal: No Solution
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[3, 28], Operations: ['91-46=45', '45-17=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[17, 42], Operations: ['91-46=45', '45-3=42']
Exploring Operation: 17*42=714, Resulting Numbers: [714]
714,10 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 17+42=59, Resulting Numbers: [59]
59,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[45, 14], Operations: ['91-46=45', '17-3=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 10:[3, 91, 29], Operations: ['46-17=29']
Exploring Operation: 29-3=26, Resulting Numbers: [91, 26]
Generated Node #0,1,0: 10:[91, 26] Operation: 29-3=26
Exploring Operation: 91-3=88, Resulting Numbers: [29, 88]
Generated Node #0,1,1: 10:[29, 88] Operation: 91-3=88
Exploring Operation: 3+91=94, Resulting Numbers: [29, 94]
Generated Node #0,1,2: 10:[29, 94] Operation: 3+91=94
Exploring Operation: 91-29=62, Resulting Numbers: [3, 62]
Generated Node #0,1,3: 10:[3, 62] Operation: 91-29=62
Moving to Node #0,0
Current State: 10:[46, 3, 74], Operations: ['91-17=74']
Exploring Operation: 74-46=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 10:[3, 28] Operation: 74-46=28
Exploring Operation: 74-3=71, Resulting Numbers: [46, 71]
Generated Node #0,0,1: 10:[46, 71] Operation: 74-3=71
Exploring Operation: 46-3=43, Resulting Numbers: [74, 43]
Generated Node #0,0,2: 10:[74, 43] Operation: 46-3=43
Exploring Operation: 46+3=49, Resulting Numbers: [74, 49]
Generated Node #0,0,3: 10:[74, 49] Operation: 46+3=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[3, 28], Operations: ['91-17=74', '74-46=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[46, 71], Operations: ['91-17=74', '74-3=71']
Exploring Operation: 46*71=3266, Resulting Numbers: [3266]
3266,10 unequal: No Solution
Exploring Operation: 46+71=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[74, 43], Operations: ['91-17=74', '46-3=43']
Exploring Operation: 74*43=3182, Resulting Numbers: [3182]
3182,10 unequal: No Solution
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 74+43=117, Resulting Numbers: [117]
117,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 10:[74, 49], Operations: ['91-17=74', '46+3=49']
Exploring Operation: 74-49=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 74*49=3626, Resulting Numbers: [3626]
3626,10 unequal: No Solution
Exploring Operation: 74+49=123, Resulting Numbers: [123]
123,10 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: 10:[17, 91, 43], Operations: ['46-3=43']
Exploring Operation: 91-43=48, Resulting Numbers: [17, 48]
Generated Node #0,3,0: 10:[17, 48] Operation: 91-43=48
Exploring Operation: 91-17=74, Resulting Numbers: [43, 74]
Generated Node #0,3,1: 10:[43, 74] Operation: 91-17=74
Exploring Operation: 43-17=26, Resulting Numbers: [91, 26]
Generated Node #0,3,2: 10:[91, 26] Operation: 43-17=26
Exploring Operation: 17+91=108, Resulting Numbers: [43, 108]
Generated Node #0,3,3: 10:[43, 108] Operation: 17+91=108
Moving to Node #0,3,0
Current State: 10:[17, 48], Operations: ['46-3=43', '91-43=48']
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,10 unequal: No Solution
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[3, 62], Operations: ['46-17=29', '91-29=62']
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Exploring Operation: 3*62=186, Resulting Numbers: [186]
186,10 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[29, 88], Operations: ['46-17=29', '91-3=88']
Exploring Operation: 29*88=2552, Resulting Numbers: [2552]
2552,10 unequal: No Solution
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Exploring Operation: 29+88=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[43, 74], Operations: ['46-3=43', '91-17=74']
Exploring Operation: 43+74=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 43*74=3182, Resulting Numbers: [3182]
3182,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[91, 26], Operations: ['46-3=43', '43-17=26']
Exploring Operation: 91*26=2366, Resulting Numbers: [2366]
2366,10 unequal: No Solution
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Exploring Operation: 91+26=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[91, 26], Operations: ['46-17=29', '29-3=26']
Exploring Operation: 91*26=2366, Resulting Numbers: [2366]
2366,10 unequal: No Solution
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Exploring Operation: 91+26=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[29, 94], Operations: ['46-17=29', '3+91=94']
Exploring Operation: 29*94=2726, Resulting Numbers: [2726]
2726,10 unequal: No Solution
Exploring Operation: 29+94=123, Resulting Numbers: [123]
123,10 unequal: No Solution
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[43, 108], Operations: ['46-3=43', '17+91=108']
Exploring Operation: 43+108=151, Resulting Numbers: [151]
151,10 unequal: No Solution
Exploring Operation: 43*108=4644, Resulting Numbers: [4644]
4644,10 unequal: No Solution
Exploring Operation: 108-43=65, Resulting Numbers: [65]
65,10 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
63,
27,
13,
72
] | 18 | [
"63+72=135",
"135/27=5",
"13+5=18"
] | Current State: 18:[63, 27, 13, 72], Operations: []
Exploring Operation: 63+72=135, Resulting Numbers: [27, 13, 135]
Generated Node #2: [27, 13, 135] from Operation: 63+72=135
Current State: 18:[27, 13, 135], Operations: ['63+72=135']
Exploring Operation: 135/27=5, Resulting Numbers: [13, 5]
Generated Node #3: [13, 5] from Operation: 135/27=5
Current State: 18:[13, 5], Operations: ['63+72=135', '135/27=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[63, 27, 13, 72], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [27, 13, 9]
Generated Node #0,0: 18:[27, 13, 9] Operation: 72-63=9
Exploring Operation: 63-27=36, Resulting Numbers: [13, 72, 36]
Generated Node #0,1: 18:[13, 72, 36] Operation: 63-27=36
Moving to Node #0,0
Current State: 18:[27, 13, 9], Operations: ['72-63=9']
Exploring Operation: 27-9=18, Resulting Numbers: [13, 18]
Generated Node #0,0,0: 18:[13, 18] Operation: 27-9=18
Exploring Operation: 27-13=14, Resulting Numbers: [9, 14]
Generated Node #0,0,1: 18:[9, 14] Operation: 27-13=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[13, 18], Operations: ['72-63=9', '27-9=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,18 unequal: No Solution
No 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: 18:[9, 14], Operations: ['72-63=9', '27-13=14']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,18 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: 18:[13, 72, 36], Operations: ['63-27=36']
Exploring Operation: 72-36=36, Resulting Numbers: [13, 36]
Generated Node #0,1,0: 18:[13, 36] Operation: 72-36=36
Exploring Operation: 72/36=2, Resulting Numbers: [13, 2]
Generated Node #0,1,1: 18:[13, 2] Operation: 72/36=2
Moving to Node #0,1,1
Current State: 18:[13, 2], Operations: ['63-27=36', '72/36=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[13, 36], Operations: ['63-27=36', '72-36=36']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,18 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,18 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
43,
47,
95,
45
] | 93 | [
"43+47=90",
"90/45=2",
"95-2=93"
] | Current State: 93:[43, 47, 95, 45], Operations: []
Exploring Operation: 43+47=90, Resulting Numbers: [95, 45, 90]
Generated Node #2: [95, 45, 90] from Operation: 43+47=90
Current State: 93:[95, 45, 90], Operations: ['43+47=90']
Exploring Operation: 90/45=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 90/45=2
Current State: 93:[95, 2], Operations: ['43+47=90', '90/45=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[43, 47, 95, 45], Operations: []
Exploring Operation: 43+47=90, Resulting Numbers: [95, 45, 90]
Generated Node #0,0: 93:[95, 45, 90] Operation: 43+47=90
Exploring Operation: 47+45=92, Resulting Numbers: [43, 95, 92]
Generated Node #0,1: 93:[43, 95, 92] Operation: 47+45=92
Exploring Operation: 47-43=4, Resulting Numbers: [95, 45, 4]
Generated Node #0,2: 93:[95, 45, 4] Operation: 47-43=4
Exploring Operation: 47-45=2, Resulting Numbers: [43, 95, 2]
Generated Node #0,3: 93:[43, 95, 2] Operation: 47-45=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[43, 95, 92], Operations: ['47+45=92']
Exploring Operation: 92-43=49, Resulting Numbers: [95, 49]
Generated Node #0,1,0: 93:[95, 49] Operation: 92-43=49
Exploring Operation: 43+92=135, Resulting Numbers: [95, 135]
Generated Node #0,1,1: 93:[95, 135] Operation: 43+92=135
Exploring Operation: 95-92=3, Resulting Numbers: [43, 3]
Generated Node #0,1,2: 93:[43, 3] Operation: 95-92=3
Exploring Operation: 95-43=52, Resulting Numbers: [92, 52]
Generated Node #0,1,3: 93:[92, 52] Operation: 95-43=52
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 93:[43, 3], Operations: ['47+45=92', '95-92=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,93 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[95, 49], Operations: ['47+45=92', '92-43=49']
Exploring Operation: 95*49=4655, Resulting Numbers: [4655]
4655,93 unequal: No Solution
Exploring Operation: 95+49=144, Resulting Numbers: [144]
144,93 unequal: No Solution
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 93:[92, 52], Operations: ['47+45=92', '95-43=52']
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 92+52=144, Resulting Numbers: [144]
144,93 unequal: No Solution
Exploring Operation: 92*52=4784, Resulting Numbers: [4784]
4784,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[95, 135], Operations: ['47+45=92', '43+92=135']
Exploring Operation: 95*135=12825, Resulting Numbers: [12825]
12825,93 unequal: No Solution
Exploring Operation: 135-95=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 95+135=230, Resulting Numbers: [230]
230,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[43, 95, 2], Operations: ['47-45=2']
Exploring Operation: 95-2=93, Resulting Numbers: [43, 93]
Generated Node #0,3,0: 93:[43, 93] Operation: 95-2=93
Exploring Operation: 43*2=86, Resulting Numbers: [95, 86]
Generated Node #0,3,1: 93:[95, 86] Operation: 43*2=86
Exploring Operation: 43-2=41, Resulting Numbers: [95, 41]
Generated Node #0,3,2: 93:[95, 41] Operation: 43-2=41
Exploring Operation: 43+2=45, Resulting Numbers: [95, 45]
Generated Node #0,3,3: 93:[95, 45] Operation: 43+2=45
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 93:[95, 86], Operations: ['47-45=2', '43*2=86']
Exploring Operation: 95+86=181, Resulting Numbers: [181]
181,93 unequal: No Solution
Exploring Operation: 95-86=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 95*86=8170, Resulting Numbers: [8170]
8170,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 93:[43, 93], Operations: ['47-45=2', '95-2=93']
Exploring Operation: 43+93=136, Resulting Numbers: [136]
136,93 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Exploring Operation: 43*93=3999, Resulting Numbers: [3999]
3999,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 93:[95, 41], Operations: ['47-45=2', '43-2=41']
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,93 unequal: No Solution
Exploring Operation: 95+41=136, Resulting Numbers: [136]
136,93 unequal: No Solution
Exploring Operation: 95*41=3895, Resulting Numbers: [3895]
3895,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 93:[95, 45], Operations: ['47-45=2', '43+2=45']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Exploring Operation: 95*45=4275, Resulting Numbers: [4275]
4275,93 unequal: No Solution
Exploring Operation: 95+45=140, Resulting Numbers: [140]
140,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[95, 45, 4], Operations: ['47-43=4']
Exploring Operation: 95-45=50, Resulting Numbers: [4, 50]
Generated Node #0,2,0: 93:[4, 50] Operation: 95-45=50
Exploring Operation: 95-4=91, Resulting Numbers: [45, 91]
Generated Node #0,2,1: 93:[45, 91] Operation: 95-4=91
Exploring Operation: 45-4=41, Resulting Numbers: [95, 41]
Generated Node #0,2,2: 93:[95, 41] Operation: 45-4=41
Exploring Operation: 95+4=99, Resulting Numbers: [45, 99]
Generated Node #0,2,3: 93:[45, 99] Operation: 95+4=99
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 93:[95, 41], Operations: ['47-43=4', '45-4=41']
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,93 unequal: No Solution
Exploring Operation: 95*41=3895, Resulting Numbers: [3895]
3895,93 unequal: No Solution
Exploring Operation: 95+41=136, Resulting Numbers: [136]
136,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 93:[45, 91], Operations: ['47-43=4', '95-4=91']
Exploring Operation: 45+91=136, Resulting Numbers: [136]
136,93 unequal: No Solution
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Exploring Operation: 45*91=4095, Resulting Numbers: [4095]
4095,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 93:[4, 50], Operations: ['47-43=4', '95-45=50']
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,93 unequal: No Solution
Exploring Operation: 4*50=200, Resulting Numbers: [200]
200,93 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 93:[45, 99], Operations: ['47-43=4', '95+4=99']
Exploring Operation: 45+99=144, Resulting Numbers: [144]
144,93 unequal: No Solution
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,93 unequal: No Solution
Exploring Operation: 45*99=4455, Resulting Numbers: [4455]
4455,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[95, 45, 90], Operations: ['43+47=90']
Exploring Operation: 95-45=50, Resulting Numbers: [90, 50]
Generated Node #0,0,0: 93:[90, 50] Operation: 95-45=50
Exploring Operation: 95-90=5, Resulting Numbers: [45, 5]
Generated Node #0,0,1: 93:[45, 5] Operation: 95-90=5
Exploring Operation: 90-45=45, Resulting Numbers: [95, 45]
Generated Node #0,0,2: 93:[95, 45] Operation: 90-45=45
Exploring Operation: 90/45=2, Resulting Numbers: [95, 2]
Generated Node #0,0,3: 93:[95, 2] Operation: 90/45=2
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 93:[95, 2], Operations: ['43+47=90', '90/45=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[43, 47, 95, 45], Operations: []
Exploring Operation: 43+47=90, Resulting Numbers: [95, 45, 90]
Generated Node #0,0: 93:[95, 45, 90] Operation: 43+47=90
Moving to Node #0,0
Current State: 93:[95, 45, 90], Operations: ['43+47=90']
Exploring Operation: 90/45=2, Resulting Numbers: [95, 2]
Generated Node #0,0,3: 93:[95, 2] Operation: 90/45=2
Moving to Node #0,0,3
Current State: 93:[95, 2], Operations: ['43+47=90', '90/45=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947049 | hs_4 | mult_heuristic |
[
97,
38,
63,
41
] | 37 | [
"97-38=59",
"63-41=22",
"59-22=37"
] | Current State: 37:[97, 38, 63, 41], Operations: []
Exploring Operation: 97-38=59, Resulting Numbers: [63, 41, 59]
Generated Node #2: [63, 41, 59] from Operation: 97-38=59
Current State: 37:[63, 41, 59], Operations: ['97-38=59']
Exploring Operation: 63-41=22, Resulting Numbers: [59, 22]
Generated Node #3: [59, 22] from Operation: 63-41=22
Current State: 37:[59, 22], Operations: ['97-38=59', '63-41=22']
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[97, 38, 63, 41], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [38, 41, 34]
Generated Node #0,0: 37:[38, 41, 34] Operation: 97-63=34
Exploring Operation: 97-41=56, Resulting Numbers: [38, 63, 56]
Generated Node #0,1: 37:[38, 63, 56] Operation: 97-41=56
Moving to Node #0,0
Current State: 37:[38, 41, 34], Operations: ['97-63=34']
Exploring Operation: 41-38=3, Resulting Numbers: [34, 3]
Generated Node #0,0,0: 37:[34, 3] Operation: 41-38=3
Exploring Operation: 41-34=7, Resulting Numbers: [38, 7]
Generated Node #0,0,1: 37:[38, 7] Operation: 41-34=7
Moving to Node #0,1
Current State: 37:[38, 63, 56], Operations: ['97-41=56']
Exploring Operation: 63-56=7, Resulting Numbers: [38, 7]
Generated Node #0,1,0: 37:[38, 7] Operation: 63-56=7
Exploring Operation: 63-38=25, Resulting Numbers: [56, 25]
Generated Node #0,1,1: 37:[56, 25] Operation: 63-38=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[38, 7], Operations: ['97-41=56', '63-56=7']
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[56, 25], Operations: ['97-41=56', '63-38=25']
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 56+25=81, Resulting Numbers: [81]
81,37 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: 37:[38, 7], Operations: ['97-63=34', '41-34=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[34, 3], Operations: ['97-63=34', '41-38=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[97, 38, 63, 41], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [38, 41, 34]
Generated Node #0,0: 37:[38, 41, 34] Operation: 97-63=34
Moving to Node #0,0
Current State: 37:[38, 41, 34], Operations: ['97-63=34']
Exploring Operation: 41-38=3, Resulting Numbers: [34, 3]
Generated Node #0,0,0: 37:[34, 3] Operation: 41-38=3
Moving to Node #0,0,0
Current State: 37:[34, 3], Operations: ['97-63=34', '41-38=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
2,
5,
3,
30
] | 62 | [
"2*30=60",
"5-3=2",
"60+2=62"
] | Current State: 62:[2, 5, 3, 30], Operations: []
Exploring Operation: 2*30=60, Resulting Numbers: [5, 3, 60]
Generated Node #2: [5, 3, 60] from Operation: 2*30=60
Current State: 62:[5, 3, 60], Operations: ['2*30=60']
Exploring Operation: 5-3=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 5-3=2
Current State: 62:[60, 2], Operations: ['2*30=60', '5-3=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[2, 5, 3, 30], Operations: []
Exploring Operation: 5+30=35, Resulting Numbers: [2, 3, 35]
Generated Node #0,0: 62:[2, 3, 35] Operation: 5+30=35
Exploring Operation: 2+30=32, Resulting Numbers: [5, 3, 32]
Generated Node #0,1: 62:[5, 3, 32] Operation: 2+30=32
Exploring Operation: 5-3=2, Resulting Numbers: [2, 30, 2]
Generated Node #0,2: 62:[2, 30, 2] Operation: 5-3=2
Exploring Operation: 5-2=3, Resulting Numbers: [3, 30, 3]
Generated Node #0,3: 62:[3, 30, 3] Operation: 5-2=3
Exploring Operation: 3-2=1, Resulting Numbers: [5, 30, 1]
Generated Node #0,4: 62:[5, 30, 1] Operation: 3-2=1
Moving to Node #0,2
Current State: 62:[2, 30, 2], Operations: ['5-3=2']
Exploring Operation: 30*2=60, Resulting Numbers: [2, 60]
Generated Node #0,2,0: 62:[2, 60] Operation: 30*2=60
Exploring Operation: 2/2=1, Resulting Numbers: [30, 1]
Generated Node #0,2,1: 62:[30, 1] Operation: 2/2=1
Exploring Operation: 30+2=32, Resulting Numbers: [2, 32]
Generated Node #0,2,2: 62:[2, 32] Operation: 30+2=32
Exploring Operation: 2*30=60, Resulting Numbers: [2, 60]
Generated Node #0,2,3: 62:[2, 60] Operation: 2*30=60
Exploring Operation: 2+30=32, Resulting Numbers: [2, 32]
Generated Node #0,2,4: 62:[2, 32] Operation: 2+30=32
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[2, 32], Operations: ['5-3=2', '30+2=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,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,4
Current State: 62:[2, 32], Operations: ['5-3=2', '2+30=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,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:[2, 60], Operations: ['5-3=2', '30*2=60']
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,62 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[2, 5, 3, 30], Operations: []
Exploring Operation: 5-3=2, Resulting Numbers: [2, 30, 2]
Generated Node #0,2: 62:[2, 30, 2] Operation: 5-3=2
Moving to Node #0,2
Current State: 62:[2, 30, 2], Operations: ['5-3=2']
Exploring Operation: 30*2=60, Resulting Numbers: [2, 60]
Generated Node #0,2,0: 62:[2, 60] Operation: 30*2=60
Moving to Node #0,2,0
Current State: 62:[2, 60], Operations: ['5-3=2', '30*2=60']
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
30,
13,
46,
34
] | 31 | [
"30+13=43",
"46-34=12",
"43-12=31"
] | Current State: 31:[30, 13, 46, 34], Operations: []
Exploring Operation: 30+13=43, Resulting Numbers: [46, 34, 43]
Generated Node #2: [46, 34, 43] from Operation: 30+13=43
Current State: 31:[46, 34, 43], Operations: ['30+13=43']
Exploring Operation: 46-34=12, Resulting Numbers: [43, 12]
Generated Node #3: [43, 12] from Operation: 46-34=12
Current State: 31:[43, 12], Operations: ['30+13=43', '46-34=12']
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[30, 13, 46, 34], Operations: []
Exploring Operation: 13+46=59, Resulting Numbers: [30, 34, 59]
Generated Node #0,0: 31:[30, 34, 59] Operation: 13+46=59
Exploring Operation: 30+13=43, Resulting Numbers: [46, 34, 43]
Generated Node #0,1: 31:[46, 34, 43] Operation: 30+13=43
Exploring Operation: 30-13=17, Resulting Numbers: [46, 34, 17]
Generated Node #0,2: 31:[46, 34, 17] Operation: 30-13=17
Exploring Operation: 34-13=21, Resulting Numbers: [30, 46, 21]
Generated Node #0,3: 31:[30, 46, 21] Operation: 34-13=21
Exploring Operation: 46-13=33, Resulting Numbers: [30, 34, 33]
Generated Node #0,4: 31:[30, 34, 33] Operation: 46-13=33
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[30, 34, 33], Operations: ['46-13=33']
Exploring Operation: 33-30=3, Resulting Numbers: [34, 3]
Generated Node #0,4,0: 31:[34, 3] Operation: 33-30=3
Exploring Operation: 30+33=63, Resulting Numbers: [34, 63]
Generated Node #0,4,1: 31:[34, 63] Operation: 30+33=63
Exploring Operation: 30+34=64, Resulting Numbers: [33, 64]
Generated Node #0,4,2: 31:[33, 64] Operation: 30+34=64
Exploring Operation: 34-30=4, Resulting Numbers: [33, 4]
Generated Node #0,4,3: 31:[33, 4] Operation: 34-30=4
Exploring Operation: 34-33=1, Resulting Numbers: [30, 1]
Generated Node #0,4,4: 31:[30, 1] Operation: 34-33=1
Moving to Node #0,4,3
Current State: 31:[33, 4], Operations: ['46-13=33', '34-30=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,31 unequal: No Solution
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,31 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[30, 1], Operations: ['46-13=33', '34-33=1']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[30, 13, 46, 34], Operations: []
Exploring Operation: 46-13=33, Resulting Numbers: [30, 34, 33]
Generated Node #0,4: 31:[30, 34, 33] Operation: 46-13=33
Moving to Node #0,4
Current State: 31:[30, 34, 33], Operations: ['46-13=33']
Exploring Operation: 34-33=1, Resulting Numbers: [30, 1]
Generated Node #0,4,4: 31:[30, 1] Operation: 34-33=1
Moving to Node #0,4,4
Current State: 31:[30, 1], Operations: ['46-13=33', '34-33=1']
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
30,
10,
22,
91
] | 72 | [
"30/10=3",
"91-22=69",
"3+69=72"
] | Current State: 72:[30, 10, 22, 91], Operations: []
Exploring Operation: 30/10=3, Resulting Numbers: [22, 91, 3]
Generated Node #2: [22, 91, 3] from Operation: 30/10=3
Current State: 72:[22, 91, 3], Operations: ['30/10=3']
Exploring Operation: 91-22=69, Resulting Numbers: [3, 69]
Generated Node #3: [3, 69] from Operation: 91-22=69
Current State: 72:[3, 69], Operations: ['30/10=3', '91-22=69']
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[30, 10, 22, 91], Operations: []
Exploring Operation: 91-22=69, Resulting Numbers: [30, 10, 69]
Generated Node #0,0: 72:[30, 10, 69] Operation: 91-22=69
Moving to Node #0,0
Current State: 72:[30, 10, 69], Operations: ['91-22=69']
Exploring Operation: 30/10=3, Resulting Numbers: [69, 3]
Generated Node #0,0,0: 72:[69, 3] Operation: 30/10=3
Moving to Node #0,0,0
Current State: 72:[69, 3], Operations: ['91-22=69', '30/10=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[30, 10, 22, 91], Operations: []
Exploring Operation: 91-22=69, Resulting Numbers: [30, 10, 69]
Generated Node #0,0: 72:[30, 10, 69] Operation: 91-22=69
Moving to Node #0,0
Current State: 72:[30, 10, 69], Operations: ['91-22=69']
Exploring Operation: 30/10=3, Resulting Numbers: [69, 3]
Generated Node #0,0,0: 72:[69, 3] Operation: 30/10=3
Moving to Node #0,0,0
Current State: 72:[69, 3], Operations: ['91-22=69', '30/10=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
26,
28,
33,
99
] | 31 | [
"33-28=5",
"26*5=130",
"130-99=31"
] | Current State: 31:[26, 28, 33, 99], Operations: []
Exploring Operation: 33-28=5, Resulting Numbers: [26, 99, 5]
Generated Node #2: [26, 99, 5] from Operation: 33-28=5
Current State: 31:[26, 99, 5], Operations: ['33-28=5']
Exploring Operation: 26*5=130, Resulting Numbers: [99, 130]
Generated Node #3: [99, 130] from Operation: 26*5=130
Current State: 31:[99, 130], Operations: ['33-28=5', '26*5=130']
Exploring Operation: 130-99=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[26, 28, 33, 99], Operations: []
Exploring Operation: 99-33=66, Resulting Numbers: [26, 28, 66]
Generated Node #0,0: 31:[26, 28, 66] Operation: 99-33=66
Exploring Operation: 99/33=3, Resulting Numbers: [26, 28, 3]
Generated Node #0,1: 31:[26, 28, 3] Operation: 99/33=3
Moving to Node #0,1
Current State: 31:[26, 28, 3], Operations: ['99/33=3']
Exploring Operation: 26+3=29, Resulting Numbers: [28, 29]
Generated Node #0,1,0: 31:[28, 29] Operation: 26+3=29
Exploring Operation: 28+3=31, Resulting Numbers: [26, 31]
Generated Node #0,1,1: 31:[26, 31] Operation: 28+3=31
Moving to Node #0,0
Current State: 31:[26, 28, 66], Operations: ['99-33=66']
Exploring Operation: 66-26=40, Resulting Numbers: [28, 40]
Generated Node #0,0,0: 31:[28, 40] Operation: 66-26=40
Exploring Operation: 66-28=38, Resulting Numbers: [26, 38]
Generated Node #0,0,1: 31:[26, 38] Operation: 66-28=38
Moving to Node #0,1,0
Current State: 31:[28, 29], Operations: ['99/33=3', '26+3=29']
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[26, 31], Operations: ['99/33=3', '28+3=31']
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 26+31=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[26, 38], Operations: ['99-33=66', '66-28=38']
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[28, 40], Operations: ['99-33=66', '66-26=40']
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,31 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
79,
33,
20,
21
] | 46 | [
"79-33=46",
"21-20=1",
"46*1=46"
] | Current State: 46:[79, 33, 20, 21], Operations: []
Exploring Operation: 79-33=46, Resulting Numbers: [20, 21, 46]
Generated Node #2: [20, 21, 46] from Operation: 79-33=46
Current State: 46:[20, 21, 46], Operations: ['79-33=46']
Exploring Operation: 21-20=1, Resulting Numbers: [46, 1]
Generated Node #3: [46, 1] from Operation: 21-20=1
Current State: 46:[46, 1], Operations: ['79-33=46', '21-20=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[79, 33, 20, 21], Operations: []
Exploring Operation: 79-21=58, Resulting Numbers: [33, 20, 58]
Generated Node #0,0: 46:[33, 20, 58] Operation: 79-21=58
Exploring Operation: 33+20=53, Resulting Numbers: [79, 21, 53]
Generated Node #0,1: 46:[79, 21, 53] Operation: 33+20=53
Exploring Operation: 79-20=59, Resulting Numbers: [33, 21, 59]
Generated Node #0,2: 46:[33, 21, 59] Operation: 79-20=59
Exploring Operation: 79-33=46, Resulting Numbers: [20, 21, 46]
Generated Node #0,3: 46:[20, 21, 46] Operation: 79-33=46
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[20, 21, 46], Operations: ['79-33=46']
Exploring Operation: 46-21=25, Resulting Numbers: [20, 25]
Generated Node #0,3,0: 46:[20, 25] Operation: 46-21=25
Exploring Operation: 21-20=1, Resulting Numbers: [46, 1]
Generated Node #0,3,1: 46:[46, 1] Operation: 21-20=1
Exploring Operation: 20+21=41, Resulting Numbers: [46, 41]
Generated Node #0,3,2: 46:[46, 41] Operation: 20+21=41
Exploring Operation: 46-20=26, Resulting Numbers: [21, 26]
Generated Node #0,3,3: 46:[21, 26] Operation: 46-20=26
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 46:[46, 1], Operations: ['79-33=46', '21-20=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[79, 33, 20, 21], Operations: []
Exploring Operation: 79-33=46, Resulting Numbers: [20, 21, 46]
Generated Node #0,3: 46:[20, 21, 46] Operation: 79-33=46
Moving to Node #0,3
Current State: 46:[20, 21, 46], Operations: ['79-33=46']
Exploring Operation: 21-20=1, Resulting Numbers: [46, 1]
Generated Node #0,3,1: 46:[46, 1] Operation: 21-20=1
Moving to Node #0,3,1
Current State: 46:[46, 1], Operations: ['79-33=46', '21-20=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
80,
50,
13,
58
] | 85 | [
"80+50=130",
"58-13=45",
"130-45=85"
] | Current State: 85:[80, 50, 13, 58], Operations: []
Exploring Operation: 80+50=130, Resulting Numbers: [13, 58, 130]
Generated Node #2: [13, 58, 130] from Operation: 80+50=130
Current State: 85:[13, 58, 130], Operations: ['80+50=130']
Exploring Operation: 58-13=45, Resulting Numbers: [130, 45]
Generated Node #3: [130, 45] from Operation: 58-13=45
Current State: 85:[130, 45], Operations: ['80+50=130', '58-13=45']
Exploring Operation: 130-45=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[80, 50, 13, 58], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [80, 13, 8]
Generated Node #0,0: 85:[80, 13, 8] Operation: 58-50=8
Exploring Operation: 80-58=22, Resulting Numbers: [50, 13, 22]
Generated Node #0,1: 85:[50, 13, 22] Operation: 80-58=22
Exploring Operation: 80-50=30, Resulting Numbers: [13, 58, 30]
Generated Node #0,2: 85:[13, 58, 30] Operation: 80-50=30
Exploring Operation: 50-13=37, Resulting Numbers: [80, 58, 37]
Generated Node #0,3: 85:[80, 58, 37] Operation: 50-13=37
Exploring Operation: 50+58=108, Resulting Numbers: [80, 13, 108]
Generated Node #0,4: 85:[80, 13, 108] Operation: 50+58=108
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[80, 13, 8], Operations: ['58-50=8']
Exploring Operation: 80+13=93, Resulting Numbers: [8, 93]
Generated Node #0,0,0: 85:[8, 93] Operation: 80+13=93
Exploring Operation: 13-8=5, Resulting Numbers: [80, 5]
Generated Node #0,0,1: 85:[80, 5] Operation: 13-8=5
Exploring Operation: 80/8=10, Resulting Numbers: [13, 10]
Generated Node #0,0,2: 85:[13, 10] Operation: 80/8=10
Exploring Operation: 13+8=21, Resulting Numbers: [80, 21]
Generated Node #0,0,3: 85:[80, 21] Operation: 13+8=21
Exploring Operation: 80+8=88, Resulting Numbers: [13, 88]
Generated Node #0,0,4: 85:[13, 88] Operation: 80+8=88
Moving to Node #0,0,1
Current State: 85:[80, 5], Operations: ['58-50=8', '13-8=5']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 80*5=400, Resulting Numbers: [400]
400,85 unequal: No Solution
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[80, 50, 13, 58], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [80, 13, 8]
Generated Node #0,0: 85:[80, 13, 8] Operation: 58-50=8
Moving to Node #0,0
Current State: 85:[80, 13, 8], Operations: ['58-50=8']
Exploring Operation: 13-8=5, Resulting Numbers: [80, 5]
Generated Node #0,0,1: 85:[80, 5] Operation: 13-8=5
Moving to Node #0,0,1
Current State: 85:[80, 5], Operations: ['58-50=8', '13-8=5']
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
74,
87,
87,
36
] | 36 | [
"87-87=0",
"74*0=0",
"36+0=36"
] | Current State: 36:[74, 87, 87, 36], Operations: []
Exploring Operation: 87-87=0, Resulting Numbers: [74, 36, 0]
Generated Node #2: [74, 36, 0] from Operation: 87-87=0
Current State: 36:[74, 36, 0], Operations: ['87-87=0']
Exploring Operation: 74*0=0, Resulting Numbers: [36, 0]
Generated Node #3: [36, 0] from Operation: 74*0=0
Current State: 36:[36, 0], Operations: ['87-87=0', '74*0=0']
Exploring Operation: 36+0=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[74, 87, 87, 36], Operations: []
Exploring Operation: 87-74=13, Resulting Numbers: [87, 36, 13]
Generated Node #0,0: 36:[87, 36, 13] Operation: 87-74=13
Exploring Operation: 87/87=1, Resulting Numbers: [74, 36, 1]
Generated Node #0,1: 36:[74, 36, 1] Operation: 87/87=1
Exploring Operation: 87-74=13, Resulting Numbers: [87, 36, 13]
Generated Node #0,2: 36:[87, 36, 13] Operation: 87-74=13
Exploring Operation: 74-36=38, Resulting Numbers: [87, 87, 38]
Generated Node #0,3: 36:[87, 87, 38] Operation: 74-36=38
Exploring Operation: 87-87=0, Resulting Numbers: [74, 36, 0]
Generated Node #0,4: 36:[74, 36, 0] Operation: 87-87=0
Moving to Node #0,1
Current State: 36:[74, 36, 1], Operations: ['87/87=1']
Exploring Operation: 36*1=36, Resulting Numbers: [74, 36]
Generated Node #0,1,0: 36:[74, 36] Operation: 36*1=36
Exploring Operation: 74*1=74, Resulting Numbers: [36, 74]
Generated Node #0,1,1: 36:[36, 74] Operation: 74*1=74
Exploring Operation: 74-36=38, Resulting Numbers: [1, 38]
Generated Node #0,1,2: 36:[1, 38] Operation: 74-36=38
Exploring Operation: 74/1=74, Resulting Numbers: [36, 74]
Generated Node #0,1,3: 36:[36, 74] Operation: 74/1=74
Exploring Operation: 74-1=73, Resulting Numbers: [36, 73]
Generated Node #0,1,4: 36:[36, 73] Operation: 74-1=73
Moving to Node #0,4
Current State: 36:[74, 36, 0], Operations: ['87-87=0']
Exploring Operation: 74*0=0, Resulting Numbers: [36, 0]
Generated Node #0,4,0: 36:[36, 0] Operation: 74*0=0
Exploring Operation: 74+0=74, Resulting Numbers: [36, 74]
Generated Node #0,4,1: 36:[36, 74] Operation: 74+0=74
Exploring Operation: 74-0=74, Resulting Numbers: [36, 74]
Generated Node #0,4,2: 36:[36, 74] Operation: 74-0=74
Exploring Operation: 74-36=38, Resulting Numbers: [0, 38]
Generated Node #0,4,3: 36:[0, 38] Operation: 74-36=38
Exploring Operation: 36+0=36, Resulting Numbers: [74, 36]
Generated Node #0,4,4: 36:[74, 36] Operation: 36+0=36
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 36:[36, 0], Operations: ['87-87=0', '74*0=0']
Exploring Operation: 36*0=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Exploring Operation: 36+0=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[74, 87, 87, 36], Operations: []
Exploring Operation: 87-87=0, Resulting Numbers: [74, 36, 0]
Generated Node #0,4: 36:[74, 36, 0] Operation: 87-87=0
Moving to Node #0,4
Current State: 36:[74, 36, 0], Operations: ['87-87=0']
Exploring Operation: 74*0=0, Resulting Numbers: [36, 0]
Generated Node #0,4,0: 36:[36, 0] Operation: 74*0=0
Moving to Node #0,4,0
Current State: 36:[36, 0], Operations: ['87-87=0', '74*0=0']
Exploring Operation: 36+0=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
68,
25,
63,
22
] | 47 | [
"25-22=3",
"63/3=21",
"68-21=47"
] | Current State: 47:[68, 25, 63, 22], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [68, 63, 3]
Generated Node #2: [68, 63, 3] from Operation: 25-22=3
Current State: 47:[68, 63, 3], Operations: ['25-22=3']
Exploring Operation: 63/3=21, Resulting Numbers: [68, 21]
Generated Node #3: [68, 21] from Operation: 63/3=21
Current State: 47:[68, 21], Operations: ['25-22=3', '63/3=21']
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[68, 25, 63, 22], Operations: []
Exploring Operation: 25+22=47, Resulting Numbers: [68, 63, 47]
Generated Node #0,0: 47:[68, 63, 47] Operation: 25+22=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[68, 63, 47], Operations: ['25+22=47']
Exploring Operation: 68-63=5, Resulting Numbers: [47, 5]
Generated Node #0,0,0: 47:[47, 5] Operation: 68-63=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[47, 5], Operations: ['25+22=47', '68-63=5']
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
69,
73,
28,
81
] | 57 | [
"73-69=4",
"81-28=53",
"4+53=57"
] | Current State: 57:[69, 73, 28, 81], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [28, 81, 4]
Generated Node #2: [28, 81, 4] from Operation: 73-69=4
Current State: 57:[28, 81, 4], Operations: ['73-69=4']
Exploring Operation: 81-28=53, Resulting Numbers: [4, 53]
Generated Node #3: [4, 53] from Operation: 81-28=53
Current State: 57:[4, 53], Operations: ['73-69=4', '81-28=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[69, 73, 28, 81], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [73, 28, 12]
Generated Node #0,0: 57:[73, 28, 12] Operation: 81-69=12
Exploring Operation: 81-73=8, Resulting Numbers: [69, 28, 8]
Generated Node #0,1: 57:[69, 28, 8] Operation: 81-73=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[69, 28, 8], Operations: ['81-73=8']
Exploring Operation: 69-8=61, Resulting Numbers: [28, 61]
Generated Node #0,1,0: 57:[28, 61] Operation: 69-8=61
Exploring Operation: 28-8=20, Resulting Numbers: [69, 20]
Generated Node #0,1,1: 57:[69, 20] Operation: 28-8=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[28, 61], Operations: ['81-73=8', '69-8=61']
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,57 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,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:[69, 20], Operations: ['81-73=8', '28-8=20']
Exploring Operation: 69-20=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 69+20=89, Resulting Numbers: [89]
89,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,0
Current State: 57:[73, 28, 12], Operations: ['81-69=12']
Exploring Operation: 73-12=61, Resulting Numbers: [28, 61]
Generated Node #0,0,0: 57:[28, 61] Operation: 73-12=61
Exploring Operation: 73-28=45, Resulting Numbers: [12, 45]
Generated Node #0,0,1: 57:[12, 45] Operation: 73-28=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[28, 61], Operations: ['81-69=12', '73-12=61']
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[12, 45], Operations: ['81-69=12', '73-28=45']
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[69, 73, 28, 81], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [73, 28, 12]
Generated Node #0,0: 57:[73, 28, 12] Operation: 81-69=12
Moving to Node #0,0
Current State: 57:[73, 28, 12], Operations: ['81-69=12']
Exploring Operation: 73-28=45, Resulting Numbers: [12, 45]
Generated Node #0,0,1: 57:[12, 45] Operation: 73-28=45
Moving to Node #0,0,1
Current State: 57:[12, 45], Operations: ['81-69=12', '73-28=45']
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
59,
17,
50,
64
] | 35 | [
"64-59=5",
"17*5=85",
"85-50=35"
] | Current State: 35:[59, 17, 50, 64], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [17, 50, 5]
Generated Node #2: [17, 50, 5] from Operation: 64-59=5
Current State: 35:[17, 50, 5], Operations: ['64-59=5']
Exploring Operation: 17*5=85, Resulting Numbers: [50, 85]
Generated Node #3: [50, 85] from Operation: 17*5=85
Current State: 35:[50, 85], Operations: ['64-59=5', '17*5=85']
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[59, 17, 50, 64], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [17, 50, 5]
Generated Node #0,0: 35:[17, 50, 5] Operation: 64-59=5
Exploring Operation: 59-50=9, Resulting Numbers: [17, 64, 9]
Generated Node #0,1: 35:[17, 64, 9] Operation: 59-50=9
Exploring Operation: 64-50=14, Resulting Numbers: [59, 17, 14]
Generated Node #0,2: 35:[59, 17, 14] Operation: 64-50=14
Exploring Operation: 59-17=42, Resulting Numbers: [50, 64, 42]
Generated Node #0,3: 35:[50, 64, 42] Operation: 59-17=42
Moving to Node #0,0
Current State: 35:[17, 50, 5], Operations: ['64-59=5']
Exploring Operation: 50-5=45, Resulting Numbers: [17, 45]
Generated Node #0,0,0: 35:[17, 45] Operation: 50-5=45
Exploring Operation: 17-5=12, Resulting Numbers: [50, 12]
Generated Node #0,0,1: 35:[50, 12] Operation: 17-5=12
Exploring Operation: 50/5=10, Resulting Numbers: [17, 10]
Generated Node #0,0,2: 35:[17, 10] Operation: 50/5=10
Exploring Operation: 50-17=33, Resulting Numbers: [5, 33]
Generated Node #0,0,3: 35:[5, 33] Operation: 50-17=33
Moving to Node #0,2
Current State: 35:[59, 17, 14], Operations: ['64-50=14']
Exploring Operation: 59-17=42, Resulting Numbers: [14, 42]
Generated Node #0,2,0: 35:[14, 42] Operation: 59-17=42
Exploring Operation: 17-14=3, Resulting Numbers: [59, 3]
Generated Node #0,2,1: 35:[59, 3] Operation: 17-14=3
Exploring Operation: 59-14=45, Resulting Numbers: [17, 45]
Generated Node #0,2,2: 35:[17, 45] Operation: 59-14=45
Exploring Operation: 17+14=31, Resulting Numbers: [59, 31]
Generated Node #0,2,3: 35:[59, 31] Operation: 17+14=31
Moving to Node #0,1
Current State: 35:[17, 64, 9], Operations: ['59-50=9']
Exploring Operation: 64-17=47, Resulting Numbers: [9, 47]
Generated Node #0,1,0: 35:[9, 47] Operation: 64-17=47
Exploring Operation: 17-9=8, Resulting Numbers: [64, 8]
Generated Node #0,1,1: 35:[64, 8] Operation: 17-9=8
Exploring Operation: 17+9=26, Resulting Numbers: [64, 26]
Generated Node #0,1,2: 35:[64, 26] Operation: 17+9=26
Exploring Operation: 64-9=55, Resulting Numbers: [17, 55]
Generated Node #0,1,3: 35:[17, 55] Operation: 64-9=55
Moving to Node #0,3
Current State: 35:[50, 64, 42], Operations: ['59-17=42']
Exploring Operation: 64-42=22, Resulting Numbers: [50, 22]
Generated Node #0,3,0: 35:[50, 22] Operation: 64-42=22
Exploring Operation: 50+64=114, Resulting Numbers: [42, 114]
Generated Node #0,3,1: 35:[42, 114] Operation: 50+64=114
Exploring Operation: 50-42=8, Resulting Numbers: [64, 8]
Generated Node #0,3,2: 35:[64, 8] Operation: 50-42=8
Exploring Operation: 64-50=14, Resulting Numbers: [42, 14]
Generated Node #0,3,3: 35:[42, 14] Operation: 64-50=14
Moving to Node #0,0,3
Current State: 35:[5, 33], Operations: ['64-59=5', '50-17=33']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[17, 10], Operations: ['64-59=5', '50/5=10']
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,35 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[42, 14], Operations: ['59-17=42', '64-50=14']
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 42*14=588, Resulting Numbers: [588]
588,35 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[14, 42], Operations: ['64-50=14', '59-17=42']
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 14*42=588, Resulting Numbers: [588]
588,35 unequal: No Solution
Exploring Operation: 14+42=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[9, 47], Operations: ['59-50=9', '64-17=47']
Exploring Operation: 9*47=423, Resulting Numbers: [423]
423,35 unequal: No Solution
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[17, 45], Operations: ['64-59=5', '50-5=45']
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 17*45=765, Resulting Numbers: [765]
765,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[17, 45], Operations: ['64-50=14', '59-14=45']
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 17*45=765, Resulting Numbers: [765]
765,35 unequal: No Solution
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[50, 12], Operations: ['64-59=5', '17-5=12']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,35 unequal: No Solution
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[59, 3], Operations: ['64-50=14', '17-14=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[50, 22], Operations: ['59-17=42', '64-42=22']
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,35 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[59, 31], Operations: ['64-50=14', '17+14=31']
Exploring Operation: 59+31=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 59*31=1829, Resulting Numbers: [1829]
1829,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[64, 8], Operations: ['59-17=42', '50-42=8']
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,35 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[17, 55], Operations: ['59-50=9', '64-9=55']
Exploring Operation: 17+55=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 17*55=935, Resulting Numbers: [935]
935,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[64, 8], Operations: ['59-50=9', '17-9=8']
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[64, 26], Operations: ['59-50=9', '17+9=26']
Exploring Operation: 64+26=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 64*26=1664, Resulting Numbers: [1664]
1664,35 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[42, 114], Operations: ['59-17=42', '50+64=114']
Exploring Operation: 114-42=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 42+114=156, Resulting Numbers: [156]
156,35 unequal: No Solution
Exploring Operation: 42*114=4788, Resulting Numbers: [4788]
4788,35 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
63,
20,
1,
95
] | 51 | [
"63-20=43",
"95-1=94",
"94-43=51"
] | Current State: 51:[63, 20, 1, 95], Operations: []
Exploring Operation: 63-20=43, Resulting Numbers: [1, 95, 43]
Generated Node #2: [1, 95, 43] from Operation: 63-20=43
Current State: 51:[1, 95, 43], Operations: ['63-20=43']
Exploring Operation: 95-1=94, Resulting Numbers: [43, 94]
Generated Node #3: [43, 94] from Operation: 95-1=94
Current State: 51:[43, 94], Operations: ['63-20=43', '95-1=94']
Exploring Operation: 94-43=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[63, 20, 1, 95], Operations: []
Exploring Operation: 63-20=43, Resulting Numbers: [1, 95, 43]
Generated Node #0,0: 51:[1, 95, 43] Operation: 63-20=43
Exploring Operation: 95-63=32, Resulting Numbers: [20, 1, 32]
Generated Node #0,1: 51:[20, 1, 32] Operation: 95-63=32
Exploring Operation: 95-20=75, Resulting Numbers: [63, 1, 75]
Generated Node #0,2: 51:[63, 1, 75] Operation: 95-20=75
Moving to Node #0,1
Current State: 51:[20, 1, 32], Operations: ['95-63=32']
Exploring Operation: 20-1=19, Resulting Numbers: [32, 19]
Generated Node #0,1,0: 51:[32, 19] Operation: 20-1=19
Exploring Operation: 20+32=52, Resulting Numbers: [1, 52]
Generated Node #0,1,1: 51:[1, 52] Operation: 20+32=52
Exploring Operation: 32-20=12, Resulting Numbers: [1, 12]
Generated Node #0,1,2: 51:[1, 12] Operation: 32-20=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[1, 52], Operations: ['95-63=32', '20+32=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[63, 20, 1, 95], Operations: []
Exploring Operation: 95-63=32, Resulting Numbers: [20, 1, 32]
Generated Node #0,1: 51:[20, 1, 32] Operation: 95-63=32
Moving to Node #0,1
Current State: 51:[20, 1, 32], Operations: ['95-63=32']
Exploring Operation: 20+32=52, Resulting Numbers: [1, 52]
Generated Node #0,1,1: 51:[1, 52] Operation: 20+32=52
Moving to Node #0,1,1
Current State: 51:[1, 52], Operations: ['95-63=32', '20+32=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
10,
4,
81,
75
] | 12 | [
"10-4=6",
"81-75=6",
"6+6=12"
] | Current State: 12:[10, 4, 81, 75], Operations: []
Exploring Operation: 10-4=6, Resulting Numbers: [81, 75, 6]
Generated Node #2: [81, 75, 6] from Operation: 10-4=6
Current State: 12:[81, 75, 6], Operations: ['10-4=6']
Exploring Operation: 81-75=6, Resulting Numbers: [6, 6]
Generated Node #3: [6, 6] from Operation: 81-75=6
Current State: 12:[6, 6], Operations: ['10-4=6', '81-75=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[10, 4, 81, 75], Operations: []
Exploring Operation: 81-10=71, Resulting Numbers: [4, 75, 71]
Generated Node #0,0: 12:[4, 75, 71] Operation: 81-10=71
Exploring Operation: 81-4=77, Resulting Numbers: [10, 75, 77]
Generated Node #0,1: 12:[10, 75, 77] Operation: 81-4=77
Exploring Operation: 81-75=6, Resulting Numbers: [10, 4, 6]
Generated Node #0,2: 12:[10, 4, 6] Operation: 81-75=6
Exploring Operation: 75-10=65, Resulting Numbers: [4, 81, 65]
Generated Node #0,3: 12:[4, 81, 65] Operation: 75-10=65
Moving to Node #0,2
Current State: 12:[10, 4, 6], Operations: ['81-75=6']
Exploring Operation: 6-4=2, Resulting Numbers: [10, 2]
Generated Node #0,2,0: 12:[10, 2] Operation: 6-4=2
Exploring Operation: 10+4=14, Resulting Numbers: [6, 14]
Generated Node #0,2,1: 12:[6, 14] Operation: 10+4=14
Exploring Operation: 10-6=4, Resulting Numbers: [4, 4]
Generated Node #0,2,2: 12:[4, 4] Operation: 10-6=4
Exploring Operation: 10-4=6, Resulting Numbers: [6, 6]
Generated Node #0,2,3: 12:[6, 6] Operation: 10-4=6
Moving to Node #0,3
Current State: 12:[4, 81, 65], Operations: ['75-10=65']
Exploring Operation: 65-4=61, Resulting Numbers: [81, 61]
Generated Node #0,3,0: 12:[81, 61] Operation: 65-4=61
Exploring Operation: 81-4=77, Resulting Numbers: [65, 77]
Generated Node #0,3,1: 12:[65, 77] Operation: 81-4=77
Exploring Operation: 81-65=16, Resulting Numbers: [4, 16]
Generated Node #0,3,2: 12:[4, 16] Operation: 81-65=16
Exploring Operation: 4+81=85, Resulting Numbers: [65, 85]
Generated Node #0,3,3: 12:[65, 85] Operation: 4+81=85
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 12:[4, 16], Operations: ['75-10=65', '81-65=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[10, 4, 81, 75], Operations: []
Exploring Operation: 75-10=65, Resulting Numbers: [4, 81, 65]
Generated Node #0,3: 12:[4, 81, 65] Operation: 75-10=65
Moving to Node #0,3
Current State: 12:[4, 81, 65], Operations: ['75-10=65']
Exploring Operation: 81-65=16, Resulting Numbers: [4, 16]
Generated Node #0,3,2: 12:[4, 16] Operation: 81-65=16
Moving to Node #0,3,2
Current State: 12:[4, 16], Operations: ['75-10=65', '81-65=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
91,
78,
33,
84
] | 52 | [
"91+78=169",
"33+84=117",
"169-117=52"
] | Current State: 52:[91, 78, 33, 84], Operations: []
Exploring Operation: 91+78=169, Resulting Numbers: [33, 84, 169]
Generated Node #2: [33, 84, 169] from Operation: 91+78=169
Current State: 52:[33, 84, 169], Operations: ['91+78=169']
Exploring Operation: 33+84=117, Resulting Numbers: [169, 117]
Generated Node #3: [169, 117] from Operation: 33+84=117
Current State: 52:[169, 117], Operations: ['91+78=169', '33+84=117']
Exploring Operation: 169-117=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[91, 78, 33, 84], Operations: []
Exploring Operation: 91-84=7, Resulting Numbers: [78, 33, 7]
Generated Node #0,0: 52:[78, 33, 7] Operation: 91-84=7
Exploring Operation: 84-78=6, Resulting Numbers: [91, 33, 6]
Generated Node #0,1: 52:[91, 33, 6] Operation: 84-78=6
Exploring Operation: 91-78=13, Resulting Numbers: [33, 84, 13]
Generated Node #0,2: 52:[33, 84, 13] Operation: 91-78=13
Exploring Operation: 91-33=58, Resulting Numbers: [78, 84, 58]
Generated Node #0,3: 52:[78, 84, 58] Operation: 91-33=58
Moving to Node #0,0
Current State: 52:[78, 33, 7], Operations: ['91-84=7']
Exploring Operation: 33-7=26, Resulting Numbers: [78, 26]
Generated Node #0,0,0: 52:[78, 26] Operation: 33-7=26
Exploring Operation: 33+7=40, Resulting Numbers: [78, 40]
Generated Node #0,0,1: 52:[78, 40] Operation: 33+7=40
Exploring Operation: 78-33=45, Resulting Numbers: [7, 45]
Generated Node #0,0,2: 52:[7, 45] Operation: 78-33=45
Exploring Operation: 78-7=71, Resulting Numbers: [33, 71]
Generated Node #0,0,3: 52:[33, 71] Operation: 78-7=71
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[7, 45], Operations: ['91-84=7', '78-33=45']
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,52 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[91, 78, 33, 84], Operations: []
Exploring Operation: 91-84=7, Resulting Numbers: [78, 33, 7]
Generated Node #0,0: 52:[78, 33, 7] Operation: 91-84=7
Moving to Node #0,0
Current State: 52:[78, 33, 7], Operations: ['91-84=7']
Exploring Operation: 78-33=45, Resulting Numbers: [7, 45]
Generated Node #0,0,2: 52:[7, 45] Operation: 78-33=45
Moving to Node #0,0,2
Current State: 52:[7, 45], Operations: ['91-84=7', '78-33=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
45,
17,
4,
15
] | 56 | [
"45/15=3",
"17-3=14",
"4*14=56"
] | Current State: 56:[45, 17, 4, 15], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [17, 4, 3]
Generated Node #2: [17, 4, 3] from Operation: 45/15=3
Current State: 56:[17, 4, 3], Operations: ['45/15=3']
Exploring Operation: 17-3=14, Resulting Numbers: [4, 14]
Generated Node #3: [4, 14] from Operation: 17-3=14
Current State: 56:[4, 14], Operations: ['45/15=3', '17-3=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[45, 17, 4, 15], Operations: []
Exploring Operation: 45-15=30, Resulting Numbers: [17, 4, 30]
Generated Node #0,0: 56:[17, 4, 30] Operation: 45-15=30
Exploring Operation: 45/15=3, Resulting Numbers: [17, 4, 3]
Generated Node #0,1: 56:[17, 4, 3] Operation: 45/15=3
Exploring Operation: 45-17=28, Resulting Numbers: [4, 15, 28]
Generated Node #0,2: 56:[4, 15, 28] Operation: 45-17=28
Moving to Node #0,2
Current State: 56:[4, 15, 28], Operations: ['45-17=28']
Exploring Operation: 15-4=11, Resulting Numbers: [28, 11]
Generated Node #0,2,0: 56:[28, 11] Operation: 15-4=11
Exploring Operation: 28/4=7, Resulting Numbers: [15, 7]
Generated Node #0,2,1: 56:[15, 7] Operation: 28/4=7
Exploring Operation: 28-15=13, Resulting Numbers: [4, 13]
Generated Node #0,2,2: 56:[4, 13] Operation: 28-15=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[15, 7], Operations: ['45-17=28', '28/4=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,56 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[4, 13], Operations: ['45-17=28', '28-15=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[28, 11], Operations: ['45-17=28', '15-4=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 56:[17, 4, 3], Operations: ['45/15=3']
Exploring Operation: 17-4=13, Resulting Numbers: [3, 13]
Generated Node #0,1,0: 56:[3, 13] Operation: 17-4=13
Exploring Operation: 4+3=7, Resulting Numbers: [17, 7]
Generated Node #0,1,1: 56:[17, 7] Operation: 4+3=7
Exploring Operation: 17-3=14, Resulting Numbers: [4, 14]
Generated Node #0,1,2: 56:[4, 14] Operation: 17-3=14
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[4, 14], Operations: ['45/15=3', '17-3=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[45, 17, 4, 15], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [17, 4, 3]
Generated Node #0,1: 56:[17, 4, 3] Operation: 45/15=3
Moving to Node #0,1
Current State: 56:[17, 4, 3], Operations: ['45/15=3']
Exploring Operation: 17-3=14, Resulting Numbers: [4, 14]
Generated Node #0,1,2: 56:[4, 14] Operation: 17-3=14
Moving to Node #0,1,2
Current State: 56:[4, 14], Operations: ['45/15=3', '17-3=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
76,
4,
70,
73
] | 97 | [
"76-70=6",
"4*6=24",
"73+24=97"
] | Current State: 97:[76, 4, 70, 73], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [4, 73, 6]
Generated Node #2: [4, 73, 6] from Operation: 76-70=6
Current State: 97:[4, 73, 6], Operations: ['76-70=6']
Exploring Operation: 4*6=24, Resulting Numbers: [73, 24]
Generated Node #3: [73, 24] from Operation: 4*6=24
Current State: 97:[73, 24], Operations: ['76-70=6', '4*6=24']
Exploring Operation: 73+24=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[76, 4, 70, 73], Operations: []
Exploring Operation: 4+73=77, Resulting Numbers: [76, 70, 77]
Generated Node #0,0: 97:[76, 70, 77] Operation: 4+73=77
Exploring Operation: 4+70=74, Resulting Numbers: [76, 73, 74]
Generated Node #0,1: 97:[76, 73, 74] Operation: 4+70=74
Exploring Operation: 76+4=80, Resulting Numbers: [70, 73, 80]
Generated Node #0,2: 97:[70, 73, 80] Operation: 76+4=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[76, 70, 77], Operations: ['4+73=77']
Exploring Operation: 76+77=153, Resulting Numbers: [70, 153]
Generated Node #0,0,0: 97:[70, 153] Operation: 76+77=153
Exploring Operation: 70+77=147, Resulting Numbers: [76, 147]
Generated Node #0,0,1: 97:[76, 147] Operation: 70+77=147
Exploring Operation: 76+70=146, Resulting Numbers: [77, 146]
Generated Node #0,0,2: 97:[77, 146] Operation: 76+70=146
Moving to Node #0,0,2
Current State: 97:[77, 146], Operations: ['4+73=77', '76+70=146']
Exploring Operation: 146-77=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 77+146=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 77*146=11242, Resulting Numbers: [11242]
11242,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[76, 147], Operations: ['4+73=77', '70+77=147']
Exploring Operation: 76+147=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 76*147=11172, Resulting Numbers: [11172]
11172,97 unequal: No Solution
Exploring Operation: 147-76=71, Resulting Numbers: [71]
71,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[70, 153], Operations: ['4+73=77', '76+77=153']
Exploring Operation: 70+153=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 70*153=10710, Resulting Numbers: [10710]
10710,97 unequal: No Solution
Exploring Operation: 153-70=83, Resulting Numbers: [83]
83,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:[76, 73, 74], Operations: ['4+70=74']
Exploring Operation: 76+73=149, Resulting Numbers: [74, 149]
Generated Node #0,1,0: 97:[74, 149] Operation: 76+73=149
Exploring Operation: 73+74=147, Resulting Numbers: [76, 147]
Generated Node #0,1,1: 97:[76, 147] Operation: 73+74=147
Exploring Operation: 76+74=150, Resulting Numbers: [73, 150]
Generated Node #0,1,2: 97:[73, 150] Operation: 76+74=150
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[76, 147], Operations: ['4+70=74', '73+74=147']
Exploring Operation: 76+147=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 147-76=71, Resulting Numbers: [71]
71,97 unequal: No Solution
Exploring Operation: 76*147=11172, Resulting Numbers: [11172]
11172,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:[74, 149], Operations: ['4+70=74', '76+73=149']
Exploring Operation: 74+149=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 74*149=11026, Resulting Numbers: [11026]
11026,97 unequal: No Solution
Exploring Operation: 149-74=75, Resulting Numbers: [75]
75,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,2
Current State: 97:[73, 150], Operations: ['4+70=74', '76+74=150']
Exploring Operation: 150-73=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 73+150=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 73*150=10950, Resulting Numbers: [10950]
10950,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,2
Current State: 97:[70, 73, 80], Operations: ['76+4=80']
Exploring Operation: 70+80=150, Resulting Numbers: [73, 150]
Generated Node #0,2,0: 97:[73, 150] Operation: 70+80=150
Exploring Operation: 73+80=153, Resulting Numbers: [70, 153]
Generated Node #0,2,1: 97:[70, 153] Operation: 73+80=153
Exploring Operation: 70+73=143, Resulting Numbers: [80, 143]
Generated Node #0,2,2: 97:[80, 143] Operation: 70+73=143
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[80, 143], Operations: ['76+4=80', '70+73=143']
Exploring Operation: 80+143=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 143-80=63, Resulting Numbers: [63]
63,97 unequal: No Solution
Exploring Operation: 80*143=11440, Resulting Numbers: [11440]
11440,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,2,0
Current State: 97:[73, 150], Operations: ['76+4=80', '70+80=150']
Exploring Operation: 150-73=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 73+150=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 73*150=10950, Resulting Numbers: [10950]
10950,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,2,1
Current State: 97:[70, 153], Operations: ['76+4=80', '73+80=153']
Exploring Operation: 70*153=10710, Resulting Numbers: [10710]
10710,97 unequal: No Solution
Exploring Operation: 70+153=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 153-70=83, Resulting Numbers: [83]
83,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
No solution found.
| 0 | hs_3 | sum_heuristic |
[
46,
64,
80,
45
] | 16 | [
"46-45=1",
"80-64=16",
"1*16=16"
] | Current State: 16:[46, 64, 80, 45], Operations: []
Exploring Operation: 46-45=1, Resulting Numbers: [64, 80, 1]
Generated Node #2: [64, 80, 1] from Operation: 46-45=1
Current State: 16:[64, 80, 1], Operations: ['46-45=1']
Exploring Operation: 80-64=16, Resulting Numbers: [1, 16]
Generated Node #3: [1, 16] from Operation: 80-64=16
Current State: 16:[1, 16], Operations: ['46-45=1', '80-64=16']
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[46, 64, 80, 45], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [46, 45, 16]
Generated Node #0,0: 16:[46, 45, 16] Operation: 80-64=16
Exploring Operation: 64-46=18, Resulting Numbers: [80, 45, 18]
Generated Node #0,1: 16:[80, 45, 18] Operation: 64-46=18
Exploring Operation: 64-45=19, Resulting Numbers: [46, 80, 19]
Generated Node #0,2: 16:[46, 80, 19] Operation: 64-45=19
Exploring Operation: 80-46=34, Resulting Numbers: [64, 45, 34]
Generated Node #0,3: 16:[64, 45, 34] Operation: 80-46=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[46, 45, 16], Operations: ['80-64=16']
Exploring Operation: 45-16=29, Resulting Numbers: [46, 29]
Generated Node #0,0,0: 16:[46, 29] Operation: 45-16=29
Exploring Operation: 46+45=91, Resulting Numbers: [16, 91]
Generated Node #0,0,1: 16:[16, 91] Operation: 46+45=91
Exploring Operation: 46-45=1, Resulting Numbers: [16, 1]
Generated Node #0,0,2: 16:[16, 1] Operation: 46-45=1
Exploring Operation: 46-16=30, Resulting Numbers: [45, 30]
Generated Node #0,0,3: 16:[45, 30] Operation: 46-16=30
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 16:[16, 1], Operations: ['80-64=16', '46-45=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[46, 64, 80, 45], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [46, 45, 16]
Generated Node #0,0: 16:[46, 45, 16] Operation: 80-64=16
Moving to Node #0,0
Current State: 16:[46, 45, 16], Operations: ['80-64=16']
Exploring Operation: 46-45=1, Resulting Numbers: [16, 1]
Generated Node #0,0,2: 16:[16, 1] Operation: 46-45=1
Moving to Node #0,0,2
Current State: 16:[16, 1], Operations: ['80-64=16', '46-45=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
52,
3,
30,
15
] | 64 | [
"52-3=49",
"30-15=15",
"49+15=64"
] | Current State: 64:[52, 3, 30, 15], Operations: []
Exploring Operation: 52-3=49, Resulting Numbers: [30, 15, 49]
Generated Node #2: [30, 15, 49] from Operation: 52-3=49
Current State: 64:[30, 15, 49], Operations: ['52-3=49']
Exploring Operation: 30-15=15, Resulting Numbers: [49, 15]
Generated Node #3: [49, 15] from Operation: 30-15=15
Current State: 64:[49, 15], Operations: ['52-3=49', '30-15=15']
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[52, 3, 30, 15], Operations: []
Exploring Operation: 30/15=2, Resulting Numbers: [52, 3, 2]
Generated Node #0,0: 64:[52, 3, 2] Operation: 30/15=2
Exploring Operation: 52-15=37, Resulting Numbers: [3, 30, 37]
Generated Node #0,1: 64:[3, 30, 37] Operation: 52-15=37
Exploring Operation: 52+15=67, Resulting Numbers: [3, 30, 67]
Generated Node #0,2: 64:[3, 30, 67] Operation: 52+15=67
Exploring Operation: 52-30=22, Resulting Numbers: [3, 15, 22]
Generated Node #0,3: 64:[3, 15, 22] Operation: 52-30=22
Exploring Operation: 52+3=55, Resulting Numbers: [30, 15, 55]
Generated Node #0,4: 64:[30, 15, 55] Operation: 52+3=55
Moving to Node #0,2
Current State: 64:[3, 30, 67], Operations: ['52+15=67']
Exploring Operation: 3+30=33, Resulting Numbers: [67, 33]
Generated Node #0,2,0: 64:[67, 33] Operation: 3+30=33
Exploring Operation: 30-3=27, Resulting Numbers: [67, 27]
Generated Node #0,2,1: 64:[67, 27] Operation: 30-3=27
Exploring Operation: 30/3=10, Resulting Numbers: [67, 10]
Generated Node #0,2,2: 64:[67, 10] Operation: 30/3=10
Exploring Operation: 67-3=64, Resulting Numbers: [30, 64]
Generated Node #0,2,3: 64:[30, 64] Operation: 67-3=64
Exploring Operation: 67-30=37, Resulting Numbers: [3, 37]
Generated Node #0,2,4: 64:[3, 37] Operation: 67-30=37
Moving to Node #0,3
Current State: 64:[3, 15, 22], Operations: ['52-30=22']
Exploring Operation: 22-3=19, Resulting Numbers: [15, 19]
Generated Node #0,3,0: 64:[15, 19] Operation: 22-3=19
Exploring Operation: 15/3=5, Resulting Numbers: [22, 5]
Generated Node #0,3,1: 64:[22, 5] Operation: 15/3=5
Exploring Operation: 15+22=37, Resulting Numbers: [3, 37]
Generated Node #0,3,2: 64:[3, 37] Operation: 15+22=37
Exploring Operation: 3*22=66, Resulting Numbers: [15, 66]
Generated Node #0,3,3: 64:[15, 66] Operation: 3*22=66
Exploring Operation: 22-15=7, Resulting Numbers: [3, 7]
Generated Node #0,3,4: 64:[3, 7] Operation: 22-15=7
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 64:[3, 7], Operations: ['52-30=22', '22-15=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,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,3,3
Current State: 64:[15, 66], Operations: ['52-30=22', '3*22=66']
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,64 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,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,3,0
Current State: 64:[15, 19], Operations: ['52-30=22', '22-3=19']
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,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,3,2
Current State: 64:[3, 37], Operations: ['52-30=22', '15+22=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,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,3,1
Current State: 64:[22, 5], Operations: ['52-30=22', '15/3=5']
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,64 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,64 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: 64:[3, 30, 37], Operations: ['52-15=37']
Exploring Operation: 3+30=33, Resulting Numbers: [37, 33]
Generated Node #0,1,0: 64:[37, 33] Operation: 3+30=33
Exploring Operation: 30+37=67, Resulting Numbers: [3, 67]
Generated Node #0,1,1: 64:[3, 67] Operation: 30+37=67
Exploring Operation: 30/3=10, Resulting Numbers: [37, 10]
Generated Node #0,1,2: 64:[37, 10] Operation: 30/3=10
Exploring Operation: 37-30=7, Resulting Numbers: [3, 7]
Generated Node #0,1,3: 64:[3, 7] Operation: 37-30=7
Exploring Operation: 37-3=34, Resulting Numbers: [30, 34]
Generated Node #0,1,4: 64:[30, 34] Operation: 37-3=34
Moving to Node #0,4
Current State: 64:[30, 15, 55], Operations: ['52+3=55']
Exploring Operation: 55-15=40, Resulting Numbers: [30, 40]
Generated Node #0,4,0: 64:[30, 40] Operation: 55-15=40
Exploring Operation: 30-15=15, Resulting Numbers: [55, 15]
Generated Node #0,4,1: 64:[55, 15] Operation: 30-15=15
Exploring Operation: 15+55=70, Resulting Numbers: [30, 70]
Generated Node #0,4,2: 64:[30, 70] Operation: 15+55=70
Exploring Operation: 55-30=25, Resulting Numbers: [15, 25]
Generated Node #0,4,3: 64:[15, 25] Operation: 55-30=25
Exploring Operation: 30/15=2, Resulting Numbers: [55, 2]
Generated Node #0,4,4: 64:[55, 2] Operation: 30/15=2
Moving to Node #0,0
Current State: 64:[52, 3, 2], Operations: ['30/15=2']
Exploring Operation: 52+2=54, Resulting Numbers: [3, 54]
Generated Node #0,0,0: 64:[3, 54] Operation: 52+2=54
Exploring Operation: 52/2=26, Resulting Numbers: [3, 26]
Generated Node #0,0,1: 64:[3, 26] Operation: 52/2=26
Exploring Operation: 3+2=5, Resulting Numbers: [52, 5]
Generated Node #0,0,2: 64:[52, 5] Operation: 3+2=5
Exploring Operation: 3-2=1, Resulting Numbers: [52, 1]
Generated Node #0,0,3: 64:[52, 1] Operation: 3-2=1
Exploring Operation: 52+3=55, Resulting Numbers: [2, 55]
Generated Node #0,0,4: 64:[2, 55] Operation: 52+3=55
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[3, 26], Operations: ['30/15=2', '52/2=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,64 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,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,0,4
Current State: 64:[2, 55], Operations: ['30/15=2', '52+3=55']
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,64 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,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,0,0
Current State: 64:[3, 54], Operations: ['30/15=2', '52+2=54']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,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,0,2
Current State: 64:[52, 5], Operations: ['30/15=2', '3+2=5']
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,64 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,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,0,3
Current State: 64:[52, 1], Operations: ['30/15=2', '3-2=1']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 64:[30, 64], Operations: ['52+15=67', '67-3=64']
Exploring Operation: 30*64=1920, Resulting Numbers: [1920]
1920,64 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 30+64=94, Resulting Numbers: [94]
94,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[3, 7], Operations: ['52-15=37', '37-30=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[3, 67], Operations: ['52-15=37', '30+37=67']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[52, 3, 30, 15], Operations: []
Exploring Operation: 52-15=37, Resulting Numbers: [3, 30, 37]
Generated Node #0,1: 64:[3, 30, 37] Operation: 52-15=37
Moving to Node #0,1
Current State: 64:[3, 30, 37], Operations: ['52-15=37']
Exploring Operation: 30+37=67, Resulting Numbers: [3, 67]
Generated Node #0,1,1: 64:[3, 67] Operation: 30+37=67
Moving to Node #0,1,1
Current State: 64:[3, 67], Operations: ['52-15=37', '30+37=67']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.936632 | hs_5 | sum_heuristic |
[
2,
43,
13,
23
] | 38 | [
"43-13=30",
"30/2=15",
"23+15=38"
] | Current State: 38:[2, 43, 13, 23], Operations: []
Exploring Operation: 43-13=30, Resulting Numbers: [2, 23, 30]
Generated Node #2: [2, 23, 30] from Operation: 43-13=30
Current State: 38:[2, 23, 30], Operations: ['43-13=30']
Exploring Operation: 30/2=15, Resulting Numbers: [23, 15]
Generated Node #3: [23, 15] from Operation: 30/2=15
Current State: 38:[23, 15], Operations: ['43-13=30', '30/2=15']
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[2, 43, 13, 23], Operations: []
Exploring Operation: 43-23=20, Resulting Numbers: [2, 13, 20]
Generated Node #0,0: 38:[2, 13, 20] Operation: 43-23=20
Moving to Node #0,0
Current State: 38:[2, 13, 20], Operations: ['43-23=20']
Exploring Operation: 2+13=15, Resulting Numbers: [20, 15]
Generated Node #0,0,0: 38:[20, 15] Operation: 2+13=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[20, 15], Operations: ['43-23=20', '2+13=15']
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
78,
35,
16
] | 64 | [
"78/2=39",
"39-35=4",
"16*4=64"
] | Current State: 64:[2, 78, 35, 16], Operations: []
Exploring Operation: 78/2=39, Resulting Numbers: [35, 16, 39]
Generated Node #2: [35, 16, 39] from Operation: 78/2=39
Current State: 64:[35, 16, 39], Operations: ['78/2=39']
Exploring Operation: 39-35=4, Resulting Numbers: [16, 4]
Generated Node #3: [16, 4] from Operation: 39-35=4
Current State: 64:[16, 4], Operations: ['78/2=39', '39-35=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[2, 78, 35, 16], Operations: []
Exploring Operation: 78-2=76, Resulting Numbers: [35, 16, 76]
Generated Node #0,0: 64:[35, 16, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [35, 16, 39]
Generated Node #0,1: 64:[35, 16, 39] Operation: 78/2=39
Exploring Operation: 35-2=33, Resulting Numbers: [78, 16, 33]
Generated Node #0,2: 64:[78, 16, 33] Operation: 35-2=33
Exploring Operation: 78-35=43, Resulting Numbers: [2, 16, 43]
Generated Node #0,3: 64:[2, 16, 43] Operation: 78-35=43
Exploring Operation: 78-16=62, Resulting Numbers: [2, 35, 62]
Generated Node #0,4: 64:[2, 35, 62] Operation: 78-16=62
Moving to Node #0,4
Current State: 64:[2, 35, 62], Operations: ['78-16=62']
Exploring Operation: 2+62=64, Resulting Numbers: [35, 64]
Generated Node #0,4,0: 64:[35, 64] Operation: 2+62=64
Exploring Operation: 62/2=31, Resulting Numbers: [35, 31]
Generated Node #0,4,1: 64:[35, 31] Operation: 62/2=31
Exploring Operation: 35-2=33, Resulting Numbers: [62, 33]
Generated Node #0,4,2: 64:[62, 33] Operation: 35-2=33
Exploring Operation: 2+35=37, Resulting Numbers: [62, 37]
Generated Node #0,4,3: 64:[62, 37] Operation: 2+35=37
Exploring Operation: 62-35=27, Resulting Numbers: [2, 27]
Generated Node #0,4,4: 64:[2, 27] Operation: 62-35=27
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 64:[35, 64], Operations: ['78-16=62', '2+62=64']
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 35+64=99, Resulting Numbers: [99]
99,64 unequal: No Solution
Exploring Operation: 35*64=2240, Resulting Numbers: [2240]
2240,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,4,2
Current State: 64:[62, 33], Operations: ['78-16=62', '35-2=33']
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,64 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,64 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,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,4,1
Current State: 64:[35, 31], Operations: ['78-16=62', '62/2=31']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,64 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,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,4,4
Current State: 64:[2, 27], Operations: ['78-16=62', '62-35=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,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,4,3
Current State: 64:[62, 37], Operations: ['78-16=62', '2+35=37']
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 62+37=99, Resulting Numbers: [99]
99,64 unequal: No Solution
Exploring Operation: 62*37=2294, Resulting Numbers: [2294]
2294,64 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: 64:[35, 16, 39], Operations: ['78/2=39']
Exploring Operation: 35-16=19, Resulting Numbers: [39, 19]
Generated Node #0,1,0: 64:[39, 19] Operation: 35-16=19
Exploring Operation: 16+39=55, Resulting Numbers: [35, 55]
Generated Node #0,1,1: 64:[35, 55] Operation: 16+39=55
Exploring Operation: 35+39=74, Resulting Numbers: [16, 74]
Generated Node #0,1,2: 64:[16, 74] Operation: 35+39=74
Exploring Operation: 39-16=23, Resulting Numbers: [35, 23]
Generated Node #0,1,3: 64:[35, 23] Operation: 39-16=23
Exploring Operation: 39-35=4, Resulting Numbers: [16, 4]
Generated Node #0,1,4: 64:[16, 4] Operation: 39-35=4
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 64:[16, 4], Operations: ['78/2=39', '39-35=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[2, 78, 35, 16], Operations: []
Exploring Operation: 78/2=39, Resulting Numbers: [35, 16, 39]
Generated Node #0,1: 64:[35, 16, 39] Operation: 78/2=39
Moving to Node #0,1
Current State: 64:[35, 16, 39], Operations: ['78/2=39']
Exploring Operation: 39-35=4, Resulting Numbers: [16, 4]
Generated Node #0,1,4: 64:[16, 4] Operation: 39-35=4
Moving to Node #0,1,4
Current State: 64:[16, 4], Operations: ['78/2=39', '39-35=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
22,
94,
6,
92
] | 10 | [
"94-92=2",
"6*2=12",
"22-12=10"
] | Current State: 10:[22, 94, 6, 92], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [22, 6, 2]
Generated Node #2: [22, 6, 2] from Operation: 94-92=2
Current State: 10:[22, 6, 2], Operations: ['94-92=2']
Exploring Operation: 6*2=12, Resulting Numbers: [22, 12]
Generated Node #3: [22, 12] from Operation: 6*2=12
Current State: 10:[22, 12], Operations: ['94-92=2', '6*2=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[22, 94, 6, 92], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [22, 6, 2]
Generated Node #0,0: 10:[22, 6, 2] Operation: 94-92=2
Exploring Operation: 94-22=72, Resulting Numbers: [6, 92, 72]
Generated Node #0,1: 10:[6, 92, 72] Operation: 94-22=72
Exploring Operation: 92-22=70, Resulting Numbers: [94, 6, 70]
Generated Node #0,2: 10:[94, 6, 70] Operation: 92-22=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[22, 6, 2], Operations: ['94-92=2']
Exploring Operation: 22-2=20, Resulting Numbers: [6, 20]
Generated Node #0,0,0: 10:[6, 20] Operation: 22-2=20
Exploring Operation: 22-6=16, Resulting Numbers: [2, 16]
Generated Node #0,0,1: 10:[2, 16] Operation: 22-6=16
Exploring Operation: 22/2=11, Resulting Numbers: [6, 11]
Generated Node #0,0,2: 10:[6, 11] Operation: 22/2=11
Moving to Node #0,0,2
Current State: 10:[6, 11], Operations: ['94-92=2', '22/2=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[2, 16], Operations: ['94-92=2', '22-6=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[6, 20], Operations: ['94-92=2', '22-2=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[6, 92, 72], Operations: ['94-22=72']
Exploring Operation: 92-72=20, Resulting Numbers: [6, 20]
Generated Node #0,1,0: 10:[6, 20] Operation: 92-72=20
Exploring Operation: 72/6=12, Resulting Numbers: [92, 12]
Generated Node #0,1,1: 10:[92, 12] Operation: 72/6=12
Exploring Operation: 92-6=86, Resulting Numbers: [72, 86]
Generated Node #0,1,2: 10:[72, 86] Operation: 92-6=86
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[6, 20], Operations: ['94-22=72', '92-72=20']
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No 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: 10:[92, 12], Operations: ['94-22=72', '72/6=12']
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,10 unequal: No Solution
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,10 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,10 unequal: No Solution
No 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: 10:[72, 86], Operations: ['94-22=72', '92-6=86']
Exploring Operation: 72+86=158, Resulting Numbers: [158]
158,10 unequal: No Solution
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 72*86=6192, Resulting Numbers: [6192]
6192,10 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: 10:[94, 6, 70], Operations: ['92-22=70']
Exploring Operation: 94-6=88, Resulting Numbers: [70, 88]
Generated Node #0,2,0: 10:[70, 88] Operation: 94-6=88
Exploring Operation: 94-70=24, Resulting Numbers: [6, 24]
Generated Node #0,2,1: 10:[6, 24] Operation: 94-70=24
Exploring Operation: 70-6=64, Resulting Numbers: [94, 64]
Generated Node #0,2,2: 10:[94, 64] Operation: 70-6=64
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[6, 24], Operations: ['92-22=70', '94-70=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,10 unequal: No Solution
No 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: 10:[70, 88], Operations: ['92-22=70', '94-6=88']
Exploring Operation: 70+88=158, Resulting Numbers: [158]
158,10 unequal: No Solution
Exploring Operation: 70*88=6160, Resulting Numbers: [6160]
6160,10 unequal: No Solution
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,10 unequal: No Solution
No 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: 10:[94, 64], Operations: ['92-22=70', '70-6=64']
Exploring Operation: 94-64=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 94+64=158, Resulting Numbers: [158]
158,10 unequal: No Solution
Exploring Operation: 94*64=6016, Resulting Numbers: [6016]
6016,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
47,
8,
69,
27
] | 81 | [
"47-8=39",
"69-27=42",
"39+42=81"
] | Current State: 81:[47, 8, 69, 27], Operations: []
Exploring Operation: 47-8=39, Resulting Numbers: [69, 27, 39]
Generated Node #2: [69, 27, 39] from Operation: 47-8=39
Current State: 81:[69, 27, 39], Operations: ['47-8=39']
Exploring Operation: 69-27=42, Resulting Numbers: [39, 42]
Generated Node #3: [39, 42] from Operation: 69-27=42
Current State: 81:[39, 42], Operations: ['47-8=39', '69-27=42']
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[47, 8, 69, 27], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [8, 27, 22]
Generated Node #0,0: 81:[8, 27, 22] Operation: 69-47=22
Exploring Operation: 47+27=74, Resulting Numbers: [8, 69, 74]
Generated Node #0,1: 81:[8, 69, 74] Operation: 47+27=74
Exploring Operation: 47-27=20, Resulting Numbers: [8, 69, 20]
Generated Node #0,2: 81:[8, 69, 20] Operation: 47-27=20
Moving to Node #0,0
Current State: 81:[8, 27, 22], Operations: ['69-47=22']
Exploring Operation: 27-22=5, Resulting Numbers: [8, 5]
Generated Node #0,0,0: 81:[8, 5] Operation: 27-22=5
Exploring Operation: 8+22=30, Resulting Numbers: [27, 30]
Generated Node #0,0,1: 81:[27, 30] Operation: 8+22=30
Exploring Operation: 22-8=14, Resulting Numbers: [27, 14]
Generated Node #0,0,2: 81:[27, 14] Operation: 22-8=14
Moving to Node #0,1
Current State: 81:[8, 69, 74], Operations: ['47+27=74']
Exploring Operation: 74-69=5, Resulting Numbers: [8, 5]
Generated Node #0,1,0: 81:[8, 5] Operation: 74-69=5
Exploring Operation: 8+74=82, Resulting Numbers: [69, 82]
Generated Node #0,1,1: 81:[69, 82] Operation: 8+74=82
Exploring Operation: 8+69=77, Resulting Numbers: [74, 77]
Generated Node #0,1,2: 81:[74, 77] Operation: 8+69=77
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[8, 5], Operations: ['47+27=74', '74-69=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[74, 77], Operations: ['47+27=74', '8+69=77']
Exploring Operation: 74*77=5698, Resulting Numbers: [5698]
5698,81 unequal: No Solution
Exploring Operation: 74+77=151, Resulting Numbers: [151]
151,81 unequal: No Solution
Exploring Operation: 77-74=3, Resulting Numbers: [3]
3,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[69, 82], Operations: ['47+27=74', '8+74=82']
Exploring Operation: 69*82=5658, Resulting Numbers: [5658]
5658,81 unequal: No Solution
Exploring Operation: 69+82=151, Resulting Numbers: [151]
151,81 unequal: No Solution
Exploring Operation: 82-69=13, Resulting Numbers: [13]
13,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 81:[8, 69, 20], Operations: ['47-27=20']
Exploring Operation: 8+20=28, Resulting Numbers: [69, 28]
Generated Node #0,2,0: 81:[69, 28] Operation: 8+20=28
Exploring Operation: 8+69=77, Resulting Numbers: [20, 77]
Generated Node #0,2,1: 81:[20, 77] Operation: 8+69=77
Exploring Operation: 69+20=89, Resulting Numbers: [8, 89]
Generated Node #0,2,2: 81:[8, 89] Operation: 69+20=89
Moving to Node #0,0,0
Current State: 81:[8, 5], Operations: ['69-47=22', '27-22=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[27, 30], Operations: ['69-47=22', '8+22=30']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,81 unequal: No Solution
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[27, 14], Operations: ['69-47=22', '22-8=14']
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,81 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[8, 89], Operations: ['47-27=20', '69+20=89']
Exploring Operation: 8+89=97, Resulting Numbers: [97]
97,81 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[47, 8, 69, 27], Operations: []
Exploring Operation: 47-27=20, Resulting Numbers: [8, 69, 20]
Generated Node #0,2: 81:[8, 69, 20] Operation: 47-27=20
Moving to Node #0,2
Current State: 81:[8, 69, 20], Operations: ['47-27=20']
Exploring Operation: 69+20=89, Resulting Numbers: [8, 89]
Generated Node #0,2,2: 81:[8, 89] Operation: 69+20=89
Moving to Node #0,2,2
Current State: 81:[8, 89], Operations: ['47-27=20', '69+20=89']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.96875 | hs_3 | mult_heuristic |
[
77,
1,
81,
96
] | 61 | [
"77-1=76",
"96-81=15",
"76-15=61"
] | Current State: 61:[77, 1, 81, 96], Operations: []
Exploring Operation: 77-1=76, Resulting Numbers: [81, 96, 76]
Generated Node #2: [81, 96, 76] from Operation: 77-1=76
Current State: 61:[81, 96, 76], Operations: ['77-1=76']
Exploring Operation: 96-81=15, Resulting Numbers: [76, 15]
Generated Node #3: [76, 15] from Operation: 96-81=15
Current State: 61:[76, 15], Operations: ['77-1=76', '96-81=15']
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[77, 1, 81, 96], Operations: []
Exploring Operation: 77-1=76, Resulting Numbers: [81, 96, 76]
Generated Node #0,0: 61:[81, 96, 76] Operation: 77-1=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[81, 96, 76], Operations: ['77-1=76']
Exploring Operation: 96-81=15, Resulting Numbers: [76, 15]
Generated Node #0,0,0: 61:[76, 15] Operation: 96-81=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[76, 15], Operations: ['77-1=76', '96-81=15']
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[77, 1, 81, 96], Operations: []
Exploring Operation: 77-1=76, Resulting Numbers: [81, 96, 76]
Generated Node #0,0: 61:[81, 96, 76] Operation: 77-1=76
Moving to Node #0,0
Current State: 61:[81, 96, 76], Operations: ['77-1=76']
Exploring Operation: 96-81=15, Resulting Numbers: [76, 15]
Generated Node #0,0,0: 61:[76, 15] Operation: 96-81=15
Moving to Node #0,0,0
Current State: 61:[76, 15], Operations: ['77-1=76', '96-81=15']
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
12,
52,
39,
9
] | 39 | [
"12-9=3",
"52-39=13",
"3*13=39"
] | Current State: 39:[12, 52, 39, 9], Operations: []
Exploring Operation: 12-9=3, Resulting Numbers: [52, 39, 3]
Generated Node #2: [52, 39, 3] from Operation: 12-9=3
Current State: 39:[52, 39, 3], Operations: ['12-9=3']
Exploring Operation: 52-39=13, Resulting Numbers: [3, 13]
Generated Node #3: [3, 13] from Operation: 52-39=13
Current State: 39:[3, 13], Operations: ['12-9=3', '52-39=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[12, 52, 39, 9], Operations: []
Exploring Operation: 52-39=13, Resulting Numbers: [12, 9, 13]
Generated Node #0,0: 39:[12, 9, 13] Operation: 52-39=13
Exploring Operation: 52-12=40, Resulting Numbers: [39, 9, 40]
Generated Node #0,1: 39:[39, 9, 40] Operation: 52-12=40
Moving to Node #0,0
Current State: 39:[12, 9, 13], Operations: ['52-39=13']
Exploring Operation: 13-9=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 39:[12, 4] Operation: 13-9=4
Exploring Operation: 12-9=3, Resulting Numbers: [13, 3]
Generated Node #0,0,1: 39:[13, 3] Operation: 12-9=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[13, 3], Operations: ['52-39=13', '12-9=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[12, 52, 39, 9], Operations: []
Exploring Operation: 52-39=13, Resulting Numbers: [12, 9, 13]
Generated Node #0,0: 39:[12, 9, 13] Operation: 52-39=13
Moving to Node #0,0
Current State: 39:[12, 9, 13], Operations: ['52-39=13']
Exploring Operation: 12-9=3, Resulting Numbers: [13, 3]
Generated Node #0,0,1: 39:[13, 3] Operation: 12-9=3
Moving to Node #0,0,1
Current State: 39:[13, 3], Operations: ['52-39=13', '12-9=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
80,
90,
2,
11
] | 78 | [
"90-11=79",
"2*79=158",
"158-80=78"
] | Current State: 78:[80, 90, 2, 11], Operations: []
Exploring Operation: 90-11=79, Resulting Numbers: [80, 2, 79]
Generated Node #2: [80, 2, 79] from Operation: 90-11=79
Current State: 78:[80, 2, 79], Operations: ['90-11=79']
Exploring Operation: 2*79=158, Resulting Numbers: [80, 158]
Generated Node #3: [80, 158] from Operation: 2*79=158
Current State: 78:[80, 158], Operations: ['90-11=79', '2*79=158']
Exploring Operation: 158-80=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[80, 90, 2, 11], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [80, 11, 45]
Generated Node #0,0: 78:[80, 11, 45] Operation: 90/2=45
Exploring Operation: 90-80=10, Resulting Numbers: [2, 11, 10]
Generated Node #0,1: 78:[2, 11, 10] Operation: 90-80=10
Exploring Operation: 90-11=79, Resulting Numbers: [80, 2, 79]
Generated Node #0,2: 78:[80, 2, 79] Operation: 90-11=79
Exploring Operation: 90-2=88, Resulting Numbers: [80, 11, 88]
Generated Node #0,3: 78:[80, 11, 88] Operation: 90-2=88
Exploring Operation: 80-2=78, Resulting Numbers: [90, 11, 78]
Generated Node #0,4: 78:[90, 11, 78] Operation: 80-2=78
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[80, 2, 79], Operations: ['90-11=79']
Exploring Operation: 80-79=1, Resulting Numbers: [2, 1]
Generated Node #0,2,0: 78:[2, 1] Operation: 80-79=1
Exploring Operation: 79-2=77, Resulting Numbers: [80, 77]
Generated Node #0,2,1: 78:[80, 77] Operation: 79-2=77
Exploring Operation: 80-2=78, Resulting Numbers: [79, 78]
Generated Node #0,2,2: 78:[79, 78] Operation: 80-2=78
Exploring Operation: 80+2=82, Resulting Numbers: [79, 82]
Generated Node #0,2,3: 78:[79, 82] Operation: 80+2=82
Exploring Operation: 80/2=40, Resulting Numbers: [79, 40]
Generated Node #0,2,4: 78:[79, 40] Operation: 80/2=40
Moving to Node #0,2,0
Current State: 78:[2, 1], Operations: ['90-11=79', '80-79=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[79, 78], Operations: ['90-11=79', '80-2=78']
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 79*78=6162, Resulting Numbers: [6162]
6162,78 unequal: No Solution
Exploring Operation: 79+78=157, Resulting Numbers: [157]
157,78 unequal: No Solution
Moving to Node #0,2,4
Current State: 78:[79, 40], Operations: ['90-11=79', '80/2=40']
Exploring Operation: 79*40=3160, Resulting Numbers: [3160]
3160,78 unequal: No Solution
Exploring Operation: 79+40=119, Resulting Numbers: [119]
119,78 unequal: No Solution
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Moving to Node #0,2,1
Current State: 78:[80, 77], Operations: ['90-11=79', '79-2=77']
Exploring Operation: 80*77=6160, Resulting Numbers: [6160]
6160,78 unequal: No Solution
Exploring Operation: 80+77=157, Resulting Numbers: [157]
157,78 unequal: No Solution
Exploring Operation: 80-77=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Moving to Node #0,2,3
Current State: 78:[79, 82], Operations: ['90-11=79', '80+2=82']
Exploring Operation: 79+82=161, Resulting Numbers: [161]
161,78 unequal: No Solution
Exploring Operation: 79*82=6478, Resulting Numbers: [6478]
6478,78 unequal: No Solution
Exploring Operation: 82-79=3, Resulting Numbers: [3]
3,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[2, 11, 10], Operations: ['90-80=10']
Exploring Operation: 11-10=1, Resulting Numbers: [2, 1]
Generated Node #0,1,0: 78:[2, 1] Operation: 11-10=1
Exploring Operation: 10/2=5, Resulting Numbers: [11, 5]
Generated Node #0,1,1: 78:[11, 5] Operation: 10/2=5
Exploring Operation: 2+10=12, Resulting Numbers: [11, 12]
Generated Node #0,1,2: 78:[11, 12] Operation: 2+10=12
Exploring Operation: 2+11=13, Resulting Numbers: [10, 13]
Generated Node #0,1,3: 78:[10, 13] Operation: 2+11=13
Exploring Operation: 10-2=8, Resulting Numbers: [11, 8]
Generated Node #0,1,4: 78:[11, 8] Operation: 10-2=8
Moving to Node #0,1,0
Current State: 78:[2, 1], Operations: ['90-80=10', '11-10=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[11, 12], Operations: ['90-80=10', '2+10=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[11, 5], Operations: ['90-80=10', '10/2=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Moving to Node #0,1,3
Current State: 78:[10, 13], Operations: ['90-80=10', '2+11=13']
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,78 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Moving to Node #0,1,4
Current State: 78:[11, 8], Operations: ['90-80=10', '10-2=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,78 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[80, 11, 45], Operations: ['90/2=45']
Exploring Operation: 80+11=91, Resulting Numbers: [45, 91]
Generated Node #0,0,0: 78:[45, 91] Operation: 80+11=91
Exploring Operation: 11+45=56, Resulting Numbers: [80, 56]
Generated Node #0,0,1: 78:[80, 56] Operation: 11+45=56
Exploring Operation: 45-11=34, Resulting Numbers: [80, 34]
Generated Node #0,0,2: 78:[80, 34] Operation: 45-11=34
Exploring Operation: 80-45=35, Resulting Numbers: [11, 35]
Generated Node #0,0,3: 78:[11, 35] Operation: 80-45=35
Exploring Operation: 80-11=69, Resulting Numbers: [45, 69]
Generated Node #0,0,4: 78:[45, 69] Operation: 80-11=69
Moving to Node #0,0,3
Current State: 78:[11, 35], Operations: ['90/2=45', '80-45=35']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,78 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[80, 34], Operations: ['90/2=45', '45-11=34']
Exploring Operation: 80+34=114, Resulting Numbers: [114]
114,78 unequal: No Solution
Exploring Operation: 80*34=2720, Resulting Numbers: [2720]
2720,78 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Moving to Node #0,0,4
Current State: 78:[45, 69], Operations: ['90/2=45', '80-11=69']
Exploring Operation: 45*69=3105, Resulting Numbers: [3105]
3105,78 unequal: No Solution
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 45+69=114, Resulting Numbers: [114]
114,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[45, 91], Operations: ['90/2=45', '80+11=91']
Exploring Operation: 45*91=4095, Resulting Numbers: [4095]
4095,78 unequal: No Solution
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 45+91=136, Resulting Numbers: [136]
136,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[80, 56], Operations: ['90/2=45', '11+45=56']
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 80+56=136, Resulting Numbers: [136]
136,78 unequal: No Solution
Exploring Operation: 80*56=4480, Resulting Numbers: [4480]
4480,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[80, 11, 88], Operations: ['90-2=88']
Exploring Operation: 80+11=91, Resulting Numbers: [88, 91]
Generated Node #0,3,0: 78:[88, 91] Operation: 80+11=91
Exploring Operation: 88/11=8, Resulting Numbers: [80, 8]
Generated Node #0,3,1: 78:[80, 8] Operation: 88/11=8
Exploring Operation: 88-11=77, Resulting Numbers: [80, 77]
Generated Node #0,3,2: 78:[80, 77] Operation: 88-11=77
Exploring Operation: 88-80=8, Resulting Numbers: [11, 8]
Generated Node #0,3,3: 78:[11, 8] Operation: 88-80=8
Exploring Operation: 80-11=69, Resulting Numbers: [88, 69]
Generated Node #0,3,4: 78:[88, 69] Operation: 80-11=69
Moving to Node #0,3,2
Current State: 78:[80, 77], Operations: ['90-2=88', '88-11=77']
Exploring Operation: 80-77=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 80*77=6160, Resulting Numbers: [6160]
6160,78 unequal: No Solution
Exploring Operation: 80+77=157, Resulting Numbers: [157]
157,78 unequal: No Solution
Moving to Node #0,3,3
Current State: 78:[11, 8], Operations: ['90-2=88', '88-80=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,78 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[80, 8], Operations: ['90-2=88', '88/11=8']
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,78 unequal: No Solution
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 80*8=640, Resulting Numbers: [640]
640,78 unequal: No Solution
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Moving to Node #0,3,4
Current State: 78:[88, 69], Operations: ['90-2=88', '80-11=69']
Exploring Operation: 88+69=157, Resulting Numbers: [157]
157,78 unequal: No Solution
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 88*69=6072, Resulting Numbers: [6072]
6072,78 unequal: No Solution
Moving to Node #0,3,0
Current State: 78:[88, 91], Operations: ['90-2=88', '80+11=91']
Exploring Operation: 88+91=179, Resulting Numbers: [179]
179,78 unequal: No Solution
Exploring Operation: 91-88=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 88*91=8008, Resulting Numbers: [8008]
8008,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 78:[90, 11, 78], Operations: ['80-2=78']
Exploring Operation: 78-11=67, Resulting Numbers: [90, 67]
Generated Node #0,4,0: 78:[90, 67] Operation: 78-11=67
Exploring Operation: 90-78=12, Resulting Numbers: [11, 12]
Generated Node #0,4,1: 78:[11, 12] Operation: 90-78=12
Exploring Operation: 11+78=89, Resulting Numbers: [90, 89]
Generated Node #0,4,2: 78:[90, 89] Operation: 11+78=89
Exploring Operation: 90+11=101, Resulting Numbers: [78, 101]
Generated Node #0,4,3: 78:[78, 101] Operation: 90+11=101
Exploring Operation: 90-11=79, Resulting Numbers: [78, 79]
Generated Node #0,4,4: 78:[78, 79] Operation: 90-11=79
Moving to Node #0,4,4
Current State: 78:[78, 79], Operations: ['80-2=78', '90-11=79']
Exploring Operation: 78*79=6162, Resulting Numbers: [6162]
6162,78 unequal: No Solution
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 78+79=157, Resulting Numbers: [157]
157,78 unequal: No Solution
Moving to Node #0,4,1
Current State: 78:[11, 12], Operations: ['80-2=78', '90-78=12']
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,78 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Moving to Node #0,4,0
Current State: 78:[90, 67], Operations: ['80-2=78', '78-11=67']
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 90*67=6030, Resulting Numbers: [6030]
6030,78 unequal: No Solution
Exploring Operation: 90+67=157, Resulting Numbers: [157]
157,78 unequal: No Solution
Moving to Node #0,4,2
Current State: 78:[90, 89], Operations: ['80-2=78', '11+78=89']
Exploring Operation: 90+89=179, Resulting Numbers: [179]
179,78 unequal: No Solution
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 90*89=8010, Resulting Numbers: [8010]
8010,78 unequal: No Solution
Moving to Node #0,4,3
Current State: 78:[78, 101], Operations: ['80-2=78', '90+11=101']
Exploring Operation: 78*101=7878, Resulting Numbers: [7878]
7878,78 unequal: No Solution
Exploring Operation: 101-78=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 78+101=179, Resulting Numbers: [179]
179,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
91,
96,
96,
48
] | 42 | [
"91-48=43",
"96/96=1",
"43-1=42"
] | Current State: 42:[91, 96, 96, 48], Operations: []
Exploring Operation: 91-48=43, Resulting Numbers: [96, 96, 43]
Generated Node #2: [96, 96, 43] from Operation: 91-48=43
Current State: 42:[96, 96, 43], Operations: ['91-48=43']
Exploring Operation: 96/96=1, Resulting Numbers: [43, 1]
Generated Node #3: [43, 1] from Operation: 96/96=1
Current State: 42:[43, 1], Operations: ['91-48=43', '96/96=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[91, 96, 96, 48], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [91, 48, 1]
Generated Node #0,0: 42:[91, 48, 1] Operation: 96/96=1
Exploring Operation: 96/48=2, Resulting Numbers: [91, 96, 2]
Generated Node #0,1: 42:[91, 96, 2] Operation: 96/48=2
Exploring Operation: 96-96=0, Resulting Numbers: [91, 48, 0]
Generated Node #0,2: 42:[91, 48, 0] Operation: 96-96=0
Exploring Operation: 96-91=5, Resulting Numbers: [96, 48, 5]
Generated Node #0,3: 42:[96, 48, 5] Operation: 96-91=5
Exploring Operation: 96-91=5, Resulting Numbers: [96, 48, 5]
Generated Node #0,4: 42:[96, 48, 5] Operation: 96-91=5
Moving to Node #0,0
Current State: 42:[91, 48, 1], Operations: ['96/96=1']
Exploring Operation: 91*1=91, Resulting Numbers: [48, 91]
Generated Node #0,0,0: 42:[48, 91] Operation: 91*1=91
Exploring Operation: 91-48=43, Resulting Numbers: [1, 43]
Generated Node #0,0,1: 42:[1, 43] Operation: 91-48=43
Exploring Operation: 91-1=90, Resulting Numbers: [48, 90]
Generated Node #0,0,2: 42:[48, 90] Operation: 91-1=90
Exploring Operation: 48-1=47, Resulting Numbers: [91, 47]
Generated Node #0,0,3: 42:[91, 47] Operation: 48-1=47
Exploring Operation: 91/1=91, Resulting Numbers: [48, 91]
Generated Node #0,0,4: 42:[48, 91] Operation: 91/1=91
Moving to Node #0,2
Current State: 42:[91, 48, 0], Operations: ['96-96=0']
Exploring Operation: 48*0=0, Resulting Numbers: [91, 0]
Generated Node #0,2,0: 42:[91, 0] Operation: 48*0=0
Exploring Operation: 91-48=43, Resulting Numbers: [0, 43]
Generated Node #0,2,1: 42:[0, 43] Operation: 91-48=43
Exploring Operation: 91-0=91, Resulting Numbers: [48, 91]
Generated Node #0,2,2: 42:[48, 91] Operation: 91-0=91
Exploring Operation: 91+0=91, Resulting Numbers: [48, 91]
Generated Node #0,2,3: 42:[48, 91] Operation: 91+0=91
Exploring Operation: 91*0=0, Resulting Numbers: [48, 0]
Generated Node #0,2,4: 42:[48, 0] Operation: 91*0=0
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[0, 43], Operations: ['96-96=0', '91-48=43']
Exploring Operation: 43-0=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 0*43=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 0+43=43, Resulting Numbers: [43]
43,42 unequal: No Solution
No 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: 42:[48, 0], Operations: ['96-96=0', '91*0=0']
Exploring Operation: 48*0=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 48-0=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 48+0=48, Resulting Numbers: [48]
48,42 unequal: No Solution
No 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: 42:[91, 0], Operations: ['96-96=0', '48*0=0']
Exploring Operation: 91*0=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 91-0=91, Resulting Numbers: [91]
91,42 unequal: No Solution
Exploring Operation: 91+0=91, Resulting Numbers: [91]
91,42 unequal: No Solution
No 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: 42:[48, 91], Operations: ['96-96=0', '91-0=91']
Exploring Operation: 48+91=139, Resulting Numbers: [139]
139,42 unequal: No Solution
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 48*91=4368, Resulting Numbers: [4368]
4368,42 unequal: No Solution
No 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: 42:[48, 91], Operations: ['96-96=0', '91+0=91']
Exploring Operation: 48*91=4368, Resulting Numbers: [4368]
4368,42 unequal: No Solution
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 48+91=139, Resulting Numbers: [139]
139,42 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: 42:[96, 48, 5], Operations: ['96-91=5']
Exploring Operation: 48-5=43, Resulting Numbers: [96, 43]
Generated Node #0,3,0: 42:[96, 43] Operation: 48-5=43
Exploring Operation: 96-5=91, Resulting Numbers: [48, 91]
Generated Node #0,3,1: 42:[48, 91] Operation: 96-5=91
Exploring Operation: 96/48=2, Resulting Numbers: [5, 2]
Generated Node #0,3,2: 42:[5, 2] Operation: 96/48=2
Exploring Operation: 96+5=101, Resulting Numbers: [48, 101]
Generated Node #0,3,3: 42:[48, 101] Operation: 96+5=101
Exploring Operation: 96-48=48, Resulting Numbers: [5, 48]
Generated Node #0,3,4: 42:[5, 48] Operation: 96-48=48
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[5, 2], Operations: ['96-91=5', '96/48=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,42 unequal: No Solution
No 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: 42:[5, 48], Operations: ['96-91=5', '96-48=48']
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,42 unequal: No Solution
No 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: 42:[96, 43], Operations: ['96-91=5', '48-5=43']
Exploring Operation: 96*43=4128, Resulting Numbers: [4128]
4128,42 unequal: No Solution
Exploring Operation: 96-43=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 96+43=139, Resulting Numbers: [139]
139,42 unequal: No Solution
No 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: 42:[48, 91], Operations: ['96-91=5', '96-5=91']
Exploring Operation: 48*91=4368, Resulting Numbers: [4368]
4368,42 unequal: No Solution
Exploring Operation: 48+91=139, Resulting Numbers: [139]
139,42 unequal: No Solution
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,42 unequal: No Solution
No 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: 42:[48, 101], Operations: ['96-91=5', '96+5=101']
Exploring Operation: 48*101=4848, Resulting Numbers: [4848]
4848,42 unequal: No Solution
Exploring Operation: 101-48=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 48+101=149, Resulting Numbers: [149]
149,42 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: 42:[96, 48, 5], Operations: ['96-91=5']
Exploring Operation: 96-5=91, Resulting Numbers: [48, 91]
Generated Node #0,4,0: 42:[48, 91] Operation: 96-5=91
Exploring Operation: 96/48=2, Resulting Numbers: [5, 2]
Generated Node #0,4,1: 42:[5, 2] Operation: 96/48=2
Exploring Operation: 96+5=101, Resulting Numbers: [48, 101]
Generated Node #0,4,2: 42:[48, 101] Operation: 96+5=101
Exploring Operation: 96-48=48, Resulting Numbers: [5, 48]
Generated Node #0,4,3: 42:[5, 48] Operation: 96-48=48
Exploring Operation: 48-5=43, Resulting Numbers: [96, 43]
Generated Node #0,4,4: 42:[96, 43] Operation: 48-5=43
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 42:[5, 2], Operations: ['96-91=5', '96/48=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 42:[5, 48], Operations: ['96-91=5', '96-48=48']
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,42 unequal: No Solution
No 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: 42:[48, 91], Operations: ['96-91=5', '96-5=91']
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 48+91=139, Resulting Numbers: [139]
139,42 unequal: No Solution
Exploring Operation: 48*91=4368, Resulting Numbers: [4368]
4368,42 unequal: No Solution
No 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: 42:[96, 43], Operations: ['96-91=5', '48-5=43']
Exploring Operation: 96+43=139, Resulting Numbers: [139]
139,42 unequal: No Solution
Exploring Operation: 96-43=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 96*43=4128, Resulting Numbers: [4128]
4128,42 unequal: No Solution
No 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: 42:[48, 101], Operations: ['96-91=5', '96+5=101']
Exploring Operation: 48*101=4848, Resulting Numbers: [4848]
4848,42 unequal: No Solution
Exploring Operation: 48+101=149, Resulting Numbers: [149]
149,42 unequal: No Solution
Exploring Operation: 101-48=53, Resulting Numbers: [53]
53,42 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: 42:[91, 96, 2], Operations: ['96/48=2']
Exploring Operation: 96-2=94, Resulting Numbers: [91, 94]
Generated Node #0,1,0: 42:[91, 94] Operation: 96-2=94
Exploring Operation: 91-2=89, Resulting Numbers: [96, 89]
Generated Node #0,1,1: 42:[96, 89] Operation: 91-2=89
Exploring Operation: 91+2=93, Resulting Numbers: [96, 93]
Generated Node #0,1,2: 42:[96, 93] Operation: 91+2=93
Exploring Operation: 96/2=48, Resulting Numbers: [91, 48]
Generated Node #0,1,3: 42:[91, 48] Operation: 96/2=48
Exploring Operation: 96-91=5, Resulting Numbers: [2, 5]
Generated Node #0,1,4: 42:[2, 5] Operation: 96-91=5
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 42:[2, 5], Operations: ['96/48=2', '96-91=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,42 unequal: No Solution
No 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: 42:[91, 48], Operations: ['96/48=2', '96/2=48']
Exploring Operation: 91+48=139, Resulting Numbers: [139]
139,42 unequal: No Solution
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 91*48=4368, Resulting Numbers: [4368]
4368,42 unequal: No Solution
No 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: 42:[91, 94], Operations: ['96/48=2', '96-2=94']
Exploring Operation: 94-91=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 91*94=8554, Resulting Numbers: [8554]
8554,42 unequal: No Solution
Exploring Operation: 91+94=185, Resulting Numbers: [185]
185,42 unequal: No Solution
No 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: 42:[96, 89], Operations: ['96/48=2', '91-2=89']
Exploring Operation: 96+89=185, Resulting Numbers: [185]
185,42 unequal: No Solution
Exploring Operation: 96*89=8544, Resulting Numbers: [8544]
8544,42 unequal: No Solution
Exploring Operation: 96-89=7, Resulting Numbers: [7]
7,42 unequal: No Solution
No 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: 42:[96, 93], Operations: ['96/48=2', '91+2=93']
Exploring Operation: 96+93=189, Resulting Numbers: [189]
189,42 unequal: No Solution
Exploring Operation: 96-93=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 96*93=8928, Resulting Numbers: [8928]
8928,42 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: 42:[1, 43], Operations: ['96/96=1', '91-48=43']
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[91, 96, 96, 48], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [91, 48, 1]
Generated Node #0,0: 42:[91, 48, 1] Operation: 96/96=1
Moving to Node #0,0
Current State: 42:[91, 48, 1], Operations: ['96/96=1']
Exploring Operation: 91-48=43, Resulting Numbers: [1, 43]
Generated Node #0,0,1: 42:[1, 43] Operation: 91-48=43
Moving to Node #0,0,1
Current State: 42:[1, 43], Operations: ['96/96=1', '91-48=43']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.916667 | hs_5 | sum_heuristic |
[
5,
13,
37,
77
] | 58 | [
"5+13=18",
"77-37=40",
"18+40=58"
] | Current State: 58:[5, 13, 37, 77], Operations: []
Exploring Operation: 5+13=18, Resulting Numbers: [37, 77, 18]
Generated Node #2: [37, 77, 18] from Operation: 5+13=18
Current State: 58:[37, 77, 18], Operations: ['5+13=18']
Exploring Operation: 77-37=40, Resulting Numbers: [18, 40]
Generated Node #3: [18, 40] from Operation: 77-37=40
Current State: 58:[18, 40], Operations: ['5+13=18', '77-37=40']
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[5, 13, 37, 77], Operations: []
Exploring Operation: 77-37=40, Resulting Numbers: [5, 13, 40]
Generated Node #0,0: 58:[5, 13, 40] Operation: 77-37=40
Exploring Operation: 77-13=64, Resulting Numbers: [5, 37, 64]
Generated Node #0,1: 58:[5, 37, 64] Operation: 77-13=64
Moving to Node #0,1
Current State: 58:[5, 37, 64], Operations: ['77-13=64']
Exploring Operation: 37-5=32, Resulting Numbers: [64, 32]
Generated Node #0,1,0: 58:[64, 32] Operation: 37-5=32
Exploring Operation: 64-37=27, Resulting Numbers: [5, 27]
Generated Node #0,1,1: 58:[5, 27] Operation: 64-37=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[5, 27], Operations: ['77-13=64', '64-37=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,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,0
Current State: 58:[64, 32], Operations: ['77-13=64', '37-5=32']
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,58 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: 58:[5, 13, 40], Operations: ['77-37=40']
Exploring Operation: 40-13=27, Resulting Numbers: [5, 27]
Generated Node #0,0,0: 58:[5, 27] Operation: 40-13=27
Exploring Operation: 13+40=53, Resulting Numbers: [5, 53]
Generated Node #0,0,1: 58:[5, 53] Operation: 13+40=53
Moving to Node #0,0,0
Current State: 58:[5, 27], Operations: ['77-37=40', '40-13=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[5, 53], Operations: ['77-37=40', '13+40=53']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[5, 13, 37, 77], Operations: []
Exploring Operation: 77-37=40, Resulting Numbers: [5, 13, 40]
Generated Node #0,0: 58:[5, 13, 40] Operation: 77-37=40
Moving to Node #0,0
Current State: 58:[5, 13, 40], Operations: ['77-37=40']
Exploring Operation: 13+40=53, Resulting Numbers: [5, 53]
Generated Node #0,0,1: 58:[5, 53] Operation: 13+40=53
Moving to Node #0,0,1
Current State: 58:[5, 53], Operations: ['77-37=40', '13+40=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
33,
22,
67,
50
] | 72 | [
"33+22=55",
"67-50=17",
"55+17=72"
] | Current State: 72:[33, 22, 67, 50], Operations: []
Exploring Operation: 33+22=55, Resulting Numbers: [67, 50, 55]
Generated Node #2: [67, 50, 55] from Operation: 33+22=55
Current State: 72:[67, 50, 55], Operations: ['33+22=55']
Exploring Operation: 67-50=17, Resulting Numbers: [55, 17]
Generated Node #3: [55, 17] from Operation: 67-50=17
Current State: 72:[55, 17], Operations: ['33+22=55', '67-50=17']
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[33, 22, 67, 50], Operations: []
Exploring Operation: 67-50=17, Resulting Numbers: [33, 22, 17]
Generated Node #0,0: 72:[33, 22, 17] Operation: 67-50=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[33, 22, 17], Operations: ['67-50=17']
Exploring Operation: 33-22=11, Resulting Numbers: [17, 11]
Generated Node #0,0,0: 72:[17, 11] Operation: 33-22=11
Moving to Node #0,0,0
Current State: 72:[17, 11], Operations: ['67-50=17', '33-22=11']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,72 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 |
[
25,
39,
85,
52
] | 31 | [
"25+39=64",
"85-52=33",
"64-33=31"
] | Current State: 31:[25, 39, 85, 52], Operations: []
Exploring Operation: 25+39=64, Resulting Numbers: [85, 52, 64]
Generated Node #2: [85, 52, 64] from Operation: 25+39=64
Current State: 31:[85, 52, 64], Operations: ['25+39=64']
Exploring Operation: 85-52=33, Resulting Numbers: [64, 33]
Generated Node #3: [64, 33] from Operation: 85-52=33
Current State: 31:[64, 33], Operations: ['25+39=64', '85-52=33']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[25, 39, 85, 52], Operations: []
Exploring Operation: 85-25=60, Resulting Numbers: [39, 52, 60]
Generated Node #0,0: 31:[39, 52, 60] Operation: 85-25=60
Exploring Operation: 85-39=46, Resulting Numbers: [25, 52, 46]
Generated Node #0,1: 31:[25, 52, 46] Operation: 85-39=46
Exploring Operation: 85-52=33, Resulting Numbers: [25, 39, 33]
Generated Node #0,2: 31:[25, 39, 33] Operation: 85-52=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[25, 39, 33], Operations: ['85-52=33']
Exploring Operation: 39-25=14, Resulting Numbers: [33, 14]
Generated Node #0,2,0: 31:[33, 14] Operation: 39-25=14
Exploring Operation: 33-25=8, Resulting Numbers: [39, 8]
Generated Node #0,2,1: 31:[39, 8] Operation: 33-25=8
Exploring Operation: 39-33=6, Resulting Numbers: [25, 6]
Generated Node #0,2,2: 31:[25, 6] Operation: 39-33=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 31:[33, 14], Operations: ['85-52=33', '39-25=14']
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,31 unequal: No Solution
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,31 unequal: No Solution
No 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: 31:[39, 8], Operations: ['85-52=33', '33-25=8']
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,31 unequal: No Solution
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[25, 39, 85, 52], Operations: []
Exploring Operation: 85-52=33, Resulting Numbers: [25, 39, 33]
Generated Node #0,2: 31:[25, 39, 33] Operation: 85-52=33
Moving to Node #0,2
Current State: 31:[25, 39, 33], Operations: ['85-52=33']
Exploring Operation: 33-25=8, Resulting Numbers: [39, 8]
Generated Node #0,2,1: 31:[39, 8] Operation: 33-25=8
Moving to Node #0,2,1
Current State: 31:[39, 8], Operations: ['85-52=33', '33-25=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
2,
32,
79,
16
] | 79 | [
"32/2=16",
"79+16=95",
"95-16=79"
] | Current State: 79:[2, 32, 79, 16], Operations: []
Exploring Operation: 32/2=16, Resulting Numbers: [79, 16, 16]
Generated Node #2: [79, 16, 16] from Operation: 32/2=16
Current State: 79:[79, 16, 16], Operations: ['32/2=16']
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,79 equal: Goal Reached
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[2, 32, 79, 16], Operations: []
Exploring Operation: 2*32=64, Resulting Numbers: [79, 16, 64]
Generated Node #0,0: 79:[79, 16, 64] Operation: 2*32=64
Exploring Operation: 2+16=18, Resulting Numbers: [32, 79, 18]
Generated Node #0,1: 79:[32, 79, 18] Operation: 2+16=18
Exploring Operation: 2*16=32, Resulting Numbers: [32, 79, 32]
Generated Node #0,2: 79:[32, 79, 32] Operation: 2*16=32
Exploring Operation: 2+32=34, Resulting Numbers: [79, 16, 34]
Generated Node #0,3: 79:[79, 16, 34] Operation: 2+32=34
Moving to Node #0,0
Current State: 79:[79, 16, 64], Operations: ['2*32=64']
Exploring Operation: 79-16=63, Resulting Numbers: [64, 63]
Generated Node #0,0,0: 79:[64, 63] Operation: 79-16=63
Exploring Operation: 79+16=95, Resulting Numbers: [64, 95]
Generated Node #0,0,1: 79:[64, 95] Operation: 79+16=95
Exploring Operation: 64-16=48, Resulting Numbers: [79, 48]
Generated Node #0,0,2: 79:[79, 48] Operation: 64-16=48
Exploring Operation: 16+64=80, Resulting Numbers: [79, 80]
Generated Node #0,0,3: 79:[79, 80] Operation: 16+64=80
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[79, 80], Operations: ['2*32=64', '16+64=80']
Exploring Operation: 79*80=6320, Resulting Numbers: [6320]
6320,79 unequal: No Solution
Exploring Operation: 79+80=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,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,0,0
Current State: 79:[64, 63], Operations: ['2*32=64', '79-16=63']
Exploring Operation: 64*63=4032, Resulting Numbers: [4032]
4032,79 unequal: No Solution
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 64+63=127, Resulting Numbers: [127]
127,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,0,1
Current State: 79:[64, 95], Operations: ['2*32=64', '79+16=95']
Exploring Operation: 64*95=6080, Resulting Numbers: [6080]
6080,79 unequal: No Solution
Exploring Operation: 64+95=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Exploring Operation: 95-64=31, Resulting Numbers: [31]
31,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,0,2
Current State: 79:[79, 48], Operations: ['2*32=64', '64-16=48']
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 79*48=3792, Resulting Numbers: [3792]
3792,79 unequal: No Solution
Exploring Operation: 79+48=127, Resulting Numbers: [127]
127,79 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: 79:[32, 79, 32], Operations: ['2*16=32']
Exploring Operation: 32+79=111, Resulting Numbers: [32, 111]
Generated Node #0,2,0: 79:[32, 111] Operation: 32+79=111
Exploring Operation: 32/32=1, Resulting Numbers: [79, 1]
Generated Node #0,2,1: 79:[79, 1] Operation: 32/32=1
Exploring Operation: 32+32=64, Resulting Numbers: [79, 64]
Generated Node #0,2,2: 79:[79, 64] Operation: 32+32=64
Exploring Operation: 79-32=47, Resulting Numbers: [32, 47]
Generated Node #0,2,3: 79:[32, 47] Operation: 79-32=47
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[79, 64], Operations: ['2*16=32', '32+32=64']
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,79 unequal: No Solution
Exploring Operation: 79+64=143, Resulting Numbers: [143]
143,79 unequal: No Solution
Exploring Operation: 79*64=5056, Resulting Numbers: [5056]
5056,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:[79, 1], Operations: ['2*16=32', '32/32=1']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[2, 32, 79, 16], Operations: []
Exploring Operation: 2*16=32, Resulting Numbers: [32, 79, 32]
Generated Node #0,2: 79:[32, 79, 32] Operation: 2*16=32
Moving to Node #0,2
Current State: 79:[32, 79, 32], Operations: ['2*16=32']
Exploring Operation: 32/32=1, Resulting Numbers: [79, 1]
Generated Node #0,2,1: 79:[79, 1] Operation: 32/32=1
Moving to Node #0,2,1
Current State: 79:[79, 1], Operations: ['2*16=32', '32/32=1']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
70,
62,
83,
39
] | 88 | [
"70+62=132",
"83-39=44",
"132-44=88"
] | Current State: 88:[70, 62, 83, 39], Operations: []
Exploring Operation: 70+62=132, Resulting Numbers: [83, 39, 132]
Generated Node #2: [83, 39, 132] from Operation: 70+62=132
Current State: 88:[83, 39, 132], Operations: ['70+62=132']
Exploring Operation: 83-39=44, Resulting Numbers: [132, 44]
Generated Node #3: [132, 44] from Operation: 83-39=44
Current State: 88:[132, 44], Operations: ['70+62=132', '83-39=44']
Exploring Operation: 132-44=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[70, 62, 83, 39], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [70, 39, 21]
Generated Node #0,0: 88:[70, 39, 21] Operation: 83-62=21
Exploring Operation: 62-39=23, Resulting Numbers: [70, 83, 23]
Generated Node #0,1: 88:[70, 83, 23] Operation: 62-39=23
Exploring Operation: 70-62=8, Resulting Numbers: [83, 39, 8]
Generated Node #0,2: 88:[83, 39, 8] Operation: 70-62=8
Moving to Node #0,2
Current State: 88:[83, 39, 8], Operations: ['70-62=8']
Exploring Operation: 39+8=47, Resulting Numbers: [83, 47]
Generated Node #0,2,0: 88:[83, 47] Operation: 39+8=47
Exploring Operation: 83-39=44, Resulting Numbers: [8, 44]
Generated Node #0,2,1: 88:[8, 44] Operation: 83-39=44
Exploring Operation: 83+8=91, Resulting Numbers: [39, 91]
Generated Node #0,2,2: 88:[39, 91] Operation: 83+8=91
Moving to Node #0,0
Current State: 88:[70, 39, 21], Operations: ['83-62=21']
Exploring Operation: 70-39=31, Resulting Numbers: [21, 31]
Generated Node #0,0,0: 88:[21, 31] Operation: 70-39=31
Exploring Operation: 70+21=91, Resulting Numbers: [39, 91]
Generated Node #0,0,1: 88:[39, 91] Operation: 70+21=91
Exploring Operation: 70-21=49, Resulting Numbers: [39, 49]
Generated Node #0,0,2: 88:[39, 49] Operation: 70-21=49
Moving to Node #0,1
Current State: 88:[70, 83, 23], Operations: ['62-39=23']
Exploring Operation: 70+23=93, Resulting Numbers: [83, 93]
Generated Node #0,1,0: 88:[83, 93] Operation: 70+23=93
Exploring Operation: 83-70=13, Resulting Numbers: [23, 13]
Generated Node #0,1,1: 88:[23, 13] Operation: 83-70=13
Exploring Operation: 70-23=47, Resulting Numbers: [83, 47]
Generated Node #0,1,2: 88:[83, 47] Operation: 70-23=47
Moving to Node #0,2,1
Current State: 88:[8, 44], Operations: ['70-62=8', '83-39=44']
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[23, 13], Operations: ['62-39=23', '83-70=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[39, 91], Operations: ['70-62=8', '83+8=91']
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 39+91=130, Resulting Numbers: [130]
130,88 unequal: No Solution
Exploring Operation: 39*91=3549, Resulting Numbers: [3549]
3549,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[83, 47], Operations: ['62-39=23', '70-23=47']
Exploring Operation: 83*47=3901, Resulting Numbers: [3901]
3901,88 unequal: No Solution
Exploring Operation: 83+47=130, Resulting Numbers: [130]
130,88 unequal: No Solution
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[83, 47], Operations: ['70-62=8', '39+8=47']
Exploring Operation: 83+47=130, Resulting Numbers: [130]
130,88 unequal: No Solution
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 83*47=3901, Resulting Numbers: [3901]
3901,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[39, 91], Operations: ['83-62=21', '70+21=91']
Exploring Operation: 39*91=3549, Resulting Numbers: [3549]
3549,88 unequal: No Solution
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 39+91=130, Resulting Numbers: [130]
130,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[39, 49], Operations: ['83-62=21', '70-21=49']
Exploring Operation: 39*49=1911, Resulting Numbers: [1911]
1911,88 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 39+49=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[70, 62, 83, 39], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [70, 39, 21]
Generated Node #0,0: 88:[70, 39, 21] Operation: 83-62=21
Moving to Node #0,0
Current State: 88:[70, 39, 21], Operations: ['83-62=21']
Exploring Operation: 70-21=49, Resulting Numbers: [39, 49]
Generated Node #0,0,2: 88:[39, 49] Operation: 70-21=49
Moving to Node #0,0,2
Current State: 88:[39, 49], Operations: ['83-62=21', '70-21=49']
Exploring Operation: 39+49=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.967882 | hs_3 | sum_heuristic |
[
16,
22,
45,
86
] | 49 | [
"86-22=64",
"64/16=4",
"45+4=49"
] | Current State: 49:[16, 22, 45, 86], Operations: []
Exploring Operation: 86-22=64, Resulting Numbers: [16, 45, 64]
Generated Node #2: [16, 45, 64] from Operation: 86-22=64
Current State: 49:[16, 45, 64], Operations: ['86-22=64']
Exploring Operation: 64/16=4, Resulting Numbers: [45, 4]
Generated Node #3: [45, 4] from Operation: 64/16=4
Current State: 49:[45, 4], Operations: ['86-22=64', '64/16=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[16, 22, 45, 86], Operations: []
Exploring Operation: 86-16=70, Resulting Numbers: [22, 45, 70]
Generated Node #0,0: 49:[22, 45, 70] Operation: 86-16=70
Exploring Operation: 86-45=41, Resulting Numbers: [16, 22, 41]
Generated Node #0,1: 49:[16, 22, 41] Operation: 86-45=41
Exploring Operation: 86-22=64, Resulting Numbers: [16, 45, 64]
Generated Node #0,2: 49:[16, 45, 64] Operation: 86-22=64
Exploring Operation: 22-16=6, Resulting Numbers: [45, 86, 6]
Generated Node #0,3: 49:[45, 86, 6] Operation: 22-16=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[16, 45, 64], Operations: ['86-22=64']
Exploring Operation: 16+45=61, Resulting Numbers: [64, 61]
Generated Node #0,2,0: 49:[64, 61] Operation: 16+45=61
Exploring Operation: 64-16=48, Resulting Numbers: [45, 48]
Generated Node #0,2,1: 49:[45, 48] Operation: 64-16=48
Exploring Operation: 64-45=19, Resulting Numbers: [16, 19]
Generated Node #0,2,2: 49:[16, 19] Operation: 64-45=19
Exploring Operation: 64/16=4, Resulting Numbers: [45, 4]
Generated Node #0,2,3: 49:[45, 4] Operation: 64/16=4
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[45, 48], Operations: ['86-22=64', '64-16=48']
Exploring Operation: 45+48=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 45*48=2160, Resulting Numbers: [2160]
2160,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 49:[45, 4], Operations: ['86-22=64', '64/16=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,49 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[16, 22, 45, 86], Operations: []
Exploring Operation: 86-22=64, Resulting Numbers: [16, 45, 64]
Generated Node #0,2: 49:[16, 45, 64] Operation: 86-22=64
Moving to Node #0,2
Current State: 49:[16, 45, 64], Operations: ['86-22=64']
Exploring Operation: 64/16=4, Resulting Numbers: [45, 4]
Generated Node #0,2,3: 49:[45, 4] Operation: 64/16=4
Moving to Node #0,2,3
Current State: 49:[45, 4], Operations: ['86-22=64', '64/16=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
45,
21,
78,
22
] | 75 | [
"45+21=66",
"66/22=3",
"78-3=75"
] | Current State: 75:[45, 21, 78, 22], Operations: []
Exploring Operation: 45+21=66, Resulting Numbers: [78, 22, 66]
Generated Node #2: [78, 22, 66] from Operation: 45+21=66
Current State: 75:[78, 22, 66], Operations: ['45+21=66']
Exploring Operation: 66/22=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 66/22=3
Current State: 75:[78, 3], Operations: ['45+21=66', '66/22=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[45, 21, 78, 22], Operations: []
Exploring Operation: 45-22=23, Resulting Numbers: [21, 78, 23]
Generated Node #0,0: 75:[21, 78, 23] Operation: 45-22=23
Exploring Operation: 45-21=24, Resulting Numbers: [78, 22, 24]
Generated Node #0,1: 75:[78, 22, 24] Operation: 45-21=24
Moving to Node #0,1
Current State: 75:[78, 22, 24], Operations: ['45-21=24']
Exploring Operation: 24-22=2, Resulting Numbers: [78, 2]
Generated Node #0,1,0: 75:[78, 2] Operation: 24-22=2
Exploring Operation: 78-22=56, Resulting Numbers: [24, 56]
Generated Node #0,1,1: 75:[24, 56] Operation: 78-22=56
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[78, 2], Operations: ['45-21=24', '24-22=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[24, 56], Operations: ['45-21=24', '78-22=56']
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 24+56=80, Resulting Numbers: [80]
80,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 75:[21, 78, 23], Operations: ['45-22=23']
Exploring Operation: 23-21=2, Resulting Numbers: [78, 2]
Generated Node #0,0,0: 75:[78, 2] Operation: 23-21=2
Exploring Operation: 78-21=57, Resulting Numbers: [23, 57]
Generated Node #0,0,1: 75:[23, 57] Operation: 78-21=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[78, 2], Operations: ['45-22=23', '23-21=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[23, 57], Operations: ['45-22=23', '78-21=57']
Exploring Operation: 23+57=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
34,
56,
75,
68
] | 47 | [
"34*56=1904",
"1904/68=28",
"75-28=47"
] | Current State: 47:[34, 56, 75, 68], Operations: []
Exploring Operation: 34*56=1904, Resulting Numbers: [75, 68, 1904]
Generated Node #2: [75, 68, 1904] from Operation: 34*56=1904
Current State: 47:[75, 68, 1904], Operations: ['34*56=1904']
Exploring Operation: 1904/68=28, Resulting Numbers: [75, 28]
Generated Node #3: [75, 28] from Operation: 1904/68=28
Current State: 47:[75, 28], Operations: ['34*56=1904', '1904/68=28']
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[34, 56, 75, 68], Operations: []
Exploring Operation: 75-34=41, Resulting Numbers: [56, 68, 41]
Generated Node #0,0: 47:[56, 68, 41] Operation: 75-34=41
Exploring Operation: 68-34=34, Resulting Numbers: [56, 75, 34]
Generated Node #0,1: 47:[56, 75, 34] Operation: 68-34=34
Moving to Node #0,0
Current State: 47:[56, 68, 41], Operations: ['75-34=41']
Exploring Operation: 68-56=12, Resulting Numbers: [41, 12]
Generated Node #0,0,0: 47:[41, 12] Operation: 68-56=12
Exploring Operation: 68-41=27, Resulting Numbers: [56, 27]
Generated Node #0,0,1: 47:[56, 27] Operation: 68-41=27
Moving to Node #0,1
Current State: 47:[56, 75, 34], Operations: ['68-34=34']
Exploring Operation: 75-34=41, Resulting Numbers: [56, 41]
Generated Node #0,1,0: 47:[56, 41] Operation: 75-34=41
Exploring Operation: 75-56=19, Resulting Numbers: [34, 19]
Generated Node #0,1,1: 47:[34, 19] Operation: 75-56=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[56, 41], Operations: ['68-34=34', '75-34=41']
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[34, 19], Operations: ['68-34=34', '75-56=19']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,47 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: 47:[56, 27], Operations: ['75-34=41', '68-41=27']
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[41, 12], Operations: ['75-34=41', '68-56=12']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,47 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
27,
3,
37,
48
] | 18 | [
"37-27=10",
"3*10=30",
"48-30=18"
] | Current State: 18:[27, 3, 37, 48], Operations: []
Exploring Operation: 37-27=10, Resulting Numbers: [3, 48, 10]
Generated Node #2: [3, 48, 10] from Operation: 37-27=10
Current State: 18:[3, 48, 10], Operations: ['37-27=10']
Exploring Operation: 3*10=30, Resulting Numbers: [48, 30]
Generated Node #3: [48, 30] from Operation: 3*10=30
Current State: 18:[48, 30], Operations: ['37-27=10', '3*10=30']
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[27, 3, 37, 48], Operations: []
Exploring Operation: 48-37=11, Resulting Numbers: [27, 3, 11]
Generated Node #0,0: 18:[27, 3, 11] Operation: 48-37=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[27, 3, 11], Operations: ['48-37=11']
Exploring Operation: 27/3=9, Resulting Numbers: [11, 9]
Generated Node #0,0,0: 18:[11, 9] Operation: 27/3=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[11, 9], Operations: ['48-37=11', '27/3=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
16,
93,
9,
91
] | 72 | [
"16*9=144",
"93-91=2",
"144/2=72"
] | Current State: 72:[16, 93, 9, 91], Operations: []
Exploring Operation: 16*9=144, Resulting Numbers: [93, 91, 144]
Generated Node #2: [93, 91, 144] from Operation: 16*9=144
Current State: 72:[93, 91, 144], Operations: ['16*9=144']
Exploring Operation: 93-91=2, Resulting Numbers: [144, 2]
Generated Node #3: [144, 2] from Operation: 93-91=2
Current State: 72:[144, 2], Operations: ['16*9=144', '93-91=2']
Exploring Operation: 144/2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[16, 93, 9, 91], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [16, 9, 2]
Generated Node #0,0: 72:[16, 9, 2] Operation: 93-91=2
Exploring Operation: 93-16=77, Resulting Numbers: [9, 91, 77]
Generated Node #0,1: 72:[9, 91, 77] Operation: 93-16=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[16, 9, 2], Operations: ['93-91=2']
Exploring Operation: 16+2=18, Resulting Numbers: [9, 18]
Generated Node #0,0,0: 72:[9, 18] Operation: 16+2=18
Exploring Operation: 16/2=8, Resulting Numbers: [9, 8]
Generated Node #0,0,1: 72:[9, 8] Operation: 16/2=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[9, 18], Operations: ['93-91=2', '16+2=18']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,72 unequal: No Solution
No 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: 72:[9, 8], Operations: ['93-91=2', '16/2=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[16, 93, 9, 91], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [16, 9, 2]
Generated Node #0,0: 72:[16, 9, 2] Operation: 93-91=2
Moving to Node #0,0
Current State: 72:[16, 9, 2], Operations: ['93-91=2']
Exploring Operation: 16/2=8, Resulting Numbers: [9, 8]
Generated Node #0,0,1: 72:[9, 8] Operation: 16/2=8
Moving to Node #0,0,1
Current State: 72:[9, 8], Operations: ['93-91=2', '16/2=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
55,
70,
60,
69
] | 65 | [
"70-55=15",
"60/15=4",
"69-4=65"
] | Current State: 65:[55, 70, 60, 69], Operations: []
Exploring Operation: 70-55=15, Resulting Numbers: [60, 69, 15]
Generated Node #2: [60, 69, 15] from Operation: 70-55=15
Current State: 65:[60, 69, 15], Operations: ['70-55=15']
Exploring Operation: 60/15=4, Resulting Numbers: [69, 4]
Generated Node #3: [69, 4] from Operation: 60/15=4
Current State: 65:[69, 4], Operations: ['70-55=15', '60/15=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[55, 70, 60, 69], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [70, 60, 14]
Generated Node #0,0: 65:[70, 60, 14] Operation: 69-55=14
Exploring Operation: 70-55=15, Resulting Numbers: [60, 69, 15]
Generated Node #0,1: 65:[60, 69, 15] Operation: 70-55=15
Exploring Operation: 70-60=10, Resulting Numbers: [55, 69, 10]
Generated Node #0,2: 65:[55, 69, 10] Operation: 70-60=10
Exploring Operation: 60-55=5, Resulting Numbers: [70, 69, 5]
Generated Node #0,3: 65:[70, 69, 5] Operation: 60-55=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[70, 69, 5], Operations: ['60-55=5']
Exploring Operation: 70-69=1, Resulting Numbers: [5, 1]
Generated Node #0,3,0: 65:[5, 1] Operation: 70-69=1
Exploring Operation: 69-5=64, Resulting Numbers: [70, 64]
Generated Node #0,3,1: 65:[70, 64] Operation: 69-5=64
Exploring Operation: 70-5=65, Resulting Numbers: [69, 65]
Generated Node #0,3,2: 65:[69, 65] Operation: 70-5=65
Exploring Operation: 70/5=14, Resulting Numbers: [69, 14]
Generated Node #0,3,3: 65:[69, 14] Operation: 70/5=14
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 65:[5, 1], Operations: ['60-55=5', '70-69=1']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,65 unequal: No Solution
No 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: 65:[69, 65], Operations: ['60-55=5', '70-5=65']
Exploring Operation: 69+65=134, Resulting Numbers: [134]
134,65 unequal: No Solution
Exploring Operation: 69*65=4485, Resulting Numbers: [4485]
4485,65 unequal: No Solution
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,65 unequal: No Solution
No 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: 65:[69, 14], Operations: ['60-55=5', '70/5=14']
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,65 unequal: No Solution
No 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: 65:[70, 64], Operations: ['60-55=5', '69-5=64']
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 70+64=134, Resulting Numbers: [134]
134,65 unequal: No Solution
Exploring Operation: 70*64=4480, Resulting Numbers: [4480]
4480,65 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: 65:[70, 60, 14], Operations: ['69-55=14']
Exploring Operation: 60+14=74, Resulting Numbers: [70, 74]
Generated Node #0,0,0: 65:[70, 74] Operation: 60+14=74
Exploring Operation: 70/14=5, Resulting Numbers: [60, 5]
Generated Node #0,0,1: 65:[60, 5] Operation: 70/14=5
Exploring Operation: 70-60=10, Resulting Numbers: [14, 10]
Generated Node #0,0,2: 65:[14, 10] Operation: 70-60=10
Exploring Operation: 70-14=56, Resulting Numbers: [60, 56]
Generated Node #0,0,3: 65:[60, 56] Operation: 70-14=56
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[14, 10], Operations: ['69-55=14', '70-60=10']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,65 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,65 unequal: No Solution
No 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: 65:[60, 5], Operations: ['69-55=14', '70/14=5']
Exploring Operation: 60*5=300, Resulting Numbers: [300]
300,65 unequal: No Solution
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[55, 70, 60, 69], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [70, 60, 14]
Generated Node #0,0: 65:[70, 60, 14] Operation: 69-55=14
Moving to Node #0,0
Current State: 65:[70, 60, 14], Operations: ['69-55=14']
Exploring Operation: 70/14=5, Resulting Numbers: [60, 5]
Generated Node #0,0,1: 65:[60, 5] Operation: 70/14=5
Moving to Node #0,0,1
Current State: 65:[60, 5], Operations: ['69-55=14', '70/14=5']
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
92,
60,
19,
7
] | 58 | [
"92-60=32",
"19+7=26",
"32+26=58"
] | Current State: 58:[92, 60, 19, 7], Operations: []
Exploring Operation: 92-60=32, Resulting Numbers: [19, 7, 32]
Generated Node #2: [19, 7, 32] from Operation: 92-60=32
Current State: 58:[19, 7, 32], Operations: ['92-60=32']
Exploring Operation: 19+7=26, Resulting Numbers: [32, 26]
Generated Node #3: [32, 26] from Operation: 19+7=26
Current State: 58:[32, 26], Operations: ['92-60=32', '19+7=26']
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[92, 60, 19, 7], Operations: []
Exploring Operation: 92-7=85, Resulting Numbers: [60, 19, 85]
Generated Node #0,0: 58:[60, 19, 85] Operation: 92-7=85
Exploring Operation: 92-19=73, Resulting Numbers: [60, 7, 73]
Generated Node #0,1: 58:[60, 7, 73] Operation: 92-19=73
Exploring Operation: 19+7=26, Resulting Numbers: [92, 60, 26]
Generated Node #0,2: 58:[92, 60, 26] Operation: 19+7=26
Exploring Operation: 19-7=12, Resulting Numbers: [92, 60, 12]
Generated Node #0,3: 58:[92, 60, 12] Operation: 19-7=12
Exploring Operation: 92-60=32, Resulting Numbers: [19, 7, 32]
Generated Node #0,4: 58:[19, 7, 32] Operation: 92-60=32
Start Sub Search at level 1: Moving to Node #0,4
Current State: 58:[19, 7, 32], Operations: ['92-60=32']
Exploring Operation: 19+7=26, Resulting Numbers: [32, 26]
Generated Node #0,4,0: 58:[32, 26] Operation: 19+7=26
Exploring Operation: 19-7=12, Resulting Numbers: [32, 12]
Generated Node #0,4,1: 58:[32, 12] Operation: 19-7=12
Exploring Operation: 19+32=51, Resulting Numbers: [7, 51]
Generated Node #0,4,2: 58:[7, 51] Operation: 19+32=51
Exploring Operation: 32-19=13, Resulting Numbers: [7, 13]
Generated Node #0,4,3: 58:[7, 13] Operation: 32-19=13
Exploring Operation: 32-7=25, Resulting Numbers: [19, 25]
Generated Node #0,4,4: 58:[19, 25] Operation: 32-7=25
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 58:[32, 26], Operations: ['92-60=32', '19+7=26']
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[92, 60, 19, 7], Operations: []
Exploring Operation: 92-60=32, Resulting Numbers: [19, 7, 32]
Generated Node #0,4: 58:[19, 7, 32] Operation: 92-60=32
Moving to Node #0,4
Current State: 58:[19, 7, 32], Operations: ['92-60=32']
Exploring Operation: 19+7=26, Resulting Numbers: [32, 26]
Generated Node #0,4,0: 58:[32, 26] Operation: 19+7=26
Moving to Node #0,4,0
Current State: 58:[32, 26], Operations: ['92-60=32', '19+7=26']
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
40,
29,
10,
49
] | 74 | [
"40/10=4",
"29+49=78",
"78-4=74"
] | Current State: 74:[40, 29, 10, 49], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [29, 49, 4]
Generated Node #2: [29, 49, 4] from Operation: 40/10=4
Current State: 74:[29, 49, 4], Operations: ['40/10=4']
Exploring Operation: 29+49=78, Resulting Numbers: [4, 78]
Generated Node #3: [4, 78] from Operation: 29+49=78
Current State: 74:[4, 78], Operations: ['40/10=4', '29+49=78']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[40, 29, 10, 49], Operations: []
Exploring Operation: 29+49=78, Resulting Numbers: [40, 10, 78]
Generated Node #0,0: 74:[40, 10, 78] Operation: 29+49=78
Exploring Operation: 49-10=39, Resulting Numbers: [40, 29, 39]
Generated Node #0,1: 74:[40, 29, 39] Operation: 49-10=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[40, 29, 39], Operations: ['49-10=39']
Exploring Operation: 40-39=1, Resulting Numbers: [29, 1]
Generated Node #0,1,0: 74:[29, 1] Operation: 40-39=1
Exploring Operation: 40+29=69, Resulting Numbers: [39, 69]
Generated Node #0,1,1: 74:[39, 69] Operation: 40+29=69
Moving to Node #0,1,1
Current State: 74:[39, 69], Operations: ['49-10=39', '40+29=69']
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,74 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[29, 1], Operations: ['49-10=39', '40-39=1']
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,74 unequal: No Solution
No 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: 74:[40, 10, 78], Operations: ['29+49=78']
Exploring Operation: 40/10=4, Resulting Numbers: [78, 4]
Generated Node #0,0,0: 74:[78, 4] Operation: 40/10=4
Exploring Operation: 78-40=38, Resulting Numbers: [10, 38]
Generated Node #0,0,1: 74:[10, 38] Operation: 78-40=38
Moving to Node #0,0,0
Current State: 74:[78, 4], Operations: ['29+49=78', '40/10=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[40, 29, 10, 49], Operations: []
Exploring Operation: 29+49=78, Resulting Numbers: [40, 10, 78]
Generated Node #0,0: 74:[40, 10, 78] Operation: 29+49=78
Moving to Node #0,0
Current State: 74:[40, 10, 78], Operations: ['29+49=78']
Exploring Operation: 40/10=4, Resulting Numbers: [78, 4]
Generated Node #0,0,0: 74:[78, 4] Operation: 40/10=4
Moving to Node #0,0,0
Current State: 74:[78, 4], Operations: ['29+49=78', '40/10=4']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
50,
17,
32,
84
] | 15 | [
"50+17=67",
"84-32=52",
"67-52=15"
] | Current State: 15:[50, 17, 32, 84], Operations: []
Exploring Operation: 50+17=67, Resulting Numbers: [32, 84, 67]
Generated Node #2: [32, 84, 67] from Operation: 50+17=67
Current State: 15:[32, 84, 67], Operations: ['50+17=67']
Exploring Operation: 84-32=52, Resulting Numbers: [67, 52]
Generated Node #3: [67, 52] from Operation: 84-32=52
Current State: 15:[67, 52], Operations: ['50+17=67', '84-32=52']
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[50, 17, 32, 84], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [17, 32, 34]
Generated Node #0,0: 15:[17, 32, 34] Operation: 84-50=34
Exploring Operation: 50-32=18, Resulting Numbers: [17, 84, 18]
Generated Node #0,1: 15:[17, 84, 18] Operation: 50-32=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[17, 32, 34], Operations: ['84-50=34']
Exploring Operation: 34-32=2, Resulting Numbers: [17, 2]
Generated Node #0,0,0: 15:[17, 2] Operation: 34-32=2
Exploring Operation: 34/17=2, Resulting Numbers: [32, 2]
Generated Node #0,0,1: 15:[32, 2] Operation: 34/17=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[17, 2], Operations: ['84-50=34', '34-32=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[50, 17, 32, 84], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [17, 32, 34]
Generated Node #0,0: 15:[17, 32, 34] Operation: 84-50=34
Moving to Node #0,0
Current State: 15:[17, 32, 34], Operations: ['84-50=34']
Exploring Operation: 34-32=2, Resulting Numbers: [17, 2]
Generated Node #0,0,0: 15:[17, 2] Operation: 34-32=2
Moving to Node #0,0,0
Current State: 15:[17, 2], Operations: ['84-50=34', '34-32=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
58,
6,
21,
45
] | 14 | [
"58-6=52",
"21+45=66",
"66-52=14"
] | Current State: 14:[58, 6, 21, 45], Operations: []
Exploring Operation: 58-6=52, Resulting Numbers: [21, 45, 52]
Generated Node #2: [21, 45, 52] from Operation: 58-6=52
Current State: 14:[21, 45, 52], Operations: ['58-6=52']
Exploring Operation: 21+45=66, Resulting Numbers: [52, 66]
Generated Node #3: [52, 66] from Operation: 21+45=66
Current State: 14:[52, 66], Operations: ['58-6=52', '21+45=66']
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[58, 6, 21, 45], Operations: []
Exploring Operation: 58-45=13, Resulting Numbers: [6, 21, 13]
Generated Node #0,0: 14:[6, 21, 13] Operation: 58-45=13
Exploring Operation: 45-21=24, Resulting Numbers: [58, 6, 24]
Generated Node #0,1: 14:[58, 6, 24] Operation: 45-21=24
Exploring Operation: 58-21=37, Resulting Numbers: [6, 45, 37]
Generated Node #0,2: 14:[6, 45, 37] Operation: 58-21=37
Moving to Node #0,0
Current State: 14:[6, 21, 13], Operations: ['58-45=13']
Exploring Operation: 21-13=8, Resulting Numbers: [6, 8]
Generated Node #0,0,0: 14:[6, 8] Operation: 21-13=8
Exploring Operation: 21-6=15, Resulting Numbers: [13, 15]
Generated Node #0,0,1: 14:[13, 15] Operation: 21-6=15
Exploring Operation: 13-6=7, Resulting Numbers: [21, 7]
Generated Node #0,0,2: 14:[21, 7] Operation: 13-6=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[6, 8], Operations: ['58-45=13', '21-13=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[58, 6, 21, 45], Operations: []
Exploring Operation: 58-45=13, Resulting Numbers: [6, 21, 13]
Generated Node #0,0: 14:[6, 21, 13] Operation: 58-45=13
Moving to Node #0,0
Current State: 14:[6, 21, 13], Operations: ['58-45=13']
Exploring Operation: 21-13=8, Resulting Numbers: [6, 8]
Generated Node #0,0,0: 14:[6, 8] Operation: 21-13=8
Moving to Node #0,0,0
Current State: 14:[6, 8], Operations: ['58-45=13', '21-13=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
36,
98,
19,
19
] | 61 | [
"98-36=62",
"19/19=1",
"62-1=61"
] | Current State: 61:[36, 98, 19, 19], Operations: []
Exploring Operation: 98-36=62, Resulting Numbers: [19, 19, 62]
Generated Node #2: [19, 19, 62] from Operation: 98-36=62
Current State: 61:[19, 19, 62], Operations: ['98-36=62']
Exploring Operation: 19/19=1, Resulting Numbers: [62, 1]
Generated Node #3: [62, 1] from Operation: 19/19=1
Current State: 61:[62, 1], Operations: ['98-36=62', '19/19=1']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[36, 98, 19, 19], Operations: []
Exploring Operation: 36+19=55, Resulting Numbers: [98, 19, 55]
Generated Node #0,0: 61:[98, 19, 55] Operation: 36+19=55
Exploring Operation: 36+19=55, Resulting Numbers: [98, 19, 55]
Generated Node #0,1: 61:[98, 19, 55] Operation: 36+19=55
Exploring Operation: 98-36=62, Resulting Numbers: [19, 19, 62]
Generated Node #0,2: 61:[19, 19, 62] Operation: 98-36=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[98, 19, 55], Operations: ['36+19=55']
Exploring Operation: 98-55=43, Resulting Numbers: [19, 43]
Generated Node #0,0,0: 61:[19, 43] Operation: 98-55=43
Exploring Operation: 98-19=79, Resulting Numbers: [55, 79]
Generated Node #0,0,1: 61:[55, 79] Operation: 98-19=79
Exploring Operation: 19+55=74, Resulting Numbers: [98, 74]
Generated Node #0,0,2: 61:[98, 74] Operation: 19+55=74
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[55, 79], Operations: ['36+19=55', '98-19=79']
Exploring Operation: 55+79=134, Resulting Numbers: [134]
134,61 unequal: No Solution
Exploring Operation: 55*79=4345, Resulting Numbers: [4345]
4345,61 unequal: No Solution
Exploring Operation: 79-55=24, Resulting Numbers: [24]
24,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 61:[98, 74], Operations: ['36+19=55', '19+55=74']
Exploring Operation: 98+74=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Exploring Operation: 98-74=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 98*74=7252, Resulting Numbers: [7252]
7252,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[19, 43], Operations: ['36+19=55', '98-55=43']
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[98, 19, 55], Operations: ['36+19=55']
Exploring Operation: 19+55=74, Resulting Numbers: [98, 74]
Generated Node #0,1,0: 61:[98, 74] Operation: 19+55=74
Exploring Operation: 98-19=79, Resulting Numbers: [55, 79]
Generated Node #0,1,1: 61:[55, 79] Operation: 98-19=79
Exploring Operation: 98-55=43, Resulting Numbers: [19, 43]
Generated Node #0,1,2: 61:[19, 43] Operation: 98-55=43
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[55, 79], Operations: ['36+19=55', '98-19=79']
Exploring Operation: 55+79=134, Resulting Numbers: [134]
134,61 unequal: No Solution
Exploring Operation: 79-55=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 55*79=4345, Resulting Numbers: [4345]
4345,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[98, 74], Operations: ['36+19=55', '19+55=74']
Exploring Operation: 98*74=7252, Resulting Numbers: [7252]
7252,61 unequal: No Solution
Exploring Operation: 98-74=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 98+74=172, Resulting Numbers: [172]
172,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[19, 43], Operations: ['36+19=55', '98-55=43']
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[19, 19, 62], Operations: ['98-36=62']
Exploring Operation: 62-19=43, Resulting Numbers: [19, 43]
Generated Node #0,2,0: 61:[19, 43] Operation: 62-19=43
Exploring Operation: 62-19=43, Resulting Numbers: [19, 43]
Generated Node #0,2,1: 61:[19, 43] Operation: 62-19=43
Exploring Operation: 19+19=38, Resulting Numbers: [62, 38]
Generated Node #0,2,2: 61:[62, 38] Operation: 19+19=38
Moving to Node #0,2,2
Current State: 61:[62, 38], Operations: ['98-36=62', '19+19=38']
Exploring Operation: 62*38=2356, Resulting Numbers: [2356]
2356,61 unequal: No Solution
Exploring Operation: 62+38=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[19, 43], Operations: ['98-36=62', '62-19=43']
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,61 unequal: No Solution
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[19, 43], Operations: ['98-36=62', '62-19=43']
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
24,
59,
8,
4
] | 59 | [
"24/8=3",
"4-3=1",
"59*1=59"
] | Current State: 59:[24, 59, 8, 4], Operations: []
Exploring Operation: 24/8=3, Resulting Numbers: [59, 4, 3]
Generated Node #2: [59, 4, 3] from Operation: 24/8=3
Current State: 59:[59, 4, 3], Operations: ['24/8=3']
Exploring Operation: 4-3=1, Resulting Numbers: [59, 1]
Generated Node #3: [59, 1] from Operation: 4-3=1
Current State: 59:[59, 1], Operations: ['24/8=3', '4-3=1']
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[24, 59, 8, 4], Operations: []
Exploring Operation: 8*4=32, Resulting Numbers: [24, 59, 32]
Generated Node #0,0: 59:[24, 59, 32] Operation: 8*4=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[24, 59, 32], Operations: ['8*4=32']
Exploring Operation: 24+32=56, Resulting Numbers: [59, 56]
Generated Node #0,0,0: 59:[59, 56] Operation: 24+32=56
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[59, 56], Operations: ['8*4=32', '24+32=56']
Exploring Operation: 59+56=115, Resulting Numbers: [115]
115,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
9,
4,
27
] | 54 | [
"9-7=2",
"4*27=108",
"108/2=54"
] | Current State: 54:[7, 9, 4, 27], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [4, 27, 2]
Generated Node #2: [4, 27, 2] from Operation: 9-7=2
Current State: 54:[4, 27, 2], Operations: ['9-7=2']
Exploring Operation: 4*27=108, Resulting Numbers: [2, 108]
Generated Node #3: [2, 108] from Operation: 4*27=108
Current State: 54:[2, 108], Operations: ['9-7=2', '4*27=108']
Exploring Operation: 108/2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[7, 9, 4, 27], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [4, 27, 2]
Generated Node #0,0: 54:[4, 27, 2] Operation: 9-7=2
Exploring Operation: 7-4=3, Resulting Numbers: [9, 27, 3]
Generated Node #0,1: 54:[9, 27, 3] Operation: 7-4=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[9, 27, 3], Operations: ['7-4=3']
Exploring Operation: 27/9=3, Resulting Numbers: [3, 3]
Generated Node #0,1,0: 54:[3, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [3, 18]
Generated Node #0,1,1: 54:[3, 18] Operation: 27-9=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[3, 3], Operations: ['7-4=3', '27/9=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[3, 18], Operations: ['7-4=3', '27-9=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[7, 9, 4, 27], Operations: []
Exploring Operation: 7-4=3, Resulting Numbers: [9, 27, 3]
Generated Node #0,1: 54:[9, 27, 3] Operation: 7-4=3
Moving to Node #0,1
Current State: 54:[9, 27, 3], Operations: ['7-4=3']
Exploring Operation: 27-9=18, Resulting Numbers: [3, 18]
Generated Node #0,1,1: 54:[3, 18] Operation: 27-9=18
Moving to Node #0,1,1
Current State: 54:[3, 18], Operations: ['7-4=3', '27-9=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
69,
14,
67,
61
] | 94 | [
"69-67=2",
"61-14=47",
"2*47=94"
] | Current State: 94:[69, 14, 67, 61], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [14, 61, 2]
Generated Node #2: [14, 61, 2] from Operation: 69-67=2
Current State: 94:[14, 61, 2], Operations: ['69-67=2']
Exploring Operation: 61-14=47, Resulting Numbers: [2, 47]
Generated Node #3: [2, 47] from Operation: 61-14=47
Current State: 94:[2, 47], Operations: ['69-67=2', '61-14=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[69, 14, 67, 61], Operations: []
Exploring Operation: 69-61=8, Resulting Numbers: [14, 67, 8]
Generated Node #0,0: 94:[14, 67, 8] Operation: 69-61=8
Exploring Operation: 69-67=2, Resulting Numbers: [14, 61, 2]
Generated Node #0,1: 94:[14, 61, 2] Operation: 69-67=2
Exploring Operation: 67-61=6, Resulting Numbers: [69, 14, 6]
Generated Node #0,2: 94:[69, 14, 6] Operation: 67-61=6
Exploring Operation: 69-14=55, Resulting Numbers: [67, 61, 55]
Generated Node #0,3: 94:[67, 61, 55] Operation: 69-14=55
Moving to Node #0,1
Current State: 94:[14, 61, 2], Operations: ['69-67=2']
Exploring Operation: 14-2=12, Resulting Numbers: [61, 12]
Generated Node #0,1,0: 94:[61, 12] Operation: 14-2=12
Exploring Operation: 14/2=7, Resulting Numbers: [61, 7]
Generated Node #0,1,1: 94:[61, 7] Operation: 14/2=7
Exploring Operation: 61-14=47, Resulting Numbers: [2, 47]
Generated Node #0,1,2: 94:[2, 47] Operation: 61-14=47
Exploring Operation: 14+61=75, Resulting Numbers: [2, 75]
Generated Node #0,1,3: 94:[2, 75] Operation: 14+61=75
Moving to Node #0,2
Current State: 94:[69, 14, 6], Operations: ['67-61=6']
Exploring Operation: 14-6=8, Resulting Numbers: [69, 8]
Generated Node #0,2,0: 94:[69, 8] Operation: 14-6=8
Exploring Operation: 69-14=55, Resulting Numbers: [6, 55]
Generated Node #0,2,1: 94:[6, 55] Operation: 69-14=55
Exploring Operation: 69-6=63, Resulting Numbers: [14, 63]
Generated Node #0,2,2: 94:[14, 63] Operation: 69-6=63
Exploring Operation: 69+14=83, Resulting Numbers: [6, 83]
Generated Node #0,2,3: 94:[6, 83] Operation: 69+14=83
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[6, 55], Operations: ['67-61=6', '69-14=55']
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,94 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[6, 83], Operations: ['67-61=6', '69+14=83']
Exploring Operation: 6*83=498, Resulting Numbers: [498]
498,94 unequal: No Solution
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,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:[69, 8], Operations: ['67-61=6', '14-6=8']
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,94 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,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:[14, 63], Operations: ['67-61=6', '69-6=63']
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,94 unequal: No Solution
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,94 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,94 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: 94:[14, 67, 8], Operations: ['69-61=8']
Exploring Operation: 67-8=59, Resulting Numbers: [14, 59]
Generated Node #0,0,0: 94:[14, 59] Operation: 67-8=59
Exploring Operation: 67-14=53, Resulting Numbers: [8, 53]
Generated Node #0,0,1: 94:[8, 53] Operation: 67-14=53
Exploring Operation: 14-8=6, Resulting Numbers: [67, 6]
Generated Node #0,0,2: 94:[67, 6] Operation: 14-8=6
Exploring Operation: 14+67=81, Resulting Numbers: [8, 81]
Generated Node #0,0,3: 94:[8, 81] Operation: 14+67=81
Moving to Node #0,3
Current State: 94:[67, 61, 55], Operations: ['69-14=55']
Exploring Operation: 67-61=6, Resulting Numbers: [55, 6]
Generated Node #0,3,0: 94:[55, 6] Operation: 67-61=6
Exploring Operation: 61-55=6, Resulting Numbers: [67, 6]
Generated Node #0,3,1: 94:[67, 6] Operation: 61-55=6
Exploring Operation: 67-55=12, Resulting Numbers: [61, 12]
Generated Node #0,3,2: 94:[61, 12] Operation: 67-55=12
Exploring Operation: 67+61=128, Resulting Numbers: [55, 128]
Generated Node #0,3,3: 94:[55, 128] Operation: 67+61=128
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 94:[55, 6], Operations: ['69-14=55', '67-61=6']
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,94 unequal: No Solution
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,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:[67, 6], Operations: ['69-14=55', '61-55=6']
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 67*6=402, Resulting Numbers: [402]
402,94 unequal: No Solution
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,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:[61, 12], Operations: ['69-14=55', '67-55=12']
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,94 unequal: No Solution
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,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,3
Current State: 94:[55, 128], Operations: ['69-14=55', '67+61=128']
Exploring Operation: 55+128=183, Resulting Numbers: [183]
183,94 unequal: No Solution
Exploring Operation: 128-55=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 55*128=7040, Resulting Numbers: [7040]
7040,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 94:[2, 47], Operations: ['69-67=2', '61-14=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[69, 14, 67, 61], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [14, 61, 2]
Generated Node #0,1: 94:[14, 61, 2] Operation: 69-67=2
Moving to Node #0,1
Current State: 94:[14, 61, 2], Operations: ['69-67=2']
Exploring Operation: 61-14=47, Resulting Numbers: [2, 47]
Generated Node #0,1,2: 94:[2, 47] Operation: 61-14=47
Moving to Node #0,1,2
Current State: 94:[2, 47], Operations: ['69-67=2', '61-14=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.955729 | hs_4 | sum_heuristic |
[
18,
62,
28,
36
] | 16 | [
"18+62=80",
"28+36=64",
"80-64=16"
] | Current State: 16:[18, 62, 28, 36], Operations: []
Exploring Operation: 18+62=80, Resulting Numbers: [28, 36, 80]
Generated Node #2: [28, 36, 80] from Operation: 18+62=80
Current State: 16:[28, 36, 80], Operations: ['18+62=80']
Exploring Operation: 28+36=64, Resulting Numbers: [80, 64]
Generated Node #3: [80, 64] from Operation: 28+36=64
Current State: 16:[80, 64], Operations: ['18+62=80', '28+36=64']
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[18, 62, 28, 36], Operations: []
Exploring Operation: 62-36=26, Resulting Numbers: [18, 28, 26]
Generated Node #0,0: 16:[18, 28, 26] Operation: 62-36=26
Exploring Operation: 62-28=34, Resulting Numbers: [18, 36, 34]
Generated Node #0,1: 16:[18, 36, 34] Operation: 62-28=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[18, 28, 26], Operations: ['62-36=26']
Exploring Operation: 28-26=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 16:[18, 2] Operation: 28-26=2
Exploring Operation: 28-18=10, Resulting Numbers: [26, 10]
Generated Node #0,0,1: 16:[26, 10] Operation: 28-18=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[18, 2], Operations: ['62-36=26', '28-26=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[18, 62, 28, 36], Operations: []
Exploring Operation: 62-36=26, Resulting Numbers: [18, 28, 26]
Generated Node #0,0: 16:[18, 28, 26] Operation: 62-36=26
Moving to Node #0,0
Current State: 16:[18, 28, 26], Operations: ['62-36=26']
Exploring Operation: 28-26=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 16:[18, 2] Operation: 28-26=2
Moving to Node #0,0,0
Current State: 16:[18, 2], Operations: ['62-36=26', '28-26=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
21,
13,
92,
36
] | 25 | [
"36-13=23",
"92/23=4",
"21+4=25"
] | Current State: 25:[21, 13, 92, 36], Operations: []
Exploring Operation: 36-13=23, Resulting Numbers: [21, 92, 23]
Generated Node #2: [21, 92, 23] from Operation: 36-13=23
Current State: 25:[21, 92, 23], Operations: ['36-13=23']
Exploring Operation: 92/23=4, Resulting Numbers: [21, 4]
Generated Node #3: [21, 4] from Operation: 92/23=4
Current State: 25:[21, 4], Operations: ['36-13=23', '92/23=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[21, 13, 92, 36], Operations: []
Exploring Operation: 92-13=79, Resulting Numbers: [21, 36, 79]
Generated Node #0,0: 25:[21, 36, 79] Operation: 92-13=79
Exploring Operation: 92-36=56, Resulting Numbers: [21, 13, 56]
Generated Node #0,1: 25:[21, 13, 56] Operation: 92-36=56
Exploring Operation: 36-13=23, Resulting Numbers: [21, 92, 23]
Generated Node #0,2: 25:[21, 92, 23] Operation: 36-13=23
Exploring Operation: 92-21=71, Resulting Numbers: [13, 36, 71]
Generated Node #0,3: 25:[13, 36, 71] Operation: 92-21=71
Moving to Node #0,1
Current State: 25:[21, 13, 56], Operations: ['92-36=56']
Exploring Operation: 56-13=43, Resulting Numbers: [21, 43]
Generated Node #0,1,0: 25:[21, 43] Operation: 56-13=43
Exploring Operation: 21-13=8, Resulting Numbers: [56, 8]
Generated Node #0,1,1: 25:[56, 8] Operation: 21-13=8
Exploring Operation: 21+13=34, Resulting Numbers: [56, 34]
Generated Node #0,1,2: 25:[56, 34] Operation: 21+13=34
Exploring Operation: 56-21=35, Resulting Numbers: [13, 35]
Generated Node #0,1,3: 25:[13, 35] Operation: 56-21=35
Moving to Node #0,3
Current State: 25:[13, 36, 71], Operations: ['92-21=71']
Exploring Operation: 13+36=49, Resulting Numbers: [71, 49]
Generated Node #0,3,0: 25:[71, 49] Operation: 13+36=49
Exploring Operation: 71-13=58, Resulting Numbers: [36, 58]
Generated Node #0,3,1: 25:[36, 58] Operation: 71-13=58
Exploring Operation: 36-13=23, Resulting Numbers: [71, 23]
Generated Node #0,3,2: 25:[71, 23] Operation: 36-13=23
Exploring Operation: 71-36=35, Resulting Numbers: [13, 35]
Generated Node #0,3,3: 25:[13, 35] Operation: 71-36=35
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 25:[13, 35], Operations: ['92-21=71', '71-36=35']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 13*35=455, Resulting Numbers: [455]
455,25 unequal: No Solution
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,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,3,1
Current State: 25:[36, 58], Operations: ['92-21=71', '71-13=58']
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,25 unequal: No Solution
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,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,3,2
Current State: 25:[71, 23], Operations: ['92-21=71', '36-13=23']
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,25 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,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,3,0
Current State: 25:[71, 49], Operations: ['92-21=71', '13+36=49']
Exploring Operation: 71*49=3479, Resulting Numbers: [3479]
3479,25 unequal: No Solution
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 71+49=120, Resulting Numbers: [120]
120,25 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: 25:[21, 36, 79], Operations: ['92-13=79']
Exploring Operation: 36-21=15, Resulting Numbers: [79, 15]
Generated Node #0,0,0: 25:[79, 15] Operation: 36-21=15
Exploring Operation: 79-21=58, Resulting Numbers: [36, 58]
Generated Node #0,0,1: 25:[36, 58] Operation: 79-21=58
Exploring Operation: 79-36=43, Resulting Numbers: [21, 43]
Generated Node #0,0,2: 25:[21, 43] Operation: 79-36=43
Exploring Operation: 21+36=57, Resulting Numbers: [79, 57]
Generated Node #0,0,3: 25:[79, 57] Operation: 21+36=57
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[21, 43], Operations: ['92-13=79', '79-36=43']
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,25 unequal: No Solution
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,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:[36, 58], Operations: ['92-13=79', '79-21=58']
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,25 unequal: No Solution
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,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,0
Current State: 25:[79, 15], Operations: ['92-13=79', '36-21=15']
Exploring Operation: 79+15=94, Resulting Numbers: [94]
94,25 unequal: No Solution
Exploring Operation: 79*15=1185, Resulting Numbers: [1185]
1185,25 unequal: No Solution
Exploring Operation: 79-15=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,3
Current State: 25:[79, 57], Operations: ['92-13=79', '21+36=57']
Exploring Operation: 79-57=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 79+57=136, Resulting Numbers: [136]
136,25 unequal: No Solution
Exploring Operation: 79*57=4503, Resulting Numbers: [4503]
4503,25 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: 25:[21, 92, 23], Operations: ['36-13=23']
Exploring Operation: 23-21=2, Resulting Numbers: [92, 2]
Generated Node #0,2,0: 25:[92, 2] Operation: 23-21=2
Exploring Operation: 92-23=69, Resulting Numbers: [21, 69]
Generated Node #0,2,1: 25:[21, 69] Operation: 92-23=69
Exploring Operation: 92/23=4, Resulting Numbers: [21, 4]
Generated Node #0,2,2: 25:[21, 4] Operation: 92/23=4
Exploring Operation: 92-21=71, Resulting Numbers: [23, 71]
Generated Node #0,2,3: 25:[23, 71] Operation: 92-21=71
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[21, 4], Operations: ['36-13=23', '92/23=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,25 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[21, 13, 92, 36], Operations: []
Exploring Operation: 36-13=23, Resulting Numbers: [21, 92, 23]
Generated Node #0,2: 25:[21, 92, 23] Operation: 36-13=23
Moving to Node #0,2
Current State: 25:[21, 92, 23], Operations: ['36-13=23']
Exploring Operation: 92/23=4, Resulting Numbers: [21, 4]
Generated Node #0,2,2: 25:[21, 4] Operation: 92/23=4
Moving to Node #0,2,2
Current State: 25:[21, 4], Operations: ['36-13=23', '92/23=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_4 | mult_heuristic |
[
7,
80,
84,
98
] | 42 | [
"98-80=18",
"7*18=126",
"126-84=42"
] | Current State: 42:[7, 80, 84, 98], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [7, 84, 18]
Generated Node #2: [7, 84, 18] from Operation: 98-80=18
Current State: 42:[7, 84, 18], Operations: ['98-80=18']
Exploring Operation: 7*18=126, Resulting Numbers: [84, 126]
Generated Node #3: [84, 126] from Operation: 7*18=126
Current State: 42:[84, 126], Operations: ['98-80=18', '7*18=126']
Exploring Operation: 126-84=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[7, 80, 84, 98], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [7, 84, 18]
Generated Node #0,0: 42:[7, 84, 18] Operation: 98-80=18
Exploring Operation: 98-84=14, Resulting Numbers: [7, 80, 14]
Generated Node #0,1: 42:[7, 80, 14] Operation: 98-84=14
Moving to Node #0,1
Current State: 42:[7, 80, 14], Operations: ['98-84=14']
Exploring Operation: 80-14=66, Resulting Numbers: [7, 66]
Generated Node #0,1,0: 42:[7, 66] Operation: 80-14=66
Exploring Operation: 80-7=73, Resulting Numbers: [14, 73]
Generated Node #0,1,1: 42:[14, 73] Operation: 80-7=73
Moving to Node #0,0
Current State: 42:[7, 84, 18], Operations: ['98-80=18']
Exploring Operation: 84-18=66, Resulting Numbers: [7, 66]
Generated Node #0,0,0: 42:[7, 66] Operation: 84-18=66
Exploring Operation: 84/7=12, Resulting Numbers: [18, 12]
Generated Node #0,0,1: 42:[18, 12] Operation: 84/7=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[18, 12], Operations: ['98-80=18', '84/7=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,42 unequal: No Solution
No 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: 42:[7, 66], Operations: ['98-80=18', '84-18=66']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 42:[7, 66], Operations: ['98-84=14', '80-14=66']
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,42 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[14, 73], Operations: ['98-84=14', '80-7=73']
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,42 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,42 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
10,
49,
61,
2
] | 65 | [
"49+61=110",
"110/2=55",
"10+55=65"
] | Current State: 65:[10, 49, 61, 2], Operations: []
Exploring Operation: 49+61=110, Resulting Numbers: [10, 2, 110]
Generated Node #2: [10, 2, 110] from Operation: 49+61=110
Current State: 65:[10, 2, 110], Operations: ['49+61=110']
Exploring Operation: 110/2=55, Resulting Numbers: [10, 55]
Generated Node #3: [10, 55] from Operation: 110/2=55
Current State: 65:[10, 55], Operations: ['49+61=110', '110/2=55']
Exploring Operation: 10+55=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[10, 49, 61, 2], Operations: []
Exploring Operation: 61-49=12, Resulting Numbers: [10, 2, 12]
Generated Node #0,0: 65:[10, 2, 12] Operation: 61-49=12
Exploring Operation: 10+49=59, Resulting Numbers: [61, 2, 59]
Generated Node #0,1: 65:[61, 2, 59] Operation: 10+49=59
Moving to Node #0,0
Current State: 65:[10, 2, 12], Operations: ['61-49=12']
Exploring Operation: 10+2=12, Resulting Numbers: [12, 12]
Generated Node #0,0,0: 65:[12, 12] Operation: 10+2=12
Exploring Operation: 10/2=5, Resulting Numbers: [12, 5]
Generated Node #0,0,1: 65:[12, 5] Operation: 10/2=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[12, 5], Operations: ['61-49=12', '10/2=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[12, 12], Operations: ['61-49=12', '10+2=12']
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,65 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: 65:[61, 2, 59], Operations: ['10+49=59']
Exploring Operation: 61-59=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 65:[2, 2] Operation: 61-59=2
Exploring Operation: 61+2=63, Resulting Numbers: [59, 63]
Generated Node #0,1,1: 65:[59, 63] Operation: 61+2=63
Moving to Node #0,1,0
Current State: 65:[2, 2], Operations: ['10+49=59', '61-59=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[59, 63], Operations: ['10+49=59', '61+2=63']
Exploring Operation: 63-59=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 59+63=122, Resulting Numbers: [122]
122,65 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
26,
20,
98,
95
] | 49 | [
"26+20=46",
"98-95=3",
"46+3=49"
] | Current State: 49:[26, 20, 98, 95], Operations: []
Exploring Operation: 26+20=46, Resulting Numbers: [98, 95, 46]
Generated Node #2: [98, 95, 46] from Operation: 26+20=46
Current State: 49:[98, 95, 46], Operations: ['26+20=46']
Exploring Operation: 98-95=3, Resulting Numbers: [46, 3]
Generated Node #3: [46, 3] from Operation: 98-95=3
Current State: 49:[46, 3], Operations: ['26+20=46', '98-95=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[26, 20, 98, 95], Operations: []
Exploring Operation: 98-20=78, Resulting Numbers: [26, 95, 78]
Generated Node #0,0: 49:[26, 95, 78] Operation: 98-20=78
Exploring Operation: 98-26=72, Resulting Numbers: [20, 95, 72]
Generated Node #0,1: 49:[20, 95, 72] Operation: 98-26=72
Exploring Operation: 95-26=69, Resulting Numbers: [20, 98, 69]
Generated Node #0,2: 49:[20, 98, 69] Operation: 95-26=69
Exploring Operation: 98-95=3, Resulting Numbers: [26, 20, 3]
Generated Node #0,3: 49:[26, 20, 3] Operation: 98-95=3
Moving to Node #0,3
Current State: 49:[26, 20, 3], Operations: ['98-95=3']
Exploring Operation: 20-3=17, Resulting Numbers: [26, 17]
Generated Node #0,3,0: 49:[26, 17] Operation: 20-3=17
Exploring Operation: 26+20=46, Resulting Numbers: [3, 46]
Generated Node #0,3,1: 49:[3, 46] Operation: 26+20=46
Exploring Operation: 26-20=6, Resulting Numbers: [3, 6]
Generated Node #0,3,2: 49:[3, 6] Operation: 26-20=6
Exploring Operation: 26-3=23, Resulting Numbers: [20, 23]
Generated Node #0,3,3: 49:[20, 23] Operation: 26-3=23
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[3, 6], Operations: ['98-95=3', '26-20=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,49 unequal: No Solution
No 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: 49:[3, 46], Operations: ['98-95=3', '26+20=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[26, 20, 98, 95], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [26, 20, 3]
Generated Node #0,3: 49:[26, 20, 3] Operation: 98-95=3
Moving to Node #0,3
Current State: 49:[26, 20, 3], Operations: ['98-95=3']
Exploring Operation: 26+20=46, Resulting Numbers: [3, 46]
Generated Node #0,3,1: 49:[3, 46] Operation: 26+20=46
Moving to Node #0,3,1
Current State: 49:[3, 46], Operations: ['98-95=3', '26+20=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
14,
82,
50,
45
] | 63 | [
"82-14=68",
"50-45=5",
"68-5=63"
] | Current State: 63:[14, 82, 50, 45], Operations: []
Exploring Operation: 82-14=68, Resulting Numbers: [50, 45, 68]
Generated Node #2: [50, 45, 68] from Operation: 82-14=68
Current State: 63:[50, 45, 68], Operations: ['82-14=68']
Exploring Operation: 50-45=5, Resulting Numbers: [68, 5]
Generated Node #3: [68, 5] from Operation: 50-45=5
Current State: 63:[68, 5], Operations: ['82-14=68', '50-45=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[14, 82, 50, 45], Operations: []
Exploring Operation: 82-50=32, Resulting Numbers: [14, 45, 32]
Generated Node #0,0: 63:[14, 45, 32] Operation: 82-50=32
Exploring Operation: 50-45=5, Resulting Numbers: [14, 82, 5]
Generated Node #0,1: 63:[14, 82, 5] Operation: 50-45=5
Moving to Node #0,1
Current State: 63:[14, 82, 5], Operations: ['50-45=5']
Exploring Operation: 82-14=68, Resulting Numbers: [5, 68]
Generated Node #0,1,0: 63:[5, 68] Operation: 82-14=68
Exploring Operation: 14-5=9, Resulting Numbers: [82, 9]
Generated Node #0,1,1: 63:[82, 9] Operation: 14-5=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[5, 68], Operations: ['50-45=5', '82-14=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[14, 82, 50, 45], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [14, 82, 5]
Generated Node #0,1: 63:[14, 82, 5] Operation: 50-45=5
Moving to Node #0,1
Current State: 63:[14, 82, 5], Operations: ['50-45=5']
Exploring Operation: 82-14=68, Resulting Numbers: [5, 68]
Generated Node #0,1,0: 63:[5, 68] Operation: 82-14=68
Moving to Node #0,1,0
Current State: 63:[5, 68], Operations: ['50-45=5', '82-14=68']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
30,
40,
69,
66
] | 65 | [
"30+40=70",
"69+66=135",
"135-70=65"
] | Current State: 65:[30, 40, 69, 66], Operations: []
Exploring Operation: 30+40=70, Resulting Numbers: [69, 66, 70]
Generated Node #2: [69, 66, 70] from Operation: 30+40=70
Current State: 65:[69, 66, 70], Operations: ['30+40=70']
Exploring Operation: 69+66=135, Resulting Numbers: [70, 135]
Generated Node #3: [70, 135] from Operation: 69+66=135
Current State: 65:[70, 135], Operations: ['30+40=70', '69+66=135']
Exploring Operation: 135-70=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[30, 40, 69, 66], Operations: []
Exploring Operation: 30+40=70, Resulting Numbers: [69, 66, 70]
Generated Node #0,0: 65:[69, 66, 70] Operation: 30+40=70
Exploring Operation: 69-40=29, Resulting Numbers: [30, 66, 29]
Generated Node #0,1: 65:[30, 66, 29] Operation: 69-40=29
Exploring Operation: 66-40=26, Resulting Numbers: [30, 69, 26]
Generated Node #0,2: 65:[30, 69, 26] Operation: 66-40=26
Exploring Operation: 40-30=10, Resulting Numbers: [69, 66, 10]
Generated Node #0,3: 65:[69, 66, 10] Operation: 40-30=10
Moving to Node #0,3
Current State: 65:[69, 66, 10], Operations: ['40-30=10']
Exploring Operation: 69-66=3, Resulting Numbers: [10, 3]
Generated Node #0,3,0: 65:[10, 3] Operation: 69-66=3
Exploring Operation: 69+10=79, Resulting Numbers: [66, 79]
Generated Node #0,3,1: 65:[66, 79] Operation: 69+10=79
Exploring Operation: 69-10=59, Resulting Numbers: [66, 59]
Generated Node #0,3,2: 65:[66, 59] Operation: 69-10=59
Exploring Operation: 66-10=56, Resulting Numbers: [69, 56]
Generated Node #0,3,3: 65:[69, 56] Operation: 66-10=56
Moving to Node #0,0
Current State: 65:[69, 66, 70], Operations: ['30+40=70']
Exploring Operation: 69-66=3, Resulting Numbers: [70, 3]
Generated Node #0,0,0: 65:[70, 3] Operation: 69-66=3
Exploring Operation: 70-69=1, Resulting Numbers: [66, 1]
Generated Node #0,0,1: 65:[66, 1] Operation: 70-69=1
Exploring Operation: 69+66=135, Resulting Numbers: [70, 135]
Generated Node #0,0,2: 65:[70, 135] Operation: 69+66=135
Exploring Operation: 70-66=4, Resulting Numbers: [69, 4]
Generated Node #0,0,3: 65:[69, 4] Operation: 70-66=4
Moving to Node #0,2
Current State: 65:[30, 69, 26], Operations: ['66-40=26']
Exploring Operation: 30-26=4, Resulting Numbers: [69, 4]
Generated Node #0,2,0: 65:[69, 4] Operation: 30-26=4
Exploring Operation: 30+26=56, Resulting Numbers: [69, 56]
Generated Node #0,2,1: 65:[69, 56] Operation: 30+26=56
Exploring Operation: 69-30=39, Resulting Numbers: [26, 39]
Generated Node #0,2,2: 65:[26, 39] Operation: 69-30=39
Exploring Operation: 69-26=43, Resulting Numbers: [30, 43]
Generated Node #0,2,3: 65:[30, 43] Operation: 69-26=43
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[69, 4], Operations: ['66-40=26', '30-26=4']
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[30, 40, 69, 66], Operations: []
Exploring Operation: 66-40=26, Resulting Numbers: [30, 69, 26]
Generated Node #0,2: 65:[30, 69, 26] Operation: 66-40=26
Moving to Node #0,2
Current State: 65:[30, 69, 26], Operations: ['66-40=26']
Exploring Operation: 30-26=4, Resulting Numbers: [69, 4]
Generated Node #0,2,0: 65:[69, 4] Operation: 30-26=4
Moving to Node #0,2,0
Current State: 65:[69, 4], Operations: ['66-40=26', '30-26=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
98,
79,
50,
19
] | 49 | [
"98-79=19",
"19/19=1",
"50-1=49"
] | Current State: 49:[98, 79, 50, 19], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [50, 19, 19]
Generated Node #2: [50, 19, 19] from Operation: 98-79=19
Current State: 49:[50, 19, 19], Operations: ['98-79=19']
Exploring Operation: 19/19=1, Resulting Numbers: [50, 1]
Generated Node #3: [50, 1] from Operation: 19/19=1
Current State: 49:[50, 1], Operations: ['98-79=19', '19/19=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[98, 79, 50, 19], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [50, 19, 19]
Generated Node #0,0: 49:[50, 19, 19] Operation: 98-79=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[50, 19, 19], Operations: ['98-79=19']
Exploring Operation: 19/19=1, Resulting Numbers: [50, 1]
Generated Node #0,0,0: 49:[50, 1] Operation: 19/19=1
Moving to Node #0,0,0
Current State: 49:[50, 1], Operations: ['98-79=19', '19/19=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[98, 79, 50, 19], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [50, 19, 19]
Generated Node #0,0: 49:[50, 19, 19] Operation: 98-79=19
Moving to Node #0,0
Current State: 49:[50, 19, 19], Operations: ['98-79=19']
Exploring Operation: 19/19=1, Resulting Numbers: [50, 1]
Generated Node #0,0,0: 49:[50, 1] Operation: 19/19=1
Moving to Node #0,0,0
Current State: 49:[50, 1], Operations: ['98-79=19', '19/19=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
62,
33,
7,
65
] | 39 | [
"62-7=55",
"33*65=2145",
"2145/55=39"
] | Current State: 39:[62, 33, 7, 65], Operations: []
Exploring Operation: 62-7=55, Resulting Numbers: [33, 65, 55]
Generated Node #2: [33, 65, 55] from Operation: 62-7=55
Current State: 39:[33, 65, 55], Operations: ['62-7=55']
Exploring Operation: 33*65=2145, Resulting Numbers: [55, 2145]
Generated Node #3: [55, 2145] from Operation: 33*65=2145
Current State: 39:[55, 2145], Operations: ['62-7=55', '33*65=2145']
Exploring Operation: 2145/55=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[62, 33, 7, 65], Operations: []
Exploring Operation: 62-7=55, Resulting Numbers: [33, 65, 55]
Generated Node #0,0: 39:[33, 65, 55] Operation: 62-7=55
Exploring Operation: 65-62=3, Resulting Numbers: [33, 7, 3]
Generated Node #0,1: 39:[33, 7, 3] Operation: 65-62=3
Exploring Operation: 65-33=32, Resulting Numbers: [62, 7, 32]
Generated Node #0,2: 39:[62, 7, 32] Operation: 65-33=32
Exploring Operation: 62-33=29, Resulting Numbers: [7, 65, 29]
Generated Node #0,3: 39:[7, 65, 29] Operation: 62-33=29
Moving to Node #0,1
Current State: 39:[33, 7, 3], Operations: ['65-62=3']
Exploring Operation: 7-3=4, Resulting Numbers: [33, 4]
Generated Node #0,1,0: 39:[33, 4] Operation: 7-3=4
Exploring Operation: 33+3=36, Resulting Numbers: [7, 36]
Generated Node #0,1,1: 39:[7, 36] Operation: 33+3=36
Exploring Operation: 33/3=11, Resulting Numbers: [7, 11]
Generated Node #0,1,2: 39:[7, 11] Operation: 33/3=11
Exploring Operation: 33+7=40, Resulting Numbers: [3, 40]
Generated Node #0,1,3: 39:[3, 40] Operation: 33+7=40
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[3, 40], Operations: ['65-62=3', '33+7=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[7, 11], Operations: ['65-62=3', '33/3=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,39 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[33, 4], Operations: ['65-62=3', '7-3=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,39 unequal: No Solution
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[7, 36], Operations: ['65-62=3', '33+3=36']
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,39 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 39:[62, 7, 32], Operations: ['65-33=32']
Exploring Operation: 32-7=25, Resulting Numbers: [62, 25]
Generated Node #0,2,0: 39:[62, 25] Operation: 32-7=25
Exploring Operation: 7+32=39, Resulting Numbers: [62, 39]
Generated Node #0,2,1: 39:[62, 39] Operation: 7+32=39
Exploring Operation: 62-7=55, Resulting Numbers: [32, 55]
Generated Node #0,2,2: 39:[32, 55] Operation: 62-7=55
Exploring Operation: 62-32=30, Resulting Numbers: [7, 30]
Generated Node #0,2,3: 39:[7, 30] Operation: 62-32=30
Moving to Node #0,3
Current State: 39:[7, 65, 29], Operations: ['62-33=29']
Exploring Operation: 29-7=22, Resulting Numbers: [65, 22]
Generated Node #0,3,0: 39:[65, 22] Operation: 29-7=22
Exploring Operation: 65-29=36, Resulting Numbers: [7, 36]
Generated Node #0,3,1: 39:[7, 36] Operation: 65-29=36
Exploring Operation: 7+29=36, Resulting Numbers: [65, 36]
Generated Node #0,3,2: 39:[65, 36] Operation: 7+29=36
Exploring Operation: 65-7=58, Resulting Numbers: [29, 58]
Generated Node #0,3,3: 39:[29, 58] Operation: 65-7=58
Moving to Node #0,0
Current State: 39:[33, 65, 55], Operations: ['62-7=55']
Exploring Operation: 55-33=22, Resulting Numbers: [65, 22]
Generated Node #0,0,0: 39:[65, 22] Operation: 55-33=22
Exploring Operation: 33+65=98, Resulting Numbers: [55, 98]
Generated Node #0,0,1: 39:[55, 98] Operation: 33+65=98
Exploring Operation: 65-55=10, Resulting Numbers: [33, 10]
Generated Node #0,0,2: 39:[33, 10] Operation: 65-55=10
Exploring Operation: 65-33=32, Resulting Numbers: [55, 32]
Generated Node #0,0,3: 39:[55, 32] Operation: 65-33=32
Moving to Node #0,3,1
Current State: 39:[7, 36], Operations: ['62-33=29', '65-29=36']
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,39 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[33, 10], Operations: ['62-7=55', '65-55=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,39 unequal: No Solution
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[7, 30], Operations: ['65-33=32', '62-32=30']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,39 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[32, 55], Operations: ['65-33=32', '62-7=55']
Exploring Operation: 32*55=1760, Resulting Numbers: [1760]
1760,39 unequal: No Solution
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 32+55=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[62, 39], Operations: ['65-33=32', '7+32=39']
Exploring Operation: 62*39=2418, Resulting Numbers: [2418]
2418,39 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 62+39=101, Resulting Numbers: [101]
101,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[55, 32], Operations: ['62-7=55', '65-33=32']
Exploring Operation: 55*32=1760, Resulting Numbers: [1760]
1760,39 unequal: No Solution
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 55+32=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[29, 58], Operations: ['62-33=29', '65-7=58']
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 29+58=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 29*58=1682, Resulting Numbers: [1682]
1682,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[65, 36], Operations: ['62-33=29', '7+29=36']
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 65+36=101, Resulting Numbers: [101]
101,39 unequal: No Solution
Exploring Operation: 65*36=2340, Resulting Numbers: [2340]
2340,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[65, 22], Operations: ['62-7=55', '55-33=22']
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,39 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[62, 25], Operations: ['65-33=32', '32-7=25']
Exploring Operation: 62+25=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 62*25=1550, Resulting Numbers: [1550]
1550,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[65, 22], Operations: ['62-33=29', '29-7=22']
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,39 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[55, 98], Operations: ['62-7=55', '33+65=98']
Exploring Operation: 98-55=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 55+98=153, Resulting Numbers: [153]
153,39 unequal: No Solution
Exploring Operation: 55*98=5390, Resulting Numbers: [5390]
5390,39 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
58,
83,
25,
99
] | 100 | [
"83-58=25",
"25/25=1",
"99+1=100"
] | Current State: 100:[58, 83, 25, 99], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [25, 99, 25]
Generated Node #2: [25, 99, 25] from Operation: 83-58=25
Current State: 100:[25, 99, 25], Operations: ['83-58=25']
Exploring Operation: 25/25=1, Resulting Numbers: [99, 1]
Generated Node #3: [99, 1] from Operation: 25/25=1
Current State: 100:[99, 1], Operations: ['83-58=25', '25/25=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[58, 83, 25, 99], Operations: []
Exploring Operation: 99-83=16, Resulting Numbers: [58, 25, 16]
Generated Node #0,0: 100:[58, 25, 16] Operation: 99-83=16
Exploring Operation: 83-58=25, Resulting Numbers: [25, 99, 25]
Generated Node #0,1: 100:[25, 99, 25] Operation: 83-58=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[25, 99, 25], Operations: ['83-58=25']
Exploring Operation: 25+25=50, Resulting Numbers: [99, 50]
Generated Node #0,1,0: 100:[99, 50] Operation: 25+25=50
Exploring Operation: 25/25=1, Resulting Numbers: [99, 1]
Generated Node #0,1,1: 100:[99, 1] Operation: 25/25=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[99, 50], Operations: ['83-58=25', '25+25=50']
Exploring Operation: 99+50=149, Resulting Numbers: [149]
149,100 unequal: No Solution
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,100 unequal: No Solution
No 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: 100:[99, 1], Operations: ['83-58=25', '25/25=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[58, 83, 25, 99], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [25, 99, 25]
Generated Node #0,1: 100:[25, 99, 25] Operation: 83-58=25
Moving to Node #0,1
Current State: 100:[25, 99, 25], Operations: ['83-58=25']
Exploring Operation: 25/25=1, Resulting Numbers: [99, 1]
Generated Node #0,1,1: 100:[99, 1] Operation: 25/25=1
Moving to Node #0,1,1
Current State: 100:[99, 1], Operations: ['83-58=25', '25/25=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
34,
27,
37,
25
] | 20 | [
"27-25=2",
"34/2=17",
"37-17=20"
] | Current State: 20:[34, 27, 37, 25], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [34, 37, 2]
Generated Node #2: [34, 37, 2] from Operation: 27-25=2
Current State: 20:[34, 37, 2], Operations: ['27-25=2']
Exploring Operation: 34/2=17, Resulting Numbers: [37, 17]
Generated Node #3: [37, 17] from Operation: 34/2=17
Current State: 20:[37, 17], Operations: ['27-25=2', '34/2=17']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[34, 27, 37, 25], Operations: []
Exploring Operation: 37-34=3, Resulting Numbers: [27, 25, 3]
Generated Node #0,0: 20:[27, 25, 3] Operation: 37-34=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[27, 25, 3], Operations: ['37-34=3']
Exploring Operation: 27-25=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 20:[3, 2] Operation: 27-25=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[3, 2], Operations: ['37-34=3', '27-25=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
64,
14,
45
] | 41 | [
"14*45=630",
"630/6=105",
"105-64=41"
] | Current State: 41:[6, 64, 14, 45], Operations: []
Exploring Operation: 14*45=630, Resulting Numbers: [6, 64, 630]
Generated Node #2: [6, 64, 630] from Operation: 14*45=630
Current State: 41:[6, 64, 630], Operations: ['14*45=630']
Exploring Operation: 630/6=105, Resulting Numbers: [64, 105]
Generated Node #3: [64, 105] from Operation: 630/6=105
Current State: 41:[64, 105], Operations: ['14*45=630', '630/6=105']
Exploring Operation: 105-64=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[6, 64, 14, 45], Operations: []
Exploring Operation: 64-6=58, Resulting Numbers: [14, 45, 58]
Generated Node #0,0: 41:[14, 45, 58] Operation: 64-6=58
Exploring Operation: 6+14=20, Resulting Numbers: [64, 45, 20]
Generated Node #0,1: 41:[64, 45, 20] Operation: 6+14=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[14, 45, 58], Operations: ['64-6=58']
Exploring Operation: 58-14=44, Resulting Numbers: [45, 44]
Generated Node #0,0,0: 41:[45, 44] Operation: 58-14=44
Exploring Operation: 45-14=31, Resulting Numbers: [58, 31]
Generated Node #0,0,1: 41:[58, 31] Operation: 45-14=31
Moving to Node #0,0,0
Current State: 41:[45, 44], Operations: ['64-6=58', '58-14=44']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[58, 31], Operations: ['64-6=58', '45-14=31']
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[64, 45, 20], Operations: ['6+14=20']
Exploring Operation: 45-20=25, Resulting Numbers: [64, 25]
Generated Node #0,1,0: 41:[64, 25] Operation: 45-20=25
Exploring Operation: 64-20=44, Resulting Numbers: [45, 44]
Generated Node #0,1,1: 41:[45, 44] Operation: 64-20=44
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[45, 44], Operations: ['6+14=20', '64-20=44']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[64, 25], Operations: ['6+14=20', '45-20=25']
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 64+25=89, Resulting Numbers: [89]
89,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
84,
63,
7,
96
] | 58 | [
"84+63=147",
"96-7=89",
"147-89=58"
] | Current State: 58:[84, 63, 7, 96], Operations: []
Exploring Operation: 84+63=147, Resulting Numbers: [7, 96, 147]
Generated Node #2: [7, 96, 147] from Operation: 84+63=147
Current State: 58:[7, 96, 147], Operations: ['84+63=147']
Exploring Operation: 96-7=89, Resulting Numbers: [147, 89]
Generated Node #3: [147, 89] from Operation: 96-7=89
Current State: 58:[147, 89], Operations: ['84+63=147', '96-7=89']
Exploring Operation: 147-89=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[84, 63, 7, 96], Operations: []
Exploring Operation: 96-63=33, Resulting Numbers: [84, 7, 33]
Generated Node #0,0: 58:[84, 7, 33] Operation: 96-63=33
Exploring Operation: 96-84=12, Resulting Numbers: [63, 7, 12]
Generated Node #0,1: 58:[63, 7, 12] Operation: 96-84=12
Moving to Node #0,1
Current State: 58:[63, 7, 12], Operations: ['96-84=12']
Exploring Operation: 12-7=5, Resulting Numbers: [63, 5]
Generated Node #0,1,0: 58:[63, 5] Operation: 12-7=5
Exploring Operation: 63-7=56, Resulting Numbers: [12, 56]
Generated Node #0,1,1: 58:[12, 56] Operation: 63-7=56
Moving to Node #0,0
Current State: 58:[84, 7, 33], Operations: ['96-63=33']
Exploring Operation: 84/7=12, Resulting Numbers: [33, 12]
Generated Node #0,0,0: 58:[33, 12] Operation: 84/7=12
Exploring Operation: 84-33=51, Resulting Numbers: [7, 51]
Generated Node #0,0,1: 58:[7, 51] Operation: 84-33=51
Moving to Node #0,1,0
Current State: 58:[63, 5], Operations: ['96-84=12', '12-7=5']
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,58 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[84, 63, 7, 96], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [63, 7, 12]
Generated Node #0,1: 58:[63, 7, 12] Operation: 96-84=12
Moving to Node #0,1
Current State: 58:[63, 7, 12], Operations: ['96-84=12']
Exploring Operation: 12-7=5, Resulting Numbers: [63, 5]
Generated Node #0,1,0: 58:[63, 5] Operation: 12-7=5
Moving to Node #0,1,0
Current State: 58:[63, 5], Operations: ['96-84=12', '12-7=5']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
31,
32,
93,
1
] | 99 | [
"93/31=3",
"32+1=33",
"3*33=99"
] | Current State: 99:[31, 32, 93, 1], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [32, 1, 3]
Generated Node #2: [32, 1, 3] from Operation: 93/31=3
Current State: 99:[32, 1, 3], Operations: ['93/31=3']
Exploring Operation: 32+1=33, Resulting Numbers: [3, 33]
Generated Node #3: [3, 33] from Operation: 32+1=33
Current State: 99:[3, 33], Operations: ['93/31=3', '32+1=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[31, 32, 93, 1], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [32, 1, 3]
Generated Node #0,0: 99:[32, 1, 3] Operation: 93/31=3
Exploring Operation: 31+1=32, Resulting Numbers: [32, 93, 32]
Generated Node #0,1: 99:[32, 93, 32] Operation: 31+1=32
Exploring Operation: 32+1=33, Resulting Numbers: [31, 93, 33]
Generated Node #0,2: 99:[31, 93, 33] Operation: 32+1=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[32, 1, 3], Operations: ['93/31=3']
Exploring Operation: 32+1=33, Resulting Numbers: [3, 33]
Generated Node #0,0,0: 99:[3, 33] Operation: 32+1=33
Exploring Operation: 32*1=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 99:[3, 32] Operation: 32*1=32
Exploring Operation: 32/1=32, Resulting Numbers: [3, 32]
Generated Node #0,0,2: 99:[3, 32] Operation: 32/1=32
Moving to Node #0,0,0
Current State: 99:[3, 33], Operations: ['93/31=3', '32+1=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[31, 32, 93, 1], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [32, 1, 3]
Generated Node #0,0: 99:[32, 1, 3] Operation: 93/31=3
Moving to Node #0,0
Current State: 99:[32, 1, 3], Operations: ['93/31=3']
Exploring Operation: 32+1=33, Resulting Numbers: [3, 33]
Generated Node #0,0,0: 99:[3, 33] Operation: 32+1=33
Moving to Node #0,0,0
Current State: 99:[3, 33], Operations: ['93/31=3', '32+1=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
93,
5,
90,
86
] | 11 | [
"93-86=7",
"90/5=18",
"18-7=11"
] | Current State: 11:[93, 5, 90, 86], Operations: []
Exploring Operation: 93-86=7, Resulting Numbers: [5, 90, 7]
Generated Node #2: [5, 90, 7] from Operation: 93-86=7
Current State: 11:[5, 90, 7], Operations: ['93-86=7']
Exploring Operation: 90/5=18, Resulting Numbers: [7, 18]
Generated Node #3: [7, 18] from Operation: 90/5=18
Current State: 11:[7, 18], Operations: ['93-86=7', '90/5=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[93, 5, 90, 86], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [5, 86, 3]
Generated Node #0,0: 11:[5, 86, 3] Operation: 93-90=3
Exploring Operation: 93-86=7, Resulting Numbers: [5, 90, 7]
Generated Node #0,1: 11:[5, 90, 7] Operation: 93-86=7
Moving to Node #0,0
Current State: 11:[5, 86, 3], Operations: ['93-90=3']
Exploring Operation: 86-5=81, Resulting Numbers: [3, 81]
Generated Node #0,0,0: 11:[3, 81] Operation: 86-5=81
Exploring Operation: 5+3=8, Resulting Numbers: [86, 8]
Generated Node #0,0,1: 11:[86, 8] Operation: 5+3=8
Moving to Node #0,1
Current State: 11:[5, 90, 7], Operations: ['93-86=7']
Exploring Operation: 90/5=18, Resulting Numbers: [7, 18]
Generated Node #0,1,0: 11:[7, 18] Operation: 90/5=18
Exploring Operation: 90-5=85, Resulting Numbers: [7, 85]
Generated Node #0,1,1: 11:[7, 85] Operation: 90-5=85
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[7, 18], Operations: ['93-86=7', '90/5=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[93, 5, 90, 86], Operations: []
Exploring Operation: 93-86=7, Resulting Numbers: [5, 90, 7]
Generated Node #0,1: 11:[5, 90, 7] Operation: 93-86=7
Moving to Node #0,1
Current State: 11:[5, 90, 7], Operations: ['93-86=7']
Exploring Operation: 90/5=18, Resulting Numbers: [7, 18]
Generated Node #0,1,0: 11:[7, 18] Operation: 90/5=18
Moving to Node #0,1,0
Current State: 11:[7, 18], Operations: ['93-86=7', '90/5=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
60,
30,
71,
3
] | 66 | [
"60/30=2",
"71-3=68",
"68-2=66"
] | Current State: 66:[60, 30, 71, 3], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [71, 3, 2]
Generated Node #2: [71, 3, 2] from Operation: 60/30=2
Current State: 66:[71, 3, 2], Operations: ['60/30=2']
Exploring Operation: 71-3=68, Resulting Numbers: [2, 68]
Generated Node #3: [2, 68] from Operation: 71-3=68
Current State: 66:[2, 68], Operations: ['60/30=2', '71-3=68']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[60, 30, 71, 3], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [30, 3, 11]
Generated Node #0,0: 66:[30, 3, 11] Operation: 71-60=11
Exploring Operation: 60-30=30, Resulting Numbers: [71, 3, 30]
Generated Node #0,1: 66:[71, 3, 30] Operation: 60-30=30
Exploring Operation: 60/3=20, Resulting Numbers: [30, 71, 20]
Generated Node #0,2: 66:[30, 71, 20] Operation: 60/3=20
Exploring Operation: 60/30=2, Resulting Numbers: [71, 3, 2]
Generated Node #0,3: 66:[71, 3, 2] Operation: 60/30=2
Moving to Node #0,0
Current State: 66:[30, 3, 11], Operations: ['71-60=11']
Exploring Operation: 30/3=10, Resulting Numbers: [11, 10]
Generated Node #0,0,0: 66:[11, 10] Operation: 30/3=10
Exploring Operation: 30-11=19, Resulting Numbers: [3, 19]
Generated Node #0,0,1: 66:[3, 19] Operation: 30-11=19
Exploring Operation: 3*11=33, Resulting Numbers: [30, 33]
Generated Node #0,0,2: 66:[30, 33] Operation: 3*11=33
Exploring Operation: 30+3=33, Resulting Numbers: [11, 33]
Generated Node #0,0,3: 66:[11, 33] Operation: 30+3=33
Moving to Node #0,3
Current State: 66:[71, 3, 2], Operations: ['60/30=2']
Exploring Operation: 3+2=5, Resulting Numbers: [71, 5]
Generated Node #0,3,0: 66:[71, 5] Operation: 3+2=5
Exploring Operation: 71-2=69, Resulting Numbers: [3, 69]
Generated Node #0,3,1: 66:[3, 69] Operation: 71-2=69
Exploring Operation: 71-3=68, Resulting Numbers: [2, 68]
Generated Node #0,3,2: 66:[2, 68] Operation: 71-3=68
Exploring Operation: 3*2=6, Resulting Numbers: [71, 6]
Generated Node #0,3,3: 66:[71, 6] Operation: 3*2=6
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[2, 68], Operations: ['60/30=2', '71-3=68']
Exploring Operation: 2*68=136, Resulting Numbers: [136]
136,66 unequal: No Solution
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[60, 30, 71, 3], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [71, 3, 2]
Generated Node #0,3: 66:[71, 3, 2] Operation: 60/30=2
Moving to Node #0,3
Current State: 66:[71, 3, 2], Operations: ['60/30=2']
Exploring Operation: 71-3=68, Resulting Numbers: [2, 68]
Generated Node #0,3,2: 66:[2, 68] Operation: 71-3=68
Moving to Node #0,3,2
Current State: 66:[2, 68], Operations: ['60/30=2', '71-3=68']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
58,
49,
67,
32
] | 26 | [
"58-49=9",
"67-32=35",
"35-9=26"
] | Current State: 26:[58, 49, 67, 32], Operations: []
Exploring Operation: 58-49=9, Resulting Numbers: [67, 32, 9]
Generated Node #2: [67, 32, 9] from Operation: 58-49=9
Current State: 26:[67, 32, 9], Operations: ['58-49=9']
Exploring Operation: 67-32=35, Resulting Numbers: [9, 35]
Generated Node #3: [9, 35] from Operation: 67-32=35
Current State: 26:[9, 35], Operations: ['58-49=9', '67-32=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[58, 49, 67, 32], Operations: []
Exploring Operation: 67-58=9, Resulting Numbers: [49, 32, 9]
Generated Node #0,0: 26:[49, 32, 9] Operation: 67-58=9
Moving to Node #0,0
Current State: 26:[49, 32, 9], Operations: ['67-58=9']
Exploring Operation: 49-32=17, Resulting Numbers: [9, 17]
Generated Node #0,0,0: 26:[9, 17] Operation: 49-32=17
Moving to Node #0,0,0
Current State: 26:[9, 17], Operations: ['67-58=9', '49-32=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[58, 49, 67, 32], Operations: []
Exploring Operation: 67-58=9, Resulting Numbers: [49, 32, 9]
Generated Node #0,0: 26:[49, 32, 9] Operation: 67-58=9
Moving to Node #0,0
Current State: 26:[49, 32, 9], Operations: ['67-58=9']
Exploring Operation: 49-32=17, Resulting Numbers: [9, 17]
Generated Node #0,0,0: 26:[9, 17] Operation: 49-32=17
Moving to Node #0,0,0
Current State: 26:[9, 17], Operations: ['67-58=9', '49-32=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
29,
11,
65,
62
] | 87 | [
"29+11=40",
"65+62=127",
"127-40=87"
] | Current State: 87:[29, 11, 65, 62], Operations: []
Exploring Operation: 29+11=40, Resulting Numbers: [65, 62, 40]
Generated Node #2: [65, 62, 40] from Operation: 29+11=40
Current State: 87:[65, 62, 40], Operations: ['29+11=40']
Exploring Operation: 65+62=127, Resulting Numbers: [40, 127]
Generated Node #3: [40, 127] from Operation: 65+62=127
Current State: 87:[40, 127], Operations: ['29+11=40', '65+62=127']
Exploring Operation: 127-40=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[29, 11, 65, 62], Operations: []
Exploring Operation: 29+62=91, Resulting Numbers: [11, 65, 91]
Generated Node #0,0: 87:[11, 65, 91] Operation: 29+62=91
Exploring Operation: 11+65=76, Resulting Numbers: [29, 62, 76]
Generated Node #0,1: 87:[29, 62, 76] Operation: 11+65=76
Exploring Operation: 62-29=33, Resulting Numbers: [11, 65, 33]
Generated Node #0,2: 87:[11, 65, 33] Operation: 62-29=33
Exploring Operation: 65-62=3, Resulting Numbers: [29, 11, 3]
Generated Node #0,3: 87:[29, 11, 3] Operation: 65-62=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[29, 11, 3], Operations: ['65-62=3']
Exploring Operation: 29+11=40, Resulting Numbers: [3, 40]
Generated Node #0,3,0: 87:[3, 40] Operation: 29+11=40
Exploring Operation: 11-3=8, Resulting Numbers: [29, 8]
Generated Node #0,3,1: 87:[29, 8] Operation: 11-3=8
Exploring Operation: 29*3=87, Resulting Numbers: [11, 87]
Generated Node #0,3,2: 87:[11, 87] Operation: 29*3=87
Exploring Operation: 11*3=33, Resulting Numbers: [29, 33]
Generated Node #0,3,3: 87:[29, 33] Operation: 11*3=33
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 87:[29, 33], Operations: ['65-62=3', '11*3=33']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,87 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 87:[29, 8], Operations: ['65-62=3', '11-3=8']
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,87 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 87:[11, 87], Operations: ['65-62=3', '29*3=87']
Exploring Operation: 11+87=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 11*87=957, Resulting Numbers: [957]
957,87 unequal: No Solution
Exploring Operation: 87-11=76, Resulting Numbers: [76]
76,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 87:[3, 40], Operations: ['65-62=3', '29+11=40']
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,87 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,87 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[11, 65, 91], Operations: ['29+62=91']
Exploring Operation: 91-65=26, Resulting Numbers: [11, 26]
Generated Node #0,0,0: 87:[11, 26] Operation: 91-65=26
Exploring Operation: 11+65=76, Resulting Numbers: [91, 76]
Generated Node #0,0,1: 87:[91, 76] Operation: 11+65=76
Exploring Operation: 65-11=54, Resulting Numbers: [91, 54]
Generated Node #0,0,2: 87:[91, 54] Operation: 65-11=54
Exploring Operation: 91-11=80, Resulting Numbers: [65, 80]
Generated Node #0,0,3: 87:[65, 80] Operation: 91-11=80
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[11, 26], Operations: ['29+62=91', '91-65=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,87 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[91, 76], Operations: ['29+62=91', '11+65=76']
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 91*76=6916, Resulting Numbers: [6916]
6916,87 unequal: No Solution
Exploring Operation: 91+76=167, Resulting Numbers: [167]
167,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[91, 54], Operations: ['29+62=91', '65-11=54']
Exploring Operation: 91+54=145, Resulting Numbers: [145]
145,87 unequal: No Solution
Exploring Operation: 91*54=4914, Resulting Numbers: [4914]
4914,87 unequal: No Solution
Exploring Operation: 91-54=37, Resulting Numbers: [37]
37,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 87:[65, 80], Operations: ['29+62=91', '91-11=80']
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 65*80=5200, Resulting Numbers: [5200]
5200,87 unequal: No Solution
Exploring Operation: 65+80=145, Resulting Numbers: [145]
145,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[11, 65, 33], Operations: ['62-29=33']
Exploring Operation: 65-33=32, Resulting Numbers: [11, 32]
Generated Node #0,2,0: 87:[11, 32] Operation: 65-33=32
Exploring Operation: 11+65=76, Resulting Numbers: [33, 76]
Generated Node #0,2,1: 87:[33, 76] Operation: 11+65=76
Exploring Operation: 65+33=98, Resulting Numbers: [11, 98]
Generated Node #0,2,2: 87:[11, 98] Operation: 65+33=98
Exploring Operation: 33/11=3, Resulting Numbers: [65, 3]
Generated Node #0,2,3: 87:[65, 3] Operation: 33/11=3
Moving to Node #0,2,0
Current State: 87:[11, 32], Operations: ['62-29=33', '65-33=32']
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,87 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[33, 76], Operations: ['62-29=33', '11+65=76']
Exploring Operation: 33+76=109, Resulting Numbers: [109]
109,87 unequal: No Solution
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,87 unequal: No Solution
Exploring Operation: 33*76=2508, Resulting Numbers: [2508]
2508,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[11, 98], Operations: ['62-29=33', '65+33=98']
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[29, 11, 65, 62], Operations: []
Exploring Operation: 62-29=33, Resulting Numbers: [11, 65, 33]
Generated Node #0,2: 87:[11, 65, 33] Operation: 62-29=33
Moving to Node #0,2
Current State: 87:[11, 65, 33], Operations: ['62-29=33']
Exploring Operation: 65+33=98, Resulting Numbers: [11, 98]
Generated Node #0,2,2: 87:[11, 98] Operation: 65+33=98
Moving to Node #0,2,2
Current State: 87:[11, 98], Operations: ['62-29=33', '65+33=98']
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_4 | sum_heuristic |
[
70,
92,
12,
9
] | 30 | [
"70+92=162",
"162/9=18",
"12+18=30"
] | Current State: 30:[70, 92, 12, 9], Operations: []
Exploring Operation: 70+92=162, Resulting Numbers: [12, 9, 162]
Generated Node #2: [12, 9, 162] from Operation: 70+92=162
Current State: 30:[12, 9, 162], Operations: ['70+92=162']
Exploring Operation: 162/9=18, Resulting Numbers: [12, 18]
Generated Node #3: [12, 18] from Operation: 162/9=18
Current State: 30:[12, 18], Operations: ['70+92=162', '162/9=18']
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[70, 92, 12, 9], Operations: []
Exploring Operation: 92-70=22, Resulting Numbers: [12, 9, 22]
Generated Node #0,0: 30:[12, 9, 22] Operation: 92-70=22
Exploring Operation: 70-12=58, Resulting Numbers: [92, 9, 58]
Generated Node #0,1: 30:[92, 9, 58] Operation: 70-12=58
Exploring Operation: 70-9=61, Resulting Numbers: [92, 12, 61]
Generated Node #0,2: 30:[92, 12, 61] Operation: 70-9=61
Exploring Operation: 92-12=80, Resulting Numbers: [70, 9, 80]
Generated Node #0,3: 30:[70, 9, 80] Operation: 92-12=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[12, 9, 22], Operations: ['92-70=22']
Exploring Operation: 22-12=10, Resulting Numbers: [9, 10]
Generated Node #0,0,0: 30:[9, 10] Operation: 22-12=10
Exploring Operation: 9+22=31, Resulting Numbers: [12, 31]
Generated Node #0,0,1: 30:[12, 31] Operation: 9+22=31
Exploring Operation: 12+22=34, Resulting Numbers: [9, 34]
Generated Node #0,0,2: 30:[9, 34] Operation: 12+22=34
Exploring Operation: 22-9=13, Resulting Numbers: [12, 13]
Generated Node #0,0,3: 30:[12, 13] Operation: 22-9=13
Moving to Node #0,0,0
Current State: 30:[9, 10], Operations: ['92-70=22', '22-12=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,30 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[12, 31], Operations: ['92-70=22', '9+22=31']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[12, 13], Operations: ['92-70=22', '22-9=13']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,30 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[9, 34], Operations: ['92-70=22', '12+22=34']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[92, 9, 58], Operations: ['70-12=58']
Exploring Operation: 92-9=83, Resulting Numbers: [58, 83]
Generated Node #0,1,0: 30:[58, 83] Operation: 92-9=83
Exploring Operation: 58-9=49, Resulting Numbers: [92, 49]
Generated Node #0,1,1: 30:[92, 49] Operation: 58-9=49
Exploring Operation: 92+9=101, Resulting Numbers: [58, 101]
Generated Node #0,1,2: 30:[58, 101] Operation: 92+9=101
Exploring Operation: 92-58=34, Resulting Numbers: [9, 34]
Generated Node #0,1,3: 30:[9, 34] Operation: 92-58=34
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 30:[9, 34], Operations: ['70-12=58', '92-58=34']
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,30 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[58, 83], Operations: ['70-12=58', '92-9=83']
Exploring Operation: 83-58=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 58*83=4814, Resulting Numbers: [4814]
4814,30 unequal: No Solution
Exploring Operation: 58+83=141, Resulting Numbers: [141]
141,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[92, 49], Operations: ['70-12=58', '58-9=49']
Exploring Operation: 92*49=4508, Resulting Numbers: [4508]
4508,30 unequal: No Solution
Exploring Operation: 92-49=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Exploring Operation: 92+49=141, Resulting Numbers: [141]
141,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 30:[58, 101], Operations: ['70-12=58', '92+9=101']
Exploring Operation: 101-58=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Exploring Operation: 58+101=159, Resulting Numbers: [159]
159,30 unequal: No Solution
Exploring Operation: 58*101=5858, Resulting Numbers: [5858]
5858,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[70, 9, 80], Operations: ['92-12=80']
Exploring Operation: 80-70=10, Resulting Numbers: [9, 10]
Generated Node #0,3,0: 30:[9, 10] Operation: 80-70=10
Exploring Operation: 70+9=79, Resulting Numbers: [80, 79]
Generated Node #0,3,1: 30:[80, 79] Operation: 70+9=79
Exploring Operation: 70-9=61, Resulting Numbers: [80, 61]
Generated Node #0,3,2: 30:[80, 61] Operation: 70-9=61
Exploring Operation: 80-9=71, Resulting Numbers: [70, 71]
Generated Node #0,3,3: 30:[70, 71] Operation: 80-9=71
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 30:[9, 10], Operations: ['92-12=80', '80-70=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,30 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 30:[80, 61], Operations: ['92-12=80', '70-9=61']
Exploring Operation: 80+61=141, Resulting Numbers: [141]
141,30 unequal: No Solution
Exploring Operation: 80*61=4880, Resulting Numbers: [4880]
4880,30 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 30:[70, 71], Operations: ['92-12=80', '80-9=71']
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 70*71=4970, Resulting Numbers: [4970]
4970,30 unequal: No Solution
Exploring Operation: 70+71=141, Resulting Numbers: [141]
141,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 30:[80, 79], Operations: ['92-12=80', '70+9=79']
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 80*79=6320, Resulting Numbers: [6320]
6320,30 unequal: No Solution
Exploring Operation: 80+79=159, Resulting Numbers: [159]
159,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[92, 12, 61], Operations: ['70-9=61']
Exploring Operation: 92-61=31, Resulting Numbers: [12, 31]
Generated Node #0,2,0: 30:[12, 31] Operation: 92-61=31
Exploring Operation: 92+12=104, Resulting Numbers: [61, 104]
Generated Node #0,2,1: 30:[61, 104] Operation: 92+12=104
Exploring Operation: 61-12=49, Resulting Numbers: [92, 49]
Generated Node #0,2,2: 30:[92, 49] Operation: 61-12=49
Exploring Operation: 92-12=80, Resulting Numbers: [61, 80]
Generated Node #0,2,3: 30:[61, 80] Operation: 92-12=80
Moving to Node #0,2,0
Current State: 30:[12, 31], Operations: ['70-9=61', '92-61=31']
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,30 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Moving to Node #0,2,3
Current State: 30:[61, 80], Operations: ['70-9=61', '92-12=80']
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 61+80=141, Resulting Numbers: [141]
141,30 unequal: No Solution
Exploring Operation: 61*80=4880, Resulting Numbers: [4880]
4880,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[92, 49], Operations: ['70-9=61', '61-12=49']
Exploring Operation: 92-49=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Exploring Operation: 92+49=141, Resulting Numbers: [141]
141,30 unequal: No Solution
Exploring Operation: 92*49=4508, Resulting Numbers: [4508]
4508,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[61, 104], Operations: ['70-9=61', '92+12=104']
Exploring Operation: 61*104=6344, Resulting Numbers: [6344]
6344,30 unequal: No Solution
Exploring Operation: 61+104=165, Resulting Numbers: [165]
165,30 unequal: No Solution
Exploring Operation: 104-61=43, Resulting Numbers: [43]
43,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
21,
61,
60,
64
] | 27 | [
"21+60=81",
"64-61=3",
"81/3=27"
] | Current State: 27:[21, 61, 60, 64], Operations: []
Exploring Operation: 21+60=81, Resulting Numbers: [61, 64, 81]
Generated Node #2: [61, 64, 81] from Operation: 21+60=81
Current State: 27:[61, 64, 81], Operations: ['21+60=81']
Exploring Operation: 64-61=3, Resulting Numbers: [81, 3]
Generated Node #3: [81, 3] from Operation: 64-61=3
Current State: 27:[81, 3], Operations: ['21+60=81', '64-61=3']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[21, 61, 60, 64], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [21, 60, 3]
Generated Node #0,0: 27:[21, 60, 3] Operation: 64-61=3
Moving to Node #0,0
Current State: 27:[21, 60, 3], Operations: ['64-61=3']
Exploring Operation: 60-21=39, Resulting Numbers: [3, 39]
Generated Node #0,0,0: 27:[3, 39] Operation: 60-21=39
Moving to Node #0,0,0
Current State: 27:[3, 39], Operations: ['64-61=3', '60-21=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,27 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
80,
37,
96,
53
] | 86 | [
"80-37=43",
"96-53=43",
"43+43=86"
] | Current State: 86:[80, 37, 96, 53], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [96, 53, 43]
Generated Node #2: [96, 53, 43] from Operation: 80-37=43
Current State: 86:[96, 53, 43], Operations: ['80-37=43']
Exploring Operation: 96-53=43, Resulting Numbers: [43, 43]
Generated Node #3: [43, 43] from Operation: 96-53=43
Current State: 86:[43, 43], Operations: ['80-37=43', '96-53=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[80, 37, 96, 53], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [96, 53, 43]
Generated Node #0,0: 86:[96, 53, 43] Operation: 80-37=43
Exploring Operation: 96-53=43, Resulting Numbers: [80, 37, 43]
Generated Node #0,1: 86:[80, 37, 43] Operation: 96-53=43
Exploring Operation: 96-80=16, Resulting Numbers: [37, 53, 16]
Generated Node #0,2: 86:[37, 53, 16] Operation: 96-80=16
Exploring Operation: 37+53=90, Resulting Numbers: [80, 96, 90]
Generated Node #0,3: 86:[80, 96, 90] Operation: 37+53=90
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[80, 37, 43], Operations: ['96-53=43']
Exploring Operation: 80-37=43, Resulting Numbers: [43, 43]
Generated Node #0,1,0: 86:[43, 43] Operation: 80-37=43
Exploring Operation: 80-43=37, Resulting Numbers: [37, 37]
Generated Node #0,1,1: 86:[37, 37] Operation: 80-43=37
Exploring Operation: 37+43=80, Resulting Numbers: [80, 80]
Generated Node #0,1,2: 86:[80, 80] Operation: 37+43=80
Exploring Operation: 43-37=6, Resulting Numbers: [80, 6]
Generated Node #0,1,3: 86:[80, 6] Operation: 43-37=6
Moving to Node #0,1,0
Current State: 86:[43, 43], Operations: ['96-53=43', '80-37=43']
Exploring Operation: 43*43=1849, Resulting Numbers: [1849]
1849,86 unequal: No Solution
Exploring Operation: 43/43=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[80, 37, 96, 53], Operations: []
Exploring Operation: 96-53=43, Resulting Numbers: [80, 37, 43]
Generated Node #0,1: 86:[80, 37, 43] Operation: 96-53=43
Moving to Node #0,1
Current State: 86:[80, 37, 43], Operations: ['96-53=43']
Exploring Operation: 80-37=43, Resulting Numbers: [43, 43]
Generated Node #0,1,0: 86:[43, 43] Operation: 80-37=43
Moving to Node #0,1,0
Current State: 86:[43, 43], Operations: ['96-53=43', '80-37=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
94,
91,
2,
6
] | 46 | [
"91*2=182",
"94+182=276",
"276/6=46"
] | Current State: 46:[94, 91, 2, 6], Operations: []
Exploring Operation: 91*2=182, Resulting Numbers: [94, 6, 182]
Generated Node #2: [94, 6, 182] from Operation: 91*2=182
Current State: 46:[94, 6, 182], Operations: ['91*2=182']
Exploring Operation: 94+182=276, Resulting Numbers: [6, 276]
Generated Node #3: [6, 276] from Operation: 94+182=276
Current State: 46:[6, 276], Operations: ['91*2=182', '94+182=276']
Exploring Operation: 276/6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[94, 91, 2, 6], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [91, 6, 47]
Generated Node #0,0: 46:[91, 6, 47] Operation: 94/2=47
Exploring Operation: 94-6=88, Resulting Numbers: [91, 2, 88]
Generated Node #0,1: 46:[91, 2, 88] Operation: 94-6=88
Exploring Operation: 94-91=3, Resulting Numbers: [2, 6, 3]
Generated Node #0,2: 46:[2, 6, 3] Operation: 94-91=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[2, 6, 3], Operations: ['94-91=3']
Exploring Operation: 6/2=3, Resulting Numbers: [3, 3]
Generated Node #0,2,0: 46:[3, 3] Operation: 6/2=3
Exploring Operation: 6-3=3, Resulting Numbers: [2, 3]
Generated Node #0,2,1: 46:[2, 3] Operation: 6-3=3
Exploring Operation: 6/3=2, Resulting Numbers: [2, 2]
Generated Node #0,2,2: 46:[2, 2] Operation: 6/3=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 46:[2, 2], Operations: ['94-91=3', '6/3=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,46 unequal: No Solution
No 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: 46:[2, 3], Operations: ['94-91=3', '6-3=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,46 unequal: No Solution
No 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: 46:[3, 3], Operations: ['94-91=3', '6/2=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,46 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: 46:[91, 6, 47], Operations: ['94/2=47']
Exploring Operation: 91-47=44, Resulting Numbers: [6, 44]
Generated Node #0,0,0: 46:[6, 44] Operation: 91-47=44
Exploring Operation: 91-6=85, Resulting Numbers: [47, 85]
Generated Node #0,0,1: 46:[47, 85] Operation: 91-6=85
Exploring Operation: 47-6=41, Resulting Numbers: [91, 41]
Generated Node #0,0,2: 46:[91, 41] Operation: 47-6=41
Moving to Node #0,0,0
Current State: 46:[6, 44], Operations: ['94/2=47', '91-47=44']
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,46 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[47, 85], Operations: ['94/2=47', '91-6=85']
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 47*85=3995, Resulting Numbers: [3995]
3995,46 unequal: No Solution
Exploring Operation: 47+85=132, Resulting Numbers: [132]
132,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[91, 41], Operations: ['94/2=47', '47-6=41']
Exploring Operation: 91*41=3731, Resulting Numbers: [3731]
3731,46 unequal: No Solution
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 91+41=132, Resulting Numbers: [132]
132,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[91, 2, 88], Operations: ['94-6=88']
Exploring Operation: 91-2=89, Resulting Numbers: [88, 89]
Generated Node #0,1,0: 46:[88, 89] Operation: 91-2=89
Exploring Operation: 91-88=3, Resulting Numbers: [2, 3]
Generated Node #0,1,1: 46:[2, 3] Operation: 91-88=3
Exploring Operation: 88/2=44, Resulting Numbers: [91, 44]
Generated Node #0,1,2: 46:[91, 44] Operation: 88/2=44
Moving to Node #0,1,1
Current State: 46:[2, 3], Operations: ['94-6=88', '91-88=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[91, 44], Operations: ['94-6=88', '88/2=44']
Exploring Operation: 91+44=135, Resulting Numbers: [135]
135,46 unequal: No Solution
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 91*44=4004, Resulting Numbers: [4004]
4004,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[88, 89], Operations: ['94-6=88', '91-2=89']
Exploring Operation: 88+89=177, Resulting Numbers: [177]
177,46 unequal: No Solution
Exploring Operation: 88*89=7832, Resulting Numbers: [7832]
7832,46 unequal: No Solution
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,46 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 |
[
44,
9,
87,
67
] | 66 | [
"44*87=3828",
"67-9=58",
"3828/58=66"
] | Current State: 66:[44, 9, 87, 67], Operations: []
Exploring Operation: 44*87=3828, Resulting Numbers: [9, 67, 3828]
Generated Node #2: [9, 67, 3828] from Operation: 44*87=3828
Current State: 66:[9, 67, 3828], Operations: ['44*87=3828']
Exploring Operation: 67-9=58, Resulting Numbers: [3828, 58]
Generated Node #3: [3828, 58] from Operation: 67-9=58
Current State: 66:[3828, 58], Operations: ['44*87=3828', '67-9=58']
Exploring Operation: 3828/58=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[44, 9, 87, 67], Operations: []
Exploring Operation: 44-9=35, Resulting Numbers: [87, 67, 35]
Generated Node #0,0: 66:[87, 67, 35] Operation: 44-9=35
Exploring Operation: 87-44=43, Resulting Numbers: [9, 67, 43]
Generated Node #0,1: 66:[9, 67, 43] Operation: 87-44=43
Exploring Operation: 87-67=20, Resulting Numbers: [44, 9, 20]
Generated Node #0,2: 66:[44, 9, 20] Operation: 87-67=20
Exploring Operation: 67-44=23, Resulting Numbers: [9, 87, 23]
Generated Node #0,3: 66:[9, 87, 23] Operation: 67-44=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[9, 67, 43], Operations: ['87-44=43']
Exploring Operation: 67-9=58, Resulting Numbers: [43, 58]
Generated Node #0,1,0: 66:[43, 58] Operation: 67-9=58
Exploring Operation: 67-43=24, Resulting Numbers: [9, 24]
Generated Node #0,1,1: 66:[9, 24] Operation: 67-43=24
Exploring Operation: 9+43=52, Resulting Numbers: [67, 52]
Generated Node #0,1,2: 66:[67, 52] Operation: 9+43=52
Exploring Operation: 43-9=34, Resulting Numbers: [67, 34]
Generated Node #0,1,3: 66:[67, 34] Operation: 43-9=34
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 66:[67, 34], Operations: ['87-44=43', '43-9=34']
Exploring Operation: 67*34=2278, Resulting Numbers: [2278]
2278,66 unequal: No Solution
Exploring Operation: 67+34=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,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:[9, 24], Operations: ['87-44=43', '67-43=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,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:[67, 52], Operations: ['87-44=43', '9+43=52']
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,66 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 67*52=3484, Resulting Numbers: [3484]
3484,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:[43, 58], Operations: ['87-44=43', '67-9=58']
Exploring Operation: 43+58=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 43*58=2494, Resulting Numbers: [2494]
2494,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:[44, 9, 20], Operations: ['87-67=20']
Exploring Operation: 44+20=64, Resulting Numbers: [9, 64]
Generated Node #0,2,0: 66:[9, 64] Operation: 44+20=64
Exploring Operation: 20-9=11, Resulting Numbers: [44, 11]
Generated Node #0,2,1: 66:[44, 11] Operation: 20-9=11
Exploring Operation: 44-9=35, Resulting Numbers: [20, 35]
Generated Node #0,2,2: 66:[20, 35] Operation: 44-9=35
Exploring Operation: 44-20=24, Resulting Numbers: [9, 24]
Generated Node #0,2,3: 66:[9, 24] Operation: 44-20=24
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[9, 64], Operations: ['87-67=20', '44+20=64']
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 9*64=576, Resulting Numbers: [576]
576,66 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,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,2
Current State: 66:[20, 35], Operations: ['87-67=20', '44-9=35']
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,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:[9, 24], Operations: ['87-67=20', '44-20=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,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:[44, 11], Operations: ['87-67=20', '20-9=11']
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 44*11=484, Resulting Numbers: [484]
484,66 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,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:[87, 67, 35], Operations: ['44-9=35']
Exploring Operation: 67-35=32, Resulting Numbers: [87, 32]
Generated Node #0,0,0: 66:[87, 32] Operation: 67-35=32
Exploring Operation: 87-67=20, Resulting Numbers: [35, 20]
Generated Node #0,0,1: 66:[35, 20] Operation: 87-67=20
Exploring Operation: 87+35=122, Resulting Numbers: [67, 122]
Generated Node #0,0,2: 66:[67, 122] Operation: 87+35=122
Exploring Operation: 87-35=52, Resulting Numbers: [67, 52]
Generated Node #0,0,3: 66:[67, 52] Operation: 87-35=52
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[35, 20], Operations: ['44-9=35', '87-67=20']
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,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:[67, 52], Operations: ['44-9=35', '87-35=52']
Exploring Operation: 67*52=3484, Resulting Numbers: [3484]
3484,66 unequal: No Solution
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,66 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,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:[87, 32], Operations: ['44-9=35', '67-35=32']
Exploring Operation: 87+32=119, Resulting Numbers: [119]
119,66 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 87*32=2784, Resulting Numbers: [2784]
2784,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:[67, 122], Operations: ['44-9=35', '87+35=122']
Exploring Operation: 67+122=189, Resulting Numbers: [189]
189,66 unequal: No Solution
Exploring Operation: 122-67=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 67*122=8174, Resulting Numbers: [8174]
8174,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,3
Current State: 66:[9, 87, 23], Operations: ['67-44=23']
Exploring Operation: 23-9=14, Resulting Numbers: [87, 14]
Generated Node #0,3,0: 66:[87, 14] Operation: 23-9=14
Exploring Operation: 87-23=64, Resulting Numbers: [9, 64]
Generated Node #0,3,1: 66:[9, 64] Operation: 87-23=64
Exploring Operation: 9+23=32, Resulting Numbers: [87, 32]
Generated Node #0,3,2: 66:[87, 32] Operation: 9+23=32
Exploring Operation: 87-9=78, Resulting Numbers: [23, 78]
Generated Node #0,3,3: 66:[23, 78] Operation: 87-9=78
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 66:[9, 64], Operations: ['67-44=23', '87-23=64']
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 9*64=576, Resulting Numbers: [576]
576,66 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,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:[23, 78], Operations: ['67-44=23', '87-9=78']
Exploring Operation: 23*78=1794, Resulting Numbers: [1794]
1794,66 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 23+78=101, Resulting Numbers: [101]
101,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,2
Current State: 66:[87, 32], Operations: ['67-44=23', '9+23=32']
Exploring Operation: 87+32=119, Resulting Numbers: [119]
119,66 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 87*32=2784, Resulting Numbers: [2784]
2784,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:[87, 14], Operations: ['67-44=23', '23-9=14']
Exploring Operation: 87+14=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 87*14=1218, Resulting Numbers: [1218]
1218,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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.