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 |
|---|---|---|---|---|---|---|---|---|
[
87,
64,
12,
79
] | 20 | [
"87-79=8",
"64/8=8",
"12+8=20"
] | Current State: 20:[87, 64, 12, 79], Operations: []
Exploring Operation: 87-79=8, Resulting Numbers: [64, 12, 8]
Generated Node #2: [64, 12, 8] from Operation: 87-79=8
Current State: 20:[64, 12, 8], Operations: ['87-79=8']
Exploring Operation: 64/8=8, Resulting Numbers: [12, 8]
Generated Node #3: [12, 8] from Operation: 64/8=8
Current State: 20:[12, 8], Operations: ['87-79=8', '64/8=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[87, 64, 12, 79], Operations: []
Exploring Operation: 87-64=23, Resulting Numbers: [12, 79, 23]
Generated Node #0,0: 20:[12, 79, 23] Operation: 87-64=23
Exploring Operation: 79-64=15, Resulting Numbers: [87, 12, 15]
Generated Node #0,1: 20:[87, 12, 15] Operation: 79-64=15
Exploring Operation: 87-79=8, Resulting Numbers: [64, 12, 8]
Generated Node #0,2: 20:[64, 12, 8] Operation: 87-79=8
Moving to Node #0,2
Current State: 20:[64, 12, 8], Operations: ['87-79=8']
Exploring Operation: 64/8=8, Resulting Numbers: [12, 8]
Generated Node #0,2,0: 20:[12, 8] Operation: 64/8=8
Exploring Operation: 64-12=52, Resulting Numbers: [8, 52]
Generated Node #0,2,1: 20:[8, 52] Operation: 64-12=52
Exploring Operation: 64-8=56, Resulting Numbers: [12, 56]
Generated Node #0,2,2: 20:[12, 56] Operation: 64-8=56
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[12, 8], Operations: ['87-79=8', '64/8=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[87, 64, 12, 79], Operations: []
Exploring Operation: 87-79=8, Resulting Numbers: [64, 12, 8]
Generated Node #0,2: 20:[64, 12, 8] Operation: 87-79=8
Moving to Node #0,2
Current State: 20:[64, 12, 8], Operations: ['87-79=8']
Exploring Operation: 64/8=8, Resulting Numbers: [12, 8]
Generated Node #0,2,0: 20:[12, 8] Operation: 64/8=8
Moving to Node #0,2,0
Current State: 20:[12, 8], Operations: ['87-79=8', '64/8=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
55,
66,
44,
53
] | 47 | [
"55-44=11",
"66/11=6",
"53-6=47"
] | Current State: 47:[55, 66, 44, 53], Operations: []
Exploring Operation: 55-44=11, Resulting Numbers: [66, 53, 11]
Generated Node #2: [66, 53, 11] from Operation: 55-44=11
Current State: 47:[66, 53, 11], Operations: ['55-44=11']
Exploring Operation: 66/11=6, Resulting Numbers: [53, 6]
Generated Node #3: [53, 6] from Operation: 66/11=6
Current State: 47:[53, 6], Operations: ['55-44=11', '66/11=6']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[55, 66, 44, 53], Operations: []
Exploring Operation: 66-55=11, Resulting Numbers: [44, 53, 11]
Generated Node #0,0: 47:[44, 53, 11] Operation: 66-55=11
Exploring Operation: 66-44=22, Resulting Numbers: [55, 53, 22]
Generated Node #0,1: 47:[55, 53, 22] Operation: 66-44=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[55, 53, 22], Operations: ['66-44=22']
Exploring Operation: 53-22=31, Resulting Numbers: [55, 31]
Generated Node #0,1,0: 47:[55, 31] Operation: 53-22=31
Exploring Operation: 55-22=33, Resulting Numbers: [53, 33]
Generated Node #0,1,1: 47:[53, 33] Operation: 55-22=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[53, 33], Operations: ['66-44=22', '55-22=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,47 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,47 unequal: No Solution
No 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: 47:[55, 31], Operations: ['66-44=22', '53-22=31']
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[44, 53, 11], Operations: ['66-55=11']
Exploring Operation: 53-11=42, Resulting Numbers: [44, 42]
Generated Node #0,0,0: 47:[44, 42] Operation: 53-11=42
Exploring Operation: 44+11=55, Resulting Numbers: [53, 55]
Generated Node #0,0,1: 47:[53, 55] Operation: 44+11=55
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[44, 42], Operations: ['66-55=11', '53-11=42']
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,47 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,47 unequal: No Solution
No 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: 47:[53, 55], Operations: ['66-55=11', '44+11=55']
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 53+55=108, Resulting Numbers: [108]
108,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
66,
1,
27,
2
] | 93 | [
"66+27=93",
"2-1=1",
"93*1=93"
] | Current State: 93:[66, 1, 27, 2], Operations: []
Exploring Operation: 66+27=93, Resulting Numbers: [1, 2, 93]
Generated Node #2: [1, 2, 93] from Operation: 66+27=93
Current State: 93:[1, 2, 93], Operations: ['66+27=93']
Exploring Operation: 2-1=1, Resulting Numbers: [93, 1]
Generated Node #3: [93, 1] from Operation: 2-1=1
Current State: 93:[93, 1], Operations: ['66+27=93', '2-1=1']
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[66, 1, 27, 2], Operations: []
Exploring Operation: 66+27=93, Resulting Numbers: [1, 2, 93]
Generated Node #0,0: 93:[1, 2, 93] Operation: 66+27=93
Exploring Operation: 66/2=33, Resulting Numbers: [1, 27, 33]
Generated Node #0,1: 93:[1, 27, 33] Operation: 66/2=33
Moving to Node #0,0
Current State: 93:[1, 2, 93], Operations: ['66+27=93']
Exploring Operation: 1+2=3, Resulting Numbers: [93, 3]
Generated Node #0,0,0: 93:[93, 3] Operation: 1+2=3
Exploring Operation: 1*2=2, Resulting Numbers: [93, 2]
Generated Node #0,0,1: 93:[93, 2] Operation: 1*2=2
Moving to Node #0,1
Current State: 93:[1, 27, 33], Operations: ['66/2=33']
Exploring Operation: 1+27=28, Resulting Numbers: [33, 28]
Generated Node #0,1,0: 93:[33, 28] Operation: 1+27=28
Exploring Operation: 33-1=32, Resulting Numbers: [27, 32]
Generated Node #0,1,1: 93:[27, 32] Operation: 33-1=32
Moving to Node #0,0,0
Current State: 93:[93, 3], Operations: ['66+27=93', '1+2=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[93, 2], Operations: ['66+27=93', '1*2=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[27, 32], Operations: ['66/2=33', '33-1=32']
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[33, 28], Operations: ['66/2=33', '1+27=28']
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,93 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
32,
61,
41
] | 92 | [
"61-41=20",
"3*20=60",
"32+60=92"
] | Current State: 92:[3, 32, 61, 41], Operations: []
Exploring Operation: 61-41=20, Resulting Numbers: [3, 32, 20]
Generated Node #2: [3, 32, 20] from Operation: 61-41=20
Current State: 92:[3, 32, 20], Operations: ['61-41=20']
Exploring Operation: 3*20=60, Resulting Numbers: [32, 60]
Generated Node #3: [32, 60] from Operation: 3*20=60
Current State: 92:[32, 60], Operations: ['61-41=20', '3*20=60']
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[3, 32, 61, 41], Operations: []
Exploring Operation: 41-32=9, Resulting Numbers: [3, 61, 9]
Generated Node #0,0: 92:[3, 61, 9] Operation: 41-32=9
Exploring Operation: 61-41=20, Resulting Numbers: [3, 32, 20]
Generated Node #0,1: 92:[3, 32, 20] Operation: 61-41=20
Exploring Operation: 61+41=102, Resulting Numbers: [3, 32, 102]
Generated Node #0,2: 92:[3, 32, 102] Operation: 61+41=102
Exploring Operation: 61-32=29, Resulting Numbers: [3, 41, 29]
Generated Node #0,3: 92:[3, 41, 29] Operation: 61-32=29
Exploring Operation: 32+61=93, Resulting Numbers: [3, 41, 93]
Generated Node #0,4: 92:[3, 41, 93] Operation: 32+61=93
Start Sub Search at level 1: Moving to Node #0,4
Current State: 92:[3, 41, 93], Operations: ['32+61=93']
Exploring Operation: 41-3=38, Resulting Numbers: [93, 38]
Generated Node #0,4,0: 92:[93, 38] Operation: 41-3=38
Exploring Operation: 93-41=52, Resulting Numbers: [3, 52]
Generated Node #0,4,1: 92:[3, 52] Operation: 93-41=52
Exploring Operation: 93-3=90, Resulting Numbers: [41, 90]
Generated Node #0,4,2: 92:[41, 90] Operation: 93-3=90
Exploring Operation: 3+93=96, Resulting Numbers: [41, 96]
Generated Node #0,4,3: 92:[41, 96] Operation: 3+93=96
Exploring Operation: 3+41=44, Resulting Numbers: [93, 44]
Generated Node #0,4,4: 92:[93, 44] Operation: 3+41=44
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 92:[93, 44], Operations: ['32+61=93', '3+41=44']
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 93+44=137, Resulting Numbers: [137]
137,92 unequal: No Solution
Exploring Operation: 93*44=4092, Resulting Numbers: [4092]
4092,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 92:[3, 52], Operations: ['32+61=93', '93-41=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,92 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 92:[41, 90], Operations: ['32+61=93', '93-3=90']
Exploring Operation: 41+90=131, Resulting Numbers: [131]
131,92 unequal: No Solution
Exploring Operation: 41*90=3690, Resulting Numbers: [3690]
3690,92 unequal: No Solution
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 92:[93, 38], Operations: ['32+61=93', '41-3=38']
Exploring Operation: 93*38=3534, Resulting Numbers: [3534]
3534,92 unequal: No Solution
Exploring Operation: 93-38=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 93+38=131, Resulting Numbers: [131]
131,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 92:[41, 96], Operations: ['32+61=93', '3+93=96']
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 41*96=3936, Resulting Numbers: [3936]
3936,92 unequal: No Solution
Exploring Operation: 41+96=137, Resulting Numbers: [137]
137,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[3, 41, 29], Operations: ['61-32=29']
Exploring Operation: 29-3=26, Resulting Numbers: [41, 26]
Generated Node #0,3,0: 92:[41, 26] Operation: 29-3=26
Exploring Operation: 41-3=38, Resulting Numbers: [29, 38]
Generated Node #0,3,1: 92:[29, 38] Operation: 41-3=38
Exploring Operation: 3+41=44, Resulting Numbers: [29, 44]
Generated Node #0,3,2: 92:[29, 44] Operation: 3+41=44
Exploring Operation: 3*29=87, Resulting Numbers: [41, 87]
Generated Node #0,3,3: 92:[41, 87] Operation: 3*29=87
Exploring Operation: 41-29=12, Resulting Numbers: [3, 12]
Generated Node #0,3,4: 92:[3, 12] Operation: 41-29=12
Moving to Node #0,3,0
Current State: 92:[41, 26], Operations: ['61-32=29', '29-3=26']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 41*26=1066, Resulting Numbers: [1066]
1066,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[29, 44], Operations: ['61-32=29', '3+41=44']
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 29+44=73, Resulting Numbers: [73]
73,92 unequal: No Solution
Exploring Operation: 29*44=1276, Resulting Numbers: [1276]
1276,92 unequal: No Solution
Moving to Node #0,3,4
Current State: 92:[3, 12], Operations: ['61-32=29', '41-29=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[41, 87], Operations: ['61-32=29', '3*29=87']
Exploring Operation: 41+87=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 87-41=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 41*87=3567, Resulting Numbers: [3567]
3567,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[29, 38], Operations: ['61-32=29', '41-3=38']
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[3, 32, 20], Operations: ['61-41=20']
Exploring Operation: 32-3=29, Resulting Numbers: [20, 29]
Generated Node #0,1,0: 92:[20, 29] Operation: 32-3=29
Exploring Operation: 32-20=12, Resulting Numbers: [3, 12]
Generated Node #0,1,1: 92:[3, 12] Operation: 32-20=12
Exploring Operation: 32+20=52, Resulting Numbers: [3, 52]
Generated Node #0,1,2: 92:[3, 52] Operation: 32+20=52
Exploring Operation: 3+20=23, Resulting Numbers: [32, 23]
Generated Node #0,1,3: 92:[32, 23] Operation: 3+20=23
Exploring Operation: 3*32=96, Resulting Numbers: [20, 96]
Generated Node #0,1,4: 92:[20, 96] Operation: 3*32=96
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 92:[3, 52], Operations: ['61-41=20', '32+20=52']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 92:[20, 96], Operations: ['61-41=20', '3*32=96']
Exploring Operation: 20*96=1920, Resulting Numbers: [1920]
1920,92 unequal: No Solution
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 20+96=116, Resulting Numbers: [116]
116,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[20, 29], Operations: ['61-41=20', '32-3=29']
Exploring Operation: 20*29=580, Resulting Numbers: [580]
580,92 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 20+29=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[3, 12], Operations: ['61-41=20', '32-20=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 92:[32, 23], Operations: ['61-41=20', '3+20=23']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,92 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[3, 32, 102], Operations: ['61+41=102']
Exploring Operation: 102-3=99, Resulting Numbers: [32, 99]
Generated Node #0,2,0: 92:[32, 99] Operation: 102-3=99
Exploring Operation: 3*32=96, Resulting Numbers: [102, 96]
Generated Node #0,2,1: 92:[102, 96] Operation: 3*32=96
Exploring Operation: 102/3=34, Resulting Numbers: [32, 34]
Generated Node #0,2,2: 92:[32, 34] Operation: 102/3=34
Exploring Operation: 3+32=35, Resulting Numbers: [102, 35]
Generated Node #0,2,3: 92:[102, 35] Operation: 3+32=35
Exploring Operation: 32-3=29, Resulting Numbers: [102, 29]
Generated Node #0,2,4: 92:[102, 29] Operation: 32-3=29
Moving to Node #0,2,1
Current State: 92:[102, 96], Operations: ['61+41=102', '3*32=96']
Exploring Operation: 102*96=9792, Resulting Numbers: [9792]
9792,92 unequal: No Solution
Exploring Operation: 102-96=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 102+96=198, Resulting Numbers: [198]
198,92 unequal: No Solution
Moving to Node #0,2,4
Current State: 92:[102, 29], Operations: ['61+41=102', '32-3=29']
Exploring Operation: 102+29=131, Resulting Numbers: [131]
131,92 unequal: No Solution
Exploring Operation: 102-29=73, Resulting Numbers: [73]
73,92 unequal: No Solution
Exploring Operation: 102*29=2958, Resulting Numbers: [2958]
2958,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[32, 99], Operations: ['61+41=102', '102-3=99']
Exploring Operation: 32+99=131, Resulting Numbers: [131]
131,92 unequal: No Solution
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 32*99=3168, Resulting Numbers: [3168]
3168,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[32, 34], Operations: ['61+41=102', '102/3=34']
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,92 unequal: No Solution
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[102, 35], Operations: ['61+41=102', '3+32=35']
Exploring Operation: 102+35=137, Resulting Numbers: [137]
137,92 unequal: No Solution
Exploring Operation: 102*35=3570, Resulting Numbers: [3570]
3570,92 unequal: No Solution
Exploring Operation: 102-35=67, Resulting Numbers: [67]
67,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[3, 61, 9], Operations: ['41-32=9']
Exploring Operation: 3*9=27, Resulting Numbers: [61, 27]
Generated Node #0,0,0: 92:[61, 27] Operation: 3*9=27
Exploring Operation: 61-9=52, Resulting Numbers: [3, 52]
Generated Node #0,0,1: 92:[3, 52] Operation: 61-9=52
Exploring Operation: 9/3=3, Resulting Numbers: [61, 3]
Generated Node #0,0,2: 92:[61, 3] Operation: 9/3=3
Exploring Operation: 61-3=58, Resulting Numbers: [9, 58]
Generated Node #0,0,3: 92:[9, 58] Operation: 61-3=58
Exploring Operation: 9-3=6, Resulting Numbers: [61, 6]
Generated Node #0,0,4: 92:[61, 6] Operation: 9-3=6
Moving to Node #0,0,1
Current State: 92:[3, 52], Operations: ['41-32=9', '61-9=52']
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,92 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[61, 3], Operations: ['41-32=9', '9/3=3']
Exploring Operation: 61*3=183, Resulting Numbers: [183]
183,92 unequal: No Solution
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[9, 58], Operations: ['41-32=9', '61-3=58']
Exploring Operation: 9*58=522, Resulting Numbers: [522]
522,92 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 9+58=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Moving to Node #0,0,4
Current State: 92:[61, 6], Operations: ['41-32=9', '9-3=6']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 61*6=366, Resulting Numbers: [366]
366,92 unequal: No Solution
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[61, 27], Operations: ['41-32=9', '3*9=27']
Exploring Operation: 61+27=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 61*27=1647, Resulting Numbers: [1647]
1647,92 unequal: No Solution
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,92 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 |
[
82,
99,
74,
83
] | 25 | [
"83-82=1",
"99-74=25",
"1*25=25"
] | Current State: 25:[82, 99, 74, 83], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [99, 74, 1]
Generated Node #2: [99, 74, 1] from Operation: 83-82=1
Current State: 25:[99, 74, 1], Operations: ['83-82=1']
Exploring Operation: 99-74=25, Resulting Numbers: [1, 25]
Generated Node #3: [1, 25] from Operation: 99-74=25
Current State: 25:[1, 25], Operations: ['83-82=1', '99-74=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[82, 99, 74, 83], Operations: []
Exploring Operation: 99-83=16, Resulting Numbers: [82, 74, 16]
Generated Node #0,0: 25:[82, 74, 16] Operation: 99-83=16
Exploring Operation: 83-82=1, Resulting Numbers: [99, 74, 1]
Generated Node #0,1: 25:[99, 74, 1] Operation: 83-82=1
Exploring Operation: 99-82=17, Resulting Numbers: [74, 83, 17]
Generated Node #0,2: 25:[74, 83, 17] Operation: 99-82=17
Exploring Operation: 99-74=25, Resulting Numbers: [82, 83, 25]
Generated Node #0,3: 25:[82, 83, 25] Operation: 99-74=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[82, 74, 16], Operations: ['99-83=16']
Exploring Operation: 82+16=98, Resulting Numbers: [74, 98]
Generated Node #0,0,0: 25:[74, 98] Operation: 82+16=98
Exploring Operation: 82-16=66, Resulting Numbers: [74, 66]
Generated Node #0,0,1: 25:[74, 66] Operation: 82-16=66
Exploring Operation: 74-16=58, Resulting Numbers: [82, 58]
Generated Node #0,0,2: 25:[82, 58] Operation: 74-16=58
Exploring Operation: 82-74=8, Resulting Numbers: [16, 8]
Generated Node #0,0,3: 25:[16, 8] Operation: 82-74=8
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 25:[16, 8], Operations: ['99-83=16', '82-74=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,25 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[74, 66], Operations: ['99-83=16', '82-16=66']
Exploring Operation: 74+66=140, Resulting Numbers: [140]
140,25 unequal: No Solution
Exploring Operation: 74*66=4884, Resulting Numbers: [4884]
4884,25 unequal: No Solution
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[82, 58], Operations: ['99-83=16', '74-16=58']
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 82+58=140, Resulting Numbers: [140]
140,25 unequal: No Solution
Exploring Operation: 82*58=4756, Resulting Numbers: [4756]
4756,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[74, 98], Operations: ['99-83=16', '82+16=98']
Exploring Operation: 98-74=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 74*98=7252, Resulting Numbers: [7252]
7252,25 unequal: No Solution
Exploring Operation: 74+98=172, Resulting Numbers: [172]
172,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[74, 83, 17], Operations: ['99-82=17']
Exploring Operation: 74+17=91, Resulting Numbers: [83, 91]
Generated Node #0,2,0: 25:[83, 91] Operation: 74+17=91
Exploring Operation: 83-17=66, Resulting Numbers: [74, 66]
Generated Node #0,2,1: 25:[74, 66] Operation: 83-17=66
Exploring Operation: 83-74=9, Resulting Numbers: [17, 9]
Generated Node #0,2,2: 25:[17, 9] Operation: 83-74=9
Exploring Operation: 74-17=57, Resulting Numbers: [83, 57]
Generated Node #0,2,3: 25:[83, 57] Operation: 74-17=57
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 25:[17, 9], Operations: ['99-82=17', '83-74=9']
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,25 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 25:[74, 66], Operations: ['99-82=17', '83-17=66']
Exploring Operation: 74*66=4884, Resulting Numbers: [4884]
4884,25 unequal: No Solution
Exploring Operation: 74+66=140, Resulting Numbers: [140]
140,25 unequal: No Solution
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 25:[83, 57], Operations: ['99-82=17', '74-17=57']
Exploring Operation: 83+57=140, Resulting Numbers: [140]
140,25 unequal: No Solution
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 83*57=4731, Resulting Numbers: [4731]
4731,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 25:[83, 91], Operations: ['99-82=17', '74+17=91']
Exploring Operation: 91-83=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 83*91=7553, Resulting Numbers: [7553]
7553,25 unequal: No Solution
Exploring Operation: 83+91=174, Resulting Numbers: [174]
174,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[82, 83, 25], Operations: ['99-74=25']
Exploring Operation: 82+83=165, Resulting Numbers: [25, 165]
Generated Node #0,3,0: 25:[25, 165] Operation: 82+83=165
Exploring Operation: 82-25=57, Resulting Numbers: [83, 57]
Generated Node #0,3,1: 25:[83, 57] Operation: 82-25=57
Exploring Operation: 83-82=1, Resulting Numbers: [25, 1]
Generated Node #0,3,2: 25:[25, 1] Operation: 83-82=1
Exploring Operation: 83-25=58, Resulting Numbers: [82, 58]
Generated Node #0,3,3: 25:[82, 58] Operation: 83-25=58
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 25:[25, 1], Operations: ['99-74=25', '83-82=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[82, 99, 74, 83], Operations: []
Exploring Operation: 99-74=25, Resulting Numbers: [82, 83, 25]
Generated Node #0,3: 25:[82, 83, 25] Operation: 99-74=25
Moving to Node #0,3
Current State: 25:[82, 83, 25], Operations: ['99-74=25']
Exploring Operation: 83-82=1, Resulting Numbers: [25, 1]
Generated Node #0,3,2: 25:[25, 1] Operation: 83-82=1
Moving to Node #0,3,2
Current State: 25:[25, 1], Operations: ['99-74=25', '83-82=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 | hs_4 | sum_heuristic |
[
84,
12,
44,
82
] | 20 | [
"84-82=2",
"12*2=24",
"44-24=20"
] | Current State: 20:[84, 12, 44, 82], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [12, 44, 2]
Generated Node #2: [12, 44, 2] from Operation: 84-82=2
Current State: 20:[12, 44, 2], Operations: ['84-82=2']
Exploring Operation: 12*2=24, Resulting Numbers: [44, 24]
Generated Node #3: [44, 24] from Operation: 12*2=24
Current State: 20:[44, 24], Operations: ['84-82=2', '12*2=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[84, 12, 44, 82], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [12, 44, 2]
Generated Node #0,0: 20:[12, 44, 2] Operation: 84-82=2
Exploring Operation: 82-44=38, Resulting Numbers: [84, 12, 38]
Generated Node #0,1: 20:[84, 12, 38] Operation: 82-44=38
Exploring Operation: 84-44=40, Resulting Numbers: [12, 82, 40]
Generated Node #0,2: 20:[12, 82, 40] Operation: 84-44=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[12, 44, 2], Operations: ['84-82=2']
Exploring Operation: 44-12=32, Resulting Numbers: [2, 32]
Generated Node #0,0,0: 20:[2, 32] Operation: 44-12=32
Exploring Operation: 44/2=22, Resulting Numbers: [12, 22]
Generated Node #0,0,1: 20:[12, 22] Operation: 44/2=22
Exploring Operation: 12-2=10, Resulting Numbers: [44, 10]
Generated Node #0,0,2: 20:[44, 10] Operation: 12-2=10
Moving to Node #0,0,1
Current State: 20:[12, 22], Operations: ['84-82=2', '44/2=22']
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,20 unequal: No Solution
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[2, 32], Operations: ['84-82=2', '44-12=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[44, 10], Operations: ['84-82=2', '12-2=10']
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,20 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,20 unequal: No Solution
No 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: 20:[84, 12, 38], Operations: ['82-44=38']
Exploring Operation: 84/12=7, Resulting Numbers: [38, 7]
Generated Node #0,1,0: 20:[38, 7] Operation: 84/12=7
Exploring Operation: 84-38=46, Resulting Numbers: [12, 46]
Generated Node #0,1,1: 20:[12, 46] Operation: 84-38=46
Exploring Operation: 84-12=72, Resulting Numbers: [38, 72]
Generated Node #0,1,2: 20:[38, 72] Operation: 84-12=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[38, 7], Operations: ['82-44=38', '84/12=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,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,1,1
Current State: 20:[12, 46], Operations: ['82-44=38', '84-38=46']
Exploring Operation: 12*46=552, Resulting Numbers: [552]
552,20 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,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,1,2
Current State: 20:[38, 72], Operations: ['82-44=38', '84-12=72']
Exploring Operation: 38*72=2736, Resulting Numbers: [2736]
2736,20 unequal: No Solution
Exploring Operation: 38+72=110, Resulting Numbers: [110]
110,20 unequal: No Solution
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,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,2
Current State: 20:[12, 82, 40], Operations: ['84-44=40']
Exploring Operation: 82-40=42, Resulting Numbers: [12, 42]
Generated Node #0,2,0: 20:[12, 42] Operation: 82-40=42
Exploring Operation: 82-12=70, Resulting Numbers: [40, 70]
Generated Node #0,2,1: 20:[40, 70] Operation: 82-12=70
Exploring Operation: 40-12=28, Resulting Numbers: [82, 28]
Generated Node #0,2,2: 20:[82, 28] Operation: 40-12=28
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 20:[12, 42], Operations: ['84-44=40', '82-40=42']
Exploring Operation: 12+42=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 12*42=504, Resulting Numbers: [504]
504,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:[40, 70], Operations: ['84-44=40', '82-12=70']
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 40+70=110, Resulting Numbers: [110]
110,20 unequal: No Solution
Exploring Operation: 40*70=2800, Resulting Numbers: [2800]
2800,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,2
Current State: 20:[82, 28], Operations: ['84-44=40', '40-12=28']
Exploring Operation: 82+28=110, Resulting Numbers: [110]
110,20 unequal: No Solution
Exploring Operation: 82*28=2296, Resulting Numbers: [2296]
2296,20 unequal: No Solution
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
17,
34,
72,
29
] | 14 | [
"34/17=2",
"29*2=58",
"72-58=14"
] | Current State: 14:[17, 34, 72, 29], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [72, 29, 2]
Generated Node #2: [72, 29, 2] from Operation: 34/17=2
Current State: 14:[72, 29, 2], Operations: ['34/17=2']
Exploring Operation: 29*2=58, Resulting Numbers: [72, 58]
Generated Node #3: [72, 58] from Operation: 29*2=58
Current State: 14:[72, 58], Operations: ['34/17=2', '29*2=58']
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[17, 34, 72, 29], Operations: []
Exploring Operation: 72-34=38, Resulting Numbers: [17, 29, 38]
Generated Node #0,0: 14:[17, 29, 38] Operation: 72-34=38
Moving to Node #0,0
Current State: 14:[17, 29, 38], Operations: ['72-34=38']
Exploring Operation: 38-29=9, Resulting Numbers: [17, 9]
Generated Node #0,0,0: 14:[17, 9] Operation: 38-29=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[17, 9], Operations: ['72-34=38', '38-29=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,14 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 |
[
44,
80,
64,
56
] | 54 | [
"64-56=8",
"80/8=10",
"44+10=54"
] | Current State: 54:[44, 80, 64, 56], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [44, 80, 8]
Generated Node #2: [44, 80, 8] from Operation: 64-56=8
Current State: 54:[44, 80, 8], Operations: ['64-56=8']
Exploring Operation: 80/8=10, Resulting Numbers: [44, 10]
Generated Node #3: [44, 10] from Operation: 80/8=10
Current State: 54:[44, 10], Operations: ['64-56=8', '80/8=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[44, 80, 64, 56], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [44, 80, 8]
Generated Node #0,0: 54:[44, 80, 8] Operation: 64-56=8
Exploring Operation: 64-44=20, Resulting Numbers: [80, 56, 20]
Generated Node #0,1: 54:[80, 56, 20] Operation: 64-44=20
Exploring Operation: 80-44=36, Resulting Numbers: [64, 56, 36]
Generated Node #0,2: 54:[64, 56, 36] Operation: 80-44=36
Exploring Operation: 80-64=16, Resulting Numbers: [44, 56, 16]
Generated Node #0,3: 54:[44, 56, 16] Operation: 80-64=16
Exploring Operation: 80-56=24, Resulting Numbers: [44, 64, 24]
Generated Node #0,4: 54:[44, 64, 24] Operation: 80-56=24
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[44, 56, 16], Operations: ['80-64=16']
Exploring Operation: 56-44=12, Resulting Numbers: [16, 12]
Generated Node #0,3,0: 54:[16, 12] Operation: 56-44=12
Exploring Operation: 44+16=60, Resulting Numbers: [56, 60]
Generated Node #0,3,1: 54:[56, 60] Operation: 44+16=60
Exploring Operation: 56-16=40, Resulting Numbers: [44, 40]
Generated Node #0,3,2: 54:[44, 40] Operation: 56-16=40
Exploring Operation: 44-16=28, Resulting Numbers: [56, 28]
Generated Node #0,3,3: 54:[56, 28] Operation: 44-16=28
Exploring Operation: 56+16=72, Resulting Numbers: [44, 72]
Generated Node #0,3,4: 54:[44, 72] Operation: 56+16=72
Moving to Node #0,3,3
Current State: 54:[56, 28], Operations: ['80-64=16', '44-16=28']
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,54 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[16, 12], Operations: ['80-64=16', '56-44=12']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[56, 60], Operations: ['80-64=16', '44+16=60']
Exploring Operation: 56+60=116, Resulting Numbers: [116]
116,54 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 56*60=3360, Resulting Numbers: [3360]
3360,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[44, 40], Operations: ['80-64=16', '56-16=40']
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,54 unequal: No Solution
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Moving to Node #0,3,4
Current State: 54:[44, 72], Operations: ['80-64=16', '56+16=72']
Exploring Operation: 44+72=116, Resulting Numbers: [116]
116,54 unequal: No Solution
Exploring Operation: 44*72=3168, Resulting Numbers: [3168]
3168,54 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[64, 56, 36], Operations: ['80-44=36']
Exploring Operation: 64-36=28, Resulting Numbers: [56, 28]
Generated Node #0,2,0: 54:[56, 28] Operation: 64-36=28
Exploring Operation: 56-36=20, Resulting Numbers: [64, 20]
Generated Node #0,2,1: 54:[64, 20] Operation: 56-36=20
Exploring Operation: 64+36=100, Resulting Numbers: [56, 100]
Generated Node #0,2,2: 54:[56, 100] Operation: 64+36=100
Exploring Operation: 64-56=8, Resulting Numbers: [36, 8]
Generated Node #0,2,3: 54:[36, 8] Operation: 64-56=8
Exploring Operation: 56+36=92, Resulting Numbers: [64, 92]
Generated Node #0,2,4: 54:[64, 92] Operation: 56+36=92
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 54:[56, 28], Operations: ['80-44=36', '64-36=28']
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 54:[36, 8], Operations: ['80-44=36', '64-56=8']
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,54 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 54:[64, 20], Operations: ['80-44=36', '56-36=20']
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 64*20=1280, Resulting Numbers: [1280]
1280,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[56, 100], Operations: ['80-44=36', '64+36=100']
Exploring Operation: 56+100=156, Resulting Numbers: [156]
156,54 unequal: No Solution
Exploring Operation: 100-56=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 56*100=5600, Resulting Numbers: [5600]
5600,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 54:[64, 92], Operations: ['80-44=36', '56+36=92']
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 64+92=156, Resulting Numbers: [156]
156,54 unequal: No Solution
Exploring Operation: 64*92=5888, Resulting Numbers: [5888]
5888,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 54:[44, 64, 24], Operations: ['80-56=24']
Exploring Operation: 64-24=40, Resulting Numbers: [44, 40]
Generated Node #0,4,0: 54:[44, 40] Operation: 64-24=40
Exploring Operation: 44+24=68, Resulting Numbers: [64, 68]
Generated Node #0,4,1: 54:[64, 68] Operation: 44+24=68
Exploring Operation: 44-24=20, Resulting Numbers: [64, 20]
Generated Node #0,4,2: 54:[64, 20] Operation: 44-24=20
Exploring Operation: 64+24=88, Resulting Numbers: [44, 88]
Generated Node #0,4,3: 54:[44, 88] Operation: 64+24=88
Exploring Operation: 64-44=20, Resulting Numbers: [24, 20]
Generated Node #0,4,4: 54:[24, 20] Operation: 64-44=20
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 54:[24, 20], Operations: ['80-56=24', '64-44=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,54 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 54:[64, 20], Operations: ['80-56=24', '44-24=20']
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 64*20=1280, Resulting Numbers: [1280]
1280,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 54:[44, 40], Operations: ['80-56=24', '64-24=40']
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,54 unequal: No Solution
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 54:[64, 68], Operations: ['80-56=24', '44+24=68']
Exploring Operation: 64+68=132, Resulting Numbers: [132]
132,54 unequal: No Solution
Exploring Operation: 64*68=4352, Resulting Numbers: [4352]
4352,54 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 54:[44, 88], Operations: ['80-56=24', '64+24=88']
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 44+88=132, Resulting Numbers: [132]
132,54 unequal: No Solution
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 44*88=3872, Resulting Numbers: [3872]
3872,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[80, 56, 20], Operations: ['64-44=20']
Exploring Operation: 80+20=100, Resulting Numbers: [56, 100]
Generated Node #0,1,0: 54:[56, 100] Operation: 80+20=100
Exploring Operation: 80/20=4, Resulting Numbers: [56, 4]
Generated Node #0,1,1: 54:[56, 4] Operation: 80/20=4
Exploring Operation: 80-20=60, Resulting Numbers: [56, 60]
Generated Node #0,1,2: 54:[56, 60] Operation: 80-20=60
Exploring Operation: 56-20=36, Resulting Numbers: [80, 36]
Generated Node #0,1,3: 54:[80, 36] Operation: 56-20=36
Exploring Operation: 80-56=24, Resulting Numbers: [20, 24]
Generated Node #0,1,4: 54:[20, 24] Operation: 80-56=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[56, 4], Operations: ['64-44=20', '80/20=4']
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,54 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 54:[20, 24], Operations: ['64-44=20', '80-56=24']
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,54 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[56, 60], Operations: ['64-44=20', '80-20=60']
Exploring Operation: 56*60=3360, Resulting Numbers: [3360]
3360,54 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 56+60=116, Resulting Numbers: [116]
116,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 54:[80, 36], Operations: ['64-44=20', '56-20=36']
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,54 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[56, 100], Operations: ['64-44=20', '80+20=100']
Exploring Operation: 56*100=5600, Resulting Numbers: [5600]
5600,54 unequal: No Solution
Exploring Operation: 56+100=156, Resulting Numbers: [156]
156,54 unequal: No Solution
Exploring Operation: 100-56=44, Resulting Numbers: [44]
44,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[44, 80, 8], Operations: ['64-56=8']
Exploring Operation: 44-8=36, Resulting Numbers: [80, 36]
Generated Node #0,0,0: 54:[80, 36] Operation: 44-8=36
Exploring Operation: 80-44=36, Resulting Numbers: [8, 36]
Generated Node #0,0,1: 54:[8, 36] Operation: 80-44=36
Exploring Operation: 80/8=10, Resulting Numbers: [44, 10]
Generated Node #0,0,2: 54:[44, 10] Operation: 80/8=10
Exploring Operation: 44+8=52, Resulting Numbers: [80, 52]
Generated Node #0,0,3: 54:[80, 52] Operation: 44+8=52
Exploring Operation: 80-8=72, Resulting Numbers: [44, 72]
Generated Node #0,0,4: 54:[44, 72] Operation: 80-8=72
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[8, 36], Operations: ['64-56=8', '80-44=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,54 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 54:[44, 10], Operations: ['64-56=8', '80/8=10']
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,54 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[44, 80, 64, 56], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [44, 80, 8]
Generated Node #0,0: 54:[44, 80, 8] Operation: 64-56=8
Moving to Node #0,0
Current State: 54:[44, 80, 8], Operations: ['64-56=8']
Exploring Operation: 80/8=10, Resulting Numbers: [44, 10]
Generated Node #0,0,2: 54:[44, 10] Operation: 80/8=10
Moving to Node #0,0,2
Current State: 54:[44, 10], Operations: ['64-56=8', '80/8=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.909722 | hs_5 | sum_heuristic |
[
36,
2,
64,
61
] | 57 | [
"61-36=25",
"64/2=32",
"25+32=57"
] | Current State: 57:[36, 2, 64, 61], Operations: []
Exploring Operation: 61-36=25, Resulting Numbers: [2, 64, 25]
Generated Node #2: [2, 64, 25] from Operation: 61-36=25
Current State: 57:[2, 64, 25], Operations: ['61-36=25']
Exploring Operation: 64/2=32, Resulting Numbers: [25, 32]
Generated Node #3: [25, 32] from Operation: 64/2=32
Current State: 57:[25, 32], Operations: ['61-36=25', '64/2=32']
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[36, 2, 64, 61], Operations: []
Exploring Operation: 36/2=18, Resulting Numbers: [64, 61, 18]
Generated Node #0,0: 57:[64, 61, 18] Operation: 36/2=18
Exploring Operation: 64-36=28, Resulting Numbers: [2, 61, 28]
Generated Node #0,1: 57:[2, 61, 28] Operation: 64-36=28
Moving to Node #0,0
Current State: 57:[64, 61, 18], Operations: ['36/2=18']
Exploring Operation: 64-18=46, Resulting Numbers: [61, 46]
Generated Node #0,0,0: 57:[61, 46] Operation: 64-18=46
Exploring Operation: 64-61=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 57:[18, 3] Operation: 64-61=3
Moving to Node #0,1
Current State: 57:[2, 61, 28], Operations: ['64-36=28']
Exploring Operation: 2*28=56, Resulting Numbers: [61, 56]
Generated Node #0,1,0: 57:[61, 56] Operation: 2*28=56
Exploring Operation: 28/2=14, Resulting Numbers: [61, 14]
Generated Node #0,1,1: 57:[61, 14] Operation: 28/2=14
Moving to Node #0,0,1
Current State: 57:[18, 3], Operations: ['36/2=18', '64-61=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[61, 56], Operations: ['64-36=28', '2*28=56']
Exploring Operation: 61+56=117, Resulting Numbers: [117]
117,57 unequal: No Solution
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[61, 14], Operations: ['64-36=28', '28/2=14']
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[61, 46], Operations: ['36/2=18', '64-18=46']
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 61+46=107, Resulting Numbers: [107]
107,57 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
26,
93,
28,
61
] | 86 | [
"26+93=119",
"61-28=33",
"119-33=86"
] | Current State: 86:[26, 93, 28, 61], Operations: []
Exploring Operation: 26+93=119, Resulting Numbers: [28, 61, 119]
Generated Node #2: [28, 61, 119] from Operation: 26+93=119
Current State: 86:[28, 61, 119], Operations: ['26+93=119']
Exploring Operation: 61-28=33, Resulting Numbers: [119, 33]
Generated Node #3: [119, 33] from Operation: 61-28=33
Current State: 86:[119, 33], Operations: ['26+93=119', '61-28=33']
Exploring Operation: 119-33=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[26, 93, 28, 61], Operations: []
Exploring Operation: 28-26=2, Resulting Numbers: [93, 61, 2]
Generated Node #0,0: 86:[93, 61, 2] Operation: 28-26=2
Exploring Operation: 26+61=87, Resulting Numbers: [93, 28, 87]
Generated Node #0,1: 86:[93, 28, 87] Operation: 26+61=87
Exploring Operation: 28+61=89, Resulting Numbers: [26, 93, 89]
Generated Node #0,2: 86:[26, 93, 89] Operation: 28+61=89
Moving to Node #0,1
Current State: 86:[93, 28, 87], Operations: ['26+61=87']
Exploring Operation: 87-28=59, Resulting Numbers: [93, 59]
Generated Node #0,1,0: 86:[93, 59] Operation: 87-28=59
Exploring Operation: 93-28=65, Resulting Numbers: [87, 65]
Generated Node #0,1,1: 86:[87, 65] Operation: 93-28=65
Exploring Operation: 93-87=6, Resulting Numbers: [28, 6]
Generated Node #0,1,2: 86:[28, 6] Operation: 93-87=6
Moving to Node #0,0
Current State: 86:[93, 61, 2], Operations: ['28-26=2']
Exploring Operation: 93-2=91, Resulting Numbers: [61, 91]
Generated Node #0,0,0: 86:[61, 91] Operation: 93-2=91
Exploring Operation: 93-61=32, Resulting Numbers: [2, 32]
Generated Node #0,0,1: 86:[2, 32] Operation: 93-61=32
Exploring Operation: 61-2=59, Resulting Numbers: [93, 59]
Generated Node #0,0,2: 86:[93, 59] Operation: 61-2=59
Moving to Node #0,2
Current State: 86:[26, 93, 89], Operations: ['28+61=89']
Exploring Operation: 89-26=63, Resulting Numbers: [93, 63]
Generated Node #0,2,0: 86:[93, 63] Operation: 89-26=63
Exploring Operation: 93-89=4, Resulting Numbers: [26, 4]
Generated Node #0,2,1: 86:[26, 4] Operation: 93-89=4
Exploring Operation: 93-26=67, Resulting Numbers: [89, 67]
Generated Node #0,2,2: 86:[89, 67] Operation: 93-26=67
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[26, 4], Operations: ['28+61=89', '93-89=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,86 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,86 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[89, 67], Operations: ['28+61=89', '93-26=67']
Exploring Operation: 89-67=22, Resulting Numbers: [22]
22,86 unequal: No Solution
Exploring Operation: 89*67=5963, Resulting Numbers: [5963]
5963,86 unequal: No Solution
Exploring Operation: 89+67=156, Resulting Numbers: [156]
156,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[93, 63], Operations: ['28+61=89', '89-26=63']
Exploring Operation: 93*63=5859, Resulting Numbers: [5859]
5859,86 unequal: No Solution
Exploring Operation: 93-63=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 93+63=156, Resulting Numbers: [156]
156,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 86:[2, 32], Operations: ['28-26=2', '93-61=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[28, 6], Operations: ['26+61=87', '93-87=6']
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,86 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,86 unequal: No Solution
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[87, 65], Operations: ['26+61=87', '93-28=65']
Exploring Operation: 87+65=152, Resulting Numbers: [152]
152,86 unequal: No Solution
Exploring Operation: 87*65=5655, Resulting Numbers: [5655]
5655,86 unequal: No Solution
Exploring Operation: 87-65=22, Resulting Numbers: [22]
22,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[93, 59], Operations: ['26+61=87', '87-28=59']
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,86 unequal: No Solution
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[93, 59], Operations: ['28-26=2', '61-2=59']
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,86 unequal: No Solution
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[61, 91], Operations: ['28-26=2', '93-2=91']
Exploring Operation: 91-61=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 61*91=5551, Resulting Numbers: [5551]
5551,86 unequal: No Solution
Exploring Operation: 61+91=152, Resulting Numbers: [152]
152,86 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
65,
34,
37,
35
] | 38 | [
"65+37=102",
"102/34=3",
"35+3=38"
] | Current State: 38:[65, 34, 37, 35], Operations: []
Exploring Operation: 65+37=102, Resulting Numbers: [34, 35, 102]
Generated Node #2: [34, 35, 102] from Operation: 65+37=102
Current State: 38:[34, 35, 102], Operations: ['65+37=102']
Exploring Operation: 102/34=3, Resulting Numbers: [35, 3]
Generated Node #3: [35, 3] from Operation: 102/34=3
Current State: 38:[35, 3], Operations: ['65+37=102', '102/34=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[65, 34, 37, 35], Operations: []
Exploring Operation: 65-37=28, Resulting Numbers: [34, 35, 28]
Generated Node #0,0: 38:[34, 35, 28] Operation: 65-37=28
Exploring Operation: 65-34=31, Resulting Numbers: [37, 35, 31]
Generated Node #0,1: 38:[37, 35, 31] Operation: 65-34=31
Exploring Operation: 65-35=30, Resulting Numbers: [34, 37, 30]
Generated Node #0,2: 38:[34, 37, 30] Operation: 65-35=30
Exploring Operation: 35-34=1, Resulting Numbers: [65, 37, 1]
Generated Node #0,3: 38:[65, 37, 1] Operation: 35-34=1
Moving to Node #0,1
Current State: 38:[37, 35, 31], Operations: ['65-34=31']
Exploring Operation: 37-31=6, Resulting Numbers: [35, 6]
Generated Node #0,1,0: 38:[35, 6] Operation: 37-31=6
Exploring Operation: 35-31=4, Resulting Numbers: [37, 4]
Generated Node #0,1,1: 38:[37, 4] Operation: 35-31=4
Exploring Operation: 35+31=66, Resulting Numbers: [37, 66]
Generated Node #0,1,2: 38:[37, 66] Operation: 35+31=66
Exploring Operation: 37-35=2, Resulting Numbers: [31, 2]
Generated Node #0,1,3: 38:[31, 2] Operation: 37-35=2
Moving to Node #0,2
Current State: 38:[34, 37, 30], Operations: ['65-35=30']
Exploring Operation: 37-34=3, Resulting Numbers: [30, 3]
Generated Node #0,2,0: 38:[30, 3] Operation: 37-34=3
Exploring Operation: 34+30=64, Resulting Numbers: [37, 64]
Generated Node #0,2,1: 38:[37, 64] Operation: 34+30=64
Exploring Operation: 34-30=4, Resulting Numbers: [37, 4]
Generated Node #0,2,2: 38:[37, 4] Operation: 34-30=4
Exploring Operation: 37-30=7, Resulting Numbers: [34, 7]
Generated Node #0,2,3: 38:[34, 7] Operation: 37-30=7
Moving to Node #0,0
Current State: 38:[34, 35, 28], Operations: ['65-37=28']
Exploring Operation: 35-28=7, Resulting Numbers: [34, 7]
Generated Node #0,0,0: 38:[34, 7] Operation: 35-28=7
Exploring Operation: 35-34=1, Resulting Numbers: [28, 1]
Generated Node #0,0,1: 38:[28, 1] Operation: 35-34=1
Exploring Operation: 34+28=62, Resulting Numbers: [35, 62]
Generated Node #0,0,2: 38:[35, 62] Operation: 34+28=62
Exploring Operation: 34-28=6, Resulting Numbers: [35, 6]
Generated Node #0,0,3: 38:[35, 6] Operation: 34-28=6
Moving to Node #0,3
Current State: 38:[65, 37, 1], Operations: ['35-34=1']
Exploring Operation: 65*1=65, Resulting Numbers: [37, 65]
Generated Node #0,3,0: 38:[37, 65] Operation: 65*1=65
Exploring Operation: 37+1=38, Resulting Numbers: [65, 38]
Generated Node #0,3,1: 38:[65, 38] Operation: 37+1=38
Exploring Operation: 65-1=64, Resulting Numbers: [37, 64]
Generated Node #0,3,2: 38:[37, 64] Operation: 65-1=64
Exploring Operation: 65-37=28, Resulting Numbers: [1, 28]
Generated Node #0,3,3: 38:[1, 28] Operation: 65-37=28
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 38:[1, 28], Operations: ['35-34=1', '65-37=28']
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,38 unequal: No Solution
No 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: 38:[65, 38], Operations: ['35-34=1', '37+1=38']
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 65*38=2470, Resulting Numbers: [2470]
2470,38 unequal: No Solution
Exploring Operation: 65+38=103, Resulting Numbers: [103]
103,38 unequal: No Solution
No 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: 38:[37, 64], Operations: ['35-34=1', '65-1=64']
Exploring Operation: 37*64=2368, Resulting Numbers: [2368]
2368,38 unequal: No Solution
Exploring Operation: 37+64=101, Resulting Numbers: [101]
101,38 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,38 unequal: No Solution
No 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: 38:[37, 65], Operations: ['35-34=1', '65*1=65']
Exploring Operation: 37+65=102, Resulting Numbers: [102]
102,38 unequal: No Solution
Exploring Operation: 37*65=2405, Resulting Numbers: [2405]
2405,38 unequal: No Solution
Exploring Operation: 65-37=28, Resulting Numbers: [28]
28,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 38:[37, 4], Operations: ['65-34=31', '35-31=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,38 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[37, 4], Operations: ['65-35=30', '34-30=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,38 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[31, 2], Operations: ['65-34=31', '37-35=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[35, 6], Operations: ['65-34=31', '37-31=6']
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,38 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[35, 6], Operations: ['65-37=28', '34-28=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,38 unequal: No Solution
Moving to Node #0,2,3
Current State: 38:[34, 7], Operations: ['65-35=30', '37-30=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[30, 3], Operations: ['65-35=30', '37-34=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,38 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[34, 7], Operations: ['65-37=28', '35-28=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,38 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[28, 1], Operations: ['65-37=28', '35-34=1']
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[35, 62], Operations: ['65-37=28', '34+28=62']
Exploring Operation: 35+62=97, Resulting Numbers: [97]
97,38 unequal: No Solution
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 35*62=2170, Resulting Numbers: [2170]
2170,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[37, 64], Operations: ['65-35=30', '34+30=64']
Exploring Operation: 37*64=2368, Resulting Numbers: [2368]
2368,38 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 37+64=101, Resulting Numbers: [101]
101,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[37, 66], Operations: ['65-34=31', '35+31=66']
Exploring Operation: 37*66=2442, Resulting Numbers: [2442]
2442,38 unequal: No Solution
Exploring Operation: 37+66=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,38 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
54,
82,
48,
81
] | 10 | [
"48*81=3888",
"3888/54=72",
"82-72=10"
] | Current State: 10:[54, 82, 48, 81], Operations: []
Exploring Operation: 48*81=3888, Resulting Numbers: [54, 82, 3888]
Generated Node #2: [54, 82, 3888] from Operation: 48*81=3888
Current State: 10:[54, 82, 3888], Operations: ['48*81=3888']
Exploring Operation: 3888/54=72, Resulting Numbers: [82, 72]
Generated Node #3: [82, 72] from Operation: 3888/54=72
Current State: 10:[82, 72], Operations: ['48*81=3888', '3888/54=72']
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[54, 82, 48, 81], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [82, 48, 27]
Generated Node #0,0: 10:[82, 48, 27] Operation: 81-54=27
Exploring Operation: 82-81=1, Resulting Numbers: [54, 48, 1]
Generated Node #0,1: 10:[54, 48, 1] Operation: 82-81=1
Exploring Operation: 82-54=28, Resulting Numbers: [48, 81, 28]
Generated Node #0,2: 10:[48, 81, 28] Operation: 82-54=28
Exploring Operation: 82-48=34, Resulting Numbers: [54, 81, 34]
Generated Node #0,3: 10:[54, 81, 34] Operation: 82-48=34
Moving to Node #0,1
Current State: 10:[54, 48, 1], Operations: ['82-81=1']
Exploring Operation: 54-1=53, Resulting Numbers: [48, 53]
Generated Node #0,1,0: 10:[48, 53] Operation: 54-1=53
Exploring Operation: 54-48=6, Resulting Numbers: [1, 6]
Generated Node #0,1,1: 10:[1, 6] Operation: 54-48=6
Exploring Operation: 54*1=54, Resulting Numbers: [48, 54]
Generated Node #0,1,2: 10:[48, 54] Operation: 54*1=54
Exploring Operation: 48-1=47, Resulting Numbers: [54, 47]
Generated Node #0,1,3: 10:[54, 47] Operation: 48-1=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[1, 6], Operations: ['82-81=1', '54-48=6']
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[48, 53], Operations: ['82-81=1', '54-1=53']
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 48*53=2544, Resulting Numbers: [2544]
2544,10 unequal: No Solution
Exploring Operation: 48+53=101, Resulting Numbers: [101]
101,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[54, 47], Operations: ['82-81=1', '48-1=47']
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,10 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,10 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[48, 54], Operations: ['82-81=1', '54*1=54']
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,10 unequal: No Solution
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 10:[48, 81, 28], Operations: ['82-54=28']
Exploring Operation: 81-48=33, Resulting Numbers: [28, 33]
Generated Node #0,2,0: 10:[28, 33] Operation: 81-48=33
Exploring Operation: 48-28=20, Resulting Numbers: [81, 20]
Generated Node #0,2,1: 10:[81, 20] Operation: 48-28=20
Exploring Operation: 81-28=53, Resulting Numbers: [48, 53]
Generated Node #0,2,2: 10:[48, 53] Operation: 81-28=53
Exploring Operation: 48+81=129, Resulting Numbers: [28, 129]
Generated Node #0,2,3: 10:[28, 129] Operation: 48+81=129
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[28, 33], Operations: ['82-54=28', '81-48=33']
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,10 unequal: No Solution
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[81, 20], Operations: ['82-54=28', '48-28=20']
Exploring Operation: 81*20=1620, Resulting Numbers: [1620]
1620,10 unequal: No Solution
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 81+20=101, Resulting Numbers: [101]
101,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[48, 53], Operations: ['82-54=28', '81-28=53']
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 48*53=2544, Resulting Numbers: [2544]
2544,10 unequal: No Solution
Exploring Operation: 48+53=101, Resulting Numbers: [101]
101,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[28, 129], Operations: ['82-54=28', '48+81=129']
Exploring Operation: 28*129=3612, Resulting Numbers: [3612]
3612,10 unequal: No Solution
Exploring Operation: 129-28=101, Resulting Numbers: [101]
101,10 unequal: No Solution
Exploring Operation: 28+129=157, Resulting Numbers: [157]
157,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 10:[82, 48, 27], Operations: ['81-54=27']
Exploring Operation: 82-48=34, Resulting Numbers: [27, 34]
Generated Node #0,0,0: 10:[27, 34] Operation: 82-48=34
Exploring Operation: 82-27=55, Resulting Numbers: [48, 55]
Generated Node #0,0,1: 10:[48, 55] Operation: 82-27=55
Exploring Operation: 82+48=130, Resulting Numbers: [27, 130]
Generated Node #0,0,2: 10:[27, 130] Operation: 82+48=130
Exploring Operation: 48-27=21, Resulting Numbers: [82, 21]
Generated Node #0,0,3: 10:[82, 21] Operation: 48-27=21
Moving to Node #0,3
Current State: 10:[54, 81, 34], Operations: ['82-48=34']
Exploring Operation: 81-34=47, Resulting Numbers: [54, 47]
Generated Node #0,3,0: 10:[54, 47] Operation: 81-34=47
Exploring Operation: 81-54=27, Resulting Numbers: [34, 27]
Generated Node #0,3,1: 10:[34, 27] Operation: 81-54=27
Exploring Operation: 54-34=20, Resulting Numbers: [81, 20]
Generated Node #0,3,2: 10:[81, 20] Operation: 54-34=20
Exploring Operation: 54+81=135, Resulting Numbers: [34, 135]
Generated Node #0,3,3: 10:[34, 135] Operation: 54+81=135
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[34, 27], Operations: ['82-48=34', '81-54=27']
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,10 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[54, 47], Operations: ['82-48=34', '81-34=47']
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,10 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,10 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[81, 20], Operations: ['82-48=34', '54-34=20']
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 81*20=1620, Resulting Numbers: [1620]
1620,10 unequal: No Solution
Exploring Operation: 81+20=101, Resulting Numbers: [101]
101,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[34, 135], Operations: ['82-48=34', '54+81=135']
Exploring Operation: 34+135=169, Resulting Numbers: [169]
169,10 unequal: No Solution
Exploring Operation: 34*135=4590, Resulting Numbers: [4590]
4590,10 unequal: No Solution
Exploring Operation: 135-34=101, Resulting Numbers: [101]
101,10 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: 10:[27, 34], Operations: ['81-54=27', '82-48=34']
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,10 unequal: No Solution
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[82, 21], Operations: ['81-54=27', '48-27=21']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 82*21=1722, Resulting Numbers: [1722]
1722,10 unequal: No Solution
Exploring Operation: 82+21=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[48, 55], Operations: ['81-54=27', '82-27=55']
Exploring Operation: 48+55=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 48*55=2640, Resulting Numbers: [2640]
2640,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[27, 130], Operations: ['81-54=27', '82+48=130']
Exploring Operation: 27+130=157, Resulting Numbers: [157]
157,10 unequal: No Solution
Exploring Operation: 130-27=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 27*130=3510, Resulting Numbers: [3510]
3510,10 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
5,
9,
83,
7
] | 39 | [
"83-5=78",
"9-7=2",
"78/2=39"
] | Current State: 39:[5, 9, 83, 7], Operations: []
Exploring Operation: 83-5=78, Resulting Numbers: [9, 7, 78]
Generated Node #2: [9, 7, 78] from Operation: 83-5=78
Current State: 39:[9, 7, 78], Operations: ['83-5=78']
Exploring Operation: 9-7=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 9-7=2
Current State: 39:[78, 2], Operations: ['83-5=78', '9-7=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[5, 9, 83, 7], Operations: []
Exploring Operation: 83-7=76, Resulting Numbers: [5, 9, 76]
Generated Node #0,0: 39:[5, 9, 76] Operation: 83-7=76
Exploring Operation: 83-9=74, Resulting Numbers: [5, 7, 74]
Generated Node #0,1: 39:[5, 7, 74] Operation: 83-9=74
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[5, 7, 74], Operations: ['83-9=74']
Exploring Operation: 74-7=67, Resulting Numbers: [5, 67]
Generated Node #0,1,0: 39:[5, 67] Operation: 74-7=67
Exploring Operation: 74-5=69, Resulting Numbers: [7, 69]
Generated Node #0,1,1: 39:[7, 69] Operation: 74-5=69
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[5, 67], Operations: ['83-9=74', '74-7=67']
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,39 unequal: No Solution
No 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: 39:[7, 69], Operations: ['83-9=74', '74-5=69']
Exploring Operation: 7+69=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[5, 9, 76], Operations: ['83-7=76']
Exploring Operation: 76-9=67, Resulting Numbers: [5, 67]
Generated Node #0,0,0: 39:[5, 67] Operation: 76-9=67
Exploring Operation: 76-5=71, Resulting Numbers: [9, 71]
Generated Node #0,0,1: 39:[9, 71] Operation: 76-5=71
Moving to Node #0,0,0
Current State: 39:[5, 67], Operations: ['83-7=76', '76-9=67']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[9, 71], Operations: ['83-7=76', '76-5=71']
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 9+71=80, Resulting Numbers: [80]
80,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
40,
45,
37,
96
] | 48 | [
"40+45=85",
"37+96=133",
"133-85=48"
] | Current State: 48:[40, 45, 37, 96], Operations: []
Exploring Operation: 40+45=85, Resulting Numbers: [37, 96, 85]
Generated Node #2: [37, 96, 85] from Operation: 40+45=85
Current State: 48:[37, 96, 85], Operations: ['40+45=85']
Exploring Operation: 37+96=133, Resulting Numbers: [85, 133]
Generated Node #3: [85, 133] from Operation: 37+96=133
Current State: 48:[85, 133], Operations: ['40+45=85', '37+96=133']
Exploring Operation: 133-85=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[40, 45, 37, 96], Operations: []
Exploring Operation: 96-40=56, Resulting Numbers: [45, 37, 56]
Generated Node #0,0: 48:[45, 37, 56] Operation: 96-40=56
Moving to Node #0,0
Current State: 48:[45, 37, 56], Operations: ['96-40=56']
Exploring Operation: 56-37=19, Resulting Numbers: [45, 19]
Generated Node #0,0,0: 48:[45, 19] Operation: 56-37=19
Moving to Node #0,0,0
Current State: 48:[45, 19], Operations: ['96-40=56', '56-37=19']
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,48 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
40,
30,
55,
96
] | 81 | [
"40+30=70",
"55+96=151",
"151-70=81"
] | Current State: 81:[40, 30, 55, 96], Operations: []
Exploring Operation: 40+30=70, Resulting Numbers: [55, 96, 70]
Generated Node #2: [55, 96, 70] from Operation: 40+30=70
Current State: 81:[55, 96, 70], Operations: ['40+30=70']
Exploring Operation: 55+96=151, Resulting Numbers: [70, 151]
Generated Node #3: [70, 151] from Operation: 55+96=151
Current State: 81:[70, 151], Operations: ['40+30=70', '55+96=151']
Exploring Operation: 151-70=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[40, 30, 55, 96], Operations: []
Exploring Operation: 55-40=15, Resulting Numbers: [30, 96, 15]
Generated Node #0,0: 81:[30, 96, 15] Operation: 55-40=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[30, 96, 15], Operations: ['55-40=15']
Exploring Operation: 96-15=81, Resulting Numbers: [30, 81]
Generated Node #0,0,0: 81:[30, 81] Operation: 96-15=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[30, 81], Operations: ['55-40=15', '96-15=81']
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
55,
61,
59,
55
] | 59 | [
"55-55=0",
"61*0=0",
"59+0=59"
] | Current State: 59:[55, 61, 59, 55], Operations: []
Exploring Operation: 55-55=0, Resulting Numbers: [61, 59, 0]
Generated Node #2: [61, 59, 0] from Operation: 55-55=0
Current State: 59:[61, 59, 0], Operations: ['55-55=0']
Exploring Operation: 61*0=0, Resulting Numbers: [59, 0]
Generated Node #3: [59, 0] from Operation: 61*0=0
Current State: 59:[59, 0], Operations: ['55-55=0', '61*0=0']
Exploring Operation: 59+0=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[55, 61, 59, 55], Operations: []
Exploring Operation: 55+55=110, Resulting Numbers: [61, 59, 110]
Generated Node #0,0: 59:[61, 59, 110] Operation: 55+55=110
Exploring Operation: 61-55=6, Resulting Numbers: [55, 59, 6]
Generated Node #0,1: 59:[55, 59, 6] Operation: 61-55=6
Exploring Operation: 61-55=6, Resulting Numbers: [59, 55, 6]
Generated Node #0,2: 59:[59, 55, 6] Operation: 61-55=6
Moving to Node #0,0
Current State: 59:[61, 59, 110], Operations: ['55+55=110']
Exploring Operation: 110-61=49, Resulting Numbers: [59, 49]
Generated Node #0,0,0: 59:[59, 49] Operation: 110-61=49
Exploring Operation: 61-59=2, Resulting Numbers: [110, 2]
Generated Node #0,0,1: 59:[110, 2] Operation: 61-59=2
Exploring Operation: 110-59=51, Resulting Numbers: [61, 51]
Generated Node #0,0,2: 59:[61, 51] Operation: 110-59=51
Moving to Node #0,1
Current State: 59:[55, 59, 6], Operations: ['61-55=6']
Exploring Operation: 59+6=65, Resulting Numbers: [55, 65]
Generated Node #0,1,0: 59:[55, 65] Operation: 59+6=65
Exploring Operation: 55-6=49, Resulting Numbers: [59, 49]
Generated Node #0,1,1: 59:[59, 49] Operation: 55-6=49
Exploring Operation: 55+6=61, Resulting Numbers: [59, 61]
Generated Node #0,1,2: 59:[59, 61] Operation: 55+6=61
Moving to Node #0,2
Current State: 59:[59, 55, 6], Operations: ['61-55=6']
Exploring Operation: 55+6=61, Resulting Numbers: [59, 61]
Generated Node #0,2,0: 59:[59, 61] Operation: 55+6=61
Exploring Operation: 59+6=65, Resulting Numbers: [55, 65]
Generated Node #0,2,1: 59:[55, 65] Operation: 59+6=65
Exploring Operation: 59-6=53, Resulting Numbers: [55, 53]
Generated Node #0,2,2: 59:[55, 53] Operation: 59-6=53
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[59, 61], Operations: ['61-55=6', '55+6=61']
Exploring Operation: 61-59=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 59+61=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 59*61=3599, Resulting Numbers: [3599]
3599,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,2,1
Current State: 59:[55, 65], Operations: ['61-55=6', '59+6=65']
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 55+65=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 55*65=3575, Resulting Numbers: [3575]
3575,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,2,2
Current State: 59:[55, 53], Operations: ['61-55=6', '59-6=53']
Exploring Operation: 55*53=2915, Resulting Numbers: [2915]
2915,59 unequal: No Solution
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 55+53=108, Resulting Numbers: [108]
108,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 59:[59, 61], Operations: ['61-55=6', '55+6=61']
Exploring Operation: 59*61=3599, Resulting Numbers: [3599]
3599,59 unequal: No Solution
Exploring Operation: 61-59=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 59+61=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[59, 49], Operations: ['61-55=6', '55-6=49']
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 59+49=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 59*49=2891, Resulting Numbers: [2891]
2891,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[59, 49], Operations: ['55+55=110', '110-61=49']
Exploring Operation: 59*49=2891, Resulting Numbers: [2891]
2891,59 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 59+49=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[61, 51], Operations: ['55+55=110', '110-59=51']
Exploring Operation: 61*51=3111, Resulting Numbers: [3111]
3111,59 unequal: No Solution
Exploring Operation: 61+51=112, Resulting Numbers: [112]
112,59 unequal: No Solution
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[55, 65], Operations: ['61-55=6', '59+6=65']
Exploring Operation: 55*65=3575, Resulting Numbers: [3575]
3575,59 unequal: No Solution
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 55+65=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[110, 2], Operations: ['55+55=110', '61-59=2']
Exploring Operation: 110-2=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 110/2=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 110+2=112, Resulting Numbers: [112]
112,59 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
13,
39,
76,
28
] | 100 | [
"13+39=52",
"76-28=48",
"52+48=100"
] | Current State: 100:[13, 39, 76, 28], Operations: []
Exploring Operation: 13+39=52, Resulting Numbers: [76, 28, 52]
Generated Node #2: [76, 28, 52] from Operation: 13+39=52
Current State: 100:[76, 28, 52], Operations: ['13+39=52']
Exploring Operation: 76-28=48, Resulting Numbers: [52, 48]
Generated Node #3: [52, 48] from Operation: 76-28=48
Current State: 100:[52, 48], Operations: ['13+39=52', '76-28=48']
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[13, 39, 76, 28], Operations: []
Exploring Operation: 76-39=37, Resulting Numbers: [13, 28, 37]
Generated Node #0,0: 100:[13, 28, 37] Operation: 76-39=37
Exploring Operation: 76-28=48, Resulting Numbers: [13, 39, 48]
Generated Node #0,1: 100:[13, 39, 48] Operation: 76-28=48
Exploring Operation: 76+28=104, Resulting Numbers: [13, 39, 104]
Generated Node #0,2: 100:[13, 39, 104] Operation: 76+28=104
Moving to Node #0,1
Current State: 100:[13, 39, 48], Operations: ['76-28=48']
Exploring Operation: 39/13=3, Resulting Numbers: [48, 3]
Generated Node #0,1,0: 100:[48, 3] Operation: 39/13=3
Exploring Operation: 13+39=52, Resulting Numbers: [48, 52]
Generated Node #0,1,1: 100:[48, 52] Operation: 13+39=52
Exploring Operation: 39-13=26, Resulting Numbers: [48, 26]
Generated Node #0,1,2: 100:[48, 26] Operation: 39-13=26
Moving to Node #0,0
Current State: 100:[13, 28, 37], Operations: ['76-39=37']
Exploring Operation: 13+37=50, Resulting Numbers: [28, 50]
Generated Node #0,0,0: 100:[28, 50] Operation: 13+37=50
Exploring Operation: 37-28=9, Resulting Numbers: [13, 9]
Generated Node #0,0,1: 100:[13, 9] Operation: 37-28=9
Exploring Operation: 37-13=24, Resulting Numbers: [28, 24]
Generated Node #0,0,2: 100:[28, 24] Operation: 37-13=24
Moving to Node #0,2
Current State: 100:[13, 39, 104], Operations: ['76+28=104']
Exploring Operation: 39-13=26, Resulting Numbers: [104, 26]
Generated Node #0,2,0: 100:[104, 26] Operation: 39-13=26
Exploring Operation: 39/13=3, Resulting Numbers: [104, 3]
Generated Node #0,2,1: 100:[104, 3] Operation: 39/13=3
Exploring Operation: 13+39=52, Resulting Numbers: [104, 52]
Generated Node #0,2,2: 100:[104, 52] Operation: 13+39=52
Moving to Node #0,1,0
Current State: 100:[48, 3], Operations: ['76-28=48', '39/13=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,100 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[48, 26], Operations: ['76-28=48', '39-13=26']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 48*26=1248, Resulting Numbers: [1248]
1248,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[28, 50], Operations: ['76-39=37', '13+37=50']
Exploring Operation: 28+50=78, Resulting Numbers: [78]
78,100 unequal: No Solution
Exploring Operation: 28*50=1400, Resulting Numbers: [1400]
1400,100 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[48, 52], Operations: ['76-28=48', '13+39=52']
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 48*52=2496, Resulting Numbers: [2496]
2496,100 unequal: No Solution
Exploring Operation: 48+52=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[13, 39, 76, 28], Operations: []
Exploring Operation: 76-28=48, Resulting Numbers: [13, 39, 48]
Generated Node #0,1: 100:[13, 39, 48] Operation: 76-28=48
Moving to Node #0,1
Current State: 100:[13, 39, 48], Operations: ['76-28=48']
Exploring Operation: 13+39=52, Resulting Numbers: [48, 52]
Generated Node #0,1,1: 100:[48, 52] Operation: 13+39=52
Moving to Node #0,1,1
Current State: 100:[48, 52], Operations: ['76-28=48', '13+39=52']
Exploring Operation: 48+52=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
23,
46,
44,
55
] | 77 | [
"46/23=2",
"44/2=22",
"55+22=77"
] | Current State: 77:[23, 46, 44, 55], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [44, 55, 2]
Generated Node #2: [44, 55, 2] from Operation: 46/23=2
Current State: 77:[44, 55, 2], Operations: ['46/23=2']
Exploring Operation: 44/2=22, Resulting Numbers: [55, 22]
Generated Node #3: [55, 22] from Operation: 44/2=22
Current State: 77:[55, 22], Operations: ['46/23=2', '44/2=22']
Exploring Operation: 55+22=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[23, 46, 44, 55], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [23, 55, 2]
Generated Node #0,0: 77:[23, 55, 2] Operation: 46-44=2
Moving to Node #0,0
Current State: 77:[23, 55, 2], Operations: ['46-44=2']
Exploring Operation: 23+55=78, Resulting Numbers: [2, 78]
Generated Node #0,0,0: 77:[2, 78] Operation: 23+55=78
Moving to Node #0,0,0
Current State: 77:[2, 78], Operations: ['46-44=2', '23+55=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,77 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
17,
76,
69
] | 16 | [
"6+17=23",
"76-69=7",
"23-7=16"
] | Current State: 16:[6, 17, 76, 69], Operations: []
Exploring Operation: 6+17=23, Resulting Numbers: [76, 69, 23]
Generated Node #2: [76, 69, 23] from Operation: 6+17=23
Current State: 16:[76, 69, 23], Operations: ['6+17=23']
Exploring Operation: 76-69=7, Resulting Numbers: [23, 7]
Generated Node #3: [23, 7] from Operation: 76-69=7
Current State: 16:[23, 7], Operations: ['6+17=23', '76-69=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[6, 17, 76, 69], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [6, 17, 7]
Generated Node #0,0: 16:[6, 17, 7] Operation: 76-69=7
Moving to Node #0,0
Current State: 16:[6, 17, 7], Operations: ['76-69=7']
Exploring Operation: 7-6=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 16:[17, 1] Operation: 7-6=1
Moving to Node #0,0,0
Current State: 16:[17, 1], Operations: ['76-69=7', '7-6=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[6, 17, 76, 69], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [6, 17, 7]
Generated Node #0,0: 16:[6, 17, 7] Operation: 76-69=7
Moving to Node #0,0
Current State: 16:[6, 17, 7], Operations: ['76-69=7']
Exploring Operation: 7-6=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 16:[17, 1] Operation: 7-6=1
Moving to Node #0,0,0
Current State: 16:[17, 1], Operations: ['76-69=7', '7-6=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
17,
91,
11,
27
] | 90 | [
"91-17=74",
"27-11=16",
"74+16=90"
] | Current State: 90:[17, 91, 11, 27], Operations: []
Exploring Operation: 91-17=74, Resulting Numbers: [11, 27, 74]
Generated Node #2: [11, 27, 74] from Operation: 91-17=74
Current State: 90:[11, 27, 74], Operations: ['91-17=74']
Exploring Operation: 27-11=16, Resulting Numbers: [74, 16]
Generated Node #3: [74, 16] from Operation: 27-11=16
Current State: 90:[74, 16], Operations: ['91-17=74', '27-11=16']
Exploring Operation: 74+16=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[17, 91, 11, 27], Operations: []
Exploring Operation: 27-17=10, Resulting Numbers: [91, 11, 10]
Generated Node #0,0: 90:[91, 11, 10] Operation: 27-17=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[91, 11, 10], Operations: ['27-17=10']
Exploring Operation: 11-10=1, Resulting Numbers: [91, 1]
Generated Node #0,0,0: 90:[91, 1] Operation: 11-10=1
Moving to Node #0,0,0
Current State: 90:[91, 1], Operations: ['27-17=10', '11-10=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[17, 91, 11, 27], Operations: []
Exploring Operation: 27-17=10, Resulting Numbers: [91, 11, 10]
Generated Node #0,0: 90:[91, 11, 10] Operation: 27-17=10
Moving to Node #0,0
Current State: 90:[91, 11, 10], Operations: ['27-17=10']
Exploring Operation: 11-10=1, Resulting Numbers: [91, 1]
Generated Node #0,0,0: 90:[91, 1] Operation: 11-10=1
Moving to Node #0,0,0
Current State: 90:[91, 1], Operations: ['27-17=10', '11-10=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
22,
20,
12,
5
] | 49 | [
"22+20=42",
"12-5=7",
"42+7=49"
] | Current State: 49:[22, 20, 12, 5], Operations: []
Exploring Operation: 22+20=42, Resulting Numbers: [12, 5, 42]
Generated Node #2: [12, 5, 42] from Operation: 22+20=42
Current State: 49:[12, 5, 42], Operations: ['22+20=42']
Exploring Operation: 12-5=7, Resulting Numbers: [42, 7]
Generated Node #3: [42, 7] from Operation: 12-5=7
Current State: 49:[42, 7], Operations: ['22+20=42', '12-5=7']
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[22, 20, 12, 5], Operations: []
Exploring Operation: 20-12=8, Resulting Numbers: [22, 5, 8]
Generated Node #0,0: 49:[22, 5, 8] Operation: 20-12=8
Exploring Operation: 22+20=42, Resulting Numbers: [12, 5, 42]
Generated Node #0,1: 49:[12, 5, 42] Operation: 22+20=42
Exploring Operation: 22-20=2, Resulting Numbers: [12, 5, 2]
Generated Node #0,2: 49:[12, 5, 2] Operation: 22-20=2
Exploring Operation: 22-12=10, Resulting Numbers: [20, 5, 10]
Generated Node #0,3: 49:[20, 5, 10] Operation: 22-12=10
Exploring Operation: 20/5=4, Resulting Numbers: [22, 12, 4]
Generated Node #0,4: 49:[22, 12, 4] Operation: 20/5=4
Moving to Node #0,2
Current State: 49:[12, 5, 2], Operations: ['22-20=2']
Exploring Operation: 5*2=10, Resulting Numbers: [12, 10]
Generated Node #0,2,0: 49:[12, 10] Operation: 5*2=10
Exploring Operation: 12-5=7, Resulting Numbers: [2, 7]
Generated Node #0,2,1: 49:[2, 7] Operation: 12-5=7
Exploring Operation: 12/2=6, Resulting Numbers: [5, 6]
Generated Node #0,2,2: 49:[5, 6] Operation: 12/2=6
Exploring Operation: 5+2=7, Resulting Numbers: [12, 7]
Generated Node #0,2,3: 49:[12, 7] Operation: 5+2=7
Exploring Operation: 12-2=10, Resulting Numbers: [5, 10]
Generated Node #0,2,4: 49:[5, 10] Operation: 12-2=10
Moving to Node #0,1
Current State: 49:[12, 5, 42], Operations: ['22+20=42']
Exploring Operation: 12+42=54, Resulting Numbers: [5, 54]
Generated Node #0,1,0: 49:[5, 54] Operation: 12+42=54
Exploring Operation: 5+42=47, Resulting Numbers: [12, 47]
Generated Node #0,1,1: 49:[12, 47] Operation: 5+42=47
Exploring Operation: 12+5=17, Resulting Numbers: [42, 17]
Generated Node #0,1,2: 49:[42, 17] Operation: 12+5=17
Exploring Operation: 12-5=7, Resulting Numbers: [42, 7]
Generated Node #0,1,3: 49:[42, 7] Operation: 12-5=7
Exploring Operation: 42-5=37, Resulting Numbers: [12, 37]
Generated Node #0,1,4: 49:[12, 37] Operation: 42-5=37
Moving to Node #0,0
Current State: 49:[22, 5, 8], Operations: ['20-12=8']
Exploring Operation: 22+5=27, Resulting Numbers: [8, 27]
Generated Node #0,0,0: 49:[8, 27] Operation: 22+5=27
Exploring Operation: 22-5=17, Resulting Numbers: [8, 17]
Generated Node #0,0,1: 49:[8, 17] Operation: 22-5=17
Exploring Operation: 22-8=14, Resulting Numbers: [5, 14]
Generated Node #0,0,2: 49:[5, 14] Operation: 22-8=14
Exploring Operation: 8-5=3, Resulting Numbers: [22, 3]
Generated Node #0,0,3: 49:[22, 3] Operation: 8-5=3
Exploring Operation: 22+8=30, Resulting Numbers: [5, 30]
Generated Node #0,0,4: 49:[5, 30] Operation: 22+8=30
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[5, 14], Operations: ['20-12=8', '22-8=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,49 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,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,0,1
Current State: 49:[8, 17], Operations: ['20-12=8', '22-5=17']
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,49 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,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,0,3
Current State: 49:[22, 3], Operations: ['20-12=8', '8-5=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,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,0,0
Current State: 49:[8, 27], Operations: ['20-12=8', '22+5=27']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,49 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,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,0,4
Current State: 49:[5, 30], Operations: ['20-12=8', '22+8=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,49 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,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:[20, 5, 10], Operations: ['22-12=10']
Exploring Operation: 20/10=2, Resulting Numbers: [5, 2]
Generated Node #0,3,0: 49:[5, 2] Operation: 20/10=2
Exploring Operation: 20/5=4, Resulting Numbers: [10, 4]
Generated Node #0,3,1: 49:[10, 4] Operation: 20/5=4
Exploring Operation: 20-10=10, Resulting Numbers: [5, 10]
Generated Node #0,3,2: 49:[5, 10] Operation: 20-10=10
Exploring Operation: 5*10=50, Resulting Numbers: [20, 50]
Generated Node #0,3,3: 49:[20, 50] Operation: 5*10=50
Exploring Operation: 20-5=15, Resulting Numbers: [10, 15]
Generated Node #0,3,4: 49:[10, 15] Operation: 20-5=15
Moving to Node #0,4
Current State: 49:[22, 12, 4], Operations: ['20/5=4']
Exploring Operation: 22+12=34, Resulting Numbers: [4, 34]
Generated Node #0,4,0: 49:[4, 34] Operation: 22+12=34
Exploring Operation: 22-12=10, Resulting Numbers: [4, 10]
Generated Node #0,4,1: 49:[4, 10] Operation: 22-12=10
Exploring Operation: 22-4=18, Resulting Numbers: [12, 18]
Generated Node #0,4,2: 49:[12, 18] Operation: 22-4=18
Exploring Operation: 12-4=8, Resulting Numbers: [22, 8]
Generated Node #0,4,3: 49:[22, 8] Operation: 12-4=8
Exploring Operation: 12*4=48, Resulting Numbers: [22, 48]
Generated Node #0,4,4: 49:[22, 48] Operation: 12*4=48
Moving to Node #0,2,2
Current State: 49:[5, 6], Operations: ['22-20=2', '12/2=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[12, 7], Operations: ['22-20=2', '5+2=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,49 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[2, 7], Operations: ['22-20=2', '12-5=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[5, 10], Operations: ['22-12=10', '20-10=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Moving to Node #0,2,4
Current State: 49:[5, 10], Operations: ['22-20=2', '12-2=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[10, 4], Operations: ['22-12=10', '20/5=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Moving to Node #0,4,1
Current State: 49:[4, 10], Operations: ['20/5=4', '22-12=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[12, 47], Operations: ['22+20=42', '5+42=47']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Exploring Operation: 12*47=564, Resulting Numbers: [564]
564,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[5, 2], Operations: ['22-12=10', '20/10=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[5, 54], Operations: ['22+20=42', '12+42=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[22, 20, 12, 5], Operations: []
Exploring Operation: 22+20=42, Resulting Numbers: [12, 5, 42]
Generated Node #0,1: 49:[12, 5, 42] Operation: 22+20=42
Moving to Node #0,1
Current State: 49:[12, 5, 42], Operations: ['22+20=42']
Exploring Operation: 12+42=54, Resulting Numbers: [5, 54]
Generated Node #0,1,0: 49:[5, 54] Operation: 12+42=54
Moving to Node #0,1,0
Current State: 49:[5, 54], Operations: ['22+20=42', '12+42=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.930556 | hs_5 | mult_heuristic |
[
71,
49,
97,
64
] | 11 | [
"71-49=22",
"97-64=33",
"33-22=11"
] | Current State: 11:[71, 49, 97, 64], Operations: []
Exploring Operation: 71-49=22, Resulting Numbers: [97, 64, 22]
Generated Node #2: [97, 64, 22] from Operation: 71-49=22
Current State: 11:[97, 64, 22], Operations: ['71-49=22']
Exploring Operation: 97-64=33, Resulting Numbers: [22, 33]
Generated Node #3: [22, 33] from Operation: 97-64=33
Current State: 11:[22, 33], Operations: ['71-49=22', '97-64=33']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[71, 49, 97, 64], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [49, 97, 7]
Generated Node #0,0: 11:[49, 97, 7] Operation: 71-64=7
Exploring Operation: 71-49=22, Resulting Numbers: [97, 64, 22]
Generated Node #0,1: 11:[97, 64, 22] Operation: 71-49=22
Exploring Operation: 97-71=26, Resulting Numbers: [49, 64, 26]
Generated Node #0,2: 11:[49, 64, 26] Operation: 97-71=26
Exploring Operation: 97-64=33, Resulting Numbers: [71, 49, 33]
Generated Node #0,3: 11:[71, 49, 33] Operation: 97-64=33
Moving to Node #0,2
Current State: 11:[49, 64, 26], Operations: ['97-71=26']
Exploring Operation: 64-49=15, Resulting Numbers: [26, 15]
Generated Node #0,2,0: 11:[26, 15] Operation: 64-49=15
Exploring Operation: 49+64=113, Resulting Numbers: [26, 113]
Generated Node #0,2,1: 11:[26, 113] Operation: 49+64=113
Exploring Operation: 64-26=38, Resulting Numbers: [49, 38]
Generated Node #0,2,2: 11:[49, 38] Operation: 64-26=38
Exploring Operation: 49-26=23, Resulting Numbers: [64, 23]
Generated Node #0,2,3: 11:[64, 23] Operation: 49-26=23
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 11:[26, 15], Operations: ['97-71=26', '64-49=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[71, 49, 97, 64], Operations: []
Exploring Operation: 97-71=26, Resulting Numbers: [49, 64, 26]
Generated Node #0,2: 11:[49, 64, 26] Operation: 97-71=26
Moving to Node #0,2
Current State: 11:[49, 64, 26], Operations: ['97-71=26']
Exploring Operation: 64-49=15, Resulting Numbers: [26, 15]
Generated Node #0,2,0: 11:[26, 15] Operation: 64-49=15
Moving to Node #0,2,0
Current State: 11:[26, 15], Operations: ['97-71=26', '64-49=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
16,
40,
63,
91
] | 84 | [
"16+40=56",
"91-63=28",
"56+28=84"
] | Current State: 84:[16, 40, 63, 91], Operations: []
Exploring Operation: 16+40=56, Resulting Numbers: [63, 91, 56]
Generated Node #2: [63, 91, 56] from Operation: 16+40=56
Current State: 84:[63, 91, 56], Operations: ['16+40=56']
Exploring Operation: 91-63=28, Resulting Numbers: [56, 28]
Generated Node #3: [56, 28] from Operation: 91-63=28
Current State: 84:[56, 28], Operations: ['16+40=56', '91-63=28']
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[16, 40, 63, 91], Operations: []
Exploring Operation: 91-63=28, Resulting Numbers: [16, 40, 28]
Generated Node #0,0: 84:[16, 40, 28] Operation: 91-63=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[16, 40, 28], Operations: ['91-63=28']
Exploring Operation: 28-16=12, Resulting Numbers: [40, 12]
Generated Node #0,0,0: 84:[40, 12] Operation: 28-16=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[40, 12], Operations: ['91-63=28', '28-16=12']
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
55,
88,
4,
31
] | 46 | [
"55-31=24",
"88/4=22",
"24+22=46"
] | Current State: 46:[55, 88, 4, 31], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [88, 4, 24]
Generated Node #2: [88, 4, 24] from Operation: 55-31=24
Current State: 46:[88, 4, 24], Operations: ['55-31=24']
Exploring Operation: 88/4=22, Resulting Numbers: [24, 22]
Generated Node #3: [24, 22] from Operation: 88/4=22
Current State: 46:[24, 22], Operations: ['55-31=24', '88/4=22']
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[55, 88, 4, 31], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [4, 31, 33]
Generated Node #0,0: 46:[4, 31, 33] Operation: 88-55=33
Exploring Operation: 88/4=22, Resulting Numbers: [55, 31, 22]
Generated Node #0,1: 46:[55, 31, 22] Operation: 88/4=22
Exploring Operation: 88-31=57, Resulting Numbers: [55, 4, 57]
Generated Node #0,2: 46:[55, 4, 57] Operation: 88-31=57
Moving to Node #0,1
Current State: 46:[55, 31, 22], Operations: ['88/4=22']
Exploring Operation: 31-22=9, Resulting Numbers: [55, 9]
Generated Node #0,1,0: 46:[55, 9] Operation: 31-22=9
Exploring Operation: 55-31=24, Resulting Numbers: [22, 24]
Generated Node #0,1,1: 46:[22, 24] Operation: 55-31=24
Exploring Operation: 31+22=53, Resulting Numbers: [55, 53]
Generated Node #0,1,2: 46:[55, 53] Operation: 31+22=53
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[22, 24], Operations: ['88/4=22', '55-31=24']
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[55, 88, 4, 31], Operations: []
Exploring Operation: 88/4=22, Resulting Numbers: [55, 31, 22]
Generated Node #0,1: 46:[55, 31, 22] Operation: 88/4=22
Moving to Node #0,1
Current State: 46:[55, 31, 22], Operations: ['88/4=22']
Exploring Operation: 55-31=24, Resulting Numbers: [22, 24]
Generated Node #0,1,1: 46:[22, 24] Operation: 55-31=24
Moving to Node #0,1,1
Current State: 46:[22, 24], Operations: ['88/4=22', '55-31=24']
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
14,
2,
32,
39
] | 55 | [
"14+2=16",
"32+39=71",
"71-16=55"
] | Current State: 55:[14, 2, 32, 39], Operations: []
Exploring Operation: 14+2=16, Resulting Numbers: [32, 39, 16]
Generated Node #2: [32, 39, 16] from Operation: 14+2=16
Current State: 55:[32, 39, 16], Operations: ['14+2=16']
Exploring Operation: 32+39=71, Resulting Numbers: [16, 71]
Generated Node #3: [16, 71] from Operation: 32+39=71
Current State: 55:[16, 71], Operations: ['14+2=16', '32+39=71']
Exploring Operation: 71-16=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[14, 2, 32, 39], Operations: []
Exploring Operation: 32/2=16, Resulting Numbers: [14, 39, 16]
Generated Node #0,0: 55:[14, 39, 16] Operation: 32/2=16
Exploring Operation: 32+39=71, Resulting Numbers: [14, 2, 71]
Generated Node #0,1: 55:[14, 2, 71] Operation: 32+39=71
Exploring Operation: 39-32=7, Resulting Numbers: [14, 2, 7]
Generated Node #0,2: 55:[14, 2, 7] Operation: 39-32=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[14, 2, 7], Operations: ['39-32=7']
Exploring Operation: 7-2=5, Resulting Numbers: [14, 5]
Generated Node #0,2,0: 55:[14, 5] Operation: 7-2=5
Exploring Operation: 14/2=7, Resulting Numbers: [7, 7]
Generated Node #0,2,1: 55:[7, 7] Operation: 14/2=7
Exploring Operation: 14-2=12, Resulting Numbers: [7, 12]
Generated Node #0,2,2: 55:[7, 12] Operation: 14-2=12
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[14, 5], Operations: ['39-32=7', '7-2=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,55 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,55 unequal: No Solution
No 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: 55:[7, 12], Operations: ['39-32=7', '14-2=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,55 unequal: No Solution
No 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: 55:[7, 7], Operations: ['39-32=7', '14/2=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,55 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: 55:[14, 2, 71], Operations: ['32+39=71']
Exploring Operation: 71-2=69, Resulting Numbers: [14, 69]
Generated Node #0,1,0: 55:[14, 69] Operation: 71-2=69
Exploring Operation: 71-14=57, Resulting Numbers: [2, 57]
Generated Node #0,1,1: 55:[2, 57] Operation: 71-14=57
Exploring Operation: 14-2=12, Resulting Numbers: [71, 12]
Generated Node #0,1,2: 55:[71, 12] Operation: 14-2=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[2, 57], Operations: ['32+39=71', '71-14=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[14, 2, 32, 39], Operations: []
Exploring Operation: 32+39=71, Resulting Numbers: [14, 2, 71]
Generated Node #0,1: 55:[14, 2, 71] Operation: 32+39=71
Moving to Node #0,1
Current State: 55:[14, 2, 71], Operations: ['32+39=71']
Exploring Operation: 71-14=57, Resulting Numbers: [2, 57]
Generated Node #0,1,1: 55:[2, 57] Operation: 71-14=57
Moving to Node #0,1,1
Current State: 55:[2, 57], Operations: ['32+39=71', '71-14=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
28,
95,
8,
6
] | 97 | [
"8+6=14",
"28/14=2",
"95+2=97"
] | Current State: 97:[28, 95, 8, 6], Operations: []
Exploring Operation: 8+6=14, Resulting Numbers: [28, 95, 14]
Generated Node #2: [28, 95, 14] from Operation: 8+6=14
Current State: 97:[28, 95, 14], Operations: ['8+6=14']
Exploring Operation: 28/14=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 28/14=2
Current State: 97:[95, 2], Operations: ['8+6=14', '28/14=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[28, 95, 8, 6], Operations: []
Exploring Operation: 28+6=34, Resulting Numbers: [95, 8, 34]
Generated Node #0,0: 97:[95, 8, 34] Operation: 28+6=34
Exploring Operation: 28+8=36, Resulting Numbers: [95, 6, 36]
Generated Node #0,1: 97:[95, 6, 36] Operation: 28+8=36
Exploring Operation: 8+6=14, Resulting Numbers: [28, 95, 14]
Generated Node #0,2: 97:[28, 95, 14] Operation: 8+6=14
Exploring Operation: 28*6=168, Resulting Numbers: [95, 8, 168]
Generated Node #0,3: 97:[95, 8, 168] Operation: 28*6=168
Exploring Operation: 8*6=48, Resulting Numbers: [28, 95, 48]
Generated Node #0,4: 97:[28, 95, 48] Operation: 8*6=48
Moving to Node #0,4
Current State: 97:[28, 95, 48], Operations: ['8*6=48']
Exploring Operation: 95-28=67, Resulting Numbers: [48, 67]
Generated Node #0,4,0: 97:[48, 67] Operation: 95-28=67
Exploring Operation: 28+95=123, Resulting Numbers: [48, 123]
Generated Node #0,4,1: 97:[48, 123] Operation: 28+95=123
Exploring Operation: 28+48=76, Resulting Numbers: [95, 76]
Generated Node #0,4,2: 97:[95, 76] Operation: 28+48=76
Exploring Operation: 95+48=143, Resulting Numbers: [28, 143]
Generated Node #0,4,3: 97:[28, 143] Operation: 95+48=143
Exploring Operation: 48-28=20, Resulting Numbers: [95, 20]
Generated Node #0,4,4: 97:[95, 20] Operation: 48-28=20
Moving to Node #0,1
Current State: 97:[95, 6, 36], Operations: ['28+8=36']
Exploring Operation: 95+6=101, Resulting Numbers: [36, 101]
Generated Node #0,1,0: 97:[36, 101] Operation: 95+6=101
Exploring Operation: 95-6=89, Resulting Numbers: [36, 89]
Generated Node #0,1,1: 97:[36, 89] Operation: 95-6=89
Exploring Operation: 36/6=6, Resulting Numbers: [95, 6]
Generated Node #0,1,2: 97:[95, 6] Operation: 36/6=6
Exploring Operation: 6+36=42, Resulting Numbers: [95, 42]
Generated Node #0,1,3: 97:[95, 42] Operation: 6+36=42
Exploring Operation: 36-6=30, Resulting Numbers: [95, 30]
Generated Node #0,1,4: 97:[95, 30] Operation: 36-6=30
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 97:[95, 42], Operations: ['28+8=36', '6+36=42']
Exploring Operation: 95*42=3990, Resulting Numbers: [3990]
3990,97 unequal: No Solution
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 95+42=137, Resulting Numbers: [137]
137,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,0
Current State: 97:[36, 101], Operations: ['28+8=36', '95+6=101']
Exploring Operation: 101-36=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 36+101=137, Resulting Numbers: [137]
137,97 unequal: No Solution
Exploring Operation: 36*101=3636, Resulting Numbers: [3636]
3636,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[36, 89], Operations: ['28+8=36', '95-6=89']
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 36*89=3204, Resulting Numbers: [3204]
3204,97 unequal: No Solution
Exploring Operation: 36+89=125, Resulting Numbers: [125]
125,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 97:[95, 30], Operations: ['28+8=36', '36-6=30']
Exploring Operation: 95+30=125, Resulting Numbers: [125]
125,97 unequal: No Solution
Exploring Operation: 95*30=2850, Resulting Numbers: [2850]
2850,97 unequal: No Solution
Exploring Operation: 95-30=65, Resulting Numbers: [65]
65,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[95, 6], Operations: ['28+8=36', '36/6=6']
Exploring Operation: 95*6=570, Resulting Numbers: [570]
570,97 unequal: No Solution
Exploring Operation: 95+6=101, Resulting Numbers: [101]
101,97 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 97:[95, 8, 34], Operations: ['28+6=34']
Exploring Operation: 95+8=103, Resulting Numbers: [34, 103]
Generated Node #0,0,0: 97:[34, 103] Operation: 95+8=103
Exploring Operation: 95+34=129, Resulting Numbers: [8, 129]
Generated Node #0,0,1: 97:[8, 129] Operation: 95+34=129
Exploring Operation: 95-8=87, Resulting Numbers: [34, 87]
Generated Node #0,0,2: 97:[34, 87] Operation: 95-8=87
Exploring Operation: 8+34=42, Resulting Numbers: [95, 42]
Generated Node #0,0,3: 97:[95, 42] Operation: 8+34=42
Exploring Operation: 34-8=26, Resulting Numbers: [95, 26]
Generated Node #0,0,4: 97:[95, 26] Operation: 34-8=26
Moving to Node #0,2
Current State: 97:[28, 95, 14], Operations: ['8+6=14']
Exploring Operation: 95+14=109, Resulting Numbers: [28, 109]
Generated Node #0,2,0: 97:[28, 109] Operation: 95+14=109
Exploring Operation: 28-14=14, Resulting Numbers: [95, 14]
Generated Node #0,2,1: 97:[95, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [95, 2]
Generated Node #0,2,2: 97:[95, 2] Operation: 28/14=2
Exploring Operation: 28+14=42, Resulting Numbers: [95, 42]
Generated Node #0,2,3: 97:[95, 42] Operation: 28+14=42
Exploring Operation: 95-14=81, Resulting Numbers: [28, 81]
Generated Node #0,2,4: 97:[28, 81] Operation: 95-14=81
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[95, 42], Operations: ['8+6=14', '28+14=42']
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 95*42=3990, Resulting Numbers: [3990]
3990,97 unequal: No Solution
Exploring Operation: 95+42=137, Resulting Numbers: [137]
137,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[28, 109], Operations: ['8+6=14', '95+14=109']
Exploring Operation: 109-28=81, Resulting Numbers: [81]
81,97 unequal: No Solution
Exploring Operation: 28+109=137, Resulting Numbers: [137]
137,97 unequal: No Solution
Exploring Operation: 28*109=3052, Resulting Numbers: [3052]
3052,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[95, 14], Operations: ['8+6=14', '28-14=14']
Exploring Operation: 95*14=1330, Resulting Numbers: [1330]
1330,97 unequal: No Solution
Exploring Operation: 95+14=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 97:[28, 81], Operations: ['8+6=14', '95-14=81']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 28*81=2268, Resulting Numbers: [2268]
2268,97 unequal: No Solution
Exploring Operation: 28+81=109, Resulting Numbers: [109]
109,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[95, 2], Operations: ['8+6=14', '28/14=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[28, 95, 8, 6], Operations: []
Exploring Operation: 8+6=14, Resulting Numbers: [28, 95, 14]
Generated Node #0,2: 97:[28, 95, 14] Operation: 8+6=14
Moving to Node #0,2
Current State: 97:[28, 95, 14], Operations: ['8+6=14']
Exploring Operation: 28/14=2, Resulting Numbers: [95, 2]
Generated Node #0,2,2: 97:[95, 2] Operation: 28/14=2
Moving to Node #0,2,2
Current State: 97:[95, 2], Operations: ['8+6=14', '28/14=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
47,
92,
24,
66
] | 87 | [
"92-47=45",
"66-24=42",
"45+42=87"
] | Current State: 87:[47, 92, 24, 66], Operations: []
Exploring Operation: 92-47=45, Resulting Numbers: [24, 66, 45]
Generated Node #2: [24, 66, 45] from Operation: 92-47=45
Current State: 87:[24, 66, 45], Operations: ['92-47=45']
Exploring Operation: 66-24=42, Resulting Numbers: [45, 42]
Generated Node #3: [45, 42] from Operation: 66-24=42
Current State: 87:[45, 42], Operations: ['92-47=45', '66-24=42']
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[47, 92, 24, 66], Operations: []
Exploring Operation: 66-47=19, Resulting Numbers: [92, 24, 19]
Generated Node #0,0: 87:[92, 24, 19] Operation: 66-47=19
Exploring Operation: 92-66=26, Resulting Numbers: [47, 24, 26]
Generated Node #0,1: 87:[47, 24, 26] Operation: 92-66=26
Moving to Node #0,0
Current State: 87:[92, 24, 19], Operations: ['66-47=19']
Exploring Operation: 24-19=5, Resulting Numbers: [92, 5]
Generated Node #0,0,0: 87:[92, 5] Operation: 24-19=5
Exploring Operation: 92-19=73, Resulting Numbers: [24, 73]
Generated Node #0,0,1: 87:[24, 73] Operation: 92-19=73
Moving to Node #0,1
Current State: 87:[47, 24, 26], Operations: ['92-66=26']
Exploring Operation: 47-26=21, Resulting Numbers: [24, 21]
Generated Node #0,1,0: 87:[24, 21] Operation: 47-26=21
Exploring Operation: 47-24=23, Resulting Numbers: [26, 23]
Generated Node #0,1,1: 87:[26, 23] Operation: 47-24=23
Moving to Node #0,0,0
Current State: 87:[92, 5], Operations: ['66-47=19', '24-19=5']
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,87 unequal: No Solution
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[47, 92, 24, 66], Operations: []
Exploring Operation: 66-47=19, Resulting Numbers: [92, 24, 19]
Generated Node #0,0: 87:[92, 24, 19] Operation: 66-47=19
Moving to Node #0,0
Current State: 87:[92, 24, 19], Operations: ['66-47=19']
Exploring Operation: 24-19=5, Resulting Numbers: [92, 5]
Generated Node #0,0,0: 87:[92, 5] Operation: 24-19=5
Moving to Node #0,0,0
Current State: 87:[92, 5], Operations: ['66-47=19', '24-19=5']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
40,
43,
10,
7
] | 77 | [
"10-7=3",
"40*3=120",
"120-43=77"
] | Current State: 77:[40, 43, 10, 7], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [40, 43, 3]
Generated Node #2: [40, 43, 3] from Operation: 10-7=3
Current State: 77:[40, 43, 3], Operations: ['10-7=3']
Exploring Operation: 40*3=120, Resulting Numbers: [43, 120]
Generated Node #3: [43, 120] from Operation: 40*3=120
Current State: 77:[43, 120], Operations: ['10-7=3', '40*3=120']
Exploring Operation: 120-43=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[40, 43, 10, 7], Operations: []
Exploring Operation: 40+43=83, Resulting Numbers: [10, 7, 83]
Generated Node #0,0: 77:[10, 7, 83] Operation: 40+43=83
Exploring Operation: 40/10=4, Resulting Numbers: [43, 7, 4]
Generated Node #0,1: 77:[43, 7, 4] Operation: 40/10=4
Exploring Operation: 43-40=3, Resulting Numbers: [10, 7, 3]
Generated Node #0,2: 77:[10, 7, 3] Operation: 43-40=3
Moving to Node #0,2
Current State: 77:[10, 7, 3], Operations: ['43-40=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10, 10]
Generated Node #0,2,0: 77:[10, 10] Operation: 7+3=10
Exploring Operation: 10-3=7, Resulting Numbers: [7, 7]
Generated Node #0,2,1: 77:[7, 7] Operation: 10-3=7
Exploring Operation: 10+3=13, Resulting Numbers: [7, 13]
Generated Node #0,2,2: 77:[7, 13] Operation: 10+3=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[7, 7], Operations: ['43-40=3', '10-3=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[10, 10], Operations: ['43-40=3', '7+3=10']
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[7, 13], Operations: ['43-40=3', '10+3=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,77 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,77 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: 77:[10, 7, 83], Operations: ['40+43=83']
Exploring Operation: 83-10=73, Resulting Numbers: [7, 73]
Generated Node #0,0,0: 77:[7, 73] Operation: 83-10=73
Exploring Operation: 10-7=3, Resulting Numbers: [83, 3]
Generated Node #0,0,1: 77:[83, 3] Operation: 10-7=3
Exploring Operation: 83-7=76, Resulting Numbers: [10, 76]
Generated Node #0,0,2: 77:[10, 76] Operation: 83-7=76
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[10, 76], Operations: ['40+43=83', '83-7=76']
Exploring Operation: 10+76=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 10*76=760, Resulting Numbers: [760]
760,77 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[7, 73], Operations: ['40+43=83', '83-10=73']
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 7+73=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Exploring Operation: 7*73=511, Resulting Numbers: [511]
511,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[83, 3], Operations: ['40+43=83', '10-7=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,77 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,77 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: 77:[43, 7, 4], Operations: ['40/10=4']
Exploring Operation: 43-7=36, Resulting Numbers: [4, 36]
Generated Node #0,1,0: 77:[4, 36] Operation: 43-7=36
Exploring Operation: 43+7=50, Resulting Numbers: [4, 50]
Generated Node #0,1,1: 77:[4, 50] Operation: 43+7=50
Exploring Operation: 43-4=39, Resulting Numbers: [7, 39]
Generated Node #0,1,2: 77:[7, 39] Operation: 43-4=39
Moving to Node #0,1,0
Current State: 77:[4, 36], Operations: ['40/10=4', '43-7=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[7, 39], Operations: ['40/10=4', '43-4=39']
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,77 unequal: No Solution
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,77 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[4, 50], Operations: ['40/10=4', '43+7=50']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,77 unequal: No Solution
Exploring Operation: 4*50=200, Resulting Numbers: [200]
200,77 unequal: No Solution
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,77 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
42,
89,
38,
51
] | 42 | [
"42+89=131",
"38+51=89",
"131-89=42"
] | Current State: 42:[42, 89, 38, 51], Operations: []
Exploring Operation: 42+89=131, Resulting Numbers: [38, 51, 131]
Generated Node #2: [38, 51, 131] from Operation: 42+89=131
Current State: 42:[38, 51, 131], Operations: ['42+89=131']
Exploring Operation: 38+51=89, Resulting Numbers: [131, 89]
Generated Node #3: [131, 89] from Operation: 38+51=89
Current State: 42:[131, 89], Operations: ['42+89=131', '38+51=89']
Exploring Operation: 131-89=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[42, 89, 38, 51], Operations: []
Exploring Operation: 89-38=51, Resulting Numbers: [42, 51, 51]
Generated Node #0,0: 42:[42, 51, 51] Operation: 89-38=51
Exploring Operation: 89-42=47, Resulting Numbers: [38, 51, 47]
Generated Node #0,1: 42:[38, 51, 47] Operation: 89-42=47
Exploring Operation: 89-51=38, Resulting Numbers: [42, 38, 38]
Generated Node #0,2: 42:[42, 38, 38] Operation: 89-51=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[42, 38, 38], Operations: ['89-51=38']
Exploring Operation: 38/38=1, Resulting Numbers: [42, 1]
Generated Node #0,2,0: 42:[42, 1] Operation: 38/38=1
Exploring Operation: 38-38=0, Resulting Numbers: [42, 0]
Generated Node #0,2,1: 42:[42, 0] Operation: 38-38=0
Exploring Operation: 42-38=4, Resulting Numbers: [38, 4]
Generated Node #0,2,2: 42:[38, 4] Operation: 42-38=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[42, 1], Operations: ['89-51=38', '38/38=1']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[42, 89, 38, 51], Operations: []
Exploring Operation: 89-51=38, Resulting Numbers: [42, 38, 38]
Generated Node #0,2: 42:[42, 38, 38] Operation: 89-51=38
Moving to Node #0,2
Current State: 42:[42, 38, 38], Operations: ['89-51=38']
Exploring Operation: 38/38=1, Resulting Numbers: [42, 1]
Generated Node #0,2,0: 42:[42, 1] Operation: 38/38=1
Moving to Node #0,2,0
Current State: 42:[42, 1], Operations: ['89-51=38', '38/38=1']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
4,
52,
38,
8
] | 58 | [
"4*8=32",
"52+38=90",
"90-32=58"
] | Current State: 58:[4, 52, 38, 8], Operations: []
Exploring Operation: 4*8=32, Resulting Numbers: [52, 38, 32]
Generated Node #2: [52, 38, 32] from Operation: 4*8=32
Current State: 58:[52, 38, 32], Operations: ['4*8=32']
Exploring Operation: 52+38=90, Resulting Numbers: [32, 90]
Generated Node #3: [32, 90] from Operation: 52+38=90
Current State: 58:[32, 90], Operations: ['4*8=32', '52+38=90']
Exploring Operation: 90-32=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[4, 52, 38, 8], Operations: []
Exploring Operation: 38-8=30, Resulting Numbers: [4, 52, 30]
Generated Node #0,0: 58:[4, 52, 30] Operation: 38-8=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[4, 52, 30], Operations: ['38-8=30']
Exploring Operation: 4+52=56, Resulting Numbers: [30, 56]
Generated Node #0,0,0: 58:[30, 56] Operation: 4+52=56
Moving to Node #0,0,0
Current State: 58:[30, 56], Operations: ['38-8=30', '4+52=56']
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
95,
2,
29,
50
] | 58 | [
"95-29=66",
"50+66=116",
"116/2=58"
] | Current State: 58:[95, 2, 29, 50], Operations: []
Exploring Operation: 95-29=66, Resulting Numbers: [2, 50, 66]
Generated Node #2: [2, 50, 66] from Operation: 95-29=66
Current State: 58:[2, 50, 66], Operations: ['95-29=66']
Exploring Operation: 50+66=116, Resulting Numbers: [2, 116]
Generated Node #3: [2, 116] from Operation: 50+66=116
Current State: 58:[2, 116], Operations: ['95-29=66', '50+66=116']
Exploring Operation: 116/2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[95, 2, 29, 50], Operations: []
Exploring Operation: 2+50=52, Resulting Numbers: [95, 29, 52]
Generated Node #0,0: 58:[95, 29, 52] Operation: 2+50=52
Exploring Operation: 95-50=45, Resulting Numbers: [2, 29, 45]
Generated Node #0,1: 58:[2, 29, 45] Operation: 95-50=45
Exploring Operation: 95-29=66, Resulting Numbers: [2, 50, 66]
Generated Node #0,2: 58:[2, 50, 66] Operation: 95-29=66
Exploring Operation: 50/2=25, Resulting Numbers: [95, 29, 25]
Generated Node #0,3: 58:[95, 29, 25] Operation: 50/2=25
Exploring Operation: 95-2=93, Resulting Numbers: [29, 50, 93]
Generated Node #0,4: 58:[29, 50, 93] Operation: 95-2=93
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[2, 29, 45], Operations: ['95-50=45']
Exploring Operation: 45-2=43, Resulting Numbers: [29, 43]
Generated Node #0,1,0: 58:[29, 43] Operation: 45-2=43
Exploring Operation: 2+45=47, Resulting Numbers: [29, 47]
Generated Node #0,1,1: 58:[29, 47] Operation: 2+45=47
Exploring Operation: 45-29=16, Resulting Numbers: [2, 16]
Generated Node #0,1,2: 58:[2, 16] Operation: 45-29=16
Exploring Operation: 2*29=58, Resulting Numbers: [45, 58]
Generated Node #0,1,3: 58:[45, 58] Operation: 2*29=58
Exploring Operation: 2+29=31, Resulting Numbers: [45, 31]
Generated Node #0,1,4: 58:[45, 31] Operation: 2+29=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[29, 47], Operations: ['95-50=45', '2+45=47']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,58 unequal: No Solution
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 58:[2, 16], Operations: ['95-50=45', '45-29=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 58:[45, 58], Operations: ['95-50=45', '2*29=58']
Exploring Operation: 45*58=2610, Resulting Numbers: [2610]
2610,58 unequal: No Solution
Exploring Operation: 45+58=103, Resulting Numbers: [103]
103,58 unequal: No Solution
Exploring Operation: 58-45=13, Resulting Numbers: [13]
13,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[29, 43], Operations: ['95-50=45', '45-2=43']
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,58 unequal: No Solution
Exploring Operation: 29*43=1247, Resulting Numbers: [1247]
1247,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 58:[45, 31], Operations: ['95-50=45', '2+29=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,58 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[2, 50, 66], Operations: ['95-29=66']
Exploring Operation: 66-2=64, Resulting Numbers: [50, 64]
Generated Node #0,2,0: 58:[50, 64] Operation: 66-2=64
Exploring Operation: 66-50=16, Resulting Numbers: [2, 16]
Generated Node #0,2,1: 58:[2, 16] Operation: 66-50=16
Exploring Operation: 2+50=52, Resulting Numbers: [66, 52]
Generated Node #0,2,2: 58:[66, 52] Operation: 2+50=52
Exploring Operation: 66/2=33, Resulting Numbers: [50, 33]
Generated Node #0,2,3: 58:[50, 33] Operation: 66/2=33
Exploring Operation: 50/2=25, Resulting Numbers: [66, 25]
Generated Node #0,2,4: 58:[66, 25] Operation: 50/2=25
Moving to Node #0,2,3
Current State: 58:[50, 33], Operations: ['95-29=66', '66/2=33']
Exploring Operation: 50+33=83, Resulting Numbers: [83]
83,58 unequal: No Solution
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,58 unequal: No Solution
Exploring Operation: 50*33=1650, Resulting Numbers: [1650]
1650,58 unequal: No Solution
Moving to Node #0,2,4
Current State: 58:[66, 25], Operations: ['95-29=66', '50/2=25']
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,58 unequal: No Solution
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,58 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[2, 16], Operations: ['95-29=66', '66-50=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[50, 64], Operations: ['95-29=66', '66-2=64']
Exploring Operation: 50*64=3200, Resulting Numbers: [3200]
3200,58 unequal: No Solution
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 50+64=114, Resulting Numbers: [114]
114,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[66, 52], Operations: ['95-29=66', '2+50=52']
Exploring Operation: 66*52=3432, Resulting Numbers: [3432]
3432,58 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 66+52=118, Resulting Numbers: [118]
118,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,3
Current State: 58:[95, 29, 25], Operations: ['50/2=25']
Exploring Operation: 95-29=66, Resulting Numbers: [25, 66]
Generated Node #0,3,0: 58:[25, 66] Operation: 95-29=66
Exploring Operation: 95+25=120, Resulting Numbers: [29, 120]
Generated Node #0,3,1: 58:[29, 120] Operation: 95+25=120
Exploring Operation: 95-25=70, Resulting Numbers: [29, 70]
Generated Node #0,3,2: 58:[29, 70] Operation: 95-25=70
Exploring Operation: 29-25=4, Resulting Numbers: [95, 4]
Generated Node #0,3,3: 58:[95, 4] Operation: 29-25=4
Exploring Operation: 29+25=54, Resulting Numbers: [95, 54]
Generated Node #0,3,4: 58:[95, 54] Operation: 29+25=54
Moving to Node #0,3,0
Current State: 58:[25, 66], Operations: ['50/2=25', '95-29=66']
Exploring Operation: 25+66=91, Resulting Numbers: [91]
91,58 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 25*66=1650, Resulting Numbers: [1650]
1650,58 unequal: No Solution
Moving to Node #0,3,2
Current State: 58:[29, 70], Operations: ['50/2=25', '95-25=70']
Exploring Operation: 29*70=2030, Resulting Numbers: [2030]
2030,58 unequal: No Solution
Exploring Operation: 29+70=99, Resulting Numbers: [99]
99,58 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[95, 4], Operations: ['50/2=25', '29-25=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,58 unequal: No Solution
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,58 unequal: No Solution
Exploring Operation: 95*4=380, Resulting Numbers: [380]
380,58 unequal: No Solution
Moving to Node #0,3,4
Current State: 58:[95, 54], Operations: ['50/2=25', '29+25=54']
Exploring Operation: 95+54=149, Resulting Numbers: [149]
149,58 unequal: No Solution
Exploring Operation: 95-54=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 95*54=5130, Resulting Numbers: [5130]
5130,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[29, 120], Operations: ['50/2=25', '95+25=120']
Exploring Operation: 29+120=149, Resulting Numbers: [149]
149,58 unequal: No Solution
Exploring Operation: 120-29=91, Resulting Numbers: [91]
91,58 unequal: No Solution
Exploring Operation: 29*120=3480, Resulting Numbers: [3480]
3480,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,0
Current State: 58:[95, 29, 52], Operations: ['2+50=52']
Exploring Operation: 52-29=23, Resulting Numbers: [95, 23]
Generated Node #0,0,0: 58:[95, 23] Operation: 52-29=23
Exploring Operation: 29+52=81, Resulting Numbers: [95, 81]
Generated Node #0,0,1: 58:[95, 81] Operation: 29+52=81
Exploring Operation: 95-29=66, Resulting Numbers: [52, 66]
Generated Node #0,0,2: 58:[52, 66] Operation: 95-29=66
Exploring Operation: 95+29=124, Resulting Numbers: [52, 124]
Generated Node #0,0,3: 58:[52, 124] Operation: 95+29=124
Exploring Operation: 95-52=43, Resulting Numbers: [29, 43]
Generated Node #0,0,4: 58:[29, 43] Operation: 95-52=43
Moving to Node #0,0,2
Current State: 58:[52, 66], Operations: ['2+50=52', '95-29=66']
Exploring Operation: 52*66=3432, Resulting Numbers: [3432]
3432,58 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Moving to Node #0,0,4
Current State: 58:[29, 43], Operations: ['2+50=52', '95-52=43']
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,58 unequal: No Solution
Exploring Operation: 29*43=1247, Resulting Numbers: [1247]
1247,58 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[95, 23], Operations: ['2+50=52', '52-29=23']
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,58 unequal: No Solution
Exploring Operation: 95*23=2185, Resulting Numbers: [2185]
2185,58 unequal: No Solution
Exploring Operation: 95+23=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[95, 81], Operations: ['2+50=52', '29+52=81']
Exploring Operation: 95+81=176, Resulting Numbers: [176]
176,58 unequal: No Solution
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 95*81=7695, Resulting Numbers: [7695]
7695,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[52, 124], Operations: ['2+50=52', '95+29=124']
Exploring Operation: 52*124=6448, Resulting Numbers: [6448]
6448,58 unequal: No Solution
Exploring Operation: 124-52=72, Resulting Numbers: [72]
72,58 unequal: No Solution
Exploring Operation: 52+124=176, Resulting Numbers: [176]
176,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
Current State: 58:[29, 50, 93], Operations: ['95-2=93']
Exploring Operation: 50-29=21, Resulting Numbers: [93, 21]
Generated Node #0,4,0: 58:[93, 21] Operation: 50-29=21
Exploring Operation: 93-29=64, Resulting Numbers: [50, 64]
Generated Node #0,4,1: 58:[50, 64] Operation: 93-29=64
Exploring Operation: 29+93=122, Resulting Numbers: [50, 122]
Generated Node #0,4,2: 58:[50, 122] Operation: 29+93=122
Exploring Operation: 29+50=79, Resulting Numbers: [93, 79]
Generated Node #0,4,3: 58:[93, 79] Operation: 29+50=79
Exploring Operation: 93-50=43, Resulting Numbers: [29, 43]
Generated Node #0,4,4: 58:[29, 43] Operation: 93-50=43
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 58:[50, 64], Operations: ['95-2=93', '93-29=64']
Exploring Operation: 50+64=114, Resulting Numbers: [114]
114,58 unequal: No Solution
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 50*64=3200, Resulting Numbers: [3200]
3200,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 58:[29, 43], Operations: ['95-2=93', '93-50=43']
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,58 unequal: No Solution
Exploring Operation: 29*43=1247, Resulting Numbers: [1247]
1247,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 58:[93, 21], Operations: ['95-2=93', '50-29=21']
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,58 unequal: No Solution
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,58 unequal: No Solution
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 58:[93, 79], Operations: ['95-2=93', '29+50=79']
Exploring Operation: 93+79=172, Resulting Numbers: [172]
172,58 unequal: No Solution
Exploring Operation: 93*79=7347, Resulting Numbers: [7347]
7347,58 unequal: No Solution
Exploring Operation: 93-79=14, Resulting Numbers: [14]
14,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 58:[50, 122], Operations: ['95-2=93', '29+93=122']
Exploring Operation: 50+122=172, Resulting Numbers: [172]
172,58 unequal: No Solution
Exploring Operation: 50*122=6100, Resulting Numbers: [6100]
6100,58 unequal: No Solution
Exploring Operation: 122-50=72, Resulting Numbers: [72]
72,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
26,
39,
6,
9
] | 12 | [
"26*9=234",
"234/39=6",
"6+6=12"
] | Current State: 12:[26, 39, 6, 9], Operations: []
Exploring Operation: 26*9=234, Resulting Numbers: [39, 6, 234]
Generated Node #2: [39, 6, 234] from Operation: 26*9=234
Current State: 12:[39, 6, 234], Operations: ['26*9=234']
Exploring Operation: 234/39=6, Resulting Numbers: [6, 6]
Generated Node #3: [6, 6] from Operation: 234/39=6
Current State: 12:[6, 6], Operations: ['26*9=234', '234/39=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[26, 39, 6, 9], Operations: []
Exploring Operation: 39-26=13, Resulting Numbers: [6, 9, 13]
Generated Node #0,0: 12:[6, 9, 13] Operation: 39-26=13
Moving to Node #0,0
Current State: 12:[6, 9, 13], Operations: ['39-26=13']
Exploring Operation: 13-9=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 12:[6, 4] Operation: 13-9=4
Moving to Node #0,0,0
Current State: 12:[6, 4], Operations: ['39-26=13', '13-9=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,12 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
43,
8,
97,
71
] | 77 | [
"43+8=51",
"97-71=26",
"51+26=77"
] | Current State: 77:[43, 8, 97, 71], Operations: []
Exploring Operation: 43+8=51, Resulting Numbers: [97, 71, 51]
Generated Node #2: [97, 71, 51] from Operation: 43+8=51
Current State: 77:[97, 71, 51], Operations: ['43+8=51']
Exploring Operation: 97-71=26, Resulting Numbers: [51, 26]
Generated Node #3: [51, 26] from Operation: 97-71=26
Current State: 77:[51, 26], Operations: ['43+8=51', '97-71=26']
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[43, 8, 97, 71], Operations: []
Exploring Operation: 97-43=54, Resulting Numbers: [8, 71, 54]
Generated Node #0,0: 77:[8, 71, 54] Operation: 97-43=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[8, 71, 54], Operations: ['97-43=54']
Exploring Operation: 71-54=17, Resulting Numbers: [8, 17]
Generated Node #0,0,0: 77:[8, 17] Operation: 71-54=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[8, 17], Operations: ['97-43=54', '71-54=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
9,
32,
23,
30
] | 64 | [
"9+23=32",
"32-30=2",
"32*2=64"
] | Current State: 64:[9, 32, 23, 30], Operations: []
Exploring Operation: 9+23=32, Resulting Numbers: [32, 30, 32]
Generated Node #2: [32, 30, 32] from Operation: 9+23=32
Current State: 64:[32, 30, 32], Operations: ['9+23=32']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,64 equal: Goal Reached
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[9, 32, 23, 30], Operations: []
Exploring Operation: 9+23=32, Resulting Numbers: [32, 30, 32]
Generated Node #0,0: 64:[32, 30, 32] Operation: 9+23=32
Exploring Operation: 23-9=14, Resulting Numbers: [32, 30, 14]
Generated Node #0,1: 64:[32, 30, 14] Operation: 23-9=14
Exploring Operation: 32-23=9, Resulting Numbers: [9, 30, 9]
Generated Node #0,2: 64:[9, 30, 9] Operation: 32-23=9
Exploring Operation: 30-23=7, Resulting Numbers: [9, 32, 7]
Generated Node #0,3: 64:[9, 32, 7] Operation: 30-23=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[32, 30, 32], Operations: ['9+23=32']
Exploring Operation: 32+30=62, Resulting Numbers: [32, 62]
Generated Node #0,0,0: 64:[32, 62] Operation: 32+30=62
Exploring Operation: 32+32=64, Resulting Numbers: [30, 64]
Generated Node #0,0,1: 64:[30, 64] Operation: 32+32=64
Exploring Operation: 32-30=2, Resulting Numbers: [32, 2]
Generated Node #0,0,2: 64:[32, 2] Operation: 32-30=2
Exploring Operation: 32-30=2, Resulting Numbers: [32, 2]
Generated Node #0,0,3: 64:[32, 2] Operation: 32-30=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[32, 2], Operations: ['9+23=32', '32-30=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[9, 32, 23, 30], Operations: []
Exploring Operation: 9+23=32, Resulting Numbers: [32, 30, 32]
Generated Node #0,0: 64:[32, 30, 32] Operation: 9+23=32
Moving to Node #0,0
Current State: 64:[32, 30, 32], Operations: ['9+23=32']
Exploring Operation: 32-30=2, Resulting Numbers: [32, 2]
Generated Node #0,0,2: 64:[32, 2] Operation: 32-30=2
Moving to Node #0,0,2
Current State: 64:[32, 2], Operations: ['9+23=32', '32-30=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
33,
7,
39,
13
] | 29 | [
"33-7=26",
"39/13=3",
"26+3=29"
] | Current State: 29:[33, 7, 39, 13], Operations: []
Exploring Operation: 33-7=26, Resulting Numbers: [39, 13, 26]
Generated Node #2: [39, 13, 26] from Operation: 33-7=26
Current State: 29:[39, 13, 26], Operations: ['33-7=26']
Exploring Operation: 39/13=3, Resulting Numbers: [26, 3]
Generated Node #3: [26, 3] from Operation: 39/13=3
Current State: 29:[26, 3], Operations: ['33-7=26', '39/13=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[33, 7, 39, 13], Operations: []
Exploring Operation: 7+13=20, Resulting Numbers: [33, 39, 20]
Generated Node #0,0: 29:[33, 39, 20] Operation: 7+13=20
Exploring Operation: 39-7=32, Resulting Numbers: [33, 13, 32]
Generated Node #0,1: 29:[33, 13, 32] Operation: 39-7=32
Exploring Operation: 39-13=26, Resulting Numbers: [33, 7, 26]
Generated Node #0,2: 29:[33, 7, 26] Operation: 39-13=26
Exploring Operation: 33-7=26, Resulting Numbers: [39, 13, 26]
Generated Node #0,3: 29:[39, 13, 26] Operation: 33-7=26
Moving to Node #0,0
Current State: 29:[33, 39, 20], Operations: ['7+13=20']
Exploring Operation: 39-33=6, Resulting Numbers: [20, 6]
Generated Node #0,0,0: 29:[20, 6] Operation: 39-33=6
Exploring Operation: 33-20=13, Resulting Numbers: [39, 13]
Generated Node #0,0,1: 29:[39, 13] Operation: 33-20=13
Exploring Operation: 33+20=53, Resulting Numbers: [39, 53]
Generated Node #0,0,2: 29:[39, 53] Operation: 33+20=53
Exploring Operation: 39-20=19, Resulting Numbers: [33, 19]
Generated Node #0,0,3: 29:[33, 19] Operation: 39-20=19
Moving to Node #0,1
Current State: 29:[33, 13, 32], Operations: ['39-7=32']
Exploring Operation: 32-13=19, Resulting Numbers: [33, 19]
Generated Node #0,1,0: 29:[33, 19] Operation: 32-13=19
Exploring Operation: 33+13=46, Resulting Numbers: [32, 46]
Generated Node #0,1,1: 29:[32, 46] Operation: 33+13=46
Exploring Operation: 13+32=45, Resulting Numbers: [33, 45]
Generated Node #0,1,2: 29:[33, 45] Operation: 13+32=45
Exploring Operation: 33-13=20, Resulting Numbers: [32, 20]
Generated Node #0,1,3: 29:[32, 20] Operation: 33-13=20
Moving to Node #0,3
Current State: 29:[39, 13, 26], Operations: ['33-7=26']
Exploring Operation: 39-13=26, Resulting Numbers: [26, 26]
Generated Node #0,3,0: 29:[26, 26] Operation: 39-13=26
Exploring Operation: 13+26=39, Resulting Numbers: [39, 39]
Generated Node #0,3,1: 29:[39, 39] Operation: 13+26=39
Exploring Operation: 39+13=52, Resulting Numbers: [26, 52]
Generated Node #0,3,2: 29:[26, 52] Operation: 39+13=52
Exploring Operation: 26-13=13, Resulting Numbers: [39, 13]
Generated Node #0,3,3: 29:[39, 13] Operation: 26-13=13
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 29:[26, 26], Operations: ['33-7=26', '39-13=26']
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,29 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[39, 39], Operations: ['33-7=26', '13+26=39']
Exploring Operation: 39*39=1521, Resulting Numbers: [1521]
1521,29 unequal: No Solution
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 39/39=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 39-39=0, Resulting Numbers: [0]
0,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 29:[26, 52], Operations: ['33-7=26', '39+13=52']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 26+52=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 26*52=1352, Resulting Numbers: [1352]
1352,29 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 29:[39, 13], Operations: ['33-7=26', '26-13=13']
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,29 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,29 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: 29:[33, 7, 26], Operations: ['39-13=26']
Exploring Operation: 26-7=19, Resulting Numbers: [33, 19]
Generated Node #0,2,0: 29:[33, 19] Operation: 26-7=19
Exploring Operation: 7+26=33, Resulting Numbers: [33, 33]
Generated Node #0,2,1: 29:[33, 33] Operation: 7+26=33
Exploring Operation: 33-7=26, Resulting Numbers: [26, 26]
Generated Node #0,2,2: 29:[26, 26] Operation: 33-7=26
Exploring Operation: 33+7=40, Resulting Numbers: [26, 40]
Generated Node #0,2,3: 29:[26, 40] Operation: 33+7=40
Moving to Node #0,2,2
Current State: 29:[26, 26], Operations: ['39-13=26', '33-7=26']
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[33, 33], Operations: ['39-13=26', '7+26=33']
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,29 unequal: No Solution
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[32, 20], Operations: ['39-7=32', '33-13=20']
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,29 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[33, 19], Operations: ['39-7=32', '32-13=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,29 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[26, 40], Operations: ['39-13=26', '33+7=40']
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 26*40=1040, Resulting Numbers: [1040]
1040,29 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[33, 19], Operations: ['39-13=26', '26-7=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,29 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[33, 19], Operations: ['7+13=20', '39-20=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,29 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[32, 46], Operations: ['39-7=32', '33+13=46']
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,29 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[33, 45], Operations: ['39-7=32', '13+32=45']
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 33*45=1485, Resulting Numbers: [1485]
1485,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[39, 13], Operations: ['7+13=20', '33-20=13']
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[20, 6], Operations: ['7+13=20', '39-33=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[39, 53], Operations: ['7+13=20', '33+20=53']
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,29 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,29 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
16,
93,
6,
65
] | 18 | [
"93-16=77",
"65-6=59",
"77-59=18"
] | Current State: 18:[16, 93, 6, 65], Operations: []
Exploring Operation: 93-16=77, Resulting Numbers: [6, 65, 77]
Generated Node #2: [6, 65, 77] from Operation: 93-16=77
Current State: 18:[6, 65, 77], Operations: ['93-16=77']
Exploring Operation: 65-6=59, Resulting Numbers: [77, 59]
Generated Node #3: [77, 59] from Operation: 65-6=59
Current State: 18:[77, 59], Operations: ['93-16=77', '65-6=59']
Exploring Operation: 77-59=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[16, 93, 6, 65], Operations: []
Exploring Operation: 93-65=28, Resulting Numbers: [16, 6, 28]
Generated Node #0,0: 18:[16, 6, 28] Operation: 93-65=28
Exploring Operation: 93-16=77, Resulting Numbers: [6, 65, 77]
Generated Node #0,1: 18:[6, 65, 77] Operation: 93-16=77
Exploring Operation: 65-16=49, Resulting Numbers: [93, 6, 49]
Generated Node #0,2: 18:[93, 6, 49] Operation: 65-16=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[16, 6, 28], Operations: ['93-65=28']
Exploring Operation: 28-6=22, Resulting Numbers: [16, 22]
Generated Node #0,0,0: 18:[16, 22] Operation: 28-6=22
Exploring Operation: 16-6=10, Resulting Numbers: [28, 10]
Generated Node #0,0,1: 18:[28, 10] Operation: 16-6=10
Exploring Operation: 28-16=12, Resulting Numbers: [6, 12]
Generated Node #0,0,2: 18:[6, 12] Operation: 28-16=12
Moving to Node #0,0,2
Current State: 18:[6, 12], Operations: ['93-65=28', '28-16=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[16, 93, 6, 65], Operations: []
Exploring Operation: 93-65=28, Resulting Numbers: [16, 6, 28]
Generated Node #0,0: 18:[16, 6, 28] Operation: 93-65=28
Moving to Node #0,0
Current State: 18:[16, 6, 28], Operations: ['93-65=28']
Exploring Operation: 28-16=12, Resulting Numbers: [6, 12]
Generated Node #0,0,2: 18:[6, 12] Operation: 28-16=12
Moving to Node #0,0,2
Current State: 18:[6, 12], Operations: ['93-65=28', '28-16=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
10,
39,
36,
27
] | 62 | [
"39*36=1404",
"1404/27=52",
"10+52=62"
] | Current State: 62:[10, 39, 36, 27], Operations: []
Exploring Operation: 39*36=1404, Resulting Numbers: [10, 27, 1404]
Generated Node #2: [10, 27, 1404] from Operation: 39*36=1404
Current State: 62:[10, 27, 1404], Operations: ['39*36=1404']
Exploring Operation: 1404/27=52, Resulting Numbers: [10, 52]
Generated Node #3: [10, 52] from Operation: 1404/27=52
Current State: 62:[10, 52], Operations: ['39*36=1404', '1404/27=52']
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[10, 39, 36, 27], Operations: []
Exploring Operation: 39+27=66, Resulting Numbers: [10, 36, 66]
Generated Node #0,0: 62:[10, 36, 66] Operation: 39+27=66
Exploring Operation: 39-36=3, Resulting Numbers: [10, 27, 3]
Generated Node #0,1: 62:[10, 27, 3] Operation: 39-36=3
Exploring Operation: 36-10=26, Resulting Numbers: [39, 27, 26]
Generated Node #0,2: 62:[39, 27, 26] Operation: 36-10=26
Exploring Operation: 39-10=29, Resulting Numbers: [36, 27, 29]
Generated Node #0,3: 62:[36, 27, 29] Operation: 39-10=29
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[36, 27, 29], Operations: ['39-10=29']
Exploring Operation: 36+29=65, Resulting Numbers: [27, 65]
Generated Node #0,3,0: 62:[27, 65] Operation: 36+29=65
Exploring Operation: 36+27=63, Resulting Numbers: [29, 63]
Generated Node #0,3,1: 62:[29, 63] Operation: 36+27=63
Exploring Operation: 29-27=2, Resulting Numbers: [36, 2]
Generated Node #0,3,2: 62:[36, 2] Operation: 29-27=2
Exploring Operation: 36-27=9, Resulting Numbers: [29, 9]
Generated Node #0,3,3: 62:[29, 9] Operation: 36-27=9
Moving to Node #0,3,1
Current State: 62:[29, 63], Operations: ['39-10=29', '36+27=63']
Exploring Operation: 29*63=1827, Resulting Numbers: [1827]
1827,62 unequal: No Solution
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[36, 2], Operations: ['39-10=29', '29-27=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[27, 65], Operations: ['39-10=29', '36+29=65']
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 27*65=1755, Resulting Numbers: [1755]
1755,62 unequal: No Solution
Exploring Operation: 27+65=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[29, 9], Operations: ['39-10=29', '36-27=9']
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[10, 27, 3], Operations: ['39-36=3']
Exploring Operation: 10*3=30, Resulting Numbers: [27, 30]
Generated Node #0,1,0: 62:[27, 30] Operation: 10*3=30
Exploring Operation: 10-3=7, Resulting Numbers: [27, 7]
Generated Node #0,1,1: 62:[27, 7] Operation: 10-3=7
Exploring Operation: 10+27=37, Resulting Numbers: [3, 37]
Generated Node #0,1,2: 62:[3, 37] Operation: 10+27=37
Exploring Operation: 27+3=30, Resulting Numbers: [10, 30]
Generated Node #0,1,3: 62:[10, 30] Operation: 27+3=30
Moving to Node #0,1,0
Current State: 62:[27, 30], Operations: ['39-36=3', '10*3=30']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[3, 37], Operations: ['39-36=3', '10+27=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[10, 30], Operations: ['39-36=3', '27+3=30']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,62 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[27, 7], Operations: ['39-36=3', '10-3=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,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
Current State: 62:[10, 36, 66], Operations: ['39+27=66']
Exploring Operation: 36-10=26, Resulting Numbers: [66, 26]
Generated Node #0,0,0: 62:[66, 26] Operation: 36-10=26
Exploring Operation: 66-10=56, Resulting Numbers: [36, 56]
Generated Node #0,0,1: 62:[36, 56] Operation: 66-10=56
Exploring Operation: 10+36=46, Resulting Numbers: [66, 46]
Generated Node #0,0,2: 62:[66, 46] Operation: 10+36=46
Exploring Operation: 66-36=30, Resulting Numbers: [10, 30]
Generated Node #0,0,3: 62:[10, 30] Operation: 66-36=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[66, 26], Operations: ['39+27=66', '36-10=26']
Exploring Operation: 66*26=1716, Resulting Numbers: [1716]
1716,62 unequal: No Solution
Exploring Operation: 66+26=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,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:[10, 30], Operations: ['39+27=66', '66-36=30']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,62 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,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:[36, 56], Operations: ['39+27=66', '66-10=56']
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 36*56=2016, Resulting Numbers: [2016]
2016,62 unequal: No Solution
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,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,2
Current State: 62:[66, 46], Operations: ['39+27=66', '10+36=46']
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 66*46=3036, Resulting Numbers: [3036]
3036,62 unequal: No Solution
Exploring Operation: 66+46=112, Resulting Numbers: [112]
112,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:[39, 27, 26], Operations: ['36-10=26']
Exploring Operation: 39+27=66, Resulting Numbers: [26, 66]
Generated Node #0,2,0: 62:[26, 66] Operation: 39+27=66
Exploring Operation: 27-26=1, Resulting Numbers: [39, 1]
Generated Node #0,2,1: 62:[39, 1] Operation: 27-26=1
Exploring Operation: 39+26=65, Resulting Numbers: [27, 65]
Generated Node #0,2,2: 62:[27, 65] Operation: 39+26=65
Exploring Operation: 39-27=12, Resulting Numbers: [26, 12]
Generated Node #0,2,3: 62:[26, 12] Operation: 39-27=12
Moving to Node #0,2,2
Current State: 62:[27, 65], Operations: ['36-10=26', '39+26=65']
Exploring Operation: 27+65=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 27*65=1755, Resulting Numbers: [1755]
1755,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[39, 1], Operations: ['36-10=26', '27-26=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,62 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,62 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[26, 66], Operations: ['36-10=26', '39+27=66']
Exploring Operation: 26*66=1716, Resulting Numbers: [1716]
1716,62 unequal: No Solution
Exploring Operation: 26+66=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Moving to Node #0,2,3
Current State: 62:[26, 12], Operations: ['36-10=26', '39-27=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
11,
26,
46,
38
] | 47 | [
"11+26=37",
"46+38=84",
"84-37=47"
] | Current State: 47:[11, 26, 46, 38], Operations: []
Exploring Operation: 11+26=37, Resulting Numbers: [46, 38, 37]
Generated Node #2: [46, 38, 37] from Operation: 11+26=37
Current State: 47:[46, 38, 37], Operations: ['11+26=37']
Exploring Operation: 46+38=84, Resulting Numbers: [37, 84]
Generated Node #3: [37, 84] from Operation: 46+38=84
Current State: 47:[37, 84], Operations: ['11+26=37', '46+38=84']
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[11, 26, 46, 38], Operations: []
Exploring Operation: 11+26=37, Resulting Numbers: [46, 38, 37]
Generated Node #0,0: 47:[46, 38, 37] Operation: 11+26=37
Moving to Node #0,0
Current State: 47:[46, 38, 37], Operations: ['11+26=37']
Exploring Operation: 38+37=75, Resulting Numbers: [46, 75]
Generated Node #0,0,0: 47:[46, 75] Operation: 38+37=75
Moving to Node #0,0,0
Current State: 47:[46, 75], Operations: ['11+26=37', '38+37=75']
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,47 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
74,
62,
54,
19
] | 23 | [
"74-62=12",
"54-19=35",
"35-12=23"
] | Current State: 23:[74, 62, 54, 19], Operations: []
Exploring Operation: 74-62=12, Resulting Numbers: [54, 19, 12]
Generated Node #2: [54, 19, 12] from Operation: 74-62=12
Current State: 23:[54, 19, 12], Operations: ['74-62=12']
Exploring Operation: 54-19=35, Resulting Numbers: [12, 35]
Generated Node #3: [12, 35] from Operation: 54-19=35
Current State: 23:[12, 35], Operations: ['74-62=12', '54-19=35']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[74, 62, 54, 19], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [62, 19, 20]
Generated Node #0,0: 23:[62, 19, 20] Operation: 74-54=20
Exploring Operation: 74-62=12, Resulting Numbers: [54, 19, 12]
Generated Node #0,1: 23:[54, 19, 12] Operation: 74-62=12
Moving to Node #0,0
Current State: 23:[62, 19, 20], Operations: ['74-54=20']
Exploring Operation: 62-20=42, Resulting Numbers: [19, 42]
Generated Node #0,0,0: 23:[19, 42] Operation: 62-20=42
Exploring Operation: 62-19=43, Resulting Numbers: [20, 43]
Generated Node #0,0,1: 23:[20, 43] Operation: 62-19=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[19, 42], Operations: ['74-54=20', '62-20=42']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[74, 62, 54, 19], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [62, 19, 20]
Generated Node #0,0: 23:[62, 19, 20] Operation: 74-54=20
Moving to Node #0,0
Current State: 23:[62, 19, 20], Operations: ['74-54=20']
Exploring Operation: 62-20=42, Resulting Numbers: [19, 42]
Generated Node #0,0,0: 23:[19, 42] Operation: 62-20=42
Moving to Node #0,0,0
Current State: 23:[19, 42], Operations: ['74-54=20', '62-20=42']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
40,
80,
25,
65
] | 92 | [
"80/40=2",
"25+65=90",
"2+90=92"
] | Current State: 92:[40, 80, 25, 65], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [25, 65, 2]
Generated Node #2: [25, 65, 2] from Operation: 80/40=2
Current State: 92:[25, 65, 2], Operations: ['80/40=2']
Exploring Operation: 25+65=90, Resulting Numbers: [2, 90]
Generated Node #3: [2, 90] from Operation: 25+65=90
Current State: 92:[2, 90], Operations: ['80/40=2', '25+65=90']
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[40, 80, 25, 65], Operations: []
Exploring Operation: 80-65=15, Resulting Numbers: [40, 25, 15]
Generated Node #0,0: 92:[40, 25, 15] Operation: 80-65=15
Exploring Operation: 80/40=2, Resulting Numbers: [25, 65, 2]
Generated Node #0,1: 92:[25, 65, 2] Operation: 80/40=2
Exploring Operation: 25+65=90, Resulting Numbers: [40, 80, 90]
Generated Node #0,2: 92:[40, 80, 90] Operation: 25+65=90
Exploring Operation: 65-40=25, Resulting Numbers: [80, 25, 25]
Generated Node #0,3: 92:[80, 25, 25] Operation: 65-40=25
Moving to Node #0,0
Current State: 92:[40, 25, 15], Operations: ['80-65=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25, 25]
Generated Node #0,0,0: 92:[25, 25] Operation: 40-15=25
Exploring Operation: 25-15=10, Resulting Numbers: [40, 10]
Generated Node #0,0,1: 92:[40, 10] Operation: 25-15=10
Exploring Operation: 40+15=55, Resulting Numbers: [25, 55]
Generated Node #0,0,2: 92:[25, 55] Operation: 40+15=55
Exploring Operation: 25+15=40, Resulting Numbers: [40, 40]
Generated Node #0,0,3: 92:[40, 40] Operation: 25+15=40
Moving to Node #0,3
Current State: 92:[80, 25, 25], Operations: ['65-40=25']
Exploring Operation: 80-25=55, Resulting Numbers: [25, 55]
Generated Node #0,3,0: 92:[25, 55] Operation: 80-25=55
Exploring Operation: 80-25=55, Resulting Numbers: [25, 55]
Generated Node #0,3,1: 92:[25, 55] Operation: 80-25=55
Exploring Operation: 25-25=0, Resulting Numbers: [80, 0]
Generated Node #0,3,2: 92:[80, 0] Operation: 25-25=0
Exploring Operation: 25/25=1, Resulting Numbers: [80, 1]
Generated Node #0,3,3: 92:[80, 1] Operation: 25/25=1
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 92:[25, 55], Operations: ['65-40=25', '80-25=55']
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,92 unequal: No Solution
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,92 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 92:[25, 55], Operations: ['65-40=25', '80-25=55']
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,92 unequal: No Solution
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,92 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[80, 1], Operations: ['65-40=25', '25/25=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,92 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,92 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,92 unequal: No Solution
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[80, 0], Operations: ['65-40=25', '25-25=0']
Exploring Operation: 80*0=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 80+0=80, Resulting Numbers: [80]
80,92 unequal: No Solution
Exploring Operation: 80-0=80, Resulting Numbers: [80]
80,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 92:[40, 80, 90], Operations: ['25+65=90']
Exploring Operation: 90-80=10, Resulting Numbers: [40, 10]
Generated Node #0,2,0: 92:[40, 10] Operation: 90-80=10
Exploring Operation: 80/40=2, Resulting Numbers: [90, 2]
Generated Node #0,2,1: 92:[90, 2] Operation: 80/40=2
Exploring Operation: 80-40=40, Resulting Numbers: [90, 40]
Generated Node #0,2,2: 92:[90, 40] Operation: 80-40=40
Exploring Operation: 90-40=50, Resulting Numbers: [80, 50]
Generated Node #0,2,3: 92:[80, 50] Operation: 90-40=50
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[90, 2], Operations: ['25+65=90', '80/40=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[40, 80, 25, 65], Operations: []
Exploring Operation: 25+65=90, Resulting Numbers: [40, 80, 90]
Generated Node #0,2: 92:[40, 80, 90] Operation: 25+65=90
Moving to Node #0,2
Current State: 92:[40, 80, 90], Operations: ['25+65=90']
Exploring Operation: 80/40=2, Resulting Numbers: [90, 2]
Generated Node #0,2,1: 92:[90, 2] Operation: 80/40=2
Moving to Node #0,2,1
Current State: 92:[90, 2], Operations: ['25+65=90', '80/40=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
31,
26,
2,
39
] | 18 | [
"31+39=70",
"26*2=52",
"70-52=18"
] | Current State: 18:[31, 26, 2, 39], Operations: []
Exploring Operation: 31+39=70, Resulting Numbers: [26, 2, 70]
Generated Node #2: [26, 2, 70] from Operation: 31+39=70
Current State: 18:[26, 2, 70], Operations: ['31+39=70']
Exploring Operation: 26*2=52, Resulting Numbers: [70, 52]
Generated Node #3: [70, 52] from Operation: 26*2=52
Current State: 18:[70, 52], Operations: ['31+39=70', '26*2=52']
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[31, 26, 2, 39], Operations: []
Exploring Operation: 39-26=13, Resulting Numbers: [31, 2, 13]
Generated Node #0,0: 18:[31, 2, 13] Operation: 39-26=13
Exploring Operation: 39-31=8, Resulting Numbers: [26, 2, 8]
Generated Node #0,1: 18:[26, 2, 8] Operation: 39-31=8
Exploring Operation: 31-26=5, Resulting Numbers: [2, 39, 5]
Generated Node #0,2: 18:[2, 39, 5] Operation: 31-26=5
Exploring Operation: 26/2=13, Resulting Numbers: [31, 39, 13]
Generated Node #0,3: 18:[31, 39, 13] Operation: 26/2=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[26, 2, 8], Operations: ['39-31=8']
Exploring Operation: 26/2=13, Resulting Numbers: [8, 13]
Generated Node #0,1,0: 18:[8, 13] Operation: 26/2=13
Exploring Operation: 26-2=24, Resulting Numbers: [8, 24]
Generated Node #0,1,1: 18:[8, 24] Operation: 26-2=24
Exploring Operation: 26-8=18, Resulting Numbers: [2, 18]
Generated Node #0,1,2: 18:[2, 18] Operation: 26-8=18
Exploring Operation: 8-2=6, Resulting Numbers: [26, 6]
Generated Node #0,1,3: 18:[26, 6] Operation: 8-2=6
Moving to Node #0,1,2
Current State: 18:[2, 18], Operations: ['39-31=8', '26-8=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[8, 13], Operations: ['39-31=8', '26/2=13']
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,18 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[8, 24], Operations: ['39-31=8', '26-2=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,18 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[26, 6], Operations: ['39-31=8', '8-2=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,18 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[31, 2, 13], Operations: ['39-26=13']
Exploring Operation: 2+13=15, Resulting Numbers: [31, 15]
Generated Node #0,0,0: 18:[31, 15] Operation: 2+13=15
Exploring Operation: 31-2=29, Resulting Numbers: [13, 29]
Generated Node #0,0,1: 18:[13, 29] Operation: 31-2=29
Exploring Operation: 31-13=18, Resulting Numbers: [2, 18]
Generated Node #0,0,2: 18:[2, 18] Operation: 31-13=18
Exploring Operation: 13-2=11, Resulting Numbers: [31, 11]
Generated Node #0,0,3: 18:[31, 11] Operation: 13-2=11
Moving to Node #0,0,2
Current State: 18:[2, 18], Operations: ['39-26=13', '31-13=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[31, 11], Operations: ['39-26=13', '13-2=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,18 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[13, 29], Operations: ['39-26=13', '31-2=29']
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[31, 15], Operations: ['39-26=13', '2+13=15']
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,18 unequal: No Solution
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,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,2
Current State: 18:[2, 39, 5], Operations: ['31-26=5']
Exploring Operation: 5-2=3, Resulting Numbers: [39, 3]
Generated Node #0,2,0: 18:[39, 3] Operation: 5-2=3
Exploring Operation: 39-5=34, Resulting Numbers: [2, 34]
Generated Node #0,2,1: 18:[2, 34] Operation: 39-5=34
Exploring Operation: 2+5=7, Resulting Numbers: [39, 7]
Generated Node #0,2,2: 18:[39, 7] Operation: 2+5=7
Exploring Operation: 39-2=37, Resulting Numbers: [5, 37]
Generated Node #0,2,3: 18:[5, 37] Operation: 39-2=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 18:[2, 34], Operations: ['31-26=5', '39-5=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,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:[5, 37], Operations: ['31-26=5', '39-2=37']
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,18 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,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:[39, 3], Operations: ['31-26=5', '5-2=3']
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,18 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,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:[39, 7], Operations: ['31-26=5', '2+5=7']
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,18 unequal: No Solution
Exploring Operation: 39-7=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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[31, 39, 13], Operations: ['26/2=13']
Exploring Operation: 39-13=26, Resulting Numbers: [31, 26]
Generated Node #0,3,0: 18:[31, 26] Operation: 39-13=26
Exploring Operation: 31-13=18, Resulting Numbers: [39, 18]
Generated Node #0,3,1: 18:[39, 18] Operation: 31-13=18
Exploring Operation: 39/13=3, Resulting Numbers: [31, 3]
Generated Node #0,3,2: 18:[31, 3] Operation: 39/13=3
Exploring Operation: 39-31=8, Resulting Numbers: [13, 8]
Generated Node #0,3,3: 18:[13, 8] Operation: 39-31=8
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 18:[13, 8], Operations: ['26/2=13', '39-31=8']
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,18 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,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:[31, 3], Operations: ['26/2=13', '39/13=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,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:[31, 26], Operations: ['26/2=13', '39-13=26']
Exploring Operation: 31*26=806, Resulting Numbers: [806]
806,18 unequal: No Solution
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,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,1
Current State: 18:[39, 18], Operations: ['26/2=13', '31-13=18']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 39*18=702, Resulting Numbers: [702]
702,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 | sum_heuristic |
[
55,
86,
58,
36
] | 98 | [
"58-55=3",
"36/3=12",
"86+12=98"
] | Current State: 98:[55, 86, 58, 36], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [86, 36, 3]
Generated Node #2: [86, 36, 3] from Operation: 58-55=3
Current State: 98:[86, 36, 3], Operations: ['58-55=3']
Exploring Operation: 36/3=12, Resulting Numbers: [86, 12]
Generated Node #3: [86, 12] from Operation: 36/3=12
Current State: 98:[86, 12], Operations: ['58-55=3', '36/3=12']
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[55, 86, 58, 36], Operations: []
Exploring Operation: 86-36=50, Resulting Numbers: [55, 58, 50]
Generated Node #0,0: 98:[55, 58, 50] Operation: 86-36=50
Exploring Operation: 58-55=3, Resulting Numbers: [86, 36, 3]
Generated Node #0,1: 98:[86, 36, 3] Operation: 58-55=3
Exploring Operation: 58+36=94, Resulting Numbers: [55, 86, 94]
Generated Node #0,2: 98:[55, 86, 94] Operation: 58+36=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[55, 58, 50], Operations: ['86-36=50']
Exploring Operation: 55-50=5, Resulting Numbers: [58, 5]
Generated Node #0,0,0: 98:[58, 5] Operation: 55-50=5
Exploring Operation: 58-50=8, Resulting Numbers: [55, 8]
Generated Node #0,0,1: 98:[55, 8] Operation: 58-50=8
Exploring Operation: 58-55=3, Resulting Numbers: [50, 3]
Generated Node #0,0,2: 98:[50, 3] Operation: 58-55=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[50, 3], Operations: ['86-36=50', '58-55=3']
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[55, 8], Operations: ['86-36=50', '58-50=8']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[58, 5], Operations: ['86-36=50', '55-50=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[55, 86, 94], Operations: ['58+36=94']
Exploring Operation: 86-55=31, Resulting Numbers: [94, 31]
Generated Node #0,2,0: 98:[94, 31] Operation: 86-55=31
Exploring Operation: 94-55=39, Resulting Numbers: [86, 39]
Generated Node #0,2,1: 98:[86, 39] Operation: 94-55=39
Exploring Operation: 94-86=8, Resulting Numbers: [55, 8]
Generated Node #0,2,2: 98:[55, 8] Operation: 94-86=8
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[55, 8], Operations: ['58+36=94', '94-86=8']
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,98 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[94, 31], Operations: ['58+36=94', '86-55=31']
Exploring Operation: 94-31=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 94+31=125, Resulting Numbers: [125]
125,98 unequal: No Solution
Exploring Operation: 94*31=2914, Resulting Numbers: [2914]
2914,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[86, 39], Operations: ['58+36=94', '94-55=39']
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 86*39=3354, Resulting Numbers: [3354]
3354,98 unequal: No Solution
Exploring Operation: 86+39=125, Resulting Numbers: [125]
125,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[86, 36, 3], Operations: ['58-55=3']
Exploring Operation: 86-36=50, Resulting Numbers: [3, 50]
Generated Node #0,1,0: 98:[3, 50] Operation: 86-36=50
Exploring Operation: 86+3=89, Resulting Numbers: [36, 89]
Generated Node #0,1,1: 98:[36, 89] Operation: 86+3=89
Exploring Operation: 36/3=12, Resulting Numbers: [86, 12]
Generated Node #0,1,2: 98:[86, 12] Operation: 36/3=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[3, 50], Operations: ['58-55=3', '86-36=50']
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,98 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[86, 12], Operations: ['58-55=3', '36/3=12']
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[55, 86, 58, 36], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [86, 36, 3]
Generated Node #0,1: 98:[86, 36, 3] Operation: 58-55=3
Moving to Node #0,1
Current State: 98:[86, 36, 3], Operations: ['58-55=3']
Exploring Operation: 36/3=12, Resulting Numbers: [86, 12]
Generated Node #0,1,2: 98:[86, 12] Operation: 36/3=12
Moving to Node #0,1,2
Current State: 98:[86, 12], Operations: ['58-55=3', '36/3=12']
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_3 | mult_heuristic |
[
14,
85,
21,
71
] | 98 | [
"21-14=7",
"85-71=14",
"7*14=98"
] | Current State: 98:[14, 85, 21, 71], Operations: []
Exploring Operation: 21-14=7, Resulting Numbers: [85, 71, 7]
Generated Node #2: [85, 71, 7] from Operation: 21-14=7
Current State: 98:[85, 71, 7], Operations: ['21-14=7']
Exploring Operation: 85-71=14, Resulting Numbers: [7, 14]
Generated Node #3: [7, 14] from Operation: 85-71=14
Current State: 98:[7, 14], Operations: ['21-14=7', '85-71=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[14, 85, 21, 71], Operations: []
Exploring Operation: 85-71=14, Resulting Numbers: [14, 21, 14]
Generated Node #0,0: 98:[14, 21, 14] Operation: 85-71=14
Moving to Node #0,0
Current State: 98:[14, 21, 14], Operations: ['85-71=14']
Exploring Operation: 21-14=7, Resulting Numbers: [14, 7]
Generated Node #0,0,0: 98:[14, 7] Operation: 21-14=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[14, 7], Operations: ['85-71=14', '21-14=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[14, 85, 21, 71], Operations: []
Exploring Operation: 85-71=14, Resulting Numbers: [14, 21, 14]
Generated Node #0,0: 98:[14, 21, 14] Operation: 85-71=14
Moving to Node #0,0
Current State: 98:[14, 21, 14], Operations: ['85-71=14']
Exploring Operation: 21-14=7, Resulting Numbers: [14, 7]
Generated Node #0,0,0: 98:[14, 7] Operation: 21-14=7
Moving to Node #0,0,0
Current State: 98:[14, 7], Operations: ['85-71=14', '21-14=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
27,
62,
6,
3
] | 66 | [
"27-3=24",
"24/6=4",
"62+4=66"
] | Current State: 66:[27, 62, 6, 3], Operations: []
Exploring Operation: 27-3=24, Resulting Numbers: [62, 6, 24]
Generated Node #2: [62, 6, 24] from Operation: 27-3=24
Current State: 66:[62, 6, 24], Operations: ['27-3=24']
Exploring Operation: 24/6=4, Resulting Numbers: [62, 4]
Generated Node #3: [62, 4] from Operation: 24/6=4
Current State: 66:[62, 4], Operations: ['27-3=24', '24/6=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[27, 62, 6, 3], Operations: []
Exploring Operation: 62-27=35, Resulting Numbers: [6, 3, 35]
Generated Node #0,0: 66:[6, 3, 35] Operation: 62-27=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[6, 3, 35], Operations: ['62-27=35']
Exploring Operation: 35-3=32, Resulting Numbers: [6, 32]
Generated Node #0,0,0: 66:[6, 32] Operation: 35-3=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[6, 32], Operations: ['62-27=35', '35-3=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
98,
83,
84,
8
] | 91 | [
"98-83=15",
"84-8=76",
"15+76=91"
] | Current State: 91:[98, 83, 84, 8], Operations: []
Exploring Operation: 98-83=15, Resulting Numbers: [84, 8, 15]
Generated Node #2: [84, 8, 15] from Operation: 98-83=15
Current State: 91:[84, 8, 15], Operations: ['98-83=15']
Exploring Operation: 84-8=76, Resulting Numbers: [15, 76]
Generated Node #3: [15, 76] from Operation: 84-8=76
Current State: 91:[15, 76], Operations: ['98-83=15', '84-8=76']
Exploring Operation: 15+76=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[98, 83, 84, 8], Operations: []
Exploring Operation: 98-83=15, Resulting Numbers: [84, 8, 15]
Generated Node #0,0: 91:[84, 8, 15] Operation: 98-83=15
Moving to Node #0,0
Current State: 91:[84, 8, 15], Operations: ['98-83=15']
Exploring Operation: 84+8=92, Resulting Numbers: [15, 92]
Generated Node #0,0,0: 91:[15, 92] Operation: 84+8=92
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[15, 92], Operations: ['98-83=15', '84+8=92']
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,91 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 |
[
31,
72,
30,
98
] | 87 | [
"72-31=41",
"30+98=128",
"128-41=87"
] | Current State: 87:[31, 72, 30, 98], Operations: []
Exploring Operation: 72-31=41, Resulting Numbers: [30, 98, 41]
Generated Node #2: [30, 98, 41] from Operation: 72-31=41
Current State: 87:[30, 98, 41], Operations: ['72-31=41']
Exploring Operation: 30+98=128, Resulting Numbers: [41, 128]
Generated Node #3: [41, 128] from Operation: 30+98=128
Current State: 87:[41, 128], Operations: ['72-31=41', '30+98=128']
Exploring Operation: 128-41=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[31, 72, 30, 98], Operations: []
Exploring Operation: 72-31=41, Resulting Numbers: [30, 98, 41]
Generated Node #0,0: 87:[30, 98, 41] Operation: 72-31=41
Exploring Operation: 98-72=26, Resulting Numbers: [31, 30, 26]
Generated Node #0,1: 87:[31, 30, 26] Operation: 98-72=26
Moving to Node #0,1
Current State: 87:[31, 30, 26], Operations: ['98-72=26']
Exploring Operation: 31-26=5, Resulting Numbers: [30, 5]
Generated Node #0,1,0: 87:[30, 5] Operation: 31-26=5
Exploring Operation: 30-26=4, Resulting Numbers: [31, 4]
Generated Node #0,1,1: 87:[31, 4] Operation: 30-26=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[30, 5], Operations: ['98-72=26', '31-26=5']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[31, 4], Operations: ['98-72=26', '30-26=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 87:[30, 98, 41], Operations: ['72-31=41']
Exploring Operation: 41-30=11, Resulting Numbers: [98, 11]
Generated Node #0,0,0: 87:[98, 11] Operation: 41-30=11
Exploring Operation: 30+41=71, Resulting Numbers: [98, 71]
Generated Node #0,0,1: 87:[98, 71] Operation: 30+41=71
Moving to Node #0,0,0
Current State: 87:[98, 11], Operations: ['72-31=41', '41-30=11']
Exploring Operation: 98+11=109, Resulting Numbers: [109]
109,87 unequal: No Solution
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[31, 72, 30, 98], Operations: []
Exploring Operation: 72-31=41, Resulting Numbers: [30, 98, 41]
Generated Node #0,0: 87:[30, 98, 41] Operation: 72-31=41
Moving to Node #0,0
Current State: 87:[30, 98, 41], Operations: ['72-31=41']
Exploring Operation: 41-30=11, Resulting Numbers: [98, 11]
Generated Node #0,0,0: 87:[98, 11] Operation: 41-30=11
Moving to Node #0,0,0
Current State: 87:[98, 11], Operations: ['72-31=41', '41-30=11']
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
83,
92,
39,
87
] | 64 | [
"87-83=4",
"39*4=156",
"156-92=64"
] | Current State: 64:[83, 92, 39, 87], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [92, 39, 4]
Generated Node #2: [92, 39, 4] from Operation: 87-83=4
Current State: 64:[92, 39, 4], Operations: ['87-83=4']
Exploring Operation: 39*4=156, Resulting Numbers: [92, 156]
Generated Node #3: [92, 156] from Operation: 39*4=156
Current State: 64:[92, 156], Operations: ['87-83=4', '39*4=156']
Exploring Operation: 156-92=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[83, 92, 39, 87], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [83, 39, 5]
Generated Node #0,0: 64:[83, 39, 5] Operation: 92-87=5
Exploring Operation: 92-83=9, Resulting Numbers: [39, 87, 9]
Generated Node #0,1: 64:[39, 87, 9] Operation: 92-83=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[83, 39, 5], Operations: ['92-87=5']
Exploring Operation: 83-39=44, Resulting Numbers: [5, 44]
Generated Node #0,0,0: 64:[5, 44] Operation: 83-39=44
Exploring Operation: 83-5=78, Resulting Numbers: [39, 78]
Generated Node #0,0,1: 64:[39, 78] Operation: 83-5=78
Moving to Node #0,0,0
Current State: 64:[5, 44], Operations: ['92-87=5', '83-39=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[39, 78], Operations: ['92-87=5', '83-5=78']
Exploring Operation: 78-39=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 78/39=2, Resulting Numbers: [2]
2,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[39, 87, 9], Operations: ['92-83=9']
Exploring Operation: 87-9=78, Resulting Numbers: [39, 78]
Generated Node #0,1,0: 64:[39, 78] Operation: 87-9=78
Exploring Operation: 87-39=48, Resulting Numbers: [9, 48]
Generated Node #0,1,1: 64:[9, 48] Operation: 87-39=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 64:[9, 48], Operations: ['92-83=9', '87-39=48']
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,64 unequal: No Solution
No 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: 64:[39, 78], Operations: ['92-83=9', '87-9=78']
Exploring Operation: 78/39=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 78-39=39, Resulting Numbers: [39]
39,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
8,
40,
65,
10
] | 33 | [
"8*40=320",
"320/10=32",
"65-32=33"
] | Current State: 33:[8, 40, 65, 10], Operations: []
Exploring Operation: 8*40=320, Resulting Numbers: [65, 10, 320]
Generated Node #2: [65, 10, 320] from Operation: 8*40=320
Current State: 33:[65, 10, 320], Operations: ['8*40=320']
Exploring Operation: 320/10=32, Resulting Numbers: [65, 32]
Generated Node #3: [65, 32] from Operation: 320/10=32
Current State: 33:[65, 32], Operations: ['8*40=320', '320/10=32']
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[8, 40, 65, 10], Operations: []
Exploring Operation: 65-8=57, Resulting Numbers: [40, 10, 57]
Generated Node #0,0: 33:[40, 10, 57] Operation: 65-8=57
Exploring Operation: 65-40=25, Resulting Numbers: [8, 10, 25]
Generated Node #0,1: 33:[8, 10, 25] Operation: 65-40=25
Exploring Operation: 65-10=55, Resulting Numbers: [8, 40, 55]
Generated Node #0,2: 33:[8, 40, 55] Operation: 65-10=55
Exploring Operation: 40-8=32, Resulting Numbers: [65, 10, 32]
Generated Node #0,3: 33:[65, 10, 32] Operation: 40-8=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[8, 10, 25], Operations: ['65-40=25']
Exploring Operation: 10+25=35, Resulting Numbers: [8, 35]
Generated Node #0,1,0: 33:[8, 35] Operation: 10+25=35
Exploring Operation: 25-10=15, Resulting Numbers: [8, 15]
Generated Node #0,1,1: 33:[8, 15] Operation: 25-10=15
Exploring Operation: 8+25=33, Resulting Numbers: [10, 33]
Generated Node #0,1,2: 33:[10, 33] Operation: 8+25=33
Exploring Operation: 25-8=17, Resulting Numbers: [10, 17]
Generated Node #0,1,3: 33:[10, 17] Operation: 25-8=17
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[10, 33], Operations: ['65-40=25', '8+25=33']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,33 unequal: No Solution
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[8, 35], Operations: ['65-40=25', '10+25=35']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 8*35=280, Resulting Numbers: [280]
280,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[8, 15], Operations: ['65-40=25', '25-10=15']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,33 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 33:[10, 17], Operations: ['65-40=25', '25-8=17']
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[40, 10, 57], Operations: ['65-8=57']
Exploring Operation: 57-10=47, Resulting Numbers: [40, 47]
Generated Node #0,0,0: 33:[40, 47] Operation: 57-10=47
Exploring Operation: 40-10=30, Resulting Numbers: [57, 30]
Generated Node #0,0,1: 33:[57, 30] Operation: 40-10=30
Exploring Operation: 57-40=17, Resulting Numbers: [10, 17]
Generated Node #0,0,2: 33:[10, 17] Operation: 57-40=17
Exploring Operation: 40/10=4, Resulting Numbers: [57, 4]
Generated Node #0,0,3: 33:[57, 4] Operation: 40/10=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[10, 17], Operations: ['65-8=57', '57-40=17']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,33 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[40, 47], Operations: ['65-8=57', '57-10=47']
Exploring Operation: 40*47=1880, Resulting Numbers: [1880]
1880,33 unequal: No Solution
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 33:[57, 4], Operations: ['65-8=57', '40/10=4']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,33 unequal: No Solution
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[57, 30], Operations: ['65-8=57', '40-10=30']
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[8, 40, 55], Operations: ['65-10=55']
Exploring Operation: 40-8=32, Resulting Numbers: [55, 32]
Generated Node #0,2,0: 33:[55, 32] Operation: 40-8=32
Exploring Operation: 55-40=15, Resulting Numbers: [8, 15]
Generated Node #0,2,1: 33:[8, 15] Operation: 55-40=15
Exploring Operation: 55-8=47, Resulting Numbers: [40, 47]
Generated Node #0,2,2: 33:[40, 47] Operation: 55-8=47
Exploring Operation: 40/8=5, Resulting Numbers: [55, 5]
Generated Node #0,2,3: 33:[55, 5] Operation: 40/8=5
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[8, 15], Operations: ['65-10=55', '55-40=15']
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,33 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[40, 47], Operations: ['65-10=55', '55-8=47']
Exploring Operation: 40*47=1880, Resulting Numbers: [1880]
1880,33 unequal: No Solution
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[55, 32], Operations: ['65-10=55', '40-8=32']
Exploring Operation: 55*32=1760, Resulting Numbers: [1760]
1760,33 unequal: No Solution
Exploring Operation: 55+32=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 33:[55, 5], Operations: ['65-10=55', '40/8=5']
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,33 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[65, 10, 32], Operations: ['40-8=32']
Exploring Operation: 65-10=55, Resulting Numbers: [32, 55]
Generated Node #0,3,0: 33:[32, 55] Operation: 65-10=55
Exploring Operation: 65+10=75, Resulting Numbers: [32, 75]
Generated Node #0,3,1: 33:[32, 75] Operation: 65+10=75
Exploring Operation: 65-32=33, Resulting Numbers: [10, 33]
Generated Node #0,3,2: 33:[10, 33] Operation: 65-32=33
Exploring Operation: 10+32=42, Resulting Numbers: [65, 42]
Generated Node #0,3,3: 33:[65, 42] Operation: 10+32=42
Moving to Node #0,3,2
Current State: 33:[10, 33], Operations: ['40-8=32', '65-32=33']
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,33 unequal: No Solution
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[32, 55], Operations: ['40-8=32', '65-10=55']
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 32+55=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 32*55=1760, Resulting Numbers: [1760]
1760,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[65, 42], Operations: ['40-8=32', '10+32=42']
Exploring Operation: 65*42=2730, Resulting Numbers: [2730]
2730,33 unequal: No Solution
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 65+42=107, Resulting Numbers: [107]
107,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[32, 75], Operations: ['40-8=32', '65+10=75']
Exploring Operation: 32+75=107, Resulting Numbers: [107]
107,33 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 32*75=2400, Resulting Numbers: [2400]
2400,33 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 |
[
14,
42,
44,
27
] | 35 | [
"42/14=3",
"27/3=9",
"44-9=35"
] | Current State: 35:[14, 42, 44, 27], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [44, 27, 3]
Generated Node #2: [44, 27, 3] from Operation: 42/14=3
Current State: 35:[44, 27, 3], Operations: ['42/14=3']
Exploring Operation: 27/3=9, Resulting Numbers: [44, 9]
Generated Node #3: [44, 9] from Operation: 27/3=9
Current State: 35:[44, 9], Operations: ['42/14=3', '27/3=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[14, 42, 44, 27], Operations: []
Exploring Operation: 44-42=2, Resulting Numbers: [14, 27, 2]
Generated Node #0,0: 35:[14, 27, 2] Operation: 44-42=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[14, 27, 2], Operations: ['44-42=2']
Exploring Operation: 14/2=7, Resulting Numbers: [27, 7]
Generated Node #0,0,0: 35:[27, 7] Operation: 14/2=7
Moving to Node #0,0,0
Current State: 35:[27, 7], Operations: ['44-42=2', '14/2=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,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 | mult_heuristic |
[
31,
22,
76,
76
] | 52 | [
"31+22=53",
"76/76=1",
"53-1=52"
] | Current State: 52:[31, 22, 76, 76], Operations: []
Exploring Operation: 31+22=53, Resulting Numbers: [76, 76, 53]
Generated Node #2: [76, 76, 53] from Operation: 31+22=53
Current State: 52:[76, 76, 53], Operations: ['31+22=53']
Exploring Operation: 76/76=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 76/76=1
Current State: 52:[53, 1], Operations: ['31+22=53', '76/76=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[31, 22, 76, 76], Operations: []
Exploring Operation: 76/76=1, Resulting Numbers: [31, 22, 1]
Generated Node #0,0: 52:[31, 22, 1] Operation: 76/76=1
Exploring Operation: 76-76=0, Resulting Numbers: [31, 22, 0]
Generated Node #0,1: 52:[31, 22, 0] Operation: 76-76=0
Exploring Operation: 76-31=45, Resulting Numbers: [22, 76, 45]
Generated Node #0,2: 52:[22, 76, 45] Operation: 76-31=45
Exploring Operation: 76-22=54, Resulting Numbers: [31, 76, 54]
Generated Node #0,3: 52:[31, 76, 54] Operation: 76-22=54
Exploring Operation: 76-22=54, Resulting Numbers: [31, 76, 54]
Generated Node #0,4: 52:[31, 76, 54] Operation: 76-22=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[31, 22, 1], Operations: ['76/76=1']
Exploring Operation: 31*1=31, Resulting Numbers: [22, 31]
Generated Node #0,0,0: 52:[22, 31] Operation: 31*1=31
Exploring Operation: 31-22=9, Resulting Numbers: [1, 9]
Generated Node #0,0,1: 52:[1, 9] Operation: 31-22=9
Exploring Operation: 22+1=23, Resulting Numbers: [31, 23]
Generated Node #0,0,2: 52:[31, 23] Operation: 22+1=23
Exploring Operation: 31-1=30, Resulting Numbers: [22, 30]
Generated Node #0,0,3: 52:[22, 30] Operation: 31-1=30
Exploring Operation: 31+22=53, Resulting Numbers: [1, 53]
Generated Node #0,0,4: 52:[1, 53] Operation: 31+22=53
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 52:[1, 53], Operations: ['76/76=1', '31+22=53']
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[31, 22, 76, 76], Operations: []
Exploring Operation: 76/76=1, Resulting Numbers: [31, 22, 1]
Generated Node #0,0: 52:[31, 22, 1] Operation: 76/76=1
Moving to Node #0,0
Current State: 52:[31, 22, 1], Operations: ['76/76=1']
Exploring Operation: 31+22=53, Resulting Numbers: [1, 53]
Generated Node #0,0,4: 52:[1, 53] Operation: 31+22=53
Moving to Node #0,0,4
Current State: 52:[1, 53], Operations: ['76/76=1', '31+22=53']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
63,
64,
61,
7
] | 42 | [
"64-61=3",
"7*3=21",
"63-21=42"
] | Current State: 42:[63, 64, 61, 7], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [63, 7, 3]
Generated Node #2: [63, 7, 3] from Operation: 64-61=3
Current State: 42:[63, 7, 3], Operations: ['64-61=3']
Exploring Operation: 7*3=21, Resulting Numbers: [63, 21]
Generated Node #3: [63, 21] from Operation: 7*3=21
Current State: 42:[63, 21], Operations: ['64-61=3', '7*3=21']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[63, 64, 61, 7], Operations: []
Exploring Operation: 63-7=56, Resulting Numbers: [64, 61, 56]
Generated Node #0,0: 42:[64, 61, 56] Operation: 63-7=56
Exploring Operation: 63-61=2, Resulting Numbers: [64, 7, 2]
Generated Node #0,1: 42:[64, 7, 2] Operation: 63-61=2
Exploring Operation: 63/7=9, Resulting Numbers: [64, 61, 9]
Generated Node #0,2: 42:[64, 61, 9] Operation: 63/7=9
Exploring Operation: 64-61=3, Resulting Numbers: [63, 7, 3]
Generated Node #0,3: 42:[63, 7, 3] Operation: 64-61=3
Exploring Operation: 64-63=1, Resulting Numbers: [61, 7, 1]
Generated Node #0,4: 42:[61, 7, 1] Operation: 64-63=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[61, 7, 1], Operations: ['64-63=1']
Exploring Operation: 61-7=54, Resulting Numbers: [1, 54]
Generated Node #0,4,0: 42:[1, 54] Operation: 61-7=54
Exploring Operation: 7*1=7, Resulting Numbers: [61, 7]
Generated Node #0,4,1: 42:[61, 7] Operation: 7*1=7
Exploring Operation: 61/1=61, Resulting Numbers: [7, 61]
Generated Node #0,4,2: 42:[7, 61] Operation: 61/1=61
Exploring Operation: 61*1=61, Resulting Numbers: [7, 61]
Generated Node #0,4,3: 42:[7, 61] Operation: 61*1=61
Exploring Operation: 61-1=60, Resulting Numbers: [7, 60]
Generated Node #0,4,4: 42:[7, 60] Operation: 61-1=60
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 42:[1, 54], Operations: ['64-63=1', '61-7=54']
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 1+54=55, Resulting Numbers: [55]
55,42 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 42:[7, 60], Operations: ['64-63=1', '61-1=60']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 7*60=420, Resulting Numbers: [420]
420,42 unequal: No Solution
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 42:[61, 7], Operations: ['64-63=1', '7*1=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,42 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,42 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 42:[7, 61], Operations: ['64-63=1', '61/1=61']
Exploring Operation: 7*61=427, Resulting Numbers: [427]
427,42 unequal: No Solution
Exploring Operation: 7+61=68, Resulting Numbers: [68]
68,42 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 42:[7, 61], Operations: ['64-63=1', '61*1=61']
Exploring Operation: 7+61=68, Resulting Numbers: [68]
68,42 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 7*61=427, Resulting Numbers: [427]
427,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[63, 7, 3], Operations: ['64-61=3']
Exploring Operation: 63-3=60, Resulting Numbers: [7, 60]
Generated Node #0,3,0: 42:[7, 60] Operation: 63-3=60
Exploring Operation: 63/3=21, Resulting Numbers: [7, 21]
Generated Node #0,3,1: 42:[7, 21] Operation: 63/3=21
Exploring Operation: 7*3=21, Resulting Numbers: [63, 21]
Generated Node #0,3,2: 42:[63, 21] Operation: 7*3=21
Exploring Operation: 63/7=9, Resulting Numbers: [3, 9]
Generated Node #0,3,3: 42:[3, 9] Operation: 63/7=9
Exploring Operation: 63-7=56, Resulting Numbers: [3, 56]
Generated Node #0,3,4: 42:[3, 56] Operation: 63-7=56
Moving to Node #0,3,1
Current State: 42:[7, 21], Operations: ['64-61=3', '63/3=21']
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,42 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[3, 9], Operations: ['64-61=3', '63/7=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,3,4
Current State: 42:[3, 56], Operations: ['64-61=3', '63-7=56']
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,42 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[7, 60], Operations: ['64-61=3', '63-3=60']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 7*60=420, Resulting Numbers: [420]
420,42 unequal: No Solution
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,42 unequal: No Solution
Moving to Node #0,3,2
Current State: 42:[63, 21], Operations: ['64-61=3', '7*3=21']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[63, 64, 61, 7], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [63, 7, 3]
Generated Node #0,3: 42:[63, 7, 3] Operation: 64-61=3
Moving to Node #0,3
Current State: 42:[63, 7, 3], Operations: ['64-61=3']
Exploring Operation: 7*3=21, Resulting Numbers: [63, 21]
Generated Node #0,3,2: 42:[63, 21] Operation: 7*3=21
Moving to Node #0,3,2
Current State: 42:[63, 21], Operations: ['64-61=3', '7*3=21']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_5 | sum_heuristic |
[
36,
79,
21,
12
] | 76 | [
"79-36=43",
"21+12=33",
"43+33=76"
] | Current State: 76:[36, 79, 21, 12], Operations: []
Exploring Operation: 79-36=43, Resulting Numbers: [21, 12, 43]
Generated Node #2: [21, 12, 43] from Operation: 79-36=43
Current State: 76:[21, 12, 43], Operations: ['79-36=43']
Exploring Operation: 21+12=33, Resulting Numbers: [43, 33]
Generated Node #3: [43, 33] from Operation: 21+12=33
Current State: 76:[43, 33], Operations: ['79-36=43', '21+12=33']
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[36, 79, 21, 12], Operations: []
Exploring Operation: 36-12=24, Resulting Numbers: [79, 21, 24]
Generated Node #0,0: 76:[79, 21, 24] Operation: 36-12=24
Exploring Operation: 36/12=3, Resulting Numbers: [79, 21, 3]
Generated Node #0,1: 76:[79, 21, 3] Operation: 36/12=3
Moving to Node #0,1
Current State: 76:[79, 21, 3], Operations: ['36/12=3']
Exploring Operation: 79-3=76, Resulting Numbers: [21, 76]
Generated Node #0,1,0: 76:[21, 76] Operation: 79-3=76
Exploring Operation: 21-3=18, Resulting Numbers: [79, 18]
Generated Node #0,1,1: 76:[79, 18] Operation: 21-3=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[21, 76], Operations: ['36/12=3', '79-3=76']
Exploring Operation: 21+76=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Exploring Operation: 76-21=55, Resulting Numbers: [55]
55,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[79, 18], Operations: ['36/12=3', '21-3=18']
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 76:[79, 21, 24], Operations: ['36-12=24']
Exploring Operation: 24-21=3, Resulting Numbers: [79, 3]
Generated Node #0,0,0: 76:[79, 3] Operation: 24-21=3
Exploring Operation: 21+24=45, Resulting Numbers: [79, 45]
Generated Node #0,0,1: 76:[79, 45] Operation: 21+24=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[79, 3], Operations: ['36-12=24', '24-21=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[36, 79, 21, 12], Operations: []
Exploring Operation: 36-12=24, Resulting Numbers: [79, 21, 24]
Generated Node #0,0: 76:[79, 21, 24] Operation: 36-12=24
Moving to Node #0,0
Current State: 76:[79, 21, 24], Operations: ['36-12=24']
Exploring Operation: 24-21=3, Resulting Numbers: [79, 3]
Generated Node #0,0,0: 76:[79, 3] Operation: 24-21=3
Moving to Node #0,0,0
Current State: 76:[79, 3], Operations: ['36-12=24', '24-21=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
76,
43,
16,
64
] | 39 | [
"76+43=119",
"16+64=80",
"119-80=39"
] | Current State: 39:[76, 43, 16, 64], Operations: []
Exploring Operation: 76+43=119, Resulting Numbers: [16, 64, 119]
Generated Node #2: [16, 64, 119] from Operation: 76+43=119
Current State: 39:[16, 64, 119], Operations: ['76+43=119']
Exploring Operation: 16+64=80, Resulting Numbers: [119, 80]
Generated Node #3: [119, 80] from Operation: 16+64=80
Current State: 39:[119, 80], Operations: ['76+43=119', '16+64=80']
Exploring Operation: 119-80=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[76, 43, 16, 64], Operations: []
Exploring Operation: 76-16=60, Resulting Numbers: [43, 64, 60]
Generated Node #0,0: 39:[43, 64, 60] Operation: 76-16=60
Exploring Operation: 64-43=21, Resulting Numbers: [76, 16, 21]
Generated Node #0,1: 39:[76, 16, 21] Operation: 64-43=21
Exploring Operation: 76-43=33, Resulting Numbers: [16, 64, 33]
Generated Node #0,2: 39:[16, 64, 33] Operation: 76-43=33
Exploring Operation: 76-64=12, Resulting Numbers: [43, 16, 12]
Generated Node #0,3: 39:[43, 16, 12] Operation: 76-64=12
Exploring Operation: 64/16=4, Resulting Numbers: [76, 43, 4]
Generated Node #0,4: 39:[76, 43, 4] Operation: 64/16=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[43, 16, 12], Operations: ['76-64=12']
Exploring Operation: 43+12=55, Resulting Numbers: [16, 55]
Generated Node #0,3,0: 39:[16, 55] Operation: 43+12=55
Exploring Operation: 43-12=31, Resulting Numbers: [16, 31]
Generated Node #0,3,1: 39:[16, 31] Operation: 43-12=31
Exploring Operation: 43-16=27, Resulting Numbers: [12, 27]
Generated Node #0,3,2: 39:[12, 27] Operation: 43-16=27
Exploring Operation: 16-12=4, Resulting Numbers: [43, 4]
Generated Node #0,3,3: 39:[43, 4] Operation: 16-12=4
Exploring Operation: 16+12=28, Resulting Numbers: [43, 28]
Generated Node #0,3,4: 39:[43, 28] Operation: 16+12=28
Moving to Node #0,3,3
Current State: 39:[43, 4], Operations: ['76-64=12', '16-12=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[76, 43, 16, 64], Operations: []
Exploring Operation: 76-64=12, Resulting Numbers: [43, 16, 12]
Generated Node #0,3: 39:[43, 16, 12] Operation: 76-64=12
Moving to Node #0,3
Current State: 39:[43, 16, 12], Operations: ['76-64=12']
Exploring Operation: 16-12=4, Resulting Numbers: [43, 4]
Generated Node #0,3,3: 39:[43, 4] Operation: 16-12=4
Moving to Node #0,3,3
Current State: 39:[43, 4], Operations: ['76-64=12', '16-12=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
6,
51,
8,
52
] | 14 | [
"6+8=14",
"52-51=1",
"14*1=14"
] | Current State: 14:[6, 51, 8, 52], Operations: []
Exploring Operation: 6+8=14, Resulting Numbers: [51, 52, 14]
Generated Node #2: [51, 52, 14] from Operation: 6+8=14
Current State: 14:[51, 52, 14], Operations: ['6+8=14']
Exploring Operation: 52-51=1, Resulting Numbers: [14, 1]
Generated Node #3: [14, 1] from Operation: 52-51=1
Current State: 14:[14, 1], Operations: ['6+8=14', '52-51=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[6, 51, 8, 52], Operations: []
Exploring Operation: 52-8=44, Resulting Numbers: [6, 51, 44]
Generated Node #0,0: 14:[6, 51, 44] Operation: 52-8=44
Exploring Operation: 52-51=1, Resulting Numbers: [6, 8, 1]
Generated Node #0,1: 14:[6, 8, 1] Operation: 52-51=1
Exploring Operation: 51-6=45, Resulting Numbers: [8, 52, 45]
Generated Node #0,2: 14:[8, 52, 45] Operation: 51-6=45
Exploring Operation: 51-8=43, Resulting Numbers: [6, 52, 43]
Generated Node #0,3: 14:[6, 52, 43] Operation: 51-8=43
Moving to Node #0,1
Current State: 14:[6, 8, 1], Operations: ['52-51=1']
Exploring Operation: 6+1=7, Resulting Numbers: [8, 7]
Generated Node #0,1,0: 14:[8, 7] Operation: 6+1=7
Exploring Operation: 8-1=7, Resulting Numbers: [6, 7]
Generated Node #0,1,1: 14:[6, 7] Operation: 8-1=7
Exploring Operation: 8-6=2, Resulting Numbers: [1, 2]
Generated Node #0,1,2: 14:[1, 2] Operation: 8-6=2
Exploring Operation: 6+8=14, Resulting Numbers: [1, 14]
Generated Node #0,1,3: 14:[1, 14] Operation: 6+8=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[8, 7], Operations: ['52-51=1', '6+1=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,14 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,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,1
Current State: 14:[6, 7], Operations: ['52-51=1', '8-1=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,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:[1, 2], Operations: ['52-51=1', '8-6=2']
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,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,3
Current State: 14:[1, 14], Operations: ['52-51=1', '6+8=14']
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[6, 51, 8, 52], Operations: []
Exploring Operation: 52-51=1, Resulting Numbers: [6, 8, 1]
Generated Node #0,1: 14:[6, 8, 1] Operation: 52-51=1
Moving to Node #0,1
Current State: 14:[6, 8, 1], Operations: ['52-51=1']
Exploring Operation: 6+8=14, Resulting Numbers: [1, 14]
Generated Node #0,1,3: 14:[1, 14] Operation: 6+8=14
Moving to Node #0,1,3
Current State: 14:[1, 14], Operations: ['52-51=1', '6+8=14']
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
39,
58,
9,
40
] | 49 | [
"40-39=1",
"58-9=49",
"1*49=49"
] | Current State: 49:[39, 58, 9, 40], Operations: []
Exploring Operation: 40-39=1, Resulting Numbers: [58, 9, 1]
Generated Node #2: [58, 9, 1] from Operation: 40-39=1
Current State: 49:[58, 9, 1], Operations: ['40-39=1']
Exploring Operation: 58-9=49, Resulting Numbers: [1, 49]
Generated Node #3: [1, 49] from Operation: 58-9=49
Current State: 49:[1, 49], Operations: ['40-39=1', '58-9=49']
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[39, 58, 9, 40], Operations: []
Exploring Operation: 39+9=48, Resulting Numbers: [58, 40, 48]
Generated Node #0,0: 49:[58, 40, 48] Operation: 39+9=48
Exploring Operation: 58-9=49, Resulting Numbers: [39, 40, 49]
Generated Node #0,1: 49:[39, 40, 49] Operation: 58-9=49
Exploring Operation: 9+40=49, Resulting Numbers: [39, 58, 49]
Generated Node #0,2: 49:[39, 58, 49] Operation: 9+40=49
Exploring Operation: 40-39=1, Resulting Numbers: [58, 9, 1]
Generated Node #0,3: 49:[58, 9, 1] Operation: 40-39=1
Moving to Node #0,3
Current State: 49:[58, 9, 1], Operations: ['40-39=1']
Exploring Operation: 58-1=57, Resulting Numbers: [9, 57]
Generated Node #0,3,0: 49:[9, 57] Operation: 58-1=57
Exploring Operation: 58*1=58, Resulting Numbers: [9, 58]
Generated Node #0,3,1: 49:[9, 58] Operation: 58*1=58
Exploring Operation: 58-9=49, Resulting Numbers: [1, 49]
Generated Node #0,3,2: 49:[1, 49] Operation: 58-9=49
Exploring Operation: 9-1=8, Resulting Numbers: [58, 8]
Generated Node #0,3,3: 49:[58, 8] Operation: 9-1=8
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[1, 49], Operations: ['40-39=1', '58-9=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[39, 58, 9, 40], Operations: []
Exploring Operation: 40-39=1, Resulting Numbers: [58, 9, 1]
Generated Node #0,3: 49:[58, 9, 1] Operation: 40-39=1
Moving to Node #0,3
Current State: 49:[58, 9, 1], Operations: ['40-39=1']
Exploring Operation: 58-9=49, Resulting Numbers: [1, 49]
Generated Node #0,3,2: 49:[1, 49] Operation: 58-9=49
Moving to Node #0,3,2
Current State: 49:[1, 49], Operations: ['40-39=1', '58-9=49']
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
47,
90,
86,
25
] | 23 | [
"90-47=43",
"86/43=2",
"25-2=23"
] | Current State: 23:[47, 90, 86, 25], Operations: []
Exploring Operation: 90-47=43, Resulting Numbers: [86, 25, 43]
Generated Node #2: [86, 25, 43] from Operation: 90-47=43
Current State: 23:[86, 25, 43], Operations: ['90-47=43']
Exploring Operation: 86/43=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 86/43=2
Current State: 23:[25, 2], Operations: ['90-47=43', '86/43=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[47, 90, 86, 25], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [47, 25, 4]
Generated Node #0,0: 23:[47, 25, 4] Operation: 90-86=4
Exploring Operation: 90-47=43, Resulting Numbers: [86, 25, 43]
Generated Node #0,1: 23:[86, 25, 43] Operation: 90-47=43
Exploring Operation: 86-47=39, Resulting Numbers: [90, 25, 39]
Generated Node #0,2: 23:[90, 25, 39] Operation: 86-47=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[47, 25, 4], Operations: ['90-86=4']
Exploring Operation: 47-25=22, Resulting Numbers: [4, 22]
Generated Node #0,0,0: 23:[4, 22] Operation: 47-25=22
Exploring Operation: 47-4=43, Resulting Numbers: [25, 43]
Generated Node #0,0,1: 23:[25, 43] Operation: 47-4=43
Exploring Operation: 25-4=21, Resulting Numbers: [47, 21]
Generated Node #0,0,2: 23:[47, 21] Operation: 25-4=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[4, 22], Operations: ['90-86=4', '47-25=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,23 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[25, 43], Operations: ['90-86=4', '47-4=43']
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,23 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[47, 21], Operations: ['90-86=4', '25-4=21']
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 47*21=987, Resulting Numbers: [987]
987,23 unequal: No Solution
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[86, 25, 43], Operations: ['90-47=43']
Exploring Operation: 86-25=61, Resulting Numbers: [43, 61]
Generated Node #0,1,0: 23:[43, 61] Operation: 86-25=61
Exploring Operation: 86-43=43, Resulting Numbers: [25, 43]
Generated Node #0,1,1: 23:[25, 43] Operation: 86-43=43
Exploring Operation: 86/43=2, Resulting Numbers: [25, 2]
Generated Node #0,1,2: 23:[25, 2] Operation: 86/43=2
Moving to Node #0,1,1
Current State: 23:[25, 43], Operations: ['90-47=43', '86-43=43']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,23 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[25, 2], Operations: ['90-47=43', '86/43=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[47, 90, 86, 25], Operations: []
Exploring Operation: 90-47=43, Resulting Numbers: [86, 25, 43]
Generated Node #0,1: 23:[86, 25, 43] Operation: 90-47=43
Moving to Node #0,1
Current State: 23:[86, 25, 43], Operations: ['90-47=43']
Exploring Operation: 86/43=2, Resulting Numbers: [25, 2]
Generated Node #0,1,2: 23:[25, 2] Operation: 86/43=2
Moving to Node #0,1,2
Current State: 23:[25, 2], Operations: ['90-47=43', '86/43=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
95,
81,
8,
67
] | 89 | [
"95+81=176",
"176/8=22",
"67+22=89"
] | Current State: 89:[95, 81, 8, 67], Operations: []
Exploring Operation: 95+81=176, Resulting Numbers: [8, 67, 176]
Generated Node #2: [8, 67, 176] from Operation: 95+81=176
Current State: 89:[8, 67, 176], Operations: ['95+81=176']
Exploring Operation: 176/8=22, Resulting Numbers: [67, 22]
Generated Node #3: [67, 22] from Operation: 176/8=22
Current State: 89:[67, 22], Operations: ['95+81=176', '176/8=22']
Exploring Operation: 67+22=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[95, 81, 8, 67], Operations: []
Exploring Operation: 8+67=75, Resulting Numbers: [95, 81, 75]
Generated Node #0,0: 89:[95, 81, 75] Operation: 8+67=75
Exploring Operation: 95-8=87, Resulting Numbers: [81, 67, 87]
Generated Node #0,1: 89:[81, 67, 87] Operation: 95-8=87
Exploring Operation: 81+8=89, Resulting Numbers: [95, 67, 89]
Generated Node #0,2: 89:[95, 67, 89] Operation: 81+8=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[95, 81, 75], Operations: ['8+67=75']
Exploring Operation: 95-81=14, Resulting Numbers: [75, 14]
Generated Node #0,0,0: 89:[75, 14] Operation: 95-81=14
Exploring Operation: 81+75=156, Resulting Numbers: [95, 156]
Generated Node #0,0,1: 89:[95, 156] Operation: 81+75=156
Exploring Operation: 95-75=20, Resulting Numbers: [81, 20]
Generated Node #0,0,2: 89:[81, 20] Operation: 95-75=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[95, 156], Operations: ['8+67=75', '81+75=156']
Exploring Operation: 95+156=251, Resulting Numbers: [251]
251,89 unequal: No Solution
Exploring Operation: 156-95=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 95*156=14820, Resulting Numbers: [14820]
14820,89 unequal: No Solution
No 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: 89:[81, 20], Operations: ['8+67=75', '95-75=20']
Exploring Operation: 81*20=1620, Resulting Numbers: [1620]
1620,89 unequal: No Solution
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 81+20=101, Resulting Numbers: [101]
101,89 unequal: No Solution
No 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: 89:[75, 14], Operations: ['8+67=75', '95-81=14']
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[95, 81, 8, 67], Operations: []
Exploring Operation: 8+67=75, Resulting Numbers: [95, 81, 75]
Generated Node #0,0: 89:[95, 81, 75] Operation: 8+67=75
Moving to Node #0,0
Current State: 89:[95, 81, 75], Operations: ['8+67=75']
Exploring Operation: 95-81=14, Resulting Numbers: [75, 14]
Generated Node #0,0,0: 89:[75, 14] Operation: 95-81=14
Moving to Node #0,0,0
Current State: 89:[75, 14], Operations: ['8+67=75', '95-81=14']
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
2,
42,
74,
48
] | 47 | [
"42/2=21",
"74-48=26",
"21+26=47"
] | Current State: 47:[2, 42, 74, 48], Operations: []
Exploring Operation: 42/2=21, Resulting Numbers: [74, 48, 21]
Generated Node #2: [74, 48, 21] from Operation: 42/2=21
Current State: 47:[74, 48, 21], Operations: ['42/2=21']
Exploring Operation: 74-48=26, Resulting Numbers: [21, 26]
Generated Node #3: [21, 26] from Operation: 74-48=26
Current State: 47:[21, 26], Operations: ['42/2=21', '74-48=26']
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[2, 42, 74, 48], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [42, 48, 37]
Generated Node #0,0: 47:[42, 48, 37] Operation: 74/2=37
Exploring Operation: 2+42=44, Resulting Numbers: [74, 48, 44]
Generated Node #0,1: 47:[74, 48, 44] Operation: 2+42=44
Exploring Operation: 74-2=72, Resulting Numbers: [42, 48, 72]
Generated Node #0,2: 47:[42, 48, 72] Operation: 74-2=72
Exploring Operation: 42-2=40, Resulting Numbers: [74, 48, 40]
Generated Node #0,3: 47:[74, 48, 40] Operation: 42-2=40
Exploring Operation: 48-2=46, Resulting Numbers: [42, 74, 46]
Generated Node #0,4: 47:[42, 74, 46] Operation: 48-2=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[42, 48, 37], Operations: ['74/2=37']
Exploring Operation: 48-42=6, Resulting Numbers: [37, 6]
Generated Node #0,0,0: 47:[37, 6] Operation: 48-42=6
Exploring Operation: 42+37=79, Resulting Numbers: [48, 79]
Generated Node #0,0,1: 47:[48, 79] Operation: 42+37=79
Exploring Operation: 48+37=85, Resulting Numbers: [42, 85]
Generated Node #0,0,2: 47:[42, 85] Operation: 48+37=85
Exploring Operation: 42-37=5, Resulting Numbers: [48, 5]
Generated Node #0,0,3: 47:[48, 5] Operation: 42-37=5
Exploring Operation: 48-37=11, Resulting Numbers: [42, 11]
Generated Node #0,0,4: 47:[42, 11] Operation: 48-37=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[48, 79], Operations: ['74/2=37', '42+37=79']
Exploring Operation: 48*79=3792, Resulting Numbers: [3792]
3792,47 unequal: No Solution
Exploring Operation: 48+79=127, Resulting Numbers: [127]
127,47 unequal: No Solution
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,47 unequal: No Solution
No 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: 47:[42, 11], Operations: ['74/2=37', '48-37=11']
Exploring Operation: 42*11=462, Resulting Numbers: [462]
462,47 unequal: No Solution
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,47 unequal: No Solution
No 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: 47:[42, 85], Operations: ['74/2=37', '48+37=85']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,47 unequal: No Solution
Exploring Operation: 42*85=3570, Resulting Numbers: [3570]
3570,47 unequal: No Solution
No 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: 47:[48, 5], Operations: ['74/2=37', '42-37=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,47 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,47 unequal: No Solution
No 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: 47:[37, 6], Operations: ['74/2=37', '48-42=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,47 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[74, 48, 44], Operations: ['2+42=44']
Exploring Operation: 74-44=30, Resulting Numbers: [48, 30]
Generated Node #0,1,0: 47:[48, 30] Operation: 74-44=30
Exploring Operation: 74+44=118, Resulting Numbers: [48, 118]
Generated Node #0,1,1: 47:[48, 118] Operation: 74+44=118
Exploring Operation: 48-44=4, Resulting Numbers: [74, 4]
Generated Node #0,1,2: 47:[74, 4] Operation: 48-44=4
Exploring Operation: 48+44=92, Resulting Numbers: [74, 92]
Generated Node #0,1,3: 47:[74, 92] Operation: 48+44=92
Exploring Operation: 74-48=26, Resulting Numbers: [44, 26]
Generated Node #0,1,4: 47:[44, 26] Operation: 74-48=26
Moving to Node #0,1,0
Current State: 47:[48, 30], Operations: ['2+42=44', '74-44=30']
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,47 unequal: No Solution
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Moving to Node #0,1,4
Current State: 47:[44, 26], Operations: ['2+42=44', '74-48=26']
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[74, 4], Operations: ['2+42=44', '48-44=4']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 74*4=296, Resulting Numbers: [296]
296,47 unequal: No Solution
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[48, 118], Operations: ['2+42=44', '74+44=118']
Exploring Operation: 118-48=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 48+118=166, Resulting Numbers: [166]
166,47 unequal: No Solution
Exploring Operation: 48*118=5664, Resulting Numbers: [5664]
5664,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[74, 92], Operations: ['2+42=44', '48+44=92']
Exploring Operation: 74*92=6808, Resulting Numbers: [6808]
6808,47 unequal: No Solution
Exploring Operation: 74+92=166, Resulting Numbers: [166]
166,47 unequal: No Solution
Exploring Operation: 92-74=18, Resulting Numbers: [18]
18,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[42, 48, 72], Operations: ['74-2=72']
Exploring Operation: 42+48=90, Resulting Numbers: [72, 90]
Generated Node #0,2,0: 47:[72, 90] Operation: 42+48=90
Exploring Operation: 42+72=114, Resulting Numbers: [48, 114]
Generated Node #0,2,1: 47:[48, 114] Operation: 42+72=114
Exploring Operation: 72-48=24, Resulting Numbers: [42, 24]
Generated Node #0,2,2: 47:[42, 24] Operation: 72-48=24
Exploring Operation: 72-42=30, Resulting Numbers: [48, 30]
Generated Node #0,2,3: 47:[48, 30] Operation: 72-42=30
Exploring Operation: 48-42=6, Resulting Numbers: [72, 6]
Generated Node #0,2,4: 47:[72, 6] Operation: 48-42=6
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 47:[48, 30], Operations: ['74-2=72', '72-42=30']
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,47 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,47 unequal: No Solution
No 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: 47:[42, 24], Operations: ['74-2=72', '72-48=24']
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,47 unequal: No Solution
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,47 unequal: No Solution
No 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: 47:[72, 6], Operations: ['74-2=72', '48-42=6']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 72*6=432, Resulting Numbers: [432]
432,47 unequal: No Solution
No 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: 47:[72, 90], Operations: ['74-2=72', '42+48=90']
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 72*90=6480, Resulting Numbers: [6480]
6480,47 unequal: No Solution
Exploring Operation: 72+90=162, Resulting Numbers: [162]
162,47 unequal: No Solution
No 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: 47:[48, 114], Operations: ['74-2=72', '42+72=114']
Exploring Operation: 48*114=5472, Resulting Numbers: [5472]
5472,47 unequal: No Solution
Exploring Operation: 114-48=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 48+114=162, Resulting Numbers: [162]
162,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 47:[42, 74, 46], Operations: ['48-2=46']
Exploring Operation: 74-42=32, Resulting Numbers: [46, 32]
Generated Node #0,4,0: 47:[46, 32] Operation: 74-42=32
Exploring Operation: 74-46=28, Resulting Numbers: [42, 28]
Generated Node #0,4,1: 47:[42, 28] Operation: 74-46=28
Exploring Operation: 42+46=88, Resulting Numbers: [74, 88]
Generated Node #0,4,2: 47:[74, 88] Operation: 42+46=88
Exploring Operation: 42+74=116, Resulting Numbers: [46, 116]
Generated Node #0,4,3: 47:[46, 116] Operation: 42+74=116
Exploring Operation: 46-42=4, Resulting Numbers: [74, 4]
Generated Node #0,4,4: 47:[74, 4] Operation: 46-42=4
Moving to Node #0,4,0
Current State: 47:[46, 32], Operations: ['48-2=46', '74-42=32']
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,47 unequal: No Solution
Moving to Node #0,4,1
Current State: 47:[42, 28], Operations: ['48-2=46', '74-46=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,47 unequal: No Solution
Moving to Node #0,4,2
Current State: 47:[74, 88], Operations: ['48-2=46', '42+46=88']
Exploring Operation: 74*88=6512, Resulting Numbers: [6512]
6512,47 unequal: No Solution
Exploring Operation: 74+88=162, Resulting Numbers: [162]
162,47 unequal: No Solution
Exploring Operation: 88-74=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Moving to Node #0,4,3
Current State: 47:[46, 116], Operations: ['48-2=46', '42+74=116']
Exploring Operation: 46*116=5336, Resulting Numbers: [5336]
5336,47 unequal: No Solution
Exploring Operation: 46+116=162, Resulting Numbers: [162]
162,47 unequal: No Solution
Exploring Operation: 116-46=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Moving to Node #0,4,4
Current State: 47:[74, 4], Operations: ['48-2=46', '46-42=4']
Exploring Operation: 74*4=296, Resulting Numbers: [296]
296,47 unequal: No Solution
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[74, 48, 40], Operations: ['42-2=40']
Exploring Operation: 48-40=8, Resulting Numbers: [74, 8]
Generated Node #0,3,0: 47:[74, 8] Operation: 48-40=8
Exploring Operation: 48+40=88, Resulting Numbers: [74, 88]
Generated Node #0,3,1: 47:[74, 88] Operation: 48+40=88
Exploring Operation: 74+40=114, Resulting Numbers: [48, 114]
Generated Node #0,3,2: 47:[48, 114] Operation: 74+40=114
Exploring Operation: 74-48=26, Resulting Numbers: [40, 26]
Generated Node #0,3,3: 47:[40, 26] Operation: 74-48=26
Exploring Operation: 74-40=34, Resulting Numbers: [48, 34]
Generated Node #0,3,4: 47:[48, 34] Operation: 74-40=34
Moving to Node #0,3,4
Current State: 47:[48, 34], Operations: ['42-2=40', '74-40=34']
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,47 unequal: No Solution
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,47 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[40, 26], Operations: ['42-2=40', '74-48=26']
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,47 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[74, 8], Operations: ['42-2=40', '48-40=8']
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,47 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,47 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[74, 88], Operations: ['42-2=40', '48+40=88']
Exploring Operation: 74+88=162, Resulting Numbers: [162]
162,47 unequal: No Solution
Exploring Operation: 74*88=6512, Resulting Numbers: [6512]
6512,47 unequal: No Solution
Exploring Operation: 88-74=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[48, 114], Operations: ['42-2=40', '74+40=114']
Exploring Operation: 48+114=162, Resulting Numbers: [162]
162,47 unequal: No Solution
Exploring Operation: 48*114=5472, Resulting Numbers: [5472]
5472,47 unequal: No Solution
Exploring Operation: 114-48=66, Resulting Numbers: [66]
66,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
12,
19,
15,
8
] | 80 | [
"12+8=20",
"19-15=4",
"20*4=80"
] | Current State: 80:[12, 19, 15, 8], Operations: []
Exploring Operation: 12+8=20, Resulting Numbers: [19, 15, 20]
Generated Node #2: [19, 15, 20] from Operation: 12+8=20
Current State: 80:[19, 15, 20], Operations: ['12+8=20']
Exploring Operation: 19-15=4, Resulting Numbers: [20, 4]
Generated Node #3: [20, 4] from Operation: 19-15=4
Current State: 80:[20, 4], Operations: ['12+8=20', '19-15=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[12, 19, 15, 8], Operations: []
Exploring Operation: 12+8=20, Resulting Numbers: [19, 15, 20]
Generated Node #0,0: 80:[19, 15, 20] Operation: 12+8=20
Exploring Operation: 19-12=7, Resulting Numbers: [15, 8, 7]
Generated Node #0,1: 80:[15, 8, 7] Operation: 19-12=7
Exploring Operation: 15-12=3, Resulting Numbers: [19, 8, 3]
Generated Node #0,2: 80:[19, 8, 3] Operation: 15-12=3
Moving to Node #0,0
Current State: 80:[19, 15, 20], Operations: ['12+8=20']
Exploring Operation: 19-15=4, Resulting Numbers: [20, 4]
Generated Node #0,0,0: 80:[20, 4] Operation: 19-15=4
Exploring Operation: 20-15=5, Resulting Numbers: [19, 5]
Generated Node #0,0,1: 80:[19, 5] Operation: 20-15=5
Exploring Operation: 19+20=39, Resulting Numbers: [15, 39]
Generated Node #0,0,2: 80:[15, 39] Operation: 19+20=39
Moving to Node #0,1
Current State: 80:[15, 8, 7], Operations: ['19-12=7']
Exploring Operation: 15+7=22, Resulting Numbers: [8, 22]
Generated Node #0,1,0: 80:[8, 22] Operation: 15+7=22
Exploring Operation: 15-7=8, Resulting Numbers: [8, 8]
Generated Node #0,1,1: 80:[8, 8] Operation: 15-7=8
Exploring Operation: 15-8=7, Resulting Numbers: [7, 7]
Generated Node #0,1,2: 80:[7, 7] Operation: 15-8=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[8, 8], Operations: ['19-12=7', '15-7=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,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:[8, 22], Operations: ['19-12=7', '15+7=22']
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,80 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,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:[7, 7], Operations: ['19-12=7', '15-8=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,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:[19, 8, 3], Operations: ['15-12=3']
Exploring Operation: 19-3=16, Resulting Numbers: [8, 16]
Generated Node #0,2,0: 80:[8, 16] Operation: 19-3=16
Exploring Operation: 19-8=11, Resulting Numbers: [3, 11]
Generated Node #0,2,1: 80:[3, 11] Operation: 19-8=11
Exploring Operation: 8-3=5, Resulting Numbers: [19, 5]
Generated Node #0,2,2: 80:[19, 5] Operation: 8-3=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[8, 16], Operations: ['15-12=3', '19-3=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,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:[19, 5], Operations: ['15-12=3', '8-3=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,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:[3, 11], Operations: ['15-12=3', '19-8=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,80 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: 80:[20, 4], Operations: ['12+8=20', '19-15=4']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[12, 19, 15, 8], Operations: []
Exploring Operation: 12+8=20, Resulting Numbers: [19, 15, 20]
Generated Node #0,0: 80:[19, 15, 20] Operation: 12+8=20
Moving to Node #0,0
Current State: 80:[19, 15, 20], Operations: ['12+8=20']
Exploring Operation: 19-15=4, Resulting Numbers: [20, 4]
Generated Node #0,0,0: 80:[20, 4] Operation: 19-15=4
Moving to Node #0,0,0
Current State: 80:[20, 4], Operations: ['12+8=20', '19-15=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.967882 | hs_3 | sum_heuristic |
[
49,
5,
2,
89
] | 75 | [
"89-49=40",
"2*40=80",
"80-5=75"
] | Current State: 75:[49, 5, 2, 89], Operations: []
Exploring Operation: 89-49=40, Resulting Numbers: [5, 2, 40]
Generated Node #2: [5, 2, 40] from Operation: 89-49=40
Current State: 75:[5, 2, 40], Operations: ['89-49=40']
Exploring Operation: 2*40=80, Resulting Numbers: [5, 80]
Generated Node #3: [5, 80] from Operation: 2*40=80
Current State: 75:[5, 80], Operations: ['89-49=40', '2*40=80']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[49, 5, 2, 89], Operations: []
Exploring Operation: 49-2=47, Resulting Numbers: [5, 89, 47]
Generated Node #0,0: 75:[5, 89, 47] Operation: 49-2=47
Exploring Operation: 49-5=44, Resulting Numbers: [2, 89, 44]
Generated Node #0,1: 75:[2, 89, 44] Operation: 49-5=44
Exploring Operation: 49+5=54, Resulting Numbers: [2, 89, 54]
Generated Node #0,2: 75:[2, 89, 54] Operation: 49+5=54
Exploring Operation: 89-5=84, Resulting Numbers: [49, 2, 84]
Generated Node #0,3: 75:[49, 2, 84] Operation: 89-5=84
Exploring Operation: 89-49=40, Resulting Numbers: [5, 2, 40]
Generated Node #0,4: 75:[5, 2, 40] Operation: 89-49=40
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[5, 2, 40], Operations: ['89-49=40']
Exploring Operation: 40-2=38, Resulting Numbers: [5, 38]
Generated Node #0,4,0: 75:[5, 38] Operation: 40-2=38
Exploring Operation: 40/2=20, Resulting Numbers: [5, 20]
Generated Node #0,4,1: 75:[5, 20] Operation: 40/2=20
Exploring Operation: 40/5=8, Resulting Numbers: [2, 8]
Generated Node #0,4,2: 75:[2, 8] Operation: 40/5=8
Exploring Operation: 40-5=35, Resulting Numbers: [2, 35]
Generated Node #0,4,3: 75:[2, 35] Operation: 40-5=35
Exploring Operation: 2*40=80, Resulting Numbers: [5, 80]
Generated Node #0,4,4: 75:[5, 80] Operation: 2*40=80
Moving to Node #0,4,2
Current State: 75:[2, 8], Operations: ['89-49=40', '40/5=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[5, 80], Operations: ['89-49=40', '2*40=80']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[49, 5, 2, 89], Operations: []
Exploring Operation: 89-49=40, Resulting Numbers: [5, 2, 40]
Generated Node #0,4: 75:[5, 2, 40] Operation: 89-49=40
Moving to Node #0,4
Current State: 75:[5, 2, 40], Operations: ['89-49=40']
Exploring Operation: 2*40=80, Resulting Numbers: [5, 80]
Generated Node #0,4,4: 75:[5, 80] Operation: 2*40=80
Moving to Node #0,4,4
Current State: 75:[5, 80], Operations: ['89-49=40', '2*40=80']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
75,
15,
30,
37
] | 35 | [
"75-15=60",
"60/30=2",
"37-2=35"
] | Current State: 35:[75, 15, 30, 37], Operations: []
Exploring Operation: 75-15=60, Resulting Numbers: [30, 37, 60]
Generated Node #2: [30, 37, 60] from Operation: 75-15=60
Current State: 35:[30, 37, 60], Operations: ['75-15=60']
Exploring Operation: 60/30=2, Resulting Numbers: [37, 2]
Generated Node #3: [37, 2] from Operation: 60/30=2
Current State: 35:[37, 2], Operations: ['75-15=60', '60/30=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[75, 15, 30, 37], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [30, 37, 5]
Generated Node #0,0: 35:[30, 37, 5] Operation: 75/15=5
Exploring Operation: 75-30=45, Resulting Numbers: [15, 37, 45]
Generated Node #0,1: 35:[15, 37, 45] Operation: 75-30=45
Exploring Operation: 75-37=38, Resulting Numbers: [15, 30, 38]
Generated Node #0,2: 35:[15, 30, 38] Operation: 75-37=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[30, 37, 5], Operations: ['75/15=5']
Exploring Operation: 30/5=6, Resulting Numbers: [37, 6]
Generated Node #0,0,0: 35:[37, 6] Operation: 30/5=6
Exploring Operation: 37-30=7, Resulting Numbers: [5, 7]
Generated Node #0,0,1: 35:[5, 7] Operation: 37-30=7
Exploring Operation: 30+5=35, Resulting Numbers: [37, 35]
Generated Node #0,0,2: 35:[37, 35] Operation: 30+5=35
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[5, 7], Operations: ['75/15=5', '37-30=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[75, 15, 30, 37], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [30, 37, 5]
Generated Node #0,0: 35:[30, 37, 5] Operation: 75/15=5
Moving to Node #0,0
Current State: 35:[30, 37, 5], Operations: ['75/15=5']
Exploring Operation: 37-30=7, Resulting Numbers: [5, 7]
Generated Node #0,0,1: 35:[5, 7] Operation: 37-30=7
Moving to Node #0,0,1
Current State: 35:[5, 7], Operations: ['75/15=5', '37-30=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
81,
21,
90,
17
] | 13 | [
"81-21=60",
"90-17=73",
"73-60=13"
] | Current State: 13:[81, 21, 90, 17], Operations: []
Exploring Operation: 81-21=60, Resulting Numbers: [90, 17, 60]
Generated Node #2: [90, 17, 60] from Operation: 81-21=60
Current State: 13:[90, 17, 60], Operations: ['81-21=60']
Exploring Operation: 90-17=73, Resulting Numbers: [60, 73]
Generated Node #3: [60, 73] from Operation: 90-17=73
Current State: 13:[60, 73], Operations: ['81-21=60', '90-17=73']
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[81, 21, 90, 17], Operations: []
Exploring Operation: 90-81=9, Resulting Numbers: [21, 17, 9]
Generated Node #0,0: 13:[21, 17, 9] Operation: 90-81=9
Moving to Node #0,0
Current State: 13:[21, 17, 9], Operations: ['90-81=9']
Exploring Operation: 21-9=12, Resulting Numbers: [17, 12]
Generated Node #0,0,0: 13:[17, 12] Operation: 21-9=12
Moving to Node #0,0,0
Current State: 13:[17, 12], Operations: ['90-81=9', '21-9=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,13 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
91,
50,
5,
16
] | 62 | [
"91-50=41",
"5+16=21",
"41+21=62"
] | Current State: 62:[91, 50, 5, 16], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [5, 16, 41]
Generated Node #2: [5, 16, 41] from Operation: 91-50=41
Current State: 62:[5, 16, 41], Operations: ['91-50=41']
Exploring Operation: 5+16=21, Resulting Numbers: [41, 21]
Generated Node #3: [41, 21] from Operation: 5+16=21
Current State: 62:[41, 21], Operations: ['91-50=41', '5+16=21']
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[91, 50, 5, 16], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [5, 16, 41]
Generated Node #0,0: 62:[5, 16, 41] Operation: 91-50=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[5, 16, 41], Operations: ['91-50=41']
Exploring Operation: 16+41=57, Resulting Numbers: [5, 57]
Generated Node #0,0,0: 62:[5, 57] Operation: 16+41=57
Moving to Node #0,0,0
Current State: 62:[5, 57], Operations: ['91-50=41', '16+41=57']
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[91, 50, 5, 16], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [5, 16, 41]
Generated Node #0,0: 62:[5, 16, 41] Operation: 91-50=41
Moving to Node #0,0
Current State: 62:[5, 16, 41], Operations: ['91-50=41']
Exploring Operation: 16+41=57, Resulting Numbers: [5, 57]
Generated Node #0,0,0: 62:[5, 57] Operation: 16+41=57
Moving to Node #0,0,0
Current State: 62:[5, 57], Operations: ['91-50=41', '16+41=57']
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
98,
49,
48,
96
] | 98 | [
"98-49=49",
"96/48=2",
"49*2=98"
] | Current State: 98:[98, 49, 48, 96], Operations: []
Exploring Operation: 98-49=49, Resulting Numbers: [48, 96, 49]
Generated Node #2: [48, 96, 49] from Operation: 98-49=49
Current State: 98:[48, 96, 49], Operations: ['98-49=49']
Exploring Operation: 96/48=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 96/48=2
Current State: 98:[49, 2], Operations: ['98-49=49', '96/48=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[98, 49, 48, 96], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [98, 49, 2]
Generated Node #0,0: 98:[98, 49, 2] Operation: 96/48=2
Exploring Operation: 98-96=2, Resulting Numbers: [49, 48, 2]
Generated Node #0,1: 98:[49, 48, 2] Operation: 98-96=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[98, 49, 2], Operations: ['96/48=2']
Exploring Operation: 98/49=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 98:[2, 2] Operation: 98/49=2
Exploring Operation: 98-49=49, Resulting Numbers: [2, 49]
Generated Node #0,0,1: 98:[2, 49] Operation: 98-49=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[2, 2], Operations: ['96/48=2', '98/49=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[2, 49], Operations: ['96/48=2', '98-49=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[98, 49, 48, 96], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [98, 49, 2]
Generated Node #0,0: 98:[98, 49, 2] Operation: 96/48=2
Moving to Node #0,0
Current State: 98:[98, 49, 2], Operations: ['96/48=2']
Exploring Operation: 98-49=49, Resulting Numbers: [2, 49]
Generated Node #0,0,1: 98:[2, 49] Operation: 98-49=49
Moving to Node #0,0,1
Current State: 98:[2, 49], Operations: ['96/48=2', '98-49=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
5,
85,
88,
61
] | 76 | [
"88-85=3",
"5*3=15",
"61+15=76"
] | Current State: 76:[5, 85, 88, 61], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [5, 61, 3]
Generated Node #2: [5, 61, 3] from Operation: 88-85=3
Current State: 76:[5, 61, 3], Operations: ['88-85=3']
Exploring Operation: 5*3=15, Resulting Numbers: [61, 15]
Generated Node #3: [61, 15] from Operation: 5*3=15
Current State: 76:[61, 15], Operations: ['88-85=3', '5*3=15']
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[5, 85, 88, 61], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [5, 61, 3]
Generated Node #0,0: 76:[5, 61, 3] Operation: 88-85=3
Exploring Operation: 88-61=27, Resulting Numbers: [5, 85, 27]
Generated Node #0,1: 76:[5, 85, 27] Operation: 88-61=27
Exploring Operation: 85-61=24, Resulting Numbers: [5, 88, 24]
Generated Node #0,2: 76:[5, 88, 24] Operation: 85-61=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[5, 61, 3], Operations: ['88-85=3']
Exploring Operation: 5-3=2, Resulting Numbers: [61, 2]
Generated Node #0,0,0: 76:[61, 2] Operation: 5-3=2
Exploring Operation: 61+3=64, Resulting Numbers: [5, 64]
Generated Node #0,0,1: 76:[5, 64] Operation: 61+3=64
Exploring Operation: 5+61=66, Resulting Numbers: [3, 66]
Generated Node #0,0,2: 76:[3, 66] Operation: 5+61=66
Moving to Node #0,0,2
Current State: 76:[3, 66], Operations: ['88-85=3', '5+61=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,76 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[5, 64], Operations: ['88-85=3', '61+3=64']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,76 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[61, 2], Operations: ['88-85=3', '5-3=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,76 unequal: No Solution
Exploring Operation: 61*2=122, Resulting Numbers: [122]
122,76 unequal: No Solution
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[5, 85, 27], Operations: ['88-61=27']
Exploring Operation: 85-5=80, Resulting Numbers: [27, 80]
Generated Node #0,1,0: 76:[27, 80] Operation: 85-5=80
Exploring Operation: 27-5=22, Resulting Numbers: [85, 22]
Generated Node #0,1,1: 76:[85, 22] Operation: 27-5=22
Exploring Operation: 85/5=17, Resulting Numbers: [27, 17]
Generated Node #0,1,2: 76:[27, 17] Operation: 85/5=17
Moving to Node #0,1,2
Current State: 76:[27, 17], Operations: ['88-61=27', '85/5=17']
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,76 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[27, 80], Operations: ['88-61=27', '85-5=80']
Exploring Operation: 27*80=2160, Resulting Numbers: [2160]
2160,76 unequal: No Solution
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,76 unequal: No Solution
Exploring Operation: 27+80=107, Resulting Numbers: [107]
107,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[85, 22], Operations: ['88-61=27', '27-5=22']
Exploring Operation: 85-22=63, Resulting Numbers: [63]
63,76 unequal: No Solution
Exploring Operation: 85*22=1870, Resulting Numbers: [1870]
1870,76 unequal: No Solution
Exploring Operation: 85+22=107, Resulting Numbers: [107]
107,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[5, 88, 24], Operations: ['85-61=24']
Exploring Operation: 24-5=19, Resulting Numbers: [88, 19]
Generated Node #0,2,0: 76:[88, 19] Operation: 24-5=19
Exploring Operation: 88-24=64, Resulting Numbers: [5, 64]
Generated Node #0,2,1: 76:[5, 64] Operation: 88-24=64
Exploring Operation: 88-5=83, Resulting Numbers: [24, 83]
Generated Node #0,2,2: 76:[24, 83] Operation: 88-5=83
Moving to Node #0,2,0
Current State: 76:[88, 19], Operations: ['85-61=24', '24-5=19']
Exploring Operation: 88+19=107, Resulting Numbers: [107]
107,76 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 88*19=1672, Resulting Numbers: [1672]
1672,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[24, 83], Operations: ['85-61=24', '88-5=83']
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,76 unequal: No Solution
Exploring Operation: 24+83=107, Resulting Numbers: [107]
107,76 unequal: No Solution
Exploring Operation: 24*83=1992, Resulting Numbers: [1992]
1992,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[5, 64], Operations: ['85-61=24', '88-24=64']
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,76 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,76 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 |
[
65,
57,
61,
45
] | 90 | [
"65+57=122",
"122/61=2",
"45*2=90"
] | Current State: 90:[65, 57, 61, 45], Operations: []
Exploring Operation: 65+57=122, Resulting Numbers: [61, 45, 122]
Generated Node #2: [61, 45, 122] from Operation: 65+57=122
Current State: 90:[61, 45, 122], Operations: ['65+57=122']
Exploring Operation: 122/61=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 122/61=2
Current State: 90:[45, 2], Operations: ['65+57=122', '122/61=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[65, 57, 61, 45], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [65, 45, 4]
Generated Node #0,0: 90:[65, 45, 4] Operation: 61-57=4
Exploring Operation: 65-61=4, Resulting Numbers: [57, 45, 4]
Generated Node #0,1: 90:[57, 45, 4] Operation: 65-61=4
Exploring Operation: 61-45=16, Resulting Numbers: [65, 57, 16]
Generated Node #0,2: 90:[65, 57, 16] Operation: 61-45=16
Exploring Operation: 65-45=20, Resulting Numbers: [57, 61, 20]
Generated Node #0,3: 90:[57, 61, 20] Operation: 65-45=20
Exploring Operation: 65-57=8, Resulting Numbers: [61, 45, 8]
Generated Node #0,4: 90:[61, 45, 8] Operation: 65-57=8
Moving to Node #0,1
Current State: 90:[57, 45, 4], Operations: ['65-61=4']
Exploring Operation: 57-4=53, Resulting Numbers: [45, 53]
Generated Node #0,1,0: 90:[45, 53] Operation: 57-4=53
Exploring Operation: 57+4=61, Resulting Numbers: [45, 61]
Generated Node #0,1,1: 90:[45, 61] Operation: 57+4=61
Exploring Operation: 45+4=49, Resulting Numbers: [57, 49]
Generated Node #0,1,2: 90:[57, 49] Operation: 45+4=49
Exploring Operation: 57+45=102, Resulting Numbers: [4, 102]
Generated Node #0,1,3: 90:[4, 102] Operation: 57+45=102
Exploring Operation: 57-45=12, Resulting Numbers: [4, 12]
Generated Node #0,1,4: 90:[4, 12] Operation: 57-45=12
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 90:[4, 12], Operations: ['65-61=4', '57-45=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[45, 53], Operations: ['65-61=4', '57-4=53']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,90 unequal: No Solution
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 90:[4, 102], Operations: ['65-61=4', '57+45=102']
Exploring Operation: 4+102=106, Resulting Numbers: [106]
106,90 unequal: No Solution
Exploring Operation: 102-4=98, Resulting Numbers: [98]
98,90 unequal: No Solution
Exploring Operation: 4*102=408, Resulting Numbers: [408]
408,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[45, 61], Operations: ['65-61=4', '57+4=61']
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,90 unequal: No Solution
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,90 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[57, 49], Operations: ['65-61=4', '45+4=49']
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 57*49=2793, Resulting Numbers: [2793]
2793,90 unequal: No Solution
Exploring Operation: 57+49=106, Resulting Numbers: [106]
106,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 90:[61, 45, 8], Operations: ['65-57=8']
Exploring Operation: 61+45=106, Resulting Numbers: [8, 106]
Generated Node #0,4,0: 90:[8, 106] Operation: 61+45=106
Exploring Operation: 61+8=69, Resulting Numbers: [45, 69]
Generated Node #0,4,1: 90:[45, 69] Operation: 61+8=69
Exploring Operation: 45-8=37, Resulting Numbers: [61, 37]
Generated Node #0,4,2: 90:[61, 37] Operation: 45-8=37
Exploring Operation: 61-8=53, Resulting Numbers: [45, 53]
Generated Node #0,4,3: 90:[45, 53] Operation: 61-8=53
Exploring Operation: 61-45=16, Resulting Numbers: [8, 16]
Generated Node #0,4,4: 90:[8, 16] Operation: 61-45=16
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 90:[8, 16], Operations: ['65-57=8', '61-45=16']
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,90 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 90:[45, 53], Operations: ['65-57=8', '61-8=53']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,90 unequal: No Solution
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 90:[8, 106], Operations: ['65-57=8', '61+45=106']
Exploring Operation: 8+106=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 8*106=848, Resulting Numbers: [848]
848,90 unequal: No Solution
Exploring Operation: 106-8=98, Resulting Numbers: [98]
98,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 90:[45, 69], Operations: ['65-57=8', '61+8=69']
Exploring Operation: 45*69=3105, Resulting Numbers: [3105]
3105,90 unequal: No Solution
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 45+69=114, Resulting Numbers: [114]
114,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 90:[61, 37], Operations: ['65-57=8', '45-8=37']
Exploring Operation: 61+37=98, Resulting Numbers: [98]
98,90 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 61*37=2257, Resulting Numbers: [2257]
2257,90 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: 90:[65, 45, 4], Operations: ['61-57=4']
Exploring Operation: 65+45=110, Resulting Numbers: [4, 110]
Generated Node #0,0,0: 90:[4, 110] Operation: 65+45=110
Exploring Operation: 45+4=49, Resulting Numbers: [65, 49]
Generated Node #0,0,1: 90:[65, 49] Operation: 45+4=49
Exploring Operation: 65+4=69, Resulting Numbers: [45, 69]
Generated Node #0,0,2: 90:[45, 69] Operation: 65+4=69
Exploring Operation: 65-4=61, Resulting Numbers: [45, 61]
Generated Node #0,0,3: 90:[45, 61] Operation: 65-4=61
Exploring Operation: 65-45=20, Resulting Numbers: [4, 20]
Generated Node #0,0,4: 90:[4, 20] Operation: 65-45=20
Moving to Node #0,3
Current State: 90:[57, 61, 20], Operations: ['65-45=20']
Exploring Operation: 61+20=81, Resulting Numbers: [57, 81]
Generated Node #0,3,0: 90:[57, 81] Operation: 61+20=81
Exploring Operation: 57+20=77, Resulting Numbers: [61, 77]
Generated Node #0,3,1: 90:[61, 77] Operation: 57+20=77
Exploring Operation: 61-57=4, Resulting Numbers: [20, 4]
Generated Node #0,3,2: 90:[20, 4] Operation: 61-57=4
Exploring Operation: 61-20=41, Resulting Numbers: [57, 41]
Generated Node #0,3,3: 90:[57, 41] Operation: 61-20=41
Exploring Operation: 57-20=37, Resulting Numbers: [61, 37]
Generated Node #0,3,4: 90:[61, 37] Operation: 57-20=37
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[20, 4], Operations: ['65-45=20', '61-57=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 90:[57, 41], Operations: ['65-45=20', '61-20=41']
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 57+41=98, Resulting Numbers: [98]
98,90 unequal: No Solution
Exploring Operation: 57*41=2337, Resulting Numbers: [2337]
2337,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[57, 81], Operations: ['65-45=20', '61+20=81']
Exploring Operation: 81-57=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 57*81=4617, Resulting Numbers: [4617]
4617,90 unequal: No Solution
Exploring Operation: 57+81=138, Resulting Numbers: [138]
138,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 90:[61, 37], Operations: ['65-45=20', '57-20=37']
Exploring Operation: 61+37=98, Resulting Numbers: [98]
98,90 unequal: No Solution
Exploring Operation: 61*37=2257, Resulting Numbers: [2257]
2257,90 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[61, 77], Operations: ['65-45=20', '57+20=77']
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 61+77=138, Resulting Numbers: [138]
138,90 unequal: No Solution
Exploring Operation: 61*77=4697, Resulting Numbers: [4697]
4697,90 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: 90:[65, 57, 16], Operations: ['61-45=16']
Exploring Operation: 65+16=81, Resulting Numbers: [57, 81]
Generated Node #0,2,0: 90:[57, 81] Operation: 65+16=81
Exploring Operation: 65+57=122, Resulting Numbers: [16, 122]
Generated Node #0,2,1: 90:[16, 122] Operation: 65+57=122
Exploring Operation: 65-16=49, Resulting Numbers: [57, 49]
Generated Node #0,2,2: 90:[57, 49] Operation: 65-16=49
Exploring Operation: 57-16=41, Resulting Numbers: [65, 41]
Generated Node #0,2,3: 90:[65, 41] Operation: 57-16=41
Exploring Operation: 65-57=8, Resulting Numbers: [16, 8]
Generated Node #0,2,4: 90:[16, 8] Operation: 65-57=8
Moving to Node #0,2,4
Current State: 90:[16, 8], Operations: ['61-45=16', '65-57=8']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,90 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Moving to Node #0,0,4
Current State: 90:[4, 20], Operations: ['61-57=4', '65-45=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,90 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[57, 49], Operations: ['61-45=16', '65-16=49']
Exploring Operation: 57*49=2793, Resulting Numbers: [2793]
2793,90 unequal: No Solution
Exploring Operation: 57+49=106, Resulting Numbers: [106]
106,90 unequal: No Solution
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[45, 61], Operations: ['61-57=4', '65-4=61']
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,90 unequal: No Solution
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[4, 110], Operations: ['61-57=4', '65+45=110']
Exploring Operation: 110-4=106, Resulting Numbers: [106]
106,90 unequal: No Solution
Exploring Operation: 4*110=440, Resulting Numbers: [440]
440,90 unequal: No Solution
Exploring Operation: 4+110=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[45, 69], Operations: ['61-57=4', '65+4=69']
Exploring Operation: 45+69=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 45*69=3105, Resulting Numbers: [3105]
3105,90 unequal: No Solution
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[57, 81], Operations: ['61-45=16', '65+16=81']
Exploring Operation: 57*81=4617, Resulting Numbers: [4617]
4617,90 unequal: No Solution
Exploring Operation: 57+81=138, Resulting Numbers: [138]
138,90 unequal: No Solution
Exploring Operation: 81-57=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[65, 41], Operations: ['61-45=16', '57-16=41']
Exploring Operation: 65*41=2665, Resulting Numbers: [2665]
2665,90 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[65, 49], Operations: ['61-57=4', '45+4=49']
Exploring Operation: 65*49=3185, Resulting Numbers: [3185]
3185,90 unequal: No Solution
Exploring Operation: 65-49=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 65+49=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[16, 122], Operations: ['61-45=16', '65+57=122']
Exploring Operation: 16*122=1952, Resulting Numbers: [1952]
1952,90 unequal: No Solution
Exploring Operation: 122-16=106, Resulting Numbers: [106]
106,90 unequal: No Solution
Exploring Operation: 16+122=138, Resulting Numbers: [138]
138,90 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
5,
33,
11,
22
] | 19 | [
"5+33=38",
"22/11=2",
"38/2=19"
] | Current State: 19:[5, 33, 11, 22], Operations: []
Exploring Operation: 5+33=38, Resulting Numbers: [11, 22, 38]
Generated Node #2: [11, 22, 38] from Operation: 5+33=38
Current State: 19:[11, 22, 38], Operations: ['5+33=38']
Exploring Operation: 22/11=2, Resulting Numbers: [38, 2]
Generated Node #3: [38, 2] from Operation: 22/11=2
Current State: 19:[38, 2], Operations: ['5+33=38', '22/11=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[5, 33, 11, 22], Operations: []
Exploring Operation: 5+11=16, Resulting Numbers: [33, 22, 16]
Generated Node #0,0: 19:[33, 22, 16] Operation: 5+11=16
Exploring Operation: 33-11=22, Resulting Numbers: [5, 22, 22]
Generated Node #0,1: 19:[5, 22, 22] Operation: 33-11=22
Exploring Operation: 33-5=28, Resulting Numbers: [11, 22, 28]
Generated Node #0,2: 19:[11, 22, 28] Operation: 33-5=28
Exploring Operation: 5+33=38, Resulting Numbers: [11, 22, 38]
Generated Node #0,3: 19:[11, 22, 38] Operation: 5+33=38
Exploring Operation: 22-5=17, Resulting Numbers: [33, 11, 17]
Generated Node #0,4: 19:[33, 11, 17] Operation: 22-5=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[33, 22, 16], Operations: ['5+11=16']
Exploring Operation: 22-16=6, Resulting Numbers: [33, 6]
Generated Node #0,0,0: 19:[33, 6] Operation: 22-16=6
Exploring Operation: 22+16=38, Resulting Numbers: [33, 38]
Generated Node #0,0,1: 19:[33, 38] Operation: 22+16=38
Exploring Operation: 33-22=11, Resulting Numbers: [16, 11]
Generated Node #0,0,2: 19:[16, 11] Operation: 33-22=11
Exploring Operation: 33-16=17, Resulting Numbers: [22, 17]
Generated Node #0,0,3: 19:[22, 17] Operation: 33-16=17
Exploring Operation: 33+16=49, Resulting Numbers: [22, 49]
Generated Node #0,0,4: 19:[22, 49] Operation: 33+16=49
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 19:[22, 17], Operations: ['5+11=16', '33-16=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[16, 11], Operations: ['5+11=16', '33-22=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,19 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[33, 6], Operations: ['5+11=16', '22-16=6']
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,19 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[33, 38], Operations: ['5+11=16', '22+16=38']
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 33*38=1254, Resulting Numbers: [1254]
1254,19 unequal: No Solution
Exploring Operation: 33+38=71, Resulting Numbers: [71]
71,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 19:[22, 49], Operations: ['5+11=16', '33+16=49']
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,19 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[5, 22, 22], Operations: ['33-11=22']
Exploring Operation: 5+22=27, Resulting Numbers: [22, 27]
Generated Node #0,1,0: 19:[22, 27] Operation: 5+22=27
Exploring Operation: 5+22=27, Resulting Numbers: [22, 27]
Generated Node #0,1,1: 19:[22, 27] Operation: 5+22=27
Exploring Operation: 22-5=17, Resulting Numbers: [22, 17]
Generated Node #0,1,2: 19:[22, 17] Operation: 22-5=17
Exploring Operation: 22/22=1, Resulting Numbers: [5, 1]
Generated Node #0,1,3: 19:[5, 1] Operation: 22/22=1
Exploring Operation: 22-5=17, Resulting Numbers: [22, 17]
Generated Node #0,1,4: 19:[22, 17] Operation: 22-5=17
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 19:[22, 17], Operations: ['33-11=22', '22-5=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,19 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 19:[22, 17], Operations: ['33-11=22', '22-5=17']
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,19 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[22, 27], Operations: ['33-11=22', '5+22=27']
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[22, 27], Operations: ['33-11=22', '5+22=27']
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 19:[5, 1], Operations: ['33-11=22', '22/22=1']
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[11, 22, 28], Operations: ['33-5=28']
Exploring Operation: 22-11=11, Resulting Numbers: [28, 11]
Generated Node #0,2,0: 19:[28, 11] Operation: 22-11=11
Exploring Operation: 28-22=6, Resulting Numbers: [11, 6]
Generated Node #0,2,1: 19:[11, 6] Operation: 28-22=6
Exploring Operation: 11+28=39, Resulting Numbers: [22, 39]
Generated Node #0,2,2: 19:[22, 39] Operation: 11+28=39
Exploring Operation: 11+22=33, Resulting Numbers: [28, 33]
Generated Node #0,2,3: 19:[28, 33] Operation: 11+22=33
Exploring Operation: 28-11=17, Resulting Numbers: [22, 17]
Generated Node #0,2,4: 19:[22, 17] Operation: 28-11=17
Moving to Node #0,2,4
Current State: 19:[22, 17], Operations: ['33-5=28', '28-11=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,19 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[28, 11], Operations: ['33-5=28', '22-11=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[11, 6], Operations: ['33-5=28', '28-22=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[22, 39], Operations: ['33-5=28', '11+28=39']
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,19 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,19 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[28, 33], Operations: ['33-5=28', '11+22=33']
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,19 unequal: No Solution
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 19:[33, 11, 17], Operations: ['22-5=17']
Exploring Operation: 33-17=16, Resulting Numbers: [11, 16]
Generated Node #0,4,0: 19:[11, 16] Operation: 33-17=16
Exploring Operation: 33+11=44, Resulting Numbers: [17, 44]
Generated Node #0,4,1: 19:[17, 44] Operation: 33+11=44
Exploring Operation: 33-11=22, Resulting Numbers: [17, 22]
Generated Node #0,4,2: 19:[17, 22] Operation: 33-11=22
Exploring Operation: 33/11=3, Resulting Numbers: [17, 3]
Generated Node #0,4,3: 19:[17, 3] Operation: 33/11=3
Exploring Operation: 11+17=28, Resulting Numbers: [33, 28]
Generated Node #0,4,4: 19:[33, 28] Operation: 11+17=28
Moving to Node #0,4,2
Current State: 19:[17, 22], Operations: ['22-5=17', '33-11=22']
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,19 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[11, 16], Operations: ['22-5=17', '33-17=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,19 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Moving to Node #0,4,3
Current State: 19:[17, 3], Operations: ['22-5=17', '33/11=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Moving to Node #0,4,4
Current State: 19:[33, 28], Operations: ['22-5=17', '11+17=28']
Exploring Operation: 33*28=924, Resulting Numbers: [924]
924,19 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[17, 44], Operations: ['22-5=17', '33+11=44']
Exploring Operation: 17*44=748, Resulting Numbers: [748]
748,19 unequal: No Solution
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,19 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[11, 22, 38], Operations: ['5+33=38']
Exploring Operation: 38-11=27, Resulting Numbers: [22, 27]
Generated Node #0,3,0: 19:[22, 27] Operation: 38-11=27
Exploring Operation: 11+38=49, Resulting Numbers: [22, 49]
Generated Node #0,3,1: 19:[22, 49] Operation: 11+38=49
Exploring Operation: 11+22=33, Resulting Numbers: [38, 33]
Generated Node #0,3,2: 19:[38, 33] Operation: 11+22=33
Exploring Operation: 38-22=16, Resulting Numbers: [11, 16]
Generated Node #0,3,3: 19:[11, 16] Operation: 38-22=16
Exploring Operation: 22-11=11, Resulting Numbers: [38, 11]
Generated Node #0,3,4: 19:[38, 11] Operation: 22-11=11
Moving to Node #0,3,0
Current State: 19:[22, 27], Operations: ['5+33=38', '38-11=27']
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,19 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[11, 16], Operations: ['5+33=38', '38-22=16']
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,19 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Moving to Node #0,3,4
Current State: 19:[38, 11], Operations: ['5+33=38', '22-11=11']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,19 unequal: No Solution
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[22, 49], Operations: ['5+33=38', '11+38=49']
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,19 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[38, 33], Operations: ['5+33=38', '11+22=33']
Exploring Operation: 38*33=1254, Resulting Numbers: [1254]
1254,19 unequal: No Solution
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,19 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,19 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 |
[
31,
77,
32,
30
] | 79 | [
"32+30=62",
"62/31=2",
"77+2=79"
] | Current State: 79:[31, 77, 32, 30], Operations: []
Exploring Operation: 32+30=62, Resulting Numbers: [31, 77, 62]
Generated Node #2: [31, 77, 62] from Operation: 32+30=62
Current State: 79:[31, 77, 62], Operations: ['32+30=62']
Exploring Operation: 62/31=2, Resulting Numbers: [77, 2]
Generated Node #3: [77, 2] from Operation: 62/31=2
Current State: 79:[77, 2], Operations: ['32+30=62', '62/31=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[31, 77, 32, 30], Operations: []
Exploring Operation: 31+32=63, Resulting Numbers: [77, 30, 63]
Generated Node #0,0: 79:[77, 30, 63] Operation: 31+32=63
Exploring Operation: 31+30=61, Resulting Numbers: [77, 32, 61]
Generated Node #0,1: 79:[77, 32, 61] Operation: 31+30=61
Exploring Operation: 32+30=62, Resulting Numbers: [31, 77, 62]
Generated Node #0,2: 79:[31, 77, 62] Operation: 32+30=62
Exploring Operation: 31+77=108, Resulting Numbers: [32, 30, 108]
Generated Node #0,3: 79:[32, 30, 108] Operation: 31+77=108
Exploring Operation: 77+30=107, Resulting Numbers: [31, 32, 107]
Generated Node #0,4: 79:[31, 32, 107] Operation: 77+30=107
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[77, 30, 63], Operations: ['31+32=63']
Exploring Operation: 63-30=33, Resulting Numbers: [77, 33]
Generated Node #0,0,0: 79:[77, 33] Operation: 63-30=33
Exploring Operation: 77-30=47, Resulting Numbers: [63, 47]
Generated Node #0,0,1: 79:[63, 47] Operation: 77-30=47
Exploring Operation: 30+63=93, Resulting Numbers: [77, 93]
Generated Node #0,0,2: 79:[77, 93] Operation: 30+63=93
Exploring Operation: 77+30=107, Resulting Numbers: [63, 107]
Generated Node #0,0,3: 79:[63, 107] Operation: 77+30=107
Exploring Operation: 77+63=140, Resulting Numbers: [30, 140]
Generated Node #0,0,4: 79:[30, 140] Operation: 77+63=140
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[77, 93], Operations: ['31+32=63', '30+63=93']
Exploring Operation: 77*93=7161, Resulting Numbers: [7161]
7161,79 unequal: No Solution
Exploring Operation: 77+93=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 93-77=16, Resulting Numbers: [16]
16,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[63, 107], Operations: ['31+32=63', '77+30=107']
Exploring Operation: 63+107=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 63*107=6741, Resulting Numbers: [6741]
6741,79 unequal: No Solution
Exploring Operation: 107-63=44, Resulting Numbers: [44]
44,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[77, 33], Operations: ['31+32=63', '63-30=33']
Exploring Operation: 77*33=2541, Resulting Numbers: [2541]
2541,79 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,79 unequal: No Solution
Exploring Operation: 77+33=110, Resulting Numbers: [110]
110,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[63, 47], Operations: ['31+32=63', '77-30=47']
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 63+47=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 63*47=2961, Resulting Numbers: [2961]
2961,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 79:[30, 140], Operations: ['31+32=63', '77+63=140']
Exploring Operation: 140-30=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 30+140=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 30*140=4200, Resulting Numbers: [4200]
4200,79 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: 79:[77, 32, 61], Operations: ['31+30=61']
Exploring Operation: 61-32=29, Resulting Numbers: [77, 29]
Generated Node #0,1,0: 79:[77, 29] Operation: 61-32=29
Exploring Operation: 77-32=45, Resulting Numbers: [61, 45]
Generated Node #0,1,1: 79:[61, 45] Operation: 77-32=45
Exploring Operation: 77+61=138, Resulting Numbers: [32, 138]
Generated Node #0,1,2: 79:[32, 138] Operation: 77+61=138
Exploring Operation: 32+61=93, Resulting Numbers: [77, 93]
Generated Node #0,1,3: 79:[77, 93] Operation: 32+61=93
Exploring Operation: 77+32=109, Resulting Numbers: [61, 109]
Generated Node #0,1,4: 79:[61, 109] Operation: 77+32=109
Moving to Node #0,1,3
Current State: 79:[77, 93], Operations: ['31+30=61', '32+61=93']
Exploring Operation: 77+93=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 77*93=7161, Resulting Numbers: [7161]
7161,79 unequal: No Solution
Exploring Operation: 93-77=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[61, 109], Operations: ['31+30=61', '77+32=109']
Exploring Operation: 109-61=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 61+109=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 61*109=6649, Resulting Numbers: [6649]
6649,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[77, 29], Operations: ['31+30=61', '61-32=29']
Exploring Operation: 77*29=2233, Resulting Numbers: [2233]
2233,79 unequal: No Solution
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 77+29=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[61, 45], Operations: ['31+30=61', '77-32=45']
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,79 unequal: No Solution
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[32, 138], Operations: ['31+30=61', '77+61=138']
Exploring Operation: 32+138=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 32*138=4416, Resulting Numbers: [4416]
4416,79 unequal: No Solution
Exploring Operation: 138-32=106, Resulting Numbers: [106]
106,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[31, 77, 62], Operations: ['32+30=62']
Exploring Operation: 62-31=31, Resulting Numbers: [77, 31]
Generated Node #0,2,0: 79:[77, 31] Operation: 62-31=31
Exploring Operation: 62/31=2, Resulting Numbers: [77, 2]
Generated Node #0,2,1: 79:[77, 2] Operation: 62/31=2
Exploring Operation: 77-31=46, Resulting Numbers: [62, 46]
Generated Node #0,2,2: 79:[62, 46] Operation: 77-31=46
Exploring Operation: 31+62=93, Resulting Numbers: [77, 93]
Generated Node #0,2,3: 79:[77, 93] Operation: 31+62=93
Exploring Operation: 31+77=108, Resulting Numbers: [62, 108]
Generated Node #0,2,4: 79:[62, 108] Operation: 31+77=108
Moving to Node #0,2,3
Current State: 79:[77, 93], Operations: ['32+30=62', '31+62=93']
Exploring Operation: 77*93=7161, Resulting Numbers: [7161]
7161,79 unequal: No Solution
Exploring Operation: 93-77=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 77+93=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Moving to Node #0,2,4
Current State: 79:[62, 108], Operations: ['32+30=62', '31+77=108']
Exploring Operation: 62*108=6696, Resulting Numbers: [6696]
6696,79 unequal: No Solution
Exploring Operation: 62+108=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 108-62=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[77, 31], Operations: ['32+30=62', '62-31=31']
Exploring Operation: 77*31=2387, Resulting Numbers: [2387]
2387,79 unequal: No Solution
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 77+31=108, Resulting Numbers: [108]
108,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[62, 46], Operations: ['32+30=62', '77-31=46']
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 62*46=2852, Resulting Numbers: [2852]
2852,79 unequal: No Solution
Exploring Operation: 62+46=108, Resulting Numbers: [108]
108,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[77, 2], Operations: ['32+30=62', '62/31=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,79 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[31, 77, 32, 30], Operations: []
Exploring Operation: 32+30=62, Resulting Numbers: [31, 77, 62]
Generated Node #0,2: 79:[31, 77, 62] Operation: 32+30=62
Moving to Node #0,2
Current State: 79:[31, 77, 62], Operations: ['32+30=62']
Exploring Operation: 62/31=2, Resulting Numbers: [77, 2]
Generated Node #0,2,1: 79:[77, 2] Operation: 62/31=2
Moving to Node #0,2,1
Current State: 79:[77, 2], Operations: ['32+30=62', '62/31=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.940104 | hs_5 | sum_heuristic |
[
45,
21,
24,
83
] | 97 | [
"24*83=1992",
"45+1992=2037",
"2037/21=97"
] | Current State: 97:[45, 21, 24, 83], Operations: []
Exploring Operation: 24*83=1992, Resulting Numbers: [45, 21, 1992]
Generated Node #2: [45, 21, 1992] from Operation: 24*83=1992
Current State: 97:[45, 21, 1992], Operations: ['24*83=1992']
Exploring Operation: 45+1992=2037, Resulting Numbers: [21, 2037]
Generated Node #3: [21, 2037] from Operation: 45+1992=2037
Current State: 97:[21, 2037], Operations: ['24*83=1992', '45+1992=2037']
Exploring Operation: 2037/21=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[45, 21, 24, 83], Operations: []
Exploring Operation: 45+21=66, Resulting Numbers: [24, 83, 66]
Generated Node #0,0: 97:[24, 83, 66] Operation: 45+21=66
Exploring Operation: 45+24=69, Resulting Numbers: [21, 83, 69]
Generated Node #0,1: 97:[21, 83, 69] Operation: 45+24=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[24, 83, 66], Operations: ['45+21=66']
Exploring Operation: 24+66=90, Resulting Numbers: [83, 90]
Generated Node #0,0,0: 97:[83, 90] Operation: 24+66=90
Exploring Operation: 24+83=107, Resulting Numbers: [66, 107]
Generated Node #0,0,1: 97:[66, 107] Operation: 24+83=107
Moving to Node #0,0,0
Current State: 97:[83, 90], Operations: ['45+21=66', '24+66=90']
Exploring Operation: 83+90=173, Resulting Numbers: [173]
173,97 unequal: No Solution
Exploring Operation: 90-83=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[66, 107], Operations: ['45+21=66', '24+83=107']
Exploring Operation: 66+107=173, Resulting Numbers: [173]
173,97 unequal: No Solution
Exploring Operation: 107-66=41, Resulting Numbers: [41]
41,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:[21, 83, 69], Operations: ['45+24=69']
Exploring Operation: 21+83=104, Resulting Numbers: [69, 104]
Generated Node #0,1,0: 97:[69, 104] Operation: 21+83=104
Exploring Operation: 21+69=90, Resulting Numbers: [83, 90]
Generated Node #0,1,1: 97:[83, 90] Operation: 21+69=90
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[83, 90], Operations: ['45+24=69', '21+69=90']
Exploring Operation: 90-83=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 83+90=173, Resulting Numbers: [173]
173,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[69, 104], Operations: ['45+24=69', '21+83=104']
Exploring Operation: 69+104=173, Resulting Numbers: [173]
173,97 unequal: No Solution
Exploring Operation: 104-69=35, Resulting Numbers: [35]
35,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
38,
54,
35,
25
] | 82 | [
"38+54=92",
"35-25=10",
"92-10=82"
] | Current State: 82:[38, 54, 35, 25], Operations: []
Exploring Operation: 38+54=92, Resulting Numbers: [35, 25, 92]
Generated Node #2: [35, 25, 92] from Operation: 38+54=92
Current State: 82:[35, 25, 92], Operations: ['38+54=92']
Exploring Operation: 35-25=10, Resulting Numbers: [92, 10]
Generated Node #3: [92, 10] from Operation: 35-25=10
Current State: 82:[92, 10], Operations: ['38+54=92', '35-25=10']
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[38, 54, 35, 25], Operations: []
Exploring Operation: 54+25=79, Resulting Numbers: [38, 35, 79]
Generated Node #0,0: 82:[38, 35, 79] Operation: 54+25=79
Exploring Operation: 54-25=29, Resulting Numbers: [38, 35, 29]
Generated Node #0,1: 82:[38, 35, 29] Operation: 54-25=29
Exploring Operation: 38-35=3, Resulting Numbers: [54, 25, 3]
Generated Node #0,2: 82:[54, 25, 3] Operation: 38-35=3
Exploring Operation: 35-25=10, Resulting Numbers: [38, 54, 10]
Generated Node #0,3: 82:[38, 54, 10] Operation: 35-25=10
Exploring Operation: 54+35=89, Resulting Numbers: [38, 25, 89]
Generated Node #0,4: 82:[38, 25, 89] Operation: 54+35=89
Moving to Node #0,0
Current State: 82:[38, 35, 79], Operations: ['54+25=79']
Exploring Operation: 38+35=73, Resulting Numbers: [79, 73]
Generated Node #0,0,0: 82:[79, 73] Operation: 38+35=73
Exploring Operation: 79-38=41, Resulting Numbers: [35, 41]
Generated Node #0,0,1: 82:[35, 41] Operation: 79-38=41
Exploring Operation: 38-35=3, Resulting Numbers: [79, 3]
Generated Node #0,0,2: 82:[79, 3] Operation: 38-35=3
Exploring Operation: 79-35=44, Resulting Numbers: [38, 44]
Generated Node #0,0,3: 82:[38, 44] Operation: 79-35=44
Exploring Operation: 35+79=114, Resulting Numbers: [38, 114]
Generated Node #0,0,4: 82:[38, 114] Operation: 35+79=114
Moving to Node #0,1
Current State: 82:[38, 35, 29], Operations: ['54-25=29']
Exploring Operation: 38+29=67, Resulting Numbers: [35, 67]
Generated Node #0,1,0: 82:[35, 67] Operation: 38+29=67
Exploring Operation: 38-35=3, Resulting Numbers: [29, 3]
Generated Node #0,1,1: 82:[29, 3] Operation: 38-35=3
Exploring Operation: 38+35=73, Resulting Numbers: [29, 73]
Generated Node #0,1,2: 82:[29, 73] Operation: 38+35=73
Exploring Operation: 35-29=6, Resulting Numbers: [38, 6]
Generated Node #0,1,3: 82:[38, 6] Operation: 35-29=6
Exploring Operation: 38-29=9, Resulting Numbers: [35, 9]
Generated Node #0,1,4: 82:[35, 9] Operation: 38-29=9
Moving to Node #0,3
Current State: 82:[38, 54, 10], Operations: ['35-25=10']
Exploring Operation: 38+10=48, Resulting Numbers: [54, 48]
Generated Node #0,3,0: 82:[54, 48] Operation: 38+10=48
Exploring Operation: 38+54=92, Resulting Numbers: [10, 92]
Generated Node #0,3,1: 82:[10, 92] Operation: 38+54=92
Exploring Operation: 54-38=16, Resulting Numbers: [10, 16]
Generated Node #0,3,2: 82:[10, 16] Operation: 54-38=16
Exploring Operation: 54-10=44, Resulting Numbers: [38, 44]
Generated Node #0,3,3: 82:[38, 44] Operation: 54-10=44
Exploring Operation: 54+10=64, Resulting Numbers: [38, 64]
Generated Node #0,3,4: 82:[38, 64] Operation: 54+10=64
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 82:[38, 44], Operations: ['35-25=10', '54-10=44']
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,82 unequal: No Solution
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[38, 54, 35, 25], Operations: []
Exploring Operation: 35-25=10, Resulting Numbers: [38, 54, 10]
Generated Node #0,3: 82:[38, 54, 10] Operation: 35-25=10
Moving to Node #0,3
Current State: 82:[38, 54, 10], Operations: ['35-25=10']
Exploring Operation: 54-10=44, Resulting Numbers: [38, 44]
Generated Node #0,3,3: 82:[38, 44] Operation: 54-10=44
Moving to Node #0,3,3
Current State: 82:[38, 44], Operations: ['35-25=10', '54-10=44']
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
52,
77,
24,
12
] | 11 | [
"77-52=25",
"24+12=36",
"36-25=11"
] | Current State: 11:[52, 77, 24, 12], Operations: []
Exploring Operation: 77-52=25, Resulting Numbers: [24, 12, 25]
Generated Node #2: [24, 12, 25] from Operation: 77-52=25
Current State: 11:[24, 12, 25], Operations: ['77-52=25']
Exploring Operation: 24+12=36, Resulting Numbers: [25, 36]
Generated Node #3: [25, 36] from Operation: 24+12=36
Current State: 11:[25, 36], Operations: ['77-52=25', '24+12=36']
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[52, 77, 24, 12], Operations: []
Exploring Operation: 77-52=25, Resulting Numbers: [24, 12, 25]
Generated Node #0,0: 11:[24, 12, 25] Operation: 77-52=25
Exploring Operation: 52-24=28, Resulting Numbers: [77, 12, 28]
Generated Node #0,1: 11:[77, 12, 28] Operation: 52-24=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[24, 12, 25], Operations: ['77-52=25']
Exploring Operation: 25-24=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 11:[12, 1] Operation: 25-24=1
Exploring Operation: 24-12=12, Resulting Numbers: [25, 12]
Generated Node #0,0,1: 11:[25, 12] Operation: 24-12=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[12, 1], Operations: ['77-52=25', '25-24=1']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[52, 77, 24, 12], Operations: []
Exploring Operation: 77-52=25, Resulting Numbers: [24, 12, 25]
Generated Node #0,0: 11:[24, 12, 25] Operation: 77-52=25
Moving to Node #0,0
Current State: 11:[24, 12, 25], Operations: ['77-52=25']
Exploring Operation: 25-24=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 11:[12, 1] Operation: 25-24=1
Moving to Node #0,0,0
Current State: 11:[12, 1], Operations: ['77-52=25', '25-24=1']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
65,
81,
64,
43
] | 91 | [
"81-65=16",
"64+43=107",
"107-16=91"
] | Current State: 91:[65, 81, 64, 43], Operations: []
Exploring Operation: 81-65=16, Resulting Numbers: [64, 43, 16]
Generated Node #2: [64, 43, 16] from Operation: 81-65=16
Current State: 91:[64, 43, 16], Operations: ['81-65=16']
Exploring Operation: 64+43=107, Resulting Numbers: [16, 107]
Generated Node #3: [16, 107] from Operation: 64+43=107
Current State: 91:[16, 107], Operations: ['81-65=16', '64+43=107']
Exploring Operation: 107-16=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[65, 81, 64, 43], Operations: []
Exploring Operation: 64-43=21, Resulting Numbers: [65, 81, 21]
Generated Node #0,0: 91:[65, 81, 21] Operation: 64-43=21
Exploring Operation: 65-64=1, Resulting Numbers: [81, 43, 1]
Generated Node #0,1: 91:[81, 43, 1] Operation: 65-64=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[65, 81, 21], Operations: ['64-43=21']
Exploring Operation: 65+21=86, Resulting Numbers: [81, 86]
Generated Node #0,0,0: 91:[81, 86] Operation: 65+21=86
Exploring Operation: 81-65=16, Resulting Numbers: [21, 16]
Generated Node #0,0,1: 91:[21, 16] Operation: 81-65=16
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[21, 16], Operations: ['64-43=21', '81-65=16']
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,91 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[81, 86], Operations: ['64-43=21', '65+21=86']
Exploring Operation: 86-81=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 81+86=167, Resulting Numbers: [167]
167,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[81, 43, 1], Operations: ['65-64=1']
Exploring Operation: 81+43=124, Resulting Numbers: [1, 124]
Generated Node #0,1,0: 91:[1, 124] Operation: 81+43=124
Exploring Operation: 81-43=38, Resulting Numbers: [1, 38]
Generated Node #0,1,1: 91:[1, 38] Operation: 81-43=38
Moving to Node #0,1,1
Current State: 91:[1, 38], Operations: ['65-64=1', '81-43=38']
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[1, 124], Operations: ['65-64=1', '81+43=124']
Exploring Operation: 1*124=124, Resulting Numbers: [124]
124,91 unequal: No Solution
Exploring Operation: 124-1=123, Resulting Numbers: [123]
123,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 |
[
13,
79,
12,
14
] | 33 | [
"79-13=66",
"14-12=2",
"66/2=33"
] | Current State: 33:[13, 79, 12, 14], Operations: []
Exploring Operation: 79-13=66, Resulting Numbers: [12, 14, 66]
Generated Node #2: [12, 14, 66] from Operation: 79-13=66
Current State: 33:[12, 14, 66], Operations: ['79-13=66']
Exploring Operation: 14-12=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 14-12=2
Current State: 33:[66, 2], Operations: ['79-13=66', '14-12=2']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[13, 79, 12, 14], Operations: []
Exploring Operation: 79-14=65, Resulting Numbers: [13, 12, 65]
Generated Node #0,0: 33:[13, 12, 65] Operation: 79-14=65
Exploring Operation: 79-12=67, Resulting Numbers: [13, 14, 67]
Generated Node #0,1: 33:[13, 14, 67] Operation: 79-12=67
Exploring Operation: 14-13=1, Resulting Numbers: [79, 12, 1]
Generated Node #0,2: 33:[79, 12, 1] Operation: 14-13=1
Exploring Operation: 14-12=2, Resulting Numbers: [13, 79, 2]
Generated Node #0,3: 33:[13, 79, 2] Operation: 14-12=2
Exploring Operation: 79-13=66, Resulting Numbers: [12, 14, 66]
Generated Node #0,4: 33:[12, 14, 66] Operation: 79-13=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[13, 12, 65], Operations: ['79-14=65']
Exploring Operation: 65-13=52, Resulting Numbers: [12, 52]
Generated Node #0,0,0: 33:[12, 52] Operation: 65-13=52
Exploring Operation: 65/13=5, Resulting Numbers: [12, 5]
Generated Node #0,0,1: 33:[12, 5] Operation: 65/13=5
Exploring Operation: 13+12=25, Resulting Numbers: [65, 25]
Generated Node #0,0,2: 33:[65, 25] Operation: 13+12=25
Exploring Operation: 65-12=53, Resulting Numbers: [13, 53]
Generated Node #0,0,3: 33:[13, 53] Operation: 65-12=53
Exploring Operation: 13-12=1, Resulting Numbers: [65, 1]
Generated Node #0,0,4: 33:[65, 1] Operation: 13-12=1
Moving to Node #0,0,1
Current State: 33:[12, 5], Operations: ['79-14=65', '65/13=5']
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,33 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[12, 52], Operations: ['79-14=65', '65-13=52']
Exploring Operation: 12*52=624, Resulting Numbers: [624]
624,33 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 12+52=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[13, 53], Operations: ['79-14=65', '65-12=53']
Exploring Operation: 13+53=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Exploring Operation: 13*53=689, Resulting Numbers: [689]
689,33 unequal: No Solution
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Moving to Node #0,0,4
Current State: 33:[65, 1], Operations: ['79-14=65', '13-12=1']
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,33 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[65, 25], Operations: ['79-14=65', '13+12=25']
Exploring Operation: 65*25=1625, Resulting Numbers: [1625]
1625,33 unequal: No Solution
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 33:[12, 14, 66], Operations: ['79-13=66']
Exploring Operation: 66-14=52, Resulting Numbers: [12, 52]
Generated Node #0,4,0: 33:[12, 52] Operation: 66-14=52
Exploring Operation: 12+14=26, Resulting Numbers: [66, 26]
Generated Node #0,4,1: 33:[66, 26] Operation: 12+14=26
Exploring Operation: 66-12=54, Resulting Numbers: [14, 54]
Generated Node #0,4,2: 33:[14, 54] Operation: 66-12=54
Exploring Operation: 14-12=2, Resulting Numbers: [66, 2]
Generated Node #0,4,3: 33:[66, 2] Operation: 14-12=2
Exploring Operation: 12+66=78, Resulting Numbers: [14, 78]
Generated Node #0,4,4: 33:[14, 78] Operation: 12+66=78
Moving to Node #0,4,0
Current State: 33:[12, 52], Operations: ['79-13=66', '66-14=52']
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 12*52=624, Resulting Numbers: [624]
624,33 unequal: No Solution
Exploring Operation: 12+52=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Moving to Node #0,4,2
Current State: 33:[14, 54], Operations: ['79-13=66', '66-12=54']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 14*54=756, Resulting Numbers: [756]
756,33 unequal: No Solution
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Moving to Node #0,4,3
Current State: 33:[66, 2], Operations: ['79-13=66', '14-12=2']
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,33 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[13, 79, 12, 14], Operations: []
Exploring Operation: 79-13=66, Resulting Numbers: [12, 14, 66]
Generated Node #0,4: 33:[12, 14, 66] Operation: 79-13=66
Moving to Node #0,4
Current State: 33:[12, 14, 66], Operations: ['79-13=66']
Exploring Operation: 14-12=2, Resulting Numbers: [66, 2]
Generated Node #0,4,3: 33:[66, 2] Operation: 14-12=2
Moving to Node #0,4,3
Current State: 33:[66, 2], Operations: ['79-13=66', '14-12=2']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | sum_heuristic |
[
93,
64,
32,
8
] | 81 | [
"64+32=96",
"96/8=12",
"93-12=81"
] | Current State: 81:[93, 64, 32, 8], Operations: []
Exploring Operation: 64+32=96, Resulting Numbers: [93, 8, 96]
Generated Node #2: [93, 8, 96] from Operation: 64+32=96
Current State: 81:[93, 8, 96], Operations: ['64+32=96']
Exploring Operation: 96/8=12, Resulting Numbers: [93, 12]
Generated Node #3: [93, 12] from Operation: 96/8=12
Current State: 81:[93, 12], Operations: ['64+32=96', '96/8=12']
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[93, 64, 32, 8], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [93, 8, 2]
Generated Node #0,0: 81:[93, 8, 2] Operation: 64/32=2
Exploring Operation: 93-64=29, Resulting Numbers: [32, 8, 29]
Generated Node #0,1: 81:[32, 8, 29] Operation: 93-64=29
Exploring Operation: 64-32=32, Resulting Numbers: [93, 8, 32]
Generated Node #0,2: 81:[93, 8, 32] Operation: 64-32=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[32, 8, 29], Operations: ['93-64=29']
Exploring Operation: 32-8=24, Resulting Numbers: [29, 24]
Generated Node #0,1,0: 81:[29, 24] Operation: 32-8=24
Exploring Operation: 32-29=3, Resulting Numbers: [8, 3]
Generated Node #0,1,1: 81:[8, 3] Operation: 32-29=3
Exploring Operation: 32/8=4, Resulting Numbers: [29, 4]
Generated Node #0,1,2: 81:[29, 4] Operation: 32/8=4
Moving to Node #0,1,1
Current State: 81:[8, 3], Operations: ['93-64=29', '32-29=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[29, 4], Operations: ['93-64=29', '32/8=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,81 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[29, 24], Operations: ['93-64=29', '32-8=24']
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,81 unequal: No Solution
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[93, 8, 2], Operations: ['64/32=2']
Exploring Operation: 93-8=85, Resulting Numbers: [2, 85]
Generated Node #0,0,0: 81:[2, 85] Operation: 93-8=85
Exploring Operation: 93-2=91, Resulting Numbers: [8, 91]
Generated Node #0,0,1: 81:[8, 91] Operation: 93-2=91
Exploring Operation: 8+2=10, Resulting Numbers: [93, 10]
Generated Node #0,0,2: 81:[93, 10] Operation: 8+2=10
Moving to Node #0,0,0
Current State: 81:[2, 85], Operations: ['64/32=2', '93-8=85']
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,81 unequal: No Solution
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,81 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[8, 91], Operations: ['64/32=2', '93-2=91']
Exploring Operation: 8*91=728, Resulting Numbers: [728]
728,81 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,81 unequal: No Solution
Exploring Operation: 8+91=99, Resulting Numbers: [99]
99,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[93, 10], Operations: ['64/32=2', '8+2=10']
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,81 unequal: No Solution
Exploring Operation: 93*10=930, Resulting Numbers: [930]
930,81 unequal: No Solution
Exploring Operation: 93+10=103, Resulting Numbers: [103]
103,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[93, 8, 32], Operations: ['64-32=32']
Exploring Operation: 32-8=24, Resulting Numbers: [93, 24]
Generated Node #0,2,0: 81:[93, 24] Operation: 32-8=24
Exploring Operation: 32/8=4, Resulting Numbers: [93, 4]
Generated Node #0,2,1: 81:[93, 4] Operation: 32/8=4
Exploring Operation: 93-8=85, Resulting Numbers: [32, 85]
Generated Node #0,2,2: 81:[32, 85] Operation: 93-8=85
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 81:[32, 85], Operations: ['64-32=32', '93-8=85']
Exploring Operation: 32+85=117, Resulting Numbers: [117]
117,81 unequal: No Solution
Exploring Operation: 32*85=2720, Resulting Numbers: [2720]
2720,81 unequal: No Solution
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,81 unequal: No Solution
No 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: 81:[93, 4], Operations: ['64-32=32', '32/8=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,81 unequal: No Solution
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,81 unequal: No Solution
No 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: 81:[93, 24], Operations: ['64-32=32', '32-8=24']
Exploring Operation: 93*24=2232, Resulting Numbers: [2232]
2232,81 unequal: No Solution
Exploring Operation: 93-24=69, Resulting Numbers: [69]
69,81 unequal: No Solution
Exploring Operation: 93+24=117, Resulting Numbers: [117]
117,81 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 |
[
3,
57,
58,
65
] | 80 | [
"3*65=195",
"57+58=115",
"195-115=80"
] | Current State: 80:[3, 57, 58, 65], Operations: []
Exploring Operation: 3*65=195, Resulting Numbers: [57, 58, 195]
Generated Node #2: [57, 58, 195] from Operation: 3*65=195
Current State: 80:[57, 58, 195], Operations: ['3*65=195']
Exploring Operation: 57+58=115, Resulting Numbers: [195, 115]
Generated Node #3: [195, 115] from Operation: 57+58=115
Current State: 80:[195, 115], Operations: ['3*65=195', '57+58=115']
Exploring Operation: 195-115=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[3, 57, 58, 65], Operations: []
Exploring Operation: 58-57=1, Resulting Numbers: [3, 65, 1]
Generated Node #0,0: 80:[3, 65, 1] Operation: 58-57=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[3, 65, 1], Operations: ['58-57=1']
Exploring Operation: 3+65=68, Resulting Numbers: [1, 68]
Generated Node #0,0,0: 80:[1, 68] Operation: 3+65=68
Moving to Node #0,0,0
Current State: 80:[1, 68], Operations: ['58-57=1', '3+65=68']
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,80 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 |
[
65,
53,
24,
65
] | 53 | [
"65-53=12",
"65-24=41",
"12+41=53"
] | Current State: 53:[65, 53, 24, 65], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [24, 12]
Generated Node #2: [24, 12] from Operation: 65-53=12
Current State: 53:[24, 12], Operations: ['65-53=12']
Exploring Operation: 65-24=41, Resulting Numbers: [12, 41]
Generated Node #3: [12, 41] from Operation: 65-24=41
Current State: 53:[12, 41], Operations: ['65-53=12', '65-24=41']
Exploring Operation: 12+41=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[65, 53, 24, 65], Operations: []
Exploring Operation: 65-24=41, Resulting Numbers: [53, 65, 41]
Generated Node #0,0: 53:[53, 65, 41] Operation: 65-24=41
Exploring Operation: 65-24=41, Resulting Numbers: [65, 53, 41]
Generated Node #0,1: 53:[65, 53, 41] Operation: 65-24=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[53, 65, 41], Operations: ['65-24=41']
Exploring Operation: 65-41=24, Resulting Numbers: [53, 24]
Generated Node #0,0,0: 53:[53, 24] Operation: 65-41=24
Exploring Operation: 65-53=12, Resulting Numbers: [41, 12]
Generated Node #0,0,1: 53:[41, 12] Operation: 65-53=12
Moving to Node #0,0,0
Current State: 53:[53, 24], Operations: ['65-24=41', '65-41=24']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[41, 12], Operations: ['65-24=41', '65-53=12']
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[65, 53, 24, 65], Operations: []
Exploring Operation: 65-24=41, Resulting Numbers: [53, 65, 41]
Generated Node #0,0: 53:[53, 65, 41] Operation: 65-24=41
Moving to Node #0,0
Current State: 53:[53, 65, 41], Operations: ['65-24=41']
Exploring Operation: 65-53=12, Resulting Numbers: [41, 12]
Generated Node #0,0,1: 53:[41, 12] Operation: 65-53=12
Moving to Node #0,0,1
Current State: 53:[41, 12], Operations: ['65-24=41', '65-53=12']
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
47,
69,
61,
21
] | 61 | [
"69-47=22",
"22-21=1",
"61*1=61"
] | Current State: 61:[47, 69, 61, 21], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [61, 21, 22]
Generated Node #2: [61, 21, 22] from Operation: 69-47=22
Current State: 61:[61, 21, 22], Operations: ['69-47=22']
Exploring Operation: 22-21=1, Resulting Numbers: [61, 1]
Generated Node #3: [61, 1] from Operation: 22-21=1
Current State: 61:[61, 1], Operations: ['69-47=22', '22-21=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[47, 69, 61, 21], Operations: []
Exploring Operation: 47+21=68, Resulting Numbers: [69, 61, 68]
Generated Node #0,0: 61:[69, 61, 68] Operation: 47+21=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[69, 61, 68], Operations: ['47+21=68']
Exploring Operation: 69-61=8, Resulting Numbers: [68, 8]
Generated Node #0,0,0: 61:[68, 8] Operation: 69-61=8
Moving to Node #0,0,0
Current State: 61:[68, 8], Operations: ['47+21=68', '69-61=8']
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,61 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 |
[
19,
35,
90,
49
] | 57 | [
"35-19=16",
"90-49=41",
"16+41=57"
] | Current State: 57:[19, 35, 90, 49], Operations: []
Exploring Operation: 35-19=16, Resulting Numbers: [90, 49, 16]
Generated Node #2: [90, 49, 16] from Operation: 35-19=16
Current State: 57:[90, 49, 16], Operations: ['35-19=16']
Exploring Operation: 90-49=41, Resulting Numbers: [16, 41]
Generated Node #3: [16, 41] from Operation: 90-49=41
Current State: 57:[16, 41], Operations: ['35-19=16', '90-49=41']
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[19, 35, 90, 49], Operations: []
Exploring Operation: 90-19=71, Resulting Numbers: [35, 49, 71]
Generated Node #0,0: 57:[35, 49, 71] Operation: 90-19=71
Exploring Operation: 49-35=14, Resulting Numbers: [19, 90, 14]
Generated Node #0,1: 57:[19, 90, 14] Operation: 49-35=14
Exploring Operation: 90-35=55, Resulting Numbers: [19, 49, 55]
Generated Node #0,2: 57:[19, 49, 55] Operation: 90-35=55
Exploring Operation: 90-49=41, Resulting Numbers: [19, 35, 41]
Generated Node #0,3: 57:[19, 35, 41] Operation: 90-49=41
Moving to Node #0,2
Current State: 57:[19, 49, 55], Operations: ['90-35=55']
Exploring Operation: 19+55=74, Resulting Numbers: [49, 74]
Generated Node #0,2,0: 57:[49, 74] Operation: 19+55=74
Exploring Operation: 55-49=6, Resulting Numbers: [19, 6]
Generated Node #0,2,1: 57:[19, 6] Operation: 55-49=6
Exploring Operation: 49-19=30, Resulting Numbers: [55, 30]
Generated Node #0,2,2: 57:[55, 30] Operation: 49-19=30
Exploring Operation: 19+49=68, Resulting Numbers: [55, 68]
Generated Node #0,2,3: 57:[55, 68] Operation: 19+49=68
Moving to Node #0,3
Current State: 57:[19, 35, 41], Operations: ['90-49=41']
Exploring Operation: 35-19=16, Resulting Numbers: [41, 16]
Generated Node #0,3,0: 57:[41, 16] Operation: 35-19=16
Exploring Operation: 19+35=54, Resulting Numbers: [41, 54]
Generated Node #0,3,1: 57:[41, 54] Operation: 19+35=54
Exploring Operation: 19+41=60, Resulting Numbers: [35, 60]
Generated Node #0,3,2: 57:[35, 60] Operation: 19+41=60
Exploring Operation: 41-35=6, Resulting Numbers: [19, 6]
Generated Node #0,3,3: 57:[19, 6] Operation: 41-35=6
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 57:[19, 6], Operations: ['90-49=41', '41-35=6']
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[41, 16], Operations: ['90-49=41', '35-19=16']
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[19, 35, 90, 49], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [19, 35, 41]
Generated Node #0,3: 57:[19, 35, 41] Operation: 90-49=41
Moving to Node #0,3
Current State: 57:[19, 35, 41], Operations: ['90-49=41']
Exploring Operation: 35-19=16, Resulting Numbers: [41, 16]
Generated Node #0,3,0: 57:[41, 16] Operation: 35-19=16
Moving to Node #0,3,0
Current State: 57:[41, 16], Operations: ['90-49=41', '35-19=16']
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
58,
60,
66,
29
] | 54 | [
"58*60=3480",
"3480/29=120",
"120-66=54"
] | Current State: 54:[58, 60, 66, 29], Operations: []
Exploring Operation: 58*60=3480, Resulting Numbers: [66, 29, 3480]
Generated Node #2: [66, 29, 3480] from Operation: 58*60=3480
Current State: 54:[66, 29, 3480], Operations: ['58*60=3480']
Exploring Operation: 3480/29=120, Resulting Numbers: [66, 120]
Generated Node #3: [66, 120] from Operation: 3480/29=120
Current State: 54:[66, 120], Operations: ['58*60=3480', '3480/29=120']
Exploring Operation: 120-66=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[58, 60, 66, 29], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [66, 29, 2]
Generated Node #0,0: 54:[66, 29, 2] Operation: 60-58=2
Exploring Operation: 66-60=6, Resulting Numbers: [58, 29, 6]
Generated Node #0,1: 54:[58, 29, 6] Operation: 66-60=6
Exploring Operation: 58-29=29, Resulting Numbers: [60, 66, 29]
Generated Node #0,2: 54:[60, 66, 29] Operation: 58-29=29
Exploring Operation: 58/29=2, Resulting Numbers: [60, 66, 2]
Generated Node #0,3: 54:[60, 66, 2] Operation: 58/29=2
Exploring Operation: 66-58=8, Resulting Numbers: [60, 29, 8]
Generated Node #0,4: 54:[60, 29, 8] Operation: 66-58=8
Moving to Node #0,1
Current State: 54:[58, 29, 6], Operations: ['66-60=6']
Exploring Operation: 29-6=23, Resulting Numbers: [58, 23]
Generated Node #0,1,0: 54:[58, 23] Operation: 29-6=23
Exploring Operation: 58-6=52, Resulting Numbers: [29, 52]
Generated Node #0,1,1: 54:[29, 52] Operation: 58-6=52
Exploring Operation: 58+6=64, Resulting Numbers: [29, 64]
Generated Node #0,1,2: 54:[29, 64] Operation: 58+6=64
Exploring Operation: 58-29=29, Resulting Numbers: [6, 29]
Generated Node #0,1,3: 54:[6, 29] Operation: 58-29=29
Exploring Operation: 58/29=2, Resulting Numbers: [6, 2]
Generated Node #0,1,4: 54:[6, 2] Operation: 58/29=2
Moving to Node #0,4
Current State: 54:[60, 29, 8], Operations: ['66-58=8']
Exploring Operation: 60-29=31, Resulting Numbers: [8, 31]
Generated Node #0,4,0: 54:[8, 31] Operation: 60-29=31
Exploring Operation: 29-8=21, Resulting Numbers: [60, 21]
Generated Node #0,4,1: 54:[60, 21] Operation: 29-8=21
Exploring Operation: 60-8=52, Resulting Numbers: [29, 52]
Generated Node #0,4,2: 54:[29, 52] Operation: 60-8=52
Exploring Operation: 60+8=68, Resulting Numbers: [29, 68]
Generated Node #0,4,3: 54:[29, 68] Operation: 60+8=68
Exploring Operation: 29+8=37, Resulting Numbers: [60, 37]
Generated Node #0,4,4: 54:[60, 37] Operation: 29+8=37
Moving to Node #0,0
Current State: 54:[66, 29, 2], Operations: ['60-58=2']
Exploring Operation: 66+2=68, Resulting Numbers: [29, 68]
Generated Node #0,0,0: 54:[29, 68] Operation: 66+2=68
Exploring Operation: 66-29=37, Resulting Numbers: [2, 37]
Generated Node #0,0,1: 54:[2, 37] Operation: 66-29=37
Exploring Operation: 66-2=64, Resulting Numbers: [29, 64]
Generated Node #0,0,2: 54:[29, 64] Operation: 66-2=64
Exploring Operation: 29-2=27, Resulting Numbers: [66, 27]
Generated Node #0,0,3: 54:[66, 27] Operation: 29-2=27
Exploring Operation: 66/2=33, Resulting Numbers: [29, 33]
Generated Node #0,0,4: 54:[29, 33] Operation: 66/2=33
Moving to Node #0,3
Current State: 54:[60, 66, 2], Operations: ['58/29=2']
Exploring Operation: 60-2=58, Resulting Numbers: [66, 58]
Generated Node #0,3,0: 54:[66, 58] Operation: 60-2=58
Exploring Operation: 66-2=64, Resulting Numbers: [60, 64]
Generated Node #0,3,1: 54:[60, 64] Operation: 66-2=64
Exploring Operation: 60/2=30, Resulting Numbers: [66, 30]
Generated Node #0,3,2: 54:[66, 30] Operation: 60/2=30
Exploring Operation: 66/2=33, Resulting Numbers: [60, 33]
Generated Node #0,3,3: 54:[60, 33] Operation: 66/2=33
Exploring Operation: 66-60=6, Resulting Numbers: [2, 6]
Generated Node #0,3,4: 54:[2, 6] Operation: 66-60=6
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 54:[2, 6], Operations: ['58/29=2', '66-60=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[60, 33], Operations: ['58/29=2', '66/2=33']
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 60+33=93, Resulting Numbers: [93]
93,54 unequal: No Solution
Exploring Operation: 60*33=1980, Resulting Numbers: [1980]
1980,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 54:[66, 30], Operations: ['58/29=2', '60/2=30']
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,54 unequal: No Solution
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 54:[66, 58], Operations: ['58/29=2', '60-2=58']
Exploring Operation: 66*58=3828, Resulting Numbers: [3828]
3828,54 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 66+58=124, Resulting Numbers: [124]
124,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 54:[60, 64], Operations: ['58/29=2', '66-2=64']
Exploring Operation: 60+64=124, Resulting Numbers: [124]
124,54 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 60*64=3840, Resulting Numbers: [3840]
3840,54 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: 54:[60, 66, 29], Operations: ['58-29=29']
Exploring Operation: 60-29=31, Resulting Numbers: [66, 31]
Generated Node #0,2,0: 54:[66, 31] Operation: 60-29=31
Exploring Operation: 66+29=95, Resulting Numbers: [60, 95]
Generated Node #0,2,1: 54:[60, 95] Operation: 66+29=95
Exploring Operation: 66-29=37, Resulting Numbers: [60, 37]
Generated Node #0,2,2: 54:[60, 37] Operation: 66-29=37
Exploring Operation: 60+29=89, Resulting Numbers: [66, 89]
Generated Node #0,2,3: 54:[66, 89] Operation: 60+29=89
Exploring Operation: 66-60=6, Resulting Numbers: [29, 6]
Generated Node #0,2,4: 54:[29, 6] Operation: 66-60=6
Moving to Node #0,1,4
Current State: 54:[6, 2], Operations: ['66-60=6', '58/29=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[6, 29], Operations: ['66-60=6', '58-29=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,54 unequal: No Solution
Moving to Node #0,2,4
Current State: 54:[29, 6], Operations: ['58-29=29', '66-60=6']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,54 unequal: No Solution
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[29, 52], Operations: ['66-60=6', '58-6=52']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 29+52=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Exploring Operation: 29*52=1508, Resulting Numbers: [1508]
1508,54 unequal: No Solution
Moving to Node #0,4,2
Current State: 54:[29, 52], Operations: ['66-58=8', '60-8=52']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 29*52=1508, Resulting Numbers: [1508]
1508,54 unequal: No Solution
Exploring Operation: 29+52=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Moving to Node #0,4,0
Current State: 54:[8, 31], Operations: ['66-58=8', '60-29=31']
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,54 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Moving to Node #0,0,4
Current State: 54:[29, 33], Operations: ['60-58=2', '66/2=33']
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,54 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[58, 23], Operations: ['66-60=6', '29-6=23']
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Exploring Operation: 58*23=1334, Resulting Numbers: [1334]
1334,54 unequal: No Solution
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Moving to Node #0,4,1
Current State: 54:[60, 21], Operations: ['66-58=8', '29-8=21']
Exploring Operation: 60+21=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 60*21=1260, Resulting Numbers: [1260]
1260,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[2, 37], Operations: ['60-58=2', '66-29=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,54 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[66, 27], Operations: ['60-58=2', '29-2=27']
Exploring Operation: 66+27=93, Resulting Numbers: [93]
93,54 unequal: No Solution
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 66*27=1782, Resulting Numbers: [1782]
1782,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[29, 64], Operations: ['60-58=2', '66-2=64']
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,54 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[29, 64], Operations: ['66-60=6', '58+6=64']
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,54 unequal: No Solution
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[60, 37], Operations: ['58-29=29', '66-29=37']
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[29, 68], Operations: ['60-58=2', '66+2=68']
Exploring Operation: 29*68=1972, Resulting Numbers: [1972]
1972,54 unequal: No Solution
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 29+68=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Moving to Node #0,4,4
Current State: 54:[60, 37], Operations: ['66-58=8', '29+8=37']
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,54 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[66, 31], Operations: ['58-29=29', '60-29=31']
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,54 unequal: No Solution
Moving to Node #0,4,3
Current State: 54:[29, 68], Operations: ['66-58=8', '60+8=68']
Exploring Operation: 29+68=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 29*68=1972, Resulting Numbers: [1972]
1972,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[66, 89], Operations: ['58-29=29', '60+29=89']
Exploring Operation: 66*89=5874, Resulting Numbers: [5874]
5874,54 unequal: No Solution
Exploring Operation: 66+89=155, Resulting Numbers: [155]
155,54 unequal: No Solution
Exploring Operation: 89-66=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[60, 95], Operations: ['58-29=29', '66+29=95']
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 60+95=155, Resulting Numbers: [155]
155,54 unequal: No Solution
Exploring Operation: 60*95=5700, Resulting Numbers: [5700]
5700,54 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
3,
90,
6,
40
] | 25 | [
"6/3=2",
"90-40=50",
"50/2=25"
] | Current State: 25:[3, 90, 6, 40], Operations: []
Exploring Operation: 6/3=2, Resulting Numbers: [90, 40, 2]
Generated Node #2: [90, 40, 2] from Operation: 6/3=2
Current State: 25:[90, 40, 2], Operations: ['6/3=2']
Exploring Operation: 90-40=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 90-40=50
Current State: 25:[2, 50], Operations: ['6/3=2', '90-40=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[3, 90, 6, 40], Operations: []
Exploring Operation: 90/6=15, Resulting Numbers: [3, 40, 15]
Generated Node #0,0: 25:[3, 40, 15] Operation: 90/6=15
Exploring Operation: 90/3=30, Resulting Numbers: [6, 40, 30]
Generated Node #0,1: 25:[6, 40, 30] Operation: 90/3=30
Moving to Node #0,1
Current State: 25:[6, 40, 30], Operations: ['90/3=30']
Exploring Operation: 40-6=34, Resulting Numbers: [30, 34]
Generated Node #0,1,0: 25:[30, 34] Operation: 40-6=34
Exploring Operation: 40-30=10, Resulting Numbers: [6, 10]
Generated Node #0,1,1: 25:[6, 10] Operation: 40-30=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[6, 10], Operations: ['90/3=30', '40-30=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[30, 34], Operations: ['90/3=30', '40-6=34']
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 25:[3, 40, 15], Operations: ['90/6=15']
Exploring Operation: 40-15=25, Resulting Numbers: [3, 25]
Generated Node #0,0,0: 25:[3, 25] Operation: 40-15=25
Exploring Operation: 15/3=5, Resulting Numbers: [40, 5]
Generated Node #0,0,1: 25:[40, 5] Operation: 15/3=5
Moving to Node #0,0,0
Current State: 25:[3, 25], Operations: ['90/6=15', '40-15=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[40, 5], Operations: ['90/6=15', '15/3=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,25 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
99,
3,
77
] | 22 | [
"3-2=1",
"99-77=22",
"1*22=22"
] | Current State: 22:[2, 99, 3, 77], Operations: []
Exploring Operation: 3-2=1, Resulting Numbers: [99, 77, 1]
Generated Node #2: [99, 77, 1] from Operation: 3-2=1
Current State: 22:[99, 77, 1], Operations: ['3-2=1']
Exploring Operation: 99-77=22, Resulting Numbers: [1, 22]
Generated Node #3: [1, 22] from Operation: 99-77=22
Current State: 22:[1, 22], Operations: ['3-2=1', '99-77=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[2, 99, 3, 77], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [2, 3, 22]
Generated Node #0,0: 22:[2, 3, 22] Operation: 99-77=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[2, 3, 22], Operations: ['99-77=22']
Exploring Operation: 3-2=1, Resulting Numbers: [22, 1]
Generated Node #0,0,0: 22:[22, 1] Operation: 3-2=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[22, 1], Operations: ['99-77=22', '3-2=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[2, 99, 3, 77], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [2, 3, 22]
Generated Node #0,0: 22:[2, 3, 22] Operation: 99-77=22
Moving to Node #0,0
Current State: 22:[2, 3, 22], Operations: ['99-77=22']
Exploring Operation: 3-2=1, Resulting Numbers: [22, 1]
Generated Node #0,0,0: 22:[22, 1] Operation: 3-2=1
Moving to Node #0,0,0
Current State: 22:[22, 1], Operations: ['99-77=22', '3-2=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
26,
12,
41,
3
] | 82 | [
"26+12=38",
"41+3=44",
"38+44=82"
] | Current State: 82:[26, 12, 41, 3], Operations: []
Exploring Operation: 26+12=38, Resulting Numbers: [41, 3, 38]
Generated Node #2: [41, 3, 38] from Operation: 26+12=38
Current State: 82:[41, 3, 38], Operations: ['26+12=38']
Exploring Operation: 41+3=44, Resulting Numbers: [38, 44]
Generated Node #3: [38, 44] from Operation: 41+3=44
Current State: 82:[38, 44], Operations: ['26+12=38', '41+3=44']
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[26, 12, 41, 3], Operations: []
Exploring Operation: 26-12=14, Resulting Numbers: [41, 3, 14]
Generated Node #0,0: 82:[41, 3, 14] Operation: 26-12=14
Exploring Operation: 26*3=78, Resulting Numbers: [12, 41, 78]
Generated Node #0,1: 82:[12, 41, 78] Operation: 26*3=78
Exploring Operation: 26+12=38, Resulting Numbers: [41, 3, 38]
Generated Node #0,2: 82:[41, 3, 38] Operation: 26+12=38
Moving to Node #0,2
Current State: 82:[41, 3, 38], Operations: ['26+12=38']
Exploring Operation: 41+38=79, Resulting Numbers: [3, 79]
Generated Node #0,2,0: 82:[3, 79] Operation: 41+38=79
Exploring Operation: 3+38=41, Resulting Numbers: [41, 41]
Generated Node #0,2,1: 82:[41, 41] Operation: 3+38=41
Exploring Operation: 41-38=3, Resulting Numbers: [3, 3]
Generated Node #0,2,2: 82:[3, 3] Operation: 41-38=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[41, 41], Operations: ['26+12=38', '3+38=41']
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[26, 12, 41, 3], Operations: []
Exploring Operation: 26+12=38, Resulting Numbers: [41, 3, 38]
Generated Node #0,2: 82:[41, 3, 38] Operation: 26+12=38
Moving to Node #0,2
Current State: 82:[41, 3, 38], Operations: ['26+12=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41, 41]
Generated Node #0,2,1: 82:[41, 41] Operation: 3+38=41
Moving to Node #0,2,1
Current State: 82:[41, 41], Operations: ['26+12=38', '3+38=41']
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
65,
77,
34,
88
] | 88 | [
"65+77=142",
"88-34=54",
"142-54=88"
] | Current State: 88:[65, 77, 34, 88], Operations: []
Exploring Operation: 65+77=142, Resulting Numbers: [34, 88, 142]
Generated Node #2: [34, 88, 142] from Operation: 65+77=142
Current State: 88:[34, 88, 142], Operations: ['65+77=142']
Exploring Operation: 88-34=54, Resulting Numbers: [142, 54]
Generated Node #3: [142, 54] from Operation: 88-34=54
Current State: 88:[142, 54], Operations: ['65+77=142', '88-34=54']
Exploring Operation: 142-54=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[65, 77, 34, 88], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [34, 88, 12]
Generated Node #0,0: 88:[34, 88, 12] Operation: 77-65=12
Exploring Operation: 65+34=99, Resulting Numbers: [77, 88, 99]
Generated Node #0,1: 88:[77, 88, 99] Operation: 65+34=99
Exploring Operation: 88-65=23, Resulting Numbers: [77, 34, 23]
Generated Node #0,2: 88:[77, 34, 23] Operation: 88-65=23
Exploring Operation: 65-34=31, Resulting Numbers: [77, 88, 31]
Generated Node #0,3: 88:[77, 88, 31] Operation: 65-34=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[34, 88, 12], Operations: ['77-65=12']
Exploring Operation: 34-12=22, Resulting Numbers: [88, 22]
Generated Node #0,0,0: 88:[88, 22] Operation: 34-12=22
Exploring Operation: 88-34=54, Resulting Numbers: [12, 54]
Generated Node #0,0,1: 88:[12, 54] Operation: 88-34=54
Exploring Operation: 34+12=46, Resulting Numbers: [88, 46]
Generated Node #0,0,2: 88:[88, 46] Operation: 34+12=46
Exploring Operation: 88+12=100, Resulting Numbers: [34, 100]
Generated Node #0,0,3: 88:[34, 100] Operation: 88+12=100
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[88, 22], Operations: ['77-65=12', '34-12=22']
Exploring Operation: 88*22=1936, Resulting Numbers: [1936]
1936,88 unequal: No Solution
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 88+22=110, Resulting Numbers: [110]
110,88 unequal: No Solution
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,88 unequal: No Solution
No 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: 88:[88, 46], Operations: ['77-65=12', '34+12=46']
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,88 unequal: No Solution
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,88 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,88 unequal: No Solution
No 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: 88:[12, 54], Operations: ['77-65=12', '88-34=54']
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,88 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,88 unequal: No Solution
No 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: 88:[34, 100], Operations: ['77-65=12', '88+12=100']
Exploring Operation: 34+100=134, Resulting Numbers: [134]
134,88 unequal: No Solution
Exploring Operation: 34*100=3400, Resulting Numbers: [3400]
3400,88 unequal: No Solution
Exploring Operation: 100-34=66, Resulting Numbers: [66]
66,88 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: 88:[77, 88, 31], Operations: ['65-34=31']
Exploring Operation: 88-31=57, Resulting Numbers: [77, 57]
Generated Node #0,3,0: 88:[77, 57] Operation: 88-31=57
Exploring Operation: 77+31=108, Resulting Numbers: [88, 108]
Generated Node #0,3,1: 88:[88, 108] Operation: 77+31=108
Exploring Operation: 77-31=46, Resulting Numbers: [88, 46]
Generated Node #0,3,2: 88:[88, 46] Operation: 77-31=46
Exploring Operation: 88-77=11, Resulting Numbers: [31, 11]
Generated Node #0,3,3: 88:[31, 11] Operation: 88-77=11
Moving to Node #0,3,2
Current State: 88:[88, 46], Operations: ['65-34=31', '77-31=46']
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,88 unequal: No Solution
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,88 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[31, 11], Operations: ['65-34=31', '88-77=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,88 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[88, 108], Operations: ['65-34=31', '77+31=108']
Exploring Operation: 88+108=196, Resulting Numbers: [196]
196,88 unequal: No Solution
Exploring Operation: 108-88=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 88*108=9504, Resulting Numbers: [9504]
9504,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[77, 57], Operations: ['65-34=31', '88-31=57']
Exploring Operation: 77+57=134, Resulting Numbers: [134]
134,88 unequal: No Solution
Exploring Operation: 77*57=4389, Resulting Numbers: [4389]
4389,88 unequal: No Solution
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,88 unequal: No Solution
No 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: 88:[77, 88, 99], Operations: ['65+34=99']
Exploring Operation: 99-88=11, Resulting Numbers: [77, 11]
Generated Node #0,1,0: 88:[77, 11] Operation: 99-88=11
Exploring Operation: 88-77=11, Resulting Numbers: [99, 11]
Generated Node #0,1,1: 88:[99, 11] Operation: 88-77=11
Exploring Operation: 99-77=22, Resulting Numbers: [88, 22]
Generated Node #0,1,2: 88:[88, 22] Operation: 99-77=22
Exploring Operation: 77+88=165, Resulting Numbers: [99, 165]
Generated Node #0,1,3: 88:[99, 165] Operation: 77+88=165
Moving to Node #0,1,2
Current State: 88:[88, 22], Operations: ['65+34=99', '99-77=22']
Exploring Operation: 88*22=1936, Resulting Numbers: [1936]
1936,88 unequal: No Solution
Exploring Operation: 88+22=110, Resulting Numbers: [110]
110,88 unequal: No Solution
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[99, 11], Operations: ['65+34=99', '88-77=11']
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[65, 77, 34, 88], Operations: []
Exploring Operation: 65+34=99, Resulting Numbers: [77, 88, 99]
Generated Node #0,1: 88:[77, 88, 99] Operation: 65+34=99
Moving to Node #0,1
Current State: 88:[77, 88, 99], Operations: ['65+34=99']
Exploring Operation: 88-77=11, Resulting Numbers: [99, 11]
Generated Node #0,1,1: 88:[99, 11] Operation: 88-77=11
Moving to Node #0,1,1
Current State: 88:[99, 11], Operations: ['65+34=99', '88-77=11']
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_4 | mult_heuristic |
[
47,
80,
4,
33
] | 40 | [
"47+80=127",
"33+127=160",
"160/4=40"
] | Current State: 40:[47, 80, 4, 33], Operations: []
Exploring Operation: 47+80=127, Resulting Numbers: [4, 33, 127]
Generated Node #2: [4, 33, 127] from Operation: 47+80=127
Current State: 40:[4, 33, 127], Operations: ['47+80=127']
Exploring Operation: 33+127=160, Resulting Numbers: [4, 160]
Generated Node #3: [4, 160] from Operation: 33+127=160
Current State: 40:[4, 160], Operations: ['47+80=127', '33+127=160']
Exploring Operation: 160/4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[47, 80, 4, 33], Operations: []
Exploring Operation: 80-47=33, Resulting Numbers: [4, 33, 33]
Generated Node #0,0: 40:[4, 33, 33] Operation: 80-47=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[4, 33, 33], Operations: ['80-47=33']
Exploring Operation: 33/33=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 40:[4, 1] Operation: 33/33=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[4, 1], Operations: ['80-47=33', '33/33=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
1,
85,
50,
1
] | 37 | [
"1+85=86",
"50-1=49",
"86-49=37"
] | Current State: 37:[1, 85, 50, 1], Operations: []
Exploring Operation: 1+85=86, Resulting Numbers: [50, 86]
Generated Node #2: [50, 86] from Operation: 1+85=86
Current State: 37:[50, 86], Operations: ['1+85=86']
Exploring Operation: 50-1=49, Resulting Numbers: [86, 49]
Generated Node #3: [86, 49] from Operation: 50-1=49
Current State: 37:[86, 49], Operations: ['1+85=86', '50-1=49']
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[1, 85, 50, 1], Operations: []
Exploring Operation: 85-50=35, Resulting Numbers: [1, 1, 35]
Generated Node #0,0: 37:[1, 1, 35] Operation: 85-50=35
Exploring Operation: 85-1=84, Resulting Numbers: [50, 1, 84]
Generated Node #0,1: 37:[50, 1, 84] Operation: 85-1=84
Exploring Operation: 50-1=49, Resulting Numbers: [85, 1, 49]
Generated Node #0,2: 37:[85, 1, 49] Operation: 50-1=49
Moving to Node #0,0
Current State: 37:[1, 1, 35], Operations: ['85-50=35']
Exploring Operation: 1+1=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 37:[35, 2] Operation: 1+1=2
Exploring Operation: 1+35=36, Resulting Numbers: [1, 36]
Generated Node #0,0,1: 37:[1, 36] Operation: 1+35=36
Exploring Operation: 1+35=36, Resulting Numbers: [1, 36]
Generated Node #0,0,2: 37:[1, 36] Operation: 1+35=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[35, 2], Operations: ['85-50=35', '1+1=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,37 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[1, 85, 50, 1], Operations: []
Exploring Operation: 85-50=35, Resulting Numbers: [1, 1, 35]
Generated Node #0,0: 37:[1, 1, 35] Operation: 85-50=35
Moving to Node #0,0
Current State: 37:[1, 1, 35], Operations: ['85-50=35']
Exploring Operation: 1+1=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 37:[35, 2] Operation: 1+1=2
Moving to Node #0,0,0
Current State: 37:[35, 2], Operations: ['85-50=35', '1+1=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
72,
32,
18,
49
] | 73 | [
"72+32=104",
"49-18=31",
"104-31=73"
] | Current State: 73:[72, 32, 18, 49], Operations: []
Exploring Operation: 72+32=104, Resulting Numbers: [18, 49, 104]
Generated Node #2: [18, 49, 104] from Operation: 72+32=104
Current State: 73:[18, 49, 104], Operations: ['72+32=104']
Exploring Operation: 49-18=31, Resulting Numbers: [104, 31]
Generated Node #3: [104, 31] from Operation: 49-18=31
Current State: 73:[104, 31], Operations: ['72+32=104', '49-18=31']
Exploring Operation: 104-31=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[72, 32, 18, 49], Operations: []
Exploring Operation: 72+18=90, Resulting Numbers: [32, 49, 90]
Generated Node #0,0: 73:[32, 49, 90] Operation: 72+18=90
Exploring Operation: 72-18=54, Resulting Numbers: [32, 49, 54]
Generated Node #0,1: 73:[32, 49, 54] Operation: 72-18=54
Exploring Operation: 18+49=67, Resulting Numbers: [72, 32, 67]
Generated Node #0,2: 73:[72, 32, 67] Operation: 18+49=67
Exploring Operation: 32+18=50, Resulting Numbers: [72, 49, 50]
Generated Node #0,3: 73:[72, 49, 50] Operation: 32+18=50
Exploring Operation: 32+49=81, Resulting Numbers: [72, 18, 81]
Generated Node #0,4: 73:[72, 18, 81] Operation: 32+49=81
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[72, 32, 67], Operations: ['18+49=67']
Exploring Operation: 72-32=40, Resulting Numbers: [67, 40]
Generated Node #0,2,0: 73:[67, 40] Operation: 72-32=40
Exploring Operation: 72+67=139, Resulting Numbers: [32, 139]
Generated Node #0,2,1: 73:[32, 139] Operation: 72+67=139
Exploring Operation: 72+32=104, Resulting Numbers: [67, 104]
Generated Node #0,2,2: 73:[67, 104] Operation: 72+32=104
Exploring Operation: 67-32=35, Resulting Numbers: [72, 35]
Generated Node #0,2,3: 73:[72, 35] Operation: 67-32=35
Exploring Operation: 32+67=99, Resulting Numbers: [72, 99]
Generated Node #0,2,4: 73:[72, 99] Operation: 32+67=99
Moving to Node #0,2,4
Current State: 73:[72, 99], Operations: ['18+49=67', '32+67=99']
Exploring Operation: 72*99=7128, Resulting Numbers: [7128]
7128,73 unequal: No Solution
Exploring Operation: 99-72=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 72+99=171, Resulting Numbers: [171]
171,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[67, 104], Operations: ['18+49=67', '72+32=104']
Exploring Operation: 67+104=171, Resulting Numbers: [171]
171,73 unequal: No Solution
Exploring Operation: 104-67=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 67*104=6968, Resulting Numbers: [6968]
6968,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[67, 40], Operations: ['18+49=67', '72-32=40']
Exploring Operation: 67+40=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 67*40=2680, Resulting Numbers: [2680]
2680,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[72, 35], Operations: ['18+49=67', '67-32=35']
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 72+35=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Exploring Operation: 72*35=2520, Resulting Numbers: [2520]
2520,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[32, 139], Operations: ['18+49=67', '72+67=139']
Exploring Operation: 32*139=4448, Resulting Numbers: [4448]
4448,73 unequal: No Solution
Exploring Operation: 139-32=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Exploring Operation: 32+139=171, Resulting Numbers: [171]
171,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[72, 49, 50], Operations: ['32+18=50']
Exploring Operation: 72-49=23, Resulting Numbers: [50, 23]
Generated Node #0,3,0: 73:[50, 23] Operation: 72-49=23
Exploring Operation: 50-49=1, Resulting Numbers: [72, 1]
Generated Node #0,3,1: 73:[72, 1] Operation: 50-49=1
Exploring Operation: 72+50=122, Resulting Numbers: [49, 122]
Generated Node #0,3,2: 73:[49, 122] Operation: 72+50=122
Exploring Operation: 49+50=99, Resulting Numbers: [72, 99]
Generated Node #0,3,3: 73:[72, 99] Operation: 49+50=99
Exploring Operation: 72+49=121, Resulting Numbers: [50, 121]
Generated Node #0,3,4: 73:[50, 121] Operation: 72+49=121
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 73:[72, 99], Operations: ['32+18=50', '49+50=99']
Exploring Operation: 99-72=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 72*99=7128, Resulting Numbers: [7128]
7128,73 unequal: No Solution
Exploring Operation: 72+99=171, Resulting Numbers: [171]
171,73 unequal: No Solution
No 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: 73:[50, 121], Operations: ['32+18=50', '72+49=121']
Exploring Operation: 50+121=171, Resulting Numbers: [171]
171,73 unequal: No Solution
Exploring Operation: 121-50=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 50*121=6050, Resulting Numbers: [6050]
6050,73 unequal: No Solution
No 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: 73:[50, 23], Operations: ['32+18=50', '72-49=23']
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[72, 32, 18, 49], Operations: []
Exploring Operation: 32+18=50, Resulting Numbers: [72, 49, 50]
Generated Node #0,3: 73:[72, 49, 50] Operation: 32+18=50
Moving to Node #0,3
Current State: 73:[72, 49, 50], Operations: ['32+18=50']
Exploring Operation: 72-49=23, Resulting Numbers: [50, 23]
Generated Node #0,3,0: 73:[50, 23] Operation: 72-49=23
Moving to Node #0,3,0
Current State: 73:[50, 23], Operations: ['32+18=50', '72-49=23']
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
12,
66,
56,
21
] | 42 | [
"66-12=54",
"56-54=2",
"21*2=42"
] | Current State: 42:[12, 66, 56, 21], Operations: []
Exploring Operation: 66-12=54, Resulting Numbers: [56, 21, 54]
Generated Node #2: [56, 21, 54] from Operation: 66-12=54
Current State: 42:[56, 21, 54], Operations: ['66-12=54']
Exploring Operation: 56-54=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 56-54=2
Current State: 42:[21, 2], Operations: ['66-12=54', '56-54=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[12, 66, 56, 21], Operations: []
Exploring Operation: 66-21=45, Resulting Numbers: [12, 56, 45]
Generated Node #0,0: 42:[12, 56, 45] Operation: 66-21=45
Exploring Operation: 66-56=10, Resulting Numbers: [12, 21, 10]
Generated Node #0,1: 42:[12, 21, 10] Operation: 66-56=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[12, 21, 10], Operations: ['66-56=10']
Exploring Operation: 12+10=22, Resulting Numbers: [21, 22]
Generated Node #0,1,0: 42:[21, 22] Operation: 12+10=22
Exploring Operation: 12-10=2, Resulting Numbers: [21, 2]
Generated Node #0,1,1: 42:[21, 2] Operation: 12-10=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[21, 2], Operations: ['66-56=10', '12-10=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[12, 66, 56, 21], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [12, 21, 10]
Generated Node #0,1: 42:[12, 21, 10] Operation: 66-56=10
Moving to Node #0,1
Current State: 42:[12, 21, 10], Operations: ['66-56=10']
Exploring Operation: 12-10=2, Resulting Numbers: [21, 2]
Generated Node #0,1,1: 42:[21, 2] Operation: 12-10=2
Moving to Node #0,1,1
Current State: 42:[21, 2], Operations: ['66-56=10', '12-10=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
77,
8,
81,
65
] | 33 | [
"81-77=4",
"8*4=32",
"65-32=33"
] | Current State: 33:[77, 8, 81, 65], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [8, 65, 4]
Generated Node #2: [8, 65, 4] from Operation: 81-77=4
Current State: 33:[8, 65, 4], Operations: ['81-77=4']
Exploring Operation: 8*4=32, Resulting Numbers: [65, 32]
Generated Node #3: [65, 32] from Operation: 8*4=32
Current State: 33:[65, 32], Operations: ['81-77=4', '8*4=32']
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[77, 8, 81, 65], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [8, 65, 4]
Generated Node #0,0: 33:[8, 65, 4] Operation: 81-77=4
Moving to Node #0,0
Current State: 33:[8, 65, 4], Operations: ['81-77=4']
Exploring Operation: 65-8=57, Resulting Numbers: [4, 57]
Generated Node #0,0,0: 33:[4, 57] Operation: 65-8=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[4, 57], Operations: ['81-77=4', '65-8=57']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
48,
88,
92,
4
] | 99 | [
"92-48=44",
"44/4=11",
"88+11=99"
] | Current State: 99:[48, 88, 92, 4], Operations: []
Exploring Operation: 92-48=44, Resulting Numbers: [88, 4, 44]
Generated Node #2: [88, 4, 44] from Operation: 92-48=44
Current State: 99:[88, 4, 44], Operations: ['92-48=44']
Exploring Operation: 44/4=11, Resulting Numbers: [88, 11]
Generated Node #3: [88, 11] from Operation: 44/4=11
Current State: 99:[88, 11], Operations: ['92-48=44', '44/4=11']
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[48, 88, 92, 4], Operations: []
Exploring Operation: 48/4=12, Resulting Numbers: [88, 92, 12]
Generated Node #0,0: 99:[88, 92, 12] Operation: 48/4=12
Exploring Operation: 92-48=44, Resulting Numbers: [88, 4, 44]
Generated Node #0,1: 99:[88, 4, 44] Operation: 92-48=44
Exploring Operation: 92-88=4, Resulting Numbers: [48, 4, 4]
Generated Node #0,2: 99:[48, 4, 4] Operation: 92-88=4
Exploring Operation: 88-48=40, Resulting Numbers: [92, 4, 40]
Generated Node #0,3: 99:[92, 4, 40] Operation: 88-48=40
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[92, 4, 40], Operations: ['88-48=40']
Exploring Operation: 40-4=36, Resulting Numbers: [92, 36]
Generated Node #0,3,0: 99:[92, 36] Operation: 40-4=36
Exploring Operation: 92+4=96, Resulting Numbers: [40, 96]
Generated Node #0,3,1: 99:[40, 96] Operation: 92+4=96
Exploring Operation: 92/4=23, Resulting Numbers: [40, 23]
Generated Node #0,3,2: 99:[40, 23] Operation: 92/4=23
Exploring Operation: 40/4=10, Resulting Numbers: [92, 10]
Generated Node #0,3,3: 99:[92, 10] Operation: 40/4=10
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 99:[92, 10], Operations: ['88-48=40', '40/4=10']
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,99 unequal: No Solution
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,99 unequal: No Solution
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 99:[92, 36], Operations: ['88-48=40', '40-4=36']
Exploring Operation: 92*36=3312, Resulting Numbers: [3312]
3312,99 unequal: No Solution
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,99 unequal: No Solution
Exploring Operation: 92+36=128, Resulting Numbers: [128]
128,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 99:[40, 96], Operations: ['88-48=40', '92+4=96']
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,99 unequal: No Solution
Exploring Operation: 40*96=3840, Resulting Numbers: [3840]
3840,99 unequal: No Solution
Exploring Operation: 40+96=136, Resulting Numbers: [136]
136,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 99:[40, 23], Operations: ['88-48=40', '92/4=23']
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,99 unequal: No Solution
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[48, 4, 4], Operations: ['92-88=4']
Exploring Operation: 48/4=12, Resulting Numbers: [4, 12]
Generated Node #0,2,0: 99:[4, 12] Operation: 48/4=12
Exploring Operation: 48/4=12, Resulting Numbers: [4, 12]
Generated Node #0,2,1: 99:[4, 12] Operation: 48/4=12
Exploring Operation: 48-4=44, Resulting Numbers: [4, 44]
Generated Node #0,2,2: 99:[4, 44] Operation: 48-4=44
Exploring Operation: 48-4=44, Resulting Numbers: [4, 44]
Generated Node #0,2,3: 99:[4, 44] Operation: 48-4=44
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[4, 12], Operations: ['92-88=4', '48/4=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[4, 12], Operations: ['92-88=4', '48/4=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[4, 44], Operations: ['92-88=4', '48-4=44']
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,99 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 99:[4, 44], Operations: ['92-88=4', '48-4=44']
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[88, 92, 12], Operations: ['48/4=12']
Exploring Operation: 88-12=76, Resulting Numbers: [92, 76]
Generated Node #0,0,0: 99:[92, 76] Operation: 88-12=76
Exploring Operation: 92-88=4, Resulting Numbers: [12, 4]
Generated Node #0,0,1: 99:[12, 4] Operation: 92-88=4
Exploring Operation: 88+12=100, Resulting Numbers: [92, 100]
Generated Node #0,0,2: 99:[92, 100] Operation: 88+12=100
Exploring Operation: 92+12=104, Resulting Numbers: [88, 104]
Generated Node #0,0,3: 99:[88, 104] Operation: 92+12=104
Moving to Node #0,0,1
Current State: 99:[12, 4], Operations: ['48/4=12', '92-88=4']
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[92, 100], Operations: ['48/4=12', '88+12=100']
Exploring Operation: 92+100=192, Resulting Numbers: [192]
192,99 unequal: No Solution
Exploring Operation: 92*100=9200, Resulting Numbers: [9200]
9200,99 unequal: No Solution
Exploring Operation: 100-92=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[88, 104], Operations: ['48/4=12', '92+12=104']
Exploring Operation: 104-88=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 88+104=192, Resulting Numbers: [192]
192,99 unequal: No Solution
Exploring Operation: 88*104=9152, Resulting Numbers: [9152]
9152,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[92, 76], Operations: ['48/4=12', '88-12=76']
Exploring Operation: 92-76=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 92*76=6992, Resulting Numbers: [6992]
6992,99 unequal: No Solution
Exploring Operation: 92+76=168, Resulting Numbers: [168]
168,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[88, 4, 44], Operations: ['92-48=44']
Exploring Operation: 88/44=2, Resulting Numbers: [4, 2]
Generated Node #0,1,0: 99:[4, 2] Operation: 88/44=2
Exploring Operation: 88-44=44, Resulting Numbers: [4, 44]
Generated Node #0,1,1: 99:[4, 44] Operation: 88-44=44
Exploring Operation: 88+4=92, Resulting Numbers: [44, 92]
Generated Node #0,1,2: 99:[44, 92] Operation: 88+4=92
Exploring Operation: 44/4=11, Resulting Numbers: [88, 11]
Generated Node #0,1,3: 99:[88, 11] Operation: 44/4=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[4, 2], Operations: ['92-48=44', '88/44=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 99:[88, 11], Operations: ['92-48=44', '44/4=11']
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[48, 88, 92, 4], Operations: []
Exploring Operation: 92-48=44, Resulting Numbers: [88, 4, 44]
Generated Node #0,1: 99:[88, 4, 44] Operation: 92-48=44
Moving to Node #0,1
Current State: 99:[88, 4, 44], Operations: ['92-48=44']
Exploring Operation: 44/4=11, Resulting Numbers: [88, 11]
Generated Node #0,1,3: 99:[88, 11] Operation: 44/4=11
Moving to Node #0,1,3
Current State: 99:[88, 11], Operations: ['92-48=44', '44/4=11']
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.938368 | hs_4 | mult_heuristic |
[
14,
5,
63,
34
] | 28 | [
"5+63=68",
"14*68=952",
"952/34=28"
] | Current State: 28:[14, 5, 63, 34], Operations: []
Exploring Operation: 5+63=68, Resulting Numbers: [14, 34, 68]
Generated Node #2: [14, 34, 68] from Operation: 5+63=68
Current State: 28:[14, 34, 68], Operations: ['5+63=68']
Exploring Operation: 14*68=952, Resulting Numbers: [34, 952]
Generated Node #3: [34, 952] from Operation: 14*68=952
Current State: 28:[34, 952], Operations: ['5+63=68', '14*68=952']
Exploring Operation: 952/34=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[14, 5, 63, 34], Operations: []
Exploring Operation: 63-34=29, Resulting Numbers: [14, 5, 29]
Generated Node #0,0: 28:[14, 5, 29] Operation: 63-34=29
Exploring Operation: 63-14=49, Resulting Numbers: [5, 34, 49]
Generated Node #0,1: 28:[5, 34, 49] Operation: 63-14=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[14, 5, 29], Operations: ['63-34=29']
Exploring Operation: 29-14=15, Resulting Numbers: [5, 15]
Generated Node #0,0,0: 28:[5, 15] Operation: 29-14=15
Exploring Operation: 14-5=9, Resulting Numbers: [29, 9]
Generated Node #0,0,1: 28:[29, 9] Operation: 14-5=9
Moving to Node #0,0,0
Current State: 28:[5, 15], Operations: ['63-34=29', '29-14=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[29, 9], Operations: ['63-34=29', '14-5=9']
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,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,1
Current State: 28:[5, 34, 49], Operations: ['63-14=49']
Exploring Operation: 34-5=29, Resulting Numbers: [49, 29]
Generated Node #0,1,0: 28:[49, 29] Operation: 34-5=29
Exploring Operation: 49-34=15, Resulting Numbers: [5, 15]
Generated Node #0,1,1: 28:[5, 15] Operation: 49-34=15
Moving to Node #0,1,1
Current State: 28:[5, 15], Operations: ['63-14=49', '49-34=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[49, 29], Operations: ['63-14=49', '34-5=29']
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Exploring Operation: 49+29=78, Resulting Numbers: [78]
78,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
75,
77,
47,
50
] | 55 | [
"75+77=152",
"47+50=97",
"152-97=55"
] | Current State: 55:[75, 77, 47, 50], Operations: []
Exploring Operation: 75+77=152, Resulting Numbers: [47, 50, 152]
Generated Node #2: [47, 50, 152] from Operation: 75+77=152
Current State: 55:[47, 50, 152], Operations: ['75+77=152']
Exploring Operation: 47+50=97, Resulting Numbers: [152, 97]
Generated Node #3: [152, 97] from Operation: 47+50=97
Current State: 55:[152, 97], Operations: ['75+77=152', '47+50=97']
Exploring Operation: 152-97=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[75, 77, 47, 50], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [47, 50, 2]
Generated Node #0,0: 55:[47, 50, 2] Operation: 77-75=2
Moving to Node #0,0
Current State: 55:[47, 50, 2], Operations: ['77-75=2']
Exploring Operation: 50-47=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 55:[2, 3] Operation: 50-47=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[2, 3], Operations: ['77-75=2', '50-47=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
83,
84,
97,
76
] | 20 | [
"84-83=1",
"97-76=21",
"21-1=20"
] | Current State: 20:[83, 84, 97, 76], Operations: []
Exploring Operation: 84-83=1, Resulting Numbers: [97, 76, 1]
Generated Node #2: [97, 76, 1] from Operation: 84-83=1
Current State: 20:[97, 76, 1], Operations: ['84-83=1']
Exploring Operation: 97-76=21, Resulting Numbers: [1, 21]
Generated Node #3: [1, 21] from Operation: 97-76=21
Current State: 20:[1, 21], Operations: ['84-83=1', '97-76=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[83, 84, 97, 76], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [83, 76, 13]
Generated Node #0,0: 20:[83, 76, 13] Operation: 97-84=13
Moving to Node #0,0
Current State: 20:[83, 76, 13], Operations: ['97-84=13']
Exploring Operation: 83-76=7, Resulting Numbers: [13, 7]
Generated Node #0,0,0: 20:[13, 7] Operation: 83-76=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[13, 7], Operations: ['97-84=13', '83-76=7']
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[83, 84, 97, 76], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [83, 76, 13]
Generated Node #0,0: 20:[83, 76, 13] Operation: 97-84=13
Moving to Node #0,0
Current State: 20:[83, 76, 13], Operations: ['97-84=13']
Exploring Operation: 83-76=7, Resulting Numbers: [13, 7]
Generated Node #0,0,0: 20:[13, 7] Operation: 83-76=7
Moving to Node #0,0,0
Current State: 20:[13, 7], Operations: ['97-84=13', '83-76=7']
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
70,
54,
3,
73
] | 83 | [
"70*3=210",
"54+73=127",
"210-127=83"
] | Current State: 83:[70, 54, 3, 73], Operations: []
Exploring Operation: 70*3=210, Resulting Numbers: [54, 73, 210]
Generated Node #2: [54, 73, 210] from Operation: 70*3=210
Current State: 83:[54, 73, 210], Operations: ['70*3=210']
Exploring Operation: 54+73=127, Resulting Numbers: [210, 127]
Generated Node #3: [210, 127] from Operation: 54+73=127
Current State: 83:[210, 127], Operations: ['70*3=210', '54+73=127']
Exploring Operation: 210-127=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[70, 54, 3, 73], Operations: []
Exploring Operation: 70+3=73, Resulting Numbers: [54, 73, 73]
Generated Node #0,0: 83:[54, 73, 73] Operation: 70+3=73
Exploring Operation: 54+3=57, Resulting Numbers: [70, 73, 57]
Generated Node #0,1: 83:[70, 73, 57] Operation: 54+3=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[54, 73, 73], Operations: ['70+3=73']
Exploring Operation: 54+73=127, Resulting Numbers: [73, 127]
Generated Node #0,0,0: 83:[73, 127] Operation: 54+73=127
Exploring Operation: 54+73=127, Resulting Numbers: [73, 127]
Generated Node #0,0,1: 83:[73, 127] Operation: 54+73=127
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[73, 127], Operations: ['70+3=73', '54+73=127']
Exploring Operation: 127-73=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 73+127=200, Resulting Numbers: [200]
200,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[73, 127], Operations: ['70+3=73', '54+73=127']
Exploring Operation: 127-73=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 73+127=200, Resulting Numbers: [200]
200,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[70, 73, 57], Operations: ['54+3=57']
Exploring Operation: 73+57=130, Resulting Numbers: [70, 130]
Generated Node #0,1,0: 83:[70, 130] Operation: 73+57=130
Exploring Operation: 70+57=127, Resulting Numbers: [73, 127]
Generated Node #0,1,1: 83:[73, 127] Operation: 70+57=127
Moving to Node #0,1,1
Current State: 83:[73, 127], Operations: ['54+3=57', '70+57=127']
Exploring Operation: 73+127=200, Resulting Numbers: [200]
200,83 unequal: No Solution
Exploring Operation: 127-73=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[70, 130], Operations: ['54+3=57', '73+57=130']
Exploring Operation: 130-70=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 70+130=200, Resulting Numbers: [200]
200,83 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,
41,
2,
12
] | 44 | [
"41-3=38",
"12/2=6",
"38+6=44"
] | Current State: 44:[3, 41, 2, 12], Operations: []
Exploring Operation: 41-3=38, Resulting Numbers: [2, 12, 38]
Generated Node #2: [2, 12, 38] from Operation: 41-3=38
Current State: 44:[2, 12, 38], Operations: ['41-3=38']
Exploring Operation: 12/2=6, Resulting Numbers: [38, 6]
Generated Node #3: [38, 6] from Operation: 12/2=6
Current State: 44:[38, 6], Operations: ['41-3=38', '12/2=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[3, 41, 2, 12], Operations: []
Exploring Operation: 3+41=44, Resulting Numbers: [2, 12, 44]
Generated Node #0,0: 44:[2, 12, 44] Operation: 3+41=44
Exploring Operation: 3+2=5, Resulting Numbers: [41, 12, 5]
Generated Node #0,1: 44:[41, 12, 5] Operation: 3+2=5
Exploring Operation: 12/3=4, Resulting Numbers: [41, 2, 4]
Generated Node #0,2: 44:[41, 2, 4] Operation: 12/3=4
Exploring Operation: 41+2=43, Resulting Numbers: [3, 12, 43]
Generated Node #0,3: 44:[3, 12, 43] Operation: 41+2=43
Moving to Node #0,0
Current State: 44:[2, 12, 44], Operations: ['3+41=44']
Exploring Operation: 12/2=6, Resulting Numbers: [44, 6]
Generated Node #0,0,0: 44:[44, 6] Operation: 12/2=6
Exploring Operation: 2*12=24, Resulting Numbers: [44, 24]
Generated Node #0,0,1: 44:[44, 24] Operation: 2*12=24
Exploring Operation: 12-2=10, Resulting Numbers: [44, 10]
Generated Node #0,0,2: 44:[44, 10] Operation: 12-2=10
Exploring Operation: 44/2=22, Resulting Numbers: [12, 22]
Generated Node #0,0,3: 44:[12, 22] Operation: 44/2=22
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[44, 10], Operations: ['3+41=44', '12-2=10']
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,44 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,44 unequal: No Solution
No 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: 44:[12, 22], Operations: ['3+41=44', '44/2=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,44 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,44 unequal: No Solution
No 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: 44:[44, 6], Operations: ['3+41=44', '12/2=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,44 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,44 unequal: No Solution
No 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: 44:[44, 24], Operations: ['3+41=44', '2*12=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,44 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,44 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: 44:[3, 12, 43], Operations: ['41+2=43']
Exploring Operation: 12-3=9, Resulting Numbers: [43, 9]
Generated Node #0,3,0: 44:[43, 9] Operation: 12-3=9
Exploring Operation: 12/3=4, Resulting Numbers: [43, 4]
Generated Node #0,3,1: 44:[43, 4] Operation: 12/3=4
Exploring Operation: 3+43=46, Resulting Numbers: [12, 46]
Generated Node #0,3,2: 44:[12, 46] Operation: 3+43=46
Exploring Operation: 3+12=15, Resulting Numbers: [43, 15]
Generated Node #0,3,3: 44:[43, 15] Operation: 3+12=15
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 44:[43, 4], Operations: ['41+2=43', '12/3=4']
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,44 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,44 unequal: No Solution
No 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: 44:[43, 9], Operations: ['41+2=43', '12-3=9']
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,44 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,44 unequal: No Solution
No 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: 44:[12, 46], Operations: ['41+2=43', '3+43=46']
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 12*46=552, Resulting Numbers: [552]
552,44 unequal: No Solution
No 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: 44:[43, 15], Operations: ['41+2=43', '3+12=15']
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,44 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,44 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: 44:[41, 2, 4], Operations: ['12/3=4']
Exploring Operation: 4/2=2, Resulting Numbers: [41, 2]
Generated Node #0,2,0: 44:[41, 2] Operation: 4/2=2
Exploring Operation: 41+4=45, Resulting Numbers: [2, 45]
Generated Node #0,2,1: 44:[2, 45] Operation: 41+4=45
Exploring Operation: 4-2=2, Resulting Numbers: [41, 2]
Generated Node #0,2,2: 44:[41, 2] Operation: 4-2=2
Exploring Operation: 41+2=43, Resulting Numbers: [4, 43]
Generated Node #0,2,3: 44:[4, 43] Operation: 41+2=43
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 44:[2, 45], Operations: ['12/3=4', '41+4=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,44 unequal: No Solution
No 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: 44:[4, 43], Operations: ['12/3=4', '41+2=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,44 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,44 unequal: No Solution
No 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: 44:[41, 2], Operations: ['12/3=4', '4/2=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,44 unequal: No Solution
No 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: 44:[41, 2], Operations: ['12/3=4', '4-2=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,44 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,44 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: 44:[41, 12, 5], Operations: ['3+2=5']
Exploring Operation: 12+5=17, Resulting Numbers: [41, 17]
Generated Node #0,1,0: 44:[41, 17] Operation: 12+5=17
Exploring Operation: 12-5=7, Resulting Numbers: [41, 7]
Generated Node #0,1,1: 44:[41, 7] Operation: 12-5=7
Exploring Operation: 41+5=46, Resulting Numbers: [12, 46]
Generated Node #0,1,2: 44:[12, 46] Operation: 41+5=46
Exploring Operation: 41-12=29, Resulting Numbers: [5, 29]
Generated Node #0,1,3: 44:[5, 29] Operation: 41-12=29
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 44:[12, 46], Operations: ['3+2=5', '41+5=46']
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 12*46=552, Resulting Numbers: [552]
552,44 unequal: No Solution
No 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: 44:[41, 7], Operations: ['3+2=5', '12-5=7']
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,44 unequal: No Solution
No 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: 44:[41, 17], Operations: ['3+2=5', '12+5=17']
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,44 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,44 unequal: No Solution
No 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: 44:[5, 29], Operations: ['3+2=5', '41-12=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
29,
27,
76,
38
] | 58 | [
"29+27=56",
"76+38=114",
"114-56=58"
] | Current State: 58:[29, 27, 76, 38], Operations: []
Exploring Operation: 29+27=56, Resulting Numbers: [76, 38, 56]
Generated Node #2: [76, 38, 56] from Operation: 29+27=56
Current State: 58:[76, 38, 56], Operations: ['29+27=56']
Exploring Operation: 76+38=114, Resulting Numbers: [56, 114]
Generated Node #3: [56, 114] from Operation: 76+38=114
Current State: 58:[56, 114], Operations: ['29+27=56', '76+38=114']
Exploring Operation: 114-56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[29, 27, 76, 38], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [29, 27, 2]
Generated Node #0,0: 58:[29, 27, 2] Operation: 76/38=2
Exploring Operation: 76-38=38, Resulting Numbers: [29, 27, 38]
Generated Node #0,1: 58:[29, 27, 38] Operation: 76-38=38
Moving to Node #0,0
Current State: 58:[29, 27, 2], Operations: ['76/38=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29, 29]
Generated Node #0,0,0: 58:[29, 29] Operation: 27+2=29
Exploring Operation: 29-27=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 58:[2, 2] Operation: 29-27=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[29, 29], Operations: ['76/38=2', '27+2=29']
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[29, 27, 76, 38], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [29, 27, 2]
Generated Node #0,0: 58:[29, 27, 2] Operation: 76/38=2
Moving to Node #0,0
Current State: 58:[29, 27, 2], Operations: ['76/38=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29, 29]
Generated Node #0,0,0: 58:[29, 29] Operation: 27+2=29
Moving to Node #0,0,0
Current State: 58:[29, 29], Operations: ['76/38=2', '27+2=29']
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
29,
45,
33,
85
] | 68 | [
"45-29=16",
"85-33=52",
"16+52=68"
] | Current State: 68:[29, 45, 33, 85], Operations: []
Exploring Operation: 45-29=16, Resulting Numbers: [33, 85, 16]
Generated Node #2: [33, 85, 16] from Operation: 45-29=16
Current State: 68:[33, 85, 16], Operations: ['45-29=16']
Exploring Operation: 85-33=52, Resulting Numbers: [16, 52]
Generated Node #3: [16, 52] from Operation: 85-33=52
Current State: 68:[16, 52], Operations: ['45-29=16', '85-33=52']
Exploring Operation: 16+52=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[29, 45, 33, 85], Operations: []
Exploring Operation: 45-29=16, Resulting Numbers: [33, 85, 16]
Generated Node #0,0: 68:[33, 85, 16] Operation: 45-29=16
Exploring Operation: 85-45=40, Resulting Numbers: [29, 33, 40]
Generated Node #0,1: 68:[29, 33, 40] Operation: 85-45=40
Moving to Node #0,1
Current State: 68:[29, 33, 40], Operations: ['85-45=40']
Exploring Operation: 29+40=69, Resulting Numbers: [33, 69]
Generated Node #0,1,0: 68:[33, 69] Operation: 29+40=69
Exploring Operation: 33-29=4, Resulting Numbers: [40, 4]
Generated Node #0,1,1: 68:[40, 4] Operation: 33-29=4
Moving to Node #0,0
Current State: 68:[33, 85, 16], Operations: ['45-29=16']
Exploring Operation: 85-33=52, Resulting Numbers: [16, 52]
Generated Node #0,0,0: 68:[16, 52] Operation: 85-33=52
Exploring Operation: 85-16=69, Resulting Numbers: [33, 69]
Generated Node #0,0,1: 68:[33, 69] Operation: 85-16=69
Moving to Node #0,1,0
Current State: 68:[33, 69], Operations: ['85-45=40', '29+40=69']
Exploring Operation: 33+69=102, Resulting Numbers: [102]
102,68 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[33, 69], Operations: ['45-29=16', '85-16=69']
Exploring Operation: 33+69=102, Resulting Numbers: [102]
102,68 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[40, 4], Operations: ['85-45=40', '33-29=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[16, 52], Operations: ['45-29=16', '85-33=52']
Exploring Operation: 16+52=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[29, 45, 33, 85], Operations: []
Exploring Operation: 45-29=16, Resulting Numbers: [33, 85, 16]
Generated Node #0,0: 68:[33, 85, 16] Operation: 45-29=16
Moving to Node #0,0
Current State: 68:[33, 85, 16], Operations: ['45-29=16']
Exploring Operation: 85-33=52, Resulting Numbers: [16, 52]
Generated Node #0,0,0: 68:[16, 52] Operation: 85-33=52
Moving to Node #0,0,0
Current State: 68:[16, 52], Operations: ['45-29=16', '85-33=52']
Exploring Operation: 16+52=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
71,
16,
14,
29
] | 44 | [
"71+16=87",
"14+29=43",
"87-43=44"
] | Current State: 44:[71, 16, 14, 29], Operations: []
Exploring Operation: 71+16=87, Resulting Numbers: [14, 29, 87]
Generated Node #2: [14, 29, 87] from Operation: 71+16=87
Current State: 44:[14, 29, 87], Operations: ['71+16=87']
Exploring Operation: 14+29=43, Resulting Numbers: [87, 43]
Generated Node #3: [87, 43] from Operation: 14+29=43
Current State: 44:[87, 43], Operations: ['71+16=87', '14+29=43']
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[71, 16, 14, 29], Operations: []
Exploring Operation: 71-14=57, Resulting Numbers: [16, 29, 57]
Generated Node #0,0: 44:[16, 29, 57] Operation: 71-14=57
Exploring Operation: 71-16=55, Resulting Numbers: [14, 29, 55]
Generated Node #0,1: 44:[14, 29, 55] Operation: 71-16=55
Exploring Operation: 71-29=42, Resulting Numbers: [16, 14, 42]
Generated Node #0,2: 44:[16, 14, 42] Operation: 71-29=42
Moving to Node #0,2
Current State: 44:[16, 14, 42], Operations: ['71-29=42']
Exploring Operation: 42/14=3, Resulting Numbers: [16, 3]
Generated Node #0,2,0: 44:[16, 3] Operation: 42/14=3
Exploring Operation: 16-14=2, Resulting Numbers: [42, 2]
Generated Node #0,2,1: 44:[42, 2] Operation: 16-14=2
Exploring Operation: 42-16=26, Resulting Numbers: [14, 26]
Generated Node #0,2,2: 44:[14, 26] Operation: 42-16=26
Moving to Node #0,1
Current State: 44:[14, 29, 55], Operations: ['71-16=55']
Exploring Operation: 14+29=43, Resulting Numbers: [55, 43]
Generated Node #0,1,0: 44:[55, 43] Operation: 14+29=43
Exploring Operation: 55-14=41, Resulting Numbers: [29, 41]
Generated Node #0,1,1: 44:[29, 41] Operation: 55-14=41
Exploring Operation: 55-29=26, Resulting Numbers: [14, 26]
Generated Node #0,1,2: 44:[14, 26] Operation: 55-29=26
Moving to Node #0,0
Current State: 44:[16, 29, 57], Operations: ['71-14=57']
Exploring Operation: 16+29=45, Resulting Numbers: [57, 45]
Generated Node #0,0,0: 44:[57, 45] Operation: 16+29=45
Exploring Operation: 57-16=41, Resulting Numbers: [29, 41]
Generated Node #0,0,1: 44:[29, 41] Operation: 57-16=41
Exploring Operation: 57-29=28, Resulting Numbers: [16, 28]
Generated Node #0,0,2: 44:[16, 28] Operation: 57-29=28
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[29, 41], Operations: ['71-14=57', '57-16=41']
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,44 unequal: No Solution
No 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: 44:[16, 28], Operations: ['71-14=57', '57-29=28']
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,44 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[71, 16, 14, 29], Operations: []
Exploring Operation: 71-14=57, Resulting Numbers: [16, 29, 57]
Generated Node #0,0: 44:[16, 29, 57] Operation: 71-14=57
Moving to Node #0,0
Current State: 44:[16, 29, 57], Operations: ['71-14=57']
Exploring Operation: 57-29=28, Resulting Numbers: [16, 28]
Generated Node #0,0,2: 44:[16, 28] Operation: 57-29=28
Moving to Node #0,0,2
Current State: 44:[16, 28], Operations: ['71-14=57', '57-29=28']
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_3 | sum_heuristic |
[
6,
85,
19,
1
] | 12 | [
"85-19=66",
"66/6=11",
"1+11=12"
] | Current State: 12:[6, 85, 19, 1], Operations: []
Exploring Operation: 85-19=66, Resulting Numbers: [6, 1, 66]
Generated Node #2: [6, 1, 66] from Operation: 85-19=66
Current State: 12:[6, 1, 66], Operations: ['85-19=66']
Exploring Operation: 66/6=11, Resulting Numbers: [1, 11]
Generated Node #3: [1, 11] from Operation: 66/6=11
Current State: 12:[1, 11], Operations: ['85-19=66', '66/6=11']
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[6, 85, 19, 1], Operations: []
Exploring Operation: 85-6=79, Resulting Numbers: [19, 1, 79]
Generated Node #0,0: 12:[19, 1, 79] Operation: 85-6=79
Exploring Operation: 19-6=13, Resulting Numbers: [85, 1, 13]
Generated Node #0,1: 12:[85, 1, 13] Operation: 19-6=13
Exploring Operation: 85-1=84, Resulting Numbers: [6, 19, 84]
Generated Node #0,2: 12:[6, 19, 84] Operation: 85-1=84
Exploring Operation: 85-19=66, Resulting Numbers: [6, 1, 66]
Generated Node #0,3: 12:[6, 1, 66] Operation: 85-19=66
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[6, 1, 66], Operations: ['85-19=66']
Exploring Operation: 66/6=11, Resulting Numbers: [1, 11]
Generated Node #0,3,0: 12:[1, 11] Operation: 66/6=11
Exploring Operation: 6*1=6, Resulting Numbers: [66, 6]
Generated Node #0,3,1: 12:[66, 6] Operation: 6*1=6
Exploring Operation: 66-6=60, Resulting Numbers: [1, 60]
Generated Node #0,3,2: 12:[1, 60] Operation: 66-6=60
Exploring Operation: 66-1=65, Resulting Numbers: [6, 65]
Generated Node #0,3,3: 12:[6, 65] Operation: 66-1=65
Moving to Node #0,3,0
Current State: 12:[1, 11], Operations: ['85-19=66', '66/6=11']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[6, 85, 19, 1], Operations: []
Exploring Operation: 85-19=66, Resulting Numbers: [6, 1, 66]
Generated Node #0,3: 12:[6, 1, 66] Operation: 85-19=66
Moving to Node #0,3
Current State: 12:[6, 1, 66], Operations: ['85-19=66']
Exploring Operation: 66/6=11, Resulting Numbers: [1, 11]
Generated Node #0,3,0: 12:[1, 11] Operation: 66/6=11
Moving to Node #0,3,0
Current State: 12:[1, 11], Operations: ['85-19=66', '66/6=11']
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
13,
56,
42,
89
] | 62 | [
"13+56=69",
"42+89=131",
"131-69=62"
] | Current State: 62:[13, 56, 42, 89], Operations: []
Exploring Operation: 13+56=69, Resulting Numbers: [42, 89, 69]
Generated Node #2: [42, 89, 69] from Operation: 13+56=69
Current State: 62:[42, 89, 69], Operations: ['13+56=69']
Exploring Operation: 42+89=131, Resulting Numbers: [69, 131]
Generated Node #3: [69, 131] from Operation: 42+89=131
Current State: 62:[69, 131], Operations: ['13+56=69', '42+89=131']
Exploring Operation: 131-69=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[13, 56, 42, 89], Operations: []
Exploring Operation: 89-13=76, Resulting Numbers: [56, 42, 76]
Generated Node #0,0: 62:[56, 42, 76] Operation: 89-13=76
Exploring Operation: 89-42=47, Resulting Numbers: [13, 56, 47]
Generated Node #0,1: 62:[13, 56, 47] Operation: 89-42=47
Exploring Operation: 13+42=55, Resulting Numbers: [56, 89, 55]
Generated Node #0,2: 62:[56, 89, 55] Operation: 13+42=55
Exploring Operation: 89-56=33, Resulting Numbers: [13, 42, 33]
Generated Node #0,3: 62:[13, 42, 33] Operation: 89-56=33
Exploring Operation: 42-13=29, Resulting Numbers: [56, 89, 29]
Generated Node #0,4: 62:[56, 89, 29] Operation: 42-13=29
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[13, 42, 33], Operations: ['89-56=33']
Exploring Operation: 42-13=29, Resulting Numbers: [33, 29]
Generated Node #0,3,0: 62:[33, 29] Operation: 42-13=29
Exploring Operation: 33-13=20, Resulting Numbers: [42, 20]
Generated Node #0,3,1: 62:[42, 20] Operation: 33-13=20
Exploring Operation: 13+42=55, Resulting Numbers: [33, 55]
Generated Node #0,3,2: 62:[33, 55] Operation: 13+42=55
Exploring Operation: 42-33=9, Resulting Numbers: [13, 9]
Generated Node #0,3,3: 62:[13, 9] Operation: 42-33=9
Exploring Operation: 42+33=75, Resulting Numbers: [13, 75]
Generated Node #0,3,4: 62:[13, 75] Operation: 42+33=75
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 62:[33, 29], Operations: ['89-56=33', '42-13=29']
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,62 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[13, 56, 42, 89], Operations: []
Exploring Operation: 89-56=33, Resulting Numbers: [13, 42, 33]
Generated Node #0,3: 62:[13, 42, 33] Operation: 89-56=33
Moving to Node #0,3
Current State: 62:[13, 42, 33], Operations: ['89-56=33']
Exploring Operation: 42-13=29, Resulting Numbers: [33, 29]
Generated Node #0,3,0: 62:[33, 29] Operation: 42-13=29
Moving to Node #0,3,0
Current State: 62:[33, 29], Operations: ['89-56=33', '42-13=29']
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
77,
69,
25,
75
] | 47 | [
"77-75=2",
"69+25=94",
"94/2=47"
] | Current State: 47:[77, 69, 25, 75], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [69, 25, 2]
Generated Node #2: [69, 25, 2] from Operation: 77-75=2
Current State: 47:[69, 25, 2], Operations: ['77-75=2']
Exploring Operation: 69+25=94, Resulting Numbers: [2, 94]
Generated Node #3: [2, 94] from Operation: 69+25=94
Current State: 47:[2, 94], Operations: ['77-75=2', '69+25=94']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[77, 69, 25, 75], Operations: []
Exploring Operation: 77-69=8, Resulting Numbers: [25, 75, 8]
Generated Node #0,0: 47:[25, 75, 8] Operation: 77-69=8
Exploring Operation: 77-25=52, Resulting Numbers: [69, 75, 52]
Generated Node #0,1: 47:[69, 75, 52] Operation: 77-25=52
Exploring Operation: 75-25=50, Resulting Numbers: [77, 69, 50]
Generated Node #0,2: 47:[77, 69, 50] Operation: 75-25=50
Exploring Operation: 69-25=44, Resulting Numbers: [77, 75, 44]
Generated Node #0,3: 47:[77, 75, 44] Operation: 69-25=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[69, 75, 52], Operations: ['77-25=52']
Exploring Operation: 75-52=23, Resulting Numbers: [69, 23]
Generated Node #0,1,0: 47:[69, 23] Operation: 75-52=23
Exploring Operation: 69-52=17, Resulting Numbers: [75, 17]
Generated Node #0,1,1: 47:[75, 17] Operation: 69-52=17
Exploring Operation: 69+75=144, Resulting Numbers: [52, 144]
Generated Node #0,1,2: 47:[52, 144] Operation: 69+75=144
Exploring Operation: 75-69=6, Resulting Numbers: [52, 6]
Generated Node #0,1,3: 47:[52, 6] Operation: 75-69=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[69, 23], Operations: ['77-25=52', '75-52=23']
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 69*23=1587, Resulting Numbers: [1587]
1587,47 unequal: No Solution
Exploring Operation: 69-23=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 69+23=92, Resulting Numbers: [92]
92,47 unequal: No Solution
No 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: 47:[52, 6], Operations: ['77-25=52', '75-69=6']
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,47 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,47 unequal: No Solution
No 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: 47:[75, 17], Operations: ['77-25=52', '69-52=17']
Exploring Operation: 75*17=1275, Resulting Numbers: [1275]
1275,47 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,47 unequal: No Solution
Exploring Operation: 75+17=92, Resulting Numbers: [92]
92,47 unequal: No Solution
No 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: 47:[52, 144], Operations: ['77-25=52', '69+75=144']
Exploring Operation: 144-52=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 52*144=7488, Resulting Numbers: [7488]
7488,47 unequal: No Solution
Exploring Operation: 52+144=196, Resulting Numbers: [196]
196,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[77, 69, 50], Operations: ['75-25=50']
Exploring Operation: 77-50=27, Resulting Numbers: [69, 27]
Generated Node #0,2,0: 47:[69, 27] Operation: 77-50=27
Exploring Operation: 69-50=19, Resulting Numbers: [77, 19]
Generated Node #0,2,1: 47:[77, 19] Operation: 69-50=19
Exploring Operation: 77+69=146, Resulting Numbers: [50, 146]
Generated Node #0,2,2: 47:[50, 146] Operation: 77+69=146
Exploring Operation: 77-69=8, Resulting Numbers: [50, 8]
Generated Node #0,2,3: 47:[50, 8] Operation: 77-69=8
Moving to Node #0,2,0
Current State: 47:[69, 27], Operations: ['75-25=50', '77-50=27']
Exploring Operation: 69*27=1863, Resulting Numbers: [1863]
1863,47 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 69+27=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[50, 8], Operations: ['75-25=50', '77-69=8']
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,47 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 50*8=400, Resulting Numbers: [400]
400,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[77, 19], Operations: ['75-25=50', '69-50=19']
Exploring Operation: 77*19=1463, Resulting Numbers: [1463]
1463,47 unequal: No Solution
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[50, 146], Operations: ['75-25=50', '77+69=146']
Exploring Operation: 50+146=196, Resulting Numbers: [196]
196,47 unequal: No Solution
Exploring Operation: 146-50=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 50*146=7300, Resulting Numbers: [7300]
7300,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[77, 75, 44], Operations: ['69-25=44']
Exploring Operation: 75-44=31, Resulting Numbers: [77, 31]
Generated Node #0,3,0: 47:[77, 31] Operation: 75-44=31
Exploring Operation: 77-44=33, Resulting Numbers: [75, 33]
Generated Node #0,3,1: 47:[75, 33] Operation: 77-44=33
Exploring Operation: 77+44=121, Resulting Numbers: [75, 121]
Generated Node #0,3,2: 47:[75, 121] Operation: 77+44=121
Exploring Operation: 77-75=2, Resulting Numbers: [44, 2]
Generated Node #0,3,3: 47:[44, 2] Operation: 77-75=2
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 47:[75, 33], Operations: ['69-25=44', '77-44=33']
Exploring Operation: 75*33=2475, Resulting Numbers: [2475]
2475,47 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,47 unequal: No Solution
No 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: 47:[77, 31], Operations: ['69-25=44', '75-44=31']
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 77*31=2387, Resulting Numbers: [2387]
2387,47 unequal: No Solution
Exploring Operation: 77+31=108, Resulting Numbers: [108]
108,47 unequal: No Solution
No 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: 47:[44, 2], Operations: ['69-25=44', '77-75=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,47 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,47 unequal: No Solution
No 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: 47:[75, 121], Operations: ['69-25=44', '77+44=121']
Exploring Operation: 75+121=196, Resulting Numbers: [196]
196,47 unequal: No Solution
Exploring Operation: 121-75=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 75*121=9075, Resulting Numbers: [9075]
9075,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[25, 75, 8], Operations: ['77-69=8']
Exploring Operation: 25+8=33, Resulting Numbers: [75, 33]
Generated Node #0,0,0: 47:[75, 33] Operation: 25+8=33
Exploring Operation: 75-25=50, Resulting Numbers: [8, 50]
Generated Node #0,0,1: 47:[8, 50] Operation: 75-25=50
Exploring Operation: 25-8=17, Resulting Numbers: [75, 17]
Generated Node #0,0,2: 47:[75, 17] Operation: 25-8=17
Exploring Operation: 75-8=67, Resulting Numbers: [25, 67]
Generated Node #0,0,3: 47:[25, 67] Operation: 75-8=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[75, 33], Operations: ['77-69=8', '25+8=33']
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 75*33=2475, Resulting Numbers: [2475]
2475,47 unequal: No Solution
No 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: 47:[8, 50], Operations: ['77-69=8', '75-25=50']
Exploring Operation: 8+50=58, Resulting Numbers: [58]
58,47 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 8*50=400, Resulting Numbers: [400]
400,47 unequal: No Solution
No 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: 47:[25, 67], Operations: ['77-69=8', '75-8=67']
Exploring Operation: 25*67=1675, Resulting Numbers: [1675]
1675,47 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 25+67=92, Resulting Numbers: [92]
92,47 unequal: No Solution
No 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: 47:[75, 17], Operations: ['77-69=8', '25-8=17']
Exploring Operation: 75*17=1275, Resulting Numbers: [1275]
1275,47 unequal: No Solution
Exploring Operation: 75+17=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.