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 |
|---|---|---|---|---|---|---|---|---|
[
31,
55,
26,
29
] | 32 | [
"55-26=29",
"29/29=1",
"31+1=32"
] | Current State: 32:[31, 55, 26, 29], Operations: []
Exploring Operation: 55-26=29, Resulting Numbers: [31, 29, 29]
Generated Node #2: [31, 29, 29] from Operation: 55-26=29
Current State: 32:[31, 29, 29], Operations: ['55-26=29']
Exploring Operation: 29/29=1, Resulting Numbers: [31, 1]
Generated Node #3: [31, 1] from Operation: 29/29=1
Current State: 32:[31, 1], Operations: ['55-26=29', '29/29=1']
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[31, 55, 26, 29], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [26, 29, 24]
Generated Node #0,0: 32:[26, 29, 24] Operation: 55-31=24
Exploring Operation: 55-26=29, Resulting Numbers: [31, 29, 29]
Generated Node #0,1: 32:[31, 29, 29] Operation: 55-26=29
Exploring Operation: 55-29=26, Resulting Numbers: [31, 26, 26]
Generated Node #0,2: 32:[31, 26, 26] Operation: 55-29=26
Moving to Node #0,1
Current State: 32:[31, 29, 29], Operations: ['55-26=29']
Exploring Operation: 29/29=1, Resulting Numbers: [31, 1]
Generated Node #0,1,0: 32:[31, 1] Operation: 29/29=1
Exploring Operation: 31-29=2, Resulting Numbers: [29, 2]
Generated Node #0,1,1: 32:[29, 2] Operation: 31-29=2
Exploring Operation: 31-29=2, Resulting Numbers: [29, 2]
Generated Node #0,1,2: 32:[29, 2] Operation: 31-29=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[31, 1], Operations: ['55-26=29', '29/29=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[31, 55, 26, 29], Operations: []
Exploring Operation: 55-26=29, Resulting Numbers: [31, 29, 29]
Generated Node #0,1: 32:[31, 29, 29] Operation: 55-26=29
Moving to Node #0,1
Current State: 32:[31, 29, 29], Operations: ['55-26=29']
Exploring Operation: 29/29=1, Resulting Numbers: [31, 1]
Generated Node #0,1,0: 32:[31, 1] Operation: 29/29=1
Moving to Node #0,1,0
Current State: 32:[31, 1], Operations: ['55-26=29', '29/29=1']
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
93,
4,
29,
32
] | 35 | [
"32-29=3",
"93/3=31",
"4+31=35"
] | Current State: 35:[93, 4, 29, 32], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [93, 4, 3]
Generated Node #2: [93, 4, 3] from Operation: 32-29=3
Current State: 35:[93, 4, 3], Operations: ['32-29=3']
Exploring Operation: 93/3=31, Resulting Numbers: [4, 31]
Generated Node #3: [4, 31] from Operation: 93/3=31
Current State: 35:[4, 31], Operations: ['32-29=3', '93/3=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[93, 4, 29, 32], Operations: []
Exploring Operation: 93-29=64, Resulting Numbers: [4, 32, 64]
Generated Node #0,0: 35:[4, 32, 64] Operation: 93-29=64
Moving to Node #0,0
Current State: 35:[4, 32, 64], Operations: ['93-29=64']
Exploring Operation: 64-32=32, Resulting Numbers: [4, 32]
Generated Node #0,0,0: 35:[4, 32] Operation: 64-32=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[4, 32], Operations: ['93-29=64', '64-32=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,35 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 |
[
67,
46,
5,
5
] | 31 | [
"67-46=21",
"5+5=10",
"21+10=31"
] | Current State: 31:[67, 46, 5, 5], Operations: []
Exploring Operation: 67-46=21, Resulting Numbers: [5, 5, 21]
Generated Node #2: [5, 5, 21] from Operation: 67-46=21
Current State: 31:[5, 5, 21], Operations: ['67-46=21']
Exploring Operation: 5+5=10, Resulting Numbers: [21, 10]
Generated Node #3: [21, 10] from Operation: 5+5=10
Current State: 31:[21, 10], Operations: ['67-46=21', '5+5=10']
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[67, 46, 5, 5], Operations: []
Exploring Operation: 67-5=62, Resulting Numbers: [46, 5, 62]
Generated Node #0,0: 31:[46, 5, 62] Operation: 67-5=62
Exploring Operation: 5*5=25, Resulting Numbers: [67, 46, 25]
Generated Node #0,1: 31:[67, 46, 25] Operation: 5*5=25
Exploring Operation: 67-46=21, Resulting Numbers: [5, 5, 21]
Generated Node #0,2: 31:[5, 5, 21] Operation: 67-46=21
Exploring Operation: 46-5=41, Resulting Numbers: [67, 5, 41]
Generated Node #0,3: 31:[67, 5, 41] Operation: 46-5=41
Exploring Operation: 67-5=62, Resulting Numbers: [46, 5, 62]
Generated Node #0,4: 31:[46, 5, 62] Operation: 67-5=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[67, 46, 25], Operations: ['5*5=25']
Exploring Operation: 46+25=71, Resulting Numbers: [67, 71]
Generated Node #0,1,0: 31:[67, 71] Operation: 46+25=71
Exploring Operation: 67+25=92, Resulting Numbers: [46, 92]
Generated Node #0,1,1: 31:[46, 92] Operation: 67+25=92
Exploring Operation: 67-46=21, Resulting Numbers: [25, 21]
Generated Node #0,1,2: 31:[25, 21] Operation: 67-46=21
Exploring Operation: 67-25=42, Resulting Numbers: [46, 42]
Generated Node #0,1,3: 31:[46, 42] Operation: 67-25=42
Exploring Operation: 46-25=21, Resulting Numbers: [67, 21]
Generated Node #0,1,4: 31:[67, 21] Operation: 46-25=21
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 31:[25, 21], Operations: ['5*5=25', '67-46=21']
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,31 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,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,1,3
Current State: 31:[46, 42], Operations: ['5*5=25', '67-25=42']
Exploring Operation: 46+42=88, Resulting Numbers: [88]
88,31 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 46*42=1932, Resulting Numbers: [1932]
1932,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,1,4
Current State: 31:[67, 21], Operations: ['5*5=25', '46-25=21']
Exploring Operation: 67*21=1407, Resulting Numbers: [1407]
1407,31 unequal: No Solution
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 67+21=88, Resulting Numbers: [88]
88,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,1,0
Current State: 31:[67, 71], Operations: ['5*5=25', '46+25=71']
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 67+71=138, Resulting Numbers: [138]
138,31 unequal: No Solution
Exploring Operation: 67*71=4757, Resulting Numbers: [4757]
4757,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,1,1
Current State: 31:[46, 92], Operations: ['5*5=25', '67+25=92']
Exploring Operation: 92-46=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 46*92=4232, Resulting Numbers: [4232]
4232,31 unequal: No Solution
Exploring Operation: 46+92=138, Resulting Numbers: [138]
138,31 unequal: No Solution
Exploring Operation: 92/46=2, Resulting Numbers: [2]
2,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[5, 5, 21], Operations: ['67-46=21']
Exploring Operation: 5/5=1, Resulting Numbers: [21, 1]
Generated Node #0,2,0: 31:[21, 1] Operation: 5/5=1
Exploring Operation: 5+21=26, Resulting Numbers: [5, 26]
Generated Node #0,2,1: 31:[5, 26] Operation: 5+21=26
Exploring Operation: 5*5=25, Resulting Numbers: [21, 25]
Generated Node #0,2,2: 31:[21, 25] Operation: 5*5=25
Exploring Operation: 5+21=26, Resulting Numbers: [5, 26]
Generated Node #0,2,3: 31:[5, 26] Operation: 5+21=26
Exploring Operation: 5+5=10, Resulting Numbers: [21, 10]
Generated Node #0,2,4: 31:[21, 10] Operation: 5+5=10
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 31:[21, 25], Operations: ['67-46=21', '5*5=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,31 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,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:[5, 26], Operations: ['67-46=21', '5+21=26']
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,31 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[67, 46, 5, 5], Operations: []
Exploring Operation: 67-46=21, Resulting Numbers: [5, 5, 21]
Generated Node #0,2: 31:[5, 5, 21] Operation: 67-46=21
Moving to Node #0,2
Current State: 31:[5, 5, 21], Operations: ['67-46=21']
Exploring Operation: 5+21=26, Resulting Numbers: [5, 26]
Generated Node #0,2,1: 31:[5, 26] Operation: 5+21=26
Moving to Node #0,2,1
Current State: 31:[5, 26], Operations: ['67-46=21', '5+21=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
33,
17,
91,
52
] | 93 | [
"33+17=50",
"91+52=143",
"143-50=93"
] | Current State: 93:[33, 17, 91, 52], Operations: []
Exploring Operation: 33+17=50, Resulting Numbers: [91, 52, 50]
Generated Node #2: [91, 52, 50] from Operation: 33+17=50
Current State: 93:[91, 52, 50], Operations: ['33+17=50']
Exploring Operation: 91+52=143, Resulting Numbers: [50, 143]
Generated Node #3: [50, 143] from Operation: 91+52=143
Current State: 93:[50, 143], Operations: ['33+17=50', '91+52=143']
Exploring Operation: 143-50=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[33, 17, 91, 52], Operations: []
Exploring Operation: 33+52=85, Resulting Numbers: [17, 91, 85]
Generated Node #0,0: 93:[17, 91, 85] Operation: 33+52=85
Exploring Operation: 91-52=39, Resulting Numbers: [33, 17, 39]
Generated Node #0,1: 93:[33, 17, 39] Operation: 91-52=39
Exploring Operation: 52-17=35, Resulting Numbers: [33, 91, 35]
Generated Node #0,2: 93:[33, 91, 35] Operation: 52-17=35
Moving to Node #0,2
Current State: 93:[33, 91, 35], Operations: ['52-17=35']
Exploring Operation: 33+35=68, Resulting Numbers: [91, 68]
Generated Node #0,2,0: 93:[91, 68] Operation: 33+35=68
Exploring Operation: 35-33=2, Resulting Numbers: [91, 2]
Generated Node #0,2,1: 93:[91, 2] Operation: 35-33=2
Exploring Operation: 91-35=56, Resulting Numbers: [33, 56]
Generated Node #0,2,2: 93:[33, 56] Operation: 91-35=56
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[91, 2], Operations: ['52-17=35', '35-33=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,93 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[33, 17, 91, 52], Operations: []
Exploring Operation: 52-17=35, Resulting Numbers: [33, 91, 35]
Generated Node #0,2: 93:[33, 91, 35] Operation: 52-17=35
Moving to Node #0,2
Current State: 93:[33, 91, 35], Operations: ['52-17=35']
Exploring Operation: 35-33=2, Resulting Numbers: [91, 2]
Generated Node #0,2,1: 93:[91, 2] Operation: 35-33=2
Moving to Node #0,2,1
Current State: 93:[91, 2], Operations: ['52-17=35', '35-33=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
5,
47,
89,
4
] | 62 | [
"5*4=20",
"89-47=42",
"20+42=62"
] | Current State: 62:[5, 47, 89, 4], Operations: []
Exploring Operation: 5*4=20, Resulting Numbers: [47, 89, 20]
Generated Node #2: [47, 89, 20] from Operation: 5*4=20
Current State: 62:[47, 89, 20], Operations: ['5*4=20']
Exploring Operation: 89-47=42, Resulting Numbers: [20, 42]
Generated Node #3: [20, 42] from Operation: 89-47=42
Current State: 62:[20, 42], Operations: ['5*4=20', '89-47=42']
Exploring Operation: 20+42=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[5, 47, 89, 4], Operations: []
Exploring Operation: 89-5=84, Resulting Numbers: [47, 4, 84]
Generated Node #0,0: 62:[47, 4, 84] Operation: 89-5=84
Exploring Operation: 5+47=52, Resulting Numbers: [89, 4, 52]
Generated Node #0,1: 62:[89, 4, 52] Operation: 5+47=52
Exploring Operation: 47-5=42, Resulting Numbers: [89, 4, 42]
Generated Node #0,2: 62:[89, 4, 42] Operation: 47-5=42
Exploring Operation: 89-47=42, Resulting Numbers: [5, 4, 42]
Generated Node #0,3: 62:[5, 4, 42] Operation: 89-47=42
Exploring Operation: 47+4=51, Resulting Numbers: [5, 89, 51]
Generated Node #0,4: 62:[5, 89, 51] Operation: 47+4=51
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[5, 4, 42], Operations: ['89-47=42']
Exploring Operation: 5-4=1, Resulting Numbers: [42, 1]
Generated Node #0,3,0: 62:[42, 1] Operation: 5-4=1
Exploring Operation: 42-5=37, Resulting Numbers: [4, 37]
Generated Node #0,3,1: 62:[4, 37] Operation: 42-5=37
Exploring Operation: 5+4=9, Resulting Numbers: [42, 9]
Generated Node #0,3,2: 62:[42, 9] Operation: 5+4=9
Exploring Operation: 5+42=47, Resulting Numbers: [4, 47]
Generated Node #0,3,3: 62:[4, 47] Operation: 5+42=47
Exploring Operation: 42-4=38, Resulting Numbers: [5, 38]
Generated Node #0,3,4: 62:[5, 38] Operation: 42-4=38
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 62:[4, 37], Operations: ['89-47=42', '42-5=37']
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 62:[5, 38], Operations: ['89-47=42', '42-4=38']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,62 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 62:[42, 1], Operations: ['89-47=42', '5-4=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 62:[4, 47], Operations: ['89-47=42', '5+42=47']
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,62 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 62:[42, 9], Operations: ['89-47=42', '5+4=9']
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,62 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[47, 4, 84], Operations: ['89-5=84']
Exploring Operation: 84/4=21, Resulting Numbers: [47, 21]
Generated Node #0,0,0: 62:[47, 21] Operation: 84/4=21
Exploring Operation: 84-4=80, Resulting Numbers: [47, 80]
Generated Node #0,0,1: 62:[47, 80] Operation: 84-4=80
Exploring Operation: 84-47=37, Resulting Numbers: [4, 37]
Generated Node #0,0,2: 62:[4, 37] Operation: 84-47=37
Exploring Operation: 47+4=51, Resulting Numbers: [84, 51]
Generated Node #0,0,3: 62:[84, 51] Operation: 47+4=51
Exploring Operation: 47-4=43, Resulting Numbers: [84, 43]
Generated Node #0,0,4: 62:[84, 43] Operation: 47-4=43
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 62:[4, 37], Operations: ['89-5=84', '84-47=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,62 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[47, 21], Operations: ['89-5=84', '84/4=21']
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,62 unequal: No Solution
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,62 unequal: No Solution
Exploring Operation: 47*21=987, Resulting Numbers: [987]
987,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 62:[47, 80], Operations: ['89-5=84', '84-4=80']
Exploring Operation: 47+80=127, Resulting Numbers: [127]
127,62 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 47*80=3760, Resulting Numbers: [3760]
3760,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 62:[84, 51], Operations: ['89-5=84', '47+4=51']
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 84+51=135, Resulting Numbers: [135]
135,62 unequal: No Solution
Exploring Operation: 84*51=4284, Resulting Numbers: [4284]
4284,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 62:[84, 43], Operations: ['89-5=84', '47-4=43']
Exploring Operation: 84+43=127, Resulting Numbers: [127]
127,62 unequal: No Solution
Exploring Operation: 84*43=3612, Resulting Numbers: [3612]
3612,62 unequal: No Solution
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[89, 4, 52], Operations: ['5+47=52']
Exploring Operation: 4+52=56, Resulting Numbers: [89, 56]
Generated Node #0,1,0: 62:[89, 56] Operation: 4+52=56
Exploring Operation: 52/4=13, Resulting Numbers: [89, 13]
Generated Node #0,1,1: 62:[89, 13] Operation: 52/4=13
Exploring Operation: 89-4=85, Resulting Numbers: [52, 85]
Generated Node #0,1,2: 62:[52, 85] Operation: 89-4=85
Exploring Operation: 89-52=37, Resulting Numbers: [4, 37]
Generated Node #0,1,3: 62:[4, 37] Operation: 89-52=37
Exploring Operation: 89+4=93, Resulting Numbers: [52, 93]
Generated Node #0,1,4: 62:[52, 93] Operation: 89+4=93
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 62:[4, 37], Operations: ['5+47=52', '89-52=37']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,62 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[89, 56], Operations: ['5+47=52', '4+52=56']
Exploring Operation: 89+56=145, Resulting Numbers: [145]
145,62 unequal: No Solution
Exploring Operation: 89*56=4984, Resulting Numbers: [4984]
4984,62 unequal: No Solution
Exploring Operation: 89-56=33, Resulting Numbers: [33]
33,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 62:[52, 85], Operations: ['5+47=52', '89-4=85']
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 52+85=137, Resulting Numbers: [137]
137,62 unequal: No Solution
Exploring Operation: 52*85=4420, Resulting Numbers: [4420]
4420,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[89, 13], Operations: ['5+47=52', '52/4=13']
Exploring Operation: 89*13=1157, Resulting Numbers: [1157]
1157,62 unequal: No Solution
Exploring Operation: 89+13=102, Resulting Numbers: [102]
102,62 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 62:[52, 93], Operations: ['5+47=52', '89+4=93']
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,62 unequal: No Solution
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[89, 4, 42], Operations: ['47-5=42']
Exploring Operation: 89-4=85, Resulting Numbers: [42, 85]
Generated Node #0,2,0: 62:[42, 85] Operation: 89-4=85
Exploring Operation: 4+42=46, Resulting Numbers: [89, 46]
Generated Node #0,2,1: 62:[89, 46] Operation: 4+42=46
Exploring Operation: 42-4=38, Resulting Numbers: [89, 38]
Generated Node #0,2,2: 62:[89, 38] Operation: 42-4=38
Exploring Operation: 89-42=47, Resulting Numbers: [4, 47]
Generated Node #0,2,3: 62:[4, 47] Operation: 89-42=47
Exploring Operation: 89+4=93, Resulting Numbers: [42, 93]
Generated Node #0,2,4: 62:[42, 93] Operation: 89+4=93
Moving to Node #0,2,3
Current State: 62:[4, 47], Operations: ['47-5=42', '89-42=47']
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,62 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[89, 38], Operations: ['47-5=42', '42-4=38']
Exploring Operation: 89-38=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 89*38=3382, Resulting Numbers: [3382]
3382,62 unequal: No Solution
Exploring Operation: 89+38=127, Resulting Numbers: [127]
127,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[42, 85], Operations: ['47-5=42', '89-4=85']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,62 unequal: No Solution
Exploring Operation: 42*85=3570, Resulting Numbers: [3570]
3570,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[89, 46], Operations: ['47-5=42', '4+42=46']
Exploring Operation: 89-46=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 89+46=135, Resulting Numbers: [135]
135,62 unequal: No Solution
Exploring Operation: 89*46=4094, Resulting Numbers: [4094]
4094,62 unequal: No Solution
Moving to Node #0,2,4
Current State: 62:[42, 93], Operations: ['47-5=42', '89+4=93']
Exploring Operation: 42+93=135, Resulting Numbers: [135]
135,62 unequal: No Solution
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 42*93=3906, Resulting Numbers: [3906]
3906,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,4
Current State: 62:[5, 89, 51], Operations: ['47+4=51']
Exploring Operation: 5+89=94, Resulting Numbers: [51, 94]
Generated Node #0,4,0: 62:[51, 94] Operation: 5+89=94
Exploring Operation: 51-5=46, Resulting Numbers: [89, 46]
Generated Node #0,4,1: 62:[89, 46] Operation: 51-5=46
Exploring Operation: 89-5=84, Resulting Numbers: [51, 84]
Generated Node #0,4,2: 62:[51, 84] Operation: 89-5=84
Exploring Operation: 5+51=56, Resulting Numbers: [89, 56]
Generated Node #0,4,3: 62:[89, 56] Operation: 5+51=56
Exploring Operation: 89-51=38, Resulting Numbers: [5, 38]
Generated Node #0,4,4: 62:[5, 38] Operation: 89-51=38
Moving to Node #0,4,4
Current State: 62:[5, 38], Operations: ['47+4=51', '89-51=38']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,62 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Moving to Node #0,4,3
Current State: 62:[89, 56], Operations: ['47+4=51', '5+51=56']
Exploring Operation: 89*56=4984, Resulting Numbers: [4984]
4984,62 unequal: No Solution
Exploring Operation: 89-56=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 89+56=145, Resulting Numbers: [145]
145,62 unequal: No Solution
Moving to Node #0,4,2
Current State: 62:[51, 84], Operations: ['47+4=51', '89-5=84']
Exploring Operation: 51+84=135, Resulting Numbers: [135]
135,62 unequal: No Solution
Exploring Operation: 51*84=4284, Resulting Numbers: [4284]
4284,62 unequal: No Solution
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Moving to Node #0,4,1
Current State: 62:[89, 46], Operations: ['47+4=51', '51-5=46']
Exploring Operation: 89-46=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 89+46=135, Resulting Numbers: [135]
135,62 unequal: No Solution
Exploring Operation: 89*46=4094, Resulting Numbers: [4094]
4094,62 unequal: No Solution
Moving to Node #0,4,0
Current State: 62:[51, 94], Operations: ['47+4=51', '5+89=94']
Exploring Operation: 94-51=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 51*94=4794, Resulting Numbers: [4794]
4794,62 unequal: No Solution
Exploring Operation: 51+94=145, Resulting Numbers: [145]
145,62 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 |
[
29,
4,
75,
39
] | 13 | [
"29-4=25",
"75/25=3",
"39/3=13"
] | Current State: 13:[29, 4, 75, 39], Operations: []
Exploring Operation: 29-4=25, Resulting Numbers: [75, 39, 25]
Generated Node #2: [75, 39, 25] from Operation: 29-4=25
Current State: 13:[75, 39, 25], Operations: ['29-4=25']
Exploring Operation: 75/25=3, Resulting Numbers: [39, 3]
Generated Node #3: [39, 3] from Operation: 75/25=3
Current State: 13:[39, 3], Operations: ['29-4=25', '75/25=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[29, 4, 75, 39], Operations: []
Exploring Operation: 75-39=36, Resulting Numbers: [29, 4, 36]
Generated Node #0,0: 13:[29, 4, 36] Operation: 75-39=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[29, 4, 36], Operations: ['75-39=36']
Exploring Operation: 36-29=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 13:[4, 7] Operation: 36-29=7
Moving to Node #0,0,0
Current State: 13:[4, 7], Operations: ['75-39=36', '36-29=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,13 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 |
[
20,
44,
19,
88
] | 83 | [
"44-20=24",
"19+88=107",
"107-24=83"
] | Current State: 83:[20, 44, 19, 88], Operations: []
Exploring Operation: 44-20=24, Resulting Numbers: [19, 88, 24]
Generated Node #2: [19, 88, 24] from Operation: 44-20=24
Current State: 83:[19, 88, 24], Operations: ['44-20=24']
Exploring Operation: 19+88=107, Resulting Numbers: [24, 107]
Generated Node #3: [24, 107] from Operation: 19+88=107
Current State: 83:[24, 107], Operations: ['44-20=24', '19+88=107']
Exploring Operation: 107-24=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[20, 44, 19, 88], Operations: []
Exploring Operation: 20+19=39, Resulting Numbers: [44, 88, 39]
Generated Node #0,0: 83:[44, 88, 39] Operation: 20+19=39
Exploring Operation: 20+44=64, Resulting Numbers: [19, 88, 64]
Generated Node #0,1: 83:[19, 88, 64] Operation: 20+44=64
Exploring Operation: 44+19=63, Resulting Numbers: [20, 88, 63]
Generated Node #0,2: 83:[20, 88, 63] Operation: 44+19=63
Moving to Node #0,0
Current State: 83:[44, 88, 39], Operations: ['20+19=39']
Exploring Operation: 88-39=49, Resulting Numbers: [44, 49]
Generated Node #0,0,0: 83:[44, 49] Operation: 88-39=49
Exploring Operation: 88-44=44, Resulting Numbers: [39, 44]
Generated Node #0,0,1: 83:[39, 44] Operation: 88-44=44
Exploring Operation: 44+39=83, Resulting Numbers: [88, 83]
Generated Node #0,0,2: 83:[88, 83] Operation: 44+39=83
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[88, 83], Operations: ['20+19=39', '44+39=83']
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 88+83=171, Resulting Numbers: [171]
171,83 unequal: No Solution
Exploring Operation: 88*83=7304, Resulting Numbers: [7304]
7304,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[44, 49], Operations: ['20+19=39', '88-39=49']
Exploring Operation: 44*49=2156, Resulting Numbers: [2156]
2156,83 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 44+49=93, Resulting Numbers: [93]
93,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[39, 44], Operations: ['20+19=39', '88-44=44']
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[20, 44, 19, 88], Operations: []
Exploring Operation: 20+19=39, Resulting Numbers: [44, 88, 39]
Generated Node #0,0: 83:[44, 88, 39] Operation: 20+19=39
Moving to Node #0,0
Current State: 83:[44, 88, 39], Operations: ['20+19=39']
Exploring Operation: 88-44=44, Resulting Numbers: [39, 44]
Generated Node #0,0,1: 83:[39, 44] Operation: 88-44=44
Moving to Node #0,0,1
Current State: 83:[39, 44], Operations: ['20+19=39', '88-44=44']
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
1,
51,
58,
2
] | 21 | [
"51-1=50",
"58/2=29",
"50-29=21"
] | Current State: 21:[1, 51, 58, 2], Operations: []
Exploring Operation: 51-1=50, Resulting Numbers: [58, 2, 50]
Generated Node #2: [58, 2, 50] from Operation: 51-1=50
Current State: 21:[58, 2, 50], Operations: ['51-1=50']
Exploring Operation: 58/2=29, Resulting Numbers: [50, 29]
Generated Node #3: [50, 29] from Operation: 58/2=29
Current State: 21:[50, 29], Operations: ['51-1=50', '58/2=29']
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[1, 51, 58, 2], Operations: []
Exploring Operation: 51-1=50, Resulting Numbers: [58, 2, 50]
Generated Node #0,0: 21:[58, 2, 50] Operation: 51-1=50
Exploring Operation: 1+2=3, Resulting Numbers: [51, 58, 3]
Generated Node #0,1: 21:[51, 58, 3] Operation: 1+2=3
Exploring Operation: 58/2=29, Resulting Numbers: [1, 51, 29]
Generated Node #0,2: 21:[1, 51, 29] Operation: 58/2=29
Exploring Operation: 58-51=7, Resulting Numbers: [1, 2, 7]
Generated Node #0,3: 21:[1, 2, 7] Operation: 58-51=7
Exploring Operation: 58-1=57, Resulting Numbers: [51, 2, 57]
Generated Node #0,4: 21:[51, 2, 57] Operation: 58-1=57
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[1, 2, 7], Operations: ['58-51=7']
Exploring Operation: 1*2=2, Resulting Numbers: [7, 2]
Generated Node #0,3,0: 21:[7, 2] Operation: 1*2=2
Exploring Operation: 7/1=7, Resulting Numbers: [2, 7]
Generated Node #0,3,1: 21:[2, 7] Operation: 7/1=7
Exploring Operation: 1+2=3, Resulting Numbers: [7, 3]
Generated Node #0,3,2: 21:[7, 3] Operation: 1+2=3
Exploring Operation: 1*7=7, Resulting Numbers: [2, 7]
Generated Node #0,3,3: 21:[2, 7] Operation: 1*7=7
Exploring Operation: 2/1=2, Resulting Numbers: [7, 2]
Generated Node #0,3,4: 21:[7, 2] Operation: 2/1=2
Moving to Node #0,3,2
Current State: 21:[7, 3], Operations: ['58-51=7', '1+2=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[1, 51, 58, 2], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [1, 2, 7]
Generated Node #0,3: 21:[1, 2, 7] Operation: 58-51=7
Moving to Node #0,3
Current State: 21:[1, 2, 7], Operations: ['58-51=7']
Exploring Operation: 1+2=3, Resulting Numbers: [7, 3]
Generated Node #0,3,2: 21:[7, 3] Operation: 1+2=3
Moving to Node #0,3,2
Current State: 21:[7, 3], Operations: ['58-51=7', '1+2=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
46,
84,
70,
91
] | 56 | [
"91-84=7",
"70/7=10",
"46+10=56"
] | Current State: 56:[46, 84, 70, 91], Operations: []
Exploring Operation: 91-84=7, Resulting Numbers: [46, 70, 7]
Generated Node #2: [46, 70, 7] from Operation: 91-84=7
Current State: 56:[46, 70, 7], Operations: ['91-84=7']
Exploring Operation: 70/7=10, Resulting Numbers: [46, 10]
Generated Node #3: [46, 10] from Operation: 70/7=10
Current State: 56:[46, 10], Operations: ['91-84=7', '70/7=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[46, 84, 70, 91], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [46, 84, 21]
Generated Node #0,0: 56:[46, 84, 21] Operation: 91-70=21
Exploring Operation: 84-70=14, Resulting Numbers: [46, 91, 14]
Generated Node #0,1: 56:[46, 91, 14] Operation: 84-70=14
Exploring Operation: 91-84=7, Resulting Numbers: [46, 70, 7]
Generated Node #0,2: 56:[46, 70, 7] Operation: 91-84=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[46, 70, 7], Operations: ['91-84=7']
Exploring Operation: 46+7=53, Resulting Numbers: [70, 53]
Generated Node #0,2,0: 56:[70, 53] Operation: 46+7=53
Exploring Operation: 70-46=24, Resulting Numbers: [7, 24]
Generated Node #0,2,1: 56:[7, 24] Operation: 70-46=24
Exploring Operation: 70/7=10, Resulting Numbers: [46, 10]
Generated Node #0,2,2: 56:[46, 10] Operation: 70/7=10
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[7, 24], Operations: ['91-84=7', '70-46=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,56 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 56:[46, 10], Operations: ['91-84=7', '70/7=10']
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,56 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[46, 84, 70, 91], Operations: []
Exploring Operation: 91-84=7, Resulting Numbers: [46, 70, 7]
Generated Node #0,2: 56:[46, 70, 7] Operation: 91-84=7
Moving to Node #0,2
Current State: 56:[46, 70, 7], Operations: ['91-84=7']
Exploring Operation: 70/7=10, Resulting Numbers: [46, 10]
Generated Node #0,2,2: 56:[46, 10] Operation: 70/7=10
Moving to Node #0,2,2
Current State: 56:[46, 10], Operations: ['91-84=7', '70/7=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
79,
74,
74,
30
] | 76 | [
"79-74=5",
"30*5=150",
"150-74=76"
] | Current State: 76:[79, 74, 74, 30], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [30, 5]
Generated Node #2: [30, 5] from Operation: 79-74=5
Current State: 76:[30, 5], Operations: ['79-74=5']
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,76 equal: Goal Reached
Exploring Operation: 150-74=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[79, 74, 74, 30], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [74, 30, 5]
Generated Node #0,0: 76:[74, 30, 5] Operation: 79-74=5
Moving to Node #0,0
Current State: 76:[74, 30, 5], Operations: ['79-74=5']
Exploring Operation: 30/5=6, Resulting Numbers: [74, 6]
Generated Node #0,0,0: 76:[74, 6] Operation: 30/5=6
Moving to Node #0,0,0
Current State: 76:[74, 6], Operations: ['79-74=5', '30/5=6']
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,76 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
20,
97,
29,
11
] | 37 | [
"97-20=77",
"29+11=40",
"77-40=37"
] | Current State: 37:[20, 97, 29, 11], Operations: []
Exploring Operation: 97-20=77, Resulting Numbers: [29, 11, 77]
Generated Node #2: [29, 11, 77] from Operation: 97-20=77
Current State: 37:[29, 11, 77], Operations: ['97-20=77']
Exploring Operation: 29+11=40, Resulting Numbers: [77, 40]
Generated Node #3: [77, 40] from Operation: 29+11=40
Current State: 37:[77, 40], Operations: ['97-20=77', '29+11=40']
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[20, 97, 29, 11], Operations: []
Exploring Operation: 20+11=31, Resulting Numbers: [97, 29, 31]
Generated Node #0,0: 37:[97, 29, 31] Operation: 20+11=31
Exploring Operation: 97-20=77, Resulting Numbers: [29, 11, 77]
Generated Node #0,1: 37:[29, 11, 77] Operation: 97-20=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[97, 29, 31], Operations: ['20+11=31']
Exploring Operation: 97-29=68, Resulting Numbers: [31, 68]
Generated Node #0,0,0: 37:[31, 68] Operation: 97-29=68
Exploring Operation: 97-31=66, Resulting Numbers: [29, 66]
Generated Node #0,0,1: 37:[29, 66] Operation: 97-31=66
Moving to Node #0,0,0
Current State: 37:[31, 68], Operations: ['20+11=31', '97-29=68']
Exploring Operation: 31+68=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[20, 97, 29, 11], Operations: []
Exploring Operation: 20+11=31, Resulting Numbers: [97, 29, 31]
Generated Node #0,0: 37:[97, 29, 31] Operation: 20+11=31
Moving to Node #0,0
Current State: 37:[97, 29, 31], Operations: ['20+11=31']
Exploring Operation: 97-29=68, Resulting Numbers: [31, 68]
Generated Node #0,0,0: 37:[31, 68] Operation: 97-29=68
Moving to Node #0,0,0
Current State: 37:[31, 68], Operations: ['20+11=31', '97-29=68']
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
40,
20,
77,
83
] | 26 | [
"40-20=20",
"83-77=6",
"20+6=26"
] | Current State: 26:[40, 20, 77, 83], Operations: []
Exploring Operation: 40-20=20, Resulting Numbers: [77, 83, 20]
Generated Node #2: [77, 83, 20] from Operation: 40-20=20
Current State: 26:[77, 83, 20], Operations: ['40-20=20']
Exploring Operation: 83-77=6, Resulting Numbers: [20, 6]
Generated Node #3: [20, 6] from Operation: 83-77=6
Current State: 26:[20, 6], Operations: ['40-20=20', '83-77=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[40, 20, 77, 83], Operations: []
Exploring Operation: 77-40=37, Resulting Numbers: [20, 83, 37]
Generated Node #0,0: 26:[20, 83, 37] Operation: 77-40=37
Exploring Operation: 83-20=63, Resulting Numbers: [40, 77, 63]
Generated Node #0,1: 26:[40, 77, 63] Operation: 83-20=63
Exploring Operation: 83-40=43, Resulting Numbers: [20, 77, 43]
Generated Node #0,2: 26:[20, 77, 43] Operation: 83-40=43
Exploring Operation: 77-20=57, Resulting Numbers: [40, 83, 57]
Generated Node #0,3: 26:[40, 83, 57] Operation: 77-20=57
Exploring Operation: 83-77=6, Resulting Numbers: [40, 20, 6]
Generated Node #0,4: 26:[40, 20, 6] Operation: 83-77=6
Moving to Node #0,4
Current State: 26:[40, 20, 6], Operations: ['83-77=6']
Exploring Operation: 40/20=2, Resulting Numbers: [6, 2]
Generated Node #0,4,0: 26:[6, 2] Operation: 40/20=2
Exploring Operation: 20-6=14, Resulting Numbers: [40, 14]
Generated Node #0,4,1: 26:[40, 14] Operation: 20-6=14
Exploring Operation: 40-20=20, Resulting Numbers: [6, 20]
Generated Node #0,4,2: 26:[6, 20] Operation: 40-20=20
Exploring Operation: 40-6=34, Resulting Numbers: [20, 34]
Generated Node #0,4,3: 26:[20, 34] Operation: 40-6=34
Exploring Operation: 20+6=26, Resulting Numbers: [40, 26]
Generated Node #0,4,4: 26:[40, 26] Operation: 20+6=26
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 26:[6, 2], Operations: ['83-77=6', '40/20=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 26:[6, 20], Operations: ['83-77=6', '40-20=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,26 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[40, 20, 77, 83], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [40, 20, 6]
Generated Node #0,4: 26:[40, 20, 6] Operation: 83-77=6
Moving to Node #0,4
Current State: 26:[40, 20, 6], Operations: ['83-77=6']
Exploring Operation: 40-20=20, Resulting Numbers: [6, 20]
Generated Node #0,4,2: 26:[6, 20] Operation: 40-20=20
Moving to Node #0,4,2
Current State: 26:[6, 20], Operations: ['83-77=6', '40-20=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
27,
32,
86,
96
] | 62 | [
"86-27=59",
"96/32=3",
"59+3=62"
] | Current State: 62:[27, 32, 86, 96], Operations: []
Exploring Operation: 86-27=59, Resulting Numbers: [32, 96, 59]
Generated Node #2: [32, 96, 59] from Operation: 86-27=59
Current State: 62:[32, 96, 59], Operations: ['86-27=59']
Exploring Operation: 96/32=3, Resulting Numbers: [59, 3]
Generated Node #3: [59, 3] from Operation: 96/32=3
Current State: 62:[59, 3], Operations: ['86-27=59', '96/32=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[27, 32, 86, 96], Operations: []
Exploring Operation: 96-86=10, Resulting Numbers: [27, 32, 10]
Generated Node #0,0: 62:[27, 32, 10] Operation: 96-86=10
Exploring Operation: 96/32=3, Resulting Numbers: [27, 86, 3]
Generated Node #0,1: 62:[27, 86, 3] Operation: 96/32=3
Moving to Node #0,0
Current State: 62:[27, 32, 10], Operations: ['96-86=10']
Exploring Operation: 27+10=37, Resulting Numbers: [32, 37]
Generated Node #0,0,0: 62:[32, 37] Operation: 27+10=37
Exploring Operation: 27+32=59, Resulting Numbers: [10, 59]
Generated Node #0,0,1: 62:[10, 59] Operation: 27+32=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[32, 37], Operations: ['96-86=10', '27+10=37']
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,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,0,1
Current State: 62:[10, 59], Operations: ['96-86=10', '27+32=59']
Exploring Operation: 10+59=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[27, 86, 3], Operations: ['96/32=3']
Exploring Operation: 86-27=59, Resulting Numbers: [3, 59]
Generated Node #0,1,0: 62:[3, 59] Operation: 86-27=59
Exploring Operation: 27+3=30, Resulting Numbers: [86, 30]
Generated Node #0,1,1: 62:[86, 30] Operation: 27+3=30
Moving to Node #0,1,0
Current State: 62:[3, 59], Operations: ['96/32=3', '86-27=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[27, 32, 86, 96], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [27, 86, 3]
Generated Node #0,1: 62:[27, 86, 3] Operation: 96/32=3
Moving to Node #0,1
Current State: 62:[27, 86, 3], Operations: ['96/32=3']
Exploring Operation: 86-27=59, Resulting Numbers: [3, 59]
Generated Node #0,1,0: 62:[3, 59] Operation: 86-27=59
Moving to Node #0,1,0
Current State: 62:[3, 59], Operations: ['96/32=3', '86-27=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
96,
10,
58,
53
] | 98 | [
"58-53=5",
"10/5=2",
"96+2=98"
] | Current State: 98:[96, 10, 58, 53], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [96, 10, 5]
Generated Node #2: [96, 10, 5] from Operation: 58-53=5
Current State: 98:[96, 10, 5], Operations: ['58-53=5']
Exploring Operation: 10/5=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 10/5=2
Current State: 98:[96, 2], Operations: ['58-53=5', '10/5=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[96, 10, 58, 53], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [96, 10, 5]
Generated Node #0,0: 98:[96, 10, 5] Operation: 58-53=5
Exploring Operation: 53-10=43, Resulting Numbers: [96, 58, 43]
Generated Node #0,1: 98:[96, 58, 43] Operation: 53-10=43
Exploring Operation: 58-10=48, Resulting Numbers: [96, 53, 48]
Generated Node #0,2: 98:[96, 53, 48] Operation: 58-10=48
Exploring Operation: 96-58=38, Resulting Numbers: [10, 53, 38]
Generated Node #0,3: 98:[10, 53, 38] Operation: 96-58=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[96, 10, 5], Operations: ['58-53=5']
Exploring Operation: 10*5=50, Resulting Numbers: [96, 50]
Generated Node #0,0,0: 98:[96, 50] Operation: 10*5=50
Exploring Operation: 10/5=2, Resulting Numbers: [96, 2]
Generated Node #0,0,1: 98:[96, 2] Operation: 10/5=2
Exploring Operation: 10+5=15, Resulting Numbers: [96, 15]
Generated Node #0,0,2: 98:[96, 15] Operation: 10+5=15
Exploring Operation: 10-5=5, Resulting Numbers: [96, 5]
Generated Node #0,0,3: 98:[96, 5] Operation: 10-5=5
Moving to Node #0,0,1
Current State: 98:[96, 2], Operations: ['58-53=5', '10/5=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,98 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,98 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[96, 10, 58, 53], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [96, 10, 5]
Generated Node #0,0: 98:[96, 10, 5] Operation: 58-53=5
Moving to Node #0,0
Current State: 98:[96, 10, 5], Operations: ['58-53=5']
Exploring Operation: 10/5=2, Resulting Numbers: [96, 2]
Generated Node #0,0,1: 98:[96, 2] Operation: 10/5=2
Moving to Node #0,0,1
Current State: 98:[96, 2], Operations: ['58-53=5', '10/5=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
32,
16,
87,
17
] | 80 | [
"16*87=1392",
"1392-32=1360",
"1360/17=80"
] | Current State: 80:[32, 16, 87, 17], Operations: []
Exploring Operation: 16*87=1392, Resulting Numbers: [32, 17, 1392]
Generated Node #2: [32, 17, 1392] from Operation: 16*87=1392
Current State: 80:[32, 17, 1392], Operations: ['16*87=1392']
Exploring Operation: 1392-32=1360, Resulting Numbers: [17, 1360]
Generated Node #3: [17, 1360] from Operation: 1392-32=1360
Current State: 80:[17, 1360], Operations: ['16*87=1392', '1392-32=1360']
Exploring Operation: 1360/17=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[32, 16, 87, 17], Operations: []
Exploring Operation: 32-16=16, Resulting Numbers: [87, 17, 16]
Generated Node #0,0: 80:[87, 17, 16] Operation: 32-16=16
Exploring Operation: 32-17=15, Resulting Numbers: [16, 87, 15]
Generated Node #0,1: 80:[16, 87, 15] Operation: 32-17=15
Exploring Operation: 32+16=48, Resulting Numbers: [87, 17, 48]
Generated Node #0,2: 80:[87, 17, 48] Operation: 32+16=48
Exploring Operation: 32/16=2, Resulting Numbers: [87, 17, 2]
Generated Node #0,3: 80:[87, 17, 2] Operation: 32/16=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[87, 17, 16], Operations: ['32-16=16']
Exploring Operation: 87-16=71, Resulting Numbers: [17, 71]
Generated Node #0,0,0: 80:[17, 71] Operation: 87-16=71
Exploring Operation: 87-17=70, Resulting Numbers: [16, 70]
Generated Node #0,0,1: 80:[16, 70] Operation: 87-17=70
Exploring Operation: 17+16=33, Resulting Numbers: [87, 33]
Generated Node #0,0,2: 80:[87, 33] Operation: 17+16=33
Exploring Operation: 17-16=1, Resulting Numbers: [87, 1]
Generated Node #0,0,3: 80:[87, 1] Operation: 17-16=1
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 80:[87, 1], Operations: ['32-16=16', '17-16=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[17, 71], Operations: ['32-16=16', '87-16=71']
Exploring Operation: 17+71=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 17*71=1207, Resulting Numbers: [1207]
1207,80 unequal: No Solution
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[16, 70], Operations: ['32-16=16', '87-17=70']
Exploring Operation: 16*70=1120, Resulting Numbers: [1120]
1120,80 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,80 unequal: No Solution
Exploring Operation: 16+70=86, Resulting Numbers: [86]
86,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[87, 33], Operations: ['32-16=16', '17+16=33']
Exploring Operation: 87*33=2871, Resulting Numbers: [2871]
2871,80 unequal: No Solution
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,80 unequal: No Solution
Exploring Operation: 87+33=120, Resulting Numbers: [120]
120,80 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: 80:[16, 87, 15], Operations: ['32-17=15']
Exploring Operation: 16-15=1, Resulting Numbers: [87, 1]
Generated Node #0,1,0: 80:[87, 1] Operation: 16-15=1
Exploring Operation: 87-15=72, Resulting Numbers: [16, 72]
Generated Node #0,1,1: 80:[16, 72] Operation: 87-15=72
Exploring Operation: 16+15=31, Resulting Numbers: [87, 31]
Generated Node #0,1,2: 80:[87, 31] Operation: 16+15=31
Exploring Operation: 87-16=71, Resulting Numbers: [15, 71]
Generated Node #0,1,3: 80:[15, 71] Operation: 87-16=71
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[87, 1], Operations: ['32-17=15', '16-15=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[16, 72], Operations: ['32-17=15', '87-15=72']
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,80 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 80:[15, 71], Operations: ['32-17=15', '87-16=71']
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Exploring Operation: 15+71=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 15*71=1065, Resulting Numbers: [1065]
1065,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[87, 31], Operations: ['32-17=15', '16+15=31']
Exploring Operation: 87+31=118, Resulting Numbers: [118]
118,80 unequal: No Solution
Exploring Operation: 87*31=2697, Resulting Numbers: [2697]
2697,80 unequal: No Solution
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,80 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: 80:[87, 17, 2], Operations: ['32/16=2']
Exploring Operation: 17+2=19, Resulting Numbers: [87, 19]
Generated Node #0,3,0: 80:[87, 19] Operation: 17+2=19
Exploring Operation: 87-2=85, Resulting Numbers: [17, 85]
Generated Node #0,3,1: 80:[17, 85] Operation: 87-2=85
Exploring Operation: 17-2=15, Resulting Numbers: [87, 15]
Generated Node #0,3,2: 80:[87, 15] Operation: 17-2=15
Exploring Operation: 87-17=70, Resulting Numbers: [2, 70]
Generated Node #0,3,3: 80:[2, 70] Operation: 87-17=70
Moving to Node #0,3,1
Current State: 80:[17, 85], Operations: ['32/16=2', '87-2=85']
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,80 unequal: No Solution
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 17+85=102, Resulting Numbers: [102]
102,80 unequal: No Solution
Exploring Operation: 17*85=1445, Resulting Numbers: [1445]
1445,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[87, 15], Operations: ['32/16=2', '17-2=15']
Exploring Operation: 87*15=1305, Resulting Numbers: [1305]
1305,80 unequal: No Solution
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,80 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[87, 19], Operations: ['32/16=2', '17+2=19']
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,80 unequal: No Solution
Exploring Operation: 87+19=106, Resulting Numbers: [106]
106,80 unequal: No Solution
Exploring Operation: 87*19=1653, Resulting Numbers: [1653]
1653,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[2, 70], Operations: ['32/16=2', '87-17=70']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,80 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,80 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,80 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,80 unequal: No Solution
No 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: 80:[87, 17, 48], Operations: ['32+16=48']
Exploring Operation: 48-17=31, Resulting Numbers: [87, 31]
Generated Node #0,2,0: 80:[87, 31] Operation: 48-17=31
Exploring Operation: 87-48=39, Resulting Numbers: [17, 39]
Generated Node #0,2,1: 80:[17, 39] Operation: 87-48=39
Exploring Operation: 17+48=65, Resulting Numbers: [87, 65]
Generated Node #0,2,2: 80:[87, 65] Operation: 17+48=65
Exploring Operation: 87-17=70, Resulting Numbers: [48, 70]
Generated Node #0,2,3: 80:[48, 70] Operation: 87-17=70
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[17, 39], Operations: ['32+16=48', '87-48=39']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,80 unequal: No Solution
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 80:[87, 31], Operations: ['32+16=48', '48-17=31']
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Exploring Operation: 87+31=118, Resulting Numbers: [118]
118,80 unequal: No Solution
Exploring Operation: 87*31=2697, Resulting Numbers: [2697]
2697,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 80:[48, 70], Operations: ['32+16=48', '87-17=70']
Exploring Operation: 48+70=118, Resulting Numbers: [118]
118,80 unequal: No Solution
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,80 unequal: No Solution
Exploring Operation: 48*70=3360, Resulting Numbers: [3360]
3360,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 80:[87, 65], Operations: ['32+16=48', '17+48=65']
Exploring Operation: 87+65=152, Resulting Numbers: [152]
152,80 unequal: No Solution
Exploring Operation: 87-65=22, Resulting Numbers: [22]
22,80 unequal: No Solution
Exploring Operation: 87*65=5655, Resulting Numbers: [5655]
5655,80 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 |
[
32,
16,
77,
5
] | 67 | [
"32/16=2",
"5*2=10",
"77-10=67"
] | Current State: 67:[32, 16, 77, 5], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [77, 5, 2]
Generated Node #2: [77, 5, 2] from Operation: 32/16=2
Current State: 67:[77, 5, 2], Operations: ['32/16=2']
Exploring Operation: 5*2=10, Resulting Numbers: [77, 10]
Generated Node #3: [77, 10] from Operation: 5*2=10
Current State: 67:[77, 10], Operations: ['32/16=2', '5*2=10']
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[32, 16, 77, 5], Operations: []
Exploring Operation: 16*5=80, Resulting Numbers: [32, 77, 80]
Generated Node #0,0: 67:[32, 77, 80] Operation: 16*5=80
Exploring Operation: 32+16=48, Resulting Numbers: [77, 5, 48]
Generated Node #0,1: 67:[77, 5, 48] Operation: 32+16=48
Exploring Operation: 32+5=37, Resulting Numbers: [16, 77, 37]
Generated Node #0,2: 67:[16, 77, 37] Operation: 32+5=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[32, 77, 80], Operations: ['16*5=80']
Exploring Operation: 80-32=48, Resulting Numbers: [77, 48]
Generated Node #0,0,0: 67:[77, 48] Operation: 80-32=48
Exploring Operation: 77-32=45, Resulting Numbers: [80, 45]
Generated Node #0,0,1: 67:[80, 45] Operation: 77-32=45
Exploring Operation: 32+77=109, Resulting Numbers: [80, 109]
Generated Node #0,0,2: 67:[80, 109] Operation: 32+77=109
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[77, 48], Operations: ['16*5=80', '80-32=48']
Exploring Operation: 77*48=3696, Resulting Numbers: [3696]
3696,67 unequal: No Solution
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,67 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,67 unequal: No Solution
No 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: 67:[80, 45], Operations: ['16*5=80', '77-32=45']
Exploring Operation: 80+45=125, Resulting Numbers: [125]
125,67 unequal: No Solution
Exploring Operation: 80*45=3600, Resulting Numbers: [3600]
3600,67 unequal: No Solution
Exploring Operation: 80-45=35, Resulting Numbers: [35]
35,67 unequal: No Solution
No 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: 67:[80, 109], Operations: ['16*5=80', '32+77=109']
Exploring Operation: 80*109=8720, Resulting Numbers: [8720]
8720,67 unequal: No Solution
Exploring Operation: 80+109=189, Resulting Numbers: [189]
189,67 unequal: No Solution
Exploring Operation: 109-80=29, Resulting Numbers: [29]
29,67 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: 67:[77, 5, 48], Operations: ['32+16=48']
Exploring Operation: 77+5=82, Resulting Numbers: [48, 82]
Generated Node #0,1,0: 67:[48, 82] Operation: 77+5=82
Exploring Operation: 77-5=72, Resulting Numbers: [48, 72]
Generated Node #0,1,1: 67:[48, 72] Operation: 77-5=72
Exploring Operation: 5+48=53, Resulting Numbers: [77, 53]
Generated Node #0,1,2: 67:[77, 53] Operation: 5+48=53
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[48, 72], Operations: ['32+16=48', '77-5=72']
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,67 unequal: No Solution
No 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: 67:[77, 53], Operations: ['32+16=48', '5+48=53']
Exploring Operation: 77*53=4081, Resulting Numbers: [4081]
4081,67 unequal: No Solution
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 77+53=130, Resulting Numbers: [130]
130,67 unequal: No Solution
No 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: 67:[48, 82], Operations: ['32+16=48', '77+5=82']
Exploring Operation: 48+82=130, Resulting Numbers: [130]
130,67 unequal: No Solution
Exploring Operation: 48*82=3936, Resulting Numbers: [3936]
3936,67 unequal: No Solution
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,67 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: 67:[16, 77, 37], Operations: ['32+5=37']
Exploring Operation: 16+77=93, Resulting Numbers: [37, 93]
Generated Node #0,2,0: 67:[37, 93] Operation: 16+77=93
Exploring Operation: 77-16=61, Resulting Numbers: [37, 61]
Generated Node #0,2,1: 67:[37, 61] Operation: 77-16=61
Exploring Operation: 16+37=53, Resulting Numbers: [77, 53]
Generated Node #0,2,2: 67:[77, 53] Operation: 16+37=53
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[77, 53], Operations: ['32+5=37', '16+37=53']
Exploring Operation: 77*53=4081, Resulting Numbers: [4081]
4081,67 unequal: No Solution
Exploring Operation: 77+53=130, Resulting Numbers: [130]
130,67 unequal: No Solution
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,67 unequal: No Solution
No 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: 67:[37, 61], Operations: ['32+5=37', '77-16=61']
Exploring Operation: 37+61=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 37*61=2257, Resulting Numbers: [2257]
2257,67 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,67 unequal: No Solution
No 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: 67:[37, 93], Operations: ['32+5=37', '16+77=93']
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 37*93=3441, Resulting Numbers: [3441]
3441,67 unequal: No Solution
Exploring Operation: 37+93=130, Resulting Numbers: [130]
130,67 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 |
[
40,
32,
38,
95
] | 48 | [
"40*38=1520",
"1520/95=16",
"32+16=48"
] | Current State: 48:[40, 32, 38, 95], Operations: []
Exploring Operation: 40*38=1520, Resulting Numbers: [32, 95, 1520]
Generated Node #2: [32, 95, 1520] from Operation: 40*38=1520
Current State: 48:[32, 95, 1520], Operations: ['40*38=1520']
Exploring Operation: 1520/95=16, Resulting Numbers: [32, 16]
Generated Node #3: [32, 16] from Operation: 1520/95=16
Current State: 48:[32, 16], Operations: ['40*38=1520', '1520/95=16']
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[40, 32, 38, 95], Operations: []
Exploring Operation: 95-32=63, Resulting Numbers: [40, 38, 63]
Generated Node #0,0: 48:[40, 38, 63] Operation: 95-32=63
Exploring Operation: 40-38=2, Resulting Numbers: [32, 95, 2]
Generated Node #0,1: 48:[32, 95, 2] Operation: 40-38=2
Exploring Operation: 95-38=57, Resulting Numbers: [40, 32, 57]
Generated Node #0,2: 48:[40, 32, 57] Operation: 95-38=57
Exploring Operation: 95-40=55, Resulting Numbers: [32, 38, 55]
Generated Node #0,3: 48:[32, 38, 55] Operation: 95-40=55
Exploring Operation: 38-32=6, Resulting Numbers: [40, 95, 6]
Generated Node #0,4: 48:[40, 95, 6] Operation: 38-32=6
Moving to Node #0,2
Current State: 48:[40, 32, 57], Operations: ['95-38=57']
Exploring Operation: 57-40=17, Resulting Numbers: [32, 17]
Generated Node #0,2,0: 48:[32, 17] Operation: 57-40=17
Exploring Operation: 40-32=8, Resulting Numbers: [57, 8]
Generated Node #0,2,1: 48:[57, 8] Operation: 40-32=8
Exploring Operation: 32+57=89, Resulting Numbers: [40, 89]
Generated Node #0,2,2: 48:[40, 89] Operation: 32+57=89
Exploring Operation: 40+32=72, Resulting Numbers: [57, 72]
Generated Node #0,2,3: 48:[57, 72] Operation: 40+32=72
Exploring Operation: 57-32=25, Resulting Numbers: [40, 25]
Generated Node #0,2,4: 48:[40, 25] Operation: 57-32=25
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[32, 17], Operations: ['95-38=57', '57-40=17']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 48:[57, 8], Operations: ['95-38=57', '40-32=8']
Exploring Operation: 57+8=65, Resulting Numbers: [65]
65,48 unequal: No Solution
Exploring Operation: 57*8=456, Resulting Numbers: [456]
456,48 unequal: No Solution
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 48:[40, 25], Operations: ['95-38=57', '57-32=25']
Exploring Operation: 40+25=65, Resulting Numbers: [65]
65,48 unequal: No Solution
Exploring Operation: 40*25=1000, Resulting Numbers: [1000]
1000,48 unequal: No Solution
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 48:[57, 72], Operations: ['95-38=57', '40+32=72']
Exploring Operation: 57+72=129, Resulting Numbers: [129]
129,48 unequal: No Solution
Exploring Operation: 72-57=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 57*72=4104, Resulting Numbers: [4104]
4104,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[40, 89], Operations: ['95-38=57', '32+57=89']
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 40+89=129, Resulting Numbers: [129]
129,48 unequal: No Solution
Exploring Operation: 40*89=3560, Resulting Numbers: [3560]
3560,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 48:[32, 38, 55], Operations: ['95-40=55']
Exploring Operation: 55-38=17, Resulting Numbers: [32, 17]
Generated Node #0,3,0: 48:[32, 17] Operation: 55-38=17
Exploring Operation: 38-32=6, Resulting Numbers: [55, 6]
Generated Node #0,3,1: 48:[55, 6] Operation: 38-32=6
Exploring Operation: 32+55=87, Resulting Numbers: [38, 87]
Generated Node #0,3,2: 48:[38, 87] Operation: 32+55=87
Exploring Operation: 55-32=23, Resulting Numbers: [38, 23]
Generated Node #0,3,3: 48:[38, 23] Operation: 55-32=23
Exploring Operation: 32+38=70, Resulting Numbers: [55, 70]
Generated Node #0,3,4: 48:[55, 70] Operation: 32+38=70
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[55, 6], Operations: ['95-40=55', '38-32=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,48 unequal: No Solution
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[32, 17], Operations: ['95-40=55', '55-38=17']
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,48 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 48:[38, 23], Operations: ['95-40=55', '55-32=23']
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,48 unequal: No Solution
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 48:[55, 70], Operations: ['95-40=55', '32+38=70']
Exploring Operation: 55+70=125, Resulting Numbers: [125]
125,48 unequal: No Solution
Exploring Operation: 70-55=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 55*70=3850, Resulting Numbers: [3850]
3850,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 48:[38, 87], Operations: ['95-40=55', '32+55=87']
Exploring Operation: 38*87=3306, Resulting Numbers: [3306]
3306,48 unequal: No Solution
Exploring Operation: 38+87=125, Resulting Numbers: [125]
125,48 unequal: No Solution
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,48 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: 48:[40, 38, 63], Operations: ['95-32=63']
Exploring Operation: 63-40=23, Resulting Numbers: [38, 23]
Generated Node #0,0,0: 48:[38, 23] Operation: 63-40=23
Exploring Operation: 63-38=25, Resulting Numbers: [40, 25]
Generated Node #0,0,1: 48:[40, 25] Operation: 63-38=25
Exploring Operation: 40-38=2, Resulting Numbers: [63, 2]
Generated Node #0,0,2: 48:[63, 2] Operation: 40-38=2
Exploring Operation: 38+63=101, Resulting Numbers: [40, 101]
Generated Node #0,0,3: 48:[40, 101] Operation: 38+63=101
Exploring Operation: 40+38=78, Resulting Numbers: [63, 78]
Generated Node #0,0,4: 48:[63, 78] Operation: 40+38=78
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[40, 25], Operations: ['95-32=63', '63-38=25']
Exploring Operation: 40*25=1000, Resulting Numbers: [1000]
1000,48 unequal: No Solution
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 40+25=65, Resulting Numbers: [65]
65,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[38, 23], Operations: ['95-32=63', '63-40=23']
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,48 unequal: No Solution
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[63, 2], Operations: ['95-32=63', '40-38=2']
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,48 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 48:[63, 78], Operations: ['95-32=63', '40+38=78']
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 63+78=141, Resulting Numbers: [141]
141,48 unequal: No Solution
Exploring Operation: 63*78=4914, Resulting Numbers: [4914]
4914,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[40, 101], Operations: ['95-32=63', '38+63=101']
Exploring Operation: 40*101=4040, Resulting Numbers: [4040]
4040,48 unequal: No Solution
Exploring Operation: 101-40=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 40+101=141, Resulting Numbers: [141]
141,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 48:[32, 95, 2], Operations: ['40-38=2']
Exploring Operation: 32-2=30, Resulting Numbers: [95, 30]
Generated Node #0,1,0: 48:[95, 30] Operation: 32-2=30
Exploring Operation: 95-2=93, Resulting Numbers: [32, 93]
Generated Node #0,1,1: 48:[32, 93] Operation: 95-2=93
Exploring Operation: 95-32=63, Resulting Numbers: [2, 63]
Generated Node #0,1,2: 48:[2, 63] Operation: 95-32=63
Exploring Operation: 32+2=34, Resulting Numbers: [95, 34]
Generated Node #0,1,3: 48:[95, 34] Operation: 32+2=34
Exploring Operation: 32/2=16, Resulting Numbers: [95, 16]
Generated Node #0,1,4: 48:[95, 16] Operation: 32/2=16
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[2, 63], Operations: ['40-38=2', '95-32=63']
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,48 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 48:[95, 16], Operations: ['40-38=2', '32/2=16']
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,48 unequal: No Solution
Exploring Operation: 95*16=1520, Resulting Numbers: [1520]
1520,48 unequal: No Solution
Exploring Operation: 95+16=111, Resulting Numbers: [111]
111,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[95, 30], Operations: ['40-38=2', '32-2=30']
Exploring Operation: 95-30=65, Resulting Numbers: [65]
65,48 unequal: No Solution
Exploring Operation: 95*30=2850, Resulting Numbers: [2850]
2850,48 unequal: No Solution
Exploring Operation: 95+30=125, Resulting Numbers: [125]
125,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[32, 93], Operations: ['40-38=2', '95-2=93']
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 32+93=125, Resulting Numbers: [125]
125,48 unequal: No Solution
Exploring Operation: 32*93=2976, Resulting Numbers: [2976]
2976,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 48:[95, 34], Operations: ['40-38=2', '32+2=34']
Exploring Operation: 95*34=3230, Resulting Numbers: [3230]
3230,48 unequal: No Solution
Exploring Operation: 95+34=129, Resulting Numbers: [129]
129,48 unequal: No Solution
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,48 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: 48:[40, 95, 6], Operations: ['38-32=6']
Exploring Operation: 40-6=34, Resulting Numbers: [95, 34]
Generated Node #0,4,0: 48:[95, 34] Operation: 40-6=34
Exploring Operation: 40+6=46, Resulting Numbers: [95, 46]
Generated Node #0,4,1: 48:[95, 46] Operation: 40+6=46
Exploring Operation: 95-40=55, Resulting Numbers: [6, 55]
Generated Node #0,4,2: 48:[6, 55] Operation: 95-40=55
Exploring Operation: 95+6=101, Resulting Numbers: [40, 101]
Generated Node #0,4,3: 48:[40, 101] Operation: 95+6=101
Exploring Operation: 95-6=89, Resulting Numbers: [40, 89]
Generated Node #0,4,4: 48:[40, 89] Operation: 95-6=89
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 48:[6, 55], Operations: ['38-32=6', '95-40=55']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 48:[95, 46], Operations: ['38-32=6', '40+6=46']
Exploring Operation: 95*46=4370, Resulting Numbers: [4370]
4370,48 unequal: No Solution
Exploring Operation: 95+46=141, Resulting Numbers: [141]
141,48 unequal: No Solution
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 48:[40, 89], Operations: ['38-32=6', '95-6=89']
Exploring Operation: 40*89=3560, Resulting Numbers: [3560]
3560,48 unequal: No Solution
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 40+89=129, Resulting Numbers: [129]
129,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 48:[95, 34], Operations: ['38-32=6', '40-6=34']
Exploring Operation: 95+34=129, Resulting Numbers: [129]
129,48 unequal: No Solution
Exploring Operation: 95*34=3230, Resulting Numbers: [3230]
3230,48 unequal: No Solution
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 48:[40, 101], Operations: ['38-32=6', '95+6=101']
Exploring Operation: 40*101=4040, Resulting Numbers: [4040]
4040,48 unequal: No Solution
Exploring Operation: 40+101=141, Resulting Numbers: [141]
141,48 unequal: No Solution
Exploring Operation: 101-40=61, Resulting Numbers: [61]
61,48 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 |
[
4,
74,
70,
32
] | 16 | [
"4*32=128",
"74+70=144",
"144-128=16"
] | Current State: 16:[4, 74, 70, 32], Operations: []
Exploring Operation: 4*32=128, Resulting Numbers: [74, 70, 128]
Generated Node #2: [74, 70, 128] from Operation: 4*32=128
Current State: 16:[74, 70, 128], Operations: ['4*32=128']
Exploring Operation: 74+70=144, Resulting Numbers: [128, 144]
Generated Node #3: [128, 144] from Operation: 74+70=144
Current State: 16:[128, 144], Operations: ['4*32=128', '74+70=144']
Exploring Operation: 144-128=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[4, 74, 70, 32], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [4, 70, 42]
Generated Node #0,0: 16:[4, 70, 42] Operation: 74-32=42
Exploring Operation: 74-70=4, Resulting Numbers: [4, 32, 4]
Generated Node #0,1: 16:[4, 32, 4] Operation: 74-70=4
Moving to Node #0,1
Current State: 16:[4, 32, 4], Operations: ['74-70=4']
Exploring Operation: 32/4=8, Resulting Numbers: [4, 8]
Generated Node #0,1,0: 16:[4, 8] Operation: 32/4=8
Exploring Operation: 32/4=8, Resulting Numbers: [4, 8]
Generated Node #0,1,1: 16:[4, 8] Operation: 32/4=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[4, 8], Operations: ['74-70=4', '32/4=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[4, 8], Operations: ['74-70=4', '32/4=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,16 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: 16:[4, 70, 42], Operations: ['74-32=42']
Exploring Operation: 70-4=66, Resulting Numbers: [42, 66]
Generated Node #0,0,0: 16:[42, 66] Operation: 70-4=66
Exploring Operation: 70-42=28, Resulting Numbers: [4, 28]
Generated Node #0,0,1: 16:[4, 28] Operation: 70-42=28
Moving to Node #0,0,1
Current State: 16:[4, 28], Operations: ['74-32=42', '70-42=28']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[42, 66], Operations: ['74-32=42', '70-4=66']
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 42+66=108, Resulting Numbers: [108]
108,16 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
50,
86,
42,
75
] | 66 | [
"86-42=44",
"75*44=3300",
"3300/50=66"
] | Current State: 66:[50, 86, 42, 75], Operations: []
Exploring Operation: 86-42=44, Resulting Numbers: [50, 75, 44]
Generated Node #2: [50, 75, 44] from Operation: 86-42=44
Current State: 66:[50, 75, 44], Operations: ['86-42=44']
Exploring Operation: 75*44=3300, Resulting Numbers: [50, 3300]
Generated Node #3: [50, 3300] from Operation: 75*44=3300
Current State: 66:[50, 3300], Operations: ['86-42=44', '75*44=3300']
Exploring Operation: 3300/50=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[50, 86, 42, 75], Operations: []
Exploring Operation: 86-50=36, Resulting Numbers: [42, 75, 36]
Generated Node #0,0: 66:[42, 75, 36] Operation: 86-50=36
Exploring Operation: 50-42=8, Resulting Numbers: [86, 75, 8]
Generated Node #0,1: 66:[86, 75, 8] Operation: 50-42=8
Exploring Operation: 86-75=11, Resulting Numbers: [50, 42, 11]
Generated Node #0,2: 66:[50, 42, 11] Operation: 86-75=11
Exploring Operation: 75-50=25, Resulting Numbers: [86, 42, 25]
Generated Node #0,3: 66:[86, 42, 25] Operation: 75-50=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[42, 75, 36], Operations: ['86-50=36']
Exploring Operation: 42-36=6, Resulting Numbers: [75, 6]
Generated Node #0,0,0: 66:[75, 6] Operation: 42-36=6
Exploring Operation: 75-36=39, Resulting Numbers: [42, 39]
Generated Node #0,0,1: 66:[42, 39] Operation: 75-36=39
Exploring Operation: 42+36=78, Resulting Numbers: [75, 78]
Generated Node #0,0,2: 66:[75, 78] Operation: 42+36=78
Exploring Operation: 75-42=33, Resulting Numbers: [36, 33]
Generated Node #0,0,3: 66:[36, 33] Operation: 75-42=33
Moving to Node #0,0,3
Current State: 66:[36, 33], Operations: ['86-50=36', '75-42=33']
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,66 unequal: No Solution
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[75, 6], Operations: ['86-50=36', '42-36=6']
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,66 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[42, 39], Operations: ['86-50=36', '75-36=39']
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 42*39=1638, Resulting Numbers: [1638]
1638,66 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[75, 78], Operations: ['86-50=36', '42+36=78']
Exploring Operation: 75*78=5850, Resulting Numbers: [5850]
5850,66 unequal: No Solution
Exploring Operation: 75+78=153, Resulting Numbers: [153]
153,66 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,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:[50, 42, 11], Operations: ['86-75=11']
Exploring Operation: 50+11=61, Resulting Numbers: [42, 61]
Generated Node #0,2,0: 66:[42, 61] Operation: 50+11=61
Exploring Operation: 50-11=39, Resulting Numbers: [42, 39]
Generated Node #0,2,1: 66:[42, 39] Operation: 50-11=39
Exploring Operation: 50-42=8, Resulting Numbers: [11, 8]
Generated Node #0,2,2: 66:[11, 8] Operation: 50-42=8
Exploring Operation: 42-11=31, Resulting Numbers: [50, 31]
Generated Node #0,2,3: 66:[50, 31] Operation: 42-11=31
Moving to Node #0,2,2
Current State: 66:[11, 8], Operations: ['86-75=11', '50-42=8']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[42, 61], Operations: ['86-75=11', '50+11=61']
Exploring Operation: 42+61=103, Resulting Numbers: [103]
103,66 unequal: No Solution
Exploring Operation: 42*61=2562, Resulting Numbers: [2562]
2562,66 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[42, 39], Operations: ['86-75=11', '50-11=39']
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 42*39=1638, Resulting Numbers: [1638]
1638,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[50, 31], Operations: ['86-75=11', '42-11=31']
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,66 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,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,1
Current State: 66:[86, 75, 8], Operations: ['50-42=8']
Exploring Operation: 86-8=78, Resulting Numbers: [75, 78]
Generated Node #0,1,0: 66:[75, 78] Operation: 86-8=78
Exploring Operation: 86+8=94, Resulting Numbers: [75, 94]
Generated Node #0,1,1: 66:[75, 94] Operation: 86+8=94
Exploring Operation: 75-8=67, Resulting Numbers: [86, 67]
Generated Node #0,1,2: 66:[86, 67] Operation: 75-8=67
Exploring Operation: 86-75=11, Resulting Numbers: [8, 11]
Generated Node #0,1,3: 66:[8, 11] Operation: 86-75=11
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 66:[8, 11], Operations: ['50-42=8', '86-75=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,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:[75, 78], Operations: ['50-42=8', '86-8=78']
Exploring Operation: 75+78=153, Resulting Numbers: [153]
153,66 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 75*78=5850, Resulting Numbers: [5850]
5850,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:[86, 67], Operations: ['50-42=8', '75-8=67']
Exploring Operation: 86-67=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 86+67=153, Resulting Numbers: [153]
153,66 unequal: No Solution
Exploring Operation: 86*67=5762, Resulting Numbers: [5762]
5762,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:[75, 94], Operations: ['50-42=8', '86+8=94']
Exploring Operation: 75*94=7050, Resulting Numbers: [7050]
7050,66 unequal: No Solution
Exploring Operation: 75+94=169, Resulting Numbers: [169]
169,66 unequal: No Solution
Exploring Operation: 94-75=19, Resulting Numbers: [19]
19,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:[86, 42, 25], Operations: ['75-50=25']
Exploring Operation: 42-25=17, Resulting Numbers: [86, 17]
Generated Node #0,3,0: 66:[86, 17] Operation: 42-25=17
Exploring Operation: 86-25=61, Resulting Numbers: [42, 61]
Generated Node #0,3,1: 66:[42, 61] Operation: 86-25=61
Exploring Operation: 86-42=44, Resulting Numbers: [25, 44]
Generated Node #0,3,2: 66:[25, 44] Operation: 86-42=44
Exploring Operation: 42+25=67, Resulting Numbers: [86, 67]
Generated Node #0,3,3: 66:[86, 67] Operation: 42+25=67
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 66:[42, 61], Operations: ['75-50=25', '86-25=61']
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 42*61=2562, Resulting Numbers: [2562]
2562,66 unequal: No Solution
Exploring Operation: 42+61=103, Resulting Numbers: [103]
103,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:[25, 44], Operations: ['75-50=25', '86-42=44']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 25*44=1100, Resulting Numbers: [1100]
1100,66 unequal: No Solution
Exploring Operation: 25+44=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,3
Current State: 66:[86, 67], Operations: ['75-50=25', '42+25=67']
Exploring Operation: 86*67=5762, Resulting Numbers: [5762]
5762,66 unequal: No Solution
Exploring Operation: 86-67=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 86+67=153, Resulting Numbers: [153]
153,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:[86, 17], Operations: ['75-50=25', '42-25=17']
Exploring Operation: 86+17=103, Resulting Numbers: [103]
103,66 unequal: No Solution
Exploring Operation: 86*17=1462, Resulting Numbers: [1462]
1462,66 unequal: No Solution
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,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 |
[
94,
92,
50,
72
] | 86 | [
"94-92=2",
"72/2=36",
"50+36=86"
] | Current State: 86:[94, 92, 50, 72], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [50, 72, 2]
Generated Node #2: [50, 72, 2] from Operation: 94-92=2
Current State: 86:[50, 72, 2], Operations: ['94-92=2']
Exploring Operation: 72/2=36, Resulting Numbers: [50, 36]
Generated Node #3: [50, 36] from Operation: 72/2=36
Current State: 86:[50, 36], Operations: ['94-92=2', '72/2=36']
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[94, 92, 50, 72], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [50, 72, 2]
Generated Node #0,0: 86:[50, 72, 2] Operation: 94-92=2
Exploring Operation: 92-50=42, Resulting Numbers: [94, 72, 42]
Generated Node #0,1: 86:[94, 72, 42] Operation: 92-50=42
Exploring Operation: 94-50=44, Resulting Numbers: [92, 72, 44]
Generated Node #0,2: 86:[92, 72, 44] Operation: 94-50=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[50, 72, 2], Operations: ['94-92=2']
Exploring Operation: 72/2=36, Resulting Numbers: [50, 36]
Generated Node #0,0,0: 86:[50, 36] Operation: 72/2=36
Exploring Operation: 72+2=74, Resulting Numbers: [50, 74]
Generated Node #0,0,1: 86:[50, 74] Operation: 72+2=74
Exploring Operation: 50-2=48, Resulting Numbers: [72, 48]
Generated Node #0,0,2: 86:[72, 48] Operation: 50-2=48
Moving to Node #0,0,0
Current State: 86:[50, 36], Operations: ['94-92=2', '72/2=36']
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 50*36=1800, Resulting Numbers: [1800]
1800,86 unequal: No Solution
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[94, 92, 50, 72], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [50, 72, 2]
Generated Node #0,0: 86:[50, 72, 2] Operation: 94-92=2
Moving to Node #0,0
Current State: 86:[50, 72, 2], Operations: ['94-92=2']
Exploring Operation: 72/2=36, Resulting Numbers: [50, 36]
Generated Node #0,0,0: 86:[50, 36] Operation: 72/2=36
Moving to Node #0,0,0
Current State: 86:[50, 36], Operations: ['94-92=2', '72/2=36']
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
88,
22,
76,
16
] | 80 | [
"88/22=4",
"16/4=4",
"76+4=80"
] | Current State: 80:[88, 22, 76, 16], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [76, 16, 4]
Generated Node #2: [76, 16, 4] from Operation: 88/22=4
Current State: 80:[76, 16, 4], Operations: ['88/22=4']
Exploring Operation: 16/4=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 16/4=4
Current State: 80:[76, 4], Operations: ['88/22=4', '16/4=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[88, 22, 76, 16], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [76, 16, 4]
Generated Node #0,0: 80:[76, 16, 4] Operation: 88/22=4
Exploring Operation: 22-16=6, Resulting Numbers: [88, 76, 6]
Generated Node #0,1: 80:[88, 76, 6] Operation: 22-16=6
Exploring Operation: 88-76=12, Resulting Numbers: [22, 16, 12]
Generated Node #0,2: 80:[22, 16, 12] Operation: 88-76=12
Moving to Node #0,0
Current State: 80:[76, 16, 4], Operations: ['88/22=4']
Exploring Operation: 16+4=20, Resulting Numbers: [76, 20]
Generated Node #0,0,0: 80:[76, 20] Operation: 16+4=20
Exploring Operation: 76+4=80, Resulting Numbers: [16, 80]
Generated Node #0,0,1: 80:[16, 80] Operation: 76+4=80
Exploring Operation: 76/4=19, Resulting Numbers: [16, 19]
Generated Node #0,0,2: 80:[16, 19] Operation: 76/4=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[16, 80], Operations: ['88/22=4', '76+4=80']
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 16+80=96, Resulting Numbers: [96]
96,80 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,80 unequal: No Solution
No 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: 80:[16, 19], Operations: ['88/22=4', '76/4=19']
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,80 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,80 unequal: No Solution
No 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: 80:[76, 20], Operations: ['88/22=4', '16+4=20']
Exploring Operation: 76+20=96, Resulting Numbers: [96]
96,80 unequal: No Solution
Exploring Operation: 76-20=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Exploring Operation: 76*20=1520, Resulting Numbers: [1520]
1520,80 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: 80:[22, 16, 12], Operations: ['88-76=12']
Exploring Operation: 22-12=10, Resulting Numbers: [16, 10]
Generated Node #0,2,0: 80:[16, 10] Operation: 22-12=10
Exploring Operation: 22-16=6, Resulting Numbers: [12, 6]
Generated Node #0,2,1: 80:[12, 6] Operation: 22-16=6
Exploring Operation: 16-12=4, Resulting Numbers: [22, 4]
Generated Node #0,2,2: 80:[22, 4] Operation: 16-12=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[16, 10], Operations: ['88-76=12', '22-12=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,80 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,80 unequal: No Solution
No 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: 80:[22, 4], Operations: ['88-76=12', '16-12=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,80 unequal: No Solution
No 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: 80:[12, 6], Operations: ['88-76=12', '22-16=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,80 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: 80:[88, 76, 6], Operations: ['22-16=6']
Exploring Operation: 88-6=82, Resulting Numbers: [76, 82]
Generated Node #0,1,0: 80:[76, 82] Operation: 88-6=82
Exploring Operation: 88-76=12, Resulting Numbers: [6, 12]
Generated Node #0,1,1: 80:[6, 12] Operation: 88-76=12
Exploring Operation: 76+6=82, Resulting Numbers: [88, 82]
Generated Node #0,1,2: 80:[88, 82] Operation: 76+6=82
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[6, 12], Operations: ['22-16=6', '88-76=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,80 unequal: No Solution
No 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: 80:[76, 82], Operations: ['22-16=6', '88-6=82']
Exploring Operation: 76+82=158, Resulting Numbers: [158]
158,80 unequal: No Solution
Exploring Operation: 76*82=6232, Resulting Numbers: [6232]
6232,80 unequal: No Solution
Exploring Operation: 82-76=6, Resulting Numbers: [6]
6,80 unequal: No Solution
No 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: 80:[88, 82], Operations: ['22-16=6', '76+6=82']
Exploring Operation: 88*82=7216, Resulting Numbers: [7216]
7216,80 unequal: No Solution
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 88+82=170, Resulting Numbers: [170]
170,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
19,
43,
95,
81
] | 93 | [
"81-43=38",
"38/19=2",
"95-2=93"
] | Current State: 93:[19, 43, 95, 81], Operations: []
Exploring Operation: 81-43=38, Resulting Numbers: [19, 95, 38]
Generated Node #2: [19, 95, 38] from Operation: 81-43=38
Current State: 93:[19, 95, 38], Operations: ['81-43=38']
Exploring Operation: 38/19=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 38/19=2
Current State: 93:[95, 2], Operations: ['81-43=38', '38/19=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[19, 43, 95, 81], Operations: []
Exploring Operation: 43-19=24, Resulting Numbers: [95, 81, 24]
Generated Node #0,0: 93:[95, 81, 24] Operation: 43-19=24
Moving to Node #0,0
Current State: 93:[95, 81, 24], Operations: ['43-19=24']
Exploring Operation: 81+24=105, Resulting Numbers: [95, 105]
Generated Node #0,0,0: 93:[95, 105] Operation: 81+24=105
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[95, 105], Operations: ['43-19=24', '81+24=105']
Exploring Operation: 105-95=10, Resulting Numbers: [10]
10,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
67,
14,
55
] | 32 | [
"67-14=53",
"55-53=2",
"64/2=32"
] | Current State: 32:[64, 67, 14, 55], Operations: []
Exploring Operation: 67-14=53, Resulting Numbers: [64, 55, 53]
Generated Node #2: [64, 55, 53] from Operation: 67-14=53
Current State: 32:[64, 55, 53], Operations: ['67-14=53']
Exploring Operation: 55-53=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 55-53=2
Current State: 32:[64, 2], Operations: ['67-14=53', '55-53=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[64, 67, 14, 55], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [67, 14, 9]
Generated Node #0,0: 32:[67, 14, 9] Operation: 64-55=9
Exploring Operation: 67-55=12, Resulting Numbers: [64, 14, 12]
Generated Node #0,1: 32:[64, 14, 12] Operation: 67-55=12
Exploring Operation: 67-64=3, Resulting Numbers: [14, 55, 3]
Generated Node #0,2: 32:[14, 55, 3] Operation: 67-64=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[14, 55, 3], Operations: ['67-64=3']
Exploring Operation: 55-14=41, Resulting Numbers: [3, 41]
Generated Node #0,2,0: 32:[3, 41] Operation: 55-14=41
Exploring Operation: 14+3=17, Resulting Numbers: [55, 17]
Generated Node #0,2,1: 32:[55, 17] Operation: 14+3=17
Exploring Operation: 55-3=52, Resulting Numbers: [14, 52]
Generated Node #0,2,2: 32:[14, 52] Operation: 55-3=52
Moving to Node #0,2,0
Current State: 32:[3, 41], Operations: ['67-64=3', '55-14=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,32 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[14, 52], Operations: ['67-64=3', '55-3=52']
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,32 unequal: No Solution
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[55, 17], Operations: ['67-64=3', '14+3=17']
Exploring Operation: 55*17=935, Resulting Numbers: [935]
935,32 unequal: No Solution
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,32 unequal: No Solution
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[67, 14, 9], Operations: ['64-55=9']
Exploring Operation: 67-9=58, Resulting Numbers: [14, 58]
Generated Node #0,0,0: 32:[14, 58] Operation: 67-9=58
Exploring Operation: 67-14=53, Resulting Numbers: [9, 53]
Generated Node #0,0,1: 32:[9, 53] Operation: 67-14=53
Exploring Operation: 14-9=5, Resulting Numbers: [67, 5]
Generated Node #0,0,2: 32:[67, 5] Operation: 14-9=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[9, 53], Operations: ['64-55=9', '67-14=53']
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,32 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,32 unequal: No Solution
No 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: 32:[14, 58], Operations: ['64-55=9', '67-9=58']
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,32 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,32 unequal: No Solution
No 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: 32:[67, 5], Operations: ['64-55=9', '14-9=5']
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,32 unequal: No Solution
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,32 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,32 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: 32:[64, 14, 12], Operations: ['67-55=12']
Exploring Operation: 64-12=52, Resulting Numbers: [14, 52]
Generated Node #0,1,0: 32:[14, 52] Operation: 64-12=52
Exploring Operation: 14-12=2, Resulting Numbers: [64, 2]
Generated Node #0,1,1: 32:[64, 2] Operation: 14-12=2
Exploring Operation: 64-14=50, Resulting Numbers: [12, 50]
Generated Node #0,1,2: 32:[12, 50] Operation: 64-14=50
Moving to Node #0,1,0
Current State: 32:[14, 52], Operations: ['67-55=12', '64-12=52']
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,32 unequal: No Solution
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[12, 50], Operations: ['67-55=12', '64-14=50']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,32 unequal: No Solution
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,32 unequal: No Solution
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[64, 2], Operations: ['67-55=12', '14-12=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,32 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[64, 67, 14, 55], Operations: []
Exploring Operation: 67-55=12, Resulting Numbers: [64, 14, 12]
Generated Node #0,1: 32:[64, 14, 12] Operation: 67-55=12
Moving to Node #0,1
Current State: 32:[64, 14, 12], Operations: ['67-55=12']
Exploring Operation: 14-12=2, Resulting Numbers: [64, 2]
Generated Node #0,1,1: 32:[64, 2] Operation: 14-12=2
Moving to Node #0,1,1
Current State: 32:[64, 2], Operations: ['67-55=12', '14-12=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_3 | mult_heuristic |
[
65,
56,
55,
21
] | 43 | [
"65-56=9",
"55-21=34",
"9+34=43"
] | Current State: 43:[65, 56, 55, 21], Operations: []
Exploring Operation: 65-56=9, Resulting Numbers: [55, 21, 9]
Generated Node #2: [55, 21, 9] from Operation: 65-56=9
Current State: 43:[55, 21, 9], Operations: ['65-56=9']
Exploring Operation: 55-21=34, Resulting Numbers: [9, 34]
Generated Node #3: [9, 34] from Operation: 55-21=34
Current State: 43:[9, 34], Operations: ['65-56=9', '55-21=34']
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[65, 56, 55, 21], Operations: []
Exploring Operation: 65-21=44, Resulting Numbers: [56, 55, 44]
Generated Node #0,0: 43:[56, 55, 44] Operation: 65-21=44
Moving to Node #0,0
Current State: 43:[56, 55, 44], Operations: ['65-21=44']
Exploring Operation: 56-55=1, Resulting Numbers: [44, 1]
Generated Node #0,0,0: 43:[44, 1] Operation: 56-55=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[44, 1], Operations: ['65-21=44', '56-55=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[65, 56, 55, 21], Operations: []
Exploring Operation: 65-21=44, Resulting Numbers: [56, 55, 44]
Generated Node #0,0: 43:[56, 55, 44] Operation: 65-21=44
Moving to Node #0,0
Current State: 43:[56, 55, 44], Operations: ['65-21=44']
Exploring Operation: 56-55=1, Resulting Numbers: [44, 1]
Generated Node #0,0,0: 43:[44, 1] Operation: 56-55=1
Moving to Node #0,0,0
Current State: 43:[44, 1], Operations: ['65-21=44', '56-55=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
28,
85,
10,
10
] | 57 | [
"85-28=57",
"10-10=0",
"57+0=57"
] | Current State: 57:[28, 85, 10, 10], Operations: []
Exploring Operation: 85-28=57, Resulting Numbers: [10, 10, 57]
Generated Node #2: [10, 10, 57] from Operation: 85-28=57
Current State: 57:[10, 10, 57], Operations: ['85-28=57']
Exploring Operation: 10-10=0, Resulting Numbers: [57, 0]
Generated Node #3: [57, 0] from Operation: 10-10=0
Current State: 57:[57, 0], Operations: ['85-28=57', '10-10=0']
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[28, 85, 10, 10], Operations: []
Exploring Operation: 85-10=75, Resulting Numbers: [28, 10, 75]
Generated Node #0,0: 57:[28, 10, 75] Operation: 85-10=75
Exploring Operation: 28-10=18, Resulting Numbers: [85, 10, 18]
Generated Node #0,1: 57:[85, 10, 18] Operation: 28-10=18
Exploring Operation: 85-28=57, Resulting Numbers: [10, 10, 57]
Generated Node #0,2: 57:[10, 10, 57] Operation: 85-28=57
Exploring Operation: 28-10=18, Resulting Numbers: [85, 10, 18]
Generated Node #0,3: 57:[85, 10, 18] Operation: 28-10=18
Exploring Operation: 85-10=75, Resulting Numbers: [28, 10, 75]
Generated Node #0,4: 57:[28, 10, 75] Operation: 85-10=75
Moving to Node #0,2
Current State: 57:[10, 10, 57], Operations: ['85-28=57']
Exploring Operation: 10+57=67, Resulting Numbers: [10, 67]
Generated Node #0,2,0: 57:[10, 67] Operation: 10+57=67
Exploring Operation: 10+10=20, Resulting Numbers: [57, 20]
Generated Node #0,2,1: 57:[57, 20] Operation: 10+10=20
Exploring Operation: 57-10=47, Resulting Numbers: [10, 47]
Generated Node #0,2,2: 57:[10, 47] Operation: 57-10=47
Exploring Operation: 10-10=0, Resulting Numbers: [57, 0]
Generated Node #0,2,3: 57:[57, 0] Operation: 10-10=0
Exploring Operation: 10/10=1, Resulting Numbers: [57, 1]
Generated Node #0,2,4: 57:[57, 1] Operation: 10/10=1
Moving to Node #0,4
Current State: 57:[28, 10, 75], Operations: ['85-10=75']
Exploring Operation: 28-10=18, Resulting Numbers: [75, 18]
Generated Node #0,4,0: 57:[75, 18] Operation: 28-10=18
Exploring Operation: 75-28=47, Resulting Numbers: [10, 47]
Generated Node #0,4,1: 57:[10, 47] Operation: 75-28=47
Exploring Operation: 28+10=38, Resulting Numbers: [75, 38]
Generated Node #0,4,2: 57:[75, 38] Operation: 28+10=38
Exploring Operation: 75-10=65, Resulting Numbers: [28, 65]
Generated Node #0,4,3: 57:[28, 65] Operation: 75-10=65
Exploring Operation: 10+75=85, Resulting Numbers: [28, 85]
Generated Node #0,4,4: 57:[28, 85] Operation: 10+75=85
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 57:[10, 47], Operations: ['85-10=75', '75-28=47']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,57 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[28, 85, 10, 10], Operations: []
Exploring Operation: 85-10=75, Resulting Numbers: [28, 10, 75]
Generated Node #0,4: 57:[28, 10, 75] Operation: 85-10=75
Moving to Node #0,4
Current State: 57:[28, 10, 75], Operations: ['85-10=75']
Exploring Operation: 75-28=47, Resulting Numbers: [10, 47]
Generated Node #0,4,1: 57:[10, 47] Operation: 75-28=47
Moving to Node #0,4,1
Current State: 57:[10, 47], Operations: ['85-10=75', '75-28=47']
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
64,
87,
65,
14
] | 72 | [
"64+87=151",
"65+14=79",
"151-79=72"
] | Current State: 72:[64, 87, 65, 14], Operations: []
Exploring Operation: 64+87=151, Resulting Numbers: [65, 14, 151]
Generated Node #2: [65, 14, 151] from Operation: 64+87=151
Current State: 72:[65, 14, 151], Operations: ['64+87=151']
Exploring Operation: 65+14=79, Resulting Numbers: [151, 79]
Generated Node #3: [151, 79] from Operation: 65+14=79
Current State: 72:[151, 79], Operations: ['64+87=151', '65+14=79']
Exploring Operation: 151-79=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[64, 87, 65, 14], Operations: []
Exploring Operation: 87-64=23, Resulting Numbers: [65, 14, 23]
Generated Node #0,0: 72:[65, 14, 23] Operation: 87-64=23
Moving to Node #0,0
Current State: 72:[65, 14, 23], Operations: ['87-64=23']
Exploring Operation: 23-14=9, Resulting Numbers: [65, 9]
Generated Node #0,0,0: 72:[65, 9] Operation: 23-14=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[65, 9], Operations: ['87-64=23', '23-14=9']
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,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,
41,
35,
76
] | 95 | [
"41-25=16",
"35+76=111",
"111-16=95"
] | Current State: 95:[25, 41, 35, 76], Operations: []
Exploring Operation: 41-25=16, Resulting Numbers: [35, 76, 16]
Generated Node #2: [35, 76, 16] from Operation: 41-25=16
Current State: 95:[35, 76, 16], Operations: ['41-25=16']
Exploring Operation: 35+76=111, Resulting Numbers: [16, 111]
Generated Node #3: [16, 111] from Operation: 35+76=111
Current State: 95:[16, 111], Operations: ['41-25=16', '35+76=111']
Exploring Operation: 111-16=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[25, 41, 35, 76], Operations: []
Exploring Operation: 41-25=16, Resulting Numbers: [35, 76, 16]
Generated Node #0,0: 95:[35, 76, 16] Operation: 41-25=16
Exploring Operation: 41+35=76, Resulting Numbers: [25, 76, 76]
Generated Node #0,1: 95:[25, 76, 76] Operation: 41+35=76
Exploring Operation: 25+76=101, Resulting Numbers: [41, 35, 101]
Generated Node #0,2: 95:[41, 35, 101] Operation: 25+76=101
Exploring Operation: 76-41=35, Resulting Numbers: [25, 35, 35]
Generated Node #0,3: 95:[25, 35, 35] Operation: 76-41=35
Exploring Operation: 41-35=6, Resulting Numbers: [25, 76, 6]
Generated Node #0,4: 95:[25, 76, 6] Operation: 41-35=6
Start Sub Search at level 1: Moving to Node #0,4
Current State: 95:[25, 76, 6], Operations: ['41-35=6']
Exploring Operation: 25+6=31, Resulting Numbers: [76, 31]
Generated Node #0,4,0: 95:[76, 31] Operation: 25+6=31
Exploring Operation: 76-6=70, Resulting Numbers: [25, 70]
Generated Node #0,4,1: 95:[25, 70] Operation: 76-6=70
Exploring Operation: 76+6=82, Resulting Numbers: [25, 82]
Generated Node #0,4,2: 95:[25, 82] Operation: 76+6=82
Exploring Operation: 25+76=101, Resulting Numbers: [6, 101]
Generated Node #0,4,3: 95:[6, 101] Operation: 25+76=101
Exploring Operation: 25-6=19, Resulting Numbers: [76, 19]
Generated Node #0,4,4: 95:[76, 19] Operation: 25-6=19
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 95:[6, 101], Operations: ['41-35=6', '25+76=101']
Exploring Operation: 6+101=107, Resulting Numbers: [107]
107,95 unequal: No Solution
Exploring Operation: 6*101=606, Resulting Numbers: [606]
606,95 unequal: No Solution
Exploring Operation: 101-6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[25, 41, 35, 76], Operations: []
Exploring Operation: 41-35=6, Resulting Numbers: [25, 76, 6]
Generated Node #0,4: 95:[25, 76, 6] Operation: 41-35=6
Moving to Node #0,4
Current State: 95:[25, 76, 6], Operations: ['41-35=6']
Exploring Operation: 25+76=101, Resulting Numbers: [6, 101]
Generated Node #0,4,3: 95:[6, 101] Operation: 25+76=101
Moving to Node #0,4,3
Current State: 95:[6, 101], Operations: ['41-35=6', '25+76=101']
Exploring Operation: 101-6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
72,
74,
2,
6
] | 16 | [
"74-72=2",
"2+6=8",
"2*8=16"
] | Current State: 16:[72, 74, 2, 6], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [2, 6, 2]
Generated Node #2: [2, 6, 2] from Operation: 74-72=2
Current State: 16:[2, 6, 2], Operations: ['74-72=2']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,16 equal: Goal Reached
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[72, 74, 2, 6], Operations: []
Exploring Operation: 72-6=66, Resulting Numbers: [74, 2, 66]
Generated Node #0,0: 16:[74, 2, 66] Operation: 72-6=66
Exploring Operation: 72/6=12, Resulting Numbers: [74, 2, 12]
Generated Node #0,1: 16:[74, 2, 12] Operation: 72/6=12
Exploring Operation: 74/2=37, Resulting Numbers: [72, 6, 37]
Generated Node #0,2: 16:[72, 6, 37] Operation: 74/2=37
Exploring Operation: 74-72=2, Resulting Numbers: [2, 6, 2]
Generated Node #0,3: 16:[2, 6, 2] Operation: 74-72=2
Exploring Operation: 72/2=36, Resulting Numbers: [74, 6, 36]
Generated Node #0,4: 16:[74, 6, 36] Operation: 72/2=36
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[2, 6, 2], Operations: ['74-72=2']
Exploring Operation: 6-2=4, Resulting Numbers: [2, 4]
Generated Node #0,3,0: 16:[2, 4] Operation: 6-2=4
Exploring Operation: 6+2=8, Resulting Numbers: [2, 8]
Generated Node #0,3,1: 16:[2, 8] Operation: 6+2=8
Exploring Operation: 6-2=4, Resulting Numbers: [2, 4]
Generated Node #0,3,2: 16:[2, 4] Operation: 6-2=4
Exploring Operation: 6/2=3, Resulting Numbers: [2, 3]
Generated Node #0,3,3: 16:[2, 3] Operation: 6/2=3
Exploring Operation: 2+6=8, Resulting Numbers: [2, 8]
Generated Node #0,3,4: 16:[2, 8] Operation: 2+6=8
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 16:[2, 4], Operations: ['74-72=2', '6-2=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,16 unequal: No Solution
No 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: 16:[2, 8], Operations: ['74-72=2', '6+2=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[72, 74, 2, 6], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [2, 6, 2]
Generated Node #0,3: 16:[2, 6, 2] Operation: 74-72=2
Moving to Node #0,3
Current State: 16:[2, 6, 2], Operations: ['74-72=2']
Exploring Operation: 6+2=8, Resulting Numbers: [2, 8]
Generated Node #0,3,1: 16:[2, 8] Operation: 6+2=8
Moving to Node #0,3,1
Current State: 16:[2, 8], Operations: ['74-72=2', '6+2=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
73,
88,
26,
80
] | 94 | [
"80-73=7",
"26*7=182",
"182-88=94"
] | Current State: 94:[73, 88, 26, 80], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [88, 26, 7]
Generated Node #2: [88, 26, 7] from Operation: 80-73=7
Current State: 94:[88, 26, 7], Operations: ['80-73=7']
Exploring Operation: 26*7=182, Resulting Numbers: [88, 182]
Generated Node #3: [88, 182] from Operation: 26*7=182
Current State: 94:[88, 182], Operations: ['80-73=7', '26*7=182']
Exploring Operation: 182-88=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[73, 88, 26, 80], Operations: []
Exploring Operation: 26+80=106, Resulting Numbers: [73, 88, 106]
Generated Node #0,0: 94:[73, 88, 106] Operation: 26+80=106
Exploring Operation: 80-26=54, Resulting Numbers: [73, 88, 54]
Generated Node #0,1: 94:[73, 88, 54] Operation: 80-26=54
Exploring Operation: 73+26=99, Resulting Numbers: [88, 80, 99]
Generated Node #0,2: 94:[88, 80, 99] Operation: 73+26=99
Exploring Operation: 80-73=7, Resulting Numbers: [88, 26, 7]
Generated Node #0,3: 94:[88, 26, 7] Operation: 80-73=7
Exploring Operation: 73-26=47, Resulting Numbers: [88, 80, 47]
Generated Node #0,4: 94:[88, 80, 47] Operation: 73-26=47
Start Sub Search at level 1: Moving to Node #0,4
Current State: 94:[88, 80, 47], Operations: ['73-26=47']
Exploring Operation: 80-47=33, Resulting Numbers: [88, 33]
Generated Node #0,4,0: 94:[88, 33] Operation: 80-47=33
Exploring Operation: 80+47=127, Resulting Numbers: [88, 127]
Generated Node #0,4,1: 94:[88, 127] Operation: 80+47=127
Exploring Operation: 88-47=41, Resulting Numbers: [80, 41]
Generated Node #0,4,2: 94:[80, 41] Operation: 88-47=41
Exploring Operation: 88-80=8, Resulting Numbers: [47, 8]
Generated Node #0,4,3: 94:[47, 8] Operation: 88-80=8
Exploring Operation: 88+47=135, Resulting Numbers: [80, 135]
Generated Node #0,4,4: 94:[80, 135] Operation: 88+47=135
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 94:[47, 8], Operations: ['73-26=47', '88-80=8']
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,94 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 94:[88, 33], Operations: ['73-26=47', '80-47=33']
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,94 unequal: No Solution
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 94:[80, 41], Operations: ['73-26=47', '88-47=41']
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,94 unequal: No Solution
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,94 unequal: No Solution
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 94:[88, 127], Operations: ['73-26=47', '80+47=127']
Exploring Operation: 88+127=215, Resulting Numbers: [215]
215,94 unequal: No Solution
Exploring Operation: 88*127=11176, Resulting Numbers: [11176]
11176,94 unequal: No Solution
Exploring Operation: 127-88=39, Resulting Numbers: [39]
39,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 94:[80, 135], Operations: ['73-26=47', '88+47=135']
Exploring Operation: 135-80=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 80+135=215, Resulting Numbers: [215]
215,94 unequal: No Solution
Exploring Operation: 80*135=10800, Resulting Numbers: [10800]
10800,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[88, 80, 99], Operations: ['73+26=99']
Exploring Operation: 80+99=179, Resulting Numbers: [88, 179]
Generated Node #0,2,0: 94:[88, 179] Operation: 80+99=179
Exploring Operation: 99-88=11, Resulting Numbers: [80, 11]
Generated Node #0,2,1: 94:[80, 11] Operation: 99-88=11
Exploring Operation: 88-80=8, Resulting Numbers: [99, 8]
Generated Node #0,2,2: 94:[99, 8] Operation: 88-80=8
Exploring Operation: 88+80=168, Resulting Numbers: [99, 168]
Generated Node #0,2,3: 94:[99, 168] Operation: 88+80=168
Exploring Operation: 99-80=19, Resulting Numbers: [88, 19]
Generated Node #0,2,4: 94:[88, 19] Operation: 99-80=19
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 94:[99, 8], Operations: ['73+26=99', '88-80=8']
Exploring Operation: 99*8=792, Resulting Numbers: [792]
792,94 unequal: No Solution
Exploring Operation: 99+8=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 99-8=91, Resulting Numbers: [91]
91,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 94:[80, 11], Operations: ['73+26=99', '99-88=11']
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,94 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 94:[88, 19], Operations: ['73+26=99', '99-80=19']
Exploring Operation: 88*19=1672, Resulting Numbers: [1672]
1672,94 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 88+19=107, Resulting Numbers: [107]
107,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 94:[99, 168], Operations: ['73+26=99', '88+80=168']
Exploring Operation: 168-99=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 99*168=16632, Resulting Numbers: [16632]
16632,94 unequal: No Solution
Exploring Operation: 99+168=267, Resulting Numbers: [267]
267,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 94:[88, 179], Operations: ['73+26=99', '80+99=179']
Exploring Operation: 88+179=267, Resulting Numbers: [267]
267,94 unequal: No Solution
Exploring Operation: 88*179=15752, Resulting Numbers: [15752]
15752,94 unequal: No Solution
Exploring Operation: 179-88=91, Resulting Numbers: [91]
91,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[88, 26, 7], Operations: ['80-73=7']
Exploring Operation: 88+7=95, Resulting Numbers: [26, 95]
Generated Node #0,3,0: 94:[26, 95] Operation: 88+7=95
Exploring Operation: 26+7=33, Resulting Numbers: [88, 33]
Generated Node #0,3,1: 94:[88, 33] Operation: 26+7=33
Exploring Operation: 88+26=114, Resulting Numbers: [7, 114]
Generated Node #0,3,2: 94:[7, 114] Operation: 88+26=114
Exploring Operation: 88-26=62, Resulting Numbers: [7, 62]
Generated Node #0,3,3: 94:[7, 62] Operation: 88-26=62
Exploring Operation: 26-7=19, Resulting Numbers: [88, 19]
Generated Node #0,3,4: 94:[88, 19] Operation: 26-7=19
Moving to Node #0,3,1
Current State: 94:[88, 33], Operations: ['80-73=7', '26+7=33']
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,94 unequal: No Solution
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,94 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[7, 62], Operations: ['80-73=7', '88-26=62']
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,94 unequal: No Solution
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[26, 95], Operations: ['80-73=7', '88+7=95']
Exploring Operation: 26+95=121, Resulting Numbers: [121]
121,94 unequal: No Solution
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 26*95=2470, Resulting Numbers: [2470]
2470,94 unequal: No Solution
Moving to Node #0,3,4
Current State: 94:[88, 19], Operations: ['80-73=7', '26-7=19']
Exploring Operation: 88+19=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 88*19=1672, Resulting Numbers: [1672]
1672,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[7, 114], Operations: ['80-73=7', '88+26=114']
Exploring Operation: 7*114=798, Resulting Numbers: [798]
798,94 unequal: No Solution
Exploring Operation: 7+114=121, Resulting Numbers: [121]
121,94 unequal: No Solution
Exploring Operation: 114-7=107, Resulting Numbers: [107]
107,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[73, 88, 54], Operations: ['80-26=54']
Exploring Operation: 73+54=127, Resulting Numbers: [88, 127]
Generated Node #0,1,0: 94:[88, 127] Operation: 73+54=127
Exploring Operation: 88-73=15, Resulting Numbers: [54, 15]
Generated Node #0,1,1: 94:[54, 15] Operation: 88-73=15
Exploring Operation: 88+54=142, Resulting Numbers: [73, 142]
Generated Node #0,1,2: 94:[73, 142] Operation: 88+54=142
Exploring Operation: 88-54=34, Resulting Numbers: [73, 34]
Generated Node #0,1,3: 94:[73, 34] Operation: 88-54=34
Exploring Operation: 73-54=19, Resulting Numbers: [88, 19]
Generated Node #0,1,4: 94:[88, 19] Operation: 73-54=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[54, 15], Operations: ['80-26=54', '88-73=15']
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 54*15=810, Resulting Numbers: [810]
810,94 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 94:[88, 19], Operations: ['80-26=54', '73-54=19']
Exploring Operation: 88*19=1672, Resulting Numbers: [1672]
1672,94 unequal: No Solution
Exploring Operation: 88+19=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 94:[73, 34], Operations: ['80-26=54', '88-54=34']
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[88, 127], Operations: ['80-26=54', '73+54=127']
Exploring Operation: 88+127=215, Resulting Numbers: [215]
215,94 unequal: No Solution
Exploring Operation: 127-88=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 88*127=11176, Resulting Numbers: [11176]
11176,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[73, 142], Operations: ['80-26=54', '88+54=142']
Exploring Operation: 142-73=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 73*142=10366, Resulting Numbers: [10366]
10366,94 unequal: No Solution
Exploring Operation: 73+142=215, Resulting Numbers: [215]
215,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[73, 88, 106], Operations: ['26+80=106']
Exploring Operation: 106-73=33, Resulting Numbers: [88, 33]
Generated Node #0,0,0: 94:[88, 33] Operation: 106-73=33
Exploring Operation: 88-73=15, Resulting Numbers: [106, 15]
Generated Node #0,0,1: 94:[106, 15] Operation: 88-73=15
Exploring Operation: 73+106=179, Resulting Numbers: [88, 179]
Generated Node #0,0,2: 94:[88, 179] Operation: 73+106=179
Exploring Operation: 73+88=161, Resulting Numbers: [106, 161]
Generated Node #0,0,3: 94:[106, 161] Operation: 73+88=161
Exploring Operation: 106-88=18, Resulting Numbers: [73, 18]
Generated Node #0,0,4: 94:[73, 18] Operation: 106-88=18
Moving to Node #0,0,0
Current State: 94:[88, 33], Operations: ['26+80=106', '106-73=33']
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,94 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[106, 15], Operations: ['26+80=106', '88-73=15']
Exploring Operation: 106+15=121, Resulting Numbers: [121]
121,94 unequal: No Solution
Exploring Operation: 106-15=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 106*15=1590, Resulting Numbers: [1590]
1590,94 unequal: No Solution
Moving to Node #0,0,4
Current State: 94:[73, 18], Operations: ['26+80=106', '106-88=18']
Exploring Operation: 73*18=1314, Resulting Numbers: [1314]
1314,94 unequal: No Solution
Exploring Operation: 73-18=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 73+18=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[106, 161], Operations: ['26+80=106', '73+88=161']
Exploring Operation: 161-106=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 106*161=17066, Resulting Numbers: [17066]
17066,94 unequal: No Solution
Exploring Operation: 106+161=267, Resulting Numbers: [267]
267,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[88, 179], Operations: ['26+80=106', '73+106=179']
Exploring Operation: 179-88=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 88+179=267, Resulting Numbers: [267]
267,94 unequal: No Solution
Exploring Operation: 88*179=15752, Resulting Numbers: [15752]
15752,94 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 |
[
30,
45,
69,
39
] | 74 | [
"39-30=9",
"45/9=5",
"69+5=74"
] | Current State: 74:[30, 45, 69, 39], Operations: []
Exploring Operation: 39-30=9, Resulting Numbers: [45, 69, 9]
Generated Node #2: [45, 69, 9] from Operation: 39-30=9
Current State: 74:[45, 69, 9], Operations: ['39-30=9']
Exploring Operation: 45/9=5, Resulting Numbers: [69, 5]
Generated Node #3: [69, 5] from Operation: 45/9=5
Current State: 74:[69, 5], Operations: ['39-30=9', '45/9=5']
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[30, 45, 69, 39], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [45, 39, 39]
Generated Node #0,0: 74:[45, 39, 39] Operation: 69-30=39
Exploring Operation: 45-39=6, Resulting Numbers: [30, 69, 6]
Generated Node #0,1: 74:[30, 69, 6] Operation: 45-39=6
Exploring Operation: 30+45=75, Resulting Numbers: [69, 39, 75]
Generated Node #0,2: 74:[69, 39, 75] Operation: 30+45=75
Moving to Node #0,2
Current State: 74:[69, 39, 75], Operations: ['30+45=75']
Exploring Operation: 69-39=30, Resulting Numbers: [75, 30]
Generated Node #0,2,0: 74:[75, 30] Operation: 69-39=30
Exploring Operation: 75-69=6, Resulting Numbers: [39, 6]
Generated Node #0,2,1: 74:[39, 6] Operation: 75-69=6
Exploring Operation: 75-39=36, Resulting Numbers: [69, 36]
Generated Node #0,2,2: 74:[69, 36] Operation: 75-39=36
Moving to Node #0,0
Current State: 74:[45, 39, 39], Operations: ['69-30=39']
Exploring Operation: 45-39=6, Resulting Numbers: [39, 6]
Generated Node #0,0,0: 74:[39, 6] Operation: 45-39=6
Exploring Operation: 45-39=6, Resulting Numbers: [39, 6]
Generated Node #0,0,1: 74:[39, 6] Operation: 45-39=6
Exploring Operation: 39/39=1, Resulting Numbers: [45, 1]
Generated Node #0,0,2: 74:[45, 1] Operation: 39/39=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[39, 6], Operations: ['69-30=39', '45-39=6']
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,74 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,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,1
Current State: 74:[39, 6], Operations: ['69-30=39', '45-39=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,74 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,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,2
Current State: 74:[45, 1], Operations: ['69-30=39', '39/39=1']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,74 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: 74:[30, 69, 6], Operations: ['45-39=6']
Exploring Operation: 30+6=36, Resulting Numbers: [69, 36]
Generated Node #0,1,0: 74:[69, 36] Operation: 30+6=36
Exploring Operation: 69-30=39, Resulting Numbers: [6, 39]
Generated Node #0,1,1: 74:[6, 39] Operation: 69-30=39
Exploring Operation: 30/6=5, Resulting Numbers: [69, 5]
Generated Node #0,1,2: 74:[69, 5] Operation: 30/6=5
Moving to Node #0,2,1
Current State: 74:[39, 6], Operations: ['30+45=75', '75-69=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[69, 36], Operations: ['30+45=75', '75-39=36']
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,74 unequal: No Solution
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[6, 39], Operations: ['45-39=6', '69-30=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,74 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[69, 36], Operations: ['45-39=6', '30+6=36']
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[69, 5], Operations: ['45-39=6', '30/6=5']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,74 unequal: No Solution
Exploring Operation: 69*5=345, Resulting Numbers: [345]
345,74 unequal: No Solution
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[30, 45, 69, 39], Operations: []
Exploring Operation: 45-39=6, Resulting Numbers: [30, 69, 6]
Generated Node #0,1: 74:[30, 69, 6] Operation: 45-39=6
Moving to Node #0,1
Current State: 74:[30, 69, 6], Operations: ['45-39=6']
Exploring Operation: 30/6=5, Resulting Numbers: [69, 5]
Generated Node #0,1,2: 74:[69, 5] Operation: 30/6=5
Moving to Node #0,1,2
Current State: 74:[69, 5], Operations: ['45-39=6', '30/6=5']
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.965278 | hs_3 | mult_heuristic |
[
60,
95,
39,
93
] | 65 | [
"60+95=155",
"39*155=6045",
"6045/93=65"
] | Current State: 65:[60, 95, 39, 93], Operations: []
Exploring Operation: 60+95=155, Resulting Numbers: [39, 93, 155]
Generated Node #2: [39, 93, 155] from Operation: 60+95=155
Current State: 65:[39, 93, 155], Operations: ['60+95=155']
Exploring Operation: 39*155=6045, Resulting Numbers: [93, 6045]
Generated Node #3: [93, 6045] from Operation: 39*155=6045
Current State: 65:[93, 6045], Operations: ['60+95=155', '39*155=6045']
Exploring Operation: 6045/93=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[60, 95, 39, 93], Operations: []
Exploring Operation: 95-60=35, Resulting Numbers: [39, 93, 35]
Generated Node #0,0: 65:[39, 93, 35] Operation: 95-60=35
Exploring Operation: 95-39=56, Resulting Numbers: [60, 93, 56]
Generated Node #0,1: 65:[60, 93, 56] Operation: 95-39=56
Exploring Operation: 60-39=21, Resulting Numbers: [95, 93, 21]
Generated Node #0,2: 65:[95, 93, 21] Operation: 60-39=21
Exploring Operation: 95-93=2, Resulting Numbers: [60, 39, 2]
Generated Node #0,3: 65:[60, 39, 2] Operation: 95-93=2
Exploring Operation: 93-39=54, Resulting Numbers: [60, 95, 54]
Generated Node #0,4: 65:[60, 95, 54] Operation: 93-39=54
Moving to Node #0,3
Current State: 65:[60, 39, 2], Operations: ['95-93=2']
Exploring Operation: 39-2=37, Resulting Numbers: [60, 37]
Generated Node #0,3,0: 65:[60, 37] Operation: 39-2=37
Exploring Operation: 39*2=78, Resulting Numbers: [60, 78]
Generated Node #0,3,1: 65:[60, 78] Operation: 39*2=78
Exploring Operation: 39+2=41, Resulting Numbers: [60, 41]
Generated Node #0,3,2: 65:[60, 41] Operation: 39+2=41
Exploring Operation: 60+2=62, Resulting Numbers: [39, 62]
Generated Node #0,3,3: 65:[39, 62] Operation: 60+2=62
Exploring Operation: 60-39=21, Resulting Numbers: [2, 21]
Generated Node #0,3,4: 65:[2, 21] Operation: 60-39=21
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 65:[2, 21], Operations: ['95-93=2', '60-39=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,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,3,1
Current State: 65:[60, 78], Operations: ['95-93=2', '39*2=78']
Exploring Operation: 60+78=138, Resulting Numbers: [138]
138,65 unequal: No Solution
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 60*78=4680, Resulting Numbers: [4680]
4680,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,3,0
Current State: 65:[60, 37], Operations: ['95-93=2', '39-2=37']
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,65 unequal: No Solution
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,65 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,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,3,2
Current State: 65:[60, 41], Operations: ['95-93=2', '39+2=41']
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,65 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,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,3,3
Current State: 65:[39, 62], Operations: ['95-93=2', '60+2=62']
Exploring Operation: 39*62=2418, Resulting Numbers: [2418]
2418,65 unequal: No Solution
Exploring Operation: 39+62=101, Resulting Numbers: [101]
101,65 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,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:[60, 93, 56], Operations: ['95-39=56']
Exploring Operation: 60-56=4, Resulting Numbers: [93, 4]
Generated Node #0,1,0: 65:[93, 4] Operation: 60-56=4
Exploring Operation: 60+56=116, Resulting Numbers: [93, 116]
Generated Node #0,1,1: 65:[93, 116] Operation: 60+56=116
Exploring Operation: 93+56=149, Resulting Numbers: [60, 149]
Generated Node #0,1,2: 65:[60, 149] Operation: 93+56=149
Exploring Operation: 93-56=37, Resulting Numbers: [60, 37]
Generated Node #0,1,3: 65:[60, 37] Operation: 93-56=37
Exploring Operation: 93-60=33, Resulting Numbers: [56, 33]
Generated Node #0,1,4: 65:[56, 33] Operation: 93-60=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[93, 4], Operations: ['95-39=56', '60-56=4']
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,65 unequal: No Solution
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,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,1,3
Current State: 65:[60, 37], Operations: ['95-39=56', '93-56=37']
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,65 unequal: No Solution
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,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,1,4
Current State: 65:[56, 33], Operations: ['95-39=56', '93-60=33']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Exploring Operation: 56+33=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 56*33=1848, Resulting Numbers: [1848]
1848,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,1,1
Current State: 65:[93, 116], Operations: ['95-39=56', '60+56=116']
Exploring Operation: 93*116=10788, Resulting Numbers: [10788]
10788,65 unequal: No Solution
Exploring Operation: 116-93=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Exploring Operation: 93+116=209, Resulting Numbers: [209]
209,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,1,2
Current State: 65:[60, 149], Operations: ['95-39=56', '93+56=149']
Exploring Operation: 60*149=8940, Resulting Numbers: [8940]
8940,65 unequal: No Solution
Exploring Operation: 60+149=209, Resulting Numbers: [209]
209,65 unequal: No Solution
Exploring Operation: 149-60=89, Resulting Numbers: [89]
89,65 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: 65:[60, 95, 54], Operations: ['93-39=54']
Exploring Operation: 60-54=6, Resulting Numbers: [95, 6]
Generated Node #0,4,0: 65:[95, 6] Operation: 60-54=6
Exploring Operation: 95+54=149, Resulting Numbers: [60, 149]
Generated Node #0,4,1: 65:[60, 149] Operation: 95+54=149
Exploring Operation: 60+54=114, Resulting Numbers: [95, 114]
Generated Node #0,4,2: 65:[95, 114] Operation: 60+54=114
Exploring Operation: 95-54=41, Resulting Numbers: [60, 41]
Generated Node #0,4,3: 65:[60, 41] Operation: 95-54=41
Exploring Operation: 95-60=35, Resulting Numbers: [54, 35]
Generated Node #0,4,4: 65:[54, 35] Operation: 95-60=35
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 65:[60, 41], Operations: ['93-39=54', '95-54=41']
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,65 unequal: No Solution
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,65 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,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,4,0
Current State: 65:[95, 6], Operations: ['93-39=54', '60-54=6']
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 95*6=570, Resulting Numbers: [570]
570,65 unequal: No Solution
Exploring Operation: 95+6=101, Resulting Numbers: [101]
101,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,4,4
Current State: 65:[54, 35], Operations: ['93-39=54', '95-60=35']
Exploring Operation: 54*35=1890, Resulting Numbers: [1890]
1890,65 unequal: No Solution
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,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,4,2
Current State: 65:[95, 114], Operations: ['93-39=54', '60+54=114']
Exploring Operation: 114-95=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 95+114=209, Resulting Numbers: [209]
209,65 unequal: No Solution
Exploring Operation: 95*114=10830, Resulting Numbers: [10830]
10830,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,4,1
Current State: 65:[60, 149], Operations: ['93-39=54', '95+54=149']
Exploring Operation: 60*149=8940, Resulting Numbers: [8940]
8940,65 unequal: No Solution
Exploring Operation: 149-60=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 60+149=209, Resulting Numbers: [209]
209,65 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: 65:[95, 93, 21], Operations: ['60-39=21']
Exploring Operation: 95-93=2, Resulting Numbers: [21, 2]
Generated Node #0,2,0: 65:[21, 2] Operation: 95-93=2
Exploring Operation: 95-21=74, Resulting Numbers: [93, 74]
Generated Node #0,2,1: 65:[93, 74] Operation: 95-21=74
Exploring Operation: 95+21=116, Resulting Numbers: [93, 116]
Generated Node #0,2,2: 65:[93, 116] Operation: 95+21=116
Exploring Operation: 93+21=114, Resulting Numbers: [95, 114]
Generated Node #0,2,3: 65:[95, 114] Operation: 93+21=114
Exploring Operation: 93-21=72, Resulting Numbers: [95, 72]
Generated Node #0,2,4: 65:[95, 72] Operation: 93-21=72
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[21, 2], Operations: ['60-39=21', '95-93=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,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,2,1
Current State: 65:[93, 74], Operations: ['60-39=21', '95-21=74']
Exploring Operation: 93+74=167, Resulting Numbers: [167]
167,65 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 93*74=6882, Resulting Numbers: [6882]
6882,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,2,4
Current State: 65:[95, 72], Operations: ['60-39=21', '93-21=72']
Exploring Operation: 95+72=167, Resulting Numbers: [167]
167,65 unequal: No Solution
Exploring Operation: 95*72=6840, Resulting Numbers: [6840]
6840,65 unequal: No Solution
Exploring Operation: 95-72=23, Resulting Numbers: [23]
23,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,2,2
Current State: 65:[93, 116], Operations: ['60-39=21', '95+21=116']
Exploring Operation: 93+116=209, Resulting Numbers: [209]
209,65 unequal: No Solution
Exploring Operation: 116-93=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Exploring Operation: 93*116=10788, Resulting Numbers: [10788]
10788,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,2,3
Current State: 65:[95, 114], Operations: ['60-39=21', '93+21=114']
Exploring Operation: 95*114=10830, Resulting Numbers: [10830]
10830,65 unequal: No Solution
Exploring Operation: 95+114=209, Resulting Numbers: [209]
209,65 unequal: No Solution
Exploring Operation: 114-95=19, Resulting Numbers: [19]
19,65 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: 65:[39, 93, 35], Operations: ['95-60=35']
Exploring Operation: 39-35=4, Resulting Numbers: [93, 4]
Generated Node #0,0,0: 65:[93, 4] Operation: 39-35=4
Exploring Operation: 39+93=132, Resulting Numbers: [35, 132]
Generated Node #0,0,1: 65:[35, 132] Operation: 39+93=132
Exploring Operation: 93-39=54, Resulting Numbers: [35, 54]
Generated Node #0,0,2: 65:[35, 54] Operation: 93-39=54
Exploring Operation: 93-35=58, Resulting Numbers: [39, 58]
Generated Node #0,0,3: 65:[39, 58] Operation: 93-35=58
Exploring Operation: 39+35=74, Resulting Numbers: [93, 74]
Generated Node #0,0,4: 65:[93, 74] Operation: 39+35=74
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[93, 4], Operations: ['95-60=35', '39-35=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,65 unequal: No Solution
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,65 unequal: No Solution
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,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,2
Current State: 65:[35, 54], Operations: ['95-60=35', '93-39=54']
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 35*54=1890, Resulting Numbers: [1890]
1890,65 unequal: No Solution
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[39, 58], Operations: ['95-60=35', '93-35=58']
Exploring Operation: 39+58=97, Resulting Numbers: [97]
97,65 unequal: No Solution
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 39*58=2262, Resulting Numbers: [2262]
2262,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,4
Current State: 65:[93, 74], Operations: ['95-60=35', '39+35=74']
Exploring Operation: 93*74=6882, Resulting Numbers: [6882]
6882,65 unequal: No Solution
Exploring Operation: 93+74=167, Resulting Numbers: [167]
167,65 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[35, 132], Operations: ['95-60=35', '39+93=132']
Exploring Operation: 132-35=97, Resulting Numbers: [97]
97,65 unequal: No Solution
Exploring Operation: 35*132=4620, Resulting Numbers: [4620]
4620,65 unequal: No Solution
Exploring Operation: 35+132=167, Resulting Numbers: [167]
167,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
15,
48,
30,
96
] | 99 | [
"48-15=33",
"96-30=66",
"33+66=99"
] | Current State: 99:[15, 48, 30, 96], Operations: []
Exploring Operation: 48-15=33, Resulting Numbers: [30, 96, 33]
Generated Node #2: [30, 96, 33] from Operation: 48-15=33
Current State: 99:[30, 96, 33], Operations: ['48-15=33']
Exploring Operation: 96-30=66, Resulting Numbers: [33, 66]
Generated Node #3: [33, 66] from Operation: 96-30=66
Current State: 99:[33, 66], Operations: ['48-15=33', '96-30=66']
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[15, 48, 30, 96], Operations: []
Exploring Operation: 48-15=33, Resulting Numbers: [30, 96, 33]
Generated Node #0,0: 99:[30, 96, 33] Operation: 48-15=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[30, 96, 33], Operations: ['48-15=33']
Exploring Operation: 33-30=3, Resulting Numbers: [96, 3]
Generated Node #0,0,0: 99:[96, 3] Operation: 33-30=3
Moving to Node #0,0,0
Current State: 99:[96, 3], Operations: ['48-15=33', '33-30=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[15, 48, 30, 96], Operations: []
Exploring Operation: 48-15=33, Resulting Numbers: [30, 96, 33]
Generated Node #0,0: 99:[30, 96, 33] Operation: 48-15=33
Moving to Node #0,0
Current State: 99:[30, 96, 33], Operations: ['48-15=33']
Exploring Operation: 33-30=3, Resulting Numbers: [96, 3]
Generated Node #0,0,0: 99:[96, 3] Operation: 33-30=3
Moving to Node #0,0,0
Current State: 99:[96, 3], Operations: ['48-15=33', '33-30=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
69,
14,
3,
96
] | 16 | [
"69+14=83",
"3+96=99",
"99-83=16"
] | Current State: 16:[69, 14, 3, 96], Operations: []
Exploring Operation: 69+14=83, Resulting Numbers: [3, 96, 83]
Generated Node #2: [3, 96, 83] from Operation: 69+14=83
Current State: 16:[3, 96, 83], Operations: ['69+14=83']
Exploring Operation: 3+96=99, Resulting Numbers: [83, 99]
Generated Node #3: [83, 99] from Operation: 3+96=99
Current State: 16:[83, 99], Operations: ['69+14=83', '3+96=99']
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[69, 14, 3, 96], Operations: []
Exploring Operation: 96-69=27, Resulting Numbers: [14, 3, 27]
Generated Node #0,0: 16:[14, 3, 27] Operation: 96-69=27
Exploring Operation: 96/3=32, Resulting Numbers: [69, 14, 32]
Generated Node #0,1: 16:[69, 14, 32] Operation: 96/3=32
Exploring Operation: 69/3=23, Resulting Numbers: [14, 96, 23]
Generated Node #0,2: 16:[14, 96, 23] Operation: 69/3=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[14, 3, 27], Operations: ['96-69=27']
Exploring Operation: 27-14=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 16:[3, 13] Operation: 27-14=13
Exploring Operation: 27/3=9, Resulting Numbers: [14, 9]
Generated Node #0,0,1: 16:[14, 9] Operation: 27/3=9
Exploring Operation: 27-3=24, Resulting Numbers: [14, 24]
Generated Node #0,0,2: 16:[14, 24] Operation: 27-3=24
Moving to Node #0,0,1
Current State: 16:[14, 9], Operations: ['96-69=27', '27/3=9']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,16 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[3, 13], Operations: ['96-69=27', '27-14=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[69, 14, 3, 96], Operations: []
Exploring Operation: 96-69=27, Resulting Numbers: [14, 3, 27]
Generated Node #0,0: 16:[14, 3, 27] Operation: 96-69=27
Moving to Node #0,0
Current State: 16:[14, 3, 27], Operations: ['96-69=27']
Exploring Operation: 27-14=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 16:[3, 13] Operation: 27-14=13
Moving to Node #0,0,0
Current State: 16:[3, 13], Operations: ['96-69=27', '27-14=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
98,
45,
17,
93
] | 57 | [
"98-45=53",
"17+93=110",
"110-53=57"
] | Current State: 57:[98, 45, 17, 93], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [17, 93, 53]
Generated Node #2: [17, 93, 53] from Operation: 98-45=53
Current State: 57:[17, 93, 53], Operations: ['98-45=53']
Exploring Operation: 17+93=110, Resulting Numbers: [53, 110]
Generated Node #3: [53, 110] from Operation: 17+93=110
Current State: 57:[53, 110], Operations: ['98-45=53', '17+93=110']
Exploring Operation: 110-53=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[98, 45, 17, 93], Operations: []
Exploring Operation: 93-45=48, Resulting Numbers: [98, 17, 48]
Generated Node #0,0: 57:[98, 17, 48] Operation: 93-45=48
Exploring Operation: 98-93=5, Resulting Numbers: [45, 17, 5]
Generated Node #0,1: 57:[45, 17, 5] Operation: 98-93=5
Exploring Operation: 98-45=53, Resulting Numbers: [17, 93, 53]
Generated Node #0,2: 57:[17, 93, 53] Operation: 98-45=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[45, 17, 5], Operations: ['98-93=5']
Exploring Operation: 45/5=9, Resulting Numbers: [17, 9]
Generated Node #0,1,0: 57:[17, 9] Operation: 45/5=9
Exploring Operation: 45+17=62, Resulting Numbers: [5, 62]
Generated Node #0,1,1: 57:[5, 62] Operation: 45+17=62
Exploring Operation: 45+5=50, Resulting Numbers: [17, 50]
Generated Node #0,1,2: 57:[17, 50] Operation: 45+5=50
Moving to Node #0,1,1
Current State: 57:[5, 62], Operations: ['98-93=5', '45+17=62']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[98, 45, 17, 93], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [45, 17, 5]
Generated Node #0,1: 57:[45, 17, 5] Operation: 98-93=5
Moving to Node #0,1
Current State: 57:[45, 17, 5], Operations: ['98-93=5']
Exploring Operation: 45+17=62, Resulting Numbers: [5, 62]
Generated Node #0,1,1: 57:[5, 62] Operation: 45+17=62
Moving to Node #0,1,1
Current State: 57:[5, 62], Operations: ['98-93=5', '45+17=62']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
2,
17,
60,
70
] | 46 | [
"70-17=53",
"2*53=106",
"106-60=46"
] | Current State: 46:[2, 17, 60, 70], Operations: []
Exploring Operation: 70-17=53, Resulting Numbers: [2, 60, 53]
Generated Node #2: [2, 60, 53] from Operation: 70-17=53
Current State: 46:[2, 60, 53], Operations: ['70-17=53']
Exploring Operation: 2*53=106, Resulting Numbers: [60, 106]
Generated Node #3: [60, 106] from Operation: 2*53=106
Current State: 46:[60, 106], Operations: ['70-17=53', '2*53=106']
Exploring Operation: 106-60=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[2, 17, 60, 70], Operations: []
Exploring Operation: 70-17=53, Resulting Numbers: [2, 60, 53]
Generated Node #0,0: 46:[2, 60, 53] Operation: 70-17=53
Exploring Operation: 70/2=35, Resulting Numbers: [17, 60, 35]
Generated Node #0,1: 46:[17, 60, 35] Operation: 70/2=35
Exploring Operation: 60-17=43, Resulting Numbers: [2, 70, 43]
Generated Node #0,2: 46:[2, 70, 43] Operation: 60-17=43
Exploring Operation: 60/2=30, Resulting Numbers: [17, 70, 30]
Generated Node #0,3: 46:[17, 70, 30] Operation: 60/2=30
Exploring Operation: 70-60=10, Resulting Numbers: [2, 17, 10]
Generated Node #0,4: 46:[2, 17, 10] Operation: 70-60=10
Start Sub Search at level 1: Moving to Node #0,4
Current State: 46:[2, 17, 10], Operations: ['70-60=10']
Exploring Operation: 17-10=7, Resulting Numbers: [2, 7]
Generated Node #0,4,0: 46:[2, 7] Operation: 17-10=7
Exploring Operation: 2+17=19, Resulting Numbers: [10, 19]
Generated Node #0,4,1: 46:[10, 19] Operation: 2+17=19
Exploring Operation: 10/2=5, Resulting Numbers: [17, 5]
Generated Node #0,4,2: 46:[17, 5] Operation: 10/2=5
Exploring Operation: 17+10=27, Resulting Numbers: [2, 27]
Generated Node #0,4,3: 46:[2, 27] Operation: 17+10=27
Exploring Operation: 2*10=20, Resulting Numbers: [17, 20]
Generated Node #0,4,4: 46:[17, 20] Operation: 2*10=20
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 46:[2, 27], Operations: ['70-60=10', '17+10=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,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,4,0
Current State: 46:[2, 7], Operations: ['70-60=10', '17-10=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,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,4,2
Current State: 46:[17, 5], Operations: ['70-60=10', '10/2=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,46 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,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,4,4
Current State: 46:[17, 20], Operations: ['70-60=10', '2*10=20']
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,46 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,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,4,1
Current State: 46:[10, 19], Operations: ['70-60=10', '2+17=19']
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,46 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,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:[2, 60, 53], Operations: ['70-17=53']
Exploring Operation: 2+60=62, Resulting Numbers: [53, 62]
Generated Node #0,0,0: 46:[53, 62] Operation: 2+60=62
Exploring Operation: 60-53=7, Resulting Numbers: [2, 7]
Generated Node #0,0,1: 46:[2, 7] Operation: 60-53=7
Exploring Operation: 53-2=51, Resulting Numbers: [60, 51]
Generated Node #0,0,2: 46:[60, 51] Operation: 53-2=51
Exploring Operation: 60/2=30, Resulting Numbers: [53, 30]
Generated Node #0,0,3: 46:[53, 30] Operation: 60/2=30
Exploring Operation: 60-2=58, Resulting Numbers: [53, 58]
Generated Node #0,0,4: 46:[53, 58] Operation: 60-2=58
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[2, 7], Operations: ['70-17=53', '60-53=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,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,0,3
Current State: 46:[53, 30], Operations: ['70-17=53', '60/2=30']
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,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,0,2
Current State: 46:[60, 51], Operations: ['70-17=53', '53-2=51']
Exploring Operation: 60-51=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 60*51=3060, Resulting Numbers: [3060]
3060,46 unequal: No Solution
Exploring Operation: 60+51=111, Resulting Numbers: [111]
111,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,0,4
Current State: 46:[53, 58], Operations: ['70-17=53', '60-2=58']
Exploring Operation: 53+58=111, Resulting Numbers: [111]
111,46 unequal: No Solution
Exploring Operation: 53*58=3074, Resulting Numbers: [3074]
3074,46 unequal: No Solution
Exploring Operation: 58-53=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,0,0
Current State: 46:[53, 62], Operations: ['70-17=53', '2+60=62']
Exploring Operation: 53+62=115, Resulting Numbers: [115]
115,46 unequal: No Solution
Exploring Operation: 62-53=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 53*62=3286, Resulting Numbers: [3286]
3286,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,2
Current State: 46:[2, 70, 43], Operations: ['60-17=43']
Exploring Operation: 70-43=27, Resulting Numbers: [2, 27]
Generated Node #0,2,0: 46:[2, 27] Operation: 70-43=27
Exploring Operation: 2+70=72, Resulting Numbers: [43, 72]
Generated Node #0,2,1: 46:[43, 72] Operation: 2+70=72
Exploring Operation: 70-2=68, Resulting Numbers: [43, 68]
Generated Node #0,2,2: 46:[43, 68] Operation: 70-2=68
Exploring Operation: 70/2=35, Resulting Numbers: [43, 35]
Generated Node #0,2,3: 46:[43, 35] Operation: 70/2=35
Exploring Operation: 2+43=45, Resulting Numbers: [70, 45]
Generated Node #0,2,4: 46:[70, 45] Operation: 2+43=45
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 46:[2, 27], Operations: ['60-17=43', '70-43=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,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,3
Current State: 46:[43, 35], Operations: ['60-17=43', '70/2=35']
Exploring Operation: 43*35=1505, Resulting Numbers: [1505]
1505,46 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 43+35=78, Resulting Numbers: [78]
78,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,2
Current State: 46:[43, 68], Operations: ['60-17=43', '70-2=68']
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,46 unequal: No Solution
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,46 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,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,4
Current State: 46:[70, 45], Operations: ['60-17=43', '2+43=45']
Exploring Operation: 70+45=115, Resulting Numbers: [115]
115,46 unequal: No Solution
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 70*45=3150, Resulting Numbers: [3150]
3150,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:[43, 72], Operations: ['60-17=43', '2+70=72']
Exploring Operation: 43+72=115, Resulting Numbers: [115]
115,46 unequal: No Solution
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 43*72=3096, Resulting Numbers: [3096]
3096,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,1
Current State: 46:[17, 60, 35], Operations: ['70/2=35']
Exploring Operation: 60-17=43, Resulting Numbers: [35, 43]
Generated Node #0,1,0: 46:[35, 43] Operation: 60-17=43
Exploring Operation: 17+35=52, Resulting Numbers: [60, 52]
Generated Node #0,1,1: 46:[60, 52] Operation: 17+35=52
Exploring Operation: 17+60=77, Resulting Numbers: [35, 77]
Generated Node #0,1,2: 46:[35, 77] Operation: 17+60=77
Exploring Operation: 60-35=25, Resulting Numbers: [17, 25]
Generated Node #0,1,3: 46:[17, 25] Operation: 60-35=25
Exploring Operation: 35-17=18, Resulting Numbers: [60, 18]
Generated Node #0,1,4: 46:[60, 18] Operation: 35-17=18
Moving to Node #0,1,3
Current State: 46:[17, 25], Operations: ['70/2=35', '60-35=25']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,46 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[35, 43], Operations: ['70/2=35', '60-17=43']
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,46 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Moving to Node #0,1,4
Current State: 46:[60, 18], Operations: ['70/2=35', '35-17=18']
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,46 unequal: No Solution
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[60, 52], Operations: ['70/2=35', '17+35=52']
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 60*52=3120, Resulting Numbers: [3120]
3120,46 unequal: No Solution
Exploring Operation: 60+52=112, Resulting Numbers: [112]
112,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[35, 77], Operations: ['70/2=35', '17+60=77']
Exploring Operation: 35*77=2695, Resulting Numbers: [2695]
2695,46 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Exploring Operation: 35+77=112, Resulting Numbers: [112]
112,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[17, 70, 30], Operations: ['60/2=30']
Exploring Operation: 17+70=87, Resulting Numbers: [30, 87]
Generated Node #0,3,0: 46:[30, 87] Operation: 17+70=87
Exploring Operation: 70-17=53, Resulting Numbers: [30, 53]
Generated Node #0,3,1: 46:[30, 53] Operation: 70-17=53
Exploring Operation: 70-30=40, Resulting Numbers: [17, 40]
Generated Node #0,3,2: 46:[17, 40] Operation: 70-30=40
Exploring Operation: 17+30=47, Resulting Numbers: [70, 47]
Generated Node #0,3,3: 46:[70, 47] Operation: 17+30=47
Exploring Operation: 30-17=13, Resulting Numbers: [70, 13]
Generated Node #0,3,4: 46:[70, 13] Operation: 30-17=13
Moving to Node #0,3,2
Current State: 46:[17, 40], Operations: ['60/2=30', '70-30=40']
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,46 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[30, 53], Operations: ['60/2=30', '70-17=53']
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 30*53=1590, Resulting Numbers: [1590]
1590,46 unequal: No Solution
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[70, 47], Operations: ['60/2=30', '17+30=47']
Exploring Operation: 70*47=3290, Resulting Numbers: [3290]
3290,46 unequal: No Solution
Exploring Operation: 70-47=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 70+47=117, Resulting Numbers: [117]
117,46 unequal: No Solution
Moving to Node #0,3,4
Current State: 46:[70, 13], Operations: ['60/2=30', '30-17=13']
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,46 unequal: No Solution
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,46 unequal: No Solution
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[30, 87], Operations: ['60/2=30', '17+70=87']
Exploring Operation: 30+87=117, Resulting Numbers: [117]
117,46 unequal: No Solution
Exploring Operation: 30*87=2610, Resulting Numbers: [2610]
2610,46 unequal: No Solution
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,46 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 |
[
25,
95,
38,
47
] | 61 | [
"95-25=70",
"47-38=9",
"70-9=61"
] | Current State: 61:[25, 95, 38, 47], Operations: []
Exploring Operation: 95-25=70, Resulting Numbers: [38, 47, 70]
Generated Node #2: [38, 47, 70] from Operation: 95-25=70
Current State: 61:[38, 47, 70], Operations: ['95-25=70']
Exploring Operation: 47-38=9, Resulting Numbers: [70, 9]
Generated Node #3: [70, 9] from Operation: 47-38=9
Current State: 61:[70, 9], Operations: ['95-25=70', '47-38=9']
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[25, 95, 38, 47], Operations: []
Exploring Operation: 25+38=63, Resulting Numbers: [95, 47, 63]
Generated Node #0,0: 61:[95, 47, 63] Operation: 25+38=63
Exploring Operation: 95-38=57, Resulting Numbers: [25, 47, 57]
Generated Node #0,1: 61:[25, 47, 57] Operation: 95-38=57
Exploring Operation: 95-25=70, Resulting Numbers: [38, 47, 70]
Generated Node #0,2: 61:[38, 47, 70] Operation: 95-25=70
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[38, 47, 70], Operations: ['95-25=70']
Exploring Operation: 38+47=85, Resulting Numbers: [70, 85]
Generated Node #0,2,0: 61:[70, 85] Operation: 38+47=85
Exploring Operation: 70-38=32, Resulting Numbers: [47, 32]
Generated Node #0,2,1: 61:[47, 32] Operation: 70-38=32
Exploring Operation: 47-38=9, Resulting Numbers: [70, 9]
Generated Node #0,2,2: 61:[70, 9] Operation: 47-38=9
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[70, 85], Operations: ['95-25=70', '38+47=85']
Exploring Operation: 70+85=155, Resulting Numbers: [155]
155,61 unequal: No Solution
Exploring Operation: 85-70=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 70*85=5950, Resulting Numbers: [5950]
5950,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,2,1
Current State: 61:[47, 32], Operations: ['95-25=70', '70-38=32']
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,61 unequal: No Solution
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,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,2,2
Current State: 61:[70, 9], Operations: ['95-25=70', '47-38=9']
Exploring Operation: 70+9=79, Resulting Numbers: [79]
79,61 unequal: No Solution
Exploring Operation: 70*9=630, Resulting Numbers: [630]
630,61 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[25, 95, 38, 47], Operations: []
Exploring Operation: 95-25=70, Resulting Numbers: [38, 47, 70]
Generated Node #0,2: 61:[38, 47, 70] Operation: 95-25=70
Moving to Node #0,2
Current State: 61:[38, 47, 70], Operations: ['95-25=70']
Exploring Operation: 47-38=9, Resulting Numbers: [70, 9]
Generated Node #0,2,2: 61:[70, 9] Operation: 47-38=9
Moving to Node #0,2,2
Current State: 61:[70, 9], Operations: ['95-25=70', '47-38=9']
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
21,
5,
42,
72
] | 41 | [
"42/21=2",
"72/2=36",
"5+36=41"
] | Current State: 41:[21, 5, 42, 72], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [5, 72, 2]
Generated Node #2: [5, 72, 2] from Operation: 42/21=2
Current State: 41:[5, 72, 2], Operations: ['42/21=2']
Exploring Operation: 72/2=36, Resulting Numbers: [5, 36]
Generated Node #3: [5, 36] from Operation: 72/2=36
Current State: 41:[5, 36], Operations: ['42/21=2', '72/2=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[21, 5, 42, 72], Operations: []
Exploring Operation: 21+5=26, Resulting Numbers: [42, 72, 26]
Generated Node #0,0: 41:[42, 72, 26] Operation: 21+5=26
Exploring Operation: 72-21=51, Resulting Numbers: [5, 42, 51]
Generated Node #0,1: 41:[5, 42, 51] Operation: 72-21=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[42, 72, 26], Operations: ['21+5=26']
Exploring Operation: 72-26=46, Resulting Numbers: [42, 46]
Generated Node #0,0,0: 41:[42, 46] Operation: 72-26=46
Exploring Operation: 72-42=30, Resulting Numbers: [26, 30]
Generated Node #0,0,1: 41:[26, 30] Operation: 72-42=30
Moving to Node #0,0,0
Current State: 41:[42, 46], Operations: ['21+5=26', '72-26=46']
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[26, 30], Operations: ['21+5=26', '72-42=30']
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,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:[5, 42, 51], Operations: ['72-21=51']
Exploring Operation: 42-5=37, Resulting Numbers: [51, 37]
Generated Node #0,1,0: 41:[51, 37] Operation: 42-5=37
Exploring Operation: 51-5=46, Resulting Numbers: [42, 46]
Generated Node #0,1,1: 41:[42, 46] Operation: 51-5=46
Moving to Node #0,1,1
Current State: 41:[42, 46], Operations: ['72-21=51', '51-5=46']
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[51, 37], Operations: ['72-21=51', '42-5=37']
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 51+37=88, Resulting Numbers: [88]
88,41 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 |
[
58,
63,
27,
60
] | 34 | [
"58+63=121",
"27+60=87",
"121-87=34"
] | Current State: 34:[58, 63, 27, 60], Operations: []
Exploring Operation: 58+63=121, Resulting Numbers: [27, 60, 121]
Generated Node #2: [27, 60, 121] from Operation: 58+63=121
Current State: 34:[27, 60, 121], Operations: ['58+63=121']
Exploring Operation: 27+60=87, Resulting Numbers: [121, 87]
Generated Node #3: [121, 87] from Operation: 27+60=87
Current State: 34:[121, 87], Operations: ['58+63=121', '27+60=87']
Exploring Operation: 121-87=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[58, 63, 27, 60], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [27, 60, 5]
Generated Node #0,0: 34:[27, 60, 5] Operation: 63-58=5
Exploring Operation: 63-27=36, Resulting Numbers: [58, 60, 36]
Generated Node #0,1: 34:[58, 60, 36] Operation: 63-27=36
Exploring Operation: 60-58=2, Resulting Numbers: [63, 27, 2]
Generated Node #0,2: 34:[63, 27, 2] Operation: 60-58=2
Exploring Operation: 60-27=33, Resulting Numbers: [58, 63, 33]
Generated Node #0,3: 34:[58, 63, 33] Operation: 60-27=33
Exploring Operation: 63-60=3, Resulting Numbers: [58, 27, 3]
Generated Node #0,4: 34:[58, 27, 3] Operation: 63-60=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[58, 27, 3], Operations: ['63-60=3']
Exploring Operation: 58-3=55, Resulting Numbers: [27, 55]
Generated Node #0,4,0: 34:[27, 55] Operation: 58-3=55
Exploring Operation: 27+3=30, Resulting Numbers: [58, 30]
Generated Node #0,4,1: 34:[58, 30] Operation: 27+3=30
Exploring Operation: 27-3=24, Resulting Numbers: [58, 24]
Generated Node #0,4,2: 34:[58, 24] Operation: 27-3=24
Exploring Operation: 58-27=31, Resulting Numbers: [3, 31]
Generated Node #0,4,3: 34:[3, 31] Operation: 58-27=31
Exploring Operation: 27/3=9, Resulting Numbers: [58, 9]
Generated Node #0,4,4: 34:[58, 9] Operation: 27/3=9
Moving to Node #0,4,3
Current State: 34:[3, 31], Operations: ['63-60=3', '58-27=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,34 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[58, 63, 27, 60], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [58, 27, 3]
Generated Node #0,4: 34:[58, 27, 3] Operation: 63-60=3
Moving to Node #0,4
Current State: 34:[58, 27, 3], Operations: ['63-60=3']
Exploring Operation: 58-27=31, Resulting Numbers: [3, 31]
Generated Node #0,4,3: 34:[3, 31] Operation: 58-27=31
Moving to Node #0,4,3
Current State: 34:[3, 31], Operations: ['63-60=3', '58-27=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
9,
61,
70,
65
] | 14 | [
"9+61=70",
"70-65=5",
"70/5=14"
] | Current State: 14:[9, 61, 70, 65], Operations: []
Exploring Operation: 9+61=70, Resulting Numbers: [70, 65, 70]
Generated Node #2: [70, 65, 70] from Operation: 9+61=70
Current State: 14:[70, 65, 70], Operations: ['9+61=70']
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,14 equal: Goal Reached
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[9, 61, 70, 65], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [9, 65, 9]
Generated Node #0,0: 14:[9, 65, 9] Operation: 70-61=9
Exploring Operation: 65-61=4, Resulting Numbers: [9, 70, 4]
Generated Node #0,1: 14:[9, 70, 4] Operation: 65-61=4
Exploring Operation: 70-65=5, Resulting Numbers: [9, 61, 5]
Generated Node #0,2: 14:[9, 61, 5] Operation: 70-65=5
Moving to Node #0,2
Current State: 14:[9, 61, 5], Operations: ['70-65=5']
Exploring Operation: 61-9=52, Resulting Numbers: [5, 52]
Generated Node #0,2,0: 14:[5, 52] Operation: 61-9=52
Exploring Operation: 9+5=14, Resulting Numbers: [61, 14]
Generated Node #0,2,1: 14:[61, 14] Operation: 9+5=14
Exploring Operation: 61-5=56, Resulting Numbers: [9, 56]
Generated Node #0,2,2: 14:[9, 56] Operation: 61-5=56
Moving to Node #0,0
Current State: 14:[9, 65, 9], Operations: ['70-61=9']
Exploring Operation: 9/9=1, Resulting Numbers: [65, 1]
Generated Node #0,0,0: 14:[65, 1] Operation: 9/9=1
Exploring Operation: 65-9=56, Resulting Numbers: [9, 56]
Generated Node #0,0,1: 14:[9, 56] Operation: 65-9=56
Exploring Operation: 65-9=56, Resulting Numbers: [9, 56]
Generated Node #0,0,2: 14:[9, 56] Operation: 65-9=56
Moving to Node #0,1
Current State: 14:[9, 70, 4], Operations: ['65-61=4']
Exploring Operation: 9+4=13, Resulting Numbers: [70, 13]
Generated Node #0,1,0: 14:[70, 13] Operation: 9+4=13
Exploring Operation: 70-9=61, Resulting Numbers: [4, 61]
Generated Node #0,1,1: 14:[4, 61] Operation: 70-9=61
Exploring Operation: 70-4=66, Resulting Numbers: [9, 66]
Generated Node #0,1,2: 14:[9, 66] Operation: 70-4=66
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[4, 61], Operations: ['65-61=4', '70-9=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 4*61=244, Resulting Numbers: [244]
244,14 unequal: No Solution
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,14 unequal: No Solution
No 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: 14:[9, 66], Operations: ['65-61=4', '70-4=66']
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,14 unequal: No Solution
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,14 unequal: No Solution
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,14 unequal: No Solution
No 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: 14:[70, 13], Operations: ['65-61=4', '9+4=13']
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,14 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: 14:[5, 52], Operations: ['70-65=5', '61-9=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,14 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[9, 56], Operations: ['70-65=5', '61-5=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,14 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[9, 56], Operations: ['70-61=9', '65-9=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,14 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[9, 56], Operations: ['70-61=9', '65-9=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,14 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[61, 14], Operations: ['70-65=5', '9+5=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,14 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,14 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[65, 1], Operations: ['70-61=9', '9/9=1']
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,14 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,14 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,14 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
53,
54,
72,
13
] | 58 | [
"54-53=1",
"72-13=59",
"59-1=58"
] | Current State: 58:[53, 54, 72, 13], Operations: []
Exploring Operation: 54-53=1, Resulting Numbers: [72, 13, 1]
Generated Node #2: [72, 13, 1] from Operation: 54-53=1
Current State: 58:[72, 13, 1], Operations: ['54-53=1']
Exploring Operation: 72-13=59, Resulting Numbers: [1, 59]
Generated Node #3: [1, 59] from Operation: 72-13=59
Current State: 58:[1, 59], Operations: ['54-53=1', '72-13=59']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[53, 54, 72, 13], Operations: []
Exploring Operation: 72-53=19, Resulting Numbers: [54, 13, 19]
Generated Node #0,0: 58:[54, 13, 19] Operation: 72-53=19
Exploring Operation: 72-54=18, Resulting Numbers: [53, 13, 18]
Generated Node #0,1: 58:[53, 13, 18] Operation: 72-54=18
Exploring Operation: 54-53=1, Resulting Numbers: [72, 13, 1]
Generated Node #0,2: 58:[72, 13, 1] Operation: 54-53=1
Exploring Operation: 72-13=59, Resulting Numbers: [53, 54, 59]
Generated Node #0,3: 58:[53, 54, 59] Operation: 72-13=59
Exploring Operation: 53+13=66, Resulting Numbers: [54, 72, 66]
Generated Node #0,4: 58:[54, 72, 66] Operation: 53+13=66
Moving to Node #0,3
Current State: 58:[53, 54, 59], Operations: ['72-13=59']
Exploring Operation: 54-53=1, Resulting Numbers: [59, 1]
Generated Node #0,3,0: 58:[59, 1] Operation: 54-53=1
Exploring Operation: 53+54=107, Resulting Numbers: [59, 107]
Generated Node #0,3,1: 58:[59, 107] Operation: 53+54=107
Exploring Operation: 59-53=6, Resulting Numbers: [54, 6]
Generated Node #0,3,2: 58:[54, 6] Operation: 59-53=6
Exploring Operation: 59-54=5, Resulting Numbers: [53, 5]
Generated Node #0,3,3: 58:[53, 5] Operation: 59-54=5
Exploring Operation: 53+59=112, Resulting Numbers: [54, 112]
Generated Node #0,3,4: 58:[54, 112] Operation: 53+59=112
Moving to Node #0,0
Current State: 58:[54, 13, 19], Operations: ['72-53=19']
Exploring Operation: 19-13=6, Resulting Numbers: [54, 6]
Generated Node #0,0,0: 58:[54, 6] Operation: 19-13=6
Exploring Operation: 54-13=41, Resulting Numbers: [19, 41]
Generated Node #0,0,1: 58:[19, 41] Operation: 54-13=41
Exploring Operation: 54+13=67, Resulting Numbers: [19, 67]
Generated Node #0,0,2: 58:[19, 67] Operation: 54+13=67
Exploring Operation: 54-19=35, Resulting Numbers: [13, 35]
Generated Node #0,0,3: 58:[13, 35] Operation: 54-19=35
Exploring Operation: 13+19=32, Resulting Numbers: [54, 32]
Generated Node #0,0,4: 58:[54, 32] Operation: 13+19=32
Moving to Node #0,2
Current State: 58:[72, 13, 1], Operations: ['54-53=1']
Exploring Operation: 72*1=72, Resulting Numbers: [13, 72]
Generated Node #0,2,0: 58:[13, 72] Operation: 72*1=72
Exploring Operation: 13-1=12, Resulting Numbers: [72, 12]
Generated Node #0,2,1: 58:[72, 12] Operation: 13-1=12
Exploring Operation: 72-13=59, Resulting Numbers: [1, 59]
Generated Node #0,2,2: 58:[1, 59] Operation: 72-13=59
Exploring Operation: 72-1=71, Resulting Numbers: [13, 71]
Generated Node #0,2,3: 58:[13, 71] Operation: 72-1=71
Exploring Operation: 72/1=72, Resulting Numbers: [13, 72]
Generated Node #0,2,4: 58:[13, 72] Operation: 72/1=72
Moving to Node #0,4
Current State: 58:[54, 72, 66], Operations: ['53+13=66']
Exploring Operation: 72-66=6, Resulting Numbers: [54, 6]
Generated Node #0,4,0: 58:[54, 6] Operation: 72-66=6
Exploring Operation: 54+72=126, Resulting Numbers: [66, 126]
Generated Node #0,4,1: 58:[66, 126] Operation: 54+72=126
Exploring Operation: 66-54=12, Resulting Numbers: [72, 12]
Generated Node #0,4,2: 58:[72, 12] Operation: 66-54=12
Exploring Operation: 72-54=18, Resulting Numbers: [66, 18]
Generated Node #0,4,3: 58:[66, 18] Operation: 72-54=18
Exploring Operation: 54+66=120, Resulting Numbers: [72, 120]
Generated Node #0,4,4: 58:[72, 120] Operation: 54+66=120
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 58:[54, 6], Operations: ['53+13=66', '72-66=6']
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,58 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,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,4,3
Current State: 58:[66, 18], Operations: ['53+13=66', '72-54=18']
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,58 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,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,4,2
Current State: 58:[72, 12], Operations: ['53+13=66', '66-54=12']
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 72*12=864, Resulting Numbers: [864]
864,58 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 72+12=84, Resulting Numbers: [84]
84,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,4,1
Current State: 58:[66, 126], Operations: ['53+13=66', '54+72=126']
Exploring Operation: 126-66=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 66*126=8316, Resulting Numbers: [8316]
8316,58 unequal: No Solution
Exploring Operation: 66+126=192, Resulting Numbers: [192]
192,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,4,4
Current State: 58:[72, 120], Operations: ['53+13=66', '54+66=120']
Exploring Operation: 72+120=192, Resulting Numbers: [192]
192,58 unequal: No Solution
Exploring Operation: 72*120=8640, Resulting Numbers: [8640]
8640,58 unequal: No Solution
Exploring Operation: 120-72=48, Resulting Numbers: [48]
48,58 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: 58:[53, 13, 18], Operations: ['72-54=18']
Exploring Operation: 13+18=31, Resulting Numbers: [53, 31]
Generated Node #0,1,0: 58:[53, 31] Operation: 13+18=31
Exploring Operation: 18-13=5, Resulting Numbers: [53, 5]
Generated Node #0,1,1: 58:[53, 5] Operation: 18-13=5
Exploring Operation: 53-13=40, Resulting Numbers: [18, 40]
Generated Node #0,1,2: 58:[18, 40] Operation: 53-13=40
Exploring Operation: 53+13=66, Resulting Numbers: [18, 66]
Generated Node #0,1,3: 58:[18, 66] Operation: 53+13=66
Exploring Operation: 53-18=35, Resulting Numbers: [13, 35]
Generated Node #0,1,4: 58:[13, 35] Operation: 53-18=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[53, 31], Operations: ['72-54=18', '13+18=31']
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,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,1
Current State: 58:[53, 5], Operations: ['72-54=18', '18-13=5']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,58 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[53, 54, 72, 13], Operations: []
Exploring Operation: 72-54=18, Resulting Numbers: [53, 13, 18]
Generated Node #0,1: 58:[53, 13, 18] Operation: 72-54=18
Moving to Node #0,1
Current State: 58:[53, 13, 18], Operations: ['72-54=18']
Exploring Operation: 18-13=5, Resulting Numbers: [53, 5]
Generated Node #0,1,1: 58:[53, 5] Operation: 18-13=5
Moving to Node #0,1,1
Current State: 58:[53, 5], Operations: ['72-54=18', '18-13=5']
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_5 | sum_heuristic |
[
2,
14,
19,
11
] | 77 | [
"14-2=12",
"19-12=7",
"11*7=77"
] | Current State: 77:[2, 14, 19, 11], Operations: []
Exploring Operation: 14-2=12, Resulting Numbers: [19, 11, 12]
Generated Node #2: [19, 11, 12] from Operation: 14-2=12
Current State: 77:[19, 11, 12], Operations: ['14-2=12']
Exploring Operation: 19-12=7, Resulting Numbers: [11, 7]
Generated Node #3: [11, 7] from Operation: 19-12=7
Current State: 77:[11, 7], Operations: ['14-2=12', '19-12=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[2, 14, 19, 11], Operations: []
Exploring Operation: 14/2=7, Resulting Numbers: [19, 11, 7]
Generated Node #0,0: 77:[19, 11, 7] Operation: 14/2=7
Exploring Operation: 19-14=5, Resulting Numbers: [2, 11, 5]
Generated Node #0,1: 77:[2, 11, 5] Operation: 19-14=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[2, 11, 5], Operations: ['19-14=5']
Exploring Operation: 2*5=10, Resulting Numbers: [11, 10]
Generated Node #0,1,0: 77:[11, 10] Operation: 2*5=10
Exploring Operation: 2+5=7, Resulting Numbers: [11, 7]
Generated Node #0,1,1: 77:[11, 7] Operation: 2+5=7
Moving to Node #0,1,1
Current State: 77:[11, 7], Operations: ['19-14=5', '2+5=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[2, 14, 19, 11], Operations: []
Exploring Operation: 19-14=5, Resulting Numbers: [2, 11, 5]
Generated Node #0,1: 77:[2, 11, 5] Operation: 19-14=5
Moving to Node #0,1
Current State: 77:[2, 11, 5], Operations: ['19-14=5']
Exploring Operation: 2+5=7, Resulting Numbers: [11, 7]
Generated Node #0,1,1: 77:[11, 7] Operation: 2+5=7
Moving to Node #0,1,1
Current State: 77:[11, 7], Operations: ['19-14=5', '2+5=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
3,
62,
27,
23
] | 14 | [
"62-23=39",
"39/3=13",
"27-13=14"
] | Current State: 14:[3, 62, 27, 23], Operations: []
Exploring Operation: 62-23=39, Resulting Numbers: [3, 27, 39]
Generated Node #2: [3, 27, 39] from Operation: 62-23=39
Current State: 14:[3, 27, 39], Operations: ['62-23=39']
Exploring Operation: 39/3=13, Resulting Numbers: [27, 13]
Generated Node #3: [27, 13] from Operation: 39/3=13
Current State: 14:[27, 13], Operations: ['62-23=39', '39/3=13']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[3, 62, 27, 23], Operations: []
Exploring Operation: 62-3=59, Resulting Numbers: [27, 23, 59]
Generated Node #0,0: 14:[27, 23, 59] Operation: 62-3=59
Exploring Operation: 62-23=39, Resulting Numbers: [3, 27, 39]
Generated Node #0,1: 14:[3, 27, 39] Operation: 62-23=39
Exploring Operation: 27/3=9, Resulting Numbers: [62, 23, 9]
Generated Node #0,2: 14:[62, 23, 9] Operation: 27/3=9
Exploring Operation: 27-23=4, Resulting Numbers: [3, 62, 4]
Generated Node #0,3: 14:[3, 62, 4] Operation: 27-23=4
Exploring Operation: 62-27=35, Resulting Numbers: [3, 23, 35]
Generated Node #0,4: 14:[3, 23, 35] Operation: 62-27=35
Moving to Node #0,4
Current State: 14:[3, 23, 35], Operations: ['62-27=35']
Exploring Operation: 3+23=26, Resulting Numbers: [35, 26]
Generated Node #0,4,0: 14:[35, 26] Operation: 3+23=26
Exploring Operation: 23-3=20, Resulting Numbers: [35, 20]
Generated Node #0,4,1: 14:[35, 20] Operation: 23-3=20
Exploring Operation: 3+35=38, Resulting Numbers: [23, 38]
Generated Node #0,4,2: 14:[23, 38] Operation: 3+35=38
Exploring Operation: 35-3=32, Resulting Numbers: [23, 32]
Generated Node #0,4,3: 14:[23, 32] Operation: 35-3=32
Exploring Operation: 35-23=12, Resulting Numbers: [3, 12]
Generated Node #0,4,4: 14:[3, 12] Operation: 35-23=12
Moving to Node #0,1
Current State: 14:[3, 27, 39], Operations: ['62-23=39']
Exploring Operation: 39/3=13, Resulting Numbers: [27, 13]
Generated Node #0,1,0: 14:[27, 13] Operation: 39/3=13
Exploring Operation: 27-3=24, Resulting Numbers: [39, 24]
Generated Node #0,1,1: 14:[39, 24] Operation: 27-3=24
Exploring Operation: 39-27=12, Resulting Numbers: [3, 12]
Generated Node #0,1,2: 14:[3, 12] Operation: 39-27=12
Exploring Operation: 27/3=9, Resulting Numbers: [39, 9]
Generated Node #0,1,3: 14:[39, 9] Operation: 27/3=9
Exploring Operation: 39-3=36, Resulting Numbers: [27, 36]
Generated Node #0,1,4: 14:[27, 36] Operation: 39-3=36
Moving to Node #0,3
Current State: 14:[3, 62, 4], Operations: ['27-23=4']
Exploring Operation: 62-3=59, Resulting Numbers: [4, 59]
Generated Node #0,3,0: 14:[4, 59] Operation: 62-3=59
Exploring Operation: 62-4=58, Resulting Numbers: [3, 58]
Generated Node #0,3,1: 14:[3, 58] Operation: 62-4=58
Exploring Operation: 3+4=7, Resulting Numbers: [62, 7]
Generated Node #0,3,2: 14:[62, 7] Operation: 3+4=7
Exploring Operation: 4-3=1, Resulting Numbers: [62, 1]
Generated Node #0,3,3: 14:[62, 1] Operation: 4-3=1
Exploring Operation: 3*4=12, Resulting Numbers: [62, 12]
Generated Node #0,3,4: 14:[62, 12] Operation: 3*4=12
Moving to Node #0,2
Current State: 14:[62, 23, 9], Operations: ['27/3=9']
Exploring Operation: 23+9=32, Resulting Numbers: [62, 32]
Generated Node #0,2,0: 14:[62, 32] Operation: 23+9=32
Exploring Operation: 62+9=71, Resulting Numbers: [23, 71]
Generated Node #0,2,1: 14:[23, 71] Operation: 62+9=71
Exploring Operation: 62-23=39, Resulting Numbers: [9, 39]
Generated Node #0,2,2: 14:[9, 39] Operation: 62-23=39
Exploring Operation: 62-9=53, Resulting Numbers: [23, 53]
Generated Node #0,2,3: 14:[23, 53] Operation: 62-9=53
Exploring Operation: 23-9=14, Resulting Numbers: [62, 14]
Generated Node #0,2,4: 14:[62, 14] Operation: 23-9=14
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 14:[9, 39], Operations: ['27/3=9', '62-23=39']
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,14 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,14 unequal: No Solution
No 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: 14:[23, 53], Operations: ['27/3=9', '62-9=53']
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 23*53=1219, Resulting Numbers: [1219]
1219,14 unequal: No Solution
Exploring Operation: 23+53=76, Resulting Numbers: [76]
76,14 unequal: No Solution
No 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: 14:[62, 14], Operations: ['27/3=9', '23-9=14']
Exploring Operation: 62*14=868, Resulting Numbers: [868]
868,14 unequal: No Solution
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,14 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,14 unequal: No Solution
No 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: 14:[62, 32], Operations: ['27/3=9', '23+9=32']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 62+32=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Exploring Operation: 62*32=1984, Resulting Numbers: [1984]
1984,14 unequal: No Solution
No 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: 14:[23, 71], Operations: ['27/3=9', '62+9=71']
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 23+71=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Exploring Operation: 23*71=1633, Resulting Numbers: [1633]
1633,14 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: 14:[27, 23, 59], Operations: ['62-3=59']
Exploring Operation: 59-23=36, Resulting Numbers: [27, 36]
Generated Node #0,0,0: 14:[27, 36] Operation: 59-23=36
Exploring Operation: 59-27=32, Resulting Numbers: [23, 32]
Generated Node #0,0,1: 14:[23, 32] Operation: 59-27=32
Exploring Operation: 27+23=50, Resulting Numbers: [59, 50]
Generated Node #0,0,2: 14:[59, 50] Operation: 27+23=50
Exploring Operation: 27-23=4, Resulting Numbers: [59, 4]
Generated Node #0,0,3: 14:[59, 4] Operation: 27-23=4
Exploring Operation: 27+59=86, Resulting Numbers: [23, 86]
Generated Node #0,0,4: 14:[23, 86] Operation: 27+59=86
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[23, 32], Operations: ['62-3=59', '59-27=32']
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,14 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,14 unequal: No Solution
No 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: 14:[27, 36], Operations: ['62-3=59', '59-23=36']
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,14 unequal: No Solution
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,14 unequal: No Solution
No 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: 14:[59, 4], Operations: ['62-3=59', '27-23=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,14 unequal: No Solution
Exploring Operation: 59*4=236, Resulting Numbers: [236]
236,14 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,14 unequal: No Solution
No 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: 14:[59, 50], Operations: ['62-3=59', '27+23=50']
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 59+50=109, Resulting Numbers: [109]
109,14 unequal: No Solution
Exploring Operation: 59*50=2950, Resulting Numbers: [2950]
2950,14 unequal: No Solution
No 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: 14:[23, 86], Operations: ['62-3=59', '27+59=86']
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,14 unequal: No Solution
Exploring Operation: 23*86=1978, Resulting Numbers: [1978]
1978,14 unequal: No Solution
Exploring Operation: 23+86=109, Resulting Numbers: [109]
109,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 14:[3, 12], Operations: ['62-27=35', '35-23=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[3, 12], Operations: ['62-23=39', '39-27=12']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[27, 13], Operations: ['62-23=39', '39/3=13']
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,14 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[3, 62, 27, 23], Operations: []
Exploring Operation: 62-23=39, Resulting Numbers: [3, 27, 39]
Generated Node #0,1: 14:[3, 27, 39] Operation: 62-23=39
Moving to Node #0,1
Current State: 14:[3, 27, 39], Operations: ['62-23=39']
Exploring Operation: 39/3=13, Resulting Numbers: [27, 13]
Generated Node #0,1,0: 14:[27, 13] Operation: 39/3=13
Moving to Node #0,1,0
Current State: 14:[27, 13], Operations: ['62-23=39', '39/3=13']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.934896 | hs_5 | mult_heuristic |
[
45,
87,
11,
40
] | 93 | [
"87-45=42",
"11+40=51",
"42+51=93"
] | Current State: 93:[45, 87, 11, 40], Operations: []
Exploring Operation: 87-45=42, Resulting Numbers: [11, 40, 42]
Generated Node #2: [11, 40, 42] from Operation: 87-45=42
Current State: 93:[11, 40, 42], Operations: ['87-45=42']
Exploring Operation: 11+40=51, Resulting Numbers: [42, 51]
Generated Node #3: [42, 51] from Operation: 11+40=51
Current State: 93:[42, 51], Operations: ['87-45=42', '11+40=51']
Exploring Operation: 42+51=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[45, 87, 11, 40], Operations: []
Exploring Operation: 40-11=29, Resulting Numbers: [45, 87, 29]
Generated Node #0,0: 93:[45, 87, 29] Operation: 40-11=29
Exploring Operation: 45-40=5, Resulting Numbers: [87, 11, 5]
Generated Node #0,1: 93:[87, 11, 5] Operation: 45-40=5
Exploring Operation: 45-11=34, Resulting Numbers: [87, 40, 34]
Generated Node #0,2: 93:[87, 40, 34] Operation: 45-11=34
Exploring Operation: 87-45=42, Resulting Numbers: [11, 40, 42]
Generated Node #0,3: 93:[11, 40, 42] Operation: 87-45=42
Exploring Operation: 45+40=85, Resulting Numbers: [87, 11, 85]
Generated Node #0,4: 93:[87, 11, 85] Operation: 45+40=85
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[87, 11, 5], Operations: ['45-40=5']
Exploring Operation: 87-11=76, Resulting Numbers: [5, 76]
Generated Node #0,1,0: 93:[5, 76] Operation: 87-11=76
Exploring Operation: 11-5=6, Resulting Numbers: [87, 6]
Generated Node #0,1,1: 93:[87, 6] Operation: 11-5=6
Exploring Operation: 87+5=92, Resulting Numbers: [11, 92]
Generated Node #0,1,2: 93:[11, 92] Operation: 87+5=92
Exploring Operation: 87+11=98, Resulting Numbers: [5, 98]
Generated Node #0,1,3: 93:[5, 98] Operation: 87+11=98
Exploring Operation: 87-5=82, Resulting Numbers: [11, 82]
Generated Node #0,1,4: 93:[11, 82] Operation: 87-5=82
Moving to Node #0,1,3
Current State: 93:[5, 98], Operations: ['45-40=5', '87+11=98']
Exploring Operation: 5*98=490, Resulting Numbers: [490]
490,93 unequal: No Solution
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[45, 87, 11, 40], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [87, 11, 5]
Generated Node #0,1: 93:[87, 11, 5] Operation: 45-40=5
Moving to Node #0,1
Current State: 93:[87, 11, 5], Operations: ['45-40=5']
Exploring Operation: 87+11=98, Resulting Numbers: [5, 98]
Generated Node #0,1,3: 93:[5, 98] Operation: 87+11=98
Moving to Node #0,1,3
Current State: 93:[5, 98], Operations: ['45-40=5', '87+11=98']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
11,
67,
34,
76
] | 21 | [
"67+76=143",
"143/11=13",
"34-13=21"
] | Current State: 21:[11, 67, 34, 76], Operations: []
Exploring Operation: 67+76=143, Resulting Numbers: [11, 34, 143]
Generated Node #2: [11, 34, 143] from Operation: 67+76=143
Current State: 21:[11, 34, 143], Operations: ['67+76=143']
Exploring Operation: 143/11=13, Resulting Numbers: [34, 13]
Generated Node #3: [34, 13] from Operation: 143/11=13
Current State: 21:[34, 13], Operations: ['67+76=143', '143/11=13']
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[11, 67, 34, 76], Operations: []
Exploring Operation: 76-67=9, Resulting Numbers: [11, 34, 9]
Generated Node #0,0: 21:[11, 34, 9] Operation: 76-67=9
Exploring Operation: 67-34=33, Resulting Numbers: [11, 76, 33]
Generated Node #0,1: 21:[11, 76, 33] Operation: 67-34=33
Moving to Node #0,0
Current State: 21:[11, 34, 9], Operations: ['76-67=9']
Exploring Operation: 34-11=23, Resulting Numbers: [9, 23]
Generated Node #0,0,0: 21:[9, 23] Operation: 34-11=23
Exploring Operation: 34-9=25, Resulting Numbers: [11, 25]
Generated Node #0,0,1: 21:[11, 25] Operation: 34-9=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[9, 23], Operations: ['76-67=9', '34-11=23']
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,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:[11, 25], Operations: ['76-67=9', '34-9=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 21:[11, 76, 33], Operations: ['67-34=33']
Exploring Operation: 76-33=43, Resulting Numbers: [11, 43]
Generated Node #0,1,0: 21:[11, 43] Operation: 76-33=43
Exploring Operation: 33/11=3, Resulting Numbers: [76, 3]
Generated Node #0,1,1: 21:[76, 3] Operation: 33/11=3
Moving to Node #0,1,0
Current State: 21:[11, 43], Operations: ['67-34=33', '76-33=43']
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[76, 3], Operations: ['67-34=33', '33/11=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,21 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,21 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
34,
93,
63,
78
] | 32 | [
"93+63=156",
"156/78=2",
"34-2=32"
] | Current State: 32:[34, 93, 63, 78], Operations: []
Exploring Operation: 93+63=156, Resulting Numbers: [34, 78, 156]
Generated Node #2: [34, 78, 156] from Operation: 93+63=156
Current State: 32:[34, 78, 156], Operations: ['93+63=156']
Exploring Operation: 156/78=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 156/78=2
Current State: 32:[34, 2], Operations: ['93+63=156', '156/78=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[34, 93, 63, 78], Operations: []
Exploring Operation: 93-78=15, Resulting Numbers: [34, 63, 15]
Generated Node #0,0: 32:[34, 63, 15] Operation: 93-78=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[34, 63, 15], Operations: ['93-78=15']
Exploring Operation: 63-34=29, Resulting Numbers: [15, 29]
Generated Node #0,0,0: 32:[15, 29] Operation: 63-34=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[15, 29], Operations: ['93-78=15', '63-34=29']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,32 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 |
[
48,
84,
22,
40
] | 48 | [
"48+22=70",
"84*40=3360",
"3360/70=48"
] | Current State: 48:[48, 84, 22, 40], Operations: []
Exploring Operation: 48+22=70, Resulting Numbers: [84, 40, 70]
Generated Node #2: [84, 40, 70] from Operation: 48+22=70
Current State: 48:[84, 40, 70], Operations: ['48+22=70']
Exploring Operation: 84*40=3360, Resulting Numbers: [70, 3360]
Generated Node #3: [70, 3360] from Operation: 84*40=3360
Current State: 48:[70, 3360], Operations: ['48+22=70', '84*40=3360']
Exploring Operation: 3360/70=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[48, 84, 22, 40], Operations: []
Exploring Operation: 84-48=36, Resulting Numbers: [22, 40, 36]
Generated Node #0,0: 48:[22, 40, 36] Operation: 84-48=36
Exploring Operation: 84-22=62, Resulting Numbers: [48, 40, 62]
Generated Node #0,1: 48:[48, 40, 62] Operation: 84-22=62
Exploring Operation: 84-40=44, Resulting Numbers: [48, 22, 44]
Generated Node #0,2: 48:[48, 22, 44] Operation: 84-40=44
Exploring Operation: 48-40=8, Resulting Numbers: [84, 22, 8]
Generated Node #0,3: 48:[84, 22, 8] Operation: 48-40=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[48, 22, 44], Operations: ['84-40=44']
Exploring Operation: 48-22=26, Resulting Numbers: [44, 26]
Generated Node #0,2,0: 48:[44, 26] Operation: 48-22=26
Exploring Operation: 44/22=2, Resulting Numbers: [48, 2]
Generated Node #0,2,1: 48:[48, 2] Operation: 44/22=2
Exploring Operation: 48-44=4, Resulting Numbers: [22, 4]
Generated Node #0,2,2: 48:[22, 4] Operation: 48-44=4
Exploring Operation: 44-22=22, Resulting Numbers: [48, 22]
Generated Node #0,2,3: 48:[48, 22] Operation: 44-22=22
Moving to Node #0,2,1
Current State: 48:[48, 2], Operations: ['84-40=44', '44/22=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,48 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Moving to Node #0,2,3
Current State: 48:[48, 22], Operations: ['84-40=44', '44-22=22']
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,48 unequal: No Solution
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[22, 4], Operations: ['84-40=44', '48-44=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[44, 26], Operations: ['84-40=44', '48-22=26']
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,48 unequal: No Solution
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[22, 40, 36], Operations: ['84-48=36']
Exploring Operation: 40-36=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 48:[22, 4] Operation: 40-36=4
Exploring Operation: 40-22=18, Resulting Numbers: [36, 18]
Generated Node #0,0,1: 48:[36, 18] Operation: 40-22=18
Exploring Operation: 22+36=58, Resulting Numbers: [40, 58]
Generated Node #0,0,2: 48:[40, 58] Operation: 22+36=58
Exploring Operation: 36-22=14, Resulting Numbers: [40, 14]
Generated Node #0,0,3: 48:[40, 14] Operation: 36-22=14
Moving to Node #0,0,0
Current State: 48:[22, 4], Operations: ['84-48=36', '40-36=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Moving to Node #0,0,3
Current State: 48:[40, 14], Operations: ['84-48=36', '36-22=14']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,48 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[36, 18], Operations: ['84-48=36', '40-22=18']
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,48 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[40, 58], Operations: ['84-48=36', '22+36=58']
Exploring Operation: 40*58=2320, Resulting Numbers: [2320]
2320,48 unequal: No Solution
Exploring Operation: 40+58=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[48, 40, 62], Operations: ['84-22=62']
Exploring Operation: 62-48=14, Resulting Numbers: [40, 14]
Generated Node #0,1,0: 48:[40, 14] Operation: 62-48=14
Exploring Operation: 48+40=88, Resulting Numbers: [62, 88]
Generated Node #0,1,1: 48:[62, 88] Operation: 48+40=88
Exploring Operation: 62-40=22, Resulting Numbers: [48, 22]
Generated Node #0,1,2: 48:[48, 22] Operation: 62-40=22
Exploring Operation: 48-40=8, Resulting Numbers: [62, 8]
Generated Node #0,1,3: 48:[62, 8] Operation: 48-40=8
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 48:[48, 22], Operations: ['84-22=62', '62-40=22']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,48 unequal: No Solution
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[40, 14], Operations: ['84-22=62', '62-48=14']
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,48 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 48:[62, 8], Operations: ['84-22=62', '48-40=8']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 48:[62, 88], Operations: ['84-22=62', '48+40=88']
Exploring Operation: 88-62=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 62*88=5456, Resulting Numbers: [5456]
5456,48 unequal: No Solution
Exploring Operation: 62+88=150, Resulting Numbers: [150]
150,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 48:[84, 22, 8], Operations: ['48-40=8']
Exploring Operation: 22+8=30, Resulting Numbers: [84, 30]
Generated Node #0,3,0: 48:[84, 30] Operation: 22+8=30
Exploring Operation: 22-8=14, Resulting Numbers: [84, 14]
Generated Node #0,3,1: 48:[84, 14] Operation: 22-8=14
Exploring Operation: 84-8=76, Resulting Numbers: [22, 76]
Generated Node #0,3,2: 48:[22, 76] Operation: 84-8=76
Exploring Operation: 84-22=62, Resulting Numbers: [8, 62]
Generated Node #0,3,3: 48:[8, 62] Operation: 84-22=62
Moving to Node #0,3,3
Current State: 48:[8, 62], Operations: ['48-40=8', '84-22=62']
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 8*62=496, Resulting Numbers: [496]
496,48 unequal: No Solution
Moving to Node #0,3,2
Current State: 48:[22, 76], Operations: ['48-40=8', '84-8=76']
Exploring Operation: 22+76=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 22*76=1672, Resulting Numbers: [1672]
1672,48 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Moving to Node #0,3,1
Current State: 48:[84, 14], Operations: ['48-40=8', '22-8=14']
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 84*14=1176, Resulting Numbers: [1176]
1176,48 unequal: No Solution
Moving to Node #0,3,0
Current State: 48:[84, 30], Operations: ['48-40=8', '22+8=30']
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 84*30=2520, Resulting Numbers: [2520]
2520,48 unequal: No Solution
Exploring Operation: 84+30=114, Resulting Numbers: [114]
114,48 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 |
[
81,
17,
16,
51
] | 30 | [
"81-51=30",
"17-16=1",
"30*1=30"
] | Current State: 30:[81, 17, 16, 51], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [17, 16, 30]
Generated Node #2: [17, 16, 30] from Operation: 81-51=30
Current State: 30:[17, 16, 30], Operations: ['81-51=30']
Exploring Operation: 17-16=1, Resulting Numbers: [30, 1]
Generated Node #3: [30, 1] from Operation: 17-16=1
Current State: 30:[30, 1], Operations: ['81-51=30', '17-16=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[81, 17, 16, 51], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [17, 16, 30]
Generated Node #0,0: 30:[17, 16, 30] Operation: 81-51=30
Exploring Operation: 51-17=34, Resulting Numbers: [81, 16, 34]
Generated Node #0,1: 30:[81, 16, 34] Operation: 51-17=34
Exploring Operation: 81-17=64, Resulting Numbers: [16, 51, 64]
Generated Node #0,2: 30:[16, 51, 64] Operation: 81-17=64
Exploring Operation: 51/17=3, Resulting Numbers: [81, 16, 3]
Generated Node #0,3: 30:[81, 16, 3] Operation: 51/17=3
Moving to Node #0,0
Current State: 30:[17, 16, 30], Operations: ['81-51=30']
Exploring Operation: 30-17=13, Resulting Numbers: [16, 13]
Generated Node #0,0,0: 30:[16, 13] Operation: 30-17=13
Exploring Operation: 17-16=1, Resulting Numbers: [30, 1]
Generated Node #0,0,1: 30:[30, 1] Operation: 17-16=1
Exploring Operation: 17+16=33, Resulting Numbers: [30, 33]
Generated Node #0,0,2: 30:[30, 33] Operation: 17+16=33
Exploring Operation: 30-16=14, Resulting Numbers: [17, 14]
Generated Node #0,0,3: 30:[17, 14] Operation: 30-16=14
Moving to Node #0,3
Current State: 30:[81, 16, 3], Operations: ['51/17=3']
Exploring Operation: 81/3=27, Resulting Numbers: [16, 27]
Generated Node #0,3,0: 30:[16, 27] Operation: 81/3=27
Exploring Operation: 16-3=13, Resulting Numbers: [81, 13]
Generated Node #0,3,1: 30:[81, 13] Operation: 16-3=13
Exploring Operation: 81-16=65, Resulting Numbers: [3, 65]
Generated Node #0,3,2: 30:[3, 65] Operation: 81-16=65
Exploring Operation: 81-3=78, Resulting Numbers: [16, 78]
Generated Node #0,3,3: 30:[16, 78] Operation: 81-3=78
Moving to Node #0,2
Current State: 30:[16, 51, 64], Operations: ['81-17=64']
Exploring Operation: 64-16=48, Resulting Numbers: [51, 48]
Generated Node #0,2,0: 30:[51, 48] Operation: 64-16=48
Exploring Operation: 64-51=13, Resulting Numbers: [16, 13]
Generated Node #0,2,1: 30:[16, 13] Operation: 64-51=13
Exploring Operation: 64/16=4, Resulting Numbers: [51, 4]
Generated Node #0,2,2: 30:[51, 4] Operation: 64/16=4
Exploring Operation: 51-16=35, Resulting Numbers: [64, 35]
Generated Node #0,2,3: 30:[64, 35] Operation: 51-16=35
Moving to Node #0,1
Current State: 30:[81, 16, 34], Operations: ['51-17=34']
Exploring Operation: 81-34=47, Resulting Numbers: [16, 47]
Generated Node #0,1,0: 30:[16, 47] Operation: 81-34=47
Exploring Operation: 81+16=97, Resulting Numbers: [34, 97]
Generated Node #0,1,1: 30:[34, 97] Operation: 81+16=97
Exploring Operation: 81-16=65, Resulting Numbers: [34, 65]
Generated Node #0,1,2: 30:[34, 65] Operation: 81-16=65
Exploring Operation: 34-16=18, Resulting Numbers: [81, 18]
Generated Node #0,1,3: 30:[81, 18] Operation: 34-16=18
Moving to Node #0,0,1
Current State: 30:[30, 1], Operations: ['81-51=30', '17-16=1']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[81, 17, 16, 51], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [17, 16, 30]
Generated Node #0,0: 30:[17, 16, 30] Operation: 81-51=30
Moving to Node #0,0
Current State: 30:[17, 16, 30], Operations: ['81-51=30']
Exploring Operation: 17-16=1, Resulting Numbers: [30, 1]
Generated Node #0,0,1: 30:[30, 1] Operation: 17-16=1
Moving to Node #0,0,1
Current State: 30:[30, 1], Operations: ['81-51=30', '17-16=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.976563 | hs_4 | sum_heuristic |
[
53,
32,
17,
51
] | 55 | [
"53-32=21",
"51-17=34",
"21+34=55"
] | Current State: 55:[53, 32, 17, 51], Operations: []
Exploring Operation: 53-32=21, Resulting Numbers: [17, 51, 21]
Generated Node #2: [17, 51, 21] from Operation: 53-32=21
Current State: 55:[17, 51, 21], Operations: ['53-32=21']
Exploring Operation: 51-17=34, Resulting Numbers: [21, 34]
Generated Node #3: [21, 34] from Operation: 51-17=34
Current State: 55:[21, 34], Operations: ['53-32=21', '51-17=34']
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[53, 32, 17, 51], Operations: []
Exploring Operation: 32+17=49, Resulting Numbers: [53, 51, 49]
Generated Node #0,0: 55:[53, 51, 49] Operation: 32+17=49
Exploring Operation: 51-32=19, Resulting Numbers: [53, 17, 19]
Generated Node #0,1: 55:[53, 17, 19] Operation: 51-32=19
Exploring Operation: 32-17=15, Resulting Numbers: [53, 51, 15]
Generated Node #0,2: 55:[53, 51, 15] Operation: 32-17=15
Moving to Node #0,2
Current State: 55:[53, 51, 15], Operations: ['32-17=15']
Exploring Operation: 53+15=68, Resulting Numbers: [51, 68]
Generated Node #0,2,0: 55:[51, 68] Operation: 53+15=68
Exploring Operation: 51+15=66, Resulting Numbers: [53, 66]
Generated Node #0,2,1: 55:[53, 66] Operation: 51+15=66
Exploring Operation: 53-51=2, Resulting Numbers: [15, 2]
Generated Node #0,2,2: 55:[15, 2] Operation: 53-51=2
Moving to Node #0,0
Current State: 55:[53, 51, 49], Operations: ['32+17=49']
Exploring Operation: 53-49=4, Resulting Numbers: [51, 4]
Generated Node #0,0,0: 55:[51, 4] Operation: 53-49=4
Exploring Operation: 51-49=2, Resulting Numbers: [53, 2]
Generated Node #0,0,1: 55:[53, 2] Operation: 51-49=2
Exploring Operation: 53-51=2, Resulting Numbers: [49, 2]
Generated Node #0,0,2: 55:[49, 2] Operation: 53-51=2
Moving to Node #0,1
Current State: 55:[53, 17, 19], Operations: ['51-32=19']
Exploring Operation: 17+19=36, Resulting Numbers: [53, 36]
Generated Node #0,1,0: 55:[53, 36] Operation: 17+19=36
Exploring Operation: 19-17=2, Resulting Numbers: [53, 2]
Generated Node #0,1,1: 55:[53, 2] Operation: 19-17=2
Exploring Operation: 53+17=70, Resulting Numbers: [19, 70]
Generated Node #0,1,2: 55:[19, 70] Operation: 53+17=70
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[53, 2], Operations: ['51-32=19', '19-17=2']
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[53, 32, 17, 51], Operations: []
Exploring Operation: 51-32=19, Resulting Numbers: [53, 17, 19]
Generated Node #0,1: 55:[53, 17, 19] Operation: 51-32=19
Moving to Node #0,1
Current State: 55:[53, 17, 19], Operations: ['51-32=19']
Exploring Operation: 19-17=2, Resulting Numbers: [53, 2]
Generated Node #0,1,1: 55:[53, 2] Operation: 19-17=2
Moving to Node #0,1,1
Current State: 55:[53, 2], Operations: ['51-32=19', '19-17=2']
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
28,
4,
27,
4
] | 76 | [
"28+4=32",
"27*4=108",
"108-32=76"
] | Current State: 76:[28, 4, 27, 4], Operations: []
Exploring Operation: 28+4=32, Resulting Numbers: [27, 32]
Generated Node #2: [27, 32] from Operation: 28+4=32
Current State: 76:[27, 32], Operations: ['28+4=32']
Exploring Operation: 27*4=108, Resulting Numbers: [32, 108]
Generated Node #3: [32, 108] from Operation: 27*4=108
Current State: 76:[32, 108], Operations: ['28+4=32', '27*4=108']
Exploring Operation: 108-32=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[28, 4, 27, 4], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [27, 4, 7]
Generated Node #0,0: 76:[27, 4, 7] Operation: 28/4=7
Exploring Operation: 28-4=24, Resulting Numbers: [27, 4, 24]
Generated Node #0,1: 76:[27, 4, 24] Operation: 28-4=24
Exploring Operation: 28/4=7, Resulting Numbers: [4, 27, 7]
Generated Node #0,2: 76:[4, 27, 7] Operation: 28/4=7
Exploring Operation: 28-27=1, Resulting Numbers: [4, 4, 1]
Generated Node #0,3: 76:[4, 4, 1] Operation: 28-27=1
Exploring Operation: 28-4=24, Resulting Numbers: [4, 27, 24]
Generated Node #0,4: 76:[4, 27, 24] Operation: 28-4=24
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[4, 4, 1], Operations: ['28-27=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4, 4]
Generated Node #0,3,0: 76:[4, 4] Operation: 4/1=4
Exploring Operation: 4*1=4, Resulting Numbers: [4, 4]
Generated Node #0,3,1: 76:[4, 4] Operation: 4*1=4
Exploring Operation: 4+1=5, Resulting Numbers: [4, 5]
Generated Node #0,3,2: 76:[4, 5] Operation: 4+1=5
Exploring Operation: 4*1=4, Resulting Numbers: [4, 4]
Generated Node #0,3,3: 76:[4, 4] Operation: 4*1=4
Exploring Operation: 4/1=4, Resulting Numbers: [4, 4]
Generated Node #0,3,4: 76:[4, 4] Operation: 4/1=4
Moving to Node #0,3,0
Current State: 76:[4, 4], Operations: ['28-27=1', '4/1=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[4, 4], Operations: ['28-27=1', '4*1=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[4, 4], Operations: ['28-27=1', '4*1=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[4, 4], Operations: ['28-27=1', '4/1=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[4, 5], Operations: ['28-27=1', '4+1=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[27, 4, 7], Operations: ['28/4=7']
Exploring Operation: 27-7=20, Resulting Numbers: [4, 20]
Generated Node #0,0,0: 76:[4, 20] Operation: 27-7=20
Exploring Operation: 27-4=23, Resulting Numbers: [7, 23]
Generated Node #0,0,1: 76:[7, 23] Operation: 27-4=23
Exploring Operation: 7-4=3, Resulting Numbers: [27, 3]
Generated Node #0,0,2: 76:[27, 3] Operation: 7-4=3
Exploring Operation: 27+4=31, Resulting Numbers: [7, 31]
Generated Node #0,0,3: 76:[7, 31] Operation: 27+4=31
Exploring Operation: 27+7=34, Resulting Numbers: [4, 34]
Generated Node #0,0,4: 76:[4, 34] Operation: 27+7=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[4, 20], Operations: ['28/4=7', '27-7=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 76:[4, 34], Operations: ['28/4=7', '27+7=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,76 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,76 unequal: No Solution
No 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: 76:[7, 23], Operations: ['28/4=7', '27-4=23']
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,76 unequal: No Solution
No 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: 76:[27, 3], Operations: ['28/4=7', '7-4=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,76 unequal: No Solution
No 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: 76:[7, 31], Operations: ['28/4=7', '27+4=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,76 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,76 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: 76:[4, 27, 7], Operations: ['28/4=7']
Exploring Operation: 27-7=20, Resulting Numbers: [4, 20]
Generated Node #0,2,0: 76:[4, 20] Operation: 27-7=20
Exploring Operation: 27-4=23, Resulting Numbers: [7, 23]
Generated Node #0,2,1: 76:[7, 23] Operation: 27-4=23
Exploring Operation: 4+27=31, Resulting Numbers: [7, 31]
Generated Node #0,2,2: 76:[7, 31] Operation: 4+27=31
Exploring Operation: 27+7=34, Resulting Numbers: [4, 34]
Generated Node #0,2,3: 76:[4, 34] Operation: 27+7=34
Exploring Operation: 7-4=3, Resulting Numbers: [27, 3]
Generated Node #0,2,4: 76:[27, 3] Operation: 7-4=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[4, 20], Operations: ['28/4=7', '27-7=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,76 unequal: No Solution
No 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: 76:[4, 34], Operations: ['28/4=7', '27+7=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,76 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,76 unequal: No Solution
No 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: 76:[7, 23], Operations: ['28/4=7', '27-4=23']
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,76 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 76:[27, 3], Operations: ['28/4=7', '7-4=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,76 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,76 unequal: No Solution
No 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: 76:[7, 31], Operations: ['28/4=7', '4+27=31']
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,76 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,76 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: 76:[27, 4, 24], Operations: ['28-4=24']
Exploring Operation: 27-4=23, Resulting Numbers: [24, 23]
Generated Node #0,1,0: 76:[24, 23] Operation: 27-4=23
Exploring Operation: 27-24=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 76:[4, 3] Operation: 27-24=3
Exploring Operation: 24-4=20, Resulting Numbers: [27, 20]
Generated Node #0,1,2: 76:[27, 20] Operation: 24-4=20
Exploring Operation: 24/4=6, Resulting Numbers: [27, 6]
Generated Node #0,1,3: 76:[27, 6] Operation: 24/4=6
Exploring Operation: 27+4=31, Resulting Numbers: [24, 31]
Generated Node #0,1,4: 76:[24, 31] Operation: 27+4=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[4, 3], Operations: ['28-4=24', '27-24=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,76 unequal: No Solution
No 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: 76:[24, 23], Operations: ['28-4=24', '27-4=23']
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,76 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,76 unequal: No Solution
No 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: 76:[27, 20], Operations: ['28-4=24', '24-4=20']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,76 unequal: No Solution
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,76 unequal: No Solution
No 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: 76:[27, 6], Operations: ['28-4=24', '24/4=6']
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,76 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 76:[24, 31], Operations: ['28-4=24', '27+4=31']
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 24*31=744, Resulting Numbers: [744]
744,76 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 76:[4, 27, 24], Operations: ['28-4=24']
Exploring Operation: 24/4=6, Resulting Numbers: [27, 6]
Generated Node #0,4,0: 76:[27, 6] Operation: 24/4=6
Exploring Operation: 27-24=3, Resulting Numbers: [4, 3]
Generated Node #0,4,1: 76:[4, 3] Operation: 27-24=3
Exploring Operation: 27-4=23, Resulting Numbers: [24, 23]
Generated Node #0,4,2: 76:[24, 23] Operation: 27-4=23
Exploring Operation: 24-4=20, Resulting Numbers: [27, 20]
Generated Node #0,4,3: 76:[27, 20] Operation: 24-4=20
Exploring Operation: 4+27=31, Resulting Numbers: [24, 31]
Generated Node #0,4,4: 76:[24, 31] Operation: 4+27=31
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 76:[4, 3], Operations: ['28-4=24', '27-24=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 76:[24, 23], Operations: ['28-4=24', '27-4=23']
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,76 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 76:[27, 20], Operations: ['28-4=24', '24-4=20']
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,76 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 76:[27, 6], Operations: ['28-4=24', '24/4=6']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 76:[24, 31], Operations: ['28-4=24', '4+27=31']
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 24*31=744, Resulting Numbers: [744]
744,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
17,
10,
49,
93
] | 97 | [
"17*49=833",
"10*93=930",
"930-833=97"
] | Current State: 97:[17, 10, 49, 93], Operations: []
Exploring Operation: 17*49=833, Resulting Numbers: [10, 93, 833]
Generated Node #2: [10, 93, 833] from Operation: 17*49=833
Current State: 97:[10, 93, 833], Operations: ['17*49=833']
Exploring Operation: 10*93=930, Resulting Numbers: [833, 930]
Generated Node #3: [833, 930] from Operation: 10*93=930
Current State: 97:[833, 930], Operations: ['17*49=833', '10*93=930']
Exploring Operation: 930-833=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[17, 10, 49, 93], Operations: []
Exploring Operation: 17+49=66, Resulting Numbers: [10, 93, 66]
Generated Node #0,0: 97:[10, 93, 66] Operation: 17+49=66
Exploring Operation: 10+49=59, Resulting Numbers: [17, 93, 59]
Generated Node #0,1: 97:[17, 93, 59] Operation: 10+49=59
Exploring Operation: 17*10=170, Resulting Numbers: [49, 93, 170]
Generated Node #0,2: 97:[49, 93, 170] Operation: 17*10=170
Exploring Operation: 17+10=27, Resulting Numbers: [49, 93, 27]
Generated Node #0,3: 97:[49, 93, 27] Operation: 17+10=27
Moving to Node #0,0
Current State: 97:[10, 93, 66], Operations: ['17+49=66']
Exploring Operation: 66-10=56, Resulting Numbers: [93, 56]
Generated Node #0,0,0: 97:[93, 56] Operation: 66-10=56
Exploring Operation: 10+66=76, Resulting Numbers: [93, 76]
Generated Node #0,0,1: 97:[93, 76] Operation: 10+66=76
Exploring Operation: 10+93=103, Resulting Numbers: [66, 103]
Generated Node #0,0,2: 97:[66, 103] Operation: 10+93=103
Exploring Operation: 93-10=83, Resulting Numbers: [66, 83]
Generated Node #0,0,3: 97:[66, 83] Operation: 93-10=83
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[93, 76], Operations: ['17+49=66', '10+66=76']
Exploring Operation: 93-76=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 93+76=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Exploring Operation: 93*76=7068, Resulting Numbers: [7068]
7068,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[66, 103], Operations: ['17+49=66', '10+93=103']
Exploring Operation: 66*103=6798, Resulting Numbers: [6798]
6798,97 unequal: No Solution
Exploring Operation: 103-66=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Exploring Operation: 66+103=169, Resulting Numbers: [169]
169,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[93, 56], Operations: ['17+49=66', '66-10=56']
Exploring Operation: 93*56=5208, Resulting Numbers: [5208]
5208,97 unequal: No Solution
Exploring Operation: 93-56=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Exploring Operation: 93+56=149, Resulting Numbers: [149]
149,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[66, 83], Operations: ['17+49=66', '93-10=83']
Exploring Operation: 83-66=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 66*83=5478, Resulting Numbers: [5478]
5478,97 unequal: No Solution
Exploring Operation: 66+83=149, Resulting Numbers: [149]
149,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 97:[49, 93, 27], Operations: ['17+10=27']
Exploring Operation: 49-27=22, Resulting Numbers: [93, 22]
Generated Node #0,3,0: 97:[93, 22] Operation: 49-27=22
Exploring Operation: 49+27=76, Resulting Numbers: [93, 76]
Generated Node #0,3,1: 97:[93, 76] Operation: 49+27=76
Exploring Operation: 93+27=120, Resulting Numbers: [49, 120]
Generated Node #0,3,2: 97:[49, 120] Operation: 93+27=120
Exploring Operation: 93-27=66, Resulting Numbers: [49, 66]
Generated Node #0,3,3: 97:[49, 66] Operation: 93-27=66
Moving to Node #0,1
Current State: 97:[17, 93, 59], Operations: ['10+49=59']
Exploring Operation: 59-17=42, Resulting Numbers: [93, 42]
Generated Node #0,1,0: 97:[93, 42] Operation: 59-17=42
Exploring Operation: 17+59=76, Resulting Numbers: [93, 76]
Generated Node #0,1,1: 97:[93, 76] Operation: 17+59=76
Exploring Operation: 17+93=110, Resulting Numbers: [59, 110]
Generated Node #0,1,2: 97:[59, 110] Operation: 17+93=110
Exploring Operation: 93-17=76, Resulting Numbers: [59, 76]
Generated Node #0,1,3: 97:[59, 76] Operation: 93-17=76
Moving to Node #0,2
Current State: 97:[49, 93, 170], Operations: ['17*10=170']
Exploring Operation: 93-49=44, Resulting Numbers: [170, 44]
Generated Node #0,2,0: 97:[170, 44] Operation: 93-49=44
Exploring Operation: 170-49=121, Resulting Numbers: [93, 121]
Generated Node #0,2,1: 97:[93, 121] Operation: 170-49=121
Exploring Operation: 170-93=77, Resulting Numbers: [49, 77]
Generated Node #0,2,2: 97:[49, 77] Operation: 170-93=77
Exploring Operation: 49+93=142, Resulting Numbers: [170, 142]
Generated Node #0,2,3: 97:[170, 142] Operation: 49+93=142
Moving to Node #0,3,1
Current State: 97:[93, 76], Operations: ['17+10=27', '49+27=76']
Exploring Operation: 93*76=7068, Resulting Numbers: [7068]
7068,97 unequal: No Solution
Exploring Operation: 93-76=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 93+76=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[93, 76], Operations: ['10+49=59', '17+59=76']
Exploring Operation: 93*76=7068, Resulting Numbers: [7068]
7068,97 unequal: No Solution
Exploring Operation: 93-76=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 93+76=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[93, 121], Operations: ['17*10=170', '170-49=121']
Exploring Operation: 93+121=214, Resulting Numbers: [214]
214,97 unequal: No Solution
Exploring Operation: 121-93=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 93*121=11253, Resulting Numbers: [11253]
11253,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[59, 110], Operations: ['10+49=59', '17+93=110']
Exploring Operation: 59+110=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Exploring Operation: 59*110=6490, Resulting Numbers: [6490]
6490,97 unequal: No Solution
Exploring Operation: 110-59=51, Resulting Numbers: [51]
51,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[93, 42], Operations: ['10+49=59', '59-17=42']
Exploring Operation: 93*42=3906, Resulting Numbers: [3906]
3906,97 unequal: No Solution
Exploring Operation: 93+42=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[59, 76], Operations: ['10+49=59', '93-17=76']
Exploring Operation: 59+76=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 76-59=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 59*76=4484, Resulting Numbers: [4484]
4484,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[49, 77], Operations: ['17*10=170', '170-93=77']
Exploring Operation: 49*77=3773, Resulting Numbers: [3773]
3773,97 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[49, 120], Operations: ['17+10=27', '93+27=120']
Exploring Operation: 49+120=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Exploring Operation: 120-49=71, Resulting Numbers: [71]
71,97 unequal: No Solution
Exploring Operation: 49*120=5880, Resulting Numbers: [5880]
5880,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[93, 22], Operations: ['17+10=27', '49-27=22']
Exploring Operation: 93+22=115, Resulting Numbers: [115]
115,97 unequal: No Solution
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,97 unequal: No Solution
Exploring Operation: 93*22=2046, Resulting Numbers: [2046]
2046,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[49, 66], Operations: ['17+10=27', '93-27=66']
Exploring Operation: 49+66=115, Resulting Numbers: [115]
115,97 unequal: No Solution
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 49*66=3234, Resulting Numbers: [3234]
3234,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[170, 142], Operations: ['17*10=170', '49+93=142']
Exploring Operation: 170-142=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 170+142=312, Resulting Numbers: [312]
312,97 unequal: No Solution
Exploring Operation: 170*142=24140, Resulting Numbers: [24140]
24140,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[170, 44], Operations: ['17*10=170', '93-49=44']
Exploring Operation: 170+44=214, Resulting Numbers: [214]
214,97 unequal: No Solution
Exploring Operation: 170-44=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Exploring Operation: 170*44=7480, Resulting Numbers: [7480]
7480,97 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
18,
33,
20,
19
] | 90 | [
"18+33=51",
"20+19=39",
"51+39=90"
] | Current State: 90:[18, 33, 20, 19], Operations: []
Exploring Operation: 18+33=51, Resulting Numbers: [20, 19, 51]
Generated Node #2: [20, 19, 51] from Operation: 18+33=51
Current State: 90:[20, 19, 51], Operations: ['18+33=51']
Exploring Operation: 20+19=39, Resulting Numbers: [51, 39]
Generated Node #3: [51, 39] from Operation: 20+19=39
Current State: 90:[51, 39], Operations: ['18+33=51', '20+19=39']
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[18, 33, 20, 19], Operations: []
Exploring Operation: 33-18=15, Resulting Numbers: [20, 19, 15]
Generated Node #0,0: 90:[20, 19, 15] Operation: 33-18=15
Moving to Node #0,0
Current State: 90:[20, 19, 15], Operations: ['33-18=15']
Exploring Operation: 20-19=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 90:[15, 1] Operation: 20-19=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[15, 1], Operations: ['33-18=15', '20-19=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,90 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 |
[
29,
6,
26,
20
] | 30 | [
"26-6=20",
"20/20=1",
"29+1=30"
] | Current State: 30:[29, 6, 26, 20], Operations: []
Exploring Operation: 26-6=20, Resulting Numbers: [29, 20, 20]
Generated Node #2: [29, 20, 20] from Operation: 26-6=20
Current State: 30:[29, 20, 20], Operations: ['26-6=20']
Exploring Operation: 20/20=1, Resulting Numbers: [29, 1]
Generated Node #3: [29, 1] from Operation: 20/20=1
Current State: 30:[29, 1], Operations: ['26-6=20', '20/20=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[29, 6, 26, 20], Operations: []
Exploring Operation: 20-6=14, Resulting Numbers: [29, 26, 14]
Generated Node #0,0: 30:[29, 26, 14] Operation: 20-6=14
Exploring Operation: 6+26=32, Resulting Numbers: [29, 20, 32]
Generated Node #0,1: 30:[29, 20, 32] Operation: 6+26=32
Exploring Operation: 26-20=6, Resulting Numbers: [29, 6, 6]
Generated Node #0,2: 30:[29, 6, 6] Operation: 26-20=6
Exploring Operation: 29-26=3, Resulting Numbers: [6, 20, 3]
Generated Node #0,3: 30:[6, 20, 3] Operation: 29-26=3
Exploring Operation: 29-20=9, Resulting Numbers: [6, 26, 9]
Generated Node #0,4: 30:[6, 26, 9] Operation: 29-20=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[29, 6, 6], Operations: ['26-20=6']
Exploring Operation: 6-6=0, Resulting Numbers: [29, 0]
Generated Node #0,2,0: 30:[29, 0] Operation: 6-6=0
Exploring Operation: 29+6=35, Resulting Numbers: [6, 35]
Generated Node #0,2,1: 30:[6, 35] Operation: 29+6=35
Exploring Operation: 6+6=12, Resulting Numbers: [29, 12]
Generated Node #0,2,2: 30:[29, 12] Operation: 6+6=12
Exploring Operation: 6/6=1, Resulting Numbers: [29, 1]
Generated Node #0,2,3: 30:[29, 1] Operation: 6/6=1
Exploring Operation: 29+6=35, Resulting Numbers: [6, 35]
Generated Node #0,2,4: 30:[6, 35] Operation: 29+6=35
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 30:[29, 1], Operations: ['26-20=6', '6/6=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[29, 6, 26, 20], Operations: []
Exploring Operation: 26-20=6, Resulting Numbers: [29, 6, 6]
Generated Node #0,2: 30:[29, 6, 6] Operation: 26-20=6
Moving to Node #0,2
Current State: 30:[29, 6, 6], Operations: ['26-20=6']
Exploring Operation: 6/6=1, Resulting Numbers: [29, 1]
Generated Node #0,2,3: 30:[29, 1] Operation: 6/6=1
Moving to Node #0,2,3
Current State: 30:[29, 1], Operations: ['26-20=6', '6/6=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
46,
25,
38,
47
] | 12 | [
"46-25=21",
"47-38=9",
"21-9=12"
] | Current State: 12:[46, 25, 38, 47], Operations: []
Exploring Operation: 46-25=21, Resulting Numbers: [38, 47, 21]
Generated Node #2: [38, 47, 21] from Operation: 46-25=21
Current State: 12:[38, 47, 21], Operations: ['46-25=21']
Exploring Operation: 47-38=9, Resulting Numbers: [21, 9]
Generated Node #3: [21, 9] from Operation: 47-38=9
Current State: 12:[21, 9], Operations: ['46-25=21', '47-38=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[46, 25, 38, 47], Operations: []
Exploring Operation: 38-25=13, Resulting Numbers: [46, 47, 13]
Generated Node #0,0: 12:[46, 47, 13] Operation: 38-25=13
Exploring Operation: 46-38=8, Resulting Numbers: [25, 47, 8]
Generated Node #0,1: 12:[25, 47, 8] Operation: 46-38=8
Exploring Operation: 46-25=21, Resulting Numbers: [38, 47, 21]
Generated Node #0,2: 12:[38, 47, 21] Operation: 46-25=21
Exploring Operation: 47-46=1, Resulting Numbers: [25, 38, 1]
Generated Node #0,3: 12:[25, 38, 1] Operation: 47-46=1
Exploring Operation: 47-38=9, Resulting Numbers: [46, 25, 9]
Generated Node #0,4: 12:[46, 25, 9] Operation: 47-38=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[25, 38, 1], Operations: ['47-46=1']
Exploring Operation: 38-1=37, Resulting Numbers: [25, 37]
Generated Node #0,3,0: 12:[25, 37] Operation: 38-1=37
Exploring Operation: 25*1=25, Resulting Numbers: [38, 25]
Generated Node #0,3,1: 12:[38, 25] Operation: 25*1=25
Exploring Operation: 25-1=24, Resulting Numbers: [38, 24]
Generated Node #0,3,2: 12:[38, 24] Operation: 25-1=24
Exploring Operation: 25/1=25, Resulting Numbers: [38, 25]
Generated Node #0,3,3: 12:[38, 25] Operation: 25/1=25
Exploring Operation: 38-25=13, Resulting Numbers: [1, 13]
Generated Node #0,3,4: 12:[1, 13] Operation: 38-25=13
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 12:[1, 13], Operations: ['47-46=1', '38-25=13']
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[46, 25, 38, 47], Operations: []
Exploring Operation: 47-46=1, Resulting Numbers: [25, 38, 1]
Generated Node #0,3: 12:[25, 38, 1] Operation: 47-46=1
Moving to Node #0,3
Current State: 12:[25, 38, 1], Operations: ['47-46=1']
Exploring Operation: 38-25=13, Resulting Numbers: [1, 13]
Generated Node #0,3,4: 12:[1, 13] Operation: 38-25=13
Moving to Node #0,3,4
Current State: 12:[1, 13], Operations: ['47-46=1', '38-25=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
41,
8,
80,
98
] | 82 | [
"41+8=49",
"98/49=2",
"80+2=82"
] | Current State: 82:[41, 8, 80, 98], Operations: []
Exploring Operation: 41+8=49, Resulting Numbers: [80, 98, 49]
Generated Node #2: [80, 98, 49] from Operation: 41+8=49
Current State: 82:[80, 98, 49], Operations: ['41+8=49']
Exploring Operation: 98/49=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 98/49=2
Current State: 82:[80, 2], Operations: ['41+8=49', '98/49=2']
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[41, 8, 80, 98], Operations: []
Exploring Operation: 98-8=90, Resulting Numbers: [41, 80, 90]
Generated Node #0,0: 82:[41, 80, 90] Operation: 98-8=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[41, 80, 90], Operations: ['98-8=90']
Exploring Operation: 90-80=10, Resulting Numbers: [41, 10]
Generated Node #0,0,0: 82:[41, 10] Operation: 90-80=10
Moving to Node #0,0,0
Current State: 82:[41, 10], Operations: ['98-8=90', '90-80=10']
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
72,
70,
97,
83
] | 16 | [
"72-70=2",
"97-83=14",
"2+14=16"
] | Current State: 16:[72, 70, 97, 83], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [97, 83, 2]
Generated Node #2: [97, 83, 2] from Operation: 72-70=2
Current State: 16:[97, 83, 2], Operations: ['72-70=2']
Exploring Operation: 97-83=14, Resulting Numbers: [2, 14]
Generated Node #3: [2, 14] from Operation: 97-83=14
Current State: 16:[2, 14], Operations: ['72-70=2', '97-83=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[72, 70, 97, 83], Operations: []
Exploring Operation: 83-72=11, Resulting Numbers: [70, 97, 11]
Generated Node #0,0: 16:[70, 97, 11] Operation: 83-72=11
Exploring Operation: 83-70=13, Resulting Numbers: [72, 97, 13]
Generated Node #0,1: 16:[72, 97, 13] Operation: 83-70=13
Exploring Operation: 97-72=25, Resulting Numbers: [70, 83, 25]
Generated Node #0,2: 16:[70, 83, 25] Operation: 97-72=25
Exploring Operation: 97-70=27, Resulting Numbers: [72, 83, 27]
Generated Node #0,3: 16:[72, 83, 27] Operation: 97-70=27
Exploring Operation: 97-83=14, Resulting Numbers: [72, 70, 14]
Generated Node #0,4: 16:[72, 70, 14] Operation: 97-83=14
Moving to Node #0,4
Current State: 16:[72, 70, 14], Operations: ['97-83=14']
Exploring Operation: 70-14=56, Resulting Numbers: [72, 56]
Generated Node #0,4,0: 16:[72, 56] Operation: 70-14=56
Exploring Operation: 70/14=5, Resulting Numbers: [72, 5]
Generated Node #0,4,1: 16:[72, 5] Operation: 70/14=5
Exploring Operation: 72-14=58, Resulting Numbers: [70, 58]
Generated Node #0,4,2: 16:[70, 58] Operation: 72-14=58
Exploring Operation: 72-70=2, Resulting Numbers: [14, 2]
Generated Node #0,4,3: 16:[14, 2] Operation: 72-70=2
Exploring Operation: 72+14=86, Resulting Numbers: [70, 86]
Generated Node #0,4,4: 16:[70, 86] Operation: 72+14=86
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 16:[14, 2], Operations: ['97-83=14', '72-70=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,16 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[72, 70, 97, 83], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [72, 70, 14]
Generated Node #0,4: 16:[72, 70, 14] Operation: 97-83=14
Moving to Node #0,4
Current State: 16:[72, 70, 14], Operations: ['97-83=14']
Exploring Operation: 72-70=2, Resulting Numbers: [14, 2]
Generated Node #0,4,3: 16:[14, 2] Operation: 72-70=2
Moving to Node #0,4,3
Current State: 16:[14, 2], Operations: ['97-83=14', '72-70=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
8,
11,
19,
5
] | 21 | [
"11-8=3",
"19+5=24",
"24-3=21"
] | Current State: 21:[8, 11, 19, 5], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [19, 5, 3]
Generated Node #2: [19, 5, 3] from Operation: 11-8=3
Current State: 21:[19, 5, 3], Operations: ['11-8=3']
Exploring Operation: 19+5=24, Resulting Numbers: [3, 24]
Generated Node #3: [3, 24] from Operation: 19+5=24
Current State: 21:[3, 24], Operations: ['11-8=3', '19+5=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[8, 11, 19, 5], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [19, 5, 3]
Generated Node #0,0: 21:[19, 5, 3] Operation: 11-8=3
Exploring Operation: 19-11=8, Resulting Numbers: [8, 5, 8]
Generated Node #0,1: 21:[8, 5, 8] Operation: 19-11=8
Exploring Operation: 8-5=3, Resulting Numbers: [11, 19, 3]
Generated Node #0,2: 21:[11, 19, 3] Operation: 8-5=3
Exploring Operation: 8+11=19, Resulting Numbers: [19, 5, 19]
Generated Node #0,3: 21:[19, 5, 19] Operation: 8+11=19
Exploring Operation: 11-5=6, Resulting Numbers: [8, 19, 6]
Generated Node #0,4: 21:[8, 19, 6] Operation: 11-5=6
Moving to Node #0,0
Current State: 21:[19, 5, 3], Operations: ['11-8=3']
Exploring Operation: 19+5=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 21:[3, 24] Operation: 19+5=24
Exploring Operation: 5+3=8, Resulting Numbers: [19, 8]
Generated Node #0,0,1: 21:[19, 8] Operation: 5+3=8
Exploring Operation: 19-5=14, Resulting Numbers: [3, 14]
Generated Node #0,0,2: 21:[3, 14] Operation: 19-5=14
Exploring Operation: 5-3=2, Resulting Numbers: [19, 2]
Generated Node #0,0,3: 21:[19, 2] Operation: 5-3=2
Exploring Operation: 19+3=22, Resulting Numbers: [5, 22]
Generated Node #0,0,4: 21:[5, 22] Operation: 19+3=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[3, 24], Operations: ['11-8=3', '19+5=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[8, 11, 19, 5], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [19, 5, 3]
Generated Node #0,0: 21:[19, 5, 3] Operation: 11-8=3
Moving to Node #0,0
Current State: 21:[19, 5, 3], Operations: ['11-8=3']
Exploring Operation: 19+5=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 21:[3, 24] Operation: 19+5=24
Moving to Node #0,0,0
Current State: 21:[3, 24], Operations: ['11-8=3', '19+5=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
43,
32,
96,
94
] | 48 | [
"94-43=51",
"96/32=3",
"51-3=48"
] | Current State: 48:[43, 32, 96, 94], Operations: []
Exploring Operation: 94-43=51, Resulting Numbers: [32, 96, 51]
Generated Node #2: [32, 96, 51] from Operation: 94-43=51
Current State: 48:[32, 96, 51], Operations: ['94-43=51']
Exploring Operation: 96/32=3, Resulting Numbers: [51, 3]
Generated Node #3: [51, 3] from Operation: 96/32=3
Current State: 48:[51, 3], Operations: ['94-43=51', '96/32=3']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[43, 32, 96, 94], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [43, 94, 3]
Generated Node #0,0: 48:[43, 94, 3] Operation: 96/32=3
Exploring Operation: 96-94=2, Resulting Numbers: [43, 32, 2]
Generated Node #0,1: 48:[43, 32, 2] Operation: 96-94=2
Exploring Operation: 96-43=53, Resulting Numbers: [32, 94, 53]
Generated Node #0,2: 48:[32, 94, 53] Operation: 96-43=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[43, 32, 2], Operations: ['96-94=2']
Exploring Operation: 43+2=45, Resulting Numbers: [32, 45]
Generated Node #0,1,0: 48:[32, 45] Operation: 43+2=45
Exploring Operation: 43-32=11, Resulting Numbers: [2, 11]
Generated Node #0,1,1: 48:[2, 11] Operation: 43-32=11
Exploring Operation: 32/2=16, Resulting Numbers: [43, 16]
Generated Node #0,1,2: 48:[43, 16] Operation: 32/2=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 48:[2, 11], Operations: ['96-94=2', '43-32=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 48:[43, 16], Operations: ['96-94=2', '32/2=16']
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,48 unequal: No Solution
Exploring Operation: 43*16=688, Resulting Numbers: [688]
688,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[32, 45], Operations: ['96-94=2', '43+2=45']
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 32*45=1440, Resulting Numbers: [1440]
1440,48 unequal: No Solution
Exploring Operation: 32+45=77, Resulting Numbers: [77]
77,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[43, 94, 3], Operations: ['96/32=3']
Exploring Operation: 94-43=51, Resulting Numbers: [3, 51]
Generated Node #0,0,0: 48:[3, 51] Operation: 94-43=51
Exploring Operation: 43+3=46, Resulting Numbers: [94, 46]
Generated Node #0,0,1: 48:[94, 46] Operation: 43+3=46
Exploring Operation: 94-3=91, Resulting Numbers: [43, 91]
Generated Node #0,0,2: 48:[43, 91] Operation: 94-3=91
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[3, 51], Operations: ['96/32=3', '94-43=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[43, 32, 96, 94], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [43, 94, 3]
Generated Node #0,0: 48:[43, 94, 3] Operation: 96/32=3
Moving to Node #0,0
Current State: 48:[43, 94, 3], Operations: ['96/32=3']
Exploring Operation: 94-43=51, Resulting Numbers: [3, 51]
Generated Node #0,0,0: 48:[3, 51] Operation: 94-43=51
Moving to Node #0,0,0
Current State: 48:[3, 51], Operations: ['96/32=3', '94-43=51']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
28,
94,
15,
95
] | 44 | [
"94-28=66",
"15+95=110",
"110-66=44"
] | Current State: 44:[28, 94, 15, 95], Operations: []
Exploring Operation: 94-28=66, Resulting Numbers: [15, 95, 66]
Generated Node #2: [15, 95, 66] from Operation: 94-28=66
Current State: 44:[15, 95, 66], Operations: ['94-28=66']
Exploring Operation: 15+95=110, Resulting Numbers: [66, 110]
Generated Node #3: [66, 110] from Operation: 15+95=110
Current State: 44:[66, 110], Operations: ['94-28=66', '15+95=110']
Exploring Operation: 110-66=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[28, 94, 15, 95], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [28, 15, 1]
Generated Node #0,0: 44:[28, 15, 1] Operation: 95-94=1
Moving to Node #0,0
Current State: 44:[28, 15, 1], Operations: ['95-94=1']
Exploring Operation: 28+15=43, Resulting Numbers: [1, 43]
Generated Node #0,0,0: 44:[1, 43] Operation: 28+15=43
Moving to Node #0,0,0
Current State: 44:[1, 43], Operations: ['95-94=1', '28+15=43']
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[28, 94, 15, 95], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [28, 15, 1]
Generated Node #0,0: 44:[28, 15, 1] Operation: 95-94=1
Moving to Node #0,0
Current State: 44:[28, 15, 1], Operations: ['95-94=1']
Exploring Operation: 28+15=43, Resulting Numbers: [1, 43]
Generated Node #0,0,0: 44:[1, 43] Operation: 28+15=43
Moving to Node #0,0,0
Current State: 44:[1, 43], Operations: ['95-94=1', '28+15=43']
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
2,
50,
30,
14
] | 18 | [
"30-14=16",
"2*16=32",
"50-32=18"
] | Current State: 18:[2, 50, 30, 14], Operations: []
Exploring Operation: 30-14=16, Resulting Numbers: [2, 50, 16]
Generated Node #2: [2, 50, 16] from Operation: 30-14=16
Current State: 18:[2, 50, 16], Operations: ['30-14=16']
Exploring Operation: 2*16=32, Resulting Numbers: [50, 32]
Generated Node #3: [50, 32] from Operation: 2*16=32
Current State: 18:[50, 32], Operations: ['30-14=16', '2*16=32']
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[2, 50, 30, 14], Operations: []
Exploring Operation: 50-30=20, Resulting Numbers: [2, 14, 20]
Generated Node #0,0: 18:[2, 14, 20] Operation: 50-30=20
Exploring Operation: 50-14=36, Resulting Numbers: [2, 30, 36]
Generated Node #0,1: 18:[2, 30, 36] Operation: 50-14=36
Exploring Operation: 50/2=25, Resulting Numbers: [30, 14, 25]
Generated Node #0,2: 18:[30, 14, 25] Operation: 50/2=25
Exploring Operation: 30-14=16, Resulting Numbers: [2, 50, 16]
Generated Node #0,3: 18:[2, 50, 16] Operation: 30-14=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[2, 14, 20], Operations: ['50-30=20']
Exploring Operation: 2+14=16, Resulting Numbers: [20, 16]
Generated Node #0,0,0: 18:[20, 16] Operation: 2+14=16
Exploring Operation: 14/2=7, Resulting Numbers: [20, 7]
Generated Node #0,0,1: 18:[20, 7] Operation: 14/2=7
Exploring Operation: 20-14=6, Resulting Numbers: [2, 6]
Generated Node #0,0,2: 18:[2, 6] Operation: 20-14=6
Exploring Operation: 20-2=18, Resulting Numbers: [14, 18]
Generated Node #0,0,3: 18:[14, 18] Operation: 20-2=18
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 18:[2, 6], Operations: ['50-30=20', '20-14=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 18:[20, 7], Operations: ['50-30=20', '14/2=7']
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,18 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[20, 16], Operations: ['50-30=20', '2+14=16']
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,18 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 18:[14, 18], Operations: ['50-30=20', '20-2=18']
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,18 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[30, 14, 25], Operations: ['50/2=25']
Exploring Operation: 25-14=11, Resulting Numbers: [30, 11]
Generated Node #0,2,0: 18:[30, 11] Operation: 25-14=11
Exploring Operation: 30-25=5, Resulting Numbers: [14, 5]
Generated Node #0,2,1: 18:[14, 5] Operation: 30-25=5
Exploring Operation: 30+14=44, Resulting Numbers: [25, 44]
Generated Node #0,2,2: 18:[25, 44] Operation: 30+14=44
Exploring Operation: 30-14=16, Resulting Numbers: [25, 16]
Generated Node #0,2,3: 18:[25, 16] Operation: 30-14=16
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 18:[14, 5], Operations: ['50/2=25', '30-25=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,18 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 18:[25, 16], Operations: ['50/2=25', '30-14=16']
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,18 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,18 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 18:[30, 11], Operations: ['50/2=25', '25-14=11']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,18 unequal: No Solution
Exploring Operation: 30*11=330, Resulting Numbers: [330]
330,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 18:[25, 44], Operations: ['50/2=25', '30+14=44']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 25+44=69, Resulting Numbers: [69]
69,18 unequal: No Solution
Exploring Operation: 25*44=1100, Resulting Numbers: [1100]
1100,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[2, 30, 36], Operations: ['50-14=36']
Exploring Operation: 36-30=6, Resulting Numbers: [2, 6]
Generated Node #0,1,0: 18:[2, 6] Operation: 36-30=6
Exploring Operation: 30-2=28, Resulting Numbers: [36, 28]
Generated Node #0,1,1: 18:[36, 28] Operation: 30-2=28
Exploring Operation: 36/2=18, Resulting Numbers: [30, 18]
Generated Node #0,1,2: 18:[30, 18] Operation: 36/2=18
Exploring Operation: 30/2=15, Resulting Numbers: [36, 15]
Generated Node #0,1,3: 18:[36, 15] Operation: 30/2=15
Moving to Node #0,1,0
Current State: 18:[2, 6], Operations: ['50-14=36', '36-30=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[30, 18], Operations: ['50-14=36', '36/2=18']
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,18 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[36, 15], Operations: ['50-14=36', '30/2=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,18 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[36, 28], Operations: ['50-14=36', '30-2=28']
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,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,3
Current State: 18:[2, 50, 16], Operations: ['30-14=16']
Exploring Operation: 50-2=48, Resulting Numbers: [16, 48]
Generated Node #0,3,0: 18:[16, 48] Operation: 50-2=48
Exploring Operation: 50/2=25, Resulting Numbers: [16, 25]
Generated Node #0,3,1: 18:[16, 25] Operation: 50/2=25
Exploring Operation: 2+16=18, Resulting Numbers: [50, 18]
Generated Node #0,3,2: 18:[50, 18] Operation: 2+16=18
Exploring Operation: 50-16=34, Resulting Numbers: [2, 34]
Generated Node #0,3,3: 18:[2, 34] Operation: 50-16=34
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 18:[16, 25], Operations: ['30-14=16', '50/2=25']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,18 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 18:[2, 34], Operations: ['30-14=16', '50-16=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 18:[16, 48], Operations: ['30-14=16', '50-2=48']
Exploring Operation: 16*48=768, Resulting Numbers: [768]
768,18 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 18:[50, 18], Operations: ['30-14=16', '2+16=18']
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,18 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,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_4 | mult_heuristic |
[
1,
95,
28,
7
] | 91 | [
"1*95=95",
"28/7=4",
"95-4=91"
] | Current State: 91:[1, 95, 28, 7], Operations: []
Exploring Operation: 1*95=95, Resulting Numbers: [28, 7, 95]
Generated Node #2: [28, 7, 95] from Operation: 1*95=95
Current State: 91:[28, 7, 95], Operations: ['1*95=95']
Exploring Operation: 28/7=4, Resulting Numbers: [95, 4]
Generated Node #3: [95, 4] from Operation: 28/7=4
Current State: 91:[95, 4], Operations: ['1*95=95', '28/7=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[1, 95, 28, 7], Operations: []
Exploring Operation: 28-7=21, Resulting Numbers: [1, 95, 21]
Generated Node #0,0: 91:[1, 95, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [1, 95, 4]
Generated Node #0,1: 91:[1, 95, 4] Operation: 28/7=4
Exploring Operation: 28-1=27, Resulting Numbers: [95, 7, 27]
Generated Node #0,2: 91:[95, 7, 27] Operation: 28-1=27
Exploring Operation: 95-1=94, Resulting Numbers: [28, 7, 94]
Generated Node #0,3: 91:[28, 7, 94] Operation: 95-1=94
Moving to Node #0,1
Current State: 91:[1, 95, 4], Operations: ['28/7=4']
Exploring Operation: 95-1=94, Resulting Numbers: [4, 94]
Generated Node #0,1,0: 91:[4, 94] Operation: 95-1=94
Exploring Operation: 1*95=95, Resulting Numbers: [4, 95]
Generated Node #0,1,1: 91:[4, 95] Operation: 1*95=95
Exploring Operation: 95-4=91, Resulting Numbers: [1, 91]
Generated Node #0,1,2: 91:[1, 91] Operation: 95-4=91
Exploring Operation: 1+4=5, Resulting Numbers: [95, 5]
Generated Node #0,1,3: 91:[95, 5] Operation: 1+4=5
Moving to Node #0,2
Current State: 91:[95, 7, 27], Operations: ['28-1=27']
Exploring Operation: 95+7=102, Resulting Numbers: [27, 102]
Generated Node #0,2,0: 91:[27, 102] Operation: 95+7=102
Exploring Operation: 27-7=20, Resulting Numbers: [95, 20]
Generated Node #0,2,1: 91:[95, 20] Operation: 27-7=20
Exploring Operation: 95-27=68, Resulting Numbers: [7, 68]
Generated Node #0,2,2: 91:[7, 68] Operation: 95-27=68
Exploring Operation: 95-7=88, Resulting Numbers: [27, 88]
Generated Node #0,2,3: 91:[27, 88] Operation: 95-7=88
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[95, 20], Operations: ['28-1=27', '27-7=20']
Exploring Operation: 95*20=1900, Resulting Numbers: [1900]
1900,91 unequal: No Solution
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,91 unequal: No Solution
Exploring Operation: 95+20=115, Resulting Numbers: [115]
115,91 unequal: No Solution
No 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: 91:[27, 88], Operations: ['28-1=27', '95-7=88']
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,91 unequal: No Solution
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,91 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,91 unequal: No Solution
No 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: 91:[7, 68], Operations: ['28-1=27', '95-27=68']
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,91 unequal: No Solution
Exploring Operation: 7*68=476, Resulting Numbers: [476]
476,91 unequal: No Solution
Exploring Operation: 7+68=75, Resulting Numbers: [75]
75,91 unequal: No Solution
No 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: 91:[27, 102], Operations: ['28-1=27', '95+7=102']
Exploring Operation: 27+102=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Exploring Operation: 27*102=2754, Resulting Numbers: [2754]
2754,91 unequal: No Solution
Exploring Operation: 102-27=75, Resulting Numbers: [75]
75,91 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: 91:[1, 95, 21], Operations: ['28-7=21']
Exploring Operation: 95-1=94, Resulting Numbers: [21, 94]
Generated Node #0,0,0: 91:[21, 94] Operation: 95-1=94
Exploring Operation: 1*95=95, Resulting Numbers: [21, 95]
Generated Node #0,0,1: 91:[21, 95] Operation: 1*95=95
Exploring Operation: 95/1=95, Resulting Numbers: [21, 95]
Generated Node #0,0,2: 91:[21, 95] Operation: 95/1=95
Exploring Operation: 21-1=20, Resulting Numbers: [95, 20]
Generated Node #0,0,3: 91:[95, 20] Operation: 21-1=20
Moving to Node #0,3
Current State: 91:[28, 7, 94], Operations: ['95-1=94']
Exploring Operation: 28/7=4, Resulting Numbers: [94, 4]
Generated Node #0,3,0: 91:[94, 4] Operation: 28/7=4
Exploring Operation: 28+7=35, Resulting Numbers: [94, 35]
Generated Node #0,3,1: 91:[94, 35] Operation: 28+7=35
Exploring Operation: 94-7=87, Resulting Numbers: [28, 87]
Generated Node #0,3,2: 91:[28, 87] Operation: 94-7=87
Exploring Operation: 28-7=21, Resulting Numbers: [94, 21]
Generated Node #0,3,3: 91:[94, 21] Operation: 28-7=21
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[94, 4], Operations: ['95-1=94', '28/7=4']
Exploring Operation: 94*4=376, Resulting Numbers: [376]
376,91 unequal: No Solution
Exploring Operation: 94+4=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,91 unequal: No Solution
No 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: 91:[94, 21], Operations: ['95-1=94', '28-7=21']
Exploring Operation: 94+21=115, Resulting Numbers: [115]
115,91 unequal: No Solution
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 94*21=1974, Resulting Numbers: [1974]
1974,91 unequal: No Solution
No 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: 91:[28, 87], Operations: ['95-1=94', '94-7=87']
Exploring Operation: 28+87=115, Resulting Numbers: [115]
115,91 unequal: No Solution
Exploring Operation: 28*87=2436, Resulting Numbers: [2436]
2436,91 unequal: No Solution
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,91 unequal: No Solution
No 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: 91:[94, 35], Operations: ['95-1=94', '28+7=35']
Exploring Operation: 94+35=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Exploring Operation: 94*35=3290, Resulting Numbers: [3290]
3290,91 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,91 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: 91:[4, 94], Operations: ['28/7=4', '95-1=94']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 4*94=376, Resulting Numbers: [376]
376,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[95, 5], Operations: ['28/7=4', '1+4=5']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[1, 91], Operations: ['28/7=4', '95-4=91']
Exploring Operation: 1+91=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[1, 95, 28, 7], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [1, 95, 4]
Generated Node #0,1: 91:[1, 95, 4] Operation: 28/7=4
Moving to Node #0,1
Current State: 91:[1, 95, 4], Operations: ['28/7=4']
Exploring Operation: 95-4=91, Resulting Numbers: [1, 91]
Generated Node #0,1,2: 91:[1, 91] Operation: 95-4=91
Moving to Node #0,1,2
Current State: 91:[1, 91], Operations: ['28/7=4', '95-4=91']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.949653 | hs_4 | mult_heuristic |
[
13,
83,
38,
2
] | 51 | [
"83-13=70",
"38/2=19",
"70-19=51"
] | Current State: 51:[13, 83, 38, 2], Operations: []
Exploring Operation: 83-13=70, Resulting Numbers: [38, 2, 70]
Generated Node #2: [38, 2, 70] from Operation: 83-13=70
Current State: 51:[38, 2, 70], Operations: ['83-13=70']
Exploring Operation: 38/2=19, Resulting Numbers: [70, 19]
Generated Node #3: [70, 19] from Operation: 38/2=19
Current State: 51:[70, 19], Operations: ['83-13=70', '38/2=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[13, 83, 38, 2], Operations: []
Exploring Operation: 83-38=45, Resulting Numbers: [13, 2, 45]
Generated Node #0,0: 51:[13, 2, 45] Operation: 83-38=45
Exploring Operation: 83-13=70, Resulting Numbers: [38, 2, 70]
Generated Node #0,1: 51:[38, 2, 70] Operation: 83-13=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[13, 2, 45], Operations: ['83-38=45']
Exploring Operation: 13+45=58, Resulting Numbers: [2, 58]
Generated Node #0,0,0: 51:[2, 58] Operation: 13+45=58
Exploring Operation: 13+2=15, Resulting Numbers: [45, 15]
Generated Node #0,0,1: 51:[45, 15] Operation: 13+2=15
Moving to Node #0,0,0
Current State: 51:[2, 58], Operations: ['83-38=45', '13+45=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[45, 15], Operations: ['83-38=45', '13+2=15']
Exploring Operation: 45+15=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[38, 2, 70], Operations: ['83-13=70']
Exploring Operation: 38/2=19, Resulting Numbers: [70, 19]
Generated Node #0,1,0: 51:[70, 19] Operation: 38/2=19
Exploring Operation: 70-38=32, Resulting Numbers: [2, 32]
Generated Node #0,1,1: 51:[2, 32] Operation: 70-38=32
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[2, 32], Operations: ['83-13=70', '70-38=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,51 unequal: No Solution
No 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: 51:[70, 19], Operations: ['83-13=70', '38/2=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[13, 83, 38, 2], Operations: []
Exploring Operation: 83-13=70, Resulting Numbers: [38, 2, 70]
Generated Node #0,1: 51:[38, 2, 70] Operation: 83-13=70
Moving to Node #0,1
Current State: 51:[38, 2, 70], Operations: ['83-13=70']
Exploring Operation: 38/2=19, Resulting Numbers: [70, 19]
Generated Node #0,1,0: 51:[70, 19] Operation: 38/2=19
Moving to Node #0,1,0
Current State: 51:[70, 19], Operations: ['83-13=70', '38/2=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | sum_heuristic |
[
26,
79,
12,
5
] | 45 | [
"26+79=105",
"12*5=60",
"105-60=45"
] | Current State: 45:[26, 79, 12, 5], Operations: []
Exploring Operation: 26+79=105, Resulting Numbers: [12, 5, 105]
Generated Node #2: [12, 5, 105] from Operation: 26+79=105
Current State: 45:[12, 5, 105], Operations: ['26+79=105']
Exploring Operation: 12*5=60, Resulting Numbers: [105, 60]
Generated Node #3: [105, 60] from Operation: 12*5=60
Current State: 45:[105, 60], Operations: ['26+79=105', '12*5=60']
Exploring Operation: 105-60=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[26, 79, 12, 5], Operations: []
Exploring Operation: 79-26=53, Resulting Numbers: [12, 5, 53]
Generated Node #0,0: 45:[12, 5, 53] Operation: 79-26=53
Moving to Node #0,0
Current State: 45:[12, 5, 53], Operations: ['79-26=53']
Exploring Operation: 53-12=41, Resulting Numbers: [5, 41]
Generated Node #0,0,0: 45:[5, 41] Operation: 53-12=41
Moving to Node #0,0,0
Current State: 45:[5, 41], Operations: ['79-26=53', '53-12=41']
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,45 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
8,
15,
46
] | 26 | [
"65-8=57",
"46-15=31",
"57-31=26"
] | Current State: 26:[65, 8, 15, 46], Operations: []
Exploring Operation: 65-8=57, Resulting Numbers: [15, 46, 57]
Generated Node #2: [15, 46, 57] from Operation: 65-8=57
Current State: 26:[15, 46, 57], Operations: ['65-8=57']
Exploring Operation: 46-15=31, Resulting Numbers: [57, 31]
Generated Node #3: [57, 31] from Operation: 46-15=31
Current State: 26:[57, 31], Operations: ['65-8=57', '46-15=31']
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[65, 8, 15, 46], Operations: []
Exploring Operation: 65-46=19, Resulting Numbers: [8, 15, 19]
Generated Node #0,0: 26:[8, 15, 19] Operation: 65-46=19
Exploring Operation: 65-15=50, Resulting Numbers: [8, 46, 50]
Generated Node #0,1: 26:[8, 46, 50] Operation: 65-15=50
Exploring Operation: 46-15=31, Resulting Numbers: [65, 8, 31]
Generated Node #0,2: 26:[65, 8, 31] Operation: 46-15=31
Moving to Node #0,0
Current State: 26:[8, 15, 19], Operations: ['65-46=19']
Exploring Operation: 19-8=11, Resulting Numbers: [15, 11]
Generated Node #0,0,0: 26:[15, 11] Operation: 19-8=11
Exploring Operation: 19-15=4, Resulting Numbers: [8, 4]
Generated Node #0,0,1: 26:[8, 4] Operation: 19-15=4
Exploring Operation: 8+19=27, Resulting Numbers: [15, 27]
Generated Node #0,0,2: 26:[15, 27] Operation: 8+19=27
Moving to Node #0,1
Current State: 26:[8, 46, 50], Operations: ['65-15=50']
Exploring Operation: 50-46=4, Resulting Numbers: [8, 4]
Generated Node #0,1,0: 26:[8, 4] Operation: 50-46=4
Exploring Operation: 46-8=38, Resulting Numbers: [50, 38]
Generated Node #0,1,1: 26:[50, 38] Operation: 46-8=38
Exploring Operation: 50-8=42, Resulting Numbers: [46, 42]
Generated Node #0,1,2: 26:[46, 42] Operation: 50-8=42
Moving to Node #0,2
Current State: 26:[65, 8, 31], Operations: ['46-15=31']
Exploring Operation: 31-8=23, Resulting Numbers: [65, 23]
Generated Node #0,2,0: 26:[65, 23] Operation: 31-8=23
Exploring Operation: 65-8=57, Resulting Numbers: [31, 57]
Generated Node #0,2,1: 26:[31, 57] Operation: 65-8=57
Exploring Operation: 65-31=34, Resulting Numbers: [8, 34]
Generated Node #0,2,2: 26:[8, 34] Operation: 65-31=34
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[8, 34], Operations: ['46-15=31', '65-31=34']
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[65, 8, 15, 46], Operations: []
Exploring Operation: 46-15=31, Resulting Numbers: [65, 8, 31]
Generated Node #0,2: 26:[65, 8, 31] Operation: 46-15=31
Moving to Node #0,2
Current State: 26:[65, 8, 31], Operations: ['46-15=31']
Exploring Operation: 65-31=34, Resulting Numbers: [8, 34]
Generated Node #0,2,2: 26:[8, 34] Operation: 65-31=34
Moving to Node #0,2,2
Current State: 26:[8, 34], Operations: ['46-15=31', '65-31=34']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
68,
61,
94,
60
] | 59 | [
"94-60=34",
"68/34=2",
"61-2=59"
] | Current State: 59:[68, 61, 94, 60], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [68, 61, 34]
Generated Node #2: [68, 61, 34] from Operation: 94-60=34
Current State: 59:[68, 61, 34], Operations: ['94-60=34']
Exploring Operation: 68/34=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 68/34=2
Current State: 59:[61, 2], Operations: ['94-60=34', '68/34=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[68, 61, 94, 60], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [68, 61, 34]
Generated Node #0,0: 59:[68, 61, 34] Operation: 94-60=34
Exploring Operation: 94-61=33, Resulting Numbers: [68, 60, 33]
Generated Node #0,1: 59:[68, 60, 33] Operation: 94-61=33
Exploring Operation: 94-68=26, Resulting Numbers: [61, 60, 26]
Generated Node #0,2: 59:[61, 60, 26] Operation: 94-68=26
Exploring Operation: 68-60=8, Resulting Numbers: [61, 94, 8]
Generated Node #0,3: 59:[61, 94, 8] Operation: 68-60=8
Exploring Operation: 68-61=7, Resulting Numbers: [94, 60, 7]
Generated Node #0,4: 59:[94, 60, 7] Operation: 68-61=7
Moving to Node #0,0
Current State: 59:[68, 61, 34], Operations: ['94-60=34']
Exploring Operation: 61+34=95, Resulting Numbers: [68, 95]
Generated Node #0,0,0: 59:[68, 95] Operation: 61+34=95
Exploring Operation: 61-34=27, Resulting Numbers: [68, 27]
Generated Node #0,0,1: 59:[68, 27] Operation: 61-34=27
Exploring Operation: 68-34=34, Resulting Numbers: [61, 34]
Generated Node #0,0,2: 59:[61, 34] Operation: 68-34=34
Exploring Operation: 68+34=102, Resulting Numbers: [61, 102]
Generated Node #0,0,3: 59:[61, 102] Operation: 68+34=102
Exploring Operation: 68/34=2, Resulting Numbers: [61, 2]
Generated Node #0,0,4: 59:[61, 2] Operation: 68/34=2
Moving to Node #0,2
Current State: 59:[61, 60, 26], Operations: ['94-68=26']
Exploring Operation: 61-60=1, Resulting Numbers: [26, 1]
Generated Node #0,2,0: 59:[26, 1] Operation: 61-60=1
Exploring Operation: 61-26=35, Resulting Numbers: [60, 35]
Generated Node #0,2,1: 59:[60, 35] Operation: 61-26=35
Exploring Operation: 60+26=86, Resulting Numbers: [61, 86]
Generated Node #0,2,2: 59:[61, 86] Operation: 60+26=86
Exploring Operation: 60-26=34, Resulting Numbers: [61, 34]
Generated Node #0,2,3: 59:[61, 34] Operation: 60-26=34
Exploring Operation: 61+26=87, Resulting Numbers: [60, 87]
Generated Node #0,2,4: 59:[60, 87] Operation: 61+26=87
Moving to Node #0,1
Current State: 59:[68, 60, 33], Operations: ['94-61=33']
Exploring Operation: 60+33=93, Resulting Numbers: [68, 93]
Generated Node #0,1,0: 59:[68, 93] Operation: 60+33=93
Exploring Operation: 60-33=27, Resulting Numbers: [68, 27]
Generated Node #0,1,1: 59:[68, 27] Operation: 60-33=27
Exploring Operation: 68-60=8, Resulting Numbers: [33, 8]
Generated Node #0,1,2: 59:[33, 8] Operation: 68-60=8
Exploring Operation: 68-33=35, Resulting Numbers: [60, 35]
Generated Node #0,1,3: 59:[60, 35] Operation: 68-33=35
Exploring Operation: 68+33=101, Resulting Numbers: [60, 101]
Generated Node #0,1,4: 59:[60, 101] Operation: 68+33=101
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 59:[60, 35], Operations: ['94-61=33', '68-33=35']
Exploring Operation: 60+35=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 60*35=2100, Resulting Numbers: [2100]
2100,59 unequal: No Solution
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[68, 27], Operations: ['94-61=33', '60-33=27']
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,59 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[68, 93], Operations: ['94-61=33', '60+33=93']
Exploring Operation: 68*93=6324, Resulting Numbers: [6324]
6324,59 unequal: No Solution
Exploring Operation: 68+93=161, Resulting Numbers: [161]
161,59 unequal: No Solution
Exploring Operation: 93-68=25, Resulting Numbers: [25]
25,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 59:[60, 101], Operations: ['94-61=33', '68+33=101']
Exploring Operation: 60+101=161, Resulting Numbers: [161]
161,59 unequal: No Solution
Exploring Operation: 60*101=6060, Resulting Numbers: [6060]
6060,59 unequal: No Solution
Exploring Operation: 101-60=41, Resulting Numbers: [41]
41,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[33, 8], Operations: ['94-61=33', '68-60=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,59 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,59 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: 59:[61, 94, 8], Operations: ['68-60=8']
Exploring Operation: 94+8=102, Resulting Numbers: [61, 102]
Generated Node #0,3,0: 59:[61, 102] Operation: 94+8=102
Exploring Operation: 94-61=33, Resulting Numbers: [8, 33]
Generated Node #0,3,1: 59:[8, 33] Operation: 94-61=33
Exploring Operation: 61+8=69, Resulting Numbers: [94, 69]
Generated Node #0,3,2: 59:[94, 69] Operation: 61+8=69
Exploring Operation: 94-8=86, Resulting Numbers: [61, 86]
Generated Node #0,3,3: 59:[61, 86] Operation: 94-8=86
Exploring Operation: 61-8=53, Resulting Numbers: [94, 53]
Generated Node #0,3,4: 59:[94, 53] Operation: 61-8=53
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[61, 86], Operations: ['68-60=8', '94-8=86']
Exploring Operation: 86-61=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 61*86=5246, Resulting Numbers: [5246]
5246,59 unequal: No Solution
Exploring Operation: 61+86=147, Resulting Numbers: [147]
147,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 59:[94, 53], Operations: ['68-60=8', '61-8=53']
Exploring Operation: 94*53=4982, Resulting Numbers: [4982]
4982,59 unequal: No Solution
Exploring Operation: 94+53=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Exploring Operation: 94-53=41, Resulting Numbers: [41]
41,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[61, 102], Operations: ['68-60=8', '94+8=102']
Exploring Operation: 61*102=6222, Resulting Numbers: [6222]
6222,59 unequal: No Solution
Exploring Operation: 102-61=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 61+102=163, Resulting Numbers: [163]
163,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 59:[94, 69], Operations: ['68-60=8', '61+8=69']
Exploring Operation: 94+69=163, Resulting Numbers: [163]
163,59 unequal: No Solution
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 94*69=6486, Resulting Numbers: [6486]
6486,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[8, 33], Operations: ['68-60=8', '94-61=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,59 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,59 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: 59:[94, 60, 7], Operations: ['68-61=7']
Exploring Operation: 60+7=67, Resulting Numbers: [94, 67]
Generated Node #0,4,0: 59:[94, 67] Operation: 60+7=67
Exploring Operation: 94-7=87, Resulting Numbers: [60, 87]
Generated Node #0,4,1: 59:[60, 87] Operation: 94-7=87
Exploring Operation: 60-7=53, Resulting Numbers: [94, 53]
Generated Node #0,4,2: 59:[94, 53] Operation: 60-7=53
Exploring Operation: 94+7=101, Resulting Numbers: [60, 101]
Generated Node #0,4,3: 59:[60, 101] Operation: 94+7=101
Exploring Operation: 94-60=34, Resulting Numbers: [7, 34]
Generated Node #0,4,4: 59:[7, 34] Operation: 94-60=34
Moving to Node #0,2,1
Current State: 59:[60, 35], Operations: ['94-68=26', '61-26=35']
Exploring Operation: 60*35=2100, Resulting Numbers: [2100]
2100,59 unequal: No Solution
Exploring Operation: 60+35=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[61, 34], Operations: ['94-60=34', '68-34=34']
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 61*34=2074, Resulting Numbers: [2074]
2074,59 unequal: No Solution
Exploring Operation: 61+34=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[61, 34], Operations: ['94-68=26', '60-26=34']
Exploring Operation: 61+34=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 61*34=2074, Resulting Numbers: [2074]
2074,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[61, 86], Operations: ['94-68=26', '60+26=86']
Exploring Operation: 86-61=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 61*86=5246, Resulting Numbers: [5246]
5246,59 unequal: No Solution
Exploring Operation: 61+86=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Moving to Node #0,4,1
Current State: 59:[60, 87], Operations: ['68-61=7', '94-7=87']
Exploring Operation: 60+87=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 60*87=5220, Resulting Numbers: [5220]
5220,59 unequal: No Solution
Moving to Node #0,2,4
Current State: 59:[60, 87], Operations: ['94-68=26', '61+26=87']
Exploring Operation: 60*87=5220, Resulting Numbers: [5220]
5220,59 unequal: No Solution
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 60+87=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[94, 53], Operations: ['68-61=7', '60-7=53']
Exploring Operation: 94-53=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 94+53=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Exploring Operation: 94*53=4982, Resulting Numbers: [4982]
4982,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[68, 27], Operations: ['94-60=34', '61-34=27']
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,59 unequal: No Solution
Moving to Node #0,4,3
Current State: 59:[60, 101], Operations: ['68-61=7', '94+7=101']
Exploring Operation: 60*101=6060, Resulting Numbers: [6060]
6060,59 unequal: No Solution
Exploring Operation: 101-60=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 60+101=161, Resulting Numbers: [161]
161,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[94, 67], Operations: ['68-61=7', '60+7=67']
Exploring Operation: 94+67=161, Resulting Numbers: [161]
161,59 unequal: No Solution
Exploring Operation: 94*67=6298, Resulting Numbers: [6298]
6298,59 unequal: No Solution
Exploring Operation: 94-67=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[68, 95], Operations: ['94-60=34', '61+34=95']
Exploring Operation: 68+95=163, Resulting Numbers: [163]
163,59 unequal: No Solution
Exploring Operation: 95-68=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 68*95=6460, Resulting Numbers: [6460]
6460,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[61, 102], Operations: ['94-60=34', '68+34=102']
Exploring Operation: 61+102=163, Resulting Numbers: [163]
163,59 unequal: No Solution
Exploring Operation: 61*102=6222, Resulting Numbers: [6222]
6222,59 unequal: No Solution
Exploring Operation: 102-61=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Moving to Node #0,0,4
Current State: 59:[61, 2], Operations: ['94-60=34', '68/34=2']
Exploring Operation: 61*2=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[68, 61, 94, 60], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [68, 61, 34]
Generated Node #0,0: 59:[68, 61, 34] Operation: 94-60=34
Moving to Node #0,0
Current State: 59:[68, 61, 34], Operations: ['94-60=34']
Exploring Operation: 68/34=2, Resulting Numbers: [61, 2]
Generated Node #0,0,4: 59:[61, 2] Operation: 68/34=2
Moving to Node #0,0,4
Current State: 59:[61, 2], Operations: ['94-60=34', '68/34=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.911458 | hs_5 | mult_heuristic |
[
6,
37,
5,
37
] | 85 | [
"6+37=43",
"5+37=42",
"43+42=85"
] | Current State: 85:[6, 37, 5, 37], Operations: []
Exploring Operation: 6+37=43, Resulting Numbers: [5, 43]
Generated Node #2: [5, 43] from Operation: 6+37=43
Current State: 85:[5, 43], Operations: ['6+37=43']
Exploring Operation: 5+37=42, Resulting Numbers: [43, 42]
Generated Node #3: [43, 42] from Operation: 5+37=42
Current State: 85:[43, 42], Operations: ['6+37=43', '5+37=42']
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[6, 37, 5, 37], Operations: []
Exploring Operation: 37/37=1, Resulting Numbers: [6, 5, 1]
Generated Node #0,0: 85:[6, 5, 1] Operation: 37/37=1
Moving to Node #0,0
Current State: 85:[6, 5, 1], Operations: ['37/37=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5, 5]
Generated Node #0,0,0: 85:[5, 5] Operation: 6-1=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[5, 5], Operations: ['37/37=1', '6-1=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
94,
93,
90
] | 100 | [
"10+90=100",
"94-93=1",
"100*1=100"
] | Current State: 100:[10, 94, 93, 90], Operations: []
Exploring Operation: 10+90=100, Resulting Numbers: [94, 93, 100]
Generated Node #2: [94, 93, 100] from Operation: 10+90=100
Current State: 100:[94, 93, 100], Operations: ['10+90=100']
Exploring Operation: 94-93=1, Resulting Numbers: [100, 1]
Generated Node #3: [100, 1] from Operation: 94-93=1
Current State: 100:[100, 1], Operations: ['10+90=100', '94-93=1']
Exploring Operation: 100*1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[10, 94, 93, 90], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [10, 93, 4]
Generated Node #0,0: 100:[10, 93, 4] Operation: 94-90=4
Exploring Operation: 94-93=1, Resulting Numbers: [10, 90, 1]
Generated Node #0,1: 100:[10, 90, 1] Operation: 94-93=1
Exploring Operation: 93-90=3, Resulting Numbers: [10, 94, 3]
Generated Node #0,2: 100:[10, 94, 3] Operation: 93-90=3
Moving to Node #0,0
Current State: 100:[10, 93, 4], Operations: ['94-90=4']
Exploring Operation: 10-4=6, Resulting Numbers: [93, 6]
Generated Node #0,0,0: 100:[93, 6] Operation: 10-4=6
Exploring Operation: 93+4=97, Resulting Numbers: [10, 97]
Generated Node #0,0,1: 100:[10, 97] Operation: 93+4=97
Exploring Operation: 10+93=103, Resulting Numbers: [4, 103]
Generated Node #0,0,2: 100:[4, 103] Operation: 10+93=103
Moving to Node #0,2
Current State: 100:[10, 94, 3], Operations: ['93-90=3']
Exploring Operation: 94+3=97, Resulting Numbers: [10, 97]
Generated Node #0,2,0: 100:[10, 97] Operation: 94+3=97
Exploring Operation: 10+94=104, Resulting Numbers: [3, 104]
Generated Node #0,2,1: 100:[3, 104] Operation: 10+94=104
Exploring Operation: 10-3=7, Resulting Numbers: [94, 7]
Generated Node #0,2,2: 100:[94, 7] Operation: 10-3=7
Moving to Node #0,1
Current State: 100:[10, 90, 1], Operations: ['94-93=1']
Exploring Operation: 90/10=9, Resulting Numbers: [1, 9]
Generated Node #0,1,0: 100:[1, 9] Operation: 90/10=9
Exploring Operation: 10+90=100, Resulting Numbers: [1, 100]
Generated Node #0,1,1: 100:[1, 100] Operation: 10+90=100
Exploring Operation: 90+1=91, Resulting Numbers: [10, 91]
Generated Node #0,1,2: 100:[10, 91] Operation: 90+1=91
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[1, 100], Operations: ['94-93=1', '10+90=100']
Exploring Operation: 100/1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[10, 94, 93, 90], Operations: []
Exploring Operation: 94-93=1, Resulting Numbers: [10, 90, 1]
Generated Node #0,1: 100:[10, 90, 1] Operation: 94-93=1
Moving to Node #0,1
Current State: 100:[10, 90, 1], Operations: ['94-93=1']
Exploring Operation: 10+90=100, Resulting Numbers: [1, 100]
Generated Node #0,1,1: 100:[1, 100] Operation: 10+90=100
Moving to Node #0,1,1
Current State: 100:[1, 100], Operations: ['94-93=1', '10+90=100']
Exploring Operation: 100/1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
13,
16,
48,
30
] | 20 | [
"30-13=17",
"48/16=3",
"17+3=20"
] | Current State: 20:[13, 16, 48, 30], Operations: []
Exploring Operation: 30-13=17, Resulting Numbers: [16, 48, 17]
Generated Node #2: [16, 48, 17] from Operation: 30-13=17
Current State: 20:[16, 48, 17], Operations: ['30-13=17']
Exploring Operation: 48/16=3, Resulting Numbers: [17, 3]
Generated Node #3: [17, 3] from Operation: 48/16=3
Current State: 20:[17, 3], Operations: ['30-13=17', '48/16=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[13, 16, 48, 30], Operations: []
Exploring Operation: 48-13=35, Resulting Numbers: [16, 30, 35]
Generated Node #0,0: 20:[16, 30, 35] Operation: 48-13=35
Exploring Operation: 48-16=32, Resulting Numbers: [13, 30, 32]
Generated Node #0,1: 20:[13, 30, 32] Operation: 48-16=32
Exploring Operation: 48-30=18, Resulting Numbers: [13, 16, 18]
Generated Node #0,2: 20:[13, 16, 18] Operation: 48-30=18
Exploring Operation: 48/16=3, Resulting Numbers: [13, 30, 3]
Generated Node #0,3: 20:[13, 30, 3] Operation: 48/16=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[13, 16, 18], Operations: ['48-30=18']
Exploring Operation: 13+16=29, Resulting Numbers: [18, 29]
Generated Node #0,2,0: 20:[18, 29] Operation: 13+16=29
Exploring Operation: 18-13=5, Resulting Numbers: [16, 5]
Generated Node #0,2,1: 20:[16, 5] Operation: 18-13=5
Exploring Operation: 16-13=3, Resulting Numbers: [18, 3]
Generated Node #0,2,2: 20:[18, 3] Operation: 16-13=3
Exploring Operation: 18-16=2, Resulting Numbers: [13, 2]
Generated Node #0,2,3: 20:[13, 2] Operation: 18-16=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[18, 3], Operations: ['48-30=18', '16-13=3']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,20 unequal: No Solution
No 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: 20:[13, 2], Operations: ['48-30=18', '18-16=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,20 unequal: No Solution
No 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: 20:[16, 5], Operations: ['48-30=18', '18-13=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,20 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,20 unequal: No Solution
No 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: 20:[18, 29], Operations: ['48-30=18', '13+16=29']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,20 unequal: No Solution
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[13, 30, 3], Operations: ['48/16=3']
Exploring Operation: 13-3=10, Resulting Numbers: [30, 10]
Generated Node #0,3,0: 20:[30, 10] Operation: 13-3=10
Exploring Operation: 30/3=10, Resulting Numbers: [13, 10]
Generated Node #0,3,1: 20:[13, 10] Operation: 30/3=10
Exploring Operation: 30-13=17, Resulting Numbers: [3, 17]
Generated Node #0,3,2: 20:[3, 17] Operation: 30-13=17
Exploring Operation: 30-3=27, Resulting Numbers: [13, 27]
Generated Node #0,3,3: 20:[13, 27] Operation: 30-3=27
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 20:[13, 10], Operations: ['48/16=3', '30/3=10']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,20 unequal: No Solution
No 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: 20:[3, 17], Operations: ['48/16=3', '30-13=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[13, 16, 48, 30], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [13, 30, 3]
Generated Node #0,3: 20:[13, 30, 3] Operation: 48/16=3
Moving to Node #0,3
Current State: 20:[13, 30, 3], Operations: ['48/16=3']
Exploring Operation: 30-13=17, Resulting Numbers: [3, 17]
Generated Node #0,3,2: 20:[3, 17] Operation: 30-13=17
Moving to Node #0,3,2
Current State: 20:[3, 17], Operations: ['48/16=3', '30-13=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
42,
79,
81,
70
] | 56 | [
"42+70=112",
"81-79=2",
"112/2=56"
] | Current State: 56:[42, 79, 81, 70], Operations: []
Exploring Operation: 42+70=112, Resulting Numbers: [79, 81, 112]
Generated Node #2: [79, 81, 112] from Operation: 42+70=112
Current State: 56:[79, 81, 112], Operations: ['42+70=112']
Exploring Operation: 81-79=2, Resulting Numbers: [112, 2]
Generated Node #3: [112, 2] from Operation: 81-79=2
Current State: 56:[112, 2], Operations: ['42+70=112', '81-79=2']
Exploring Operation: 112/2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[42, 79, 81, 70], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [42, 70, 2]
Generated Node #0,0: 56:[42, 70, 2] Operation: 81-79=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[42, 70, 2], Operations: ['81-79=2']
Exploring Operation: 70-42=28, Resulting Numbers: [2, 28]
Generated Node #0,0,0: 56:[2, 28] Operation: 70-42=28
Moving to Node #0,0,0
Current State: 56:[2, 28], Operations: ['81-79=2', '70-42=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[42, 79, 81, 70], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [42, 70, 2]
Generated Node #0,0: 56:[42, 70, 2] Operation: 81-79=2
Moving to Node #0,0
Current State: 56:[42, 70, 2], Operations: ['81-79=2']
Exploring Operation: 70-42=28, Resulting Numbers: [2, 28]
Generated Node #0,0,0: 56:[2, 28] Operation: 70-42=28
Moving to Node #0,0,0
Current State: 56:[2, 28], Operations: ['81-79=2', '70-42=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
75,
51,
8,
9
] | 96 | [
"75-51=24",
"8*9=72",
"24+72=96"
] | Current State: 96:[75, 51, 8, 9], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [8, 9, 24]
Generated Node #2: [8, 9, 24] from Operation: 75-51=24
Current State: 96:[8, 9, 24], Operations: ['75-51=24']
Exploring Operation: 8*9=72, Resulting Numbers: [24, 72]
Generated Node #3: [24, 72] from Operation: 8*9=72
Current State: 96:[24, 72], Operations: ['75-51=24', '8*9=72']
Exploring Operation: 24+72=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[75, 51, 8, 9], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [8, 9, 24]
Generated Node #0,0: 96:[8, 9, 24] Operation: 75-51=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[8, 9, 24], Operations: ['75-51=24']
Exploring Operation: 8+9=17, Resulting Numbers: [24, 17]
Generated Node #0,0,0: 96:[24, 17] Operation: 8+9=17
Moving to Node #0,0,0
Current State: 96:[24, 17], Operations: ['75-51=24', '8+9=17']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,96 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 |
[
65,
85,
25,
91
] | 34 | [
"65+85=150",
"25+91=116",
"150-116=34"
] | Current State: 34:[65, 85, 25, 91], Operations: []
Exploring Operation: 65+85=150, Resulting Numbers: [25, 91, 150]
Generated Node #2: [25, 91, 150] from Operation: 65+85=150
Current State: 34:[25, 91, 150], Operations: ['65+85=150']
Exploring Operation: 25+91=116, Resulting Numbers: [150, 116]
Generated Node #3: [150, 116] from Operation: 25+91=116
Current State: 34:[150, 116], Operations: ['65+85=150', '25+91=116']
Exploring Operation: 150-116=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[65, 85, 25, 91], Operations: []
Exploring Operation: 91-85=6, Resulting Numbers: [65, 25, 6]
Generated Node #0,0: 34:[65, 25, 6] Operation: 91-85=6
Exploring Operation: 85-65=20, Resulting Numbers: [25, 91, 20]
Generated Node #0,1: 34:[25, 91, 20] Operation: 85-65=20
Exploring Operation: 91-65=26, Resulting Numbers: [85, 25, 26]
Generated Node #0,2: 34:[85, 25, 26] Operation: 91-65=26
Moving to Node #0,0
Current State: 34:[65, 25, 6], Operations: ['91-85=6']
Exploring Operation: 65-25=40, Resulting Numbers: [6, 40]
Generated Node #0,0,0: 34:[6, 40] Operation: 65-25=40
Exploring Operation: 65-6=59, Resulting Numbers: [25, 59]
Generated Node #0,0,1: 34:[25, 59] Operation: 65-6=59
Exploring Operation: 25-6=19, Resulting Numbers: [65, 19]
Generated Node #0,0,2: 34:[65, 19] Operation: 25-6=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[6, 40], Operations: ['91-85=6', '65-25=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[65, 85, 25, 91], Operations: []
Exploring Operation: 91-85=6, Resulting Numbers: [65, 25, 6]
Generated Node #0,0: 34:[65, 25, 6] Operation: 91-85=6
Moving to Node #0,0
Current State: 34:[65, 25, 6], Operations: ['91-85=6']
Exploring Operation: 65-25=40, Resulting Numbers: [6, 40]
Generated Node #0,0,0: 34:[6, 40] Operation: 65-25=40
Moving to Node #0,0,0
Current State: 34:[6, 40], Operations: ['91-85=6', '65-25=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
55,
9,
33,
8
] | 66 | [
"55*9=495",
"33+495=528",
"528/8=66"
] | Current State: 66:[55, 9, 33, 8], Operations: []
Exploring Operation: 55*9=495, Resulting Numbers: [33, 8, 495]
Generated Node #2: [33, 8, 495] from Operation: 55*9=495
Current State: 66:[33, 8, 495], Operations: ['55*9=495']
Exploring Operation: 33+495=528, Resulting Numbers: [8, 528]
Generated Node #3: [8, 528] from Operation: 33+495=528
Current State: 66:[8, 528], Operations: ['55*9=495', '33+495=528']
Exploring Operation: 528/8=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[55, 9, 33, 8], Operations: []
Exploring Operation: 55+9=64, Resulting Numbers: [33, 8, 64]
Generated Node #0,0: 66:[33, 8, 64] Operation: 55+9=64
Moving to Node #0,0
Current State: 66:[33, 8, 64], Operations: ['55+9=64']
Exploring Operation: 64/8=8, Resulting Numbers: [33, 8]
Generated Node #0,0,0: 66:[33, 8] Operation: 64/8=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[33, 8], Operations: ['55+9=64', '64/8=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,66 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 |
[
14,
5,
70,
19
] | 32 | [
"14+5=19",
"70-19=51",
"51-19=32"
] | Current State: 32:[14, 5, 70, 19], Operations: []
Exploring Operation: 14+5=19, Resulting Numbers: [70, 19, 19]
Generated Node #2: [70, 19, 19] from Operation: 14+5=19
Current State: 32:[70, 19, 19], Operations: ['14+5=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,32 equal: Goal Reached
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[14, 5, 70, 19], Operations: []
Exploring Operation: 70/5=14, Resulting Numbers: [14, 19, 14]
Generated Node #0,0: 32:[14, 19, 14] Operation: 70/5=14
Exploring Operation: 70/14=5, Resulting Numbers: [5, 19, 5]
Generated Node #0,1: 32:[5, 19, 5] Operation: 70/14=5
Moving to Node #0,1
Current State: 32:[5, 19, 5], Operations: ['70/14=5']
Exploring Operation: 19-5=14, Resulting Numbers: [5, 14]
Generated Node #0,1,0: 32:[5, 14] Operation: 19-5=14
Exploring Operation: 19-5=14, Resulting Numbers: [5, 14]
Generated Node #0,1,1: 32:[5, 14] Operation: 19-5=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[5, 14], Operations: ['70/14=5', '19-5=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[5, 14], Operations: ['70/14=5', '19-5=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,32 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: 32:[14, 19, 14], Operations: ['70/5=14']
Exploring Operation: 19-14=5, Resulting Numbers: [14, 5]
Generated Node #0,0,0: 32:[14, 5] Operation: 19-14=5
Exploring Operation: 14+19=33, Resulting Numbers: [14, 33]
Generated Node #0,0,1: 32:[14, 33] Operation: 14+19=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[14, 5], Operations: ['70/5=14', '19-14=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[14, 33], Operations: ['70/5=14', '14+19=33']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
91,
57,
88
] | 51 | [
"3+91=94",
"57+88=145",
"145-94=51"
] | Current State: 51:[3, 91, 57, 88], Operations: []
Exploring Operation: 3+91=94, Resulting Numbers: [57, 88, 94]
Generated Node #2: [57, 88, 94] from Operation: 3+91=94
Current State: 51:[57, 88, 94], Operations: ['3+91=94']
Exploring Operation: 57+88=145, Resulting Numbers: [94, 145]
Generated Node #3: [94, 145] from Operation: 57+88=145
Current State: 51:[94, 145], Operations: ['3+91=94', '57+88=145']
Exploring Operation: 145-94=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[3, 91, 57, 88], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [3, 57, 3]
Generated Node #0,0: 51:[3, 57, 3] Operation: 91-88=3
Exploring Operation: 91-57=34, Resulting Numbers: [3, 88, 34]
Generated Node #0,1: 51:[3, 88, 34] Operation: 91-57=34
Exploring Operation: 88-57=31, Resulting Numbers: [3, 91, 31]
Generated Node #0,2: 51:[3, 91, 31] Operation: 88-57=31
Exploring Operation: 57/3=19, Resulting Numbers: [91, 88, 19]
Generated Node #0,3: 51:[91, 88, 19] Operation: 57/3=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[3, 57, 3], Operations: ['91-88=3']
Exploring Operation: 57/3=19, Resulting Numbers: [3, 19]
Generated Node #0,0,0: 51:[3, 19] Operation: 57/3=19
Exploring Operation: 57-3=54, Resulting Numbers: [3, 54]
Generated Node #0,0,1: 51:[3, 54] Operation: 57-3=54
Exploring Operation: 57-3=54, Resulting Numbers: [3, 54]
Generated Node #0,0,2: 51:[3, 54] Operation: 57-3=54
Exploring Operation: 57/3=19, Resulting Numbers: [3, 19]
Generated Node #0,0,3: 51:[3, 19] Operation: 57/3=19
Moving to Node #0,0,0
Current State: 51:[3, 19], Operations: ['91-88=3', '57/3=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[3, 19], Operations: ['91-88=3', '57/3=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[3, 54], Operations: ['91-88=3', '57-3=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[3, 91, 57, 88], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [3, 57, 3]
Generated Node #0,0: 51:[3, 57, 3] Operation: 91-88=3
Moving to Node #0,0
Current State: 51:[3, 57, 3], Operations: ['91-88=3']
Exploring Operation: 57-3=54, Resulting Numbers: [3, 54]
Generated Node #0,0,2: 51:[3, 54] Operation: 57-3=54
Moving to Node #0,0,2
Current State: 51:[3, 54], Operations: ['91-88=3', '57-3=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
95,
65,
38,
13
] | 62 | [
"95-38=57",
"65/13=5",
"57+5=62"
] | Current State: 62:[95, 65, 38, 13], Operations: []
Exploring Operation: 95-38=57, Resulting Numbers: [65, 13, 57]
Generated Node #2: [65, 13, 57] from Operation: 95-38=57
Current State: 62:[65, 13, 57], Operations: ['95-38=57']
Exploring Operation: 65/13=5, Resulting Numbers: [57, 5]
Generated Node #3: [57, 5] from Operation: 65/13=5
Current State: 62:[57, 5], Operations: ['95-38=57', '65/13=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[95, 65, 38, 13], Operations: []
Exploring Operation: 95-65=30, Resulting Numbers: [38, 13, 30]
Generated Node #0,0: 62:[38, 13, 30] Operation: 95-65=30
Moving to Node #0,0
Current State: 62:[38, 13, 30], Operations: ['95-65=30']
Exploring Operation: 38-13=25, Resulting Numbers: [30, 25]
Generated Node #0,0,0: 62:[30, 25] Operation: 38-13=25
Moving to Node #0,0,0
Current State: 62:[30, 25], Operations: ['95-65=30', '38-13=25']
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,62 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
80,
96,
5,
96
] | 30 | [
"96-80=16",
"5*96=480",
"480/16=30"
] | Current State: 30:[80, 96, 5, 96], Operations: []
Exploring Operation: 96-80=16, Resulting Numbers: [5, 16]
Generated Node #2: [5, 16] from Operation: 96-80=16
Current State: 30:[5, 16], Operations: ['96-80=16']
Exploring Operation: 5*96=480, Resulting Numbers: [16, 480]
Generated Node #3: [16, 480] from Operation: 5*96=480
Current State: 30:[16, 480], Operations: ['96-80=16', '5*96=480']
Exploring Operation: 480/16=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[80, 96, 5, 96], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [80, 5, 1]
Generated Node #0,0: 30:[80, 5, 1] Operation: 96/96=1
Moving to Node #0,0
Current State: 30:[80, 5, 1], Operations: ['96/96=1']
Exploring Operation: 80/5=16, Resulting Numbers: [1, 16]
Generated Node #0,0,0: 30:[1, 16] Operation: 80/5=16
Moving to Node #0,0,0
Current State: 30:[1, 16], Operations: ['96/96=1', '80/5=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,30 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
60,
34,
7,
87
] | 49 | [
"60+34=94",
"94-87=7",
"7*7=49"
] | Current State: 49:[60, 34, 7, 87], Operations: []
Exploring Operation: 60+34=94, Resulting Numbers: [7, 87, 94]
Generated Node #2: [7, 87, 94] from Operation: 60+34=94
Current State: 49:[7, 87, 94], Operations: ['60+34=94']
Exploring Operation: 94-87=7, Resulting Numbers: [7, 7]
Generated Node #3: [7, 7] from Operation: 94-87=7
Current State: 49:[7, 7], Operations: ['60+34=94', '94-87=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[60, 34, 7, 87], Operations: []
Exploring Operation: 87-34=53, Resulting Numbers: [60, 7, 53]
Generated Node #0,0: 49:[60, 7, 53] Operation: 87-34=53
Exploring Operation: 87-60=27, Resulting Numbers: [34, 7, 27]
Generated Node #0,1: 49:[34, 7, 27] Operation: 87-60=27
Exploring Operation: 34+7=41, Resulting Numbers: [60, 87, 41]
Generated Node #0,2: 49:[60, 87, 41] Operation: 34+7=41
Exploring Operation: 60-34=26, Resulting Numbers: [7, 87, 26]
Generated Node #0,3: 49:[7, 87, 26] Operation: 60-34=26
Exploring Operation: 60-7=53, Resulting Numbers: [34, 87, 53]
Generated Node #0,4: 49:[34, 87, 53] Operation: 60-7=53
Moving to Node #0,0
Current State: 49:[60, 7, 53], Operations: ['87-34=53']
Exploring Operation: 60-53=7, Resulting Numbers: [7, 7]
Generated Node #0,0,0: 49:[7, 7] Operation: 60-53=7
Exploring Operation: 60+7=67, Resulting Numbers: [53, 67]
Generated Node #0,0,1: 49:[53, 67] Operation: 60+7=67
Exploring Operation: 7+53=60, Resulting Numbers: [60, 60]
Generated Node #0,0,2: 49:[60, 60] Operation: 7+53=60
Exploring Operation: 60-7=53, Resulting Numbers: [53, 53]
Generated Node #0,0,3: 49:[53, 53] Operation: 60-7=53
Exploring Operation: 53-7=46, Resulting Numbers: [60, 46]
Generated Node #0,0,4: 49:[60, 46] Operation: 53-7=46
Moving to Node #0,1
Current State: 49:[34, 7, 27], Operations: ['87-60=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34, 34]
Generated Node #0,1,0: 49:[34, 34] Operation: 7+27=34
Exploring Operation: 34+27=61, Resulting Numbers: [7, 61]
Generated Node #0,1,1: 49:[7, 61] Operation: 34+27=61
Exploring Operation: 34+7=41, Resulting Numbers: [27, 41]
Generated Node #0,1,2: 49:[27, 41] Operation: 34+7=41
Exploring Operation: 34-27=7, Resulting Numbers: [7, 7]
Generated Node #0,1,3: 49:[7, 7] Operation: 34-27=7
Exploring Operation: 27-7=20, Resulting Numbers: [34, 20]
Generated Node #0,1,4: 49:[34, 20] Operation: 27-7=20
Moving to Node #0,2
Current State: 49:[60, 87, 41], Operations: ['34+7=41']
Exploring Operation: 60+41=101, Resulting Numbers: [87, 101]
Generated Node #0,2,0: 49:[87, 101] Operation: 60+41=101
Exploring Operation: 87-41=46, Resulting Numbers: [60, 46]
Generated Node #0,2,1: 49:[60, 46] Operation: 87-41=46
Exploring Operation: 87-60=27, Resulting Numbers: [41, 27]
Generated Node #0,2,2: 49:[41, 27] Operation: 87-60=27
Exploring Operation: 60-41=19, Resulting Numbers: [87, 19]
Generated Node #0,2,3: 49:[87, 19] Operation: 60-41=19
Exploring Operation: 87+41=128, Resulting Numbers: [60, 128]
Generated Node #0,2,4: 49:[60, 128] Operation: 87+41=128
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[60, 46], Operations: ['34+7=41', '87-41=46']
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,49 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,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,2,2
Current State: 49:[41, 27], Operations: ['34+7=41', '87-60=27']
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,49 unequal: No Solution
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,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,2,3
Current State: 49:[87, 19], Operations: ['34+7=41', '60-41=19']
Exploring Operation: 87+19=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,49 unequal: No Solution
Exploring Operation: 87*19=1653, Resulting Numbers: [1653]
1653,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,2,0
Current State: 49:[87, 101], Operations: ['34+7=41', '60+41=101']
Exploring Operation: 87*101=8787, Resulting Numbers: [8787]
8787,49 unequal: No Solution
Exploring Operation: 87+101=188, Resulting Numbers: [188]
188,49 unequal: No Solution
Exploring Operation: 101-87=14, Resulting Numbers: [14]
14,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,2,4
Current State: 49:[60, 128], Operations: ['34+7=41', '87+41=128']
Exploring Operation: 60+128=188, Resulting Numbers: [188]
188,49 unequal: No Solution
Exploring Operation: 128-60=68, Resulting Numbers: [68]
68,49 unequal: No Solution
Exploring Operation: 60*128=7680, Resulting Numbers: [7680]
7680,49 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: 49:[7, 87, 26], Operations: ['60-34=26']
Exploring Operation: 7+26=33, Resulting Numbers: [87, 33]
Generated Node #0,3,0: 49:[87, 33] Operation: 7+26=33
Exploring Operation: 26-7=19, Resulting Numbers: [87, 19]
Generated Node #0,3,1: 49:[87, 19] Operation: 26-7=19
Exploring Operation: 87-7=80, Resulting Numbers: [26, 80]
Generated Node #0,3,2: 49:[26, 80] Operation: 87-7=80
Exploring Operation: 7+87=94, Resulting Numbers: [26, 94]
Generated Node #0,3,3: 49:[26, 94] Operation: 7+87=94
Exploring Operation: 87-26=61, Resulting Numbers: [7, 61]
Generated Node #0,3,4: 49:[7, 61] Operation: 87-26=61
Moving to Node #0,4
Current State: 49:[34, 87, 53], Operations: ['60-7=53']
Exploring Operation: 53-34=19, Resulting Numbers: [87, 19]
Generated Node #0,4,0: 49:[87, 19] Operation: 53-34=19
Exploring Operation: 34+53=87, Resulting Numbers: [87, 87]
Generated Node #0,4,1: 49:[87, 87] Operation: 34+53=87
Exploring Operation: 87-53=34, Resulting Numbers: [34, 34]
Generated Node #0,4,2: 49:[34, 34] Operation: 87-53=34
Exploring Operation: 34+87=121, Resulting Numbers: [53, 121]
Generated Node #0,4,3: 49:[53, 121] Operation: 34+87=121
Exploring Operation: 87-34=53, Resulting Numbers: [53, 53]
Generated Node #0,4,4: 49:[53, 53] Operation: 87-34=53
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 49:[53, 53], Operations: ['60-7=53', '87-34=53']
Exploring Operation: 53*53=2809, Resulting Numbers: [2809]
2809,49 unequal: No Solution
Exploring Operation: 53/53=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 53-53=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 53+53=106, Resulting Numbers: [106]
106,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,4,2
Current State: 49:[34, 34], Operations: ['60-7=53', '87-53=34']
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,49 unequal: No Solution
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 34*34=1156, Resulting Numbers: [1156]
1156,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,4,0
Current State: 49:[87, 19], Operations: ['60-7=53', '53-34=19']
Exploring Operation: 87+19=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Exploring Operation: 87*19=1653, Resulting Numbers: [1653]
1653,49 unequal: No Solution
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,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,4,1
Current State: 49:[87, 87], Operations: ['60-7=53', '34+53=87']
Exploring Operation: 87-87=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 87/87=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 87*87=7569, Resulting Numbers: [7569]
7569,49 unequal: No Solution
Exploring Operation: 87+87=174, Resulting Numbers: [174]
174,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,4,3
Current State: 49:[53, 121], Operations: ['60-7=53', '34+87=121']
Exploring Operation: 53*121=6413, Resulting Numbers: [6413]
6413,49 unequal: No Solution
Exploring Operation: 53+121=174, Resulting Numbers: [174]
174,49 unequal: No Solution
Exploring Operation: 121-53=68, Resulting Numbers: [68]
68,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 49:[7, 7], Operations: ['87-34=53', '60-53=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[60, 34, 7, 87], Operations: []
Exploring Operation: 87-34=53, Resulting Numbers: [60, 7, 53]
Generated Node #0,0: 49:[60, 7, 53] Operation: 87-34=53
Moving to Node #0,0
Current State: 49:[60, 7, 53], Operations: ['87-34=53']
Exploring Operation: 60-53=7, Resulting Numbers: [7, 7]
Generated Node #0,0,0: 49:[7, 7] Operation: 60-53=7
Moving to Node #0,0,0
Current State: 49:[7, 7], Operations: ['87-34=53', '60-53=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.939236 | hs_5 | mult_heuristic |
[
7,
22,
29,
20
] | 72 | [
"7+29=36",
"22-20=2",
"36*2=72"
] | Current State: 72:[7, 22, 29, 20], Operations: []
Exploring Operation: 7+29=36, Resulting Numbers: [22, 20, 36]
Generated Node #2: [22, 20, 36] from Operation: 7+29=36
Current State: 72:[22, 20, 36], Operations: ['7+29=36']
Exploring Operation: 22-20=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 22-20=2
Current State: 72:[36, 2], Operations: ['7+29=36', '22-20=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[7, 22, 29, 20], Operations: []
Exploring Operation: 29-20=9, Resulting Numbers: [7, 22, 9]
Generated Node #0,0: 72:[7, 22, 9] Operation: 29-20=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[7, 22, 9], Operations: ['29-20=9']
Exploring Operation: 9-7=2, Resulting Numbers: [22, 2]
Generated Node #0,0,0: 72:[22, 2] Operation: 9-7=2
Moving to Node #0,0,0
Current State: 72:[22, 2], Operations: ['29-20=9', '9-7=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,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 | sum_heuristic |
[
98,
90,
72,
96
] | 87 | [
"98-90=8",
"72/8=9",
"96-9=87"
] | Current State: 87:[98, 90, 72, 96], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [72, 96, 8]
Generated Node #2: [72, 96, 8] from Operation: 98-90=8
Current State: 87:[72, 96, 8], Operations: ['98-90=8']
Exploring Operation: 72/8=9, Resulting Numbers: [96, 9]
Generated Node #3: [96, 9] from Operation: 72/8=9
Current State: 87:[96, 9], Operations: ['98-90=8', '72/8=9']
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[98, 90, 72, 96], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [90, 72, 2]
Generated Node #0,0: 87:[90, 72, 2] Operation: 98-96=2
Exploring Operation: 98-72=26, Resulting Numbers: [90, 96, 26]
Generated Node #0,1: 87:[90, 96, 26] Operation: 98-72=26
Exploring Operation: 98-90=8, Resulting Numbers: [72, 96, 8]
Generated Node #0,2: 87:[72, 96, 8] Operation: 98-90=8
Exploring Operation: 96-72=24, Resulting Numbers: [98, 90, 24]
Generated Node #0,3: 87:[98, 90, 24] Operation: 96-72=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[90, 96, 26], Operations: ['98-72=26']
Exploring Operation: 96-90=6, Resulting Numbers: [26, 6]
Generated Node #0,1,0: 87:[26, 6] Operation: 96-90=6
Exploring Operation: 90-26=64, Resulting Numbers: [96, 64]
Generated Node #0,1,1: 87:[96, 64] Operation: 90-26=64
Exploring Operation: 96-26=70, Resulting Numbers: [90, 70]
Generated Node #0,1,2: 87:[90, 70] Operation: 96-26=70
Exploring Operation: 90+26=116, Resulting Numbers: [96, 116]
Generated Node #0,1,3: 87:[96, 116] Operation: 90+26=116
Moving to Node #0,1,0
Current State: 87:[26, 6], Operations: ['98-72=26', '96-90=6']
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,87 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[90, 70], Operations: ['98-72=26', '96-26=70']
Exploring Operation: 90*70=6300, Resulting Numbers: [6300]
6300,87 unequal: No Solution
Exploring Operation: 90+70=160, Resulting Numbers: [160]
160,87 unequal: No Solution
Exploring Operation: 90-70=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[96, 64], Operations: ['98-72=26', '90-26=64']
Exploring Operation: 96+64=160, Resulting Numbers: [160]
160,87 unequal: No Solution
Exploring Operation: 96*64=6144, Resulting Numbers: [6144]
6144,87 unequal: No Solution
Exploring Operation: 96-64=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[96, 116], Operations: ['98-72=26', '90+26=116']
Exploring Operation: 96+116=212, Resulting Numbers: [212]
212,87 unequal: No Solution
Exploring Operation: 116-96=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 96*116=11136, Resulting Numbers: [11136]
11136,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,0
Current State: 87:[90, 72, 2], Operations: ['98-96=2']
Exploring Operation: 72/2=36, Resulting Numbers: [90, 36]
Generated Node #0,0,0: 87:[90, 36] Operation: 72/2=36
Exploring Operation: 90-2=88, Resulting Numbers: [72, 88]
Generated Node #0,0,1: 87:[72, 88] Operation: 90-2=88
Exploring Operation: 90-72=18, Resulting Numbers: [2, 18]
Generated Node #0,0,2: 87:[2, 18] Operation: 90-72=18
Exploring Operation: 72+2=74, Resulting Numbers: [90, 74]
Generated Node #0,0,3: 87:[90, 74] Operation: 72+2=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[90, 36], Operations: ['98-96=2', '72/2=36']
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,87 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,87 unequal: No Solution
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[2, 18], Operations: ['98-96=2', '90-72=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,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:[72, 88], Operations: ['98-96=2', '90-2=88']
Exploring Operation: 72+88=160, Resulting Numbers: [160]
160,87 unequal: No Solution
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 72*88=6336, Resulting Numbers: [6336]
6336,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:[90, 74], Operations: ['98-96=2', '72+2=74']
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 90*74=6660, Resulting Numbers: [6660]
6660,87 unequal: No Solution
Exploring Operation: 90+74=164, Resulting Numbers: [164]
164,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[98, 90, 24], Operations: ['96-72=24']
Exploring Operation: 98-90=8, Resulting Numbers: [24, 8]
Generated Node #0,3,0: 87:[24, 8] Operation: 98-90=8
Exploring Operation: 90-24=66, Resulting Numbers: [98, 66]
Generated Node #0,3,1: 87:[98, 66] Operation: 90-24=66
Exploring Operation: 98+24=122, Resulting Numbers: [90, 122]
Generated Node #0,3,2: 87:[90, 122] Operation: 98+24=122
Exploring Operation: 98-24=74, Resulting Numbers: [90, 74]
Generated Node #0,3,3: 87:[90, 74] Operation: 98-24=74
Moving to Node #0,3,0
Current State: 87:[24, 8], Operations: ['96-72=24', '98-90=8']
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,87 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[90, 74], Operations: ['96-72=24', '98-24=74']
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 90*74=6660, Resulting Numbers: [6660]
6660,87 unequal: No Solution
Exploring Operation: 90+74=164, Resulting Numbers: [164]
164,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[98, 66], Operations: ['96-72=24', '90-24=66']
Exploring Operation: 98+66=164, Resulting Numbers: [164]
164,87 unequal: No Solution
Exploring Operation: 98*66=6468, Resulting Numbers: [6468]
6468,87 unequal: No Solution
Exploring Operation: 98-66=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[90, 122], Operations: ['96-72=24', '98+24=122']
Exploring Operation: 122-90=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 90+122=212, Resulting Numbers: [212]
212,87 unequal: No Solution
Exploring Operation: 90*122=10980, Resulting Numbers: [10980]
10980,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[72, 96, 8], Operations: ['98-90=8']
Exploring Operation: 96-8=88, Resulting Numbers: [72, 88]
Generated Node #0,2,0: 87:[72, 88] Operation: 96-8=88
Exploring Operation: 96-72=24, Resulting Numbers: [8, 24]
Generated Node #0,2,1: 87:[8, 24] Operation: 96-72=24
Exploring Operation: 72+8=80, Resulting Numbers: [96, 80]
Generated Node #0,2,2: 87:[96, 80] Operation: 72+8=80
Exploring Operation: 72/8=9, Resulting Numbers: [96, 9]
Generated Node #0,2,3: 87:[96, 9] Operation: 72/8=9
Moving to Node #0,2,1
Current State: 87:[8, 24], Operations: ['98-90=8', '96-72=24']
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,87 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[96, 9], Operations: ['98-90=8', '72/8=9']
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[98, 90, 72, 96], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [72, 96, 8]
Generated Node #0,2: 87:[72, 96, 8] Operation: 98-90=8
Moving to Node #0,2
Current State: 87:[72, 96, 8], Operations: ['98-90=8']
Exploring Operation: 72/8=9, Resulting Numbers: [96, 9]
Generated Node #0,2,3: 87:[96, 9] Operation: 72/8=9
Moving to Node #0,2,3
Current State: 87:[96, 9], Operations: ['98-90=8', '72/8=9']
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.94184 | hs_4 | sum_heuristic |
[
32,
62,
27,
29
] | 92 | [
"32+62=94",
"29-27=2",
"94-2=92"
] | Current State: 92:[32, 62, 27, 29], Operations: []
Exploring Operation: 32+62=94, Resulting Numbers: [27, 29, 94]
Generated Node #2: [27, 29, 94] from Operation: 32+62=94
Current State: 92:[27, 29, 94], Operations: ['32+62=94']
Exploring Operation: 29-27=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 29-27=2
Current State: 92:[94, 2], Operations: ['32+62=94', '29-27=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[32, 62, 27, 29], Operations: []
Exploring Operation: 62-32=30, Resulting Numbers: [27, 29, 30]
Generated Node #0,0: 92:[27, 29, 30] Operation: 62-32=30
Exploring Operation: 62+27=89, Resulting Numbers: [32, 29, 89]
Generated Node #0,1: 92:[32, 29, 89] Operation: 62+27=89
Exploring Operation: 62+29=91, Resulting Numbers: [32, 27, 91]
Generated Node #0,2: 92:[32, 27, 91] Operation: 62+29=91
Exploring Operation: 32+62=94, Resulting Numbers: [27, 29, 94]
Generated Node #0,3: 92:[27, 29, 94] Operation: 32+62=94
Moving to Node #0,3
Current State: 92:[27, 29, 94], Operations: ['32+62=94']
Exploring Operation: 94-29=65, Resulting Numbers: [27, 65]
Generated Node #0,3,0: 92:[27, 65] Operation: 94-29=65
Exploring Operation: 27+29=56, Resulting Numbers: [94, 56]
Generated Node #0,3,1: 92:[94, 56] Operation: 27+29=56
Exploring Operation: 29-27=2, Resulting Numbers: [94, 2]
Generated Node #0,3,2: 92:[94, 2] Operation: 29-27=2
Exploring Operation: 94-27=67, Resulting Numbers: [29, 67]
Generated Node #0,3,3: 92:[29, 67] Operation: 94-27=67
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[94, 2], Operations: ['32+62=94', '29-27=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[32, 62, 27, 29], Operations: []
Exploring Operation: 32+62=94, Resulting Numbers: [27, 29, 94]
Generated Node #0,3: 92:[27, 29, 94] Operation: 32+62=94
Moving to Node #0,3
Current State: 92:[27, 29, 94], Operations: ['32+62=94']
Exploring Operation: 29-27=2, Resulting Numbers: [94, 2]
Generated Node #0,3,2: 92:[94, 2] Operation: 29-27=2
Moving to Node #0,3,2
Current State: 92:[94, 2], Operations: ['32+62=94', '29-27=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
46,
20,
89,
34
] | 97 | [
"46-20=26",
"89+34=123",
"123-26=97"
] | Current State: 97:[46, 20, 89, 34], Operations: []
Exploring Operation: 46-20=26, Resulting Numbers: [89, 34, 26]
Generated Node #2: [89, 34, 26] from Operation: 46-20=26
Current State: 97:[89, 34, 26], Operations: ['46-20=26']
Exploring Operation: 89+34=123, Resulting Numbers: [26, 123]
Generated Node #3: [26, 123] from Operation: 89+34=123
Current State: 97:[26, 123], Operations: ['46-20=26', '89+34=123']
Exploring Operation: 123-26=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[46, 20, 89, 34], Operations: []
Exploring Operation: 46+34=80, Resulting Numbers: [20, 89, 80]
Generated Node #0,0: 97:[20, 89, 80] Operation: 46+34=80
Exploring Operation: 20+34=54, Resulting Numbers: [46, 89, 54]
Generated Node #0,1: 97:[46, 89, 54] Operation: 20+34=54
Exploring Operation: 46+20=66, Resulting Numbers: [89, 34, 66]
Generated Node #0,2: 97:[89, 34, 66] Operation: 46+20=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[20, 89, 80], Operations: ['46+34=80']
Exploring Operation: 20+80=100, Resulting Numbers: [89, 100]
Generated Node #0,0,0: 97:[89, 100] Operation: 20+80=100
Exploring Operation: 20+89=109, Resulting Numbers: [80, 109]
Generated Node #0,0,1: 97:[80, 109] Operation: 20+89=109
Exploring Operation: 89-20=69, Resulting Numbers: [80, 69]
Generated Node #0,0,2: 97:[80, 69] Operation: 89-20=69
Moving to Node #0,0,0
Current State: 97:[89, 100], Operations: ['46+34=80', '20+80=100']
Exploring Operation: 89+100=189, Resulting Numbers: [189]
189,97 unequal: No Solution
Exploring Operation: 89*100=8900, Resulting Numbers: [8900]
8900,97 unequal: No Solution
Exploring Operation: 100-89=11, Resulting Numbers: [11]
11,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[80, 109], Operations: ['46+34=80', '20+89=109']
Exploring Operation: 80*109=8720, Resulting Numbers: [8720]
8720,97 unequal: No Solution
Exploring Operation: 109-80=29, Resulting Numbers: [29]
29,97 unequal: No Solution
Exploring Operation: 80+109=189, Resulting Numbers: [189]
189,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[80, 69], Operations: ['46+34=80', '89-20=69']
Exploring Operation: 80+69=149, Resulting Numbers: [149]
149,97 unequal: No Solution
Exploring Operation: 80*69=5520, Resulting Numbers: [5520]
5520,97 unequal: No Solution
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,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:[46, 89, 54], Operations: ['20+34=54']
Exploring Operation: 89-46=43, Resulting Numbers: [54, 43]
Generated Node #0,1,0: 97:[54, 43] Operation: 89-46=43
Exploring Operation: 46+89=135, Resulting Numbers: [54, 135]
Generated Node #0,1,1: 97:[54, 135] Operation: 46+89=135
Exploring Operation: 46+54=100, Resulting Numbers: [89, 100]
Generated Node #0,1,2: 97:[89, 100] Operation: 46+54=100
Moving to Node #0,1,2
Current State: 97:[89, 100], Operations: ['20+34=54', '46+54=100']
Exploring Operation: 89+100=189, Resulting Numbers: [189]
189,97 unequal: No Solution
Exploring Operation: 89*100=8900, Resulting Numbers: [8900]
8900,97 unequal: No Solution
Exploring Operation: 100-89=11, Resulting Numbers: [11]
11,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[54, 135], Operations: ['20+34=54', '46+89=135']
Exploring Operation: 54*135=7290, Resulting Numbers: [7290]
7290,97 unequal: No Solution
Exploring Operation: 135-54=81, Resulting Numbers: [81]
81,97 unequal: No Solution
Exploring Operation: 54+135=189, Resulting Numbers: [189]
189,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[54, 43], Operations: ['20+34=54', '89-46=43']
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[46, 20, 89, 34], Operations: []
Exploring Operation: 20+34=54, Resulting Numbers: [46, 89, 54]
Generated Node #0,1: 97:[46, 89, 54] Operation: 20+34=54
Moving to Node #0,1
Current State: 97:[46, 89, 54], Operations: ['20+34=54']
Exploring Operation: 89-46=43, Resulting Numbers: [54, 43]
Generated Node #0,1,0: 97:[54, 43] Operation: 89-46=43
Moving to Node #0,1,0
Current State: 97:[54, 43], Operations: ['20+34=54', '89-46=43']
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_3 | mult_heuristic |
[
14,
6,
6,
12
] | 11 | [
"6*6=36",
"36/12=3",
"14-3=11"
] | Current State: 11:[14, 6, 6, 12], Operations: []
Exploring Operation: 6*6=36, Resulting Numbers: [14, 12, 36]
Generated Node #2: [14, 12, 36] from Operation: 6*6=36
Current State: 11:[14, 12, 36], Operations: ['6*6=36']
Exploring Operation: 36/12=3, Resulting Numbers: [14, 3]
Generated Node #3: [14, 3] from Operation: 36/12=3
Current State: 11:[14, 3], Operations: ['6*6=36', '36/12=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[14, 6, 6, 12], Operations: []
Exploring Operation: 14-6=8, Resulting Numbers: [6, 12, 8]
Generated Node #0,0: 11:[6, 12, 8] Operation: 14-6=8
Exploring Operation: 14-6=8, Resulting Numbers: [6, 12, 8]
Generated Node #0,1: 11:[6, 12, 8] Operation: 14-6=8
Exploring Operation: 6+6=12, Resulting Numbers: [14, 12, 12]
Generated Node #0,2: 11:[14, 12, 12] Operation: 6+6=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[14, 12, 12], Operations: ['6+6=12']
Exploring Operation: 14-12=2, Resulting Numbers: [12, 2]
Generated Node #0,2,0: 11:[12, 2] Operation: 14-12=2
Exploring Operation: 14-12=2, Resulting Numbers: [12, 2]
Generated Node #0,2,1: 11:[12, 2] Operation: 14-12=2
Exploring Operation: 12/12=1, Resulting Numbers: [14, 1]
Generated Node #0,2,2: 11:[14, 1] Operation: 12/12=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 11:[12, 2], Operations: ['6+6=12', '14-12=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No 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: 11:[12, 2], Operations: ['6+6=12', '14-12=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,11 unequal: No Solution
No 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: 11:[14, 1], Operations: ['6+6=12', '12/12=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,11 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: 11:[6, 12, 8], Operations: ['14-6=8']
Exploring Operation: 6+12=18, Resulting Numbers: [8, 18]
Generated Node #0,0,0: 11:[8, 18] Operation: 6+12=18
Exploring Operation: 12-6=6, Resulting Numbers: [8, 6]
Generated Node #0,0,1: 11:[8, 6] Operation: 12-6=6
Exploring Operation: 6+8=14, Resulting Numbers: [12, 14]
Generated Node #0,0,2: 11:[12, 14] Operation: 6+8=14
Moving to Node #0,0,2
Current State: 11:[12, 14], Operations: ['14-6=8', '6+8=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,11 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[8, 6], Operations: ['14-6=8', '12-6=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[8, 18], Operations: ['14-6=8', '6+12=18']
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[6, 12, 8], Operations: ['14-6=8']
Exploring Operation: 6+8=14, Resulting Numbers: [12, 14]
Generated Node #0,1,0: 11:[12, 14] Operation: 6+8=14
Exploring Operation: 12-6=6, Resulting Numbers: [8, 6]
Generated Node #0,1,1: 11:[8, 6] Operation: 12-6=6
Exploring Operation: 6+12=18, Resulting Numbers: [8, 18]
Generated Node #0,1,2: 11:[8, 18] Operation: 6+12=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[12, 14], Operations: ['14-6=8', '6+8=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,11 unequal: No Solution
No 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: 11:[8, 6], Operations: ['14-6=8', '12-6=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,11 unequal: No Solution
No 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: 11:[8, 18], Operations: ['14-6=8', '6+12=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,11 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,11 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 |
[
37,
80,
13,
65
] | 38 | [
"80-37=43",
"65/13=5",
"43-5=38"
] | Current State: 38:[37, 80, 13, 65], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [13, 65, 43]
Generated Node #2: [13, 65, 43] from Operation: 80-37=43
Current State: 38:[13, 65, 43], Operations: ['80-37=43']
Exploring Operation: 65/13=5, Resulting Numbers: [43, 5]
Generated Node #3: [43, 5] from Operation: 65/13=5
Current State: 38:[43, 5], Operations: ['80-37=43', '65/13=5']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[37, 80, 13, 65], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [13, 65, 43]
Generated Node #0,0: 38:[13, 65, 43] Operation: 80-37=43
Exploring Operation: 65/13=5, Resulting Numbers: [37, 80, 5]
Generated Node #0,1: 38:[37, 80, 5] Operation: 65/13=5
Exploring Operation: 80-65=15, Resulting Numbers: [37, 13, 15]
Generated Node #0,2: 38:[37, 13, 15] Operation: 80-65=15
Exploring Operation: 65-37=28, Resulting Numbers: [80, 13, 28]
Generated Node #0,3: 38:[80, 13, 28] Operation: 65-37=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[37, 13, 15], Operations: ['80-65=15']
Exploring Operation: 37-15=22, Resulting Numbers: [13, 22]
Generated Node #0,2,0: 38:[13, 22] Operation: 37-15=22
Exploring Operation: 13+15=28, Resulting Numbers: [37, 28]
Generated Node #0,2,1: 38:[37, 28] Operation: 13+15=28
Exploring Operation: 37-13=24, Resulting Numbers: [15, 24]
Generated Node #0,2,2: 38:[15, 24] Operation: 37-13=24
Exploring Operation: 15-13=2, Resulting Numbers: [37, 2]
Generated Node #0,2,3: 38:[37, 2] Operation: 15-13=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 38:[37, 2], Operations: ['80-65=15', '15-13=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,38 unequal: No Solution
No 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: 38:[13, 22], Operations: ['80-65=15', '37-15=22']
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,38 unequal: No Solution
No 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: 38:[15, 24], Operations: ['80-65=15', '37-13=24']
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,38 unequal: No Solution
No 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: 38:[37, 28], Operations: ['80-65=15', '13+15=28']
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 37+28=65, Resulting Numbers: [65]
65,38 unequal: No Solution
Exploring Operation: 37*28=1036, Resulting Numbers: [1036]
1036,38 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: 38:[13, 65, 43], Operations: ['80-37=43']
Exploring Operation: 65-13=52, Resulting Numbers: [43, 52]
Generated Node #0,0,0: 38:[43, 52] Operation: 65-13=52
Exploring Operation: 43-13=30, Resulting Numbers: [65, 30]
Generated Node #0,0,1: 38:[65, 30] Operation: 43-13=30
Exploring Operation: 65/13=5, Resulting Numbers: [43, 5]
Generated Node #0,0,2: 38:[43, 5] Operation: 65/13=5
Exploring Operation: 65-43=22, Resulting Numbers: [13, 22]
Generated Node #0,0,3: 38:[13, 22] Operation: 65-43=22
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 38:[43, 5], Operations: ['80-37=43', '65/13=5']
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,38 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[37, 80, 13, 65], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [13, 65, 43]
Generated Node #0,0: 38:[13, 65, 43] Operation: 80-37=43
Moving to Node #0,0
Current State: 38:[13, 65, 43], Operations: ['80-37=43']
Exploring Operation: 65/13=5, Resulting Numbers: [43, 5]
Generated Node #0,0,2: 38:[43, 5] Operation: 65/13=5
Moving to Node #0,0,2
Current State: 38:[43, 5], Operations: ['80-37=43', '65/13=5']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
59,
58,
64,
75
] | 85 | [
"64-59=5",
"75-58=17",
"5*17=85"
] | Current State: 85:[59, 58, 64, 75], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [58, 75, 5]
Generated Node #2: [58, 75, 5] from Operation: 64-59=5
Current State: 85:[58, 75, 5], Operations: ['64-59=5']
Exploring Operation: 75-58=17, Resulting Numbers: [5, 17]
Generated Node #3: [5, 17] from Operation: 75-58=17
Current State: 85:[5, 17], Operations: ['64-59=5', '75-58=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[59, 58, 64, 75], Operations: []
Exploring Operation: 59-58=1, Resulting Numbers: [64, 75, 1]
Generated Node #0,0: 85:[64, 75, 1] Operation: 59-58=1
Moving to Node #0,0
Current State: 85:[64, 75, 1], Operations: ['59-58=1']
Exploring Operation: 75-64=11, Resulting Numbers: [1, 11]
Generated Node #0,0,0: 85:[1, 11] Operation: 75-64=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[1, 11], Operations: ['59-58=1', '75-64=11']
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,85 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 |
[
61,
6,
96,
91
] | 62 | [
"61+6=67",
"96-91=5",
"67-5=62"
] | Current State: 62:[61, 6, 96, 91], Operations: []
Exploring Operation: 61+6=67, Resulting Numbers: [96, 91, 67]
Generated Node #2: [96, 91, 67] from Operation: 61+6=67
Current State: 62:[96, 91, 67], Operations: ['61+6=67']
Exploring Operation: 96-91=5, Resulting Numbers: [67, 5]
Generated Node #3: [67, 5] from Operation: 96-91=5
Current State: 62:[67, 5], Operations: ['61+6=67', '96-91=5']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[61, 6, 96, 91], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [61, 6, 5]
Generated Node #0,0: 62:[61, 6, 5] Operation: 96-91=5
Moving to Node #0,0
Current State: 62:[61, 6, 5], Operations: ['96-91=5']
Exploring Operation: 6*5=30, Resulting Numbers: [61, 30]
Generated Node #0,0,0: 62:[61, 30] Operation: 6*5=30
Moving to Node #0,0,0
Current State: 62:[61, 30], Operations: ['96-91=5', '6*5=30']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,62 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
57,
76,
81,
9
] | 96 | [
"81-9=72",
"76*72=5472",
"5472/57=96"
] | Current State: 96:[57, 76, 81, 9], Operations: []
Exploring Operation: 81-9=72, Resulting Numbers: [57, 76, 72]
Generated Node #2: [57, 76, 72] from Operation: 81-9=72
Current State: 96:[57, 76, 72], Operations: ['81-9=72']
Exploring Operation: 76*72=5472, Resulting Numbers: [57, 5472]
Generated Node #3: [57, 5472] from Operation: 76*72=5472
Current State: 96:[57, 5472], Operations: ['81-9=72', '76*72=5472']
Exploring Operation: 5472/57=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[57, 76, 81, 9], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [57, 9, 5]
Generated Node #0,0: 96:[57, 9, 5] Operation: 81-76=5
Exploring Operation: 76-57=19, Resulting Numbers: [81, 9, 19]
Generated Node #0,1: 96:[81, 9, 19] Operation: 76-57=19
Exploring Operation: 81-57=24, Resulting Numbers: [76, 9, 24]
Generated Node #0,2: 96:[76, 9, 24] Operation: 81-57=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[57, 9, 5], Operations: ['81-76=5']
Exploring Operation: 57-5=52, Resulting Numbers: [9, 52]
Generated Node #0,0,0: 96:[9, 52] Operation: 57-5=52
Exploring Operation: 57-9=48, Resulting Numbers: [5, 48]
Generated Node #0,0,1: 96:[5, 48] Operation: 57-9=48
Exploring Operation: 9-5=4, Resulting Numbers: [57, 4]
Generated Node #0,0,2: 96:[57, 4] Operation: 9-5=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[5, 48], Operations: ['81-76=5', '57-9=48']
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,96 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,96 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[9, 52], Operations: ['81-76=5', '57-5=52']
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Exploring Operation: 9*52=468, Resulting Numbers: [468]
468,96 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[57, 4], Operations: ['81-76=5', '9-5=4']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,96 unequal: No Solution
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,96 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[81, 9, 19], Operations: ['76-57=19']
Exploring Operation: 81/9=9, Resulting Numbers: [19, 9]
Generated Node #0,1,0: 96:[19, 9] Operation: 81/9=9
Exploring Operation: 81+9=90, Resulting Numbers: [19, 90]
Generated Node #0,1,1: 96:[19, 90] Operation: 81+9=90
Exploring Operation: 81+19=100, Resulting Numbers: [9, 100]
Generated Node #0,1,2: 96:[9, 100] Operation: 81+19=100
Moving to Node #0,1,0
Current State: 96:[19, 9], Operations: ['76-57=19', '81/9=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,96 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[9, 100], Operations: ['76-57=19', '81+19=100']
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,96 unequal: No Solution
Exploring Operation: 9+100=109, Resulting Numbers: [109]
109,96 unequal: No Solution
Exploring Operation: 9*100=900, Resulting Numbers: [900]
900,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[19, 90], Operations: ['76-57=19', '81+9=90']
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,96 unequal: No Solution
Exploring Operation: 19*90=1710, Resulting Numbers: [1710]
1710,96 unequal: No Solution
Exploring Operation: 19+90=109, Resulting Numbers: [109]
109,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[76, 9, 24], Operations: ['81-57=24']
Exploring Operation: 76+9=85, Resulting Numbers: [24, 85]
Generated Node #0,2,0: 96:[24, 85] Operation: 76+9=85
Exploring Operation: 76+24=100, Resulting Numbers: [9, 100]
Generated Node #0,2,1: 96:[9, 100] Operation: 76+24=100
Exploring Operation: 76-24=52, Resulting Numbers: [9, 52]
Generated Node #0,2,2: 96:[9, 52] Operation: 76-24=52
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[9, 100], Operations: ['81-57=24', '76+24=100']
Exploring Operation: 9+100=109, Resulting Numbers: [109]
109,96 unequal: No Solution
Exploring Operation: 9*100=900, Resulting Numbers: [900]
900,96 unequal: No Solution
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[9, 52], Operations: ['81-57=24', '76-24=52']
Exploring Operation: 9*52=468, Resulting Numbers: [468]
468,96 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[24, 85], Operations: ['81-57=24', '76+9=85']
Exploring Operation: 24*85=2040, Resulting Numbers: [2040]
2040,96 unequal: No Solution
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Exploring Operation: 24+85=109, Resulting Numbers: [109]
109,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
80,
1,
63,
42
] | 24 | [
"80+1=81",
"63+42=105",
"105-81=24"
] | Current State: 24:[80, 1, 63, 42], Operations: []
Exploring Operation: 80+1=81, Resulting Numbers: [63, 42, 81]
Generated Node #2: [63, 42, 81] from Operation: 80+1=81
Current State: 24:[63, 42, 81], Operations: ['80+1=81']
Exploring Operation: 63+42=105, Resulting Numbers: [81, 105]
Generated Node #3: [81, 105] from Operation: 63+42=105
Current State: 24:[81, 105], Operations: ['80+1=81', '63+42=105']
Exploring Operation: 105-81=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[80, 1, 63, 42], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [1, 42, 17]
Generated Node #0,0: 24:[1, 42, 17] Operation: 80-63=17
Moving to Node #0,0
Current State: 24:[1, 42, 17], Operations: ['80-63=17']
Exploring Operation: 42-17=25, Resulting Numbers: [1, 25]
Generated Node #0,0,0: 24:[1, 25] Operation: 42-17=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[1, 25], Operations: ['80-63=17', '42-17=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[80, 1, 63, 42], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [1, 42, 17]
Generated Node #0,0: 24:[1, 42, 17] Operation: 80-63=17
Moving to Node #0,0
Current State: 24:[1, 42, 17], Operations: ['80-63=17']
Exploring Operation: 42-17=25, Resulting Numbers: [1, 25]
Generated Node #0,0,0: 24:[1, 25] Operation: 42-17=25
Moving to Node #0,0,0
Current State: 24:[1, 25], Operations: ['80-63=17', '42-17=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
10,
66,
70,
41
] | 32 | [
"70/10=7",
"66-41=25",
"7+25=32"
] | Current State: 32:[10, 66, 70, 41], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [66, 41, 7]
Generated Node #2: [66, 41, 7] from Operation: 70/10=7
Current State: 32:[66, 41, 7], Operations: ['70/10=7']
Exploring Operation: 66-41=25, Resulting Numbers: [7, 25]
Generated Node #3: [7, 25] from Operation: 66-41=25
Current State: 32:[7, 25], Operations: ['70/10=7', '66-41=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[10, 66, 70, 41], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [66, 41, 7]
Generated Node #0,0: 32:[66, 41, 7] Operation: 70/10=7
Exploring Operation: 70-66=4, Resulting Numbers: [10, 41, 4]
Generated Node #0,1: 32:[10, 41, 4] Operation: 70-66=4
Exploring Operation: 70-41=29, Resulting Numbers: [10, 66, 29]
Generated Node #0,2: 32:[10, 66, 29] Operation: 70-41=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[10, 41, 4], Operations: ['70-66=4']
Exploring Operation: 41-10=31, Resulting Numbers: [4, 31]
Generated Node #0,1,0: 32:[4, 31] Operation: 41-10=31
Exploring Operation: 10+4=14, Resulting Numbers: [41, 14]
Generated Node #0,1,1: 32:[41, 14] Operation: 10+4=14
Exploring Operation: 41-4=37, Resulting Numbers: [10, 37]
Generated Node #0,1,2: 32:[10, 37] Operation: 41-4=37
Moving to Node #0,1,0
Current State: 32:[4, 31], Operations: ['70-66=4', '41-10=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[10, 37], Operations: ['70-66=4', '41-4=37']
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,32 unequal: No Solution
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[41, 14], Operations: ['70-66=4', '10+4=14']
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,32 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 41*14=574, Resulting Numbers: [574]
574,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[10, 66, 29], Operations: ['70-41=29']
Exploring Operation: 66-10=56, Resulting Numbers: [29, 56]
Generated Node #0,2,0: 32:[29, 56] Operation: 66-10=56
Exploring Operation: 29-10=19, Resulting Numbers: [66, 19]
Generated Node #0,2,1: 32:[66, 19] Operation: 29-10=19
Exploring Operation: 66-29=37, Resulting Numbers: [10, 37]
Generated Node #0,2,2: 32:[10, 37] Operation: 66-29=37
Moving to Node #0,2,2
Current State: 32:[10, 37], Operations: ['70-41=29', '66-29=37']
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[29, 56], Operations: ['70-41=29', '66-10=56']
Exploring Operation: 29*56=1624, Resulting Numbers: [1624]
1624,32 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[66, 19], Operations: ['70-41=29', '29-10=19']
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 66+19=85, Resulting Numbers: [85]
85,32 unequal: No Solution
Exploring Operation: 66*19=1254, Resulting Numbers: [1254]
1254,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[66, 41, 7], Operations: ['70/10=7']
Exploring Operation: 66-41=25, Resulting Numbers: [7, 25]
Generated Node #0,0,0: 32:[7, 25] Operation: 66-41=25
Exploring Operation: 66-7=59, Resulting Numbers: [41, 59]
Generated Node #0,0,1: 32:[41, 59] Operation: 66-7=59
Exploring Operation: 41-7=34, Resulting Numbers: [66, 34]
Generated Node #0,0,2: 32:[66, 34] Operation: 41-7=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[7, 25], Operations: ['70/10=7', '66-41=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[10, 66, 70, 41], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [66, 41, 7]
Generated Node #0,0: 32:[66, 41, 7] Operation: 70/10=7
Moving to Node #0,0
Current State: 32:[66, 41, 7], Operations: ['70/10=7']
Exploring Operation: 66-41=25, Resulting Numbers: [7, 25]
Generated Node #0,0,0: 32:[7, 25] Operation: 66-41=25
Moving to Node #0,0,0
Current State: 32:[7, 25], Operations: ['70/10=7', '66-41=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
35,
79,
49,
39
] | 32 | [
"39-35=4",
"79+49=128",
"128/4=32"
] | Current State: 32:[35, 79, 49, 39], Operations: []
Exploring Operation: 39-35=4, Resulting Numbers: [79, 49, 4]
Generated Node #2: [79, 49, 4] from Operation: 39-35=4
Current State: 32:[79, 49, 4], Operations: ['39-35=4']
Exploring Operation: 79+49=128, Resulting Numbers: [4, 128]
Generated Node #3: [4, 128] from Operation: 79+49=128
Current State: 32:[4, 128], Operations: ['39-35=4', '79+49=128']
Exploring Operation: 128/4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[35, 79, 49, 39], Operations: []
Exploring Operation: 79-39=40, Resulting Numbers: [35, 49, 40]
Generated Node #0,0: 32:[35, 49, 40] Operation: 79-39=40
Exploring Operation: 79-35=44, Resulting Numbers: [49, 39, 44]
Generated Node #0,1: 32:[49, 39, 44] Operation: 79-35=44
Exploring Operation: 49-39=10, Resulting Numbers: [35, 79, 10]
Generated Node #0,2: 32:[35, 79, 10] Operation: 49-39=10
Exploring Operation: 79-49=30, Resulting Numbers: [35, 39, 30]
Generated Node #0,3: 32:[35, 39, 30] Operation: 79-49=30
Exploring Operation: 49-35=14, Resulting Numbers: [79, 39, 14]
Generated Node #0,4: 32:[79, 39, 14] Operation: 49-35=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[35, 39, 30], Operations: ['79-49=30']
Exploring Operation: 35+30=65, Resulting Numbers: [39, 65]
Generated Node #0,3,0: 32:[39, 65] Operation: 35+30=65
Exploring Operation: 39-30=9, Resulting Numbers: [35, 9]
Generated Node #0,3,1: 32:[35, 9] Operation: 39-30=9
Exploring Operation: 35-30=5, Resulting Numbers: [39, 5]
Generated Node #0,3,2: 32:[39, 5] Operation: 35-30=5
Exploring Operation: 39+30=69, Resulting Numbers: [35, 69]
Generated Node #0,3,3: 32:[35, 69] Operation: 39+30=69
Exploring Operation: 39-35=4, Resulting Numbers: [30, 4]
Generated Node #0,3,4: 32:[30, 4] Operation: 39-35=4
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 32:[30, 4], Operations: ['79-49=30', '39-35=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,32 unequal: No Solution
No 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: 32:[35, 9], Operations: ['79-49=30', '39-30=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,32 unequal: No Solution
No 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: 32:[39, 5], Operations: ['79-49=30', '35-30=5']
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,32 unequal: No Solution
No 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: 32:[39, 65], Operations: ['79-49=30', '35+30=65']
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,32 unequal: No Solution
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,32 unequal: No Solution
No 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: 32:[35, 69], Operations: ['79-49=30', '39+30=69']
Exploring Operation: 35+69=104, Resulting Numbers: [104]
104,32 unequal: No Solution
Exploring Operation: 35*69=2415, Resulting Numbers: [2415]
2415,32 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,32 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: 32:[35, 49, 40], Operations: ['79-39=40']
Exploring Operation: 35+40=75, Resulting Numbers: [49, 75]
Generated Node #0,0,0: 32:[49, 75] Operation: 35+40=75
Exploring Operation: 40-35=5, Resulting Numbers: [49, 5]
Generated Node #0,0,1: 32:[49, 5] Operation: 40-35=5
Exploring Operation: 35+49=84, Resulting Numbers: [40, 84]
Generated Node #0,0,2: 32:[40, 84] Operation: 35+49=84
Exploring Operation: 49-40=9, Resulting Numbers: [35, 9]
Generated Node #0,0,3: 32:[35, 9] Operation: 49-40=9
Exploring Operation: 49-35=14, Resulting Numbers: [40, 14]
Generated Node #0,0,4: 32:[40, 14] Operation: 49-35=14
Moving to Node #0,0,3
Current State: 32:[35, 9], Operations: ['79-39=40', '49-40=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,32 unequal: No Solution
Moving to Node #0,0,4
Current State: 32:[40, 14], Operations: ['79-39=40', '49-35=14']
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,32 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[49, 5], Operations: ['79-39=40', '40-35=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,32 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[49, 75], Operations: ['79-39=40', '35+40=75']
Exploring Operation: 75-49=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 49+75=124, Resulting Numbers: [124]
124,32 unequal: No Solution
Exploring Operation: 49*75=3675, Resulting Numbers: [3675]
3675,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[40, 84], Operations: ['79-39=40', '35+49=84']
Exploring Operation: 40*84=3360, Resulting Numbers: [3360]
3360,32 unequal: No Solution
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 40+84=124, Resulting Numbers: [124]
124,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[49, 39, 44], Operations: ['79-35=44']
Exploring Operation: 44-39=5, Resulting Numbers: [49, 5]
Generated Node #0,1,0: 32:[49, 5] Operation: 44-39=5
Exploring Operation: 49+39=88, Resulting Numbers: [44, 88]
Generated Node #0,1,1: 32:[44, 88] Operation: 49+39=88
Exploring Operation: 49+44=93, Resulting Numbers: [39, 93]
Generated Node #0,1,2: 32:[39, 93] Operation: 49+44=93
Exploring Operation: 49-44=5, Resulting Numbers: [39, 5]
Generated Node #0,1,3: 32:[39, 5] Operation: 49-44=5
Exploring Operation: 49-39=10, Resulting Numbers: [44, 10]
Generated Node #0,1,4: 32:[44, 10] Operation: 49-39=10
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 32:[39, 5], Operations: ['79-35=44', '49-44=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,32 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 32:[44, 10], Operations: ['79-35=44', '49-39=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,32 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,32 unequal: No Solution
No 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: 32:[49, 5], Operations: ['79-35=44', '44-39=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,32 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,32 unequal: No Solution
No 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: 32:[44, 88], Operations: ['79-35=44', '49+39=88']
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 44+88=132, Resulting Numbers: [132]
132,32 unequal: No Solution
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 44*88=3872, Resulting Numbers: [3872]
3872,32 unequal: No Solution
No 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: 32:[39, 93], Operations: ['79-35=44', '49+44=93']
Exploring Operation: 39*93=3627, Resulting Numbers: [3627]
3627,32 unequal: No Solution
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 39+93=132, Resulting Numbers: [132]
132,32 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: 32:[35, 79, 10], Operations: ['49-39=10']
Exploring Operation: 79-10=69, Resulting Numbers: [35, 69]
Generated Node #0,2,0: 32:[35, 69] Operation: 79-10=69
Exploring Operation: 35+10=45, Resulting Numbers: [79, 45]
Generated Node #0,2,1: 32:[79, 45] Operation: 35+10=45
Exploring Operation: 35-10=25, Resulting Numbers: [79, 25]
Generated Node #0,2,2: 32:[79, 25] Operation: 35-10=25
Exploring Operation: 79-35=44, Resulting Numbers: [10, 44]
Generated Node #0,2,3: 32:[10, 44] Operation: 79-35=44
Exploring Operation: 79+10=89, Resulting Numbers: [35, 89]
Generated Node #0,2,4: 32:[35, 89] Operation: 79+10=89
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 32:[10, 44], Operations: ['49-39=10', '79-35=44']
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,32 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,32 unequal: No Solution
No 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: 32:[35, 69], Operations: ['49-39=10', '79-10=69']
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 35+69=104, Resulting Numbers: [104]
104,32 unequal: No Solution
Exploring Operation: 35*69=2415, Resulting Numbers: [2415]
2415,32 unequal: No Solution
No 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: 32:[79, 25], Operations: ['49-39=10', '35-10=25']
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,32 unequal: No Solution
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,32 unequal: No Solution
No 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: 32:[79, 45], Operations: ['49-39=10', '35+10=45']
Exploring Operation: 79+45=124, Resulting Numbers: [124]
124,32 unequal: No Solution
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 79*45=3555, Resulting Numbers: [3555]
3555,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 32:[35, 89], Operations: ['49-39=10', '79+10=89']
Exploring Operation: 89-35=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 35*89=3115, Resulting Numbers: [3115]
3115,32 unequal: No Solution
Exploring Operation: 35+89=124, Resulting Numbers: [124]
124,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 32:[79, 39, 14], Operations: ['49-35=14']
Exploring Operation: 79-14=65, Resulting Numbers: [39, 65]
Generated Node #0,4,0: 32:[39, 65] Operation: 79-14=65
Exploring Operation: 39+14=53, Resulting Numbers: [79, 53]
Generated Node #0,4,1: 32:[79, 53] Operation: 39+14=53
Exploring Operation: 39-14=25, Resulting Numbers: [79, 25]
Generated Node #0,4,2: 32:[79, 25] Operation: 39-14=25
Exploring Operation: 79+14=93, Resulting Numbers: [39, 93]
Generated Node #0,4,3: 32:[39, 93] Operation: 79+14=93
Exploring Operation: 79-39=40, Resulting Numbers: [14, 40]
Generated Node #0,4,4: 32:[14, 40] Operation: 79-39=40
Moving to Node #0,4,4
Current State: 32:[14, 40], Operations: ['49-35=14', '79-39=40']
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,32 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Moving to Node #0,4,0
Current State: 32:[39, 65], Operations: ['49-35=14', '79-14=65']
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,32 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,32 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[79, 25], Operations: ['49-35=14', '39-14=25']
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,32 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[79, 53], Operations: ['49-35=14', '39+14=53']
Exploring Operation: 79+53=132, Resulting Numbers: [132]
132,32 unequal: No Solution
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 79*53=4187, Resulting Numbers: [4187]
4187,32 unequal: No Solution
Moving to Node #0,4,3
Current State: 32:[39, 93], Operations: ['49-35=14', '79+14=93']
Exploring Operation: 39+93=132, Resulting Numbers: [132]
132,32 unequal: No Solution
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 39*93=3627, Resulting Numbers: [3627]
3627,32 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 |
[
86,
12,
16,
7
] | 38 | [
"86-12=74",
"16*7=112",
"112-74=38"
] | Current State: 38:[86, 12, 16, 7], Operations: []
Exploring Operation: 86-12=74, Resulting Numbers: [16, 7, 74]
Generated Node #2: [16, 7, 74] from Operation: 86-12=74
Current State: 38:[16, 7, 74], Operations: ['86-12=74']
Exploring Operation: 16*7=112, Resulting Numbers: [74, 112]
Generated Node #3: [74, 112] from Operation: 16*7=112
Current State: 38:[74, 112], Operations: ['86-12=74', '16*7=112']
Exploring Operation: 112-74=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[86, 12, 16, 7], Operations: []
Exploring Operation: 86-12=74, Resulting Numbers: [16, 7, 74]
Generated Node #0,0: 38:[16, 7, 74] Operation: 86-12=74
Moving to Node #0,0
Current State: 38:[16, 7, 74], Operations: ['86-12=74']
Exploring Operation: 74-16=58, Resulting Numbers: [7, 58]
Generated Node #0,0,0: 38:[7, 58] Operation: 74-16=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[7, 58], Operations: ['86-12=74', '74-16=58']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,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 |
[
62,
46,
49,
3
] | 91 | [
"62*3=186",
"46+49=95",
"186-95=91"
] | Current State: 91:[62, 46, 49, 3], Operations: []
Exploring Operation: 62*3=186, Resulting Numbers: [46, 49, 186]
Generated Node #2: [46, 49, 186] from Operation: 62*3=186
Current State: 91:[46, 49, 186], Operations: ['62*3=186']
Exploring Operation: 46+49=95, Resulting Numbers: [186, 95]
Generated Node #3: [186, 95] from Operation: 46+49=95
Current State: 91:[186, 95], Operations: ['62*3=186', '46+49=95']
Exploring Operation: 186-95=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[62, 46, 49, 3], Operations: []
Exploring Operation: 62-49=13, Resulting Numbers: [46, 3, 13]
Generated Node #0,0: 91:[46, 3, 13] Operation: 62-49=13
Exploring Operation: 46+49=95, Resulting Numbers: [62, 3, 95]
Generated Node #0,1: 91:[62, 3, 95] Operation: 46+49=95
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[46, 3, 13], Operations: ['62-49=13']
Exploring Operation: 46-3=43, Resulting Numbers: [13, 43]
Generated Node #0,0,0: 91:[13, 43] Operation: 46-3=43
Exploring Operation: 46-13=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 91:[3, 33] Operation: 46-13=33
Moving to Node #0,0,1
Current State: 91:[3, 33], Operations: ['62-49=13', '46-13=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[13, 43], Operations: ['62-49=13', '46-3=43']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,91 unequal: No Solution
No 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: 91:[62, 3, 95], Operations: ['46+49=95']
Exploring Operation: 62+3=65, Resulting Numbers: [95, 65]
Generated Node #0,1,0: 91:[95, 65] Operation: 62+3=65
Exploring Operation: 95-62=33, Resulting Numbers: [3, 33]
Generated Node #0,1,1: 91:[3, 33] Operation: 95-62=33
Moving to Node #0,1,1
Current State: 91:[3, 33], Operations: ['46+49=95', '95-62=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[95, 65], Operations: ['46+49=95', '62+3=65']
Exploring Operation: 95+65=160, Resulting Numbers: [160]
160,91 unequal: No Solution
Exploring Operation: 95-65=30, Resulting Numbers: [30]
30,91 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 |
[
4,
70,
20,
64
] | 67 | [
"64-4=60",
"60/20=3",
"70-3=67"
] | Current State: 67:[4, 70, 20, 64], Operations: []
Exploring Operation: 64-4=60, Resulting Numbers: [70, 20, 60]
Generated Node #2: [70, 20, 60] from Operation: 64-4=60
Current State: 67:[70, 20, 60], Operations: ['64-4=60']
Exploring Operation: 60/20=3, Resulting Numbers: [70, 3]
Generated Node #3: [70, 3] from Operation: 60/20=3
Current State: 67:[70, 3], Operations: ['64-4=60', '60/20=3']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[4, 70, 20, 64], Operations: []
Exploring Operation: 4*20=80, Resulting Numbers: [70, 64, 80]
Generated Node #0,0: 67:[70, 64, 80] Operation: 4*20=80
Exploring Operation: 70-4=66, Resulting Numbers: [20, 64, 66]
Generated Node #0,1: 67:[20, 64, 66] Operation: 70-4=66
Exploring Operation: 4+20=24, Resulting Numbers: [70, 64, 24]
Generated Node #0,2: 67:[70, 64, 24] Operation: 4+20=24
Exploring Operation: 4+64=68, Resulting Numbers: [70, 20, 68]
Generated Node #0,3: 67:[70, 20, 68] Operation: 4+64=68
Exploring Operation: 4+70=74, Resulting Numbers: [20, 64, 74]
Generated Node #0,4: 67:[20, 64, 74] Operation: 4+70=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[70, 64, 80], Operations: ['4*20=80']
Exploring Operation: 80-64=16, Resulting Numbers: [70, 16]
Generated Node #0,0,0: 67:[70, 16] Operation: 80-64=16
Exploring Operation: 80-70=10, Resulting Numbers: [64, 10]
Generated Node #0,0,1: 67:[64, 10] Operation: 80-70=10
Exploring Operation: 70+64=134, Resulting Numbers: [80, 134]
Generated Node #0,0,2: 67:[80, 134] Operation: 70+64=134
Exploring Operation: 70-64=6, Resulting Numbers: [80, 6]
Generated Node #0,0,3: 67:[80, 6] Operation: 70-64=6
Exploring Operation: 64+80=144, Resulting Numbers: [70, 144]
Generated Node #0,0,4: 67:[70, 144] Operation: 64+80=144
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[70, 16], Operations: ['4*20=80', '80-64=16']
Exploring Operation: 70*16=1120, Resulting Numbers: [1120]
1120,67 unequal: No Solution
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,67 unequal: No Solution
No 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: 67:[64, 10], Operations: ['4*20=80', '80-70=10']
Exploring Operation: 64+10=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,67 unequal: No Solution
Exploring Operation: 64*10=640, Resulting Numbers: [640]
640,67 unequal: No Solution
No 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: 67:[80, 6], Operations: ['4*20=80', '70-64=6']
Exploring Operation: 80*6=480, Resulting Numbers: [480]
480,67 unequal: No Solution
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,67 unequal: No Solution
No 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: 67:[80, 134], Operations: ['4*20=80', '70+64=134']
Exploring Operation: 134-80=54, Resulting Numbers: [54]
54,67 unequal: No Solution
Exploring Operation: 80+134=214, Resulting Numbers: [214]
214,67 unequal: No Solution
Exploring Operation: 80*134=10720, Resulting Numbers: [10720]
10720,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 67:[70, 144], Operations: ['4*20=80', '64+80=144']
Exploring Operation: 70*144=10080, Resulting Numbers: [10080]
10080,67 unequal: No Solution
Exploring Operation: 144-70=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Exploring Operation: 70+144=214, Resulting Numbers: [214]
214,67 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: 67:[70, 64, 24], Operations: ['4+20=24']
Exploring Operation: 70+24=94, Resulting Numbers: [64, 94]
Generated Node #0,2,0: 67:[64, 94] Operation: 70+24=94
Exploring Operation: 64-24=40, Resulting Numbers: [70, 40]
Generated Node #0,2,1: 67:[70, 40] Operation: 64-24=40
Exploring Operation: 70-24=46, Resulting Numbers: [64, 46]
Generated Node #0,2,2: 67:[64, 46] Operation: 70-24=46
Exploring Operation: 64+24=88, Resulting Numbers: [70, 88]
Generated Node #0,2,3: 67:[70, 88] Operation: 64+24=88
Exploring Operation: 70-64=6, Resulting Numbers: [24, 6]
Generated Node #0,2,4: 67:[24, 6] Operation: 70-64=6
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[64, 46], Operations: ['4+20=24', '70-24=46']
Exploring Operation: 64+46=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 64*46=2944, Resulting Numbers: [2944]
2944,67 unequal: No Solution
No 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: 67:[70, 88], Operations: ['4+20=24', '64+24=88']
Exploring Operation: 70*88=6160, Resulting Numbers: [6160]
6160,67 unequal: No Solution
Exploring Operation: 70+88=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,67 unequal: No Solution
No 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: 67:[64, 94], Operations: ['4+20=24', '70+24=94']
Exploring Operation: 64+94=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 64*94=6016, Resulting Numbers: [6016]
6016,67 unequal: No Solution
Exploring Operation: 94-64=30, Resulting Numbers: [30]
30,67 unequal: No Solution
No 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: 67:[70, 40], Operations: ['4+20=24', '64-24=40']
Exploring Operation: 70+40=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 70*40=2800, Resulting Numbers: [2800]
2800,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 67:[24, 6], Operations: ['4+20=24', '70-64=6']
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,67 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,67 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: 67:[20, 64, 66], Operations: ['70-4=66']
Exploring Operation: 20+64=84, Resulting Numbers: [66, 84]
Generated Node #0,1,0: 67:[66, 84] Operation: 20+64=84
Exploring Operation: 64+66=130, Resulting Numbers: [20, 130]
Generated Node #0,1,1: 67:[20, 130] Operation: 64+66=130
Exploring Operation: 64-20=44, Resulting Numbers: [66, 44]
Generated Node #0,1,2: 67:[66, 44] Operation: 64-20=44
Exploring Operation: 20+66=86, Resulting Numbers: [64, 86]
Generated Node #0,1,3: 67:[64, 86] Operation: 20+66=86
Exploring Operation: 66-20=46, Resulting Numbers: [64, 46]
Generated Node #0,1,4: 67:[64, 46] Operation: 66-20=46
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[66, 84], Operations: ['70-4=66', '20+64=84']
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 66+84=150, Resulting Numbers: [150]
150,67 unequal: No Solution
Exploring Operation: 66*84=5544, Resulting Numbers: [5544]
5544,67 unequal: No Solution
No 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: 67:[64, 86], Operations: ['70-4=66', '20+66=86']
Exploring Operation: 64+86=150, Resulting Numbers: [150]
150,67 unequal: No Solution
Exploring Operation: 86-64=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 64*86=5504, Resulting Numbers: [5504]
5504,67 unequal: No Solution
No 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: 67:[66, 44], Operations: ['70-4=66', '64-20=44']
Exploring Operation: 66*44=2904, Resulting Numbers: [2904]
2904,67 unequal: No Solution
Exploring Operation: 66+44=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 67:[64, 46], Operations: ['70-4=66', '66-20=46']
Exploring Operation: 64+46=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 64*46=2944, Resulting Numbers: [2944]
2944,67 unequal: No Solution
No 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: 67:[20, 130], Operations: ['70-4=66', '64+66=130']
Exploring Operation: 20*130=2600, Resulting Numbers: [2600]
2600,67 unequal: No Solution
Exploring Operation: 130-20=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 20+130=150, Resulting Numbers: [150]
150,67 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: 67:[70, 20, 68], Operations: ['4+64=68']
Exploring Operation: 70-20=50, Resulting Numbers: [68, 50]
Generated Node #0,3,0: 67:[68, 50] Operation: 70-20=50
Exploring Operation: 70+20=90, Resulting Numbers: [68, 90]
Generated Node #0,3,1: 67:[68, 90] Operation: 70+20=90
Exploring Operation: 70-68=2, Resulting Numbers: [20, 2]
Generated Node #0,3,2: 67:[20, 2] Operation: 70-68=2
Exploring Operation: 20+68=88, Resulting Numbers: [70, 88]
Generated Node #0,3,3: 67:[70, 88] Operation: 20+68=88
Exploring Operation: 68-20=48, Resulting Numbers: [70, 48]
Generated Node #0,3,4: 67:[70, 48] Operation: 68-20=48
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 67:[68, 50], Operations: ['4+64=68', '70-20=50']
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 68*50=3400, Resulting Numbers: [3400]
3400,67 unequal: No Solution
Exploring Operation: 68+50=118, Resulting Numbers: [118]
118,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 67:[70, 48], Operations: ['4+64=68', '68-20=48']
Exploring Operation: 70+48=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 70*48=3360, Resulting Numbers: [3360]
3360,67 unequal: No Solution
No 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: 67:[68, 90], Operations: ['4+64=68', '70+20=90']
Exploring Operation: 68+90=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 68*90=6120, Resulting Numbers: [6120]
6120,67 unequal: No Solution
No 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: 67:[70, 88], Operations: ['4+64=68', '20+68=88']
Exploring Operation: 70+88=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 70*88=6160, Resulting Numbers: [6160]
6160,67 unequal: No Solution
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,67 unequal: No Solution
No 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: 67:[20, 2], Operations: ['4+64=68', '70-68=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 67:[20, 64, 74], Operations: ['4+70=74']
Exploring Operation: 20+64=84, Resulting Numbers: [74, 84]
Generated Node #0,4,0: 67:[74, 84] Operation: 20+64=84
Exploring Operation: 64-20=44, Resulting Numbers: [74, 44]
Generated Node #0,4,1: 67:[74, 44] Operation: 64-20=44
Exploring Operation: 20+74=94, Resulting Numbers: [64, 94]
Generated Node #0,4,2: 67:[64, 94] Operation: 20+74=94
Exploring Operation: 74-64=10, Resulting Numbers: [20, 10]
Generated Node #0,4,3: 67:[20, 10] Operation: 74-64=10
Exploring Operation: 74-20=54, Resulting Numbers: [64, 54]
Generated Node #0,4,4: 67:[64, 54] Operation: 74-20=54
Moving to Node #0,4,4
Current State: 67:[64, 54], Operations: ['4+70=74', '74-20=54']
Exploring Operation: 64*54=3456, Resulting Numbers: [3456]
3456,67 unequal: No Solution
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 64+54=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[74, 84], Operations: ['4+70=74', '20+64=84']
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 74+84=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 74*84=6216, Resulting Numbers: [6216]
6216,67 unequal: No Solution
Moving to Node #0,4,1
Current State: 67:[74, 44], Operations: ['4+70=74', '64-20=44']
Exploring Operation: 74*44=3256, Resulting Numbers: [3256]
3256,67 unequal: No Solution
Exploring Operation: 74+44=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[64, 94], Operations: ['4+70=74', '20+74=94']
Exploring Operation: 64+94=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 94-64=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 64*94=6016, Resulting Numbers: [6016]
6016,67 unequal: No Solution
Moving to Node #0,4,3
Current State: 67:[20, 10], Operations: ['4+70=74', '74-64=10']
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,67 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,67 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 |
[
18,
97,
65,
51
] | 37 | [
"97-18=79",
"65+51=116",
"116-79=37"
] | Current State: 37:[18, 97, 65, 51], Operations: []
Exploring Operation: 97-18=79, Resulting Numbers: [65, 51, 79]
Generated Node #2: [65, 51, 79] from Operation: 97-18=79
Current State: 37:[65, 51, 79], Operations: ['97-18=79']
Exploring Operation: 65+51=116, Resulting Numbers: [79, 116]
Generated Node #3: [79, 116] from Operation: 65+51=116
Current State: 37:[79, 116], Operations: ['97-18=79', '65+51=116']
Exploring Operation: 116-79=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[18, 97, 65, 51], Operations: []
Exploring Operation: 97-65=32, Resulting Numbers: [18, 51, 32]
Generated Node #0,0: 37:[18, 51, 32] Operation: 97-65=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[18, 51, 32], Operations: ['97-65=32']
Exploring Operation: 51-18=33, Resulting Numbers: [32, 33]
Generated Node #0,0,0: 37:[32, 33] Operation: 51-18=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[32, 33], Operations: ['97-65=32', '51-18=33']
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,37 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 |
[
95,
53,
54,
53
] | 43 | [
"95-53=42",
"54-53=1",
"42+1=43"
] | Current State: 43:[95, 53, 54, 53], Operations: []
Exploring Operation: 95-53=42, Resulting Numbers: [54, 42]
Generated Node #2: [54, 42] from Operation: 95-53=42
Current State: 43:[54, 42], Operations: ['95-53=42']
Exploring Operation: 54-53=1, Resulting Numbers: [42, 1]
Generated Node #3: [42, 1] from Operation: 54-53=1
Current State: 43:[42, 1], Operations: ['95-53=42', '54-53=1']
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[95, 53, 54, 53], Operations: []
Exploring Operation: 95-53=42, Resulting Numbers: [54, 53, 42]
Generated Node #0,0: 43:[54, 53, 42] Operation: 95-53=42
Moving to Node #0,0
Current State: 43:[54, 53, 42], Operations: ['95-53=42']
Exploring Operation: 54-42=12, Resulting Numbers: [53, 12]
Generated Node #0,0,0: 43:[53, 12] Operation: 54-42=12
Moving to Node #0,0,0
Current State: 43:[53, 12], Operations: ['95-53=42', '54-42=12']
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,43 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
28,
31,
47,
97
] | 85 | [
"28+31=59",
"47+97=144",
"144-59=85"
] | Current State: 85:[28, 31, 47, 97], Operations: []
Exploring Operation: 28+31=59, Resulting Numbers: [47, 97, 59]
Generated Node #2: [47, 97, 59] from Operation: 28+31=59
Current State: 85:[47, 97, 59], Operations: ['28+31=59']
Exploring Operation: 47+97=144, Resulting Numbers: [59, 144]
Generated Node #3: [59, 144] from Operation: 47+97=144
Current State: 85:[59, 144], Operations: ['28+31=59', '47+97=144']
Exploring Operation: 144-59=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[28, 31, 47, 97], Operations: []
Exploring Operation: 47-28=19, Resulting Numbers: [31, 97, 19]
Generated Node #0,0: 85:[31, 97, 19] Operation: 47-28=19
Exploring Operation: 47-31=16, Resulting Numbers: [28, 97, 16]
Generated Node #0,1: 85:[28, 97, 16] Operation: 47-31=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[28, 97, 16], Operations: ['47-31=16']
Exploring Operation: 97-28=69, Resulting Numbers: [16, 69]
Generated Node #0,1,0: 85:[16, 69] Operation: 97-28=69
Exploring Operation: 97-16=81, Resulting Numbers: [28, 81]
Generated Node #0,1,1: 85:[28, 81] Operation: 97-16=81
Moving to Node #0,1,1
Current State: 85:[28, 81], Operations: ['47-31=16', '97-16=81']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 28+81=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[16, 69], Operations: ['47-31=16', '97-28=69']
Exploring Operation: 16+69=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[28, 31, 47, 97], Operations: []
Exploring Operation: 47-31=16, Resulting Numbers: [28, 97, 16]
Generated Node #0,1: 85:[28, 97, 16] Operation: 47-31=16
Moving to Node #0,1
Current State: 85:[28, 97, 16], Operations: ['47-31=16']
Exploring Operation: 97-28=69, Resulting Numbers: [16, 69]
Generated Node #0,1,0: 85:[16, 69] Operation: 97-28=69
Moving to Node #0,1,0
Current State: 85:[16, 69], Operations: ['47-31=16', '97-28=69']
Exploring Operation: 16+69=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
61,
85,
68,
4
] | 88 | [
"85-61=24",
"68-4=64",
"24+64=88"
] | Current State: 88:[61, 85, 68, 4], Operations: []
Exploring Operation: 85-61=24, Resulting Numbers: [68, 4, 24]
Generated Node #2: [68, 4, 24] from Operation: 85-61=24
Current State: 88:[68, 4, 24], Operations: ['85-61=24']
Exploring Operation: 68-4=64, Resulting Numbers: [24, 64]
Generated Node #3: [24, 64] from Operation: 68-4=64
Current State: 88:[24, 64], Operations: ['85-61=24', '68-4=64']
Exploring Operation: 24+64=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[61, 85, 68, 4], Operations: []
Exploring Operation: 85-61=24, Resulting Numbers: [68, 4, 24]
Generated Node #0,0: 88:[68, 4, 24] Operation: 85-61=24
Exploring Operation: 68-61=7, Resulting Numbers: [85, 4, 7]
Generated Node #0,1: 88:[85, 4, 7] Operation: 68-61=7
Exploring Operation: 85-68=17, Resulting Numbers: [61, 4, 17]
Generated Node #0,2: 88:[61, 4, 17] Operation: 85-68=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[85, 4, 7], Operations: ['68-61=7']
Exploring Operation: 85+7=92, Resulting Numbers: [4, 92]
Generated Node #0,1,0: 88:[4, 92] Operation: 85+7=92
Exploring Operation: 85+4=89, Resulting Numbers: [7, 89]
Generated Node #0,1,1: 88:[7, 89] Operation: 85+4=89
Exploring Operation: 4+7=11, Resulting Numbers: [85, 11]
Generated Node #0,1,2: 88:[85, 11] Operation: 4+7=11
Moving to Node #0,1,1
Current State: 88:[7, 89], Operations: ['68-61=7', '85+4=89']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 7+89=96, Resulting Numbers: [96]
96,88 unequal: No Solution
Exploring Operation: 7*89=623, Resulting Numbers: [623]
623,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[85, 11], Operations: ['68-61=7', '4+7=11']
Exploring Operation: 85+11=96, Resulting Numbers: [96]
96,88 unequal: No Solution
Exploring Operation: 85*11=935, Resulting Numbers: [935]
935,88 unequal: No Solution
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[4, 92], Operations: ['68-61=7', '85+7=92']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[61, 85, 68, 4], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [85, 4, 7]
Generated Node #0,1: 88:[85, 4, 7] Operation: 68-61=7
Moving to Node #0,1
Current State: 88:[85, 4, 7], Operations: ['68-61=7']
Exploring Operation: 85+7=92, Resulting Numbers: [4, 92]
Generated Node #0,1,0: 88:[4, 92] Operation: 85+7=92
Moving to Node #0,1,0
Current State: 88:[4, 92], Operations: ['68-61=7', '85+7=92']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
81,
63,
14,
16
] | 80 | [
"81+63=144",
"14*16=224",
"224-144=80"
] | Current State: 80:[81, 63, 14, 16], Operations: []
Exploring Operation: 81+63=144, Resulting Numbers: [14, 16, 144]
Generated Node #2: [14, 16, 144] from Operation: 81+63=144
Current State: 80:[14, 16, 144], Operations: ['81+63=144']
Exploring Operation: 14*16=224, Resulting Numbers: [144, 224]
Generated Node #3: [144, 224] from Operation: 14*16=224
Current State: 80:[144, 224], Operations: ['81+63=144', '14*16=224']
Exploring Operation: 224-144=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[81, 63, 14, 16], Operations: []
Exploring Operation: 63+14=77, Resulting Numbers: [81, 16, 77]
Generated Node #0,0: 80:[81, 16, 77] Operation: 63+14=77
Exploring Operation: 81-63=18, Resulting Numbers: [14, 16, 18]
Generated Node #0,1: 80:[14, 16, 18] Operation: 81-63=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[81, 16, 77], Operations: ['63+14=77']
Exploring Operation: 81-77=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 80:[16, 4] Operation: 81-77=4
Exploring Operation: 16+77=93, Resulting Numbers: [81, 93]
Generated Node #0,0,1: 80:[81, 93] Operation: 16+77=93
Moving to Node #0,0,0
Current State: 80:[16, 4], Operations: ['63+14=77', '81-77=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[81, 93], Operations: ['63+14=77', '16+77=93']
Exploring Operation: 81+93=174, Resulting Numbers: [174]
174,80 unequal: No Solution
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,80 unequal: No Solution
No 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: 80:[14, 16, 18], Operations: ['81-63=18']
Exploring Operation: 16-14=2, Resulting Numbers: [18, 2]
Generated Node #0,1,0: 80:[18, 2] Operation: 16-14=2
Exploring Operation: 18-14=4, Resulting Numbers: [16, 4]
Generated Node #0,1,1: 80:[16, 4] Operation: 18-14=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[16, 4], Operations: ['81-63=18', '18-14=4']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[18, 2], Operations: ['81-63=18', '16-14=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,80 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 |
[
22,
40,
26,
38
] | 28 | [
"26-22=4",
"40/4=10",
"38-10=28"
] | Current State: 28:[22, 40, 26, 38], Operations: []
Exploring Operation: 26-22=4, Resulting Numbers: [40, 38, 4]
Generated Node #2: [40, 38, 4] from Operation: 26-22=4
Current State: 28:[40, 38, 4], Operations: ['26-22=4']
Exploring Operation: 40/4=10, Resulting Numbers: [38, 10]
Generated Node #3: [38, 10] from Operation: 40/4=10
Current State: 28:[38, 10], Operations: ['26-22=4', '40/4=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[22, 40, 26, 38], Operations: []
Exploring Operation: 40-38=2, Resulting Numbers: [22, 26, 2]
Generated Node #0,0: 28:[22, 26, 2] Operation: 40-38=2
Exploring Operation: 40-26=14, Resulting Numbers: [22, 38, 14]
Generated Node #0,1: 28:[22, 38, 14] Operation: 40-26=14
Exploring Operation: 38-26=12, Resulting Numbers: [22, 40, 12]
Generated Node #0,2: 28:[22, 40, 12] Operation: 38-26=12
Exploring Operation: 38-22=16, Resulting Numbers: [40, 26, 16]
Generated Node #0,3: 28:[40, 26, 16] Operation: 38-22=16
Exploring Operation: 40-22=18, Resulting Numbers: [26, 38, 18]
Generated Node #0,4: 28:[26, 38, 18] Operation: 40-22=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[22, 26, 2], Operations: ['40-38=2']
Exploring Operation: 26/2=13, Resulting Numbers: [22, 13]
Generated Node #0,0,0: 28:[22, 13] Operation: 26/2=13
Exploring Operation: 26-22=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 28:[2, 4] Operation: 26-22=4
Exploring Operation: 26+2=28, Resulting Numbers: [22, 28]
Generated Node #0,0,2: 28:[22, 28] Operation: 26+2=28
Exploring Operation: 22+2=24, Resulting Numbers: [26, 24]
Generated Node #0,0,3: 28:[26, 24] Operation: 22+2=24
Exploring Operation: 22/2=11, Resulting Numbers: [26, 11]
Generated Node #0,0,4: 28:[26, 11] Operation: 22/2=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[2, 4], Operations: ['40-38=2', '26-22=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 28:[26, 11], Operations: ['40-38=2', '22/2=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,28 unequal: No Solution
No 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: 28:[22, 28], Operations: ['40-38=2', '26+2=28']
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,28 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,28 unequal: No Solution
No 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: 28:[26, 24], Operations: ['40-38=2', '22+2=24']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,28 unequal: No Solution
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,28 unequal: No Solution
No 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: 28:[22, 13], Operations: ['40-38=2', '26/2=13']
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,28 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,28 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: 28:[22, 38, 14], Operations: ['40-26=14']
Exploring Operation: 38-22=16, Resulting Numbers: [14, 16]
Generated Node #0,1,0: 28:[14, 16] Operation: 38-22=16
Exploring Operation: 22+14=36, Resulting Numbers: [38, 36]
Generated Node #0,1,1: 28:[38, 36] Operation: 22+14=36
Exploring Operation: 38+14=52, Resulting Numbers: [22, 52]
Generated Node #0,1,2: 28:[22, 52] Operation: 38+14=52
Exploring Operation: 22-14=8, Resulting Numbers: [38, 8]
Generated Node #0,1,3: 28:[38, 8] Operation: 22-14=8
Exploring Operation: 38-14=24, Resulting Numbers: [22, 24]
Generated Node #0,1,4: 28:[22, 24] Operation: 38-14=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[14, 16], Operations: ['40-26=14', '38-22=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 28:[22, 24], Operations: ['40-26=14', '38-14=24']
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 22*24=528, Resulting Numbers: [528]
528,28 unequal: No Solution
No 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: 28:[38, 8], Operations: ['40-26=14', '22-14=8']
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,28 unequal: No Solution
No 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: 28:[38, 36], Operations: ['40-26=14', '22+14=36']
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,28 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,28 unequal: No Solution
No 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: 28:[22, 52], Operations: ['40-26=14', '38+14=52']
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 22*52=1144, Resulting Numbers: [1144]
1144,28 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: 28:[40, 26, 16], Operations: ['38-22=16']
Exploring Operation: 26-16=10, Resulting Numbers: [40, 10]
Generated Node #0,3,0: 28:[40, 10] Operation: 26-16=10
Exploring Operation: 26+16=42, Resulting Numbers: [40, 42]
Generated Node #0,3,1: 28:[40, 42] Operation: 26+16=42
Exploring Operation: 40-26=14, Resulting Numbers: [16, 14]
Generated Node #0,3,2: 28:[16, 14] Operation: 40-26=14
Exploring Operation: 40+16=56, Resulting Numbers: [26, 56]
Generated Node #0,3,3: 28:[26, 56] Operation: 40+16=56
Exploring Operation: 40-16=24, Resulting Numbers: [26, 24]
Generated Node #0,3,4: 28:[26, 24] Operation: 40-16=24
Moving to Node #0,3,2
Current State: 28:[16, 14], Operations: ['38-22=16', '40-26=14']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,28 unequal: No Solution
Moving to Node #0,3,4
Current State: 28:[26, 24], Operations: ['38-22=16', '40-16=24']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,28 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,28 unequal: No Solution
Moving to Node #0,3,0
Current State: 28:[40, 10], Operations: ['38-22=16', '26-16=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,28 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,28 unequal: No Solution
Moving to Node #0,3,1
Current State: 28:[40, 42], Operations: ['38-22=16', '26+16=42']
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,28 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Moving to Node #0,3,3
Current State: 28:[26, 56], Operations: ['38-22=16', '40+16=56']
Exploring Operation: 26*56=1456, Resulting Numbers: [1456]
1456,28 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 26+56=82, Resulting Numbers: [82]
82,28 unequal: No Solution
No 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: 28:[26, 38, 18], Operations: ['40-22=18']
Exploring Operation: 38+18=56, Resulting Numbers: [26, 56]
Generated Node #0,4,0: 28:[26, 56] Operation: 38+18=56
Exploring Operation: 26-18=8, Resulting Numbers: [38, 8]
Generated Node #0,4,1: 28:[38, 8] Operation: 26-18=8
Exploring Operation: 38-26=12, Resulting Numbers: [18, 12]
Generated Node #0,4,2: 28:[18, 12] Operation: 38-26=12
Exploring Operation: 26+18=44, Resulting Numbers: [38, 44]
Generated Node #0,4,3: 28:[38, 44] Operation: 26+18=44
Exploring Operation: 38-18=20, Resulting Numbers: [26, 20]
Generated Node #0,4,4: 28:[26, 20] Operation: 38-18=20
Moving to Node #0,4,2
Current State: 28:[18, 12], Operations: ['40-22=18', '38-26=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,28 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Moving to Node #0,4,4
Current State: 28:[26, 20], Operations: ['40-22=18', '38-18=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,28 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Moving to Node #0,4,1
Current State: 28:[38, 8], Operations: ['40-22=18', '26-18=8']
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,28 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Moving to Node #0,4,3
Current State: 28:[38, 44], Operations: ['40-22=18', '26+18=44']
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,28 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Moving to Node #0,4,0
Current State: 28:[26, 56], Operations: ['40-22=18', '38+18=56']
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 26*56=1456, Resulting Numbers: [1456]
1456,28 unequal: No Solution
Exploring Operation: 26+56=82, Resulting Numbers: [82]
82,28 unequal: No Solution
No 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: 28:[22, 40, 12], Operations: ['38-26=12']
Exploring Operation: 40-22=18, Resulting Numbers: [12, 18]
Generated Node #0,2,0: 28:[12, 18] Operation: 40-22=18
Exploring Operation: 40+12=52, Resulting Numbers: [22, 52]
Generated Node #0,2,1: 28:[22, 52] Operation: 40+12=52
Exploring Operation: 40-12=28, Resulting Numbers: [22, 28]
Generated Node #0,2,2: 28:[22, 28] Operation: 40-12=28
Exploring Operation: 22+12=34, Resulting Numbers: [40, 34]
Generated Node #0,2,3: 28:[40, 34] Operation: 22+12=34
Exploring Operation: 22-12=10, Resulting Numbers: [40, 10]
Generated Node #0,2,4: 28:[40, 10] Operation: 22-12=10
Moving to Node #0,2,0
Current State: 28:[12, 18], Operations: ['38-26=12', '40-22=18']
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,28 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[22, 28], Operations: ['38-26=12', '40-12=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,28 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,28 unequal: No Solution
Moving to Node #0,2,4
Current State: 28:[40, 10], Operations: ['38-26=12', '22-12=10']
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,28 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,28 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[40, 34], Operations: ['38-26=12', '22+12=34']
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,28 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[22, 52], Operations: ['38-26=12', '40+12=52']
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 22*52=1144, Resulting Numbers: [1144]
1144,28 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
46,
16,
52,
11
] | 78 | [
"46+52=98",
"16*11=176",
"176-98=78"
] | Current State: 78:[46, 16, 52, 11], Operations: []
Exploring Operation: 46+52=98, Resulting Numbers: [16, 11, 98]
Generated Node #2: [16, 11, 98] from Operation: 46+52=98
Current State: 78:[16, 11, 98], Operations: ['46+52=98']
Exploring Operation: 16*11=176, Resulting Numbers: [98, 176]
Generated Node #3: [98, 176] from Operation: 16*11=176
Current State: 78:[98, 176], Operations: ['46+52=98', '16*11=176']
Exploring Operation: 176-98=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[46, 16, 52, 11], Operations: []
Exploring Operation: 52-46=6, Resulting Numbers: [16, 11, 6]
Generated Node #0,0: 78:[16, 11, 6] Operation: 52-46=6
Exploring Operation: 52-16=36, Resulting Numbers: [46, 11, 36]
Generated Node #0,1: 78:[46, 11, 36] Operation: 52-16=36
Moving to Node #0,0
Current State: 78:[16, 11, 6], Operations: ['52-46=6']
Exploring Operation: 16-11=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 78:[6, 5] Operation: 16-11=5
Exploring Operation: 16+11=27, Resulting Numbers: [6, 27]
Generated Node #0,0,1: 78:[6, 27] Operation: 16+11=27
Moving to Node #0,1
Current State: 78:[46, 11, 36], Operations: ['52-16=36']
Exploring Operation: 46-36=10, Resulting Numbers: [11, 10]
Generated Node #0,1,0: 78:[11, 10] Operation: 46-36=10
Exploring Operation: 46+36=82, Resulting Numbers: [11, 82]
Generated Node #0,1,1: 78:[11, 82] Operation: 46+36=82
Moving to Node #0,0,0
Current State: 78:[6, 5], Operations: ['52-46=6', '16-11=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,78 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[6, 27], Operations: ['52-46=6', '16+11=27']
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[11, 10], Operations: ['52-16=36', '46-36=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[11, 82], Operations: ['52-16=36', '46+36=82']
Exploring Operation: 11+82=93, Resulting Numbers: [93]
93,78 unequal: No Solution
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,78 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
3,
45,
92,
31
] | 12 | [
"3*45=135",
"92+31=123",
"135-123=12"
] | Current State: 12:[3, 45, 92, 31], Operations: []
Exploring Operation: 3*45=135, Resulting Numbers: [92, 31, 135]
Generated Node #2: [92, 31, 135] from Operation: 3*45=135
Current State: 12:[92, 31, 135], Operations: ['3*45=135']
Exploring Operation: 92+31=123, Resulting Numbers: [135, 123]
Generated Node #3: [135, 123] from Operation: 92+31=123
Current State: 12:[135, 123], Operations: ['3*45=135', '92+31=123']
Exploring Operation: 135-123=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[3, 45, 92, 31], Operations: []
Exploring Operation: 45-31=14, Resulting Numbers: [3, 92, 14]
Generated Node #0,0: 12:[3, 92, 14] Operation: 45-31=14
Exploring Operation: 92-45=47, Resulting Numbers: [3, 31, 47]
Generated Node #0,1: 12:[3, 31, 47] Operation: 92-45=47
Moving to Node #0,1
Current State: 12:[3, 31, 47], Operations: ['92-45=47']
Exploring Operation: 31-3=28, Resulting Numbers: [47, 28]
Generated Node #0,1,0: 12:[47, 28] Operation: 31-3=28
Exploring Operation: 47-31=16, Resulting Numbers: [3, 16]
Generated Node #0,1,1: 12:[3, 16] Operation: 47-31=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[3, 16], Operations: ['92-45=47', '47-31=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[47, 28], Operations: ['92-45=47', '31-3=28']
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,12 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: 12:[3, 92, 14], Operations: ['45-31=14']
Exploring Operation: 92-14=78, Resulting Numbers: [3, 78]
Generated Node #0,0,0: 12:[3, 78] Operation: 92-14=78
Exploring Operation: 92-3=89, Resulting Numbers: [14, 89]
Generated Node #0,0,1: 12:[14, 89] Operation: 92-3=89
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[3, 78], Operations: ['45-31=14', '92-14=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[14, 89], Operations: ['45-31=14', '92-3=89']
Exploring Operation: 14+89=103, Resulting Numbers: [103]
103,12 unequal: No Solution
Exploring Operation: 89-14=75, Resulting Numbers: [75]
75,12 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 |
[
60,
51,
1,
66
] | 46 | [
"60+51=111",
"66-1=65",
"111-65=46"
] | Current State: 46:[60, 51, 1, 66], Operations: []
Exploring Operation: 60+51=111, Resulting Numbers: [1, 66, 111]
Generated Node #2: [1, 66, 111] from Operation: 60+51=111
Current State: 46:[1, 66, 111], Operations: ['60+51=111']
Exploring Operation: 66-1=65, Resulting Numbers: [111, 65]
Generated Node #3: [111, 65] from Operation: 66-1=65
Current State: 46:[111, 65], Operations: ['60+51=111', '66-1=65']
Exploring Operation: 111-65=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[60, 51, 1, 66], Operations: []
Exploring Operation: 60-1=59, Resulting Numbers: [51, 66, 59]
Generated Node #0,0: 46:[51, 66, 59] Operation: 60-1=59
Exploring Operation: 66-60=6, Resulting Numbers: [51, 1, 6]
Generated Node #0,1: 46:[51, 1, 6] Operation: 66-60=6
Exploring Operation: 51-1=50, Resulting Numbers: [60, 66, 50]
Generated Node #0,2: 46:[60, 66, 50] Operation: 51-1=50
Exploring Operation: 66-51=15, Resulting Numbers: [60, 1, 15]
Generated Node #0,3: 46:[60, 1, 15] Operation: 66-51=15
Exploring Operation: 60-51=9, Resulting Numbers: [1, 66, 9]
Generated Node #0,4: 46:[1, 66, 9] Operation: 60-51=9
Moving to Node #0,1
Current State: 46:[51, 1, 6], Operations: ['66-60=6']
Exploring Operation: 51-6=45, Resulting Numbers: [1, 45]
Generated Node #0,1,0: 46:[1, 45] Operation: 51-6=45
Exploring Operation: 51-1=50, Resulting Numbers: [6, 50]
Generated Node #0,1,1: 46:[6, 50] Operation: 51-1=50
Exploring Operation: 51/1=51, Resulting Numbers: [6, 51]
Generated Node #0,1,2: 46:[6, 51] Operation: 51/1=51
Exploring Operation: 6-1=5, Resulting Numbers: [51, 5]
Generated Node #0,1,3: 46:[51, 5] Operation: 6-1=5
Exploring Operation: 51*1=51, Resulting Numbers: [6, 51]
Generated Node #0,1,4: 46:[6, 51] Operation: 51*1=51
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[1, 45], Operations: ['66-60=6', '51-6=45']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[60, 51, 1, 66], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [51, 1, 6]
Generated Node #0,1: 46:[51, 1, 6] Operation: 66-60=6
Moving to Node #0,1
Current State: 46:[51, 1, 6], Operations: ['66-60=6']
Exploring Operation: 51-6=45, Resulting Numbers: [1, 45]
Generated Node #0,1,0: 46:[1, 45] Operation: 51-6=45
Moving to Node #0,1,0
Current State: 46:[1, 45], Operations: ['66-60=6', '51-6=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.